@import url('https://fonts.googleapis.com/css?family=Montez|Playfair+Display:400,400i,700,700i|Roboto:100,400,400i,500,500i,700,700i&display=swap');

html, body {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.5rem;
}

pre {
	font-family: 'Roboto', sans-serif;
}

a {
	color: #2d525c;
}

a:visited {
	color: #8bacb5;
}

a:hover {
	color: #6a9fad;
	text-decoration: none;
}

h1 {
	font-family: 'Montez', cursive;
	text-align: center;
	font-style: italic;
	font-size: 5rem;
	color: #fff;
	padding-bottom: 0.5rem;
}

h2 {
	padding-bottom: 2rem;
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 2px;
	display: flex;
	width: 100%;
	color: #339bb8;
	justify-content: center;
	align-items: center;
	text-align: center;
}

h3 {
	font-size: 1.2rem;
	text-transform: uppercase;
}

h2:before, h2:after {
    content: '';
    border-top: 2px solid;
    margin: 0 2rem 0 0;
    flex: 1 0 20px;
		color: #ccc;
}

h2:after {
    margin: 0 0 0 2rem;
}

.bg-section {
  background-image: url('../img/content-section.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 5rem 0;
  position: relative;
	z-index: 0;
}

.bg-section h4 {
	font-family: 'Playfair Display', serif;
	color: #2d525c;
}

.bg-section:before {
	background: rgb(106,159,173);
	background: linear-gradient(0deg, rgba(167,197,208,1) 0%, rgba(106,159,173,1) 100%);
}

.bg-section:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.box {
	background: #fff;
	border: 1px solid #d9d9d9;
	overflow: hidden;
}

.grey-section, .white-section, footer {
  padding: 6rem 0;
}

.grey-section .project-text {
  padding: 3rem;
  font-size: 90%;
}

.bg-dark {
	background: #685762 !important;
}

.btn {
    padding: 1rem 1.5rem;
    font-size: 80%;
    text-transform: uppercase;
    letter-spacing: .15rem;
    border: 0;
}

.btn-primary {
    background-color: #6a9fad;
}

.btn-primary:active, .btn-primary:hover {
    background-color: #2d525c !important;
}

.btn-secondary {
		color: #fff !important;
    background-color: #190B28;
}

.btn-secondary:active, .btn-secondary:hover {
    background-color: #42374F !important;
}

.badge-primary {
    background-color: #6a9fad;
}

footer {
	font-size: 80%;
	text-transform: uppercase;
	letter-spacing: .15rem;
}

hr {
	margin: 2rem 0;
}

.lead {
	line-height: 1.8rem;
}

.amp {
	font-size: 3rem;
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #aaa;
	margin: 0 1rem;
}

.meta {
	font-size: 90%;
}

.meta .badge {
	font-size: 100%;
}

.meta .badge a {
	color: #fff;
}

.basics .list-group-item {
	margin-left: 0;
	padding: 0.7rem 1rem 0.7rem 0;
	border: 0px;
	background: rgba(255, 255, 255, 0);
}

.basics .list-group-item strong {
	text-transform: uppercase;
	padding-right: 1rem;
}

.basics .list-group-item .badge {
	font-size: 100%;
	margin: 0 0.5rem;
}

.caption {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-size: 1.5rem;
	line-height: 2rem;
	color: #6a9fad;
}

@media all and (max-width: 991.98px) {
  .basics {
		flex-direction: column !important;
  }
	.basics .w-50 {
		width: 100% !important;
	}
	.basics .px-5 {
		padding: 0 !important;
	}
	.basics .img-fluid {
		margin-bottom: 2rem;
	}
}

.table-wrapper {
	margin: -10px 0;
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

.pedigree {
	margin: 0;
}

.pedigree td {
	vertical-align: middle;
}

.pedigree a {
	font-weight: bold;
}

.bracket {
	width: 4rem;
	font-size: 4rem;
	color: #ccc;
	font-weight: 100;
}

.tiedot {
	font-size: 0.85rem;
	color: #aaa;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  border: none;
  outline: none;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 1rem;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
  font-size: 2rem;
}

#myBtn:hover {
	background: rgba(0, 0, 0, 0.3);
}
