﻿.directoryContainer {
    margin: 0 1em;
}

    .directoryContainer .directoryWidget {
        padding: 1em;
    }

.directoryList {
    padding-top: 1rem;
}

    .directoryList .directoryRow {
        margin-bottom: 2rem;
        border-bottom: 1px solid var(--cc-medGrey);
    }

        .directoryList .directoryRow .branchContainer:not(h4) {
            background: var(--cc-lightGrey);
        }

        .directoryList .directoryRow .branchContainer:nth-of-type(odd):not(h4) .subServiceRow {
            border-bottom: 1px solid var(--cc-lightGrey);
        }

.branchContainer {
    /* border-left: 1px solid var(--cc-medGrey); */
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

    .branchContainer .branchTitleHeader {
        font-weight: bold;
        padding: 1rem .25rem .25rem .25rem;
        border-bottom: 1px solid var(--cc-medGrey);
        background: #fff;
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .branchContainer .subServiceRow {
        padding-left: 1rem;
    }


        .branchContainer .subServiceRow:nth-of-type(odd):not(h4) {
            background: #fcfcfc;
        }

        .branchContainer .subServiceRow:nth-of-type(even):not(h4) {
            background: var(--cc-lightGrey);
        }

.branchRow {
    padding: 1rem .5rem;
    border-bottom: 2px solid #fff;
    font-size: 1.1rem;
    letter-spacing: .045rem;
}

    .branchRow:hover {
        background: #d8e0e5;
        font-weight: bold;
    }

.branchCell {
    flex: 0 1 20%;
}

.branchMap {
    padding-right: 2em;
}

.branchCell address {
    margin-bottom: .25rem;
}

.branchTitle {
    flex: 0 1 35%;
}

.directoryContainer .dirSearch {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: normal;
    margin-bottom: 3rem;
    border: 2px solid #919fa7;
    box-shadow: none;
    font-size: 1.2em;
    border-radius: 5rem;
    padding: .25rem;
    background: none;
    /* border: 0; */
    overflow: hidden;
}

    .directoryContainer .dirSearch input, .dirSearch button {
        border: 0;
        font-size: 1.2rem;
    }


    .directoryContainer .dirSearch button {
        background: #3b617b;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 400;
        border-radius: 5rem;
        border: 0;
        border-radius: 0rem;
        padding: .5rem 1rem;
        font-weight: bold;
        letter-spacing: 1px;
        border-radius: 5rem;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        line-height: normal;
        margin-right: .1rem;
    }



    .directoryContainer .dirSearch input {
        border: 0;
    }
/*
    /////
    RESPONSIVE
    /////
*/
/* Extra large desktops */
@media (max-width: 1400px) {
}
/* Large desktops */
@media (max-width: 1200px) {
}
/* Small desktops / large tablets */
@media (max-width: 992px) {

    .branchRow {
        flex-wrap: wrap;
    }

    .branchCell:not(.branchTitle) {
        flex: 1 1 auto;
        margin-left: .5rem;
    }

    .branchTitle {
        flex: 1 0 100%;
    }
}
/* Tablets */
@media (max-width: 768px) {
}
/* Large phones */
@media (max-width: 576px) {
    .directoryContainer {
        margin: 0;
    }

        .directoryContainer .directoryWidget {
            padding: 1em .25em;
        }
}
/* Small phones */
@media (max-width: 480px) {
}
/* Very small devices */
@media (max-width: 360px) {
}
