/* HERO BLOCK 
=========================../includes/home/_hero.php==================== */

#hero {
	width: 100%;
}

#hero figure {
	background:url('../img/hero/hero@2x.png') no-repeat fixed;
	background-position: center -150px;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #00adc4;
    color: #fff;
    margin: 0;
    /* to make the background fit on every screen set it first to 100% for those browsers who cannot process "cover" */
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover; 
    
    -webkit-box-shadow: inset 0 -4px 46px rgba(0,0,0,.5);
    box-shadow:inset 0 -4px 46px rgba(0,49,56,.5);
    z-index: -2;
    position: relative;
}

#hero .logo_container {
	position: fixed;
	height: 100%;
/* 	margin-top:600px; */
	width: 100%;
	z-index: -1;
}

#hero .logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 320px;
	height: 120px;
	background: url('../img/sprite.svg');
	background-position: -224px 0;
	background-repeat: no-repeat;
	position: relative;
	top: 40%;
/* 	background-attachment: fixed; */
}

.no-svg #hero .logo_container {position: static;}
.no-svg #hero .logo {background:url('../img/assets/logo_big.png') no-repeat;} /* fallback for IE */

/* fallback solutions for browsers without background-size support*/
#hero #fallbackimage {
    position:fixed;
    top:0;
    left:0;
    min-width:100%;
    min-height: 100%;
}


/* PITCH BLOCK 
============================================= */
.home_content {
	background: #ffffff;
}

#tagline {
	padding-top: 1em;
	border-top: 1px solid #0093a7;
}

#missionStatement {
	margin-bottom: 2em;
}

#missionStatement h4 {
	text-align: center;
}

/* FEATURE BLOCK 
============================================= */
#feature {
	padding-bottom:4em;
}

#feature figure {
	width:100%;
}
#feature figure img {
	display:block;
	margin-left: auto;
	margin-right:auto;
}

#feature #graphic {
	width: 150px;
	height: 150px;
	display: block;
	margin-right:auto;
	margin-left: auto;
}

#feature #text {
	text-align: center;
	display: block;
}

#feature #text h4 {
	color: #00adc4;
	font-size: 1em;
	line-height: 1.2em;
	text-transform: uppercase;
	display:block;
	min-height: 2.5em;
	vertical-align: middle;
}

#feature #text p {
	color: #555555;
	font-size: 0.8em;
	text-align: center;

}

/* TEASER BLOCK 
============================================= */

#teaser {
/* 	padding-top: 40px; */
	padding-bottom:40px;
	border-bottom: 1px solid #dfdfdf;
	background: #f5f5f5;
}

#teaser .link {
	float: right;
	color: #00adc4;
}


/* SLIDESHOW BLOCK 
============================================= */

#slideshow {
	padding-top: 60px;
	padding-bottom:40px;
	border-top: 1px solid #dfdfdf;
	background: #f5f5f5;
}

.flexslider .slides img {
	min-width:1000px;
}

.flexslider:hover .flex-next {opacity: 0.8; right: 20px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 20px;}


/* MAP BLOCK 
============================================= */
	
.map {
	width: 100%;
	height: 420px;
	display: block;

}

.map .wrapper {
	display: block;
	height: 200px;
	margin-top: -310px;
}


#contact {
	border-bottom: 1px solid #b4b4b4;
	box-shadow: inset 0 4px 12px rgba(0,0,0,.1);
}

#map-canvas{
	height: 420px;
}

#details h2 {
	color: #f37916;
	text-align: left;

}

#details a {
	font-size:0.9em;
}

/* SPONSOR BLOCK 
============================================= */

#sponsors {
	padding-top:1em;
}
#sponsors span p {
	width: 100%;
	margin-bottom: 2em;
	text-align: center;
	color: #b4b4b4;
	font-size: 0.8em;
}

#sponsors .sponsor_container {
	padding-bottom: 4em;
}

#sponsors div a {
	content: attr(title);
	display: block;
	margin-left: auto;
	margin-right: auto;
	color: #b4b4b4;
	font-size: 0.8em;
	line-height: 1.6em;
	height:150px;
	text-shadow: none;
}

#sponsors div a:hover:after {
	content: attr(title);
	color: #b4b4b4;
	display: block;
	height: auto;
	text-align: center;
	padding-top: 100px;
	margin-left: -25px;
	width: 150px;
}

.sponsor {
	display: block;
	width: 100px;
	height:100px;
	margin-left: auto;
	margin-right: auto;
	background: url('../img/sprite.svg');
	background-repeat: no-repeat;
}

/* fallback solution */
.no-svg .sponsor_1 {background:url('../img/assets/sponsor_0.png') no-repeat;}
.no-svg .sponsor_1:hover {background:url('../img/assets/sponsor_0_hover.png') no-repeat;}
.no-svg .sponsor_2 {background:url('../img/assets/sponsor_1.png') no-repeat;}
.no-svg .sponsor_2:hover {background:url('../img/assets/sponsor_1_hover.png') no-repeat;}
.no-svg .sponsor_3 {background:url('../img/assets/sponsor_2.png') no-repeat;}
.no-svg .sponsor_3:hover {background:url('../img/assets/sponsor_2_hover.png') no-repeat;}

/* svg solution */
.sponsor_1 {background-position: -100px -290px;}
.sponsor_1:hover {background-position: 0 -290px;}
.sponsor_2 {background-position: -300px -290px;}
.sponsor_2:hover {background-position: -200px -290px;}
.sponsor_3 {background-position: -500px -290px;}
.sponsor_3:hover {background-position: -400px -290px;}	