@import url(font-awesome.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic");

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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
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-collapse: collapse;
	border-spacing: 0;
}
body {
	-webkit-text-size-adjust: none;
}
*, *:before, *:after {
	/* [disabled]-moz-box-sizing: border-box; */
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
@-moz-keyframes spinner {
	0% {
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(359deg);
		-webkit-transform: rotate(359deg);
		-ms-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
@-webkit-keyframes spinner {
	0% {
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(359deg);
		-webkit-transform: rotate(359deg);
		-ms-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
@-ms-keyframes spinner {
	0% {
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(359deg);
		-webkit-transform: rotate(359deg);
		-ms-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
@keyframes spinner {
	0% {
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(359deg);
		-webkit-transform: rotate(359deg);
		-ms-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
@-ms-viewport {
	width: device-width;
}
body {
	-ms-overflow-style: scrollbar;
}
@media screen and (max-width: 480px) {
	html, body {
		min-width: 320px;
	}
}
body {
	background: #FFF;
}
body.loading *, body.loading *:before, body.loading *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}
body.resizing *, body.resizing *:before, body.resizing *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
}
/* Type */
body, input, select, textarea {
	color: #000;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 15pt;
	font-weight: 300;
	letter-spacing: 0.025em;
	line-height: 1.65;
}
@media screen and (max-width: 1680px) {
	body, input, select, textarea {
		font-size: 11pt;
	}
}
a {
	-moz-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	border-bottom: dotted 1px;
	color: #333;
	text-decoration: none;
}
a:hover {
	border-bottom-color: transparent;
	color: #333 !important;
}
strong, b {
	color: #000;
	font-weight: 300;
}
em, i {
	font-style: italic;
}
p {
	margin: 0 0 2em 0;
}
h1, h2, h3, h4, h5, h6 {
	color: #000;
	font-weight: 300;
	letter-spacing: 0.1em;
	line-height: 1.5;
	margin: 0 0 1em 0;
	text-transform: uppercase;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}
h1 {
	font-size: 3em;
}
h2 {
	font-size: 1.25em;
}
h3 {
	font-size: 1.1em;
}
h4 {
	font-size: 1em;
}
h5 {
	font-size: 0.9em;
}
h6 {
	font-size: 0.7em;
}

.biggap { height:32px; }
.littlegap { height:16px; }
.littlestgap { height:4px; }

@media screen and (max-width: 736px) {
	h2 {
		font-size: 1em;
	}

	h3 {
		font-size: 0.9em;
	}

	h4 {
		font-size: 0.8em;
	}

	h5 {
		font-size: 0.7em;
	}

	h6 {
		font-size: 0.7em;
	}
	.biggap1 { height:24px; }
	.littlegap1 { height:12px; }
}
sub {
	font-size: 0.8em;
	position: relative;
	top: 0.5em;
}
sup {
	font-size: 0.8em;
	position: relative;
	top: -0.5em;
}
blockquote {
	border-left: 4px #36383c;
	font-style: italic;
	margin: 0 0 2em 0;
	padding: 0.5em 0 0.5em 2em;
}
code {
	background: #34363b;
	border: solid 1px #36383c;
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0.25em;
	padding: 0.25em 0.65em;
}
pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0 2em 0;
}
pre code {
	display: block;
	line-height: 1.75;
	padding: 1em 1.5em;
	overflow-x: auto;
}
hr {
	border: 0;
	border-bottom: solid 1px #36383c;
	margin: 2em 0;
}
hr.major {
	margin: 3em 0;
}
.align-left {
	text-align: left;
}
.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: inset 0 0 0 2px #36383c;
	color: #ffffff !important;
	cursor: pointer;
	display: inline-block;
	font-size: 0.9em;
	font-weight: 300;
	height: 3.05556em;
	letter-spacing: 0.1em;
	line-height: 3.05556em;
	padding: 0 2.5em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	box-shadow: inset 0 0 0 2px #34a58e;
	color: #34a58e !important;
}

input[type="submit"]:hover:active,
input[type="reset"]:hover:active,
input[type="button"]:hover:active,
button:hover:active,
.button:hover:active {
	background-color: rgba(52, 165, 142, 0.15);
	color: #34a58e !important;
}

input[type="submit"].icon,
input[type="reset"].icon,
input[type="button"].icon,
button.icon,
.button.icon {
	padding-left: 1.35em;
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
	margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
	display: block;
	margin: 0 0 1em 0;
	width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
	font-size: 0.8em;
}

input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
button.big,
.button.big {
	font-size: 1.35em;
}

input[type="submit"].special,
input[type="reset"].special,
input[type="button"].special,
button.special,
.button.special {
	background-color: #34a58e;
	box-shadow: none;
}

	input[type="submit"].special:hover,
	input[type="reset"].special:hover,
	input[type="button"].special:hover,
	button.special:hover,
	.button.special:hover {
		background-color: #47c5ab;
		color: #ffffff !important;
	}

		input[type="submit"].special:hover:active,
		input[type="reset"].special:hover:active,
		input[type="button"].special:hover:active,
		button.special:hover:active,
		.button.special:hover:active {
			background-color: #287e6d;
		}

input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
	-moz-pointer-events: none;
	-webkit-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
	opacity: 0.35;
}

form {
	margin: 0 0 2em 0;
}
form .field {
	margin: 0 0 1.3em 0;
}
form .field.half {
	float: left;
	padding: 0 0 0 0.65em;
	width: 50%;
}
form .field.half.first {
	padding: 0 0.65em 0 0;
}
form > .actions {
	margin: 1.5em 0 0 0 !important;
}
@media screen and (max-width: 736px) {

	form .field.half {
		float: none;
		padding: 0;
		width: 100%;
	}

		form .field.half.first {
			padding: 0;
		}

}

label {
	color: #000;
	display: block;
	font-size: 0.9em;
	font-weight: 300;
	margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background: #fff;
	border: 0;
	border-radius: 0;
	color: #000;
	display: block;
	outline: 0;
	padding: 0 1em;
	text-decoration: none;
	width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
input[type="search"]:invalid,
input[type="url"]:invalid,
select:invalid,
textarea:invalid {
	box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	box-shadow: inset 0 0 0 2px #34a58e;
}

.select-wrapper {
	text-decoration: none;
	display: block;
	position: relative;
}

.select-wrapper:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

.select-wrapper:before {
	color: #36383c;
	content: '\f078';
	display: block;
	height: 2.75em;
	line-height: 2.75em;
	pointer-events: none;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 2.75em;
}

.select-wrapper select::-ms-expand {
	display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select {
	height: 2.75em;
}

textarea {
	padding: 0.75em 1em;
}

input[type="checkbox"],
input[type="radio"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	display: block;
	float: left;
	margin-right: -2em;
	opacity: 0;
	width: 1em;
	z-index: -1;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
	text-decoration: none;
	color: #a0a0a1;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	font-weight: 300;
	padding-left: 2.4em;
	padding-right: 0.75em;
	position: relative;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
	background: #34363b;
	content: '';
	display: inline-block;
	height: 1.65em;
	left: 0;
	line-height: 1.58125em;
	position: absolute;
	text-align: center;
	top: 0;
	width: 1.65em;
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
	background: #34a58e;
	border-color: #34a58e;
	color: #ffffff;
	content: '\f00c';
}
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	box-shadow: 0 0 0 2px #34a58e;
}
input[type="radio"] + label:before {
	border-radius: 100%;
}
::-webkit-input-placeholder {
	color: #707071 !important;
	opacity: 1.0;
}
:-moz-placeholder {
	color: #707071 !important;
	opacity: 1.0;
}
::-moz-placeholder {
	color: #707071 !important;
	opacity: 1.0;
}
:-ms-input-placeholder {
	color: #707071 !important;
	opacity: 1.0;
}
.formerize-placeholder {
	color: #707071 !important;
	opacity: 1.0;
}
.icon {
	text-decoration: none;
	border-bottom: none;
	position: relative;
}
.icon:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}
.icon > .label {
	display: none;
}

ol {
	list-style: decimal;
	margin: 0 0 2em 0;
	padding-left: 1.25em;
}
ol li {
	padding-left: 0.25em;
}
ul {
	list-style: disc;
	margin: 0 0 2em 0;
	padding-left: 1em;
}
ul li {
	padding-left: 0.5em;
}
ul.alt {
	list-style: none;
	padding-left: 0;
}

ul.alt li {
	border-top: solid 1px #36383c;
	padding: 0.5em 0;
}
ul.alt li:first-child {
	border-top: 0;
	padding-top: 0;
}
ul.icons {
	cursor: default;
	list-style: none;
	padding-left: 0;
}
ul.icons li {
	display: inline-block;
	padding: 0 1em 0 0;
}
ul.icons li:last-child {
	padding-right: 0;
}
ul.icons li .icon {
	color: #505051;
}
ul.icons li .icon:before {
	font-size: 1.5em;
}
ul.actions {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

		ul.actions li {
			display: inline-block;
			padding: 0 1em 0 0;
			vertical-align: middle;
		}

			ul.actions li:last-child {
				padding-right: 0;
			}

		ul.actions.small li {
			padding: 0 0.5em 0 0;
		}

		ul.actions.vertical li {
			display: block;
			padding: 1em 0 0 0;
		}

			ul.actions.vertical li:first-child {
				padding-top: 0;
			}

			ul.actions.vertical li > * {
				margin-bottom: 0;
			}

		ul.actions.vertical.small li {
			padding: 0.5em 0 0 0;
		}

			ul.actions.vertical.small li:first-child {
				padding-top: 0;
			}

		ul.actions.fit {
			display: table;
			margin-left: -1em;
			padding: 0;
			table-layout: fixed;
			width: calc(100% + 1em);
		}

			ul.actions.fit li {
				display: table-cell;
				padding: 0 0 0 1em;
			}

				ul.actions.fit li > * {
					margin-bottom: 0;
				}

			ul.actions.fit.small {
				margin-left: -0.5em;
				width: calc(100% + 0.5em);
			}

				ul.actions.fit.small li {
					padding: 0 0 0 0.5em;
				}

		@media screen and (max-width: 480px) {

			ul.actions {
				margin: 0 0 2em 0;
			}

				ul.actions li {
					padding: 1em 0 0 0;
					display: block;
					text-align: center;
					width: 100%;
				}

					ul.actions li:first-child {
						padding-top: 0;
					}

					ul.actions li > * {
						width: 100%;
						margin: 0 !important;
					}

						ul.actions li > *.icon:before {
							margin-left: -2em;
						}

				ul.actions.small li {
					padding: 0.5em 0 0 0;
				}

					ul.actions.small li:first-child {
						padding-top: 0;
					}

		}

dl {
	margin: 0 0 2em 0;
}

	dl dt {
		display: block;
		font-weight: 300;
		margin: 0 0 1em 0;
	}

	dl dd {
		margin-left: 2em;
	}

/* Table */

.table-wrapper {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

table {
	margin: 0 0 2em 0;
	width: 100%;
}

	table tbody tr {
		border: solid 1px #36383c;
		border-left: 0;
		border-right: 0;
	}

		table tbody tr:nth-child(2n + 1) {
			background-color: #34363b;
		}

	table td {
		padding: 0.75em 0.75em;
	}

	table th {
		color: #ffffff;
		font-size: 0.9em;
		font-weight: 300;
		padding: 0 0.75em 0.75em 0.75em;
		text-align: left;
	}

	table thead {
		border-bottom: solid 2px #36383c;
	}

	table tfoot {
		border-top: solid 2px #36383c;
	}

	table.alt {
		border-collapse: separate;
	}

		table.alt tbody tr td {
			border: solid 1px #36383c;
			border-left-width: 0;
			border-top-width: 0;
		}

			table.alt tbody tr td:first-child {
				border-left-width: 1px;
			}

		table.alt tbody tr:first-child td {
			border-top-width: 1px;
		}

		table.alt thead {
			border-bottom: 0;
		}

		table.alt tfoot {
			border-top: 0;
		}

/* Panel */

.panel {
	padding: 4em 4em 2em 4em ;
	-moz-transform: translateY(100vh);
	-webkit-transform: translateY(100vh);
	-ms-transform: translateY(100vh);
	transform: translateY(100vh);
	-moz-transition: -moz-transform 0.5s ease;
	-webkit-transition: -webkit-transform 0.5s ease;
	-ms-transition: -ms-transform 0.5s ease;
	transition: transform 0.5s ease;
	-webkit-overflow-scrolling: touch;
	background: #DDD;
	bottom: 4em;
	left: 0;
	max-height: calc(80vh - 4em);
	overflow-y: auto;
	position: fixed;
	width: 100%;
	z-index: 10001;
}

	.panel.active {
		-moz-transform: translateY(1px);
		-webkit-transform: translateY(1px);
		-ms-transform: translateY(1px);
		transform: translateY(1px);
	}

	.panel > .inner {
		margin: 0 auto;
		max-width: 100%;
		width: 75em;
	}

		.panel > .inner.split {
			display: -moz-flex;
			display: -webkit-flex;
			display: -ms-flex;
			display: flex;
		}

			.panel > .inner.split > div {
				margin-left: 4em;
				width: 50%;
			}

			.panel > .inner.split > :first-child {
				margin-left: 0;
			}

	.panel > .closer {
		-moz-transition: opacity 0.2s ease-in-out;
		-webkit-transition: opacity 0.2s ease-in-out;
		-ms-transition: opacity 0.2s ease-in-out;
		transition: opacity 0.2s ease-in-out;
		background-image: url("images/close.svg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: 3em;
		cursor: pointer;
		height: 5em;
		opacity: 0.25;
		position: absolute;
		right: 0;
		top: 0;
		width: 5em;
		z-index: 2;
	}

		.panel > .closer:hover {
			opacity: 1.0;
		}

	@media screen and (max-width: 1280px) {

		.panel {
			padding: 3em 3em 1em 3em ;
		}

			.panel > .inner.split > div {
				margin-left: 3em;
			}

			.panel > .closer {
				background-size: 2.5em;
				background-position: 75% 25%;
			}

	}

	@media screen and (max-width: 980px) {

		.panel > .inner.split {
			-moz-flex-direction: column;
			-webkit-flex-direction: column;
			-ms-flex-direction: column;
			flex-direction: column;
		}

			.panel > .inner.split > div {
				margin-left: 0;
				width: 100%;
			}

	}

	@media screen and (max-width: 736px) {

		.panel {
			-moz-transform: translateY(-100vh);
			-webkit-transform: translateY(-100vh);
			-ms-transform: translateY(-100vh);
			transform: translateY(-100vh);
			padding: 4em 2em 2em 2em ;
			bottom: auto;
			top: calc(4em - 1px);
		}

			.panel.active {
				-moz-transform: translateY(0);
				-webkit-transform: translateY(0);
				-ms-transform: translateY(0);
				transform: translateY(0);
			}

	}



/* Wrapper */

#wrapper {
	position: relative;
}

	#wrapper:after {
		-moz-pointer-events: none;
		-webkit-pointer-events: none;
		-ms-pointer-events: none;
		pointer-events: none;
		content: '';
		display: block;
		height: 100%;
		left: 0;
		opacity: 0;
		position: absolute;
		top: 0;
		visibility: hidden;
		width: 100%;
		z-index: 1;
	}

		body.ie #wrapper:after {
			background: rgba(36, 38, 41, 0.8);
		}

	body.modal-active #wrapper {
	}

		body.modal-active #wrapper:after {
			-moz-pointer-events: auto;
			-webkit-pointer-events: auto;
			-ms-pointer-events: auto;
			pointer-events: auto;
			opacity: 1;
			visibility: visible;
			z-index: 10003;
		}

	#wrapper:before {
		-moz-animation: spinner 1s infinite linear !important;
		-webkit-animation: spinner 1s infinite linear !important;
		-ms-animation: spinner 1s infinite linear !important;
		animation: spinner 1s infinite linear !important;
		-moz-pointer-events: none;
		-webkit-pointer-events: none;
		-ms-pointer-events: none;
		pointer-events: none;
		-moz-transition: top 0.75s ease-in-out, opacity 0.35s ease-out, visibility 0.35s;
		-webkit-transition: top 0.75s ease-in-out, opacity 0.35s ease-out, visibility 0.35s;
		-ms-transition: top 0.75s ease-in-out, opacity 0.35s ease-out, visibility 0.35s;
		transition: top 0.75s ease-in-out, opacity 0.35s ease-out, visibility 0.35s;
		background-image: url("images/spinner.svg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		content: '';
		display: block;
		font-size: 2em;
		height: 2em;
		left: 50%;
		line-height: 2em;
		margin: -1em 0 0 -1em;
		opacity: 0;
		position: fixed;
		text-align: center;
		top: 75%;
		visibility: hidden;
		width: 2em;
	}

	body.loading #wrapper:before {
		top: 50%;
		visibility: visible;
	}

/* Header */

body {
	padding: 0 0 4em 0;
}

#header {
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	background: #BBB;
	bottom: -1em;
	height: 5em;
	left: 0;
	line-height: 4em;
	padding: 0 1.5em;
	position: fixed;
	user-select: none;
	width: 100%;
	z-index: 10002;
}

