*, *: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: 550px;
    width: 100%;
}

.overlay
{
	width: 100%;
	height: 100%;
	display: block;
	float: left;
	z-index: 50;
	top: 0px;
	background-color: rgba(0, 0, 0, 0.4);
	position: absolute;
}

.sliderbox
{
	position: absolute;
	z-index: 999;
	width: 100%;
	max-width: 1140px;
	top: 130px;
	left:0;
    right:0;
    margin-left:auto;
	margin-right:auto;
}

.sliderbox h1 {
	color: #ffffff;
	font-weight: 700;
}

.sliderbox p {
	color: #ffffff;
	width: 100%;
	max-width: 450px;
}

.sliderbox a {
	background: #eb5d0b;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 14px;
	padding: 10px 25px;
	display: inline-block;
}

.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: 40px;
	content: "\f100";
}
.flex-next:after
{
	right: 40px;
	content: "\f101";
}

.flex-prev:after,
.flex-next:after
{
	font-size: 18px;
	text-align: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.5);
	line-height: 40px;
	font-family: 'FontAwesome';
	position: absolute;
	color: #000000;
	-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: #eb5d0b;
	background-color: rgba(255, 255, 255, 0.8);
} 

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


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