/*
DÉBUT PERSONNALISATION
*/


/*Décaler le dock vers le bord gauche de la page lorsqu'on a caché la barre d'outils*/
 #docks-wrapper {
    display: none;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Barre menu gauche~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#mapmenu {
    background: rgb(26, 50, 96);
}

/*Cacher chackbox couches*/
#switcher input[type=checkbox] {
    display: none !important;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Dock Latéral~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*Changer couleur titres docks*/
#nav-tab-switcher > a {
    color: black !important;
}

span.title > span.text {
    color: black !important;
}

#switcher-layers-actions {
    display: none !important;
}

h4.lizmapPopupTitle {
    color: black !important;
    font-weight: bold;
    font-size: 16px;
}

#nav-tab-atlas > a {
    color: black !important;
}

h3 {
    color: black !important;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Dock Atlas~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*Cacher bouttons sélection communes atlas*/
.liz-atlas-item, .liz-atlas-run, .liz-atlas-item + .liz-atlas-item {
    display: none !important;
}


/*Rendre le fond du panneau atlas transparent*/
/* Rendre le fond du dock transparent */
#right-dock {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Éventuellement : rendre son contenu transparent */
#right-dock .tabbable,
#right-dock .tab-content,
#right-dock .menu-content,
#right-dock-content,
#right-dock-content #atlas {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Modifications Popups~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*Rabaisser le titre de la popup manuellement*/
.lizmapPopupTitle {
    position: relative;
    margin-bottom: -8px !important ;
}

/*Remonter le bandeau des outils*/
Div.feature-toolbar {
    position: relative;
    padding-bottom: 10px;
}

/*Passer la croix closer au premier plan*/

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
    z-index: 9999 !important;
}

/*supprimer la barre de défilement de la popup*/

#liz_layer_popup_contentDiv {
    max-height: none;
    overflow: auto;
}

/*Fond de la fenpetre popu légèrement transparent*/

.ol-popup {
    position: absolute;
    background-color: #ffffff78;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Dock Latéral Gauche transparent ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/



/* Racine du panneau gauche */
#dock {
  background: transparent !important;
  box-shadow: none !important;
}

/* Conteneur des contenus */
#dock .dock-content {
  background: transparent !important;
}

/* Onglets */
#dock .dock-tabs,
#dock .nav-tabs {
  background: transparent !important;
  border: none !important;
}

/* Contenu actif */
#dock .tab-pane {
  background: transparent !important;
}

/* Cas Bootstrap sournois */
#dock .tab-content {
  background: transparent !important;
}


/*Cacher outil de fermeture du paneau*/

#dock-close {
    display: none;
}



/*Sélecteurs couches fond transparents*/

#dock div.menu-content, div.modal div.menu-content {
    background: transparent;
}
#dock .dock-content,
#dock div.menu-content {
  background: transparent !important;
}
/* Effet Glass*/
#dock {
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Bas de carte copyright~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#attribution-box {
    bottom: 0;
    right: 0px;
    padding: 0 0.5em;
    position: absolute;
    z-index: 1000;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}



/*enlever logo 3liz*/
#map-content img {
    display: none;
}
/*enlever i*/
#attribution-ol {
    display: none;
}

/*enlever mouse position sous l'échelle pour simplifier l'interface*/
lizmap-mouse-position {
    display: none;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Outil infobulle surbrillance~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*Cacher le dock de l'outil infobulle*/
#dock,
#mini-dock,
#bottom-dock,
#right-dock,
#sub-dock {
    display: none !important;
}

#map-content .tooltip {
  display: none !important;
}

#map-content .tooltip-arrow {
  display: none !important;
}