/**
 * CSS for displaying text area with/without an image
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage pollogen
 * @since pollogen 1.0
 */
 .section_text_area {
   position: relative;
   width: 100%;
   background-position: center top;/*center;*/
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: fixed;
   padding:40px 0;
   box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
 }

.section_text_area .item_title {
    font-size: 20px;
    letter-spacing: 0.97px;
    line-height: 32px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section_text_area .item_desc {
  margin-bottom: 1.2vw;
  margin-top: 1.4vw;
}
.section_text_area .text_area_wrapper {
  position: relative;
  margin-top: 0px;
  display: flex;
}
.section_text_area .text_area_wrapper.image_top {
  margin-top: 20px;
}
.section_text_area .text_area_wrapper:not(.image_top) {
  align-items: center;
}
.section_text_area .text_area_wrapper.column-direction-flex {
  align-items: center;
}
.section_text_area .text_area_wrapper:not(.image_top) .image_wrapper {
  align-items: center;
  margin-top: 6px;
}
.section_text_area .text_area_wrapper >div  {
  padding-bottom: 30px;
  flex: 1;
  padding: 0 20px;
  width: 100%;
}
.section_text_area .text_area_wrapper.video {
  position: relative;
}
.section_text_area .text_area_wrapper.video .text_wrapper {
  width: 50%;
  max-width: 50%;
}
.section_text_area .text_area_wrapper.video .image_wrapper.playing {
  position: absolute;
    right: 0;
    min-width: 100%;
    min-height: 525px;
    height: 80vh;
    z-index: 1;
}
.section_text_area .text_area_wrapper.video .image_wrapper.playing .dt_view,
.section_text_area .text_area_wrapper.video .image_wrapper.playing .section_videos,
.section_text_area .text_area_wrapper.video .image_wrapper.playing .section_videos .flex_wrapper,
.section_text_area .text_area_wrapper.video .image_wrapper.playing .section_videos .main_image {
  height: 100%;
}
.section_text_area .text_box {
  width:88%;
  margin: 0 auto;
}
.section_text_area .image_top .image_wrapper {
  margin-top: -150px;
  position: relative;

}
.section_text_area .image_wrapper {
  width: 43%;
  max-width: 43%;
  transition: all 0.4s ease-in-out;
}
.section_text_area .image_wrapper .dt_view {
  width: 100%;
  overflow: hidden;
}
.section_text_area .column-direction-flex .image_wrapper .dt_view {
  overflow: unset;
}
.section_text_area .image_wrapper img {
  max-width: 100%;
  transition: all 0.4s ease-in-out;
  max-height: 350px;
  width: auto;
}
.section_text_area .image_wrapper img.unset_image_max_hight {
  max-height:unset;
}
.section_text_area .image_top .image_wrapper .dt_view img:hover {
  transform: scale(1.1);
}
.section_text_area .text_area_wrapper.column-reverse-flex {
  flex-direction: row-reverse;
}
.section_text_area .text_area_wrapper.column-direction-flex {
  flex-direction: column;
}
.section_text_area .column-direction-flex .image_wrapper {
  width: 900px;
  max-width: 100%;
}
.section_text_area .column-direction-flex .image_wrapper img{
  height: 250px;
  width: auto !important;
}
.section_text_area .column-direction-flex .single_img_wrapper {
  margin: 10px auto;
  display: flex;
  justify-content: center;
}

.grid_row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.grid_column {
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid_column img {
  margin-top: 8px;
  vertical-align: middle;
  width: fit-content !important;
}
.section_text_area .section_videos .main_image {
  width: 100%;
  background-size: cover;
}
.section_text_area .section_videos .flex_wrapper {
  height: 350px;
}
.section_text_area .section_videos .main_image .video_item .video_link.vid_btn {
  width:100px;
  height: 100px;
}
.section_text_area .hidethis {
  display: none;
}
.section_text_area .commentaries {
  margin-top: 30px;
  font-size: .7rem;
  line-height: 1.1rem;
}
/* .section_text_area .text_area_wrapper:not(.image_top) .image_wrapper:hover {
  transform: scale(1.1);
} */
@media only screen and  (max-width: 990px) {
  .section_text_area  {
    padding: 40px 0;
  }
  .section_text_area .text_area_wrapper {
    flex-direction: column;
    margin-top: 0;
  }
  .section_text_area .text_area_wrapper.column-reverse-flex {
    flex-direction: column-reverse;
  }
  .section_text_area .text_area_wrapper >div {
    padding: 0;
  }
  .section_text_area .text_box {
    width: 100%;
  }
  .section_text_area .item_title {
    font-size: 18px;
    line-height: 24px;
  }
  .section_text_area .item_desc {
    font-size: 16px;
  }
  .section_text_area .section_videos {
    padding: 0;
  }
  .section_text_area .section_videos iframe {
    height: 350px;
  }
  .section_text_area .section_videos .main_image {
    height: 100%;
  }
  .section_text_area .image_wrapper, .section_text_area .image_top .image_wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
  }
  .section_text_area .image_wrapper .mb_view {
    /* height: 75vw; */
  }
  .grid_column {
    flex: 50%;
    max-width: 50%;
  }
  .section_text_area .text_area_wrapper.video .text_wrapper {
    width: 100%;
    max-width: 100%;
  }
  .section_text_area .text_area_wrapper.video .image_wrapper.playing {
    position: relative;
    min-height: unset;
    height: 350px;
  }
  .section_text_area .column-direction-flex .image_wrapper .dt_view  {
    display: block;

  }
  .section_text_area .commentaries {
    text-align: justify;
  }
}
@media (max-width:768px) {
  .grid_column {
    flex: 100%;
    max-width: 100%;
  }
}
