/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

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

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
  margin: -10px;
  padding: 0;
  }
.flexslider .slides > li {
  display: none;
  } /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
  max-width: 100%;
  display: block;
  }
.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 {
  background: none;
  margin: 15px 10px 10px 10px;
  position: relative;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  zoom: 1;
  }
.flexslider .slides {
  zoom: 1;}
.flexslider .slides > li {
  position: relative;
  }
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
  zoom: 1;
  position: relative;
  }

/* Caption style */
/* IE rgba() hack */
.flex-caption {
  width: 50%;
  max-height: 300px;
  padding: 2% 2%;
  position: absolute;
  left: 0;
  top: 30px;
  background: rgba(0,0,0,.6);
  background: -webkit-linear-gradient(left, rgba(0,0,0,.9), rgba(0,0,0,.0)); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, rgba(0,0,0,.9), rgba(0,0,0,.0)); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, rgba(0,0,0,.9), rgba(0,0,0,.0)); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.0)); /* Standard syntax */
  color: #ccc;
  text-shadow: 0 -1px 0 rgba(115,138,183,.9);
  font-size: 2.4em;
  line-height: 1.8em;
  font-family:  "Century Gothic", sans-serif;
  font-weight: lighter;
  font-style: italic;
  }

.flex-caption:empty {
  display: none;
}

/* Direction Nav */
.flex-direction-nav li a {
  width: 52px;
  height: 52px;
  margin: -13px 0 0;
  display: block;
  background: url(../images/bg_direction_nav.png) no-repeat 0 0;
  position: absolute;
  top: 50%;
  cursor: pointer;
  text-indent: -9999px;
  display: none;
  }
.flex-direction-nav li .next {
  background-position: -52px 0;
  xright: -21px;
  }
.flex-direction-nav li .prev {
  xleft: -20px;
  }
.flex-direction-nav li .disabled {
  opacity: .3;
  filter:alpha(opacity=30);
  cursor: default;
  }

/* Control Nav */
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -30px;
  text-align: center;
  }
.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: 13px;
  height: 13px;
  display: block;
  background: url(../images/bg_control_nav.png) no-repeat 0 0;
  cursor: pointer;
  text-indent: -9999px;
  }
.flex-control-nav li a:hover {
  background-position: 0 -13px;
  }
.flex-control-nav li a.active {
  background-position: 0 -26px;
  cursor: default;
  }


@media screen and (max-width: 1199px) {

.flex-caption {
    width: 55%;
    padding: 2% 2%;
    font-size: 2em;
    xline-height: 1.2em;
    position: absolute;
    left: 0;
    top: 20px;
}

}

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {

.flex-caption {
    width: 60%;
    padding: 2% 2%;
    font-size: 1.6em;
    xline-height: 1.2em;
    position: absolute;
    left: 0;
    top: 10px;
}

}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
.flex-caption {
    font-size: 1.2em;
    width: 70%;
    top: 5px;
}

}


	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {

.flex-caption {
    display: none;
}

}