$dark_brown: #2d2c28;
$teal: #3dbeba;
$light_gray: #eaeae9;
$mid_gray: #bbbdbf;
$dark_gray: #4c4c4c;

/*================================================================================
CSS Reset
================================================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font: inherit;
	font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
	display: block;
}

div.error {
    color: red;
    white-space: pre-line;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-spacing: 0;
	border-collapse: collapse;
}

:focus {
	outline: 0;
}

textarea {
	overflow: auto;
	resize: none;
}

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

*, *:before, *:after {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*================================================================================
Typography
================================================================================*/

body {
	font-family: "proxima-nova", sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.4;
	color: $dark_gray;
}

p {
	margin: 0 0 15px;
}

p:last-child {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	letter-spacing: 1px;
}

ul, ol {
	margin: 0 0 10px 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li {
	margin: 0 0 5px;
}

strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

/* Links */

a {
	color: $teal;
	text-decoration: underline;
}

a:hover {}

/*================================================================================
Structure
================================================================================*/

body {
	background: #fff;
}

#page {
	padding: 0;
}

.container {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 15px;
	overflow: hidden;
}

header .container {
	max-width: 1300px;
}

.row {
	margin: 0 -15px;
	overflow: hidden;
}

[class*='col-'] {
	float: left;
	padding: 0 15px;
}

.row.gutterbig {
	margin-left: -40px;
	margin-right: -40px;
}

.row.gutterbig [class*='col-'] {
	padding: 0 40px;
}

.col-threequarters {
	width: 75%;
}

.col-half {
	width: 50%;
}

.col-third {
	width: 33.333333%;
}

.col-quarter {
	width: 25%;
}

.col-full {
	width: 100%;
	padding: 0 15px;
}

/*================================================================================
Header
================================================================================*/

body {
	padding-top: 80px;
}

header .bg {
	position: fixed;
	z-index: 99;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: $dark_brown;
	opacity: .7;
	display: none;
}

header .bar {
	width: 100%;
	height: 80px;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	background: $dark_brown;
}

header .container {
	position: relative;
	z-index: 1;
}

header .table {
	display: table;
	width: 100%;
}

header .table > div {
	display: table-cell;
	height: 80px;
	vertical-align: middle;
}

header .table > div > * {
	vertical-align: middle;
}

header .table .left {
	text-align: left;
	transition: all .4s;
}

header.active .table .left {
	opacity: 0;
}

header .table .right {
	text-align: right;
}

header .logo {
	display: inline-block;
	width: 254px;
	height: 22px;
	background: url('../images/logo.svg') no-repeat center;
	text-indent: -9999px;
}

header .tagline-1 {
	display: inline-block;
	margin: 0 0 0 6px;
	padding: 0 0 0 10px;
	border-left: 1px solid $dark_gray;
	font-size: 24px;
	line-height: 1;
	color: #fff;
    text-decoration: none;
}

header a.tagline-1:hover {
    text-decoration: underline;
}

header .tagline-2 {
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	color: $teal;
	text-transform: uppercase;
    text-decoration: none;
}

header .tagline-2:hover {
    text-decoration: underline;
}

header .hamburger {
	vertical-align: middle;
	display: inline-block;
	width: 32px;
	margin: 0 0 0 20px;
	cursor: pointer;
}

header .hamburger span {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	margin: 8px 0;
	transition: all .3s;
}

header.active .hamburger span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}

header.active .hamburger span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}

header.active .hamburger span:nth-child(2) {
	opacity: 0;
}

header nav {
	background: $dark_brown;
	position: relative;
	z-index: -1;
	transform: translateY(-100%);
	transition: all .5s ease-in-out;
}

header.active nav {
	transform: translateY(0%);
}

header nav ul {
	list-style: none;
	margin: 0;
	padding-bottom: 75px !important;
	opacity: 0;
	transition: all .5s ease-in-out;
}

header.active nav ul {
	opacity: 1;
}

header nav ul li {
	margin: 5px 0;
	padding: 0;
	text-align: right;
}

header nav a {
	font-family: "minion-pro", serif;
	font-size: 46px;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
}

/*================================================================================
Footer
================================================================================*/

