/*
 * jQuery FlexSlider v2.6.3
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover, .flex-slider a:hover {
  outline: none;
}

.slides, .slides > li, .flex-control-nav, .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
  width: 100%;
  display: block;
}

.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html[xmlns] .flexslider .slides {
  display: block;
}

* html .flexslider .slides {
  height: 1%;
}

.no-js .flexslider .slides > li:first-child {
  display: block;
}

/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  position: relative;
  margin: 0 auto;
  zoom: 1;
}

.flexslider .slides {
  position: relative;
  overflow: hidden;
  zoom: 1;
}

.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}

.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.loading .flex-viewport {
  max-height: 300px;
}

.carousel li {
  margin-right: 5px;
}

.flex-direction-nav {
  *height: 0;
}

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 50px;
  margin-top: -25px;
  z-index: 100;
  overflow: hidden;
  text-indent: -9999px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.flex-direction-nav .flex-prev {
  left: 0;
  background: url(../img/common/btn-slider-prev.png) no-repeat;
  background-size: 100%;
}

.flex-direction-nav .flex-prev:hover {
  opacity: .7;
}

.flex-direction-nav .flex-next {
  right: 0;
  background: url(../img/common/btn-slider-next.png) no-repeat;
  background-size: 100%;
}

.flex-direction-nav .flex-next:hover {
  opacity: .7;
}

.flex-direction-nav .flex-disabled {
  opacity: 0 !important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}

.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}

.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}

.flex-pauseplay a:hover {
  opacity: 1;
}

.flex-pauseplay a.flex-play:before {
  content: '\f003';
}

.flex-control-nav {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  margin: 0 auto;
  line-height: 1;
  z-index: 100;
  text-align: center;
}

.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  vertical-align: middle;
  *display: inline;
}

.flex-control-paging li {
  margin: 0 6px;
}

.flex-control-paging li a {
  width: 16px;
  height: 16px;
  display: block;
  background: #68B82E;
  box-sizing: border-box;
  border-radius: 50%;
  cursor: pointer;
  text-indent: -9999px;
  opacity: .6;
}

.flex-control-paging li a.flex-active {
  cursor: default;
  opacity: 1;
}

.flex-control-paging li a:hover {
  opacity: 1;
}

.flex-control-thumbs {
  position: static;
  max-width: 1040px;
  margin: 20px auto 0;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  font-size: 0;
}

.flex-control-thumbs li {
  position: relative;
  display: inline-block;
  width: 140px;
  cursor: pointer;
  overflow: hidden;
  margin: 0 20px;
  opacity: .5;
  transition: all ease-in-out .4s;
}

.flex-control-thumbs img {
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  -moz-user-select: none;
}

.flex-control-thumbs li:hover {
  opacity: 1;
}

.flex-control-thumbs .flex-active {
  opacity: 1;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 768px) {
  .flex-control-nav {
    bottom: -30px;
  }

  .flex-direction-nav a {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  .flex-control-paging li {
    margin: 0 3px 6px;
  }

  .flex-control-thumbs {
    position: static;
    width: 100%;
    left: 0;
    margin: 10px auto 0;
    text-align: center;
  }

  .thumb-right .flex-control-thumbs {
    text-align: center;
  }

  .flex-control-thumbs li {
    width: 18%;
    margin: 0 1% 10px;
  }
}
