 html,
 body {
     height: 100%;
     padding: 0;
     margin: 0;
     font-family: arial;

 }

 #map {
     position: absolute;
     left: 0%;
     width: 100%;
     height: 100%;
     border-style: solid;
     border-color: black;
     border-width: thin;

 }

 #query_tab {
     position: absolute;
     padding: 0.5% 0%;
     left: 0%;
     width: 0%;
     height: 100%;
     border-style: solid;
     border-color: black;
     border-width: thin;
     visibility: hidden;
     overflow: scroll;

 }

 #legend {
     z-index: 11;
     padding: 5px 5px;
     border: 1px solid grey;
     position: absolute;
     bottom: 7%;
     height: 0%;
     overflow: scroll;
     width: 0%;
     right: 0.75%;
     z-index: 10000;
     background-color: #ffffff;
     font-weight: bold;
     visibility: hidden;

 }


 #layer {
     position: relative;
     width: 85%;
 }

 #attributes {
     position: relative;
     width: 85%;
 }

 #operator {
     position: relative;
     width: 85%;
 }

 #value {
     position: relative;
     width: 85%;
 }

 #layer1 {
     position: relative;
     width: 85%;
 }

 #draw_type {
     position: relative;
     width: 85%;
 }


 #table_data {
     position: absolute;
     bottom: 0%;
     overflow: scroll;
     left: 0%;
     right: 0%;
     height: 0%;
     border: 1px solid #4CAF50;
 }

 #table {
     white-space: nowrap;
     grid-template-areas: "head-fixed""body-scrollable";
 }


 #table th {
     position: -webkit-sticky;
     /* for Safari */
     position: sticky;
     top: 0px;
     background-color: rgb(122, 209, 100);
 }

 #wms_layers_btn {
     position: absolute;
     z-index: 600;
     top: 1%;
     left: 35%;
 }

 #query_panel_btn {
     position: absolute;
     z-index: 600;
     top: 1%;
     left: 13%;
 }

 #legend_btn {
     position: absolute;
     z-index: 600;
     bottom: 2%;
     right: 0.75%;
 }


 #table_wms_layers {
     white-space: nowrap;
     grid-template-areas: "head-fixed""body-scrollable";
 }

 #table_wms_layers th {
     position: -webkit-sticky;
     /* for Safari */
     position: sticky;
     top: 0px;
     background-color: rgb(122, 209, 100);
 }


 .modal-dialog {
     max-width: 60% !important;
     height: 60% !important;
     top: 18% !important;


 }

 /*.form-select {
     left: 0%;
     width: 85% !important;

 }*/

 /*.form-control {
     left: 0%;
     width: 85% !important;

 }*/

 #clear_btn {
     position: absolute;
     z-index: 500;
     top: 1%;
     left: 50%;

 }

 #info_btn {
     position: absolute;
     z-index: 500;
     top: 1%;
     left: 80%;

 }

 #measuretype {
     position: absolute;
     z-index: 600;
     top: 1%;
     left: 62%;
     width: 12%;
 }

 #scale_bar {

     position: absolute;
     z-index: 500;
     bottom: 0%;
     left: 20%;
 }

 #scale_bar1 {
     color: black;
     font-weight: bold;
     position: absolute;
     z-index: 500;
     top: 22.875em;
     left: 0.5em;

 }

 .ol-popup-content {

     max-width: 500px;
 }

 .ol-scale-step-text {
     color: black;
 }

 .ol-scale-text {
     color: black;
     font-weight: bold;
 }

 .layer-switcher.shown {
     max-height: 465px;
 }

 .ol-control button {
     background-color: #017647f2 !important;
 }

 .ol-control button:hover {
     background-color: rgb(111, 108, 108) !important;
 }

 .ol-mouse-position {
     top: 95%;
     left: 0.5%;
     position: absolute;
     font-size: 14px;
     font-weight: bold;
 }

 .ol-zoom-extent {
     top: 3.8em;
     left: 0.5em;
     position: absolute;
 }

 .ol-zoomslider {
     top: 5.8em;
     left: 0.5em;
     position: absolute;
     height: 200px;
 }

 .ol-geocoder.gcd-gl-container {
     top: 21.875em;
     left: 0.5em;
     position: absolute;
 }



 .tooltip {
     position: relative;
     background: rgba(0, 0, 0, 0.5);
     border-radius: 4px;
     color: white;
     padding: 4px 8px;
     opacity: 0.7;
     white-space: nowrap;
 }

 .tooltip-measure {
     opacity: 1;
     font-weight: bold;
 }

 .tooltip-static {
     background-color: #ffcc33;
     color: black;
     border: 1px solid white;
 }

 .tooltip-measure:before,
 .tooltip-static:before {
     border-top: 6px solid rgba(0, 0, 0, 0.5);
     border-right: 6px solid transparent;
     border-left: 6px solid transparent;
     content: "";
     position: absolute;
     bottom: -6px;
     margin-left: -7px;
     left: 50%;
 }

 .tooltip-static:before {
     border-top-color: #ffcc33;
 }





 
/* style pour le bouton de traduction*/
/* Conteneur */
.language-switcher {
    position: absolute;
    top: 6px;
    right: 20px;
    z-index: 1000;
}

/* Bouton */
#langBtn {
    
    background: #017647f2;
    border: 1px solid #017647f2;
    padding: 3px 9px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

/* Menu caché par défaut */
.lang-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0px;
    background: #ddd;
    border: 1px solid  #ddd;
    border-radius: 4px;
    min-width: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Menu actif */
.lang-menu.active {
    display: block;
}

/* Options */
.lang-menu div {
    padding: 10px;
    cursor: pointer;
}

/* Hover */
.lang-menu div:hover {
    background-color: #f0f0f0;
}