/* -------------------------------------------------- */
/* Reset - http://purecss.io/base
/* -------------------------------------------------- */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section, main{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}.hide{display:none;}html{box-sizing: border-box;}*,*:before,*:after{box-sizing:inherit;}.clear{font-size:0px;clear: both;height: 0px;}*:focus{outline: none;}strong{font-weight:bold;}em{font-style:italic;}input:invalid{box-shadow: none;}button{border:none;background:none;padding:0;margin: 0;}button::-moz-focus-inner{border:0;}input,button{border-radius:0;border-radius:none;}
/* -------------------------------------------------- */
/* Common
/* -------------------------------------------------- */
html,body{
	overflow-x: hidden;
}
body{
	font-family: mrs-eaves, georgia, serif;
	font-size: 22px;
	color: #121212;
	background: #333;
	padding: 0 9px 9px 9px;
}
h1,h2,h3{
	color: #000;
	text-align: center;
	font-weight: 700;
}
h1{ font-size: 54px; }
h2{ font-size: 42px; }
h3{ font-size: 36px; }
.hd-wave{
	background: url('/assets/images/wave.svg') no-repeat bottom center;
	padding-bottom: 30px;
	margin-bottom: 18px;
}
.hd-wave-alt{
	background-image: url('/assets/images/wave-alt.svg');
}
.hd-sm{
	font-family: mrs-eaves-roman-all-petite-c, sans-serif;
	margin-bottom: 27px;
	font-weight: normal;
}

.center{
	text-align: center;
}
p{
	line-height: 1.3em;
	margin-bottom: 1em;
}
a, a:visited{
	color: #000000;
}
a:hover, a:active{
	color: #000000;
}
strong{
	font-weight: 700;
}
sup{
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5em;
}
hr{
	border: 0;
	border-bottom: 1px solid #ccc;
	padding-top: 27px;
	margin-bottom: 48px;

}
/* -------------------------------------------------- */
/* Containers
/* -------------------------------------------------- */
.container,
.container-max{
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 18px;
}
.container-max{
	max-width: 1440px;
}

/* -------------------------------------------------- */
/* Header
/* -------------------------------------------------- */
.header-logo{
	background: url('/assets/images/stocks-on-2nd.svg') no-repeat;
	width: 183px;
	height: 80px;
}
header .container-max{
	display: flex;
	align-items: start;
	padding: 9px 18px;
}
.header-side{
	flex-grow: 1;
	text-align: right;
}
a.header-callout{
	display: inline-block;
	padding: 6px 6px;
	background: #af402b;
	color: #fff;
	font-style: italic;
	font-size: 21px;
	text-decoration: none;
}
.header-nav{
	display: inline-block;
}
.header-nav ul{
	display: flex;
	justify-content: right;
	margin: 0 -18px;
}
.header-nav a{
	display: block;
	padding: 9px 18px;
	font-family: mrs-eaves-roman-all-petite-c, serif;
	font-size: 31px;
	text-decoration: none;
}
.header-nav a:hover,
.header-nav .active a{
	text-decoration: underline;
}
.mnav-trigger{
	display: none;
	width: 24px;
	height: 24px;
	background: url('/assets/images/menu.svg') no-repeat;
}
#page.show .mnav-trigger{
	background-image: url('/assets/images/close.svg');
}


/* -------------------------------------------------- */
/* Hero
/* -------------------------------------------------- */
.hero{
	position: relative;
	background: no-repeat center;
	background-size: cover;
	background-attachment: fixed;
	min-height: 80vh;
	padding: 36px 0;
}
.hero-ghost{
	display: flex;
	align-content: center;
	justify-content: center;
	position: absolute;
	background-color: rgba(0,0,0,.25);
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100%;
}
.hero-box p{
	font-size: 33px;
	font-style: italic;
	margin-bottom: 0;
}
.hero-box{
	width: 100%;
	max-width: 700px;
	background-color: rgba(255,255,255,.1);
	align-self: center;
	text-align: center;
	padding: 27px;
}
.hero-box-border{
	background-color: rgba(0,0,0,.5);
	padding: 48px 27px 54px 27px;
}
.hero-box,
.hero-box h1,
.hero-box a{
	color: #fff;
}
.hero-box .hd-wave{
	background-image:  url('/assets/images/wave-alt.svg');
}

/* -------------------------------------------------- */
/* Main
/* -------------------------------------------------- */
main section{
	padding: 54px 0;
}

/* -------------------------------------------------- */
/* Gallery
/* -------------------------------------------------- */
.gallery{
	background: #fff;
}
.gallery-imgs{
	display: flex;
	flex-wrap: wrap;
	margin: -9px;
	justify-content: center;
}
.gallery-imgs .thumbnail{
	position: relative;
	width: 20%;
	padding: 9px;
}
.gallery-imgs img{
	width: 100%;
	height: auto;
}
.gallery-imgs .video-thumb div{
	position: absolute;
	width: 100%;
	top: 0; bottom: 0;
	background: url('/assets/images/video-play.svg') no-repeat center;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}
