/*
 * 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)
 */
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* 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: table !important; -webkit-backface-visibility: hidden;list-style: none;background: none;padding: 0;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;cursor: pointer;}
.flex-pauseplay span {text-transform: capitalize;}

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


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 0px; background: #fff;  position: relative;         zoom: 1;}
.flex-viewport {width:100%;min-height: 500px;max-height: 600px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;padding: 0;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav li {
  list-style:none;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  position: absolute;
  top: 40%;
  z-index: 10;
  overflow: visible;
  opacity: 0;
  cursor: pointer;
  color: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#interior .sub .flex-direction-nav a {top: 35%;}
#interior .sub .flex-direction-nav a:before {
    height: 4em;
}
.flex-direction-nav a:before {
  background-size: contain !important;
  display: inline-block;
  height: 4em;
  width: 3em;
  content: '';
}
.flex-direction-nav a.flex-next:before {
  background: url(img/arrow-right.png) center center no-repeat;
}
.flex-direction-nav a.flex-prev:before {
  background: url(img/arrow-left.png) center center no-repeat;
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 1;
  left: 25px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 1;
  right: 25px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}

/* Control Nav */
#article-content .flex-control-nav {display: none}
.flex-control-nav {width: 100%; position: absolute; bottom: 0rem;left: 0;z-index: 990;text-align: center;}
.flex-control-nav li {margin: 0 .5em; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:last-child {}
.flex-control-paging li a {width: .75rem; height: .75rem; display: block; border: 2px solid rgba(255,255,255,1); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; background: #fff; }
.flex-control-paging li a:hover { background: #f00; background: rgba(255,0,0,0.7); border-color: #f00; }
.flex-control-paging li a.flex-active { background: #F00; background: rgba(255,0,0,1); border-color: #f00; cursor: default; }
.contentContainer .flex-control-nav { bottom: -2em;}
.contentContainer .flex-control-paging li a {width: .75rem; height: .75rem; display: block; border: 2px solid #f00; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; }
.contentContainer .flex-control-paging li a:hover { background: #f00; background: rgba(255,0,0,0.7); }
.contentContainer .flex-control-paging li a.flex-active { background: #F00; cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 12%; float: none; margin: 1%;height: 4em;overflow: hidden;}
.flex-control-thumbs img {width: 120%; height: 70%;margin: -10%;display: block; opacity: .7; cursor: pointer;display: block;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 767px) {
  .flex-control-thumbs img {
    height: 33%;
}
  .flex-direction-nav .flex-prev {display: none; left: 0;}
  .flex-direction-nav .flex-next {display: none; right: 0;}
}
