.video-popup-holder {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  /* -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; */
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

/* .video-inactive {
  display: none;
}

.video-active {
  display: block;
} */
  
.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.custom-model-inner {
  width: 100%;
  height: 100%;
  /* -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; */
  display: inline-block;
  vertical-align: middle;
  max-height: 100%;
  max-width: 99%;
}

/* .custom-model-inner-animation {
  -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
} */

.carousel-video-animation {
  -webkit-animation: fadeIn 2s;
  animation: fadeIn 2s;
}
.custom-model-inner-animation {
  -webkit-animation: createBox 0.4s;
  animation: createBox 0.4s;
}

.custom-model-wrap {
  height: 100%;
  max-height: 100%;
  width: 100%;
  display: block;
  position: relative;
  background-color: black;
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-y: auto;
}

.model-open .custom-model-inner {
  position: relative;
  z-index: 999;
}

.model-open .bg-overlay {
  background: #000;
  z-index: 99;
}

.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  /* -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; */
  pointer-events: all;
}
.close-btn {
  position: absolute;
  right: 2vw;
  top: 10vh;
  cursor: pointer;
  z-index: 1001;
  font-size: 30px;
  color: #fff;
  pointer-events: all;
  padding: 2px 5px;
}

 