/**
 * adv 
 * 
 */

.banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner a {
  display: block;
  position: relative;
}

.banner a::after {
  content: "Реклама";
  position: absolute;
  top: 7px;
  left: 10px;
  border-radius: 4px;
  color: #CACBCD;
  text-transform: uppercase;
  font-size: .56rem;
  padding: .23em;
  background-color: rgba(0, 0, 0, .54);
}

.banner a img {
  max-width: 100%;
  object-fit: contain;
}

.full-screen-banner.l--100 {
  height: 100px;
}

.bill-board-banner.l-970-250 {
  max-width: 970px;
  height: 250px;
}

.leader-board-banner.l-728-90 {
  max-width: 728px;
  height: 90px;
}

.vertical-rectangle-banner.l-200-400 {
  max-width: 208px;
  height: 400px;
}

.half-page-banner.l-300-600 {
  max-width: 300px;
  height: 600px;
}

.floor-banner {
  width: 100%;
  background-color: #fff;
  position: fixed;
  z-index: 10000;
  bottom: -100%;
  transition: all 1.23s linear;
  /*border-top: 2px solid #D1D6E0;*/
}

.floor-banner.is-active {
  bottom: 0;
}

.floor-page-banner.l--100 {
  max-width: 100%;
  height: 100px;
}

.floor-banner [aria-label='CloseFloorBnner'] {
  position: absolute;
  cursor: pointer;
  top: -35px;
  right: 10px;
  background-color: #D1D6E0;
  width: 35px;
  height: 35px;
  border: none;
  font-size: 1.45rem;
  color: #575C66;
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-ad {
  position: absolute;
  z-index: -10;
  font-size: 1.3em;
  color: #CACACA;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/**
 * Фиксируем рекламный блок на длинных постах
 *  
 */

.video-inner-adv {
  width: 100%;
  height: auto;
  background-color: rgba(80, 200, 120, .84);
  background-color: rgba(0, 0, 0, 1);
  color: #fff;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-inner-adv header,
.video-inner-adv footer {
  width: 100%;
  max-width: 96%;
  position: absolute;
  z-index: 1000;
  font-size: .8rem;
}

.video-inner-adv header {
  top: 1em;
  left: 1em;
}

.video-inner-adv footer {
  bottom: 2em;
  right: 2em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ad-timer {
  display: inline-block;
  background-color: rgba(24, 24, 24, .13);
  border-radius: 5px;
  padding: .8em;
}

.ad-timer[data-timer-role="AdCompleteCountdown"] {
  left: 0;
}

.ad-timer[data-timer-role="CloseAdWindow"] {
  position: relative;
  cursor: pointer;
}

.ad-timer[data-timer-role="CloseAdWindow"]::after {
  content: "";
  position: absolute;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  top: 50%;
  right: 0;
  transform: translate(50%, -72%) rotate(45deg);
  width: 8px;
  height: 8px;
  margin: .23em;
}

@media only screen and (max-width : 480px) {
  .video-inner-adv footer {
    bottom: 3em;
  }

  .banner {
    margin: 0;
  }

  .player-embedded[data-state='pause'] .video-inner-adv {
    position: fixed;
    z-index: 9000!important;
  }
}