﻿.heroImage
{
    overflow: hidden;
    position: relative;
}
.heroImage__image
{
    height: auto;
    max-height: 400px;
    min-height: 320px;
    object-fit: cover;
    width: 100%;
}
.heroImage__child
{
    max-height: 100%;
    overflow: visible;
}
.heroImage__overlay--bottom .heroImage__child
{
    max-width: calc(50% - var(--sidePadding) * 2);
}
.heroImage__overlay--left.rounded .heroImage__child>:first-child, .heroImage__overlay--right.rounded .heroImage__child>:first-child
{
    margin-top: 4%;
}
.heroImage__child::-webkit-scrollbar
{
    display: none;
}
.heroImage__image--withOverlay
{
    width: 55%;
    width: calc(47.5% + var(--sidePadding) / 2);
}
.heroImage--bottom .heroImage__image--withOverlay, .heroImage--top .heroImage__image--withOverlay
{
    width: 100%;
}
.heroImage--bottom .jumbotron__CTA.buttonBase
{
    font-size: 26px;
}
.heroImage--left .heroImage__image--withOverlay
{
    margin-left: auto;
}
.heroImage__overlay
{
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    position: absolute;
    top: 0;
    width: 70%;
}
.heroImage__overlay.rounded
{
    border-radius: 150px/1000px;
}
.heroImage__overlay--top
{
    top: 0;
}
.heroImage__overlay--top.rounded
{
    border-radius: 0 0 30% 30%;
}
.heroImage__overlay--bottom
{
    bottom: 0;
}
.heroImage__overlay--right:not(.rounded) .heroImage__child
{
    padding: 4% 0;
}
.heroImage__overlay--bottom .heroImage__child
{
    padding: var(--sidePadding) 0;
}
.heroImage__overlay--bottom
{
    height: auto;
    justify-content: center;
    left: -50%;
    margin-bottom: -25px;
    margin-top: -25px;
    min-height: 43%;
    padding-bottom: 20px;
    padding-top: 0;
    position: relative;
    top: auto;
    width: 200%;
}
.heroImage__overlay--bottom.rounded
{
    border-radius: 100%/100%;
    box-shadow: inset 0 3px 0 0 #fff,0 -3px 10px -3px #0000004d;
}
.heroImage__overlay--left
{
    left: 0;
    padding-right: 20%;
}
.heroImage__overlay::-webkit-scrollbar
{
    display: none;
}
.heroImage__overlay--left, .heroImage__overlay--right
{
    min-width: 470px;
}
.heroImage__overlay--left
{
    height: calc(100% + var(--sidePadding) * 2);
    left: calc(var(--sidePadding) * -1);
    max-height: none;
    padding: var(--sidePadding) 5% var(--sidePadding) calc(var(--sidePadding) * 2);
    top: calc(var(--sidePadding) * -1);
    width: calc(50% + var(--sidePadding) * 2);
}
.heroImage__overlay--left.rounded
{
    box-shadow: inset -3px 0 0 0 #fff,3px 0 10px -3px #0000004d;
}
.heroImage__overlay--left .heroImage__child
{
    margin-left: auto;
    max-width: calc(var(--maxWidth) / 2 + var(--sidePadding) * 2 / 2 - 2.5% - var(--sidePadding));
}
.heroImage__overlay--right
{
    height: calc(100% + var(--sidePadding) * 2);
    max-height: none;
    padding-left: 20%;
    padding: calc(1% + var(--sidePadding)) calc(var(--sidePadding) * 2) calc(1% + var(--sidePadding)) 5%;
    right: 0;
    right: calc(var(--sidePadding) * -1);
    top: calc(var(--sidePadding) * -1);
    width: calc(50% + var(--sidePadding) * 2);
}
.heroImage__overlay--right:not(.rounded)
{
    max-height: 100%;
    padding-bottom: 0;
    padding-left: 25%;
    padding-top: 0;
    top: 0;
    width: calc(75% + var(--sidePadding) * 2);
}
.heroImage__overlay--right.rounded
{
    box-shadow: inset 3px 0 0 0 #fff,-3px 0 10px -3px #0000004d;
}
.heroImage__overlay--right .heroImage__child
{
    margin-right: auto;
    max-width: calc(1.5% + var(--maxWidth) / 2 + var(--sidePadding) * 2 / 2);
}
.heroImage__overlay .jumbotron .jumbotron__title
{
    font-size: calc(1.6em + .625vw);
    margin-top: calc(20px - 1%);
}
.heroImage .jumbotron__footer
{
    font-size: 12px;
    margin-top: 27px;
    text-align: right;
}
.heroImage .jumbotron__footer a
{
    color: inherit;
    white-space: nowrap;
}
.heroImage--bottom .jumbotron__footer
{
    font-size: 11px;
    text-align: left;
}
@media(max-width: 570px)
{
    .heroImage--left
    {
        display: flex;
        flex-direction: column-reverse;
        height: 100%;
    }
    .heroImage .jumbotron__footer
    {
        font-size: 8px;
        margin-top: 10px;
    }
    .heroImage__overlay--left
    {
        padding-right: 0;
    }
    .heroImage__overlay
    {
        position: relative;
    }
    .heroImage__overlay--left:not(.rounded) .heroImage__child
    {
        margin-right: auto;
    }
    .heroImage--left .heroImage__overlay.rounded
    {
        border-radius: 100%/100%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-shadow: inset 0 -3px 0 0 #fff,3px 0 10px -3px #0000004d;
        height: auto;
        justify-content: center;
        left: -50%;
        margin-bottom: -20px;
        margin-top: -20px;
        min-height: 43%;
        padding-bottom: 0;
        padding-left: var(--sidePadding);
        padding-right: var(--sidePadding);
        padding-top: 20px;
        position: relative;
        top: 3px;
        width: 200%;
    }
    .heroImage__overlay--left.rounded .heroImage__child
    {
        align-items: center;
        margin-left: 0;
        max-width: calc(50% - var(--sidePadding));
        padding-bottom: 30px;
    }
    .heroImage__image--withOverlay
    {
        width: 100%;
    }
    .heroImage__overlay--left.heroImage__overlay--left, .heroImage__overlay--right.heroImage__overlay--right
    {
        min-width: calc(100% + var(--sidePadding));
    }
    .heroImage__overlay--left.heroImage__overlay--left:not(.rounded), .heroImage__overlay--right.heroImage__overlay--right:not(.rounded)
    {
        left: 0;
        min-width: 100%;
        padding-left: var(--sidePadding);
        padding-right: var(--sidePadding);
    }
    .heroImage__overlay--right .heroImage__child
    {
        margin-right: auto;
        max-width: none;
    }
}