/*
slider-video-modal
video-modal-content
*/

/* The Modal (background) */
.slider-video-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content/Box */
.video-modal-content {
  position: relative;
  background-color: #000000;
  margin: 10% auto;
  padding: 0px;
  border: none;
  width: 80%; /* Could be more or less, depending on screen size */
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* video player */
.video-modal-content video {
  width: 100% !important;
  height: auto !important;
}

/* The Close Button */
.video-modal-close {
  color: #dcdcdc;
  float: right;
  font-size: 50px;
  font-weight: normal;
  margin: 0.5rem;
}

.video-modal-close:hover,
.video-modal-close:focus {
  color: rgba(220, 220, 220, 0.7);
  text-decoration: none;
  cursor: pointer;
}
