/**
 * CSS for displaying videos
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage pollogen
 * @since pollogen 1.0
 */
 .section_videos {
   position: relative;
   width: 100%;
   background-position: center top;/*center;*/
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: fixed;
   padding:40px 0;
 }
 .section_videos .title_box,
 .section_videos .title_box * {
   color: #000;
   font-size: 55px;
   font-weight: 400;
   letter-spacing: 7.5px;
   line-height: 1.24;
   text-align: center;
   text-transform: uppercase;
 }
 .section_videos .flex_wrapper {
   width: 100%;
   height: 432px;
   display: flex;
   flex-wrap: nowrap;
   justify-content: center;
   margin: 0px auto;
   /* overflow: hidden; */
}
.section_videos .main_image {
  width: 72%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}
.section_videos .tag {
  height: 30px;
  width: 92px;
  background-color: #000;
  position: absolute;
  z-index: 2;
  right: 0;
  top: 2.1vw;
}
.section_videos .tag .txt {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.58px;
  line-height: 15px;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.section_videos .main_image .video_item {
  height: 100%;
  /* overflow: hidden; */
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.section_videos .main_image .video_item .video_icon_wrapper {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.section_videos .main_image .video_item .video_link.vid_btn {
  width: 100px;
  height: 100px;
  cursor: pointer;
}
.section_videos .small_images_wrapper {
  width: 17%;
  margin-right: 1%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}
.section_videos .small_images_wrapper:not(.small_active) {
  display: none;
}
.section_videos .small_images_wrapper .video_item {
  width: 100%;
  height: 137px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.5;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}
.section_videos .small_images_wrapper .video_item.active {
  opacity: 1;
}
.section_videos .small_images_wrapper .tag {
  top: 1.4vw;
}
.section_videos .small_images_wrapper .video_link.vid_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  display: block;
  cursor: pointer;
  z-index: 2;
}
.section_videos .small_images_wrapper .video_link.vid_btn img {
  width: 65px;
  height: auto;
  min-height: 100%;
  max-height: 100%;
}
.video_link.vid_btn {
  background: black;
}
.section_videos .iframe_wrapper,
.section_videos .iframe_wrapper iframe {
  width: 100%;
  height: 100%;
}
.section_videos .iframe_wrapper iframe {
  background: #000;
}
.section_videos .hidethis {
  display: none;
}
.image_wrapper.playing iframe{
  padding: 20px;
  /* background: #fff; */
}
.closevideo {
  position: absolute;
    top: -10px;
    font-size: 16px;
    color: #000;
    background: #fff;
    width: 25px;
    height: 25px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #000;
    right: -10px;
    cursor: pointer;
}
.image_wrapper.playing .closevideo {
  right: 10px;
  top: 10px;
  z-index: 2;
}
@media only screen and  (max-width: 990px) {
  .section_videos {
    padding: 40px 0;
  }
  .section_videos .tag {
    width: 72px;
  }
  .section_videos .tag .txt {
    font-size: 10px;
    line-height: 13px;
  }
  .section_videos .title_box, .section_videos .title_box * {
    font-size: 35px;
    line-height: 41px;
    letter-spacing: 4.77px;
    margin-bottom: 20px;
  }
  .section_videos .main_image {
    width: 100%;
    margin-bottom: 5px;
    background-size: cover;
    height: 350px;
    background-position: center;
  }

  .section_videos .flex_wrapper {
    flex-direction: column;
    height: auto;
  }
  .section_videos .small_images_wrapper {
    width: 100%;
    float: unset;
    justify-content: space-between;
    margin-right: unset;
  }
  .section_videos .small_images_wrapper .video_item {
    height: 20vw;
    width: 31%;
  }
  .section_videos .main_image .video_item .video_link.vid_btn {
    width: 60px;
    height: 60px;
  }
  .section_video iframe {
    height: 350px;
  }
  .image_wrapper.playing iframe{
    padding: 10px;
  }
}
