/* LAST UPDATED:07.18.2024 - SM */

/* The Google Maps component has a lot of inline CSS on the live site, but it comes from Google. */

.map-tool {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0 1em;
    /* Formerly 0 auto */
    max-width: 77em;
    padding: 0 2em;
    width: 100%;
}

/* CUSTOM OVERRIDES FOR SILC-GRID CLASSES */
.silc-grid--no-gutters {
    padding-left: 0;
}

.map-tool .silc-grid__col {
    margin-bottom: 0;
}

.map-tool #map-box {
    height: 22.5em;
    width: 100%;
}

.map-tool #map-info-box {
    background-color: var(--secondary-neutral-light-gray);
    height: 100%;
    width: 100%;
}

.map-tool #map-info-box .interior-binder {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.map-tool #map-info-box .interior-binder .select-container {
    margin: 0 auto 1em auto;
    position: relative;
}

.map-tool #map-info-box .interior-binder .select-container select {
    appearance: none;
    background-color: var(--primary-neutral-light);
    border: none;
    box-sizing: border-box;
    color: var(--primary-color);
    padding: 0.75em 2.5em 0.75em 0.75em;
    width: 100%;
}

.map-tool #map-info-box .interior-binder .select-container .select-indicator {
    background-color: var(--primary-color);
    border-bottom-right-radius: 5px;
    border-left: 0.75em solid var(--primary-neutral-light);
    border-top-right-radius: 5px;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    height: 100%;
    perspective: 1px;
    -webkit-perspective: 1px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    width: 2.5em;
}

.map-tool #map-info-box .interior-binder .select-container .select-indicator::after,
.map-tool #map-info-box .interior-binder .select-container .select-indicator::before {
    background-color: var(--primary-neutral-light);
    content: "";
    height: 46%;
    position: absolute;
    top: 35%;
    width: 50%;
    width: 0.2em;
}

.map-tool #map-info-box .interior-binder .select-container .select-indicator::after {
    left: 36%;
    transform: translateX(-50%) rotate(125deg);
    /*-webkit-transform: translateX(-50%) rotate(90deg); */
}

.map-tool #map-info-box .interior-binder .select-container .select-indicator::before {
    left: 65%;
    transform: translateX(-50%) rotate(55deg);
    /* -webkit-transform: translateX(-50%); */
}

.map-tool #map-info-box .interior-binder .silc-grid {
    width: 100%;
}

/* First column of addresses */
.map-tool #map-info-box .interior-binder .silc-grid .silc-grid__col {
    margin-bottom: 0;
    padding-left: 20px;
}

.map-tool #map-info-box .interior-binder .single-location {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-bottom: 0.75em;
    padding-left: 1.5em;
    position: relative;
}

.map-tool #map-info-box .interior-binder .single-location .svg-hold {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1.5em;
}

.map-tool #map-info-box .interior-binder .single-location .svg-hold svg {
    display: block;
    height: auto;
    margin: 0.15em auto 0 auto;
    width: 60%;
}

.map-tool #map-info-box .interior-binder .single-location .svg-hold svg path {
    fill: var(--primary-color);
}

/* ".right-side" means the address portion of the column (next to the map pin) */
.map-tool #map-info-box .interior-binder .single-location .right-side {
    color: var(--primary-color);
    font-size: 0.7em;
    margin-bottom: 0.5em;
}

.map-tool #map-info-box .location-title {
    font-weight: 700;
}

.map-tool #map-info-box .interior-binder .single-location .right-side a {
    color: var(--primary-accent);
    font-weight: 500;
    text-decoration: none;
}

.map-tool #map-info-box .interior-binder .pagination {
    height: 2em;
    margin: 0.5em 0 2em 0;
    position: relative;
    width: 100%;
}

.map-tool #map-info-box .interior-binder .pagination #previous,
.map-tool #map-info-box .interior-binder .pagination #next {
    /* height: 2em */
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    /* width: 2em; */
}

.map-tool #map-info-box .interior-binder .pagination #previous {
    right: 0;
}

.map-tool #map-info-box .interior-binder .pagination #previous.no-previous {
    opacity: 0.3;
    pointer-events: none;
}

.map-tool #map-info-box .interior-binder .pagination #next {
    left: auto;
    right: 0;
}



/***** MEDIA QUERIES *****/
@media screen and (min-width: 500px) {
    .map-tool #map-box {
        height: 25em;
    }

    .map-tool #map-info-box .interior-binder .select-container select {
        font-size: 1em;
    }

    .map-tool #map-info-box .interior-binder .select-container .select-indicator::after,
    .map-tool #map-info-box .interior-binder .select-container .select-indicator::before {
        height: 36%;
    }

    .map-tool #map-info-box .interior-binder .single-location .right-side {
        min-height: 12em;
    }
}

/* Added 06.21.2022 */
@media screen and (max-width: 600px) {
    .map-tool #map-info-box .interior-binder .pagination #next {
        left: auto;
        right: 5%;
    }

    .map-tool #map-info-box .interior-binder .pagination #previous {
        left: 5%;
    }
}

@media screen and (min-width: 600px) {
    .map-tool #map-info-box .interior-binder .select-container {
        font-size: 1em;
    }
}


@media screen and (min-width: 800px) {
    .map-tool {
        padding: 0;
    }

    .map-tool #map-box {
        height: 100%;
        min-height: 53em;
    }

    .map-tool #map-info-box .interior-binder {
        padding: 1em 1.5em 2em 1.5em;
    }

    .map-tool #map-info-box .interior-binder .pagination #previous {
        left: 0;
    }
}




