/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* Browser Resets */
.flex-container a:active,
.flexbaner a:active {outline: none;}
.baners,
.flex-control-nav,
flex-direction-nav-baner {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexbaner {width: 100%; margin: 0; padding: 0;}
.flexbaner .baners > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexbaner .baners img {max-width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .baners element */
.baners:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .baners {display: block;} 
* html .baners {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .baners > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexbaner {
	background: #888888;
	position: relative;
	zoom: 1;
	
	-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,.5); 
	-moz-box-shadow: 0px 0px 4px rgba(0,0,0,.5); 
	box-shadow: 0px 0px 4px rgba(0,0,0,.5); 
}

.home-slider {
	margin-top: -38px;
}

.flexbaner .baners {zoom: 1;}
.flexbaner .baners > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {
	background:none; 
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); 
	zoom: 1;
}

.flex-caption {
	width: 50%; 
	padding: 2%; 
	position: absolute; 
	left: 10px; 
	bottom: 10px; 
	background: rgba(0,62,131,.8); 
	color: #fff; 
	text-shadow: 0 -1px 0 rgba(0,0,0,.3); 
	font-size: 14px; 
	line-height: 18px;
}

/* Direction Nav */
flex-direction-nav-baner li a {
	width: 34px; 
	height: 37px; 
	margin: -13px 0 0; 
	display: none; 
	/*background: url(../img/slider-nav.png) no-repeat 0 0;*/
	position: absolute; 
	top: 50%; 
	cursor: pointer; 
	text-indent: -9999px;
}


flex-direction-nav-baner li .next {
	background-position: 0px -40px; 
	right: -18px;
}

flex-direction-nav-baner li .prev {
	left: -18px;
}

flex-direction-nav-baner li .next:hover {
	background-position: -34px -40px;
}

flex-direction-nav-baner li .prev:hover {
	background-position: -34px 0px;
}

flex-direction-nav-baner li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {
	width: 100%; 
	position: absolute; 
	bottom: -30px; 
	text-align: center;
}

.flex-control-nav li {
	margin: 0 0 0 5px; 
	display: inline-block; 
	zoom: 1; 
	*display: inline;
}

.flex-control-nav li:first-child {margin: 0;}

.flex-control-nav li a {
	width: 10px;
	height: 10px;
	border-radius: 6px;
	display: block; 
	background: #eaeaea; 
	cursor: pointer;
	overflow: hidden; 
	text-indent: 9999px;
	border: 1px solid #ccc;
	
	-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,.2); 
	-moz-box-shadow: 0px 0px 4px rgba(0,0,0,.2); 
	box-shadow: 0px 0px 2px rgba(0,0,0,.2); 
}

.flex-control-nav li a:hover { border: 1px solid #bebebe; }

.flex-control-nav li a.active {background: #003e83;}

/* shadow */

.shadow-slider{
	height: 11px;
	background: url(../img/shadow-main.png) no-repeat top center;
	margin-bottom: 70px;
}


/* Project slider*/

.project-slider{
	margin-left: 24px;
	margin-right: 24px;
	margin-bottom: 60px;
	position: relative;
}


.project-slider flex-direction-nav-baner{
	display: none;
}

.project-slider .flex-control-nav{
	left: 0px;
	right: auto;
	bottom: -30px;
	text-align: left;
}
