/*
 * Image with text include style for gallura template.
 */

div#imageHeader {
    background-position: bottom!important;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 0 !important;
    height: 55vh;
    display: flex;
    align-items: center;
}

div#imageHeader::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .2);
}

div#imageHeader > section {
    width: 100%;
}

div#imageHeader > section h1 {
    line-height: 1.2em;
    color: var(--white);
    width: 45%;
}

/* Mobile menu activates */
@media screen and (max-width: 768px) {

    div#imageHeader > section {
        width: 100%;
        text-align: center;
        padding-bottom: 2em;
    }

    div#imageHeader > section h1 {
        width: 100%;
    }
}