.video_popup_module .style-2.video-boxes .video-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  -o-flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  margin-left: -10px;
  margin-right: -10px;
}
.video_popup_module .style-2.video-boxes .video-wrapper .flex-item {
  padding: 10px;
}
.video_popup_module .style-2.video-boxes .video-wrapper .flex-item.column-4 {
  flex-basis: 25%;
  -moz-flex-basis: 25%;
  -webkit-flex-basis: 25%;
  -o-flex-basis: 25%;  
}
.video_popup_module .style-2.video-boxes .video-wrapper .flex-item.column-3 {
  flex-basis: 33.33%;
  -moz-flex-basis: 33.33%;
  -webkit-flex-basis: 33.33%;
  -o-flex-basis: 33.33%;  
}
.video_popup_module .style-2.video-boxes .video-wrapper .flex-item.column-2 {
  flex-basis: 50%;
  -moz-flex-basis: 50%;
  -webkit-flex-basis: 50%;
  -o-flex-basis: 50%;	
}
@media (max-width: 1024px) {
  .video_popup_module .style-2.video-boxes .video-wrapper .flex-item.column-4 {
    flex-basis: 33.33%;
    -moz-flex-basis: 33.33%;
    -webkit-flex-basis: 33.33%;
    -o-flex-basis: 33.33%;		
  }
}
@media (max-width: 768px) {
  .video_popup_module .style-2.video-boxes .video-wrapper .flex-item.column-4,
  .video_popup_module .style-2.video-boxes .video-wrapper .flex-item.column-3 {
    flex-basis: 50%;
    -moz-flex-basis: 50%;
    -webkit-flex-basis: 50%;
    -o-flex-basis: 50%;		
  }
}
@media (max-width: 452px) {
  .video_popup_module .style-2.video-boxes .video-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
  .video_popup_module .style-2.video-boxes .video-wrapper .flex-item {
    flex-basis: 100%!important;
    -moz-flex-basis: 100%!important;
    -webkit-flex-basis: 100%!important;
    -o-flex-basis: 100%!important;
    padding: 0;
    margin-bottom: 20px;
  }
}
.video_popup_module .single-video .video-wrapper{
  display: flex;
  justify-content: center;
}
.video_popup_module .single-video .video__container img,
.video_popup_module .video-boxes .video_box .video_boxes_image img{
  transition: 0.9s;
	display: block;
}
.video_popup_module .single-video .video__container {
  display: inline-block;
  position: relative;
  z-index: 0;
}
.video_popup_module .single-video .overlay,
.video_popup_module .video-boxes .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.video_popup_module .video__btn {
  border-radius: 50%;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.9s;
}
.video_popup_module .video__btn:focus-visible {
  outline: 1px solid #000;
  border-radius: 100%;
}
.video_popup_module .btn-with-title .video__btn-icon {
  display: inline-block;
  width: 17px;
  height: auto;
  position: relative;
}
.video_popup_module .btn-with-title .btn_bg{
  height: 60px;
  background: #023E8A;
  border-radius: 100%;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.9s;
}
@media(max-width: 767px){
  .video_popup_module .btn-with-title .btn_bg{
    margin: 0px auto 20px;
  }
  .video_popup_module .video-wrapper .video_title_container .btn-with-title a{
    text-align: center;
  }
}
.video_popup_module .video-wrapper .video_title_container {
  align-items: center;
  position: static;
  justify-content: center;
}
.video_popup_module .video-wrapper .video_title_container .btn-with-title a{
  align-items: center;
	display: flex;
}

.video_popup_module .single-video a:hover,
.video_popup_module .video-boxes a:hover,
.video_popup_module .single-video a:active,
.video_popup_module .video-boxes a:active,
.video_popup_module .single-video a:focus,
.video_popup_module .video-boxes a:focus{
  color: transparent;
}
.video_popup_module .video__btn::before,
.video_popup_module .video__btn::after {
  border: 8px solid;
}
.video_popup_module .video__btn::after {
  align-items: center;
  animation-delay: 0s;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-name: ripple;
  animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
  border-radius: 50%;
  bottom: 0;
  content: "";
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: -1;
}
.video_popup_module .video__btn::before {
  align-items: center;
  animation-delay: 0.5s;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-name: ripple;
  animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
  border-radius: 100%;
  bottom: 0;
  content: "";
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: -1;
}
@keyframes ripple {
  from {
    opacity: 1;
    transform: scale3d(0.75, 0.75, 1);
  }
  to {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1);
  }
}
.video_popup_module .play-button-wrapper .video__btn:hover{
  transform: translate(-50%,-50%) scale(1.25);
  transition: 0.9s;
}
.video_popup_module .btn-with-title .btn_bg:hover{
  transform: scale(1.25);
}

/* box content */
.video_popup_module .single-video .video__container,
.video_popup_module .video-boxes .video_box .video_boxes_image{
  overflow: hidden;
	position: relative;
}
.video_popup_module .single-video .video__container.video_title_container{
  overflow: visible;
}
.video_popup_module .single-video .video__container:hover img,
.video_popup_module .video-boxes .video_box .video_boxes_image:hover img{
  transform: scale(1.1);
  object-fit: cover;
}

{# Simple fade transition #}
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.2s ease; 
  -moz-transition: all 0.2s ease; 
  transition: all 0.2s ease;
}
.mfp-fade.mfp-bg.mfp-ready {
  transform: scale(1); 
  opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
  transform: scale(0.8); 
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out; 
  -moz-transition: all 0.2s ease-out; 
  transition: all 0.2s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
/* close btn */
.mfp-content button.mfp-close:hover {
  background: transparent;
  color: #FFFFFF;
}

/* style-2 */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute!important;
  width: 1px;
}
*, :after, :before {
    box-sizing: border-box;
}
.video_popup_module .play-button-wrapper .btn_bg,
.video_popup_module .play-button-wrapper .video__btn-icon {
  line-height:0;
}