body
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

a.search-button.search_button_custom
{
    background-image: url("images/search_icon.svg");
    background-color: #fff;
    width: 30px;
    height:30px;
    border-radius: 2px;
}

div.leaflet-control-search.leaflet-control
{
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
    box-shadow:none;
    display: flex;
    align-items: center;
}

div.leaflet-control-search.leaflet-control > input
{
    margin-left: 5px;
    margin-right: 5px;
}

.leaflet-control-scale.leaflet-control > div:nth-child(2)
{
    display: none;
}

.leaflet-control-scale.leaflet-control > div.leaflet-control-scale-line
{
    background-color: rgba(255, 255, 255, 0.7);
}

.info_close_button {
        width: 30px;
        height: 30px;
        background: lightgray;
        position: fixed;
        right: 10px;
        top: 10px;
        text-align: center;
        margin: auto;
        padding: 0px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor:pointer;
}

info-popup
{
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    display: flex;
    align-content: center;
    justify-content: center;
    z-index: 50000;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.247);
}

info-popup > div
{
    position: relative;
    background-color: #fff;
    width: fit-content;
    padding: 5px;
    max-height: 100%;
    overflow: auto;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,.65);
    display: flex;
    flex-direction: column;
    cursor:default;
    gap:5px;
}

@media screen and (min-width: 480px) {
  info-popup > div
  {
    width: fit-content;
    padding: 40px;
    max-height: 80%;
  }
}
@media screen and (min-height: 650px) {
info-popup > div
{
    max-height: 80%;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,.65);
    gap:10px;
}
}
expandable-region
{
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    border: 1px solid rgba(128, 128, 128, 0.301);
    padding: 5px;
}

.expandable_region_header
{
    display: flex;
    justify-content: left;
    align-items: center;
    gap:20px;
    cursor: pointer;
    font-size: large;
}

expandable-region.expanded > .expandable_region_header > img
{
    transform: rotate(90deg);
}

.expandable_region_body
{
    display:none;
    border-top: 1px solid rgba(128, 128, 128, 0.301);
    margin-top: 5px;
    padding:10px;
}

expandable-region.expanded > .expandable_region_body
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom_layercontrol_container
{
    border: rgba(255,255,255,1) solid;
    box-shadow: 0 1px 5px rgba(0,0,0,.65);
    border-radius: 3px;
    background: #fff;
    padding:10px;
    display: flex;
    flex-direction: column;
    gap:5px;
   /* z-index: 999999999999;*/
}

.custom_layercontrol_container .container_baselayer > *
{
    padding:5px;
    background-color: rgba(128, 128, 128, 0.075);
    min-width: fit-content;
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
    display: block;
    border: none;
}

.custom_layercontrol_container .layer_info_button
{
    border-radius: 50%;
    margin-left: 5px;
    width: 12px;
    height: 12px;
    border: none;
    padding: 0px;
    background-color: #0000;
    cursor: pointer;
}

.custom_layercontrol_container .layer_info_button > *
{
    width: 100%;
    height: 100%;
}

.custom_layercontrol_container .container_baselayer > *:hover
{
    background-color: rgba(128, 128, 128, 0.144);
}

.custom_layercontrol_container .container_baselayer > *.layer_visible
{
    background-color: rgba(128, 128, 128, 0.342);
    cursor: default;
}

.custom_layercontrol_container .container_baselayer
{
    display: flex;
    flex-direction: row;
    gap:2px;
}

.custom_layercontrol_container .container_otherlayer > *
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.custom_layercontrol_container .container_otherlayer > * > *
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.custom_layercontrol_container .szenario_layer_container > *
{
    display: none;
}

.custom_layercontrol_container .szenario_layer_container > .selected_szenario
{
    display: block;
}

.custom_layercontrol_container .szenario_switcher > *
{
    padding:5px;
    background-color: rgba(128, 128, 128, 0.075);
    min-width: fit-content;
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
    display: block;
    border: none;
}

.custom_layercontrol_container .szenario_switcher > *:hover
{
    background-color: rgba(128, 128, 128, 0.144);
}

.custom_layercontrol_container .szenario_switcher > *.selected_szenario
{
    background-color: rgba(128, 128, 128, 0.342);
    cursor: default;
}

.custom_layercontrol_container .szenario_switcher
{
    display: flex;
    flex-direction: row;
    gap:2px;
}