.hero-section2 {
    height: auto;
    text-align: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

.hero-section2 {
    background: 50% no-repeat;
    background-size: cover;
}

.hero-section2 .row {
    flex-grow: 1;
}

_:-ms-fullscreen, :root .hero-section2 .row:first-of-type {
    margin: 0;
    width: 100%;
}

.hero-section2.hero-left .row
{
    display: flex;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
    align-items: center;
}

@media screen\0 {
    .hero-section2.hero-left .row
    {
        display: flex;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: flex-start;
        justify-content: flex-start;
        align-items: center;
        max-width: 90vw;
    }
}

.hero-section2.hero-right .row
{
    display: flex;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    align-items: center;
}

/* hero heights - override these to change hero heights depending on site styles */
.hero-section2.standardHeight
{
    height: 40vh;
}

.hero-section2.expandedHeight
{
    height: 50vh;
}

.hero-section2.extraTallHeight
{
    height: 80vh;
}

.mgnlEditor ~ .hero-section2.expandedHeight,
.mgnlEditor ~ .hero-section2.standardHeight,
.mgnlEditor ~ .hero-section2.extraTallHeight
{
    height: auto;
}

.hero-section2 .hero-section-text {
  color: #fefefe;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.hero-section2.hero-right .hero-section-text{
  color: #fefefe;
  text-align: left;
  margin-right: 0;
  padding-right: 0;
  z-index: 50;
}

.hero-section2.hero-left .hero-section-text{
  color: #fefefe;
  text-align: left;
  /* margin-left: 2rem; */
  z-index: 50;
}

.hero-section2 .hero-section-text h1
{
  line-height: 3.8rem;
  margin-bottom: 0.8rem;
}

.hero-section2 .hero-section-text p
{
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-weight:300;
}

/* lensOverlay css */
/*.hero-section2.lensOverlay
{
    padding: 0;
}*/

.hero-section2.lensOverlay .row
{
    height: 100%;
    padding: 0;
    margin: 0;
    max-width: 100vw;
}
.hero-section2.lensOverlay .hero-section-text
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(244, 245, 245, 0.7);
    background: rgba(244, 245, 245, 0.7);
    color: rgba(244, 245, 245, 0.7);
    height: auto;
    width: 45%;
    padding: 2rem 3rem 1rem 2rem;
    margin-left: 0;
    margin-right: 0;
}

.hero-section2.lensOverlay .hero-section-text h1,
.hero-section2.lensOverlay .hero-section-text h2,
.hero-section2.lensOverlay .hero-section-text h3,
.hero-section2.lensOverlay .hero-section-text p
{
    color: #003046;
}

.hero-section2.lensOverlay .hero-section-text p
{
    line-height: 2.1;
    margin-bottom: 2rem;
}

.show-for-small-and-medium
{
    display: none;
}

/* full height lensOverlay css */

/* .hero-section2 .heroFullHeightLensOverlay
{
    padding: 0;
} */

/* .hero-section2.lensOverlay .row
{
    height: 100%;
    padding: 0;
    margin: 0;
    max-width: 100vw;
} */

.hero-section2 .fullHeightLensOverlay
{
    display: flex;
    position:absolute;
    top: 0;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 50%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    z-index: 10;
}

.hero-section2.hero-right .fullHeightLensOverlay {
    right: 0;
}

.hero-section2.hero-left .fullHeightLensOverlay {
    left: 0;
}

.hero-section2.hasfullHeightLensOverlay .hero-section-text h1,
.hero-section2.hasfullHeightLensOverlay .hero-section-text h2,
.hero-section2.hasfullHeightLensOverlay .hero-section-text h3,
.hero-section2.hasfullHeightLensOverlay .hero-section-text p
{
    color: white;
}

.hero-section2.hasfullHeightLensOverlay .hero-section-text p
{
    line-height: 2.1;
    margin-bottom: 2rem;
}

