﻿.map-box {
    height: 350px;
    width: 100%;
}

.display-data-type-container {
    margin-bottom: 40px;
}

h4.office-name {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.office-address > div {
    margin-top: 5px;
}

.office-address {
    margin: 15px 0px;
}

.contact-form-title {
    display: none;
}

.agency-container {
    /*padding: 20px 0;*/
    text-align: left;
    margin-bottom: 40px;
}

    .agency-container img {
        margin-bottom: 20px;
        display: none;
    }

.agency-name {
    display: inline-block;
    font-size: 22px;
    margin-bottom: 0;
    padding-bottom: 11px;
    font-weight: 600;
    color: #111111;
}

.agency-address {
    margin: 0 auto;
    line-height: 24px;
    margin: 20px auto;
    margin-bottom: 10px;
}

.agency-postal-address {
    line-height: 24px;
    margin-bottom: 20px;
}

.agency-container .contact {
    padding-left: 0;
    color: #37424b;
    margin-bottom: 5px;
}

    .agency-container .contact a {
        color: #37424b;
        padding-bottom: 1px;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
    }

.agency-about {
    line-height: 24px;
    width: 50%;
    margin: 0 auto;
    margin-top: 30px;
}


.display-data-type-container {
    text-align: center;
    width: 100%;
    padding-bottom: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
}

    .display-data-type-container a {
        display: inline-block;
        text-align: center;
        cursor: pointer;
        vertical-align: middle;
        padding: 15px 30px;
        margin-right: 10px;
        border: 1px solid #c8cfd7;
    }

        .display-data-type-container a:hover {
            color: #FFF;
            background-color: #37424b;
        }

        .display-data-type-container a:last-of-type {
            margin-right: 0;
        }

.active-type {
    color: #FFF;
    background-color: #37424b !important;
}

.flex-row.row-extra-padding > *.col {
    padding: 5px;
    padding-top: 12.5px;
}

@media screen and (max-width: 1024px) {
    .flex-row.row-extra-padding {
        flex-wrap: wrap-reverse;
    }

        .flex-row.row-extra-padding > .col {
            width: 100%;
        }
}

@media only screen and (max-width: 768px) {
    .map-box {
        height: 350px;
        width: 100%;
        float: none;
    }

    .agency-container {
        width: 100%;
        float: none;
    }

    .office-summary {
        font-size: 12px;
    }
}


@media only screen and (max-width: 680px) {
    .display-data-type-container a {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0;
        height: 50px;
        padding-top: 14px;
        font-size: 20px;
        margin-bottom: 10px;
    }
}


img.office-image {
    width: 100%;
    margin-bottom: 15px;
}



.agent-contact-wrapper {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

img.agent-image {
    width: 100%;
    max-width: 200px;
    margin: 35px auto;
    display: block;
    border-radius: 4px;
}

.office-location-row {
    text-align: center;
    white-space: nowrap;
    padding: 25px;
    margin-top: 25px;
}

    .office-location-row > img {
        display: block;
        margin: 0 auto;
        border-radius: 4px;
        pointer-events: none;
        max-height: 50vh;
        max-width: 550px;
    }

h3.office-location-title {
    color: #000;
}

h4.office-location-subtitle {
    margin: 10px 0;
    color: #000;
    font-weight: normal;
    margin-bottom: 25px;
}