footer {
	background: $dark_brown;
	padding: 30px 0;
	font-size: 14px;
	text-align: center;
	color: #fff;
	letter-spacing: 1px;
	text-transform: uppercase;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/*================================================================================
Sections
================================================================================*/

.richtext {
    .richtext-smaller {
        font-size: 18px;
    }

    .richtext-smallest {
        font-size: 16px;
    }
}

/* Section - Video
--------------------------------------------------*/

section.video,
section.plain-banner {
	height: calc(100vh - 80px);
	background-color: $dark_brown;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
    overflow: hidden;

	.container {
		display: table;
	}

    iframe {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }

	.container > div {
		display: table-cell;
		vertical-align: middle;
		width: 100%;
		margin: 0 auto;
		height: calc(100vh - 80px);
		text-align: center;
		color: #fff;
	}

	.title {
		font-family: "minion-pro", serif;
		font-size: 62px;
	}

	.subtitle {
		font-size: 22px;
		text-transform: uppercase;
	}

	.play {
		display: inline-block;
        cursor: pointer;
		border: 2px solid #fff;
		border-radius: 100em;
		margin: 20px 0 0 0;
		padding: 13px 30px 13px 62px;
		position: relative;
		font-size: 22px;
		font-weight: 600;
		letter-spacing: 1px;
	}

	.play:before {
		content: "";
		display: block;
		width: 0;
		height: 0;
		border: 20px solid transparent;
		border-top-width: 10px;
		border-bottom-width: 10px;
		border-left-color: #fff;
		position: absolute;
		top: 50%;
		left: 24px;
		margin-top: -10px;
	}
}

section.plain-banner {
    height: auto;

	.container > div {
        height: auto;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

section.video {
    .container {
        .backdrop {
            background-color: rgba(0, 0, 0, 0.3);
            padding: 50px;
        }
    }
}

/* Section - One Column
--------------------------------------------------*/

section.one-column {
	margin-top: 75px;
	margin-bottom: 75px;

	img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 0 auto 30px;
	}

	.title {
		margin-bottom: 40px;
		font-size: 22px;
		text-transform: uppercase;
		text-align: center;
		letter-spacing: 1px;
        font-weight: bold;
	}

	h2 {
		margin: 0 0 10px;
		font-family: "minion-pro", serif;
		font-size: 30px;
	}

	.richtext {
		font-family: "minion-pro", serif;
		font-size: 24px;
	}
}

/* Section - Three Column
--------------------------------------------------*/

section.three-column {
	margin-top: 75px;
	margin-bottom: 75px;

	.title {
		margin-bottom: 40px;
		font-size: 22px;
		text-transform: uppercase;
		text-align: center;
		letter-spacing: 1px;
		font-weight: bold;
	}

	.row {
		img {
			max-width: 100%;
			height: auto;
			vertical-align: top;
			margin: 0 auto 20px;
		}

		h2 {
			margin: 0 0 10px;
			font-family: "minion-pro", serif;
			font-size: 30px;
		}
	}
}

/* Fix problem with anchor links being scrolled to far
 * because of the fixed positioned header.
 */
h1[id]:before,
section[id]:before {
    display: block;
    content: " ";
    margin-top: -85px;
    height: 85px;
    visibility: hidden;
}


/* Section - Story Links
--------------------------------------------------*/

section.story-links {
	margin-top: 75px;
	margin-bottom: 75px;

	section + & {
		margin-top: -60px
	}

	section.video + & {
		margin-top: calc(75px - 60px);
	}

	.story {
		margin: 60px 0 0;

		a {
			color: inherit;
			text-decoration: none;
		}

		.img {
			margin: 0 0 20px;
			width: 100%;
			height: 0;
			padding-bottom: 100%;
			border-radius: 100%;
			overflow: hidden;
			background-color: $light_gray;
			background-repeat: no-repeat;
			background-position: center center;
			background-size: cover;
		}

		h2 {
			margin: 0 0 10px;
			font-family: "minion-pro", serif;
			font-size: 30px;
            text-align: center;
		}
	}

	&:after {
		content: "";
		display: table;
		clear: both;
	}
}

/* Section - Image Links
--------------------------------------------------*/

section.img-links {
	background: $light_gray;
    overflow: hidden;

	> div {
	    margin: 0 -3px;
	}

	> div > div {
		float: left;
		height: 280px;
		padding: 0 3px;
		display: table;
	}

	> div > div a {
		position: relative;
		display: table-cell;
		vertical-align: middle;
		width: 100%;
		height: 100%;
		padding: 10px;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
		font-size: 28px;
		font-weight: 600;
		text-align: center;
		text-decoration: none;
		color: #fff;
		text-transform: uppercase;
		letter-spacing: 1px;
		text-shadow: 0 0 20px rgba(0,0,0,.4);
	}

	&.three > div > div {
		width: 33.3333%;
	}

	&.two > div > div {
		width: 50%;
	}
}

/* Section - Form
--------------------------------------------------*/

section.form {
	background: $light_gray;
	padding-top: 75px;
	padding-bottom: 75px;
	text-align: center;
}

/*================================================================================
Forms
================================================================================*/

.btn {
	display: inline-block;
	background: $teal;
	border: 0;
	border-radius: 100em;
	padding: 8px 26px;
	font-family: "proxima-nova", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 1px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.btn-big {
	padding: 15px 30px;
	font-size: 22px;
}

.btn-small {
	padding: 6px 12px 5px;
	font-size: 10px;
}

label {
	font-size: 14px;
}

input[type="text"],
input[type="number"],
input[type="text"][disabled],
input[type="number"][disabled] {
	width: 340px;
	display: inline-block;
	background: #f1f1f2;
	border: 0;
	border-radius: 0;
	padding: 6px 10px;
	font-family: "proxima-nova", sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	color: #3f3f3f;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="text"][disabled] {
    color: #6f6f6f;
    font-weight: bold;
}

select {
	padding: 7px 30px 6px 8px;
	width: 100%;
	background: #fff url('../images/select-arrow.svg') no-repeat calc(100% - 10px) 50%;
	border: 2px solid #f1f1f2;
	border-radius: 0;
	font-family: "proxima-nova", sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 600;
	text-align: left;
	color: #3f3f3f;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

textarea {
	display: block;
	width: 100%;
	height: 340px;
	background: #f1f1f2;
	border: 0;
	border-radius: 0;
	padding: 30px;
	font-family: "proxima-nova", sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	color: #3f3f3f;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/*================================================================================
Modal
================================================================================*/

.modal {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	padding: 0 15px;
	display: none;
}

.modal.active {
	display: block;
}

.modal-bg {
	position: fixed;
	z-index: 998;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: $dark_brown;
	opacity: .7;
}

.modal-scroll {
	position: absolute;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	overflow-y: auto;
}

.modal-table {
	display: table;
	position: absolute;
	width: 100%;
	height: 100%;
}

.modal-alignmiddle {
	display: table-cell;
	vertical-align: middle;
}

.modal-body {
	max-width: 840px;
	margin: 0 auto;
	padding: 40px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/*================================================================================
Responsive
================================================================================*/

/* Medium Screen */

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


}

@media print {
    body {
        padding: 0;
    }

    header,
    footer {
        display: none;
    }
}
