/* Change all text and icon colors in the player. */
.video-js {
  width: 100%;
}

.ag__vjs-matrix.video-js {
    color: #fff;
  }

  .ag__vjs-matrix.video-js .vjs-tech {
    object-fit: cover;
  }
  
  /* Change the border of the big play button. */
  .ag__vjs-matrix .vjs-big-play-button {
    border-color: #fff;
  }
  
  /* Change the color of various "bars". */
  .ag__vjs-matrix .vjs-volume-level,
  .ag__vjs-matrix .vjs-play-progress,
  .ag__vjs-matrix .vjs-slider-bar {
    background: #fff;
  }
  
  .ag__vjs-matrix.video-js .vjs-control-bar  {
    /* top: 0; */
    font-size: 1rem;
    background-color: unset;
    height: 3em;
    bottom: 0;
    padding: 0;
  }

  .ag__vjs-matrix.video-js .vjs-control {
    width: 3rem;
    min-width: unset;
  }

  .ag__vjs-matrix .vjs-remaining-time {
    margin-right: 3.25rem;
  }

  .ag__vjs-matrix.video-js .vjs-picture-in-picture-control {
    display: none;
  }

  .ag__vjs-matrix.video-js .vjs-progress-control {
    visibility: hidden;
    visibility: hidden;
    width: 0;
    min-width: unset;
  }

  .ag__vjs-matrix.video-js .vjs-time-control {
    line-height: 3.2;
  }

  .ag__vjs-matrix.video-js .vjs-big-play-button {
    display: none;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 3rem;
    font-size: 2rem;
    line-height: 1;
    top: 1rem;
    right: 1rem;
    left: unset;
    margin-top: 0;
    margin-left: 0;
    border: 1px solid #fff;
    border-radius: 100px;
    background-color: #1e1e1e59;
  }

  .ag__vjs-matrix.video-js .vjs-big-play-button .vjs-icon-placeholder:before,
  .ag__vjs-matrix.video-js .vjs-modal-dialog, .vjs-button>.vjs-icon-placeholder:before,
  .ag__vjs-matrix.vjs-modal-dialog .vjs-modal-dialog-content {
    position: relative;
    top: 2px;
    left: 0;
  }

  .ag__vjs-matrix .vjs-play-control {
    position: absolute;
    right: 0;
  }

  .ag__vjs-matrix .vjs-poster img {
    object-fit: cover;
  }

  @media screen and (max-width:767px) {
    .ag__vjs-matrix.video-js .vjs-control-bar {
        top: 0;
      }
  }