/*
 * jQuery FlexSlider v1.4
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider { width: 100% !important; margin: 0; padding: 0; float:left; }
.flexslider .slides li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display:block; margin-bottom:0;}


/* FlexSlider Default Theme
*********************************/
.flexslider { width:100%; position: relative; margin:0; padding:0;/* border:15px solid #d1d1d1;*/ }
.flexslider .slides{ margin:0;}
.flexslider .slides  li {position: relative; list-style:none; padding:0;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flexslider-container {position: relative;}


/* Caption style */
.flex-caption {width: 96%; padding: 2%; position: absolute; left: 0; bottom: 0; margin-bottom:0; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; line-height: 18px; font-weight:400;}

/* Direction Nav */
.flex-direction-nav{margin:0; padding:0; }
.flex-direction-nav li{ list-style:none;}
.flex-direction-nav li a {width: 20px; height: 20px; margin: -50px 0 0; display: block; position: absolute; top: 7px; right:0; cursor: pointer; text-indent: -9999px;} 
.flex-direction-nav li a.next { background: url(../images/wmnext.png) no-repeat center rgba(0,0,0,.8)}
.flex-direction-nav li a.prev {background: url(../images/wmprev.png) no-repeat center rgba(0,0,0,.8); right:21px;}

/* Control Nav */
.flex-control-nav {margin-left: -31px; position: relative; bottom: 0; top:20px; left: 50%; float:left;} /* set negative margin-left equal to half the width on the control-nav for perfect centering */
.flex-control-nav li {margin: 0 0 0 5px; float: left; list-style:none; }
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(../images/bg_control_nav.png) no-repeat 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}

.portfolio-single .flex-direction-nav li a { width: 20px; height: 20px; margin: -50px 0 0; display: block; position: absolute; top:20px; right:0; cursor: pointer; text-indent: -9999px;} 
.portfolio-single .flex-direction-nav li a.next { background: url(../images/wmnext.png) no-repeat center rgba(0,0,0,.8);}
.portfolio-single .flex-direction-nav li a.prev {background: url(../images/wmprev.png) no-repeat center rgba(0,0,0,.8); right:21px;}