/*
    LAYER SWITCHER
*/

#layerswitcher{
    position:absolute;
    left:10px;
    top:100px;
    width:450px;
    max-height:500px;
    background-color: #212529;
    border-radius:0px 10px 10px 10px;
    color:#fff;
    overflow-y:auto;
    overflow-x:hidden;
}

#layerswitcher .disabled{
    color:#999 !important;
}

#layerswitchercontainer > .toggle{
    position:absolute;
    top:70px;
    left:10px;
    background-color: #212529;
    color:#f3b910;
    z-index:10;
    cursor:pointer;
}

#layerswitchercontainer.visiblelayerswitcher > .toggle{
    padding:5px 10px 10px 10px;
    border-radius:10px 10px 0px 0px;
}

#layerswitchercontainer.hiddenlayerswitcher > .toggle{
    padding:5px 10px 5px 10px;
    border-radius:10px;
}
#layerswitchercontainer.hiddenlayerswitcher > #layerswitcher{
    display:none;
}


/*
    LEGEND
*/

#legend{
    position:absolute;
    right:10px;
    bottom:40px;
    background-color: #212529;
    border-radius:10px 10px 0px 10px;
    color:#fff;
    display:flex;
    padding:5px 10px;
}

#legend > div{
    margin-right:20px;
}

#legend > div:last-child{
    margin-right: 0px;
}

#legend .title{
    margin-bottom:10px;
}

#legend .item{
    display: flex;
}

#legend .box{
    width:40px;
    height:20px;
    margin-right:10px;
}

#legendcontainer .toggle{
    position:absolute;
    right:10px;
    bottom:10px;
    background-color: #212529;
    color:#f3b910;
    z-index:10;
    cursor:pointer;
}

#legendcontainer.visiblelegend > .toggle{
    padding:10px 10px 5px 10px;
    border-radius:0px 0px 10px 10px;
}

#legendcontainer.hiddenlegend > .toggle{
    padding:5px 10px 5px 10px;
    border-radius:10px;
}
#legendcontainer.hiddenlegend > #legend{
    display:none;
}

/*
    SLIDER TRANSPARENT
*/

#transparentslidercontainer{
    background-color:#212529;
    padding:5px 10px;
    color:#fff;
    position: absolute;
    left: 10px;
    bottom:10px;
    border-radius:10px;
}

/*
    INFODETAIL
*/

#infodetailcontainer .toggle{
    background-color:#fff;
    color:#000;
    border-radius:10px 10px 0px 0px;
    width:30px;
    height:30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0px;
    top:-30px;
    font-weight: bold;
    cursor:pointer;
}

#infodetail{
    background-color:#fff;
    color:#000;
    padding:10px;
    border-radius:10px 0px 10px 10px;
}

#infodetailtab button{
    background-color: #ccc;
    color: #000;
    margin-bottom:10px;
}

#infodetailtab button.active{
    background-color: #212529;
    color:#f3b910;
}

#infodetailtabcontent .card-body{
    max-height:500px;
    max-width:500px;
    overflow:auto;
}