/*------------------------

video-modal

-------------------------*/
.vi-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease 0s; }
  .vi-modal-container .vi-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); }
  .vi-modal-container .vi-modal-inner {
    width: 100%;
    max-width: 600px;
    height: 100%;
    margin: 0 auto;
    text-align: center; }
  .vi-modal-container .vi-modal-video {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    pointer-events: none; }
    .vi-modal-container .vi-modal-video video {
      height: 100%;
      width: auto;
      max-width: 540px;
      max-height: 960px;
      margin: 0 auto;
      background-color: #000; }
  .vi-modal-container.active {
    opacity: 1;
    pointer-events: auto; }
    .vi-modal-container.active .vi-modal-video video {
      pointer-events: auto; }
  .vi-modal-container.scale-width .vi-modal-inner {
    width: 96%;
    max-width: 1600px; }
  .vi-modal-container.scale-width .vi-modal-video video {
    height: auto;
    width: 90%;
    max-width: none;
    max-height: none; }
  .vi-modal-container .vi-modal-close {
    position: fixed;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-end;
    /*border: 1px solid #000;*/
		box-shadow: 0 0 15px rgba(0,0,0,0.2);
		border-radius: 4px;
    background-color: #fff; }
    .vi-modal-container .vi-modal-close::before, .vi-modal-container .vi-modal-close::after {
      position: absolute;
      top: 50%;
      left: 30%;
      width: 40%;
      height: 2px;
      background-color: #000;
      content: ""; }
    .vi-modal-container .vi-modal-close::before {
      transform: rotate(45deg); }
    .vi-modal-container .vi-modal-close::after {
      transform: rotate(-45deg); }
    .vi-modal-container .vi-modal-close .close-txt {
      text-align: center;
      font-size: 12px;
      margin-bottom: 2px;
      width: 100%;
      color: #fff; }
