/* ======= jQuery FlexSlider v2.2.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)
.featured-slider {
  position: relative;
}

.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
  outline: none; }

.slides,
.flex-control-nav,
.flex-direction-nav {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none; }

.flexslider {
  margin: 0;
  padding: 0; }

.flexslider .slides > li {
  display: none;
  background-position: center center;
  background-size: cover; 
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  position: relative;
}

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

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

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

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

* html .slides {
  height: 1%; }

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

.flexslider {
  position: relative;
  margin: 0;
  zoom: 1; }

.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; }

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

.flex-direction-nav a {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: none;
  overflow: hidden;
  margin: -20px 0 0;
  width: 40px;
  height: 40px;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  opacity: 0;
  cursor: pointer;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease; }

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
  opacity: 1; }

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

.flex-direction-nav a:before {
  display: inline-block;
  content: '\f001';
  font-size: 40px;
  font-family: "flexslider-icon"; }

.flex-direction-nav a.flex-next:before {
  content: '\f002'; }

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

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

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

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

.flex-control-nav {
  position: absolute;
  bottom: -40px;
  width: 100%;
  text-align: center; }

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

.flex-control-paging li a {
  display: block;
  width: 11px;
  height: 11px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background: #666;
  background: rgba(255, 255, 255, 1);
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  text-indent: -9999px;
  cursor: pointer;
  -o-border-radius: 20px;
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); }

.flex-control-paging li a:hover {
  background: $brand-secondary;}

.flex-control-paging li a.flex-active {
  background: $brand-secondary;
  cursor: default; }

.flex-control-thumbs {
  position: static;
  overflow: hidden;
  margin: 5px 0 0; }

.flex-control-thumbs li {
  float: left;
  margin: 0;
  width: 25%; }

.flex-control-thumbs img {
  display: block;
  width: 100%;
  opacity: .7;
  cursor: pointer; }

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

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

  .featured-slider .slides {
    li {
      background-repeat: no-repeat;
      background-size: cover;
      overflow: hidden;
    }
  }

  .flex-caption {
    
    h2 {
      font-weight: 700;
      margin: 0;
      font-size: 48px;
    }
    p {
      margin-bottom: 20px;
    }
  }

.service-flexslider {
  .flex-control-thumbs {
    border-top: 5px solid $main-color;
    margin-top: 0;
  }
  .slides li {
    height: 500px !important;
    overflow: hidden;
    background: #000;
    img {
      width: 100%;
    }
  }
}
  