
#hero {
	background-color: #000;
	height: 700px;
	width: 100%;
	position: relative;
}

#hero-slider {
	position: relative;
}
#hero-slider .slides {
	width: 100%;
	margin: 0 auto;
}
#hero-slider .slides li {
	height: 700px;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
#hero-slider .slides .flex-caption {
	width: 50%;
	max-width: 1024px;
	margin: 0;
	text-align: left;
	position: relative;
	top: 0;
    height: 100%;
    padding: 0 50px;
    background-image: url(../images/block.svg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
#hero-slider .slides .flex-caption img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}
#hero-slider .slides .flex-caption h2 {
	font-size: 5rem;
	line-height: 1;
	color: #FFF;
	position: relative;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	font-weight: 400;
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
}
#hero-slider .slides .flex-caption h3 {
	font-size: 3rem;
	font-weight: 400;
	color: #FFF;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	margin-top: 24px;
    margin-bottom: 30px;
	filter: alpha(opacity=0);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	zoom: 1;
}

/* BUTTONS
--------------------------------------------------*/
a.btn-hero-slider {
	background: #C79F00;
	color: #FFF;
	line-height: 2;
	clear: both;
	width: 120px;
	display: block;
	font-size: 1.5rem;
	text-shadow: none;
	border-radius: 5px;
	font-weight: 700;
	margin: 30px auto 0 auto;
}
a.btn-hero-slider:hover {
	background: #152F63;
	color: #FFF;
	-moz-transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
	transition: ease-in-out 0.5s;
}

/* for oldIE - IE9 
--------------------------------------------------*/
.oldie #hero-slider .slides .flex-caption h2 {
	filter: alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	zoom: 1;
}
.oldie #hero-slider .slides .flex-caption h3 {
	filter: alpha(opacity=100);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	zoom: 1;
}

@media only screen and (max-width:1024px) {
	#hero-slider {
		min-height: auto;
	}
	#hero-slider .slides li {
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		background-position: center top;
		background-attachment: inherit;
	}
	#hero-slider .slides .flex-caption {
        width: 70%;
        background-image: none;
	}
}

@media only screen and (max-width:768px) {
    #hero {
        height: 500px;
    }
    #hero-slider {
		min-height: auto;
	}
	#hero-slider .slides li {
        height: 500px;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		background-position: center top;
		background-attachment: inherit;
	}
	#hero-slider .slides .flex-caption {
		top: 0;
        height: 500px;
        background-image: none;
        padding: 30px;
	}
	#hero-slider .slides .flex-caption h2 {
		font-size: 3rem;
	}
	#hero-slider .slides .flex-caption h3 {
		font-size: 1.8rem;
	}
}

@media only screen and (max-width:480px) {
	#hero-slider {
		min-height: auto;
	}
	#hero-slider .slides .flex-caption {
		height: 500px;
		width: 90%;
        padding: 20px;
	}
    #hero-slider .slides .flex-caption img {
        width: 140px;
        height: auto;
        margin-bottom: 20px;
    }
	#hero-slider .slides .flex-caption h2 {
		font-size: 2rem;
        margin-bottom: 10px;
	}
	#hero-slider .slides .flex-caption h3 {
		font-size: 1.4rem;
        margin-bottom: 20px;
	}
}

/* NAV CONTROL 
--------------------------------------------------*/

#hero .flex-control-nav {
	width: 100%;
	display: block;
	position: absolute;
	bottom: 30px;
	z-index: 90;
	text-align: center;
}
#hero .flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
}
#hero .flex-direction-nav {
	text-align: left;
	display: inline-block;
	position: relative;
	bottom: 0;
	left: 30px;
	z-index: 500;
	background: #FFF;
	width: 100px;
	float: left;
}
#hero .flex-direction-nav a {
	color: #000;
}
#hero .flex-control-paging li a {
	width: 15px;
	height: 15px;
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	border-radius: 50%;
	background: #FFFFFF;
}
#hero .flex-control-paging li a:hover {
	background: #c8c8c8;
}
#hero .flex-control-paging li a.flex-active {
	background: #DF6B2A;
	cursor: default;
}