﻿.res-contact-header > img {
    width: 100%;
}

.res-contact-items {
    max-width: 1200px;
    margin: auto;
}

.res-contact-contact {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .res-contact-contact > span {
        width: 30px;
        height: 2px;
        display: block;
    }

        .res-contact-contact > span:first-child {
            background-image: linear-gradient(to right, #00485b, white);
        }

        .res-contact-contact > span:last-child {
            background-image: linear-gradient(to left, #00485b, white);
        }

    .res-contact-contact > h1 {
        font-size: 14px;
        margin: auto 5px;
    }

.res-contact-item {
    margin: 40px auto;
}

    .res-contact-item > span {
        display: block;
        text-align: center;
        margin: 10px;
    }

    .res-contact-item i {
        font-size: 24px;
        color: #00485b;
    }

    .res-contact-item:nth-child(3) i {
        color: #25a3b1;
    }

    .res-contact-item a,
    .res-contact-item > p {
        display: block;
        text-align: center;
        font-size: 13px;
    }

    .res-contact-item > a,
    .res-contact-item > div,
    .res-contact-item > p {
        display: block;
        text-align: center;
        border: 1px solid lightgray;
        border-radius: 10px;
        width: 90%;
        margin: 10px auto;
        height: 60px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }

    .res-contact-item a {
        padding: 2px 5px;
        border-radius: 7px;
    }

        .res-contact-item a:hover {
            background-color: lightgray;
        }

.res-contact-map {
    width: 90%;
    margin: auto;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
}

/* ******************** */

@media screen and (min-width: 480px) {
    .res-contact-contact > span {
        width: 40px;
    }

    .res-contact-contact > h1 {
        font-size: 13px;
    }

    .res-contact-item a,
    .res-contact-item > p {
        font-size: 14px;
    }
}

@media screen and (min-width: 600px) {
    .res-contact-contact > h1 {
        font-size: 15px;
    }
}

@media screen and (min-width: 768px) {
    .res-contact-contact > span {
        width: 50px;
        height: 3px;
    }

    .res-contact-contact > h1 {
        font-size: 16px;
        margin: auto 10px;
    }

    .res-contact-item i {
        font-size: 30px;
    }

    .res-contact-item {
        margin: 60px auto;
    }

        .res-contact-item a,
        .res-contact-item > p {
            font-size: 14px;
        }

        .res-contact-item > a,
        .res-contact-item > div,
        .res-contact-item > p {
            width: 60%;
        }
}

@media screen and (min-width: 992px) {
    .res-contact-contact > h1 {
        font-size: 17px;
    }

    .res-contact-item a,
    .res-contact-item > p {
        font-size: 15px;
    }
}

@media screen and (min-width: 1200px) {
    .res-contact-contact > span {
        width: 60px;
    }

    .res-contact-contact > h1 {
        font-size: 20px;
    }

    .res-contact-item i {
        font-size: 34px;
    }

    .res-contact-item {
        margin: 70px auto;
    }

        .res-contact-item a,
        .res-contact-item > p {
            font-size: 16px;
        }
}
