/**
 * Owl Carousel v2.2.0
 * Copyright 2013-2016 David Deutsch
 * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
 */
/*
 *  Owl Carousel - Core
 */
.carousel-block{
    margin-bottom: 35px;
}

.owl-carousel {
  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-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y; }
  .owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
  .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }
  .owl-carousel .owl-item {
    position: relative;
    /*height: 380px;*/
    /*max-height: 90vh;*/
    min-height: 100px;
    float: left;
    background-color: #ebebeb;
    background: linear-gradient(to bottom, #ebebeb, #fff);
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }
  .owl-carousel .owl-item img {
    display: block;
    /*width: 100%;*/
    width: auto;
    max-width: 100%;
    /*max-height: 90vh;*/
    /*max-height: 600px;*/
    height: 100%;
    margin: 0 auto;
    -webkit-transform-style: preserve-3d; }
  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none; }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-loaded {
    display: block; }
  .owl-carousel.owl-loading {
    opacity: 0;
    display: block; }
  .owl-carousel.owl-hidden {
    opacity: 0; }
  .owl-carousel.owl-refresh .owl-item {
    visibility: hidden; }
  .owl-carousel.owl-drag .owl-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-grab {
    cursor: move;
    cursor: grab; }
  .owl-carousel.owl-rtl {
    direction: rtl; }
  .owl-carousel.owl-rtl .owl-item {
    float: right; }

/* No Js */
.no-js .owl-carousel {
  display: block; }

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  -webkit-animation-duration: 1000ms;
          animation-duration: 1000ms;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both; }

.owl-carousel .owl-animated-in {
  z-index: 0; }

.owl-carousel .owl-animated-out {
  z-index: 1; }

.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
          animation-name: fadeOut; }

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

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

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out; }

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease; }

.owl-carousel .owl-item img.owl-lazy {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d; }

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000; }

.owl-carousel .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: -webkit-transform 100ms ease;
  transition: transform 100ms ease; }

.owl-carousel .owl-video-play-icon:hover {
  -webkit-transform: scale(1.3, 1.3);
      -ms-transform: scale(1.3, 1.3);
          transform: scale(1.3, 1.3); }

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none; }

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease; }

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%; }


/*---- Castomization ----*/
.owl-stage-outer{
    z-index: 10;
}

.carousel-item{
    padding-top: 56.25%;
}
.carousel-item > a{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: url("http://www.temakazan.ru/images/cursors/zoom_in.cur"), pointer;
}
.carousel-item .newsVideo-wrap{
    position: absolute;
    top: 0;
    width: 100%;
}
.owl-nav{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.owl-nav .owl-prev, .owl-nav .owl-next{
    position: absolute;
    z-index: 20;
    height: 100%;
    width: 20%;
    text-align: center;
    text-indent: -9999px;
    transition: all 1s;
}
.owl-nav .owl-prev{
    left: 0;
}
.owl-nav .owl-next{
    right: 0;
}
.owl-nav .owl-prev:before, .owl-nav .owl-next:before{
    content: "\f104";
    display: flex;
    align-items: center;
    vertical-align: middle;
    position: absolute;
    box-sizing: border-box;
    top: 10%;
    bottom: 10%;
    font-family: FontAwesome;
    font-size: 80px;
    line-height: 0;
    color: #fff;
    text-indent: 0;
    text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 0 0 5px #000;
    filter: opacity(80%);
    transition: all .3s;
    pointer-events: all;
}
.owl-nav .owl-prev:before{
    left: 0;
    padding-left: 30px;
    padding-right: 50%;
}
.owl-nav .owl-next:before{
    content: "\f105";
    right: 0;
    padding-right: 30px;
    padding-left: 50%;
}
.owl-nav .owl-prev:not(.disabled):hover{
    background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.3));
}
.owl-nav .owl-next:not(.disabled):hover{
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.3));
}
.owl-nav .owl-prev:hover:before, .owl-nav .owl-next:hover:before{
    filter: opacity(100%) brightness(200%);
}
.owl-nav .owl-prev.disabled, .owl-nav .owl-next.disabled{
    cursor: default;
}
.owl-nav .owl-prev.disabled:before, .owl-nav .owl-next.disabled:before{
    filter: opacity(50%) brightness(80%);
}

.owl-dots{
    position: absolute;
    bottom: -7px;
    width: 100%;
    height: 4px;
    display: table;
    border-collapse: separate;
    table-layout: fixed;
}
.owl-dots .owl-dot{
    display: table-cell;
    padding-left: 3px;
}
.owl-dots .owl-dot:first-of-type{
    padding-left: 0px;
}

.owl-dot > span{
    display: block;
    box-sizing: border-box;
    height: 4px;
    background-color: #dbe1f0;
}
.owl-dots .owl-dot:last-of-type span{
    width: 100%;
}
.owl-dot.active > span{
    background-color: #7185b5;
}

.owl-thumbs .owl-thumb-item{
    width: 100px;
    height: auto;
}
.owl-thumbs .owl-thumb-item img{
    width: 100%;
    vertical-align: middle;
}


.carousel-item .jwplayer-wrap{
    line-height: 0;
}


/*--- sm-viewport START ---*/
@media all and (max-width: 747px) {
    html, body{
        overflow-x: hidden;
    }
    .carousel-block{
        margin-left: -10px;
        margin-right: -10px;
    }
    .owl-carousel .owl-item{
        background-color: #222;
        background: linear-gradient(to bottom, #222, #444);
    }
    .owl-nav{
        display: none;
    }
}
/*--- sm-viewport END ---*/
