.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; z-index:2;}
.flexslider {margin:0px; padding:0px;}
.flexslider .slides > li {-webkit-backface-visibility: hidden; list-style:none;}
.flexslider .slides img {width: 100%; display: block; height:440px; max-height:100%;}
.flex-pauseplay span {text-transform: capitalize;}

.inner_page_gallery .main_gallery .slides img {width: 100%; display: block; height:100%; max-height:100%; min-height:242px;}
.inner_page_gallery .main_gallery .slides img.loading {	width: 32px !important; min-height: 32px; height:32px; position: absolute; left: 50%;	top:50%;}


.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin:0; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {position: absolute;/* width: 100%; top:0; right: 0px; left:0px; display:none;*/}
.flex-direction-nav a  { display: block; width: 40px; height: 40px; margin:0; z-index: 10; overflow: hidden; cursor: pointer; }
.flex-direction-nav .flex-prev{ width:58px; height:57px; float:left; background:url(/images/slidearow.png) no-repeat left top;}
.flex-direction-nav .flex-next{width:58px; height:57px; float:right; background:url(/images/slidearow.png) no-repeat right top;}
.flexslider .flex-prev:hover{background:url(/images/slidearow.png) no-repeat left bottom; }
.flexslider .flex-next:hover{background:url(/images/slidearow.png) no-repeat right bottom; }
.flex-direction-nav .flex-disabled{opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before { font-family: "flexslider-icon"; display: inline-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.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {position: absolute; bottom:10px; text-align: center; left: 50px; }
.flex-control-nav li {margin: 0 3px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width:16px; height:16px; display: block; background:url(/images/bullet.png) no-repeat; cursor: pointer; text-indent: -9999px;}
.flex-control-paging li a.flex-active{ background:url(/images/bullet-active.png) no-repeat;}
.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;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}