/*
 * 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
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.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;
}
.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;
  height: auto;
  -moz-user-select: none;
}
.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 {
  margin: 0 0 0 0;
  background: #fff;
  /*border: 4px solid #fff;*/
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
#carousel .slides {
  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;
}

#carousel.flexslider {
  margin: auto;
}

#carousel .flex-viewport {
  display: inline-block;
  margin: auto;
}

.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  /*margin-right: 5px;*/
}
.flex-direction-nav {
  *height: 0;
}

#slider .flex-direction-nav {
  display: none;
}

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 9; /*current product block is z-index 10 make sure under it*/
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -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: "FontAwesome";
  font-size: 50px;
  display: inline-block;
  content: '\f104';
  color: #1278A5;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

#carousel.flexslider .flex-direction-nav .flex-prev {
  left: 0 !important;
  display: none;
}

#carousel.flexslider .flex-direction-nav .flex-next {
  right: 0 !important;
  display: none;
}

.flex-direction-nav a.flex-next:before {
  content: '\f105';
}
.flex-direction-nav .flex-prev {
  left: -10px;
  text-align: left;
}
.flex-direction-nav .flex-next {
  right: -10px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 30px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.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';
}
#carousel .flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
#carousel.flexslider {
  padding-top: 10px;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.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-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);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.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%;
  max-width: 40px;
  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;
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
/*@media screen and (max-width: 860px) {*/
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 30px;
  }
/*}*/

#carousel ul.slides li  {
  border: 1px solid #e2e3de;
  padding: 5px;
  width: 40px!important;
  border-radius: 5px;
}

/* MODAL PRODUCT FLEXSLIDER 
**************************/

.flexslider2 { 
    margin: 0!important; padding: 0;  
    position: relative!important; 
    width: 100%;
    display: block;
    zoom: 1; z-index:2; 
    overflow: hidden;
    height: auto!important;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;    
}


.flexslider2 .slides {
    padding: 0!important;
    position: relative;
    width: 80%!important;
    float: left;
    overflow: hidden;
    display: block;
    margin: 0!important;
    height: auto!important;
}
.flexslider2 .slides > li { 
    position: relative;
    width: 100%!important;
    height: calc(100vh - 200px);
    display: block; -webkit-backface-visibility: hidden; 
    margin: 0; padding: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    /*background-size: contain;*/
    background-position: 50% center;

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

.flexslider2 .flex-direction-nav {width: 80%; margin:0 auto; left:0; top:25%; height: 0; position: absolute;}
.flexslider2 .flex-direction-nav a  {
    display: inline-block; 
    width: 50px;  height: auto; 
    margin: 0;
    padding: 10px; 
    position: absolute; 
    top: -25px;  
    z-index: 10; 
    overflow: hidden; 
    opacity: 1; 
    cursor: pointer; 
    color: #1278A5; 
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3); 
    -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease;
    border-radius:5px;
}

.flexslider2 .flex-direction-nav .flex-prev { left: -5px; float: left;-webkit-tap-highlight-color: rgba(255, 255, 255, 0);}
.flexslider2 .flex-direction-nav .flex-next { right: -5px; float: right;-webkit-tap-highlight-color: rgba(255, 255, 255, 0);}

.flexslider2 .flex-direction-nav a:before  { font-family: "FontAwesome"; font-size: 50px; display: inline-block; content: '\f104';}
.flexslider2 .flex-direction-nav a.flex-next:before  { content: '\f105';}
.flexslider2 .flex-direction-nav .flex-prev:hover,
.flexslider2 .flex-direction-nav .flex-next:hover {

}
.flexslider2.noDir .flex-direction-nav .flex-prev,
.flexslider2.noDir .flex-direction-nav .flex-next {
    display: none!important;
}

.flexslider2 .flex-control-nav {
    width: calc(20% - 201px); 
    position: relative;
    padding: 400px 100px 0 100px; 
    text-align: center!important; 
    display: block; 
    background-color: #f4f4f4;
    height: 100vh; 
    border-left: 1px solid #e2e3de;
    z-index: 15;
}
@media only screen and (min-width: 50px) and (max-width: 2100px) {
    .flexslider2 .flex-control-nav {
        width: calc(20% - 141px); 
        padding: 400px 70px 0 70px; 
    }   
}

