@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700;1,800;1,900&display=swap");

:root{
    --orange-tims: #f2a603;
    --orange-fa: #ef604b;
    --bleu-canard: #048b9a;
    --b-c-fade: #048b9a69;
    --blanc: #ffffff;
    --shadow: 3px 3px 25px 3px rgba(0,0,0,0.76);

    --bandeau-top-height: 70px;
    --bandeau-bot-height: 32px;

    --height-2: 20px;
    --width-menus: 230px;
    --width-menus-js: 230;
    --border-color: #d2d7da;
    --padding-base: 15px;
    --padding-base-r: -15px;
}
.bleu{color: var(--bleu-canard); width: 100%;}

* {
    margin: 0;
    font-family: "Montserrat", sans-serif;
}
html{overflow-x: hidden}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: 8px;
  scrollbar-color: var(--red) #ffffff00;
}

.encart-bpe {
  scrollbar-width: none;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  cursor: pointer;
}

.encart-bpe::-webkit-scrollbar {
  width: 0px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: #ffffff00;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--red);
  border-radius: 10px;
  border: 0px none #ffffff00;
  cursor: pointer;
}




.red{color: var(--orange-fa)}
/* #region Layout */
.container{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden
}
.left-part-container{
    position: relative;
    height: 100vh;
    width: 50%;
    min-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--padding-base);
    z-index: 2000;
    box-shadow: var(--shadow);
}
.left-part-container > *{
    margin-left: var(--padding-base);
    width: calc(100% - var(--padding-base) - var(--padding-base));
}
.right-part{
    position: relative;
    height: 100%;
    width: 50%;
}
.left-part{
    box-sizing: border-box;
    height: calc(100% - 110px);
    width: 100%;
    /* display: flex; */
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 70px 0;
    padding: 0 var(--padding-base);
    gap: var(--padding-base);
    overflow: auto;
    overflow-x: hidden;
}
/* #endregion */

/* #region logo-titre */
.logo-outils{
    display: flex;
    align-items: center;
    position: relative;
    font-size: 15px;
    font-weight: 600;
    padding: var(--padding-base) 0 var(--padding-base) 0;
    gap: 10px;
    background: white;

    border-bottom: 1px solid var(--border-color);
}
.logo-outils-exp{
    position: relative;
    font-size: 20px;
    font-weight: 600;
}
.logo-bottom{
    position: absolute;
    bottom: 0;

    border-top: 1px solid var(--border-color);
}
.logos-cont{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-evenly;
    width: 100%;
}
.logos-cont-2{
    display: flex;
    align-content: center;
    justify-content: flex-start;
}
.logos-cont-2 > img{
    max-height: 20px;
}
.logos-cont > img{
    max-height: 30px;
    cursor:pointer
}
/* #endregion */

.loader{
    position: absolute;
    z-index: 20000;
    width:100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color:white;
    font-size: 20px;
    background-color: var(--b-c-fade);
}
.loader i{
    font-size: 35px;
    font-weight: 700;
}
.loader-bar-cont{
    height: 20px;
    width: 500px;
    border: 2px solid #ffffff;
    border-radius: 100px;
    overflow: hidden;
}
.loader-bar-prog{
    width: 0;
    height: 100%;
    background-color: red;
}
.close{
    position: fixed;
    top: 10px;
    right: 10px
}
.export{
    position: fixed;
    top: 30px;
    right: 10px
}

/* #region Légende */
.legende{
    position: absolute;
    z-index: 2002;
    background-color: white;
    bottom: 10px;
    left: 10px;

    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    width: 250px
}
.ligne-legend{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
    cursor: pointer;
}
.iso-showned{
    background-color: var(--border-color);
}
.ligne-legend p{font-size: 10px}
.cercle-legend{
    width: 15px;
    height: 15px;
    border-radius: 1000px;
}
/* #endregion */

/* #region tool bar*/

    /* #region old toolbar */
/* .tool-bar{
    position: absolute;
    z-index: 2500;
    background-color: white;
    top: 0;

    width: 50px;

    display: none;
    flex-direction: column;

    box-shadow: var(--shadow);
}
.tool-item{
    position: relative;
    width:100%;
    aspect-ratio: 1/1;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--bleu-canard);
    transition: all .3s;
    cursor: pointer
}
.tool-item:hover{
    color: var(--orange-fa);
    background-color: var(--bleu-canard);
}
.tool-item:hover .tool-menu{
    display: flex;
}
.menu-data {
    position: absolute;
    z-index: 1999;
    background-color: white;
    top: 0;
    left: 100%;
    transition: all .3s;
    display: none;
    flex-direction: column;
    padding: 10px;
    width: 230px;
} */
    /* #endregion */


.tool-bar{
    z-index: 2500;
    position: absolute;
    top: 0;
    left: 0;
}
.tool-menu{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px
}
.menu-zones, .menu-points{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.btn-menu-data {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    background-color: white;
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid var(--bleu-canard);
}
.menu-data * {
    color: black !important;
    font-size: 12px;
}
.icone-menu-data {
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.is-active{
    background-color: var(--bleu-canard);
    color: white
}
.icone-activated{
    background-color: var(--bleu-canard);
    color: var(--orange-fa) !important
}
/* #endregion */



.popupTemp{
    position: absolute;
    z-index: 3000;
    background-color: white;
    padding: 5px;
    box-shadow: var(--shadow);
    font-size: 10px
}

.popupExpl{
    display: none;
    position: absolute;
    /* border: 2px dashed #000; */
    box-shadow: var(--shadow);
    background-color: rgb(255 255 255);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: 3000;
    overflow: auto;
}
.popupExpl > *{
    padding: 30px;
}
.popup-expl-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    /* aspect-ratio: 210/297; */
}
.popup-expl-container p{
    font-size: 50%
}
.popup-expl-container a{
    font-size: 50%
}
.popup-expl-container h4{
    font-size: 85%
}
.popup-expl-container h3{
    font-size: 100%
}
.export-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;;

    border-bottom: 1px solid var(--border-color);
}
.export-footer{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    bottom: 10px;
    right: 20px;

    /* border-top: 1px solid var(--border-color); */
}
.export-header, .export-footer{
    display: none
}
.tab-expl{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin-left: 10px;
}
.ligne-expl{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    font-size: 50%
}
.ligne-expl span:first-child{
    width: 40px;
    border-right: 1px solid red
}
.ligne-expl span:nth-child(2){
    width: 150px;
}

.ligne-srcs{
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 5px
}
.ligne-srcs h4{
    width: 100%;
    font-size: 14px;
}
.ligne-srcs p, .ligne-srcs a{
    font-size: 12px;
}
.liste-covoit-potentiel p{
    font-size: 12px
}
.icone-srcs{
    width: 100%;
    height: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}
.icone-srcs i{
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #E6E6E6;
    border-radius: 3px;

    cursor: pointer;
}

.details-empl{
    display: flex;
    flex-direction: column;
}
.ligne{
    width: 100%;
    display: flex;
    gap: 5px;
}
.ligne p, .ligne a{
    display: flex;
    justify-content: center;
    width: 50%;
    padding: 3px;
    font-size: 14px;
    text-decoration: none;
}
.ligne-bis:nth-child(odd){
    background-color: #E6E6E6
}
.ligne-bis p{
    display: flex;
    justify-content: center;
    gap: 5px;
    width: 50%;
    padding: 3px;
    font-size: 14px;
}
.ligne-preco{
    display: flex;
    align-items: center;
}


.reset{
    position: absolute;
    right: 70px;
    top: 50%;
    cursor: pointer;
    translate: 0 -50%;
}