:root {
	--body-color:#fefefe;
	--body-color-darker:#fdfaf4;
	--dark-brown: #17110D;
	--font-color:#17110D;
    --paper-color: #F4F2E9;
    --main-font: "Lato", sans-serif; 
	--title-font: "Cormorant", serif;
}

img.lazy{
	opacity:0;
	transition:all 2s;
}
img.lazy.in-viewport{
	opacity:1;
}

.lazy-content{
	opacity:1;
	transition:all 2s;
}

.lazy-content.outside-viewport{
	opacity:0;
}
.x2column.lazy-content .col.image{
	transform:translateX(0);
	transition:all 1s;

}
.x2column.lazy-content.outside-viewport .col.image{
	transform:translateX(-20%)!important;
}
.x2column.lazy-content.outside-viewport .reverse .col.image{
	transform:translateX(20%)!important;
}

*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}

body{
	font-family: var(--main-font);
	background:var(--dark-brown);
	-webkit-text-size-adjust: 100%;
	font-size:16px;
	etter-spacing: 0.02em;
}

body.no-scroll{
	overflow:hidden;
}

a{
	text-decoration: none;
	color: var(--dark-brown);
	font-weight:600;
}

a:hover {
	text-decoration: none;
	color: var(--font-color);
}
section.horizontal-rule{
	padding:0 5%;
}
hr{
	display: block;
	margin: 25px 0;
	height: 1px;
	background: #eee;
	width: 100%;
	border: none;
}

.container-fluid {
  max-width: calc(1200px + 8rem);
  padding: 0 4rem;
}

@media screen and (max-width: 960px) {
  .container-fluid {
	max-width: calc(1320px + 4rem);
	padding: 0 2rem;
  }
}

@media screen and (max-width: 540px) {
  .container-fluid {
	max-width: calc(1320px + 2rem);
	padding: 0 1rem;
  }
}

.modal {
	backdrop-filter: blur(15px);
	background: rgba(0,0,0,0.4);
}

.modal-content {
	padding: 1.5rem;
	background-color: var(--body-color-darker);
	border-radius: 0;
}

.modal-header {
	border-bottom: none;
}

.modal-title {
	color: var(--dark-brown);
}


span.nowrap{
	white-space:nowrap;
}

h1{
	font-family: var(--title-font);
	font-weight: 400;
	font-style: normal;
	margin: 30px 0;
	font-size: 2.5em;
	letter-spacing: 0em;
	line-height: 1.2em;
	position: relative;
	text-transform: uppercase;
}

h2{
	font-family: var(--title-font);
	font-weight: 400;
	font-style: normal;
	color: var(--dark-brown);
	margin: 0;
	font-size: 2.25rem;
	line-height:1.25em;
	text-transform: uppercase;
}

h3{	
	font-family: var(--title-font);
	font-weight: 400;
	font-style: normal;
	margin: 15px 0;
	font-size: 1.25em;
	line-height:1em;
	text-transform: uppercase;
}

h4{
	color: var(--font-color);
	font-size: 1.125em;
}

p{
	line-height: 1.75em;
	margin: 15px 0;
	color:  var(--font-color);
	font-size:1em;
}

.ccm-page p {
  font-size: 1rem;
  line-height: 1.75em;
  margin: 1em 0;
}

ul li {
	color:  var(--font-color);
}

p.button{
	margin-top:30px;
}

p strong{
	font-weight:600;
}



blockquote{
	padding: 2rem 2rem;
	position: relative;
	margin: 30px 0;
	border-top: 1px solid #dcd8d3;
	border-bottom: 1px solid #dcd8d3;
	text-align: center;
	max-width: 900px;
}

blockquote p{
	font-weight: 300 !important;
	font-size: 2em !important;
	line-height: 1.3em !important;
	color: var(--font-color);
	margin: 0 0 1rem 0!important;
	font-family: var(--title-font);
	font-style: italic;
}

blockquote footer {
	color: var(--dark-brown);
}


/* HEADER */

header#main-header.nav-up{
	transform:translateY(-100%);
	
}