body.loading #header {
}

#header h1 {
	color: #000;
	display: inline-block;
	font-size: 1em;
	line-height: 1;
	margin: 0;
	vertical-align: middle;
}

#header h1 a {
	border: 0;
	color: inherit;
}

#header h1 a:hover {
	color: inherit !important;
}

#header nav {
	position: absolute;
	right: 0;
	top: 0;
}

#header nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#header nav > ul > li {
	display: inline-block;
	padding: 0;
}

#header nav > ul > li a {
	-moz-transition: background-color 0.5s ease;
	-webkit-transition: background-color 0.5s ease;
	-ms-transition: background-color 0.5s ease;
	transition: background-color 0.5s ease;
	border: 0;
	color: #000;
	display: inline-block;
	letter-spacing: 0.1em;
	padding: 0 1.65em;
	text-transform: uppercase;
}

#header nav > ul > li a.icon:before {
	color: #505051;
	float: right;
	margin-left: 0.75em;
}

#header nav > ul > li a:hover {
	color: #000 !important;
}

#header nav > ul > li a.active {
	background-color: #CCC;
}

@media screen and (max-width: 736px) {
	body {
		padding: 4em 0 0 0;
	}

	#header {
		-moz-transform: translateY(0);
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		bottom: auto;
		height: 4em;
		padding: 0 1em;
		top: 0;
	}

	body.loading #header {
		-moz-transform: translateY(-3.4em);
		-webkit-transform: translateY(-3.4em);
		-ms-transform: translateY(-3.4em);
		transform: translateY(-3.4em);
	}

	#header h1 {
		font-size: 0.9em;
	}

	#header nav > ul > li a {
		font-size: 0.9em;
		padding: 0 1.15em;
	}
}

