.btn:focus {
    box-shadow: none;
}

body:not(.in-iframe) .custom-control-label i.svg-icon-truck:before {
    background-color: #fff;
}

i.svg-icon-truck:before {
    content: '';
    display: flex;
    align-items: center;
    
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: contain;
    max-width: 100%;
    max-height: 100%;
    line-height: 0;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-truck' viewBox='0 0 16 16'%3E%3Cpath d='M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5zm1.294 7.456A2 2 0 0 1 4.732 11h5.536a2 2 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456M12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2'/%3E%3C/svg%3E");
    width: 1rem;
    height: 1rem;
    background-color: #343a40;
}

.navbar {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    max-height: 100vh;
    overflow: hidden;
}

.in-iframe .navbar-brand {
    display: none;
}

.navbar-brand {
    margin-top: -1rem;
    margin-left: calc(-1rem - 1px);
    margin-right: calc(-1rem - 1px);
    padding-top: 2rem;
    padding-bottom: 0;
    width: calc(100% + 2rem + 2px);
    background-color: white;
}

.navbar-brand img {
    width: 100%;
    margin-bottom: -1px;
    display: block;
}

.navbar-dark .navbar-toggler {
    height: 100%;
    color: white;
    border-color: white;
}

ul {
    padding-left: 1.25rem;
}

img {
    max-width: 100%;
    height: auto;
}

.station-list-controls {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    background-color: rgba(0, 0, 0, .05);
    border-bottom: 1px solid #dee2e6;
}

.station-list-controls .btn {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.station-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /*background-image: url('/images/animated-loading.gif');*/
    /*background-size: 100px;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
}

.station-list .card-body {
    padding: 1.25rem 1.75rem;
}

.in-iframe .station-list .card-body {
    padding: .75rem 1rem;
}

.station-list .card {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #dee2e6;
}

.station-list .card:nth-of-type(even) {
    background-color: #f2f2f2;
}

.station-list .card:hover {
    cursor: pointer;
}

.station-list .card p:last-of-type {
    margin-bottom: 0;
}

.info-window {
    font-size: 1rem;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.info-window h6 {
    max-width: calc(100% - 20px);
}

.business-hours {
    min-width: 203px;
}

.business-hours li {
    padding: 0 5px;
}

.business-hours li:nth-child(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.business-hours li span {
    display: inline-block;
    min-width: 102px;
}

.nav-tabs {
    margin-bottom: 1rem;
    position: relative;
}

.nav-tabs .nav-link {
    color: #fff;
}

.filters-toggler .text {
    display: none;
    font-size: 12px;
}

.in-iframe .filters-toggler .text {
    display: inline-block;
}

.list-toggler {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
}

.list-toggler .view-list {
    display: inline-block;
}

.list-toggler .view-map {
    display: none;
}

.list-toggler:before {
    font-family: "Font Awesome 5 Free";
    content: "\f03a";
    font-weight: 900;
    font-size: 1rem;
    margin-right: 0.25rem;
}

.list-toggler.expanded .view-list {
    display: none;
}

.list-toggler.expanded .view-map {
    display: inline-block;
}

.list-toggler.expanded .badge {
    display: none;
}

.list-toggler.expanded:before {
    content: "\f00d";
}

.no-results {
    padding: 1.25rem 1.75rem;
}

#my-location.location-active,
.filters-toggler.filters-active {
    background-color: white;
    color: #000000;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #fff;
    background-color: #44f699;
    border-color: #44f699;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #008841;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #008841;
    color: #fff;
    border-bottom: 1px solid #008841;
    z-index: -1;
}

button.gm-ui-hover-effect {
    top: 0 !important;
    right: 0 !important;
}

button.gm-ui-hover-effect img {
    width: 24px !important;
    height: 24px !important;
    margin: 4px !important;
}

.modal-open #modal-homescreen {
    display: flex !important;
    align-items: flex-end;
}

#modal-homescreen .modal-dialog {
    margin-bottom: 21px;
}

#modal-homescreen .close {
    margin-top: -0.75rem;
    margin-right: -0.5rem;
}

#modal-homescreen img {
    height: 1.5em;
    width: auto;
    vertical-align: text-bottom;
    display: inline-block;
    margin: 0 0.25rem;
}

#modal-homescreen .modal-content:before {
    content: "";
    width: 0;
    height: 0;
    border-left: 21px solid transparent;
    border-right: 21px solid transparent;
    border-top: 21px solid rgba(0, 0, 0, .2);
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#modal-homescreen .modal-content:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.in-iframe .bg-primary {
    background-color: rgba(0, 0, 0, .07) !important;
}

.in-iframe .nav-tabs .nav-link {
    color: #343a40 !important;
}

.in-iframe .nav-tabs {
    border-color: #343a40 !important;
}

.in-iframe .nav-tabs .nav-link:focus, .in-iframe .nav-tabs .nav-link:hover {
    border-color: #343a40;
}

.in-iframe .btn-outline-light {
    color: #343a40 !important;
    border-color: #343a40 !important;
}

.in-iframe .nav-tabs .nav-item.show .nav-link {
    background-color: transparent !important;
    border-color: transparent !important;
}

.in-iframe .nav-tabs .nav-item .nav-link.active {
    background-color: transparent !important;
    border-color: #343a40 !important;
    border-bottom: 1px solid #ededed !important;
}

.in-iframe .custom-control-label {
    color: #343a40 !important;
}

.in-iframe .btn-light {
    background-color: #686868 !important;
    color: #fff !important;
}

.in-iframe .btn-light:hover {
    background-color: #414040 !important;
}


.loader {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}
    
@media (max-width: 991px) {
    .nav-tabs .nav-link {
        padding: 4px 8px;
    }
}

@media (min-width: 576px) {
    .navbar {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        max-width: 500px;
    }

    .navbar-brand {
        margin-top: -1.5rem;
        margin-left: calc(-1.5rem - 1px);
        margin-right: calc(-1.5rem - 1px);
        width: calc(100% + 3rem + 2px);
    }

    #map {
        margin-left: 500px;
        border-left: 1px solid #dee2e6;
    }

    .loader {
        left: 500px;
    }

    .col-navbar-toggler {
        display: none;
    }

    #navbar-content {
        flex-grow: 1;
        overflow: hidden;

        margin-top: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        margin-bottom: -1rem;
    }

    body:not(.in-iframe) #navbar-content {
        top: auto !important;
    }

    /* iFrame styling */
    .in-iframe #navbar-content {
        border-left: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
        position: fixed;
        margin: 0;
        left: 0;
        bottom: 0;
        width: 320px;
    }

    .list-toggler {
        display: none;
    }

    .in-iframe .navbar {
        max-width: none;
        position: relative;
    }

    .in-iframe #map {
        margin-left: 320px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .navbar {
        max-width: 50%;
    }

    #map {
        margin-left: 50%;
    }

    .loader {
        left: 50%;
    }
}

@media (max-width: 575px) {

    #navbar-content {
        position: fixed;
        top: 160px;
        bottom: 0;
        left: -100vw;
        z-index: 9999;
        background-color: #008841;
        width: 100vw;
        transition: left 0.5s ease;
    }

    #navbar-content.expanded {
        left: 0;
    }

    #map {
        margin-bottom: 38px;
    }

    .loader {
        left: 0px;
        bottom: 38px;
        top: 214px;
    }

    .info-window h1 {
        font-size: 1.5rem;
    }

}