@import '../../style/themes/default';

.@{dndc-prefix}-video {
  position: relative;
  display: block;
  overflow: hidden;
  &-play-button {
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate3d(-50%, -50%, 0);
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 100%;
    border: 3px solid #fff;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    &:before {
      position: relative !important;
      width: auto !important;
      height: auto !important;
      font-size: 30px;
    }
  }
  &-control-bar--hide {
    display: none !important;
  }
  &-play-button--sm {
    height: 30px !important;
    width: 30px !important;
    line-height: 30px !important;
    border: 2px solid #fff;
    z-index: 999;
    &:before {
      font-size: 16px;
    }
  }
  &-play-button--lg {
    height: 60px !important;
    width: 60px !important;
    line-height: 60px !important;
    border: 4px solid #fff;
    z-index: 999;
    &:before {
      font-size: 40px;
    }
  }
  &-play-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1999;
    background: rgba(0, 0, 0, 0.7);
    &--active {
      width: 100vw;
      height: 100vh;
      transition: all 0.3s;
    }
    &__close {
      cursor: pointer;
      position: absolute;
      top: 50px;
      right: 50px;
      font-size: 46px;
      font-weight: bold;
      color: #fff;
      transform: rotate(45deg);
    }
    &-content {
      position: relative;
      max-width: 1200px;
      width: 80%;
    }
    @media all and (min-height:300px) and (max-height:500px){
      &-content {
        width: 40%;
      }
    }
    @media (max-width: 767px) {
      &-content {
        width: 100%;
      }
    }
  }
  &-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
}