header#main-header.nav-up nav#main-nav li li a, header#main-header.nav-up nav#main-nav li li{
	height:48px;
}

/* Top Header */

header#main-header{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:800;
	transition:all 0.3s;
}

/* Bottom Header */

header#main-header .bottom-header{
	padding:0 5%;
	background:rgba(0, 128, 128, 0.80);
	position:relative;
	height:auto;
	transition:all 0.3s;
}
header#main-header.transparent-bg .bottom-header{
	background:transparent;
}

header#main-header .bottom-header .wrapper{
	display:flex;
	justify-content: space-between;
	margin: 0 auto;
	position:relative;
	height:135px;
	max-width:1440px;
	align-items: flex-end;
	padding: 1rem 0;
}

header#main-header .cta {
	position: absolute;
	right: 1rem;
	top: 1rem;
	display: flex;
	align-items: center;
}

header#main-header .cta .btn-primary {
	padding: 0.75rem 1rem;
	font-weight: 400;
	font-size: 0.875rem;
	letter-spacing: 0.05rem;
	color: var(--body-color);
	background: rgba(53, 161, 161, 0.8);
	 backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: all 0.3s;
	
}

header#main-header .cta .site-phone i {
	margin:0 0.5rem 0 0;
}

header#main-header .cta .site-phone a {
	background: rgba(53, 161, 161, 0.8);
	padding: 0.75rem 1rem;
	color: var(--body-color);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.05rem;
	border-radius:0.25rem;
	margin: 0 1rem 0 0;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: all 0.3s;
}

header#main-header .cta .site-phone a:hover,
header#main-header .cta .btn-primary:hover {
	background:rgba(15, 125, 120, 0.8);
	transition: all 0.3s;
}
@media screen and (max-width: 1200px) {

	header#main-header .cta {
	  right: 6rem;
	  top: 2.5rem;
	}
}


@media screen and (max-width: 685px) {

	header#main-header .cta {
	  display: none;
	}
}

header#main-header.nav-up div.logo a {
	padding: 7px 0 0;
}

header#main-header div.logo{
	width:150px;
	margin-right:20px;
	transition:all 0.3s;
	display: flex;
	align-items: center;
}

header#main-header div.logo .white path {
	fill:var(--body-color)!important;
}

header#main-header div.logo a{
	display:block;
	height:auto;
	width:100%;
	transition:all 0.3s;
}
header#main-header div.logo a svg, header#main-header div.logo a img{
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	transition:all 0.3s;
}

/* MOBILE VIEW */

@media screen and (max-width:1023px){
	header#main-header{
	}

	header#main-header div.logo a svg, header#main-header div.logo a img{
		height: auto;
		transition:all 0.3s;
	}
	header#main-header nav#main-nav li li a, header#main-header nav#main-nav li li{
		height:48px;
	}
	#mobile-burger{
		display:flex;
	}
	nav#main-nav{
		display:none;
	}
	nav#mobile-nav{
		display:block;
	}
}


/* 2 TEXT COLUMNS */
section.two-text-columns .container-fluid{
	max-width:@max-width;
	margin:0 auto;
}

.title-wrapper{
	max-width:@max-width-blog;
	margin:0 auto;
	text-align:center;
}

.title-wrapper h2, .title-wrapper h1{
	margin-top:0;
}
.title-wrapper p{
	font-weight:500;
}

/* FOOTER */

footer#footer .row {
  padding: 30px 0;
	padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
}

footer#footer .row .col {
	max-width: 220px;
}

footer#footer .affiliation.abta {
  width: 140px;
  margin-right: 0;
}

footer#footer .affiliation.atol {
  width: 80px;
}

footer#footer .affiliation img {
  width: 100%;
}

footer#footer{
	padding:4rem 0 3rem 0;
	background: var(--dark-brown);
	color:var(--body-color);
}



footer#footer .logo{
	width: 150px;
	margin: 0 auto 20px;
}

footer#footer .logo a{
	display:block;
}

footer#footer .logo a svg, footer#footer .logo a img{
	display:block;
	width:100%;
	height:auto;
}

