/**
 * About page style updates
 *
 * To be called after the main about*.css file or 
 * (maybe easier) to have all style updates called last
 *
 */

  .about .page-bottom.page-banner-slider {
    min-height: 500px;
    max-height: 500px;
    height: 100%;
    /*background-image: url(<?php echo($about_page_bottom_banner);?>);*/
    background-repeat: no-repeat;
    background-size: cover;
  }
  section.row.about {
    overflow-x: hidden;
    overscroll-behavior-x: contain;
    margin-top: -120px;
  }
  .about-work .text figcaption {
    width: 100% !important;
  }
  .img-article-deco {
    max-height: 400px;
  }
  @media only screen and (max-width: 1600px) {
    .about .text-overlay-image-center {
      top: 62.5%;
      left: 15%;
      right: 15%;
    }
    .about .banner-text-shifted p {
      padding-right: 0;
    }
  }
  @media only screen and (max-width: 1280px) {
    section.row.about {
      margin-top: -60px;
    }
    .gallery-container {
      max-width: 1140px;
    }
    .about .page__banner--bottom,
    .about .page__banner--bottom h2,
    .about .banner-text-shifted p {
      text-align: center;
    }
    .about .banner-text-shifted p {
      padding-right: 5%;
      padding-left: 5%;
    }
    .img-article-deco {
      max-height: 350px;
    }
    .about .section__theme .text {
      padding: 60px 30px;
      padding-bottom: 125px;
    }
  }
  @media only screen and (max-width: 1024px) {
    header.jumbotron {
      min-height: 260px !important;
      max-height: 375px !important;
    }
    section.row.about {
      margin-top: -50px;
    }
    .img-article-deco {
      max-height: 325px;
      height: 100%;
      object-fit: cover;
    }
    .gallery-container {
	max-width: 100%;
    }
    .section__theme .text p {
      font-size: 14px;
      line-height: 28px;
    }
    .about .text-overlay-image-center {
      max-width: 90%;
      width: 100%;
      min-height: unset !important;
      height: auto;
      top: 35%;
      left: 5%;
      right: 5%;
      transform: translate3d( 0, 15%, 0 );
    }
    .about .page__banner--bottom h2 {
     font-size: 35px;
      line-height: inherit;
      text-align: center;
      font-weight: 600;
    }
    .about .page__banner--bottom .banner-text-shifted,
    .about .page__banner--bottom .banner-text-shifted p {
      padding-left: 5%;
      padding-right: 5%;
      text-align: center;
    }
  }
  @media only screen and (max-width: 992px) {
    .about-profiles .header-content {
      padding-top: 30px;
      padding-bottom: 30px;
    }
    .about-work .text figcaption {
      width: 100% !important;
    }
    .about .page-bottom.page-banner-slider {
      min-height: 375px;
      max-height: 375px;
      height: 100%;
    }
    section.row.about {
      margin-top: 0;
    }
    .about-profiles .image {
      text-align:center!important;
      height: auto;
      align-self: center;
    }
    .about .page-bottom.page-banner-slider,
    .about .page-bottom.page-banner-slider .page__banner--bottom  {
      min-height: 250px !important;
      max-height: 250px !important;
    }
  }
  @media only screen and (max-width: 768px) {
    .about .section__theme .text {
      padding-top: 30px;
      padding-bottom: 170px !important;
    }
    .about-feature-decoImg {
      margin-top: -170px;
      padding-left: 30px !important;
      padding-right: 30px !important;
    }
    .about-feature-decoImg>img.img-fluid {
      max-height: 340px;
    }
    .section__theme h1.title {
      font-size: 20px !important;
    }
    .section__theme h2.subtitle {
      font-size: 14px !important;
    }
    .section__theme .text p {
      font-size: 15px;
      line-height: 29px;
    }
    .about-work .section__theme .text p {
      font-size: 13px;
      line-height: 24px;
    }
    section.row.about-profiles [class*=section__theme] .image,
    section.row.about-profiles [class*=section__theme] .text {
      padding-top: 30px;
      padding-bottom: 30px;
    }
    .about .text-overlay-image-center {
      top: 25%;
      transform: none;
    }
    .about .page__banner--bottom h2 {
      font-size: 27px;
      line-height: inherit;
      text-align: center;
      font-weight: 600;
    }
    .about .page-bottom.page-banner-slider {
      background-size: cover;
      /*background-image: url(<?php echo($about_page_bottom_banner_mobile);?>);*/
    }
    .about .text .no-wrap {
      padding-bottom: 150px !important;
    }
    .mt-n5.px-4 {
      margin-top: -5rem!important;
    }
  }
  @media only screen and (max-width: 576px) {
    .about-feature-decoImg {
      margin-top: -190px;
    }
    .about .section__theme .text {
      padding-bottom: 100px !important;
    }
  }
