* {
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #222;
	color: #fff;
	font-family: 'Work Sans', Helvetica, Arial, sans-serif;
	counter-reset: section;
}
body#inside {
	padding-bottom: 40px;
}


img {
	margin: 0 auto;
	border: 0 !important;
	max-width: 100%;
}
#container {
	margin: 0 auto;
	width: 1200px;
	overflow: hidden;
	padding-bottom: 40px;
}
h1 {
	font-weight: 100;
	padding: 40px 0;
	font-size: 50px;
}
.thumbnail {
	display: block;
	float: left;
	margin: 0 10px 20px 10px;
	width: calc(33.33333% - 20px);
	height: 235px;
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #444;
	transition: all 0.15s ease-out;
	position: relative;
	color: #fff;
	text-decoration: none;
	font-weight: 200;
	font-size: 30px;
	line-height: 1.2em;
	overflow: hidden;
	position: relative;
}

.thumbnail span {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px;
	background: #fb5e13;
	opacity: 0;
	transition: all 0.15s ease-out;
	transform: translateY(30px);
}
.thumbnail:hover span {
	opacity: 1;
	transform: translateY(0);
}

.image {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.5s ease-out;
}
.image.loaded {
	opacity: 1;
}


#theImage {
	position: relative;
	z-index: 5;
}








.comp {
	position: relative;
	display: inline-block;
	
}
.nav {
	position: fixed;
	bottom: 0;
	left: 0;
	background: #000;
	color: #fff;
	font-size: 16px;
	padding: 0;
	transition: opacity 0.2s ease-out;
	white-space: nowrap;
	line-height: 0;
	width: 100%;
	z-index: 10;
	border-top: 1px solid #444;
}
.navButton {
	display: inline-block;
	width: 32px;
	height: 40px;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0.5;
	transition: all 0.2s ease-out;
}
.navButton:hover { opacity: 1; }
.prev { background-image: url('/prev.png'); }
.grid { background-image: url('/grid.png'); }
.next { background-image: url('/next.png'); }




/* CUSTOM STUFF */

#header {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
}




.backgroundVideo, .rotator {
	width: 1440px;
	height: 901px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	overflow: hidden;
	
}

.backgroundVideo video {
	height: 120%;
	width: 120%;
	position: absolute;
	top:0;
	left: -10%;
}
.backgroundVideo video {
	transition: opacity 1s ease-out;
	opacity: 0;
}
.backgroundVideo.on video {
	opacity: 1;
}




.rotator {
	background: #313131;
	z-index: 2;
}

.rotator .banner {
	position: absolute;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: opacity 2s 2s ease-out, transform 1s 2s ease-out;
	z-index: 1;
	transform: scale(1.3);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
}
.rotator .banner.active {
	transition: opacity 1s 0s ease-out, transform 6s 0s ease-out;
	z-index: 2;
	transform: scale(1);
	opacity: 1;
}

.rotator.inside { height: 640px; }