@media only screen and (min-width: 50px) and (max-width: 1850px) {
    .flexslider2 .flex-control-nav {
        width: calc(20% - 101px); 
        position: relative;
        padding: 400px 50px 0 50px; 
        text-align: center!important; 
        display: block; 
        background-color: #f4f4f4;
        height: 100vh; 
        border-left: 1px solid #e2e3de;
        z-index: 15;
    }
    .flexslider2.noAdd .flex-control-nav {
        padding: 360px 50px 0 50px;
    }
}


.flexslider2 .flex-control-nav li {margin: 0; float: left; width: 33.3%; zoom: 1; *display: inline;}
.flexslider2 .flex-control-paging li a {width: 6px; height: 6px; display: block; background: #FFFFFF;  cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 0px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 0px rgba(0,0,0,0.3); box-shadow: inset 0 0 0px rgba(0,0,0,0.3);}
.flexslider2 .flex-control-paging li a:hover { background: #FFFFFF;  }
.flexslider2 .flex-control-paging li a.flex-active {background: #CCCCCC;cursor: default; border:#CCCCCC solid 2px;}
.flexslider2 .flex-control-thumbs {margin: 0;  overflow: hidden;}
.flexslider2 .flex-control-thumbs li {width: 33.3%; float: left; margin: 0;}

@media only screen and (min-width: 50px) and (max-width: 1550px) {
    .flexslider2 .flex-control-thumbs li {
        width: 50%; 
        float: left; 
        margin: 0;
    }    
    .flexslider2 .flex-control-nav {
        padding-top: 360px;
    }    
}

@media only screen and (min-width: 50px) and (max-width: 1400px) {
    .flexslider2 .flex-control-nav:not(.noAdd) {
        width: calc(20% - 61px); 
        padding: 360px 30px 0 30px; 
    }

    .pAdvert {
        display: none;
    }
}


.flexslider2 .flex-control-thumbs img {
    width:calc(100% - 32px); 
    padding: 10px;
    background-color: #FFF;
    margin: 5px 10px;
    display: block; 
    cursor: pointer;
    border:1px solid #e2e3de;
    border-radius: 5px;
}

@media only screen and (min-width: 50px) and (max-width: 1600px) {
    .flexslider2 .flex-control-thumbs img {
        width:calc(100% - 22px); 
        padding: 5px;
        background-color: #FFF;
        margin: 5px;
        display: block; 
        cursor: pointer;
        border:1px solid #e2e3de;
        border-radius: 5px;
    }    
}

.flexslider2 .flex-control-thumbs img:hover {opacity: 1;}
.flexslider2 .flex-control-thumbs .flex-active {opacity: 1; cursor: default; border:1px solid #1278A5;}

/* Slide Count and Modal Advert Styles*/
.slideNo {
    position: absolute;
    left: 0;
    top: 20px;
    text-align: right;
    width: 80%;
    font-size: 18px;
    z-index: 500;
    color: #CCC;
}
.slideWrap {
    background-color: #f4f4f4;
    border:1px solid #e2e3de;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
}
.pAdvert {
    width:20%; 
    position:absolute; 
    right:0; 
    z-index:50;
    top: 25px;
}
.pAdvert img {
    width: 160px;
    height: 300px;
    padding: 5px;
    background-color: #FFFFFF;
    border:1px solid #e2e3de;
    border-radius: 5px;
}

@media only screen and (min-width: 50px) and (max-width: 1050px) {
    .flexslider2 .flex-control-nav {
      display: none;
    }
    .flexslider2 .slides {
      width: 100%!important;
    }
    .slideNo {
      width: 100%;
    }
    .flexslider2 .flex-direction-nav {
      width: 100%;
      margin-top: 130px;
    }
}

li.carouselSlide.flex-active-slide {
  border: 1px solid #1278A5 !important;
  border-radius: 5px;
}

li.carouselSlide image {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.carouselSlide:hover {
  cursor: pointer;
}

.flexslider .slides li.zoo-item {
    height: 400px;
}

.slides.single-line-thumbs {
  width: auto !important;
  text-align: center;
}

.slides.single-line-thumbs li {
  white-space: initial;
  width: 100%;
  display: inline-block !important;
  float: none !important;
  vertical-align: top;
}

#slider {
  width: calc(100% - 2px)!important;
  max-height: 400px;
  overflow: hidden;
  border:1px solid #FFF;
}
#slider:hover {
  border:1px solid #e2e3de;
}

.image-nav {
  display: inline-block;
  cursor: pointer;
  font-size: 30px;
  color: #1278A5;
  opacity: 0.8;
  padding: 10px 16px;
}

.image-nav:hover {
  opacity: 1;
}

.flex-viewport li.carouselSlide:last-child {
  margin: 0!important;
}