/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* 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 auto; padding: 0; max-width:980px; }
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block; height:auto; width:100%;}

.flex-pauseplay span {text-transform: capitalize;}

/* Overide flexslider width based on portfolio size
********************************/
.half {
	width: 65.9574%;
	float: left;
}
.half_desc {
	width: 30%;
	float:right;
	padding:0px 10px 5px 10px;
	
}
.full {
	width: 100%;
}
.full_desc {
	margin-bottom:0px;
}
.no-margin{
	margin-bottom:0px; padding-bottom:0px;
}

/* 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 {background: #fff; border: 4px solid #fff; 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;}

.add_margin{
	margin-bottom:20px;
}

.mini{
	max-width:220px;
	border-color:#F7F7F7;
}

/* 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 { padding: 10px; margin: 0; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.8); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;border-top-right-radius: 5px;}

/* Direction Nav */
/* Direction Nav */
.flex-direction-nav {height: 0;}
.flex-direction-nav a {
	width: 30px; 
	height: 30px; 
	margin: -20px 0 0; 
	display: block; 
	background-color:rgba(0, 0, 0, 0.5); 
	background-repeat:no-repeat; 
	position: absolute; 
	top: 50%; 
	cursor: pointer; 
	text-indent: -9999px; 
	opacity: 0; 
	-webkit-transition: all .3s ease;
	-moz-transition:all .3s ease;
	-o-transition:all .3s ease;
	-ms-transition:all .3s ease;
	transition:all .3s ease;

	}
.flex-direction-nav .next {
	background-image: url(../images/arrow-bullet.png);
	background-position: center center;
	right: 60px;
}
.flex-direction-nav .prev {
	background-image: url(../images/arrow-bullet.png);
	background-position: center center;
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg); 
    -o-transform:rotate(180deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
	left: 50px;
}
.flexslider:hover .next {opacity: 0.8; right: 20px;}
.flexslider:hover .prev {opacity: 0.8; left: 20px;}
.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 {position: absolute; bottom: 5px; right:20px; }
.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: 12px; height: 12px; display: block; background: url(theme/bg_control_nav3.png) no-repeat; cursor: pointer; text-indent: -999em;}
.flex-control-nav li a:hover {background-position: -12px 0px;}
.flex-control-nav li a.active {background-position: -12px 0px; cursor: default;}
@media screen and (max-width: 1000px) {
	.flex-direction-nav a {
		opacity: 1;
		filter: alpha(opacity=1);
	}
	.flexslider .next {
		right:20px;
	}
	.flexslider .prev {
		left:20px;
	}
}

@media screen and (max-width: 830px) {
	.half {
		width:99%; float:none;
	}
	.half_desc {
		width:99%; float:none;
	}
	.flexslider .slides img {width: 100%; }
}