.videoCustom img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  -webkit-aspect-ratio:16/9;
}


.videoCustom__inner{
  position:relative;
}
.videoCustom__play{
  height:100%;
  display: flex;
  flex-wrap:wrap;
  cursor: pointer;
  padding: 40px;
  justify-content: center;
  z-index: 1;
  position: relative;
  align-items: center;
  position:absolute;
  width:100%;
}
.videoCustom__play:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
.videoCustom__play--inner{
  position:relative;
}
.videoCustom__play--button{
  display:inline-block;
  color: #FFF;
  font-size: 20px;
  text-align: center;
  font-family: sans-serif;
  text-transform: uppercase;
  animation: animate-pulse 3s linear infinite;
  cursor: pointer;
  line-height:0;
  border-radius: 30px;
}
.show.videoCustom__popupWrap{
  visibility:visible;
  opacity:1;
}
.videoCustom__popupWrap{
  transition:.3s all ease;
  -webkit-transition:.3s all ease;
  visibility:hidden;
  opacity:0;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:30px;
  background-color: rgba(0,0,0,.5);
  padding-top:100px;
}



.videoCustom__popup {
  display: inline-block;
  height: 100%;
  position: relative;
  width: 100%;
  box-shadow: 0 0 30px rgb(0, 0, 0);
  line-height:0;
}

.videoCustom__popup.iframe{
  padding-bottom: 56.25%; 
}

.videoCustom__popup video{
  width:100%;
  height:auto;
}

.videoCustom__popup iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videoCustom__inner{
  max-width:1200px;
  width:100%;
  aspect-ratio:16/9;
  -webkit-aspect-ratio:16/9;
  display:inline-block;
  position:relative;
}

.videoCustom__popupInner{
  max-width:1200px;
  width:100%;
  position:relative;
}

.videoCustom__close:hover{
  opacity:.7;
}
.videoCustom__close{
  position: absolute;
  z-index: 1;
  top: -10px;
  right: -10px;
  background-color: #fff;
  line-height: 0;
  border-radius: 50%;
  cursor: pointer;
}
.videoCustom__close svg{
  width:30px;
  height:30px;
}

.videoCustom__inner img{
  display:block;
  max-width:100%;
  height:100%;
  object-fit: cover;
  -o-object-fit: cover;
  position: absolute;
  bottom: 0;
  z-index: 0;
}

.videoCustom__content{
  margin-bottom:20px;
  max-width:500px;
  color:#fff;
}
.videoCustom__content :is(h1, h2, h3, h4, h5, h6){
  color:#fff;
}

@media (max-width:767px){
  .videoCustom__play svg{
    width:50px;
    height:50px;
  }

  .videoCustom__play{
    padding:30px;
  }
}


@media (max-width:767px){
  {% if module.order_on_mobile == 'img-first' %}
  .image-first>.row-fluid{
    display:flex;
    flex-direction:column
  }
  .image-first>.row-fluid>div:first-child{
    order:2;
  }
  {% endif %}
}


.videoCustom__bubble{
  display: flex;
  width: 300px;
  height: 300px;
  position: absolute;
  background-color: #2d30b6;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  left: -150px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  padding: 20px 45px;
  box-shadow: 10px 4px 104px rgba(0,0,0,.2);
}

@media (max-width:1200px){
  .videoCustom__bubble{
    width: 200px;
    height: 200px;
    left: -100px;
    font-size: 24px;
    padding:25px;
  }
}

@media (max-width:1200px){
  .videoCustom__bubble{
    width: 150px;
    height: 150px;
    font-size: 17px;
    left: -40px;
  }
}


@keyframes animate-pulse{
  0%{
    box-shadow: 0 0 0 0 rgba(, 0.7),  0 0 0 0 rgba(, 0.7);
  }
  40%{
    box-shadow: 0 0 0 10px rgba(, 0.0),  0 0 0 0 rgba(, 0.7);
  }
  80%{
    box-shadow: 0 0 0 10px rgba(, 0.0),  0 0 0 10px rgba(, 0);
  }
  100%{
    box-shadow: 0 0 0 0 rgba(, 0.0,  0 0 0 10px rgba(, 0);
      }

}