/*--------------------------------------------------------------
  11. Video Modal
----------------------------------------------------------------*/
.cs-full-width-video-wrapper{
  .cs-full-width-video-in{
    .cs-video-content-in{
      height: 760px;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .video-slider{
      position: relative;
      .ps-scrollbar-navigation{
        position: absolute;
        bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
      }
      .swiper-slide{
        position: relative;
      }
    }
    .swiper-scrollbar{
      background: rgba($color: #fff, $alpha: 0.2);
      height: 5px;
      width: 315px;
      position: initial;
      .swiper-scrollbar-drag{
          height: 5px;
          background: $white;
      }
  }
  .ps-scrollbar-navigation{
      .ps-scrollbar-navigation-in{
          display: flex;
          align-items: center;
          gap: 40px;
      }
      .cs-arrow-left,
      .cs-arrow-right{
          background: rgba($color: #fff, $alpha: 0.2);
          &:hover{
              background: $white;
              transition: all 0.4s ease-in-out;
              i{
                  color: $black;
                  transition: all 0.4s ease-in-out;
              }
          }
      }
      i{
          color: $white;
      }
  }
  }
}


.cs-video-wrapper {
  position: relative;
  width: 1920px;
  height: 760px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cs-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* End video section */


////////////////////////////////////////////

.cs_video_popup {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100%;
  left: -100%;
  transition-delay: 0.3s;
}

.cs_video_popup.active {
  left: 0;
  transition-delay: 0s;
  left: 0;
}

.cs_video_popup_overlay {
  position: absolute;
  left: 0;
  right: 0;
  background: #000;
  transition: all 0.4s ease-out;
  opacity: 0;
}

.cs_video_popup.active .cs_video_popup_overlay {
  opacity: 0.8;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cs_video_popup_content {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0;
  text-align: center;
  transition: all 0.4s ease-out;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  padding: 15px;
}

.cs_video_popup.active .cs_video_popup_content {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cs_video_popup_content:after {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.cs_video_popup_container {
  display: inline-block;
  position: relative;
  text-align: left;
  background: #fff;
  max-width: 1380px;
  width: 100%;
  vertical-align: middle;
}

.cs_video_popup_container .embed-responsive {
  width: 100%;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.embed-responsive-16by9::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.embed-responsive iframe,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cs_video_popup_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: #d90d0d;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.cs_video_popup iframe {
  width: 100%;
  height: 100%;
  position: absolute;
}

.cs_video_popup_close:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  margin-left: -10px;
  transform: rotate(-45deg);
  transition: all 0.4s ease-in-out;
}

.cs_video_popup_close:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  margin-left: -10px;
  transform: rotate(45deg);
  transition: all 0.4s ease-in-out;
}

.cs_video_popup_close:hover:before,
.cs_video_popup_close:hover:after {
  background: #000;
}

.cs_video_popup_layer {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
}

.cs_video_popup_align {
  overflow: hidden;
}

/*End Video Popup*/

