/*
 * Coverage component style for gallura template.
 */
div.coverage {
    overflow: visible;
    margin-top: 7em;
}

/* Coverage section */
section#coverage {
    display: flex;
    padding-top: 9em;
    padding-bottom: 9em;
    justify-content: end;
    overflow: visible;
}

section#coverage h1 {
    color: var(--white);
    text-transform: capitalize;
}

section#coverage > * {
    width: 44%;
    float: left;
    padding: 0 5%;
}

section#coverage iframe {
    padding: 0;
    width: 50%;
    height: 31em;
    position: absolute;
    top: -7em;
    left: 5%;
    z-index: 2;
}

section#coverage div {
    padding-top: 1%;
}

section#coverage div p {
    margin-bottom: .5em;
}

section#coverage .button-container {
    display: flex;
}

section#coverage .button-container .button {
    margin-top: 2em;
    margin-right: 5%;
}

@media screen and (max-width: 768px) {

    /* Coverage section */
    section#coverage {
        padding-top: 12em;
        padding-bottom: 4em;
        justify-content: center;
    }

    section#coverage > * {
        width: 100%;
        float: none;
        padding: 0;
        text-align: center;
    }

    section#coverage iframe {
        width: 80%;
        height: 19em;
        margin: 0px auto;
        display: block;
        left: inherit;
    }

    section#coverage  div {
        padding-top: 2em;
        margin-top: 0;
    }

    section#coverage .button-container {
        justify-content: center;
    }

    section#coverage .button-container .button {
        margin-top: 0;
        margin-right:0;
    }

    section#coverage .button-container .button:first-child {
        margin-right: 5%;
    }
}