/*
 * jQuery FlexSlider v1.7
 * 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,
.work-slide, .flexslider a:active {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.work-slide {width: 100%; margin: 0 0 10px 0; padding: 0;}
.flexslider {width: 100%; margin: 0 0 10px 0; padding: 0;
}
.flexslider .slides > li,
.work-slide .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img,
.work-slide .slides img {max-width: 100%; display: block; margin: 0 auto;float: left;}
.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 Default Theme
*********************************/
.flexslider,
.work-slide {  position: relative;top: 0; width: 100%;margin-left: 0;}
.flexslider .slides, .work-slide .slides {zoom: 1;}
.flexslider .slides > li, .work-slide .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;}


/* 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: 96.5%; padding: 2%; position: absolute; left: 0; bottom: -100px; background: rgba(0,0,0,.7); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

.flex-direction-nav li a{
	width: 40px;
	height: 60px;
	text-indent: -9999px;
}

/* Direction Nav - Home SLider*/
.flex-direction-nav li a.next {
	top: 48%;
	right: -36px;
	right: -70px\9;
	z-index: 999;
	xbackground: #212121 url(../img/arrows_projects.png) no-repeat right 0;
	text-indent: -9999px;
	position: absolute;
}
.flex-direction-nav li a.prev {
	top: 48%;
	left: -36px;
	left: -70px\9;
	z-index: 999;
	xbackground: #212121 url(../img/arrows_projects.png) no-repeat left 0;
	text-indent: -9999px;
	position: absolute;
}

.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}
/*.flex-direction-nav li a.next:hover{background-position: right -60px;}
.flex-direction-nav li a.prev:hover{background-position: 0 -60px;}*/
 


/* Control Nav */
.flex-control-nav {width: auto; position: absolute; bottom: 40px; right: 102px;}
.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: 11px; height: 11px; display: block; background: none !important; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -11px;color: none; background: none;}
.flex-control-nav li a.active {background-position: 0 -22px; cursor: default;}


.flexslider a:hover img, a:focus img{ 
	-webkit-box-shadow: none !important; 
	-moz-box-shadow: none !important; 
	box-shadow: none !important; 
	background-color: none !important; 
}

.flexslider img:hover{ 
	-moz-border-radius: none !important; 
	-webkit-border-radius: none !important; 
	-o-border-radius: none !important; -ms-border-radius: none !important; 
	-khtml-border-radius: none !important; border-radius: none !important; 
	-moz-box-shadow: none !important; 
	-webkit-box-shadow: none !important; 
	-o-box-shadow: none !important; 
	box-shadow: none !important; 	
}


/*
 * 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)
 */

 
/* 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;} 

/* 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 Default Theme
*********************************/
.flexslider {margin: 0 0 15px; background: #fff; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;overflow: hidden;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {position: absolute; width: 100%; height: 100%; top: 0px;}
.flex-direction-nav a {width: 38px; height: 60px; margin: -20px 0 0; display: block; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 48%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .next {background-position: 100% 0; right: -36px;opacity: 0; }
.flex-direction-nav .prev {left: -36px; opacity: 0;}
.flexslider:hover .next {opacity: 1; right: 0px;}
.flexslider:hover .prev {opacity: 1; left: 0px;}
.flexslider:hover .next:hover, .flexslider:hover .prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3 !important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; }
.flex-control-nav li {list-style: none;
	float: left;
	width: 18px;
	height: 3px;
	margin-right: 4px;
	display: inline;}
.flex-control-nav li a {background: #ABABAB;
	text-indent: -9999px;
	position: relative;
	float: left;
	width: 18px;
	height: 3px;
	cursor: pointer;}
.flex-control-nav li a:hover { background: #565656; }
.flex-control-nav li a.active { background: #565656; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

.entry-content .caption-title{
	width: 100%;
	position: relative;
	float: left;
	font-size: 17px;
	padding: 8px 0 4px 0;
	font-family: Helvetica Neue, Arial;
	font-weight: bold;
	color: #fff;
}
.entry-content .flex-caption{
	background: rgba(33, 33, 33, 0.9);
	position: absolute;
	width: 100%;
	bottom: 0;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-ms-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	transition: all 0.4s linear;
	border: none !important;
	color: #ddd;
	font-size: 12px;
	line-height: 18px;
	font-family: Helvetica Neue, Arial;
	font-weight: bold;
	padding: 0 0 8px 10px;
}



@media screen and (max-width: 860px) {
  .flex-direction-nav .prev {opacity: 1; left: 0;}
  .flex-direction-nav .next {opacity: 1; right: 0;}
}