/*
 * jQuery FlexSlider v2.6.2
 * 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
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icond41d.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;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}

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

.content {
    float: left;
    
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.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;
}
.flexslider .slides {
  zoom: 1;
}
.featured-slider .slides li:before {
    background: rgba(0, 0, 0, 0.1);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 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-nav-prev, .flex-nav-next {
    left: 0;
    list-style: outside none none;
    position: absolute;
    top: 50%;
    z-index: 2;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.flex-nav-next {
    left: auto !important;
    right: 1px;
}
.flex-direction-nav a {
	text-decoration: none;
	width: 50px;
	height: 50px;
	border: 1px solid #fff;
	margin: 0 0 2px;
	display: block;
	overflow: hidden;
	opacity: 0;
	cursor: pointer;
	-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;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-style: normal;
    font-weight: normal;
    speak: none;
    width: 50px;
      text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 32px;
    font-size: 30px;
  display: inline-block;
   color: #fff;
   padding: 9px;
}
/*
*/
.flexslider:hover .flex-next {
    opacity: 0.8;
}
.flex-direction-nav .flex-next:before {
    content: '\f002';
}
.flexslider:hover .flex-prev {
    opacity: 0.8;
}
.flex-direction-nav .flex-prev:before {
    content: '\f001';
}
.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
    opacity: 1;
}
/*.flex-direction-nav .flex-next {
        right: 5px;
        opacity: 0.8;
    }
    .flex-direction-nav .flex-prev {
        left: 5px;
        opacity: 0.8;
    }*/

.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;
    top: 10px;
    left: 10px;
    text-align: center;
    height: 13px;
    z-index: 99999;
    display: none;
}
.flex-control-nav li {
  margin: 0;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  display: block;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    margin-right: 2px;
    width: 8px;
    background: #999;
    height: 8px;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.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: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -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;
}

.slider-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 800px;
    max-width: 80%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.slider-caption p {
	color: rgb(255, 255, 255);
	font-size: 23px;
	line-height: 2;
}
.slider-caption h2,
.full-width .content .slider-caption h2 {
    color: #FFF;
    display: inline-block;
}
.slider-caption h2 {
    border-bottom: 2px solid rgb(255, 255, 255);
    margin-bottom: 30px;
    padding-bottom: 5px;
}
.slider-caption h2 a {
	color: #fff;
	text-transform: uppercase;
	font-weight: 500;
}
.slider-caption > a {
    border: 2px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    display: inline-block;
    font-size: 17px;
    padding: 10px 30px;
    transition: all 0.3s ease 0s;
    text-transform: uppercase;
}
.slider-caption > a:hover {
  background: #fff;
  color: #000;
}
.content .post-listing .flexslider {
    margin: 0 auto 5px;
}
.content .flexslider {
    width: 90%;
    height: 330px;
}
.content .slider-caption h2 a,
.content .slider-caption h2 {
    font-size: 22px;
    color: #FFF;
}

/*FLex slider on post page*/
.post-featured-image .flex-nav-prev, .post-featured-image .flex-nav-next {
    left: auto;
    right: 20px;
    top: 20px;
    transform: inherit;
}
.post-featured-image .flex-nav-prev {
  right: 55px;
}
.post-featured-image .flexslider a {
  display: block;
}
.post-featured-image .flexslider .flex-direction-nav a {
    height: 30px;
    width: 30px;
}
.post-featured-image .flexslider .flex-direction-nav a:before {
    font-size: 18px;
    height: 30px;
    padding: 0;
    width: 30px;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
  .flex-direction-nav a::before {
    font-size: 18px;
    padding: 0;
    width: 30px;
  }
  .flex-direction-nav a {
    width: 30px;
    height: 30px;
  }
}
@media screen and (max-width: 767px) {
  .slider-caption {
      background: rgb(51, 51, 51) none repeat scroll 0 0;
      max-width: inherit;
      padding: 15px 10px;
      position: static;
      top: 100%;
      transform: inherit;
      width: inherit;
  }
  
  .slider-caption h2 {
    margin-bottom: 15px;
  }
  .slider-caption h2 {
      font-size: 18px;
  }
  .slider-caption p {
    font-size: 13px;
  }
  .slider-caption > a {
    font-size: 15px;
  }
  .featured-slider .slides li::before {
    display: none;
  }
}
@media screen and (max-width: 767px) and (min-width: 480px) {
  .flex-nav-prev, .flex-nav-next {
      top: 22%;
      transform: inherit;
  }
}
@media screen and (max-width: 479px) {
  .slider-caption {
    display: none;
  }
}



/*Animation for slider caption*/

.flexslider li h1,
.flexslider li h2,
.flexslider li .slider-caption p,
.flexslider li .slider-caption a {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

.flexslider li.flex-active-slide .slider-caption h1,
.flexslider li.flex-active-slide .slider-caption h2,
.flexslider li.flex-active-slide .slider-caption p,
.flexslider li.flex-active-slide .slider-caption a {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.flexslider li.flex-active-slide .slider-caption h2 {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

.flexslider li.flex-active-slide .slider-caption .category p {
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}

.flexslider li.flex-active-slide .slider-caption .category span {
    -webkit-animation-delay: .8s;
    animation-delay: .8s;
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes fadeOutLeft {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}
