*, *:before, *:after 
{
    box-sizing: border-box;
}
 
.hero-slider
{
    position: relative;
	z-index: 990;
}
 
.hero-slider .slides
{
    list-style: none;
    padding: 0;
    margin: 0;
    *zoom: 1;
}
 
.hero-slider .slides:after
{
    content: " ";
    clear: both;
    display: block;
    overflow: hidden;
    height: 0;
}
 
.hero-slider .slides li 
{
	background-position: no-repaet center center fixed;
	-webkit-background-size: cover;
 	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover; 
	height: 600px;
    width: 100%;
	z-index: 990;
}
 
.overlay
{
	width: 100%;
	height: 100%;
	display: block;
	float: left;	
	z-index: 990;
	top: 0px;
	background-color: rgba(0, 0, 0, 0.7);
	position: absolute;
}
 
.sliderbox
{
	position: absolute;
	z-index: 999;
	width: 100%;
	max-width: 1170px;
	top: 180px;
	left:0;
    right:0;
    margin-left:auto;
	margin-right:auto;
}

.sliderbox h1
{
	color: #ffffff;
	text-transform: uppercase;
	font-size: 30px;
	font-weight: 600;
	margin: 0px;	
}

.sliderbox h2
{
	color: #ffffff;
	text-transform: uppercase;	
	font-size: 20px;
	margin: 0px;
	padding-bottom: 20px;
}

.sliderbox p
{
	color: #ffffff;	
}

.hero-slider .flex-control-paging li {display: inline-block; text-align: center;}
.hero-slider .flex-control-paging li a{background-color: #ffffff; width: 20px; height: 20px; float: left; margin: 4px; text-indent: -999px; overflow: hidden; cursor: pointer;}
.hero-slider .flex-control-paging li  a.flex-active{background: #00a6cd;}

.flex-direction-nav 
{
	position: absolute;
	width: 100%;
	top: 250px;
	left:0;
	right:0;
	z-index: 99999;
	list-style-type: none;
	margin-left:auto;
	margin-right:auto;
	display: inline-block;
}

.flex-prev{position: absolute; width: 40px; height: 40px; left: 0px; z-index: 9; font-size: 0px;}
.flex-next{position: absolute; width: 40px; height: 40px; right: 0px; z-index: 9; font-size: 0px;}

.flex-prev:after
{
	left: 0px;
	color: #ffffff;
	content: "\f100";
}
.flex-next:after
{
	right: 0px;
	color: #ffffff;
	content: "\f101";
}

.flex-prev:after,
.flex-next:after
{
	font-size: 20px !important;
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	background-color: rgba(0, 0, 0, 0.7);
	line-height: 60px;
	font-family: 'FontAwesome';
	position: absolute;
	color: #ffffff;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s  ease-in-out;
	-o-transition: all 0.2s  ease-in-out;
	transition: all 0.2s  ease-in-out;
}

.flex-prev:hover:after,
.flex-next:hover:after
{
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.8);
} 

.hero-slider .flex-control-paging
{
	display: none;
}


@media screen and (max-width: 990px){
	.hero-slider .slides li {height: 400px;}
	.sliderbox {top: 50px; text-align: center; padding-left: 20px; padding-right: 20px;}
	.sliderbox h3 {font-size: 25px; text-align: center;}
	.flex-next {display: none;}
	.flex-prev {display: none;}
	.hero-slider .slides li {background-position: center;}
    .hero-slider .flex-control-paging li {margin: 0px;}
	.sliderbox h1 {font-size: 28px;}
	.sliderbox p {font-size: 12px;}
}