/* Homepage Boxes
-------------------------------------------------------------------*/
.hem-box h3 {
    font-size: 3rem;
    padding: 0;
    line-height: 1;
    margin: .75em 0;
}

.hem-box h3.grid-title {
    font-size: 2rem;
}

.hem-box h3:after {
    content: '';
    width: 150px;
    height: 2px;
    display: block;
    margin: 15px auto 0 0;
    background-color: var(--brand-dark);
}

.hem-box p {
    margin: 0 0 1em 0;
    padding: 0;
}

@media screen and (max-width: 991px) {
    .hem-box h3 {
        font-size: 2rem;
    }
}

.hem-box img {
    display: block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.hem-box-img {
    display: block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}


/* Hire Us
-------------------------------------------------------------------*/
.bg-hireus {
    background-image: url('../images/bg-hireus.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: var(--white);
    padding-top: 6em;
    padding-bottom: 6em;
}

.bg-hireus h3 {
    font-size: 3rem;
    margin: 0 0 .5em 0;
}

.bg-hireus p {
    margin: 0 0 1em 0;
    padding: 0 0 .5em 0;
    font-size: 1.8rem;
    line-height: 1.25;
}


/* Default Page Banners
-------------------------------------------------------------------*/
.bg-page-banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    padding: 8em 0;
    z-index: 1;
}

.bg-page-banner .container {
    z-index: 15 !important;
}

.bg-page-banner h1 {
    z-index: 10;
    color: var(--white);
    font-size: 6rem;
    text-align: center;
}

.bg-page-no-banner h1 {
    z-index: 10;
    color: var(--black);
    font-size: 6rem;
    text-align: center;
}

.bg-page-no-banner h1:after {
    content: '';
    width: 150px;
    height: 2px;
    display: block;
    margin: 15px auto;
    background-color: var(--brand-dark);
}

.page-id-6479 .bg-page-banner {
    background-position: top center;
}

.page-id-6479 .bg-page-banner h1 {
    font-size: 0;
    height: 50px;
}

@media screen and (max-width: 991px) {
    .bg-page-banner {
        padding: 5em 0;
    }

    .bg-page-banner h1,
    .bg-page-no-banner h1 {
        font-size: 4rem;
    }
}


/* Map Embeds
-------------------------------------------------------------------*/
.map-embed p {
    padding: 0;
    margin: 0;
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    margin: 0;
    padding: 0;
}

.map-embed-footer iframe {
    width: 100%;
    height: 175px;
    margin: 0;
    padding: 0;
}
