.atvi-video {
  overflow: hidden;
  position: relative;
}
.atvi-video .player-wrapper {
  position: relative;
  width: 100%;
}
.atvi-video .player {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  background-color: #000;
}
.atvi-video .display {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 1;
}
.atvi-video.playing {
  cursor: none;
}
.atvi-video.playing .display {
  opacity: 0;
}
.atvi-video.playing:hover .display {
  opacity: 1;
}
.atvi-video.playing.show-cursor {
  cursor: default;
}
.atvi-video.playing .playing-overlay {
  display: block;
}
.atvi-video.playing .controls {
  opacity: 0;
  -webkit-transition: opacity 1s ease 0.5s;
  -moz-transition: opacity 1s ease 0.5s;
  -ms-transition: opacity 1s ease 0.5s;
  -o-transition: opacity 1s ease 0.5s;
  transition: opacity 1s ease 0.5s;
}
.atvi-video.playing.hovered .controls,
.atvi-video.playing .controls:hover {
  opacity: 1;
  -webkit-transition: 0.5s ease 0s;
  -moz-transition: 0.5s ease 0s;
  -ms-transition: 0.5s ease 0s;
  -o-transition: 0.5s ease 0s;
  transition: 0.5s ease 0s;
}
.atvi-video .playing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}
.atvi-video .controls-container {
  position: relative;
  margin: 0 auto;
  height: 40px;
}
.atvi-video .controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
  cursor: default;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.atvi-video .controls .button,
