.adv_video_module {
  position: relative;
  overflow: hidden;
}

.adv_video_module .cm_vb {
  position: relative;
  z-index: 2;
  position: relative;
}

.adv_video_module .inner_spacer {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.adv_video_module .cm_vb video, 
.adv_video_module .cm_vb iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 5;
}


.adv_video_module .poster_image,
.adv_video_module .vid_trigger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 9;
  transition: 0.2s linear;
}

.adv_video_module .vid_trigger {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #00000029;  /* Removed overlay color */ */
  cursor: pointer;
}

.adv_video_module .vid_trigger span {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  cursor: pointer;
  transition: 0.2s linear;
}

.adv_video_module .vid_trigger span img {
  object-fit: cover;
  min-width: 70px;
  min-height: 70px;
  width: 100%;
}

.adv_video_module .vid_trigger span:hover {
  transform: scale(1.1);
}

.adv_video_module .cm_vb.activeVideo .poster_image, 
.adv_video_module .cm_vb.activeVideo  .vid_trigger {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.adv_video_module .video_popup_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000004d;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: 0.1s ease;
  overflow-y: auto;
}

.adv_video_module .video_popup_modal .modal_video_container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  overflow-y: auto;
  padding: 50px 20px;
}

.adv_video_module .video_popup_modal .modal_video_box {
  margin: 0 auto;
  max-width: 900px;
  transform: translateY(100px);
  opacity: 0;
  transition: .4s ease .2s;
  width: 100%;
}


.adv_video_module .video_popup_modal video,
.adv_video_module .video_popup_modal iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

.adv_video_module .video_popup_modal.show {
  display: block;
}

.adv_video_module .video_popup_modal.active_show {
  opacity: 1;
  visibility: visible;
}

.adv_video_module .video_popup_modal.active_show .modal_video_box {
  transform: translateY(0);
  opacity: 1;
}

.adv_video_module .vid_trigger svg {
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: 0.2s linear;
}

.adv_video_module .closeicon {
  position: absolute;
  top: 50px;
  right: 50px;
  font-size: 35px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  cursor: pointer;
  font-weight: bold;
}

.adv_video_module .closeicon i {
  font-weight: bold;
}