footer#footer h4{
	margin: 0 0 1rem 0;
	  font-size: 1.125rem;
	  font-family: var(--title-font);
	  color: var(--dark-brown);
	  text-transform: uppercase;
	  letter-spacing: 0.05rem;
}

footer#footer ul {
	padding-left: 0;
}

footer#footer ul li {
	
}

footer#footer ul li a {
	font-weight: 300;
	font-size: 0.875rem;
}

footer#footer p.contact{
	font-size: 1em;
	color: darken(@font-color, 10%);
	font-weight:500;
}

footer#footer p.contact a{
	margin:0 10px;
	
}
footer#footer .address p{
	color: var(--body-color);
	margin:0;
	font-size: 0.875em;
}
footer#footer p.copyright, footer#footer p.terms{
	font-size: 0.875em;
	color: #949bb8;
}

footer#footer p.credit{
	font-size: 0.75em;
	color: #94a0a1;
}

footer#footer p.credit a {
	font-weight: 400;
	color: #717879;
}

footer#footer p.credit a:hover {
	color: var(--dark-brown);
}


footer#footer .pipe {
	margin: 0 0.5rem;
	color: var(--dark-brown);
}
	
footer#footer a{
	transition:all 0.3s;
	color:#fff;
	font-weight:500;
}

footer#footer a:hover{
	color:var(--dark-brown);
}

/* FOOTER NAV */

section.footer-nav{
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	height:70px;
	background:rgba(255,255,255,1);
	box-shadow:0 0 24px rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transform:translateY(100%);
	transition:all 1s;
	z-index:500;
}
section.footer-nav.visible{
	transform:translateY(0);
}
nav.footer-nav ul{
	list-style:none;
	display:flex;
}
nav.footer-nav ul li{
	margin:0 10px;
}
nav.footer-nav ul li a{
	color:var(--body-color);
	font-weight:500;
	text-align:center;
	font-size:14px;
	display:block;
}
nav.footer-nav ul li a:hover{
	color:var(--dark-brown);
}
nav.footer-nav ul li a i{
	display:block;
	font-size:18px;
}
section.footer-nav .ccm-block-social-links{
	font-size:2em;
}
section.footer-nav .ccm-block-social-links a{
	color:var(--dark-brown);
}

@media screen and (max-width: 800px) {
  footer#footer {
	text-align: center;
  }
  
  footer#footer .affiliations .row {
  flex-direction: row;
	justify-content: center;
  }
  
 footer#footer .row {
	  flex-direction: column;
	  align-items: center;
	}
	
footer#footer .row .col {
		margin: 1em 0;
	}
}

/* YOUTUBE VIDEO */

section.single-video{
	margin:45px 0;
	padding:45px 5%;
	background-color: lighten(--body-color, 10%);
	background-image: @large-diagonals;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
	border-top:1px solid lighten(--body-color, 20%);
	border-bottom:1px solid lighten(--body-color, 20%);
}

section.single-video .container-fluid{
	max-width:@max-width;
	margin:0 auto;
	filter: saturate(0.2);
}


/* LIST FILTER */

div.list-filter{
	margin-bottom:20px;
}

div.list-filter .inline-wrapper{
	display: flex;
	align-items: flex-end;
	justify-content:center;
}

.list-filter select{
	min-width:200px;
	
}


/* YOUTUBE VIDEO */

section.youtube-video{
	margin:75px 0;
	padding:0 5%;
}
section.youtube-video iframe{
	border:none;
}

/* partners */

section.partners{
	padding:30px 0;
	background:var(--dark-brown);
	text-align:center;
}

section.partners ul{
	list-style:none;
	font-size:0;
	margin: 0;
}
section.partners li{
	width:140px;
	display:inline-block;
	margin:0 1%;
}
section.partners li img{
	display:block;
	width:100%;
	height:auto;
	filter: grayscale(100%) brightness(100);
	-webkit-filter:grayscale(100%) brightness(100);
	opacity:0.8;
	padding:5%;
}


