﻿.display-data-type-container {
    margin-bottom: 40px;
}

.agency-container {
    background: #fff;
    padding: 20px 0;
    text-align: left;
    margin-bottom: 40px;
    float: left;
    width: 50%;
}

    .agency-container img {
        margin-bottom: 20px;
        display: none;
    }


    

.agency-name {
    display: inline-block;
    font-size: 22px;
    margin-bottom: 0;
    color: #FFFFFD;
    padding-bottom: 5px;
    border-bottom: 1px solid #FFFFFD;
}

.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-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;
}

@media only screen and (max-width: 768px) {
    .map-box {
        height: 350px;
        width: 100%;
        float: none;
    }

    .agency-container {
        width: 100%;
        float: none;
    }
}


@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;
    }
}








/* Page Style */
.masthead-clipped-background {
    max-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-masthead:before {
    padding-top: calc(56.25%);
}

.office-name-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /*height: 1.4em;*/
    text-align: center;
    justify-content: center;
}

ul#officeNameFlipper {
    display: flex;
    flex-direction: column;
    list-style: none;
    text-align: center;
    overflow: hidden;
    justify-content: flex-start;
    height: 1.4em;
    white-space: nowrap;
    padding: 0 0.2em;
}

    ul#officeNameFlipper > li > span {
        display: block;
    }

    ul#officeNameFlipper > li {
        white-space: nowrap;
        height: 1.4em;
        line-height: 1.4em;
        transition: all 0.15s;
        animation-name: office-name-in;
        animation-duration: 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        animation-timing-function: cubic-bezier(0, 0, 0.25, 0.99);
        width: 0;
        user-select: none;
        pointer-events: none;
    }

        ul#officeNameFlipper > li.active-item {
            width: auto;
            user-select: initial;
            pointer-events: initial;
        }

@keyframes office-name-in {
    0% {
        transform: translateY(0);
    }
    /*     20% {
        transform: translateY(-1.4em);
    }
    40% {
        transform: translateY(-2.8em);
    }
    60% {
        transform: translateY(-4.2em);
    }
    80% {
        transform: translateY(-5.6em);
    } */
    100% {
        transform: translateY(-7em);
    }
}





/* Profiles */
.profile-container-inner a {
    color: #888;
}

.profile-email a {
    text-decoration: none;
}

    .profile-email a:hover {
        text-decoration: underline;
    }


ul.office-contact-methods {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}



a.contact-method-link {
    display: block;
    color: #000;
    transition: all 0.15s;
}

    a.contact-method-link > div {
        display: inline-block;
    }

.contact-method-value {
    font-weight: 200;
}

.contact-method-initial {
    margin-right: 5px;
}

a.contact-method-link:hover {
    color: #dadada;
}

a.contact-method-link.label-only > div.contact-method-value {
    display: none;
}

a.contact-method-link.label-only > div.contact-method-initial {
    width: auto;
}


.narrow-content-container-profiles .card.profile-office-card {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

    .narrow-content-container-profiles .card.profile-office-card:hover {
        cursor: pointer;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.30);
    }

.card.profile-office-card .image-caption {
    color: #000;
    background-image: unset;
    position: relative;
    padding-top: 0px;
    background: #fff;
}

.narrow-content-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.narrow-content-container-profiles {
    width: 100%;
    max-width: 575px;
    margin: 0 auto;
}

.image-caption-content {
    text-align: center !important;
}

    .image-caption-content a.contact-method-link {
        color: #000;
    }

    .image-caption-content h3.office-profile-position {
        color: #000;
    }


