.leaflet-popup-content {
    font-size: 2rem;
}

.leaflet-map-placeholder {
    z-index: 0;
    box-sizing: border-box;
    height: 75vh;
    width: calc(100% - 400px);
    display: inline-block;
}

.map-locations-display {
    padding: 0;
    box-sizing: border-box;
    display: inline-block;
    width: 400px;
    height: 75vh;
    overflow-x: hidden;
    background-color: white;
}

.map-filter-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: sticky;
    top: 0;
    background-color: white;
}

.map-filters {
    width: 90%;
    margin: 2.5% auto;
    padding: 1%;
    border-radius: 5px;
    background-color: rgb(233,234,232);
}

.location-list-tile {
    border-style: solid 1px black;
}

.list-area-list-item {
    cursor: pointer;
    margin-top: 1em;
    border-radius: 5px;
    display: block;
    text-decoration: none;
    color: black;
}

.list-area {
    margin: 2.5%;
    padding: 1.5%;
}

.list-area-list-item:hover {
    background-color: rgb(233,234,232);
    text-decoration: none;
}

.map-btn {
    cursor: pointer;
    border: none;
    background: none;
    margin-left: -40px;
}

.list-area-list-item.highlight {
    border-left: solid 7px black;
    border-right: solid 1px black;
    border-top: solid 1px black;
    border-bottom: solid 1px black;
    margin-left: 0.25em;
    padding-left: 0.25em;
}

.filter-row {
    margin-bottom: 0.5em;
}

.filter-row:first-child {
    margin-top: 0.5em;
}

.filter-row > label {
    display: inline-block;
    width: 25%;
}

.filter-row > input,
.filter-row > select {
    box-sizing: border-box;
    width: 75%;
    border: 2px solid #739600;
}

select {
    padding: 0 2rem;
    height: 40px;
}

.leaflet-control-attribution {
    font-size: 1.5rem;
}

.marker-details-body .address {
    margin-bottom: 1em;
}

/* .leaflet-popup-content .description {
    max-height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
}

.modal-backdrop {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: darkgray;
    opacity: 0.5;
    /* z-index: 1000; */
}

.modal-container {
    position: absolute;
    left: 0;
    top: 25%;
    height: 100%;
    width: 100%;
}

.modal-window {
    box-sizing: border-box;
    position: static;
    background-color: white;
    padding: 2.5rem;
    border: 1px solid #739600;
    border-radius: 5px;
    width: 50vw;
    margin: auto;
}

.modal-content {
    max-height: 50vh;
    overflow-y: auto;
}

.modal-buttons {
    position: relative;
    right: 0;
    margin-top: 1em;
}

.modal-buttons button {
    border: none;
    background-color: #eaab00;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    border-radius: 28px;
    width: 192px;
    padding: 1rem 1.5rem;
    height: 46px;
    font-weight: 700;
    cursor: pointer;
}

.modal-buttons button:hover {
    background-color: #e9eae8;
    text-decoration: none;
}

.show-hide-list {
    display: none;
}

.tab-container {
    width: 100%;
    box-sizing: border-box;
}

.tab-container .tab-header {
    display: flex;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid black;
}

.tab-container .tab {
    display: block;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-collapse: collapse;
    margin: 0;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.tab-container .tab.tab-selected {
    background-color: rgb(233,234,232);
}

.tab-container .tab:first-child {
    border-top-left-radius: 5px;
}

.tab-container .tab:last-child {
    border-top-right-radius: 5px;
    border-right: 1px solid black;
}

.tab-container .tab-content {
    min-height: 3em;
}

@media (max-width: 982px) {
    .leaflet-map-placeholder {
        height: 50vh;
        width: 100%;
    }

    .map-locations-display {
        width: 100%;
        height: 50vh;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 1;
    }

    .map-locations-display.minimized {
        max-height: 2em;
        overflow: hidden;
    }

    .map-locations-display.minimized .filter-controls {
        display: none;
    }

    .modal-window {
        width: 95%;
    }

    .show-hide-list {
        display: inline-block;
        width: auto;
        margin-left: 6%;
        margin-bottom: 0;
        margin-top: 0.2em;
        background-color: rgb(233,234,232);
        border-radius: 5px 5px 0 0;
        padding: 0.15em 0.5em 0 0.5em;
    }

    .show-hide-list span:nth-child(n + 2 of :not(.hidden, .minimized .filter-controls)){
        margin-left: 2em;
    }

    .map-filters {
        margin: 0 2.5% auto auto;
        /* border-top-left-radius: 0; */
    }
}