/* YOUTUBE OVERLAY */
.overlay-video,
.overlay-video-yt {
  display: none;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
  -webkit-transition: opacity 600ms ease-in;
  transition: opacity 600ms ease-in;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999999;
}

.video-yt {
  width: 80vw;
  height: 80vh;
}

.o1 {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  opacity: 1;
  -webkit-transition: opacity 600ms ease-out;
  transition: opacity 600ms ease-out;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.videoWrapperExt,
.videoWrapperExt-yt {
  position: relative;
  margin: 0 auto;
  max-height: 70%;
  max-width: 88%;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.videoWrapper,
.videoWrapper-yt {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.videoWrapper video,
.videoWrapper-yt video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-close,
.video-close-yt {
  background-color: transparent;
  border: 0;
  padding: 0;
  outline: none;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 100;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: -40px;
  cursor: pointer;
  z-index: 9999;
  height: 25px;
  width: 25px;
  background: url("../assets/virtual-tour-icons/close.png");
  background-size: contain;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.video-close:hover,
.video-close-yt:hover {
  -webkit-transform: scale(1.35);
  transform: scale(1.35);
}

@media (max-width: 767px) and (orientation: landscape) {
  .video-close,
  .video-close-yt {
    display: none;
  }
}

/* YOUTUBE OVERLAY ENDS */
/*# sourceMappingURL=overlayvideo.css.map */
