/* 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, .flex-direction-nav li {margin: 0; padding: 0; list-style: none;}
ul.slides li {border:none; padding: 0; margin-bottom: 0; position: relative;}

/* FlexSlider Necessary Styles
*********************************/ 
html[xmlns] .slides {display: block;}
.flexslider {margin: 0; padding: 0; z-index: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {display: block;}

.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
* 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
*********************************/

.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;border: 0}

@media screen and (min-width:990px) {
.flexslider .slides li {text-align: center; position: relative;}
.flexslider {position: relative; zoom: 1; clear:both; overflow: hidden}
.flexslider .slides img { 
  display: block;
  max-width: 100%; height: auto; margin: 0 auto;
}

#homepage_slider .slides img {
    width: 100%;
}

.flex-caption {margin:0; text-align: left; width: 100%; left: 0; top: 0; padding: 12%; height: 100%; background: rgba(0, 0, 0, 0.3); border-radius: 3px; position: absolute; color: #fff; text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3);}
.flexslider .headline { font-size: 60px; font-family: 'Source Sans Pro'; margin-bottom: 20px; font-weight: bold; position: relative; }
.flexslider p.subtitle { font-size: 28px; margin-bottom: 30px; font-family: 'Source Sans Pro'; line-height: 1.5em; font-weight: normal; position: relative; }
.flex-caption .action_button {
  float: left;
  padding: 10px;
    padding-left: 15px;
    padding-right: 25px;
    border-left: 20px solid #f2030f;
    color: #FFF;
    font-size: 18px;
    background: #061874;
    font-family: 'Source Sans Pro';
    transition: all 0.2s ease; 
    -webkit-transition: all 0.2s ease;
  position: relative;
}
.flex-caption .action_button:hover {
  background-color: #000 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .6);
  
}
.flex-direction-nav {*height: 0;}
}
@media screen and (min-width:0px) and (max-width:989px) {
.flexslider {position: relative; zoom: 1; clear:both; overflow: hidden; }
.flexslider .slides li {text-align: center; position: relative; height: 250px;}
.flexslider .slides img { 
  display: inline;
  margin: 0 auto;
  position: relative;
  height: auto;
}

#homepage_slider .slides img {
    height: 100%;
    width: 100%;
}

.flex-caption {margin:0; text-align: left; z-index: 100; width: 100%; padding: 10%; left: 0; height: 100%; background: rgba(0, 0, 0, 0.3); position: absolute; top: 0; color: #fff; text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3);}
.flexslider .headline { font-size: 28px; font-family: 'Source Sans Pro'; margin-bottom: 15px; font-weight: bold; position: relative; }
.flexslider p.subtitle { font-size: 15px; margin-bottom: 15px; font-family: 'Source Sans Pro'; line-height: 1.3em; font-weight: normal; position: relative; }
.flex-caption .action_button {
  float: left;
  padding: 10px;
    padding-left: 15px;
    padding-right: 25px;
    border-left: 20px solid #f2030f;
    color: #FFF;
    font-size: 14px;
    background: #061874;
    font-family: 'Source Sans Pro';
    transition: all 0.2s ease; 
    -webkit-transition: all 0.2s ease;
  position: relative;
}
.flex-caption .action_button:hover {
  background-color: #000 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .6);
  
}
.flex-direction-nav {display: none;}
}

/* Direction Nav */

.flex-direction-nav a {width: 60px; height: 60px; margin: -20px 0 0; display: block; z-index: 10; background:url(arrow_sprite.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 0 -120px; right: -36px; }
.flex-direction-nav .flex-prev {background-position: 0 -60px; left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 15px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 15px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3 !important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {position: absolute; bottom: 30px; text-align:center; width: 100%; z-index: 10;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {
  width: 40px;
  display: block;
  opacity: 0.3;
  cursor: pointer;
  text-indent: -9999em;
  overflow: hidden;
  -webkit-border-radius: 1px; -moz-border-radius: 1px; -o-border-radius: 1px; border-radius: 1px; 
}
.flex-control-nav li a.flex-active {
  opacity: 0.8;
  cursor: default;
}

.flex-control-thumbs {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-thumbs li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}

.flex-control-thumbs {position: static; overflow: hidden;}
.flex-control-thumbs li, .flex-control-thumbs li:first-child {width: 16%; vertical-align: top; margin: 15px 5% 0 0;}
.flex-control-thumbs li:nth-child(5n) {margin: 15px 0 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;}
.product_slider .flex-active-slide a:hover {cursor: -webkit-zoom-in; cursor: -moz-zoom-in;}
.product_slider { margin-bottom: 2em }
.product_slider .slides img {
  width: auto !important;
}

