/**
* Owl Carousel v2.3.4
* Copyright 2013-2018 David Deutsch
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
*/

.owl-carousel {
  -webkit-tap-highlight-color: transparent;
  position: relative;
  .owl-item {
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  display: none;
  width: 100%;
  z-index: 1;
  .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    &:after {
      content: ".";
      display: block;
      clear: both;
      visibility: hidden;
      line-height: 0;
      height: 0;
    }
  }
  .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
  }
  .owl-item, .owl-wrapper {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
  }
  .owl-item {
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none;
    img {
      display: block;
      width: 100%;
    }
  }
  .owl-dots.disabled, .owl-nav.disabled {
    display: none;
  }
}

.no-js .owl-carousel {
  display: block;
}

.owl-carousel {
  &.owl-loaded {
    display: block;
  }
  .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .owl-nav {
    .owl-next, .owl-prev {
      cursor: pointer;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }
    button {
      &.owl-next, &.owl-prev {
        background: 0 0;
        color: inherit;
        border: none;
        padding: 0 !important;
      }
    }
  }
  button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
  }
  &.owl-loading {
    opacity: 0;
    display: block;
  }
  &.owl-hidden {
    opacity: 0;
  }
  &.owl-refresh .owl-item {
    visibility: hidden;
  }
  &.owl-drag .owl-item {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  &.owl-grab {
    cursor: move;
    cursor: grab;
  }
  &.owl-rtl {
    direction: rtl;
    .owl-item {
      float: right;
    }
  }
  .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
  }
  .owl-animated-in {
    z-index: 0;
  }
  .owl-animated-out {
    z-index: 1;
  }
  .fadeOut {
    animation-name: fadeOut;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}


.owl-height {
  transition: height .5s ease-in-out;
}

.owl-carousel {
  .owl-item {
    .owl-lazy {
      opacity: 0;
      transition: opacity .4s ease;
      &:not([src]), &[src^=""] {
        max-height: 0;
      }
    }
    img.owl-lazy {
      transform-style: preserve-3d;
    }
  }
  .owl-video-wrapper {
    position: relative;
    height: 100%;
    background: #000;
  }
  .owl-video-play-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url(owl.video.play.png) no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform .1s ease;
    &:hover {
      -ms-transform: scale(1.3, 1.3);
      transform: scale(1.3, 1.3);
    }
  }
  .owl-video-playing {
    .owl-video-play-icon, .owl-video-tn {
      display: none;
    }
  }
  .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s ease;
  }
  .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
  }
}

.owl-theme {
  .owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
  }
  .owl-nav {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    margin-top: 10px;
    [class*=owl-] {
      color: #FFF;
      font-size: 18px;
      margin: 5px;
      padding: 4px 7px;
      background: #D6D6D6;
      display: inline-block;
      cursor: pointer;
      border-radius: 3px;
      &:hover {
        background: #869791;
        color: #FFF;
        text-decoration: none;
      }
    }
    .disabled {
      opacity: .5;
      cursor: default;
    }
    &.disabled + .owl-dots {
      margin-top: 10px;
    }
  }
  .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    span {
      width: 10px;
      height: 10px;
      margin: 5px 7px;
      background: #D6D6D6;
      display: block;
      -webkit-backface-visibility: visible;
      transition: opacity .2s ease;
      border-radius: 30px;
    }
    &.active span, &:hover span {
      background: #869791;
    }
  }
}

/* Owl Carousel Responsive Image */
.owl-img-responsive {
  .owl-wrapper, .owl-stage {
    display: flex !important;
    .item {
      height: 100%;
    }
  }
  .owl-item {
    img {
      &.img-fluid {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: initial;
      }
    }
  }
}