/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

/**
 * 	Slider Background
 */
#slider {
	margin-top: -1px;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

.flexslider ul il {
	-webkit-box-shadow: inset  0px 0px 3px rgba(80, 80, 80, 0.1);
	box-shadow:  inset  0px 0px 3px rgba(80, 80, 80, 0.1);
}
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
.slides li {margin: 0;}

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

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {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 .slides > li:first-child {display: block;}


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

.slider_description {
	margin-top: 65px;
	font-size: 14px;
	color:#777;
}

.slider_description h2 {margin-bottom: 20px;}
.slider_description p {margin-bottom: 28px;}


/* Direction Navigation
==========================*/
.flex-direction-nav a {
	width: 40px;
	height:70px;
	margin: -36px 0 0;
	display: block;
	background-color: #555;
	position: absolute;
	top: 50%;
	cursor: pointer;
	text-indent: -9999px;
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.flex-direction-nav a:hover {background-color: #2da0ce;}

.flex-direction-nav .flex-next {
	right: 0px;
	background-image: url(../images/bg_direction_nav_right.png);
	background-repeat: no-repeat;
	background-position: 53% 50%;
	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
	position: absolute;
}

.flex-direction-nav .flex-prev {
	left: 0px;
	background-image: url(../images/bg_direction_nav_left.png);
	background-repeat: no-repeat;
	background-position: 47% 50%;
	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius:  0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	position: absolute;
}

.flexslider:hover .flex-next {opacity: 0.7; right: 0;}
.flexslider:hover .flex-prev {opacity: 0.7; left: 0;}
.flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

@media only screen and (min-width: 960px) {
	.flex-direction-nav .flex-next { right: -40px; *right:0;}
	.flex-direction-nav .flex-prev { left: -40px; *left: 0;}
}

/**
 * Project Slider	
 */
.post .flexslider, .project .flexslider{ height: auto; }
.post .flex-direction-nav li a, .project .flex-direction-nav li a {
	width: 30px;
	height:50px;
	display: block;
	background-color: #555;
	position: absolute;
	margin: -25px 0 0 0;
	top: 48%;
	cursor: pointer;
	text-indent: -9999px;
	opacity: 0.4;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	z-index: 500;
}

.post .flex-direction-nav .flex-next, .project .flex-direction-nav .flex-next { right: 0; }
.post .flex-direction-nav .flex-prev, .project .flex-direction-nav .flex-prev { left: 0; }
.post .flex-direction-nav a:hover, .project .flex-direction-nav a:hover { background-color: #229922;}


/* Control Navigation
==========================*/
.flex-control-nav {
	width: 100%; 
	text-align: center; 
	margin-top: 20px; 
	position: absolute; 
	z-index: 99;
}
.flex-control-nav li {margin: 0 0 0 3px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 14px; height: 14px; display: block; background: url(../images/slider_nav.png) no-repeat; cursor: pointer; text-indent: -999em;}
.flex-control-nav li a:hover {background-position: 0 -0px;}
.flex-control-nav li a.active {background-position: 0 -14px; cursor: default;}

.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

/* Background Image Styles
==========================*/
.custom-slide  {
	height: 345px;
	background-position: center !important;
	-webkit-box-shadow: inset  0px 0px 3px rgba(50, 50, 50, 0.1);
	box-shadow:  inset  0px 0px 3px rgba(50, 50, 50, 0.1);
}

