.interactive-map {
    display: flex; 
    align-items: center;
    gap: 10px;
    width: 80vw;
    height: 50vw;
    max-width: 800px;
    max-height: 500px;
}

.map-svg {
    display: block;
    height: 100%;
    max-width: 800px;
    max-height: 550px;      /* или 80vh */
    min-width: 200px;
    /* height: auto; */
}


/* stroke: rgb(240, 124, 0); */
.region-circuit {
    fill: lightgray;
    stroke: rgb(181 95 3);
    stroke-width: 12;
    transition: fill 0.3s ease;
    cursor: pointer;
    user-select: none;
}

/* lighter green */
/* fill: #9ad5a0; */
.region-circuit:hover {
    fill: #61b369;
}
.region-circuit.active {
    fill: #61b369;
}

.region-circuit-noFill {
    fill: transparent;
    stroke: rgb(181 95 3);
    stroke-width: 12;
}

.region-circuit-darkerFill {
    fill: rgb(164, 164, 164);
    stroke: rgb(181 95 3);
    stroke-width: 12;
    transition: fill 0.3s ease;
    cursor: pointer;
    user-select: none;
}
    /* brown-orange */
    /* fill: rgb(207 122 30); */
.region-circuit-darkerFill:hover {
    fill: #61b369;
}
.region-circuit-darkerFill.active {
    fill: #61b369;
}


.regions-text {
    opacity: 0.5;
    pointer-events: none;
}
.region-text path {
    fill: #212121;
}


.city-element {
    fill: black;
    cursor: pointer;
}
/* #cb0000 (red) */
/* #06991c (light green) */
.city-element:hover {
    fill: #00750c;
}
.city-text {
    user-select: none;

    font: 130px tahoma;
    /* paint-order: stroke;
    stroke: #ffffff;
    stroke-width: 1px; */

    filter: drop-shadow( 13px 10px 4px rgba(255, 255, 255, 1));
}
.city-icon {
    stroke: black;
    stroke-width: 3;
}
@media (pointer: coarse) {
    .city-text {
        pointer-events: none;
    }
}



.district-circuit {
    fill: lightgray;
    stroke: black;
    stroke-width: 4;
    transition: fill 0.3s ease;
    cursor: pointer;
    user-select: none;

}
/* brown-orange */
/* fill: #e5a662; */
.district-circuit:hover {
    fill: #61b369;
}

.district-circuit.active {
    fill: #61b369;
}

.noPointer {
    cursor: default !important;
}


    /* red */
    /* fill: rgb(177, 0, 0); */
.circuit-highlighted {
    fill: rgb(187 86 6);
}

.map-tooltip {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
    display: none;
    width: max-content;
    max-width: 300px;

    background: wheat;
    border: 1px solid black;
    border-radius: 8px;

    padding: 8px 12px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.2);

    font-family: Verdana;
}


@media (max-width: 700px) {
    .interactive-map {
        flex-direction: column;
        height: auto;
        max-height: none;
        width: 100%;
    }
}

.layer-switcher {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    height: 0px;    /* this changes on load and on resize by "onResize" in interactive-map-functions.php */
}

.layer-switcher button {
    padding: 6px 8px;
    border: 1px solid #993333;
    background: white;
    cursor: pointer;
    user-select: none;
}

.layer-switcher button:hover {
    background: #99333399;
}
    /* green */
    /* background: #4caf50; */
.layer-switcher button.active {
    background: #993333;
    color: white;
}








.layer-lists {
    position: relative;
}

.layer-list {
    overflow: auto;
    opacity: 0;
    transition:
        height 0.5s ease,
        opacity 0.5s ease;
}

.layer-list.active {
    opacity: 1;
}

.layer-list div {
    padding: 6px 12px;
    border-bottom: 1px solid #eee;
}





.interactive-map-link {
    color: black;
}
.interactive-map-link:hover {
    color: black;
}

.scrollable-list-item {
    cursor: pointer;
    text-decoration: none;
}
    /* background-color: #e5a662; */
.scrollable-list-item:hover {
    background-color: #f3eddf;
}
