@import (reference) "../../../assets/css/index";

@video-modal-prefix: ~"@{fishd-prefix}-video-modal";

.@{video-modal-prefix} {
  &-modal-wrap {
    text-align: center;
    white-space: nowrap;
    .@{fishd-prefix}-modal {
      display: inline-block;
      vertical-align: middle;
      text-align: left;
      top: 0;
      padding-bottom: 0;
    }
    .@{fishd-prefix}-modal-content {
      height: 100%;
      background-color: inherit;
      box-shadow: none;
    }
    .@{fishd-prefix}-modal-body {
      padding: 0;
      height: 100%;
      overflow-y: hidden;
      overflow-x: hidden;
    }
  }
  &-modal-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
  }
  &-inner {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }
  &-content {
    position: relative;
  }
  &-header {
    width: 100%;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    .icon-close {
      position: absolute;
      top: 14px;
      right: 14px;
      font-size: 20px;
      color: #fff;
      cursor: pointer;
      &:hover {
        color: #ffaf0f;
      }
    }
  }
}
