﻿:root {
    /* Escambia County Brand Standards */
    --gm-blue: #003da6;
    --gm-blue-dark: #002b75;
    --gm-green: #4c9c2e;
    --gm-green-dark: #2f6f1d;
    --gm-gold: #fbb040;
    --gm-red: #f5333f;
    --gm-red-dark: #a8001d;
    --gm-white: #fff;
    --gm-text: #222;
    --gm-background: #f5f8fa;
    --gm-blue-tint: #eef3fc;
    --gm-border: #d5dee7;
}

.section_head {
    background-image: url("/images/default-source/section-head-photos/header-public-works.jpg");
    background-position: right center;
    background-size: cover;
}

.breadcrumbs_in {
    max-width: 100%;
}

#gismap,
#gismap *,
#gismap *::before,
#gismap *::after {
    box-sizing: border-box;
}

#gismap {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0;
    color: var(--gm-text);
}

    #gismap .gm-app {
        position: relative;
        width: 100%;
        padding: 15px;
        background: var(--gm-background);
    }

    /* Loading message */

    #gismap .gm-loader {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        min-height: 100px;
        margin: 0 0 15px;
        padding: 20px;
        color: var(--gm-blue);
        font-size: 17px;
        font-weight: 700;
        text-align: center;
        background: var(--gm-white);
        border: 1px solid var(--gm-border);
        border-radius: 7px;
        box-shadow: 0 3px 12px rgba(0, 61, 166, 0.08);
    }

        #gismap .gm-loader img {
            display: block;
            width: 58px;
            height: 58px;
            object-fit: contain;
        }

    /* Main layout */

    #gismap .gm-map-layout {
        display: grid;
        grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
        align-items: stretch;
        gap: 18px;
        width: 100%;
    }

    /* Sidebar */

    #gismap .gm-sidebar {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        padding: 22px;
        background: var(--gm-white);
        border: 1px solid var(--gm-border);
        border-top: 5px solid var(--gm-blue);
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(0, 61, 166, 0.1);
    }

    #gismap .gm-sidebar-heading {
        margin-bottom: 20px;
    }

        #gismap .gm-sidebar-heading h2 {
            margin: 0 0 7px;
            padding: 0;
            color: var(--gm-blue);
            font-size: 25px;
            font-weight: 700;
            line-height: 1.25;
            background: transparent;
            border: 0;
        }

        #gismap .gm-sidebar-heading p {
            margin: 0;
            color: #46545f;
            font-size: 16px;
            line-height: 1.5;
        }

    /* Filters */

    #gismap .gm-search {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 16px;
        background: transparent;
    }

    #gismap .gm-field {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

        #gismap .gm-field label {
            display: block;
            width: auto;
            margin: 0 0 6px;
            padding: 0;
            color: var(--gm-blue-dark);
            font-size: 16px;
            font-weight: 700;
            line-height: 1.35;
            text-align: left;
        }

        #gismap .gm-field input,
        #gismap .gm-field select {
            display: block;
            width: 100% !important;
            min-width: 0;
            max-width: none !important;
            height: 46px;
            margin: 0 !important;
            padding: 8px 11px;
            color: var(--gm-text);
            font-family: inherit;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.3;
            background-color: var(--gm-white);
            border: 1px solid #9aa8b4;
            border-radius: 4px;
        }

        #gismap .gm-field select {
            padding-right: 34px;
            cursor: pointer;
        }

            #gismap .gm-field input:hover,
            #gismap .gm-field select:hover {
                border-color: var(--gm-blue);
            }

    #gismap .gm-search-control {
        position: relative;
        display: block;
        width: 100%;
    }

        #gismap .gm-search-control > .fas {
            position: absolute;
            top: 50%;
            left: 13px;
            z-index: 2;
            color: #526574;
            transform: translateY(-50%);
            pointer-events: none;
        }

        #gismap .gm-search-control input {
            padding-left: 40px;
        }

    /* Keyboard focus */

    #gismap .gm-field input:focus,
    #gismap .gm-field select:focus,
    #gismap .gm-button:focus,
    #gismap .gm-list-link:focus {
        outline: 3px solid var(--gm-gold);
        outline-offset: 2px;
    }

    /* Buttons */

    #gismap .gm-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: 100%;
        margin-top: 2px;
    }

    #gismap .gm-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100% !important;
        min-width: 0;
        max-width: none !important;
        min-height: 46px;
        margin: 0 !important;
        padding: 9px 15px;
        font-family: inherit;
        font-size: 16px !important;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        border: 2px solid var(--gm-blue);
        border-radius: 4px;
        cursor: pointer;
    }

    #gismap .gm-button-primary {
        color: var(--gm-white);
        background: var(--gm-blue);
    }

        #gismap .gm-button-primary:hover {
            color: var(--gm-white);
            background: var(--gm-blue-dark);
            border-color: var(--gm-blue-dark);
        }

    #gismap .gm-button-secondary {
        color: var(--gm-blue);
        background: var(--gm-white);
    }

        #gismap .gm-button-secondary:hover {
            color: var(--gm-white);
            background: var(--gm-green-dark);
            border-color: var(--gm-green-dark);
        }

    /* Project-list link */

    #gismap .gm-list-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 46px;
        margin-top: 18px;
        padding: 9px 15px;
        color: var(--gm-blue);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        background: var(--gm-blue-tint);
        border: 2px solid var(--gm-blue);
        border-radius: 4px;
    }

    #gismap .gm-list-link-top {
        width: 100%;
        margin: 0 0 20px;
    }

    #gismap .gm-list-link:hover,
    #gismap .gm-list-link:focus {
        color: var(--gm-white);
        text-decoration: none;
        background: var(--gm-blue);
    }

    /* Map column */

    #gismap .gm-map-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    #gismap .gm-results-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 48px;
        margin: 0 0 10px;
        padding: 10px 15px;
        background: var(--gm-white);
        border: 1px solid var(--gm-border);
        border-radius: 6px;
    }

        #gismap .gm-results-bar p {
            margin: 0;
            font-size: 16px;
            line-height: 1.4;
        }

    #gismap .gm-results-count {
        color: var(--gm-blue);
    }

        #gismap .gm-results-count strong {
            font-size: 19px;
        }

    #gismap .gm-map-help {
        color: #4d5962;
        text-align: right;
    }

    /* No results */

    #gismap .gm-no-results {
        align-items: flex-start;
        gap: 12px;
        margin: 0 0 10px;
        padding: 15px 18px;
        color: #5b4200;
        font-size: 16px;
        line-height: 1.4;
        background: #fff8e5;
        border: 1px solid var(--gm-gold);
        border-radius: 5px;
    }

        #gismap .gm-no-results > .fas {
            flex: 0 0 auto;
            margin-top: 3px;
            font-size: 20px;
        }

        #gismap .gm-no-results strong,
        #gismap .gm-no-results span {
            display: block;
        }

        #gismap .gm-no-results strong {
            margin-bottom: 2px;
        }

    /* Map */

    #gismap .gm-map-shell {
        position: relative;
        display: block !important;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        background: #e8edf1;
        border: 1px solid #c8d2da;
        border-radius: 7px;
        box-shadow: 0 3px 12px rgba(0, 61, 166, 0.1);
    }

    #gismap .gm-entiremap,
    #gismap:not(.gm-map-ready) .gm-entiremap,
    #gismap.gm-map-ready .gm-entiremap {
        position: relative;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 700px !important;
        min-height: 550px !important;
        margin: 0 !important;
        padding: 0;
        background: #e8edf1;
    }

        #gismap .gm-entiremap .esri-view-root {
            width: 100%;
            height: 100%;
        }

        #gismap .gm-entiremap .esri-search {
            width: min(320px, calc(100vw - 130px));
        }

    /* Error */

    #gismap .gm-load-error {
        margin: 20px;
        padding: 18px;
        color: var(--gm-red-dark);
        font-size: 16px;
        background: #fff0f1;
        border: 1px solid var(--gm-red);
        border-radius: 5px;
    }

        #gismap .gm-load-error strong,
        #gismap .gm-load-error p {
            display: block;
        }

        #gismap .gm-load-error p {
            margin: 5px 0 0;
        }

