/*
 * 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 */
.work .flex-container a:active,
.work .flexslider1 a:active,
.work .flex-container a:focus,
.work .flexslider1 a:focus  {outline: none;}
.work .slides,
.work .flex-control-nav,
.work .flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

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

/* Clearfix for the .slides element */
.work .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 */
.work .no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.work .flexslider1 {position: relative;}
.work .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.work .loading .flex-viewport {max-height: 300px;}
.work .flexslider1 .slides {zoom: 1;}

.work .carousel li {margin-right: 5px}


/* Direction Nav */
.work .flex-direction-nav {*height: 0;}
.work .flex-direction-nav a { display:none;}



/* Control Nav */
.work .flex-control-nav {width:auto; text-align: center; float:right; top:330px; right:200px; position:absolute;}
.work .flex-control-nav li {margin: 0 3px 0 3px; display: inline-block; zoom: 1; *display: inline;}
.work .flex-control-paging li a {width:13px; height: 13px; display: block; border:solid 1px #fff; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px;}
.work .flex-control-paging li a:hover {background:#fff; border:solid 1px #fff;}
.work .flex-control-paging li a.flex-active {background:#fff; border:solid 1px #fff;}

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


@media (min-width:767px) and (max-width:991px) {	
.work .flex-control-nav{ right:120px; top:268px;}

}
@media (min-width:992px) and (max-width:1199px) {	
.work .flex-control-nav{right:162px;}
}


@media (min-width: 320px) and (max-width: 767px) {	

.work .flex-control-nav {width:auto; text-align: center; float:left; bottom:0px; left:0px; top:0px !important; position: relative;}
.work .flex-control-nav{ top:400px; left:0px;} 
}