#modal-content{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
#modal-content img,
#modal-content video {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* -------------------------------------------------- */
/* Menus
/* -------------------------------------------------- */
.menus{
	padding: 48px 0 72px 0;
	background: #ccefee;
}
.menus ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: -6px;
}
.menus li{
	padding: 6px;
}
.menus a{
	font-family: mrs-eaves-roman-all-petite-c, sans-serif;
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 12px 21px 12px 33px;
	background: #121212 url('/assets/images/download.svg') no-repeat 12px center;
}
.menus a:hover{
	text-decoration: underline;
}

/* -------------------------------------------------- */
/* Quotes
/* -------------------------------------------------- */
.quote-text{
	font-size: 27px;
	font-style: italic;
	text-align: center;
}
.quote-cite{
	display: flex;
	justify-content: center;
	align-items: center;
}
.quote-cite .i{
	background: no-repeat left center;
	width: 32px;
	height: 36px;
}
.quote-cite .i.girl{
	background-image: url('/assets/images/girl.svg');
}
.quote-cite .i.boy{
	background-image: url('/assets/images/boy.svg');
}

/* -------------------------------------------------- */
/* Awards
/* -------------------------------------------------- */
.awards{
	padding: 18px 0;
	background: #fff;
}
.awards ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: -9px;
}
.awards li{
	padding: 9px;
}
.awards img{
	width: auto;
}

/* -------------------------------------------------- */
/* Contact
/* -------------------------------------------------- */
.contact{
	background: #fff;
}
.form-row{
	margin-bottom: 18px;
}
.form-row label{
	font-family: mrs-eaves-roman-all-petite-c, sans-serif;
	font-weight: normal;
	display: block;
	margin-bottom: 6px;
}
input, select, textarea{
	font-family: mrs-eaves, georgia, serif;
	font-size: 22px;
	color: #121212;
	border: 0;
	padding: 18px 9px;
	border: 1px solid #ccc;
	width: 100%;
}
.btn{
	font-family: mrs-eaves-roman-all-petite-c, sans-serif;
	font-weight: normal;
	font-size: 22px;
	display: inline-block;
	background: #af402b;
	color: #fff;
	border: none;
	padding: 18px;
}
.btn:hover{
	cursor: pointer;
	text-decoration: underline;
}
.alert{
	text-align: center;
	color: red;
}

/* -------------------------------------------------- */
/* Footer
/* -------------------------------------------------- */
footer{
	padding:  36px 0;
	text-align: center;
	font-size: 18px;
}
footer p{
	margin-bottom: 12px;
}
.social{
	display: flex;
	justify-content: center;
	margin-bottom: 18px;
}
.social li{
	padding: 0 3px;
}
.social a{
	display: block;
	width: 36px;
	height: 36px;
	background: no-repeat center;
}
.social .fb{
	background-image: url('/assets/images/fb.svg');
}
.social .tw{
	background-image: url('/assets/images/tw.svg');
}
.social .tk{
	background-image: url('/assets/images/tk.svg');
}
.social .ww{
	background-image: url('/assets/images/ww.svg');
}

/* -------------------------------------------------- */
/* Mobile nav
/* -------------------------------------------------- */
#page{
	position: absolute;
	top: 0; left: 0;
	background: #efefef;
	width: 100%;
	z-index: 10;
	-webkit-transition: left .25s; /* Safari */
	transition: left .25s;
}
#page.show{
	left: -200px;
}
.m-nav{
	position: fixed;
	top: 21px; right: 0;
	width: 200px;
}
.m-nav a{
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 18px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}

/* -------------------------------------------------- */
/* Button
/* -------------------------------------------------- */
.top-btn{
	padding: 0;
	margin: 0;
	border: 0;
	position: fixed;
	bottom: 9px; right: 9px;
	width: 42px;
	height: 42px;
	background: url('/assets/images/arrow-up.svg') no-repeat center;
	background-size: 24px 24px;
	background-color: rgba(0,0,0,.2);
	-webkit-transition: background-color .25s; /* Safari */
	transition: background-color .25s;
}
.top-btn:hover{
	cursor: pointer;
}


/* -------------------------------------------------- */
/* Breakpoints
/* -------------------------------------------------- */
@media screen and (max-width: 1200px) {
	.gallery-imgs .thumbnail{
		width: 25%;
	}	
}
@media screen and (max-width: 1000px) {
	.gallery-imgs .thumbnail{
		width: 33.333%;
	}	
	.header-nav ul,
	a.header-callout{ display: none; }
	.mnav-trigger{ display: inline-block; }
}
@media screen and (max-width: 720px) {
	.gallery-imgs .thumbnail{
		width: 50%;
	}	
}
@media screen and (max-width: 700px) {
	h1{ font-size: 42px; }
	h2{ font-size: 36px; }
	h3{ font-size: 33px; }
	.hero-box p{ font-size: 27px; }
	.hero{
		min-height: auto;
		padding: 0;
	}
	.hero-ghost{
		position: static;
		display: block;
	}
}
@media screen and (max-width: 500px) {
	.menus li{
		width: 100%;
	}
}
@media screen and (max-width: 430px) {
	.header-logo{
		width: 70px;
	}
}
@media screen and (max-width: 420px) {
	.gallery-imgs .thumbnail{
		width: 100%;
	}	
}
