@charset "UTF-8";
.c-video-modal {
  padding: 60px 0;
  position: fixed;
  inset: 0;
  z-index: 10000;
}
.c-video-modal__content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 980px;
  height: 100%;
  margin: 0 auto;
}
.c-video-modal__player {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 20;
  transition: 0.6s ease-in-out;
}
.c-video-modal:not(.is-can-play-through) .c-video-modal__player {
  opacity: 0;
  visibility: hidden;
}
.c-video-modal__player video {
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.c-video-modal__overlay {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.c-video-modal__close {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  cursor: pointer;
}
.c-video-modal__close::before, .c-video-modal__close::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: calc(50% - 11px);
  cursor: pointer;
}
.c-video-modal__close::before {
  transform: rotate(45deg);
}
.c-video-modal__close::after {
  transform: rotate(-45deg);
}
.c-video-modal__loader {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  z-index: 9;
}
.c-video-modal__loader::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0.6;
  animation: movieLoadingIcon 1s infinite;
}

@keyframes movieLoadingIcon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
