/* Start Hero Banner Section Layout CSS Here */
.ontario-hero-banner{
    background-color: #1A1A1A;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 138px 0 138px;
    margin-bottom: 150px;
}
.ontario-row--margin-bottom {
    margin-bottom: -250px;
}
.ontario-hero-banner__heading{
    margin-top: 0;
    margin-bottom: 0;
}
.ontario-hero-banner__heading--white{
    color: #FFFFFF;
}
.ontario-hero-banner__heading--text-shadow{
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.ontario-hero-banner__search {
    background: #ffffff;
    padding: 28px 34px;
    max-width: 640px;
    border-radius: 6px;
}
.ontario-hero-banner__search-heading{
    color: #1A1A1A;
}
.ontario-hero-banner__search-text,
.ontario-hero-banner__search-link {
    font-family: "Open Sans",sans-serif;
    color: #1A1A1A;
    font-weight: 600;
    font-size: 14.48px;
    line-height: 23.17px;
}
.ontario-hero-banner__search-link a{
    font-weight: 600;
    color: #0066CC;
    text-decoration: underline;
}
.ontario-hero-banner__search-button{
    background-color: #06c;
    color: #fff;
    width: auto;
}
.ontario-hero-banner__caption {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ffffff;
    max-width: 270px;
}
.ontario-hero-banner__caption svg {
    margin-top: 5px;
}
.ontario-hero-banner__caption p span {
    font-weight: 400;
    font-size: 10.86px;
    line-height: 16.29px;
}
.ontario-hero-banner__caption p {
    width: calc(100% - 17px);
}
.ontario-row--bottom-content{
    display: flex;
    align-items: flex-end;
}
@media only screen and (min-width: 40.063em) and (max-width: 73em){
    .ontario-hero-banner{
        padding: 80px;
        margin-bottom: 300px;
    }
    .ontario-row--bottom-content{
        margin-top: 56px;
        align-items: center;
        margin-left: -80px;
        margin-right: -80px;
        width: calc(100% + 160px);
        max-width: calc(100% + 160px);
    }
    .ontario-row--margin-bottom{
        margin-bottom: -300px;
    }
    .ontario-hero-banner__content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}
@media only screen and (min-width: 641px) and (max-width: 754px) {
    .ontario-row--margin-bottom{
        margin-bottom: -340px;
    }
}
@media only screen and (min-width: 40.063em){
    .ontario-hero-banner__image img{
        display: none;
    }
}
@media only screen and (max-width: 40em){
    .ontario-hero-banner{
        background-image: none;
        padding: 30px 0 30px;
        margin-bottom: 0;
    }
    .ontario-hero-banner__heading{
        margin-bottom: 30px;
    }
    .ontario-row--margin-bottom{
        margin-bottom: 0;
    }
    .ontario-row--bottom-content{
        flex-direction: column;
    }
    .ontario-row--bottom-content .ontario-columns {
        padding-left: 0;
        padding-right: 0;
    }
    .ontario-hero-banner__image img {
        max-width: 100%;
        height: auto;
    }
    .ontario-hero-banner__caption {
        padding: 10px 16px 30px;
        max-width: 100%;
    }
    .ontario-hero-banner__search {
        border-radius: 0;
        padding: 20px 20px 20px 15px;
    }
}
/* End Hero Banner Section Layout CSS Here */
