.penci-owl-carousel-style,
.penci-owl-carousel-slider{
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
  .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */
    &:after {
      content: ".";
      display: block;
      clear: both;
      visibility: hidden;
      line-height: 0;
      height: 0;
    }
  }
  .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px);
  }
  .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 {
    -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);
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    img {
      display: block;
      width: 100%;
    }
  }
  .owl-nav.disabled, .owl-dots.disabled {
    display: none;
  }
  .owl-nav {
    .owl-prev, .owl-next {
      cursor: pointer;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }
  }

  .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .penci-nav-on-title &{
    position: relative;

    .owl-nav {
      position: absolute;
      top: -73px;
      right:0;
      border: 1px solid #000;
      width: 30px;
      height: 53px;

      .owl-prev, .owl-next {

      }
    }
  }

  &.owl-loaded {
    display: block;
  }
  &.owl-loading {
    opacity: 0;
    display: block;
  }
  &.owl-hidden {
    opacity: 0;
  }
  &.owl-refresh .owl-item {
    visibility: hidden;
  }
  &.owl-drag .owl-item {
    -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;
    }
  }
}

.no-js .penci-owl-carousel-style,
.no-js .penci-owl-carousel-slider{
  display: none;
}

.penci-owl-carousel-style,
.penci-owl-carousel-slider{
  .animated {
    animation-duration: 1000ms;
    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 500ms ease-in-out;
}

.owl-carousel-slider  {
  .owl-item {
    .owl-lazy {
      opacity: 0;
      transition: opacity 400ms ease;
    }
    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 100ms ease;
    &:hover {
      -ms-transform: scale(1.3, 1.3);
      transform: scale(1.3, 1.3);
    }
  }
  .owl-video-playing {
    .owl-video-tn, .owl-video-play-icon {
      display: none;
    }
  }
  .owl-video-tn {
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity 400ms ease;
  }
  .owl-video-frame {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
  }
}
.penci-owl-carousel-style,
.penci-owl-carousel-slider{
  &:hover .owl-nav {
    .owl-prev,
    .owl-next {
      opacity: 0.4;
    }
  }
  .owl-nav {
    .owl-prev,
    .owl-next {
      width: 34px;
      height: 34px;
      vertical-align: top;
      background: $color__black;
      color: $color__white;
      @include font-size( 1.8 );
      position: absolute;
      z-index: 10;
      top: 50%;
      margin-top: -17px;
      left: 20px;
      line-height: 34px;
      text-align: center;
      opacity: 0;
      transition: all 0.3s;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      display: flex;
      justify-content: center;
      align-items: center;

      &:hover {
        opacity: 1;
      }
    }

    .owl-next {
      left: auto;
      right: 20px;
    }
  }

  .owl-dots {
    position: static;
    height: 10px;
    margin-top: 20px;
    bottom: 15px;
    z-index: 10;
    width: 100%;
    text-align: center;
    left: 0;
  }
  .owl-dot {
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;

    span {
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border: 0;
      display: inline-block;
      vertical-align: top;
      width: 9px;
      height: 9px;
      background-color: #ececec;
      transition: all 0.3s;
    }

    &.active,
    &:hover {
      span {
        background: $color__blue;
      }
    }
  }
}

.featured-area-custom-slider .penci-owl-carousel-slider .owl-dots {
  position: absolute;
  height: auto;
  margin-top: 0;
}

.featured-area-custom-slider .penci-owl-carousel-slider .owl-dot span {
  background-color: transparent;
  border: 2px solid #3f51b5;
}

