

.layer-control
{
    position:absolute;
    top:17px;
    right: 51px;
    z-index:30;
    max-height:calc(100% - 60px);
    overflow-y:auto;
    background:rgba(255,255,255,0.95);
    border-radius:4px;
    box-shadow:0 1px 4px rgba(0,0,0,0.3);
}



#.layer-control
#{
#    position:absolute;
#    top:10px;
#    right:10px;
#    background:white;
#    padding:10px;
#    border-radius:5px;
#}


.layer-section
{
    margin-bottom: 6px;
    margin-top: 6px;
    margin-left: 6px;
    margin-right: 6px;
}


.layer-row
{
    display:grid;
    grid-template-columns:
        auto
        minmax(120px, 1fr)
        100px
        45px;
    align-items:center;
    column-gap:8px;
}


.layer-opacity-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.layer-opacity-value {
    margin-left: 6px;
    white-space: nowrap;
}

.layer-opacity {
    width: 100px;
}

.layer-row .layer-opacity {
    display: inline-block;
}





#.layer-opacity
#{
#    width:90px;
#    justify-self:end;
#}

#.layer-opacity-value
#{
#    width:40px;
#    text-align:right;
#}

.layer-overlay
{
}


.layer-base
{
}


# Aussehen des Sliders

#.layer-opacity
#{
#    width: 90px;
#    height: 16px;
#
#    appearance: none;
#    -webkit-appearance: none;
#}


/* Firefox */
.layer-opacity::-moz-range-track
{
    height: 3px;
    background: #aaa;
    border-radius: 2px;
}

.layer-opacity::-moz-range-thumb
{
    width: 10px;
    height: 10px;

    border: 1px solid #666;
    border-radius: 50%;
    background: white;
}


/* Chrome / Edge */
.layer-opacity::-webkit-slider-runnable-track
{
    height: 3px;
    background: #aaa;
    border-radius: 2px;
}

.layer-opacity::-webkit-slider-thumb
{
    -webkit-appearance: none;

    width: 10px;
    height: 10px;

    margin-top: -6px;

    border: 1px solid #666;
    border-radius: 50%;
    background: white;
}


#map-credits
{
    position:absolute;
    right:10px;
    bottom:5px;

    font-size:10px;
    line-height:1.2;

    color:#555;
    background:rgba(255,255,255,0.7);
    padding:2px 4px;

    z-index:10;
    max-width:80%;
    text-align:right;
}