.atvi-video .controls .clock,
.atvi-video .controls .volume-wrapper {
  top: 0;
  display: block;
  position: absolute;
  height: 100%;
}
.atvi-video .controls .button {
  width: 40px;
  cursor: pointer;
  font-size: 0;
  color: rgba(0, 0, 0, 0);
  opacity: 0.8;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.atvi-video .controls .button:hover {
  opacity: 1;
}
.atvi-video .controls .play {
  display: block;
  left: 0;
  background: url("../images/play-button-icon.png") top left no-repeat;
}
.atvi-video.playing .controls .play {
  display: none;
}
.atvi-video .controls .pause {
  display: none;
  left: 0;
  background: url("../images/pause-button-icon.png") top left no-repeat;
}
.atvi-video.playing .controls .pause {
  display: block;
}
.atvi-video .controls .time-slider {
  position: relative;
  height: 100%;
  margin-left: 64px;
  margin-right: 260px;
  cursor: pointer;
}
.atvi-video .time-slider .inner {
  position: relative;
  height: 12px;
  top: 14px;
  margin: 0 10px 0 10px;
  background-color: #222222;
}
.atvi-video .time-slider .filled,
.atvi-video .atvi-video .time-slider .loaded {
  position: absolute;
  left: 0;
  width: 0;
  height: 100%;
}
.atvi-video .time-slider .loaded {
  background-color: #444444;
}
.atvi-video .time-slider .filled {
  background-color: #777777;
}
.atvi-video .time-slider .marker {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 6px;
  height: 16px;
  background-color: #aaaaaa;
}
.atvi-video .controls .clock {
  position: absolute;
  width: 140px;
  right: 120px;
  text-align: center;
  padding-top: 12px;
  font-size: 16px;
  color: #dddddd;
}
.atvi-video .controls .sd-hd {
  right: 80px;
  background: url("../images/hd-sd-button-icon.png") bottom left no-repeat;
}
.atvi-video.hd .controls .sd-hd,
.atvi-video .atvi-video .controls .sd-hd:hover {
  background-position: top left;
}
.atvi-video .controls .volume-wrapper {
  position: absolute;
  right: 40px;
  width: 40px;
}
.atvi-video .controls .speaker {
  left: 0;
  background: url("../images/volume-button-icon.png") top left no-repeat;
}
.atvi-video.muted .controls .speaker,
.atvi-video .atvi-video .controls .speaker:hover {
  background-position: bottom left;
}
.atvi-video.muted .controls .speaker:hover {
  background-position: top left;
}
.atvi-video .controls .volume-slider {
  position: absolute;
  width: 100%;
  bottom: 100%;
  height: 0;
  overflow: hidden;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.75);
  -webkit-transition: height 0.3s ease 0.5s;
  -moz-transition: height 0.3s ease 0.5s;
  -ms-transition: height 0.3s ease 0.5s;
  -o-transition: height 0.3s ease 0.5s;
  transition: height 0.3s ease 0.5s;
}
.atvi-video .volume-wrapper:hover .volume-slider {
  height: 128px;
  -webkit-transition: height 0.3s ease 0s;
  -moz-transition: height 0.3s ease 0s;
  -ms-transition: height 0.3s ease 0s;
  -o-transition: height 0.3s ease 0s;
  transition: height 0.3s ease 0s;
}
.atvi-video .volume-slider .inner {
  position: relative;
  width: 12px;
  top: 14px;
  left: 14px;
  height: 100px;
  background-color: #222222;
}
.atvi-video .volume-slider .filled {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #777777;
  bottom: 0;
}
.atvi-video .volume-slider .marker {
  position: absolute;
  left: -2px;
  top: -3px;
  height: 6px;
  width: 16px;
  background-color: #aaaaaa;
}
.atvi-video .controls .fullscreen {
  right: 0;
  background: url("../images/fullscreen-button-icon.png") top left no-repeat;
}
.atvi-video .atvi-video.fullscreen .controls .fullscreen {
  background-position: bottom left;
}
.atvi-video .atvi-video.fullscreen .atvi-modal .button-container.close {
  display: none;
}
.atvi-video.fullscreen {
  width: 100%;
  height: 100%;
}
.atvi-video.fullscreen .controls-container {
  width: 100%;
}
.atvi-video.fullscreen .player-wrapper {
  padding-bottom: 63.25%;
}
.atvi-video .atvi-video-thumbnail-container {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  cursor: pointer;
}
.atvi-video .atvi-video-thumbnail-container:hover button .play-btn_ping {
  animation: radar 1.5s ease-out infinite;
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail {
  position: relative;
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail img {
  width: 100%;
  display: block;
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail .atvi-video-thumb-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  z-index: 2;
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  /*button {
				      border-radius: 50%;
  				    // padding: 18px 20px 18px 28px;
              position: relative;
				      cursor: pointer;

                &:before {
					          content: "";
                    position: absolute;
                    z-index: 0;
                    left: 50%;
                    top: 50%;
                    transform: translateX(-50%) translateY(-50%);
                    display: block;
                    width: 60px;
                    height: 60px;
                    background: #d80000;
                    border-radius: 50%;
                    animation: pulse-border 1500ms ease-out infinite;
                }

                &:after {
					          content: "";
                    position: absolute;
                    z-index: 1;
                    left: 50%;
                    top: 50%;
                    transform: translateX(-50%) translateY(-50%);
                    display: block;
                    width: 60px;
                    height: 60px;
                    background: #fa183d;
                    border-radius: 50%;
                    transition: all 200ms;
                }
            }*/
  /*span {
				        display: block;
                z-index: 3;
                width: 0;
                height: 0;
                border-left: 25px solid #fff;
                border-top: 15px solid transparent;
                border-bottom: 15px solid transparent;
                .dont-show-text();
                position: absolute;
                left: 50%;
                top: 50%;
                translate: -35% -50%;
            }*/
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail-play-icon:hover button {
  /*&:after {
						            background-color: darken(#fa183d, 10%);
                    }*/
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail-play-icon button {
  background: none;
  background-size: contain;
  border: none;
  cursor: pointer;
  padding: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  -webkit-transition: 0.25s all;
  -moz-transition: 0.25s all;
  -ms-transition: 0.25s all;
  -o-transition: 0.25s all;
  transition: 0.25s all;
  position: relative;
  z-index: 1;
}
.atvi-video .atvi-video-thumbnail-container .atvi-video-thumbnail-play-icon button span {
  display: block;
  height: 0;
}
.aspect-ratio-default .player-wrapper {
  height: 0;
  padding-bottom: 56.25%;
}
.atvi-video .player-wrapper .nocookies-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.atvi-video.fullbrowser {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.atvi-video.fullbrowser .player-part,
.atvi-video.fullbrowser .player-wrapper {
  padding: 0;
  height: 100%;
}
.atvi-video.use-external-link .controls-container {
  display: none;
}
.atvi-video.use-external-link .external-link-overlay,
.atvi-video.use-external-link .external-link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
@media screen and (max-device-width: 1024px) {
  .atvi-video .controls .volume-wrapper {
    display: none;
  }
}
@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}
@keyframes radar {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    /* grow radius to 60 */
    transform: scale(1.5);
    opacity: 0;
  }
}
