/**********************************************************
    Page styling
 *********************************************************/
nav ul label.sub-menu-arrow {
    top: calc(18.7em + 2.55em);
}

main section.hero div.hero-img.contact {
    background: url('../img/thomas-lefebvre-gp8BLyaTaA0-unsplash.jpg'); /* [interchangeable image] */
    background-size: cover;
    background-position: center;
}

main section.services address.contact-card a:hover {
    text-decoration: underline;
}

main section.services address.contact-card span {
    display: block;
    font-size: 1rem;
    font-style: normal;
    margin-top: 0.5em;
}

main section.services .service-card .service-text-map {
    text-align: center;
    padding: 0.3em 0.6em 0.5em;
}

main section.services .service-card .service-text-map h2 {
    color: #11387f;
    margin: 0.2em 0;
    font-size: 1.3em;
}

main section.services div.map-section {
    height: 16.5em;
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

main section.services div.map-section iframe {
    height: 90%;
    width: 100%;
}

main section.services div.map-section a {
    margin: 1em 0 0 0.5em;
    font-size: 0.7rem;
    display: block;
}

main section.services .service-text-directions {
    text-align: center;
    padding: 0.5em 0.6em 0.1em;
}

main section.services .service-card .service-text-directions h2 {
    color: #11387f;
    margin: 0.4em 0;
    font-size: 1.3em;
}

main section.services .service-card .service-text-directions p {
    font-size: 1rem;
    margin: 0.5em 0 0.1em 0;
    padding-bottom: 0.5em;
}

main section.services .service-card .service-text-directions p input {
    width: 4em;
    margin-top: 0.5em;
}

main section.services .service-card .service-text-directions input.active-button {
    background-color: rgb(55, 111, 190);
    color: white;
    border-radius: 3px;
    border: 1px solid rgb(55, 111, 190);
}

main section.services div.directions {
    height: 16.5em;
    background-color: #5d55d5;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

main section.services div.directions img {
    height: 100%;
    width: 100%;
}

main section.services details.direction-details {
    border: 1px solid #aaa;
    padding: 0.5em 0;
    z-index: 20;
}

main section.services details.direction-details summary {
    font-weight: bold;
    padding-left: 0.5em;
}
main section.image-container {
    position: absolute;
    height: 24em;
    width: 24em;
    top: calc(50% - 12em);
    left: calc(50% - 12em);
}
main section.image-container img {
    width: 100%;
}

main section.image-container span.close-container {
    position: absolute;
    height: 2.5em;
    width: 2.5em;
    top: -1.25em;
    right: -1.25em;
    border-radius: 100%;
    background-color: rgb(55, 111, 190);
    color: white;
    text-align: center;
    line-height: 2.5em;
    text-decoration: none;
    cursor: pointer;
}

/*-----------------------------------------------------------------------------------------------------------------------------*/

/**********************************************************
    Screen format depending styling
 *********************************************************/
@media only screen and (min-width: 920px) {
    
    main section.image-container {
        height: 30em;
        width: 30em;
        top: calc(50% - 15em);
        left: calc(50% - 15em);
    }
}
