/* ==========================================================================
   Inhabit Studio
   ========================================================================== */

@font-face {
    font-family: 'museo_slab300';
    src: url('fonts/museo_slab_300-webfont.eot');
    src: url('fonts/museo_slab_300-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo_slab_300-webfont.woff') format('woff'),
         url('fonts/museo_slab_300-webfont.ttf') format('truetype'),
         url('fonts/museo_slab_300-webfont.svg#museo_slab300') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
	background: #474d5e;
	font-family: 'museo_slab300';
    font-size: 0.8em;
    line-height: 1.4;
}

p {	
	margin-top: 0;
	margin-bottom: 1.5em;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

ul,
li {
	margin: 0;
	padding: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

h1, h2 {
	font-size: 1em;
	color: #ffffff;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

h1 {
	margin-top: 3em;
}

a,
a:link,
a:visited {
	color: #ffffff;
	text-decoration: none;
}

strong, .strong {
	color: #ffffff;
	font-weight: normal;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#main {
	width: 100%;
	
	color: #b3b3b3;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
}

#content {
	margin: 0 auto;
}

.footer {
	padding: 1em 0 3em;	
	display: block;
	clear: both;
}

.graphic {
	background: url('../img/inhabit-sprite.png') 0 0 no-repeat;
	display: block;
}

/*
RETINA (2x RESOLUTION DEVICES)
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
	.graphic {
		background: url('../img/inhabit-sprite@2x.png') 0 0 no-repeat;
		background-size: 330px 460px;
	}
}

.button {
	cursor: pointer;
}
/*
.logo {
	width: 141px;
	height: 70px;
	margin-bottom: 2em;
}
*/

.logo {
		width: 175px;
		height: 88px;
		position: absolute;
		top: 0;
		z-index: 5;
}	

.next,
.prev {
	width: 100px;
	height: 100px;
	top: 40%;
}

.prev {
	background-position: 0 -100px;
	position: absolute;
	left: 9em;
	z-index: 3;
}

.prev:hover,
.prev:focus {
	background-position: 0 -220px;
}

.next {
	background-position: -120px -100px;
	position: absolute;
	right: 9em;
	z-index: 3;
}


.next:hover,
.next:focus {
	background-position: -120px -220px;
}

.close {
	width: 50px;
	height: 50px;
	background-position: -120px -340px;
}

.close:hover,
.close:focus {
	background-position: -120px -400px;
}

.asterix {
	width: 13px;
	height: 12px;
	background-position: -200px 0;
	margin: 2em 0 0.5em;
}

.pinterest {
	width: 25px;
	height: 25px;
	background-position: -200px -20px;
}

.pinterest:hover,
.pinterest:focus {
	background-position: -200px -60px;
}

#slideshow {
	width: 100%;
	height: 52%;
	min-height: 470px;
	overflow: hidden;
	background: #cccccc;
	position: relative;
}

#slideshow .container {
	list-style: none;
	left: 0;
	transition: left 0.125s;
	-webkit-transition: left 0.125s;
	-moz-transition: left 0.125s;
	position: absolute;
	z-index: 1;
}
#slideshow .img-slide {
	width: 33.3333%;
	height: 100%;
	-webkit-background-size: cover !important;
	background-size: cover !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #ffffff;
	float: left;
}

#scans {
	position: absolute;
	top: 0;
	right: 0;
	left:0;
	bottom: 0;
	z-index: 5;
}

#scans .screenout {
	width: 100%;
	height: 100%;
	background: #000000;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.5;
	z-index: 6;
}

#scans .close {
	position: fixed;
	top: 2em;
	right: 2em;
	z-index: 8;
}

#scans .container {
	height: 100%;
	position: relative;
	overflow-y: auto;
	z-index: 7;
}

.img-scan {
	width: 98%;
	display: block;
	margin: 0 auto 2em;
}



@media only screen and (min-width: 768px) {
	.onecol {
		width: 33.333%;
		float: left;
	}
	.twocol {
		width: 50%;
		float: left;
	}
	
	.threecol {
		width: 100%;
	}
	
	.col-wrapper {
		padding-left: 9em;
	}

}

/* ==========================================================================
   Media Queries
   ========================================================================== */
   
@media only screen and (max-width: 1024px) {

	.prev {
		left: 4em;
	}
	
	.next {
		right: 4em;
	}
	
	.col-wrapper {
		padding-left: 4em;
	}
}

@media only screen and (max-width: 767px) {
	#content {
		width: auto;
		margin: 0;
	}
	
	#slideshow .img-slide {
		width: 100%;
	}
	
	
	.prev,
	.next {
		width: 50px;
		height: 50px;
	}
	
	.prev {
		background-position: 0 -340px;
		left: 0.5em;
	}
	
	.prev:hover,
	.prev:focus {
		background-position: 0 -400px;
	}
	
	.next {
		background-position: -60px -340px;
		right: 0.5em;
	}
	
	.next:hover,
	.next:focus {
		background-position: -60px -400px;
	}
	
	.col-wrapper {
		padding: 0 1.5em;
	}
	
	.logo {
		left: 23%;
	}
	
	h1 {
		margin-top: 1em;
	}
	
	.asterix {
		margin-top: 1em;
	}
	
	#slideshow {
		height: 35%;
		min-height: 200px;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.lockscroll {
	overflow: hidden;
}

.hidden {
	display: none;
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