#main {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#main .thumb {
	-moz-pointer-events: auto;
	-webkit-pointer-events: auto;
	-ms-pointer-events: auto;
	pointer-events: auto;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	opacity: 1;
	overflow: hidden;
	position: relative;
}

#main .thumb:after {
	-moz-pointer-events: none;
	-webkit-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
	background-size: cover;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

#main .thumb > .image {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

#main .thumb > h2 {
	-moz-pointer-events: none;
	-webkit-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
	bottom: 1.875em;
	font-size: 0.8em;
	left: 2.1875em;
	margin: 0;
	position: absolute;
	z-index: 1;
}

#main .thumb > p {
	display: none;
}

#main:after {
	-moz-pointer-events: none;
	-webkit-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	visibility: hidden;
	width: 100%;
	z-index: 1;
}

body.ie #main:after {
}

body.content-active #main {
}

body.content-active #main:after {
	-moz-pointer-events: auto;
	-webkit-pointer-events: auto;
	-ms-pointer-events: auto;
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

body.loading #main .thumb {
	-moz-pointer-events: none;
	-webkit-pointer-events: none;
	-ms-pointer-events: none;
	pointer-events: none;
	opacity: 0;
}

#main .thumb {
	height: calc(40vh - 2em);
	min-height: 20em;
	width: 25%;
}

@media screen and (max-width: 1280px) {
	#main .thumb {
		height: calc(40vh - 2em);
		min-height: 20em;
		width: 50%;
	}
}
@media screen and (max-width: 980px) {
	#main .thumb {
		height: calc(28.57143vh - 1.33333em);
		min-height: 18em;
		width: 50%;
	}
}
@media screen and (max-width: 736px) {	
	#main .thumb {
		height: calc(40vh - 2em);
		min-height: 18em;
		width: 100%;
	}
}
#footer .copyright {
	color: #505051;
	font-size: 0.9em;
}
#footer .copyright a {
	color: inherit;
}

.index, .video {
	margin: 2em 10em 2em 10em;
}
@media screen and (max-width: 480px) {
	.index, .video {
		margin: 2em 2em 2em 2em;
	}
}
.index-text {
	font-size: 1.5em;
}
@media screen and (max-width: 736px) {
	.index-text {
		font-size: 1em;
	}
}
.thumb {
	border-style: solid;
	border-width: 2px 0 0 0;
}