#_LegendeWidgetButton  {
    background: white url("img/picto_leg.png") no-repeat center center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02);
    width: 40px;
    height: 38px;
}
#legendWidgetPanel {
    position: relative;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
    /* SB probleme de lignes trop longues : min-width: 367px; A tester */
    width: 367px;
    min-width: 367px;
    max-width: calc(100% - 20px);
    display:none;
    margin-top: 5px;
    border-radius: 0;
}
@media screen and (max-width: 767px) {
    #legendWidgetPanel {
        min-width: 309px;
    }
}
.Legende #legendDijit {
    max-height: calc(100vh - 220px);
}
.Legende #titrePopup {
    text-transform: uppercase;
}
.Legende .panel-heading {
    border-bottom: 1px solid #ddd;
}
/*
.Legende .esriLegendServiceLabel {
    display: none;
}*/
.Legende .esriLegendLayerLabel {
    font-weight: 300;
    margin-bottom: 5px;
    /* font-size: 1.2em; */
}
.Legende #fermetureLegende {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}
.Legende #legendDijit {
    overflow-y: auto;
    overflow-x: hidden;
}
.Legende .esriLayerList .esriContainer {
    background-color: transparent;
    color: #6e6e6e;
    border: none;
}

.Legende .icones {
    height: 29px;
    width: 16px;
    margin: 2px 5px 2px 2px;
}
.Legende .icones_vehicules {
    height: 20px;
    width: 30px;
    margin: 2px 5px 2px 2px;
}
.Legende .titreCouche {
    font-weight: bold;
}





/* !!!! A partir du niveau 2 on affiche plus les labels intermediaires 
[id^="legendDijit_limites_toponyme_aplats"].esriLegendGroupLayer .esriLegendLayerLabel {
    display: block;
}
[id^="legendDijit_limites_toponyme_aplats"].esriLegendLeft .esriLegendLayerLabel {
    display: none;
}
[id^=legendDijit_limites_toponyme_aplats] .esriLegendLeft {
    padding-left: 0;
}*/




















/*
@media screen and (max-width: 767px) {

    .Legende .panelWidget {

        position: fixed;
        height: 100%;
        width: 100%;
        left: 0px;
        bottom: 0px;


        display:none;
        z-index: 60;
        margin:0;
        border-radius: 0;    
    }
    .Legende #legendDijit {
        max-height: calc(100vh - 180px);
    }
*/
/*
    #widgetLegende {
        position: absolute;
        top: 0;
        left: 0;
    }
    #_LegendeWidgetButton {
        position: absolute;
        top: 158px;
        left: 16px;
    }

    .Legende #fermetureLegende {
        position: fixed;
    }
}

*/
