/* Browser Resets
*********************************/
.flex-container a:active,
.flexsliderMain a:active,
.flex-container a:focus,
.flexsliderMain a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/

/* FlexSlider Necessary Styles
*********************************/
.flexsliderMain { margin: 0; padding: 0;}
.flexsliderMain .slides > li {display: none; -webkit-backface-visibility: hidden;}
.flexsliderMain .slides img { display: block; }
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
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
*********************************/
.flexsliderMain { margin: 0 0 0 0; position: relative; }
.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; }
.flexsliderMain .slides { zoom: 1; }
.carousel li { margin-right: 0px; }

/* Direction Nav */
.flex-direction-nav a  { display: block; width: 34px; height: 34px; margin: -20px 0 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0;  }
.flex-direction-nav .flex-prev { left: -50px; position: absolute; height: 35px; background: url("../img/arrows2.png") no-repeat left top; }
.flex-direction-nav .flex-next { right: -50px; position: absolute; height: 35px; background: url("../img/arrows2.png") no-repeat left bottom; }
.flexsliderMain:hover .flex-prev { opacity: 0.7; left: 0; }
.flexsliderMain:hover .flex-next { opacity: 0.7; right: 0px; }
.flexsliderMain:hover .flex-next:hover {  background: url("../img/arrows.png") no-repeat left bottom; }
.flexsliderMain:hover .flex-prev:hover {  background: url("../img/arrows.png") no-repeat left top; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }



/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; top:102%; text-align: center;}
.flex-control-nav li {margin: 0 0px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #999;
  box-shadow: 0px 1px 2px #555 inset;
  margin: 0 3px;
  cursor: pointer;
  text-indent: -9999px;
  behavior: url("border-radius.htc");/* IE6 7 8 */ }
.flex-control-paging li a:hover {   background: #fff; }
.flex-control-paging li a.flex-active {   background: #efefef; }


@media screen and (max-width: 640px) {
  .flex-direction-nav .flex-prev { display:none; opacity: 1; left: 0px;}
  .flex-direction-nav .flex-next { display:none; opacity: 1; right: 0px;}
}