/*
 * jQuery FlexSlider v2.2.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: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {
	display: block;
	position: relative;
	margin: 0 auto;
}
* 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;}


/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }


/* Control Nav Customed */

.flex-control-nav {
	width:600px;
}

.flex-control-nav li {
	float:left;
	margin-right:5px;
	margin-top:5px;
}

.flex-control-nav li a {
	background:#C8C8C8;
    cursor: pointer;
    display: block;
    height: 4px;
    width: 30px;
    text-indent: -999em;
}
.flex-control-nav li a:hover {
	background: #FF0004;
    cursor: pointer;
    display: block;
    height: 4px;
    width: 30px;
    text-indent: -999em;
}

.flex-control-nav li a.flex-active {
	background: #FF0004;
    cursor: pointer;
    display: block;
    height: 4px;
    width: 30px;
    text-indent: -999em;
}

.flex-control-nav:before,
.flex-control-nav:after {
    content: " ";
    display: table;
}

.flex-control-nav:after {
    clear: both;
}

.flex-control-nav {
    *zoom: 1;
}






.photo{
	position: relative;
	margin-bottom:15px;
}

.flex-direction-nav .flex-prev span,
.flex-direction-nav .flex-next span {
	display:none;
}

.flex-direction-nav{
	position: absolute;
	right:0;
	top:50%;
	width:100%;
    transform: translate(0,-50%);
}

.flex-direction-nav .flex-prev {
	float:left;
	display:block;
	background: url(../img/works_prev.png) 0 0 no-repeat;
	width:34px;
	height:58px;
	z-index:2000;	
	opacity:1;
}

.flex-direction-nav .flex-prev:hover {
	opacity:0.6;
}

.flex-direction-nav .flex-next{
	float:right;
	margin-left:1px;
	display:block;
	background: url(../img/works_next.png) 0 0 no-repeat;
	width:34px;
	height:58px;
	z-index:2000;
	opacity:1;
}

.flex-direction-nav .flex-next:hover {
	opacity:0.6;
}