/*** small screen ***/
@media screen and (max-width: 39.9375em)
{
    .hero-section2 {
        height: 30vh !important;
    }

    .hero-section2.hero-right .hero-section-text {
        color: #fefefe;
        margin-right: 1rem;
        margin-top: 0rem;
    }

    .hero-section2 .hero-section-text > h1 {
        line-height: 2.2rem;
        margin-bottom: 0.8rem;
        font-size:1.8rem;
    }

    .hero-section2 .hero-section-text > p
    {
      color: #000;
      font-size: 1rem;
      line-height: 1.4rem;
      font-weight:300;
    }

    .hero-section2.section-margin {
        margin-bottom: 0 !important;
    }

    .hero-section-text-mobile
    {
        float: left;
        margin-bottom: 1.5rem;
    }

    .hero-section2.maintainHeroTextOverImage,
    .hero-section2.maintainHeroTextOverImage .row
    {
        height: auto !important;
    }

    .hero-section2.maintainHeroTextOverImage .hero-section-text
    {
        display: flex !important;
    }

    .hero-section-text-mobile.maintainHeroTextOverImage
    {
        display: none !important;
    }

    .hero-section2.hero-left.maintainHeroTextOverImage .hero-section-text,
    .hero-section2.hero-right.maintainHeroTextOverImage .hero-section-text
    {
        width: 100%;
        max-height: unset !important;
        height: auto;
    }

    .hero-section2.hero-left .fullHeightLensOverlay,
    .hero-section2.hero-right .fullHeightLensOverlay
    {
      display: none;
    }

    .hero-section-text-mobile.show-for-small-and-medium
    {
        display: flex;
    }

}

@media screen and (max-width: 39.9375em) and (orientation: landscape)
{
    .hero-section2 {
        height: 55vh !important;
    }

}

/*** small tablets and some phones in landscape ***/
@media screen and (min-width: 40em) and (max-width: 63.9375em)
{
    .hero-section2
    {
        padding: 1rem 0;
    }

    .hero-section2.hero-right .hero-section-text {
        margin-right: 1rem;
        margin-top: 0rem;
    }

    .hero-section2 .hero-section-text > h1 {
        line-height: 2.2rem;
        margin-bottom: 0.8rem;
        font-size:2rem;
    }

    /* .hero-section2.hero-left {
        background-position: 50%;
    }*/

    .hero-section2.hero-right {
        background-position: 25%;
    }

    .hero-section2.hero-right .hero-section-text {
        margin: 0;
        /* padding-right: 0; */
    }

    /* .hero-section2.standardHeight, .hero-section2.expandedHeight, .hero-section2.extraTallHeight
    {
        height: auto !important;
    } */

    .hero-section2 .hero-section-text > p
    {
        font-size: 1rem;
        line-height: 1.4rem;
    }

    .hero-section2.maintainHeroTextOverImage,
    .hero-section2.maintainHeroTextOverImage .row
    {
        height: auto !important;
    }

    .hero-section2.maintainHeroTextOverImage .hero-section-text
    {
        display: flex !important;
    }

    .hero-section-text-mobile.maintainHeroTextOverImage
    {
        display: none !important;
    }

    .hero-section2.hero-left.maintainHeroTextOverImage .hero-section-text,
    .hero-section2.hero-right.maintainHeroTextOverImage .hero-section-text
    {
        width: 100%;
        max-height: unset !important;
        height: auto !important;
    }

    .hero-section2.hero-left .fullHeightLensOverlay,
    .hero-section2.hero-right .fullHeightLensOverlay
    {
      display: none;
    }

}

@media screen and (max-width: 63.9375em) {

    .hero-section2
    {
        min-height: 30vh;
        margin-bottom: 0.5rem;
    }

    .show-for-small-and-medium
    {
        display: block;
    }

}

/*** ipad pro size in portrait ***/
@media screen and (min-width: 63.9375em) and (orientation:portrait)
{
    .hero-section2.extraTallHeight
    {
        height: 40vh;
    }

    .hero-section2.standardHeight, .hero-section2.expandedHeight
    {
        height: auto !important;
        min-height: 20vh;
    }

    .hero-section2.hasfullHeightLensOverlay .hero-section-text p
    {
        line-height: 1.4;
    }

}

/*** ipad pro size in portrait ***/
@media screen and (min-width: 63.9375em) and (orientation:landscape)
{
    .hero-section2.hasfullHeightLensOverlay .hero-section-text p {
        line-height: 1.4;
        margin-bottom: 2rem;
    }

    .hero-section-text h2 {
        font-size: 2.3rem;
        font-weight: 400;
        line-height: 2.6rem;
        font-style: normal;
    }

    .hero-section2.hasfullHeightLensOverlay .hero-section-text h2
    {
        color: white;
        font-size: 2.3rem;
        font-weight: 400;
        line-height: 2.6rem;
        font-style: normal;
    }

}