/* Sitefinity notes */

div[data-sf-field="Notes"] ul {
    padding-left: 22px !important;
    list-style: disc !important;
}

    div[data-sf-field="Notes"] ul ul {
        list-style: circle !important;
    }

/* Tablet */

@media (max-width: 950px) {
    #gismap .gm-map-layout {
        grid-template-columns: 1fr;
    }

    #gismap .gm-sidebar {
        padding: 20px;
    }

    #gismap .gm-search {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #gismap .gm-field:first-child {
        grid-column: span 2;
    }

    #gismap .gm-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-column: span 2;
    }

    #gismap .gm-list-link {
        max-width: 320px;
    }

    #gismap .gm-entiremap {
        height: 620px !important;
        min-height: 500px !important;
    }
}

/* Mobile */

@media (max-width: 650px) {
    #gismap .gm-app {
        padding: 10px;
    }

    #gismap .gm-loader {
        flex-direction: column;
    }

    #gismap .gm-map-layout {
        gap: 12px;
    }

    #gismap .gm-sidebar {
        padding: 18px 15px;
    }

    #gismap .gm-search {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    #gismap .gm-field:first-child,
    #gismap .gm-actions {
        grid-column: auto;
    }

    #gismap .gm-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    #gismap .gm-list-link {
        max-width: none;
    }

    #gismap .gm-results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    #gismap .gm-map-help {
        display: none;
    }

    #gismap .gm-entiremap {
        height: 60vh !important;
        min-height: 430px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #gismap .gm-loader img {
        animation: none !important;
    }
}
