/*
 * 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)
 */

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

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides { margin:0px!important; }
.flexslider .slides > li { position:relative; display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
#home-page .flexslider .slides > li p.text {
    bottom: 0;
    color: #210D04;
    font-size: 14px;
    right: 0;
    line-height: 18px;
    margin-bottom:0px;
    padding: 2%;
    position: absolute;
    text-align: center;
    overflow:hidden;
    width: 45%;  }
.flexslider .slides > li p.text { float:left; text-align:left; width:39%; }
.flexslider .slides > li a { color:#2C406F; text-decoration:underline; font-weight:bold; } 
#home-page .flexslider .slides img { width: 100%; display: block;}
.flexslider .slides {
    text-align:center;
}
.flexslider .slides img { float:none; margin:0; display: inline-block;}
.flexslider .slides h3 { clear:none!important; }
.flexslider .slides p { text-align:left; }
.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 */
#home-page .no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
#home-page .flexslider { margin: 0; background: #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 4px 1px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
#home-page .flex-viewport { margin:0px; max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
#home-page .loading .flex-viewport { margin:0px; max-height: 300px;}
#home-page .flexslider .slides {zoom: 1;}
.flex-viewport { margin:0; }

/* Direction Nav */
#home-page .flex-direction-nav {*height: 0;}
#home-page .flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
#home-page .flex-direction-nav .flex-next { background: url(images/right-arrow.png) no-repeat center center; right: 5px; }
#home-page .flex-direction-nav .flex-prev { background: url(images/left-arrow.png) no-repeat center center; left: 5px; }
#home-page .flexslider:hover .flex-next {opacity: 1.0; }
#home-page .flexslider:hover .flex-prev {opacity: 1.0; }
#home-page .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
#home-page .flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default; }
.flex-direction-nav li { position:relative; }
.flex-direction-nav a { width: 60px; height: 60px; display: block; margin:-30px 0 0 0; position: absolute; z-index: 10; cursor: pointer; text-indent: -9999px; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next { background: url(images/right-arrow.png) no-repeat center center; right: 20px; }
.flex-direction-nav .flex-prev { background: url(images/left-arrow.png) no-repeat center center; left: 20px; }

/* Control Nav */
#home-page .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
#home-page .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
#home-page .flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
#home-page .flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
#home-page .flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 20%;
  float: left;
  margin: 0;
  max-height:200px;
  overflow:hidden;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .5;
  cursor: pointer;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

@media screen and (max-width: 860px) {
  #home-page .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  #home-page .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}