/*** hero marquee 3 css ***/

/* utility */
.vertical-top
{
    align-items: flex-start;
}

.vertical-center
{
    align-items: center;
}

.vertical-bottom
{
    align-items: flex-end;
}

.hero-section-text.self-vertical-top .paragraphBlock
{
    align-self: flex-start;
}

.hero-section-text.self-vertical-center .paragraphBlock
{
    align-self: center;
}

.hero-section-text.self-vertical-bottom .paragraphBlock
{
    align-self: flex-end;
}

.align-left
{
    justify-content: flex-start !important;
}

.align-right
{
    justify-content: flex-end !important;
}

.align-center
{
    justify-content: center !important;
}

.padding-1rem
{
    padding: 1rem;
}

.padding-2rem
{
    padding: 2rem;
}

.padding-3rem
{
    padding: 3rem;
}

/* hero styles */
.hero-section3 .hero-container
{
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
    min-height: 500px;
}

.hero-section3 .hero-image
{
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
}

.hero-section3 .hero-section-text
{
    position: absolute;
    display: flex;
    justify-content: center;
    /* margin: 2rem 0; */
    padding: 2rem 3rem 2rem 0;
    z-index: 1;
}

.hero-section3 .hero-section-text h1
{
    margin-bottom: 0.8rem;
}

.hero-section3 .hero-section-text .paragraphBlock
{
    height: auto;
}

.hero-section3 .lensOverlay
{
    background: rgba(255,255,255,0.7);
}

.align-center .lensOverlay
{
    border-radius: 0.2rem;
}

.align-right .lensOverlay
{
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.align-left .lensOverlay
{
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}

.hero-section3  .hasfullHeightLensOverlay
{
    height: 100%;
    width: 50%;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 2.0625rem 2rem 3.0625em;
}

.hero-section3 .hasfullHeightLensOverlay
{
    color: white;
    position: absolute;
    z-index: 5;
}

.hero-section3 .hero-section-text.hasfullHeightLensOverlay
{
    margin: 0;
}

.hero-container.align-center.vertical-center .hero-section-text,
.hero-container.align-center.vertical-top .hero-section-text,
.hero-container.align-center.vertical-bottom .hero-section-text
{
    text-align: center;
    padding: 2rem 3rem;

}

.hero-section3 .hero-container .row
{
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.hero-container .row .hero-section-text
{
    padding-left: 0;
    padding-right: 0;
}


/***** MEDIA QUIRIES START HERE ******/

/* Landscape - large ipad pros */
@media only screen and (max-width: 1366px) and (orientation: landscape) {

    /*** stacked Hero CSS */
    .hero-section3 .stackHero .hasfullHeightLensOverlay
    {
        display: none;
    }

    .hero-section3 .hero-container.stackHero
    {
        flex-direction: column;
    }

    .hero-section3 .hero-container.stackHero .row
    {
      flex-direction: column;
      position: relative;
      width: 100%;
      align-items: flex-start;
    }

    .hero-section3 .hero-container.stackHero .hero-section-text {
        padding: 0;
        position: relative;
        width: 95%;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 0;
    }

    .hero-section3 .hero-container.stackHero .row h1,
    .hero-section3 .hero-container.stackHero .row p
    {
        color: #003046;
    }



}

/*--- SMALL and MEDIUM only --------------------------------------------- */
@media screen and (max-width: 64em)
{
    .hero-section3 .hero-container
    {
        flex-direction: row;
        position: relative;
        width: 100%;
    }

    .hero-section3 .hero-container .row
    {
        flex-direction: column;
        position: relative;
        width: 100%;
    }

    .hero-section3 .hero-section-text
    {
        padding: 1rem 0;
        position: absolute;
        /* width: 100%; */
        align-items: flex-start;
        justify-content: flex-start;
        margin: 0;
    }

    .lensOverlay,
    .hasfullHeightLensOverlay
    {
        /* width: 100%;
        background: unset;
        color: unset; */
        display: none;
    }

    .vertical-top,
    .vertical-center,
    .vertical-bottom
    {
        align-items: flex-start;
    }
    
    .vertical-center
    {
        align-items: center;
    }

    .maintainHeroTextOverImage img
    {
        display: none;
    }

    .maintainHeroTextOverImage .hero-section-text
    {
        background-size: cover;
        width: 100%;
    }
    
    .heroTestimonial .hero-container.maintainHeroTextOverImage .hero-section-text h2,
    .heroTestimonial .hero-container.maintainHeroTextOverImage .hero-section-text h3
    {
        font-size: 28px;
    }

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

    .hero-container .row .hero-section-text
    {
        padding: 0;
    }

}

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

    .hero-section3 .hero-container {
      flex-direction: column;
      position: relative;
    }

    .hero-section3 .hero-section-text {
        position: relative;
    }

}

/*--- tablet only --------------------------------------------- */
@media screen and (min-width: 40em) and (max-width: 63.9375em)
{
    .hero-section3 .hero-section-text.maintainHeroTextOverImageTablet
    {
        position: absolute;
    }

    .hero-section3 .hero-section-text.maintainHeroTextOverImageTablet h1,
    .hero-section3 .hero-section-text.maintainHeroTextOverImageTablet p
    {
        color: #fff;
    }

}

/*------------------- MEDIUM and UP (min-width: 640px) ------------- */
@media screen and (min-width: 40em) {
    .hero-section3 .lensOverlay {
        width: 50%;
    }
}

/*--- large only --------------------------------------------- */
@media screen and (min-width: 64.01em)
{
    .maintainHeroTextOverImage .hero-section-text
    {
        background-image: none !important;
    }

    .hero-section3.sectionHasFullHeightOverlay .hero-section-text h1,
    .hero-section3.sectionHasFullHeightOverlay .hero-section-text h2,
    .hero-section3.sectionHasFullHeightOverlay .hero-section-text h3,
    .hero-section3.sectionHasFullHeightOverlay .hero-section-text p
    {
        color: #fff;
    }

}
