#map-container {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: calc(100vh - 70px);
}

:root {
  color-scheme: light;
}

#map {
  height: 100%;
  width: 100%;
  background-color: #006c57;
  position: relative;
  z-index: -1;
}

.bigBottomBlock{
  background-color: white;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  position:absolute;
  bottom:0%;
  max-width: 800px;
  width:75%;
  margin-left: auto;
  margin-right: auto;
  left:0;
  right:0;
  height:230px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
}


.bigBottomBlock2{
  background-color: white;
  display:flex;
  flex-direction: column;
  position:absolute;
  bottom:0%;
  max-width: 800px;
  width:75%;
  margin-left: auto;
  margin-right: auto;
  left:0;
  right:0;
  max-height: 50px;
  justify-content: center;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);

}

/***********************************************************************************BOTTOM BLOCK******************************************************************/

  .botInfoBulle{
  font-family: var(--body-font);
  font-size: 11px;
  color:#006c57;
  text-align: center;
  position: absolute;
  top:-60px;
  left: 0;
  width: 180px;
  height: 22px;
  border-right: solid 3px #006c57;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  background-color: white;
  display: none;
  align-items: center;
  justify-content: center;
}

    .botInfoBulle.active::after {
      content: "";
      position: absolute;
      bottom: -15px;  /* distance sous la bulle */
      left: var(--pos-fleche);
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 15px solid transparent;
      border-right: 15px solid transparent;
      border-top: 15px solid black; /* même couleur que la bulle */
    }

    .linkInfoBulle{
      position: absolute;
      width:11px;
      border:1px solid #006c57 ;
      right:-15px;
    }


.classLvlProfileBtn{
  all:unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#levelRiderMetric{
  cursor:pointer
}

#profileMetric{
    cursor:pointer
}

.levelRiderSpan{
  padding-right:5px;
  text-align: center;
  font-size: 14px;
}

.profileDiv{
  position:absolute;
  display: none;
  top:-226px;
  width:115px;
  height:216px;
  background-color: #EDE4DB;
  border-radius: 15px;
  box-shadow: 1px 1px 5px grey;
}

.dropdown-menu{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 13px;
  text-align: center;
  color:black;
}

.elementProfile{
  width: 100%;
  height:20%;
  border-bottom:2px solid white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.elementProfileTitle{
  width: 100%;
  height:20%;
  border-bottom:2px solid white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.elementProfile:hover{
color:grey;
}

.elementLvl{
  width: 100%;
  height:25%;
  border-bottom:2px solid white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.elementLvlTitle{
  width: 100%;
  height:25%;
  border-bottom:2px solid white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.elementLvl:hover{
color:grey;
}

.titleProfileLvl{
  background-color:white;
  border-radius: 15px 15px 0 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor:default;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lastElementProfileLvl{
border-bottom:unset;
border-radius: 0 0 15px 15px;
}

.picked{
  background-color: #006c57;
  color:white;
}

.divSmallMetric{
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
height: 100%;
width:80px
}

.divSmallMetricProfile{
  display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
height: 100%;
width:100px;
background-color: #ede4db;
border-radius: 12px 0 0 0;
}

.divSmallMetricChrono{
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
height: 100%;
width:130px;
}

.divSmallMetricLevelProfile{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.svgMetricBlock{
  height:20px;
}

.smallMetric{
  margin-left: 3px ;
  margin-right: 3px;
}

.levelDiv{
  position:absolute;
  display: none;
  top:-190px;
  width:115px;
  height:180px;
  background-color: #EDE4DB;
  border-radius: 15px;
  box-shadow: 1px 1px 5px grey;
}

.gpxResizeBlock{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 20%;
}

.exportGpx{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 70px;
  height: 25px;
  margin-left:15px;
  border-radius: 5px;
  background-color: #006C57;
   color: white;
  cursor: pointer;
  font-size:0.75rem;
  font-family: var(--body-font);
}

.exportGpxLegend{
  position: absolute;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 70px;
  height: 25px;
  margin-left:5px;
  border-radius: 5px;
  background-color: #006C57;
   color: white;
  cursor: pointer;
  font-size:0.75rem;
  font-family: var(--body-font);
}


.disabled{
  color: grey;
  background-color: lightgrey;
  cursor:default;
 }

 .disableDl{
  fill:grey;
 }

 .enableDl{
    fill:#D7FF01;
 }

 .showHideElevation{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  border: 1px solid #006C57;
  background-color: white;
  cursor: pointer;
  padding: 4px;
 }

  .showHideElevation[disabled]{
    color:grey;
    background-color: lightgrey;
 }

.bottomRightBlock{
  position: relative;
  display:block;
  width: 100%;
}

#bottomRightBlock {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease;
}

#bottomRightBlock.show {
  max-height: 180px; /* doit être ≥ à la hauteur réelle */
}

#idBigBottomBlock{
    max-height: 50px;
    transition: max-height 500ms ease;
}

#idBigBottomBlock.show {
  max-height: 230px; /* doit être ≥ à la hauteur réelle */
}



/**********************************************NOTICE d'UTILISATION***********************************************/

.noticeBlock {
  padding:20px;
  background-color: white;
  border-radius: 10px;
  position: absolute;
  z-index: 10001;
  top:350px;
  left:50%;
  transform: translate(-50%,-50%);
  width: 800px;
  height: 430px;
  display:none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: content-box;
}

.titleNotice{
font-family: var(--body-font);
font-size: 24px;
font-weight: bold;
color:black;
width: 100%;
}

.innerNoticeBlock{
display: grid;
grid-template-columns: 1fr 1fr;
width: 95%;
row-gap:10px
}

.innerNoticeTitle{
  color:#006c57;
  margin-bottom:5px;
  font-size: 16px;
  font-weight: bold;
}

.textNoticeBlock{
font-family: var(--body-font);
font-size: 12px;
color:#3B3C36;
display: flex;
flex-direction: column;
height: 100%;
width: 95%;
text-align:left;
}

.spanNoticeBlock{
  margin-top: 0.4rem;
  margin-bottom:0.4rem
}

.spanNoticeBlockV2{
  margin-top: 0.4rem;
  margin-bottom:0.4rem;
  display: flex;
  width: 100%;
}

.closeNotice{
  all:unset;
  position:absolute;
  top:10px;
  right:10px;
  height: 22px;
  width: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border:1px solid lightgrey;
  border-radius: 6px;
}

  .hoverElevationInfo{
    position: relative;
    width: 70px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 15px;
  }
    .displayNone{
    display:none;
  }

  .hoverInfo{
    display: flex;
    flex-direction: column;
  }

  .currentInfoLabel{
    font-family: var(--body-font);
  font-size: 12px;
  color:#a0a0a0;
  }

  .currentInfo{
    font-family: var(--body-font);
  font-size: 12px;
  color:#b19373;
  }
      .currentInfoTemp{
    font-family: var(--body-font);
  font-size: 12px;
  color:#555D50;
  }

#elevation-div{
  position: relative;
  width: 100%;
  height: 100px;
  display: 'none';
  background-color: white;
  align-items: center;
  justify-content: center;
  padding-bottom: 13px;
  padding-top: 10px;
  box-sizing: content-box;
}
.markerOnLineArea{
  position:absolute;
  width:calc((100% - 70px)*0.85);
  height: 70%;
  top:10px;
  left:calc(40px + 70px + 15px);
}
.svgGraph{
  width:calc(100% - 70px);
  height: 100%;
  /*border: solid 2px blue;*/
  display: flex;
  justify-content: center;
  align-items: center;
}

.textAxisStyle{
  fill:grey;
  font-family: var(--body-font);
}

.axisClass{
  stroke:black;
  stroke-width: 1px;
}

.axisSecClass{
  stroke:#E5E4E2;
  stroke-width: 1px;
  opacity: 0.7;
}

.xAxisElement{
  text-anchor:middle;
  font-size: 11px;
}

.yAxisElement{
  text-anchor:middle;
  font-size: 11px;
}


.cursorBar{
  stroke:#555D50;
  stroke-width: 1px;
}
.elevationPathFill{
  fill:#EDE4DB  ;
  opacity:0.7;
}

.elevationPath{
  fill:transparent;
  stroke-width:4px;
  stroke: #723e64;
}
.groupElevationPath{
  fill:black;
}
.elementGEP{
  fill:transparent;
  stroke-width:1.8px;
  stroke-linecap:round;
}
.botGreenClass{
  stroke: #5DBB63;
}
.greenClass{
  stroke: #9ACD32;
}

.botYellowClass{
  stroke: #E4D96F;
}
.yellowClass{
  stroke: #FCAE1E;
}
.topYellowClass{
  stroke: #FA8128;
}

.botOrangeClass{
  stroke: #DD571C;
}
.orangeClass{
  stroke: #E3242B;
}
.topOrangeClass{
  stroke: #D0312D;
}
.botRedClass{
  stroke: #B90E04;
}

.redClass{
  stroke: #900D09;
}
.topRedClass{
  stroke: #541E1B;
}

.botGreenColorTooltip{
  color: #5DBB63;
}
.greenColorTooltip{
  color: #9ACD32;
}

.botYellowColorTooltip{
  color: #E4D96F;
}
.yellowColorTooltip{
  color: #F9E076;
}
.topYellowColorTooltip{
  color: #FCAE1E;
}

.botOrangeColorTooltip{
  color: #DD571C;
}
.orangeColorTooltip{
  color: #E3242B;
}
.topOrangeColorTooltip{
  color: #D0312D;
}
.botRedColorTooltip{
  color: #B90E04;
}

.redColorTooltip{
  color: #900D09;
}
.topRedColorTooltip{
  color: #541E1B;
}
/*background de elevation control*/
.elevation-control .background {
  background-color: white;
  height: 100%;

}

/* juste en dessous du graphe d'élévation*/
.elevation-summary {
  display: none;
}


/* suppression légende altitude en dessous du elevation-div*/
.legend {
  display: none
}

.slopeBar{
  position:absolute;
  display: flex;
  border: grey solid 1px;
  height: 10px;
  margin-left: auto;
  margin-right: auto;
  left:41px;
  right:28px;
  box-sizing: border-box;
  border-radius: 6px;
}

.thetooltip {
  display: none;
  background: #C8C8C8;
  position: absolute;
  z-index: 1000;
  width:50px;
  height:30px;
  top:-30px;
  pointer-events:none
}

.tooltipBar{
  position: absolute;
  display: block;
  height: 225px;
  width: 2px;
  border:#796878 1px solid ;
  z-index: 1000;
  pointer-events:none;
}

.separationBottomBlock{
    width: 80%;
    border: 1px solid #49796B;
    margin:auto;
    margin-bottom:10px
}
/*Pour la gauge des types de chemin*/

.trackTypeBox{
  background-color: white;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  
}

.spanTrackType{
  align-self: center;
  margin-bottom: 10px;
  font-family: var(--body-font);
}

.multiGauge {
    width: 90%;
    height: 7px;                 /* hauteur de la jauge */
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Chaque segment */
  .multiGauge .segment {
    height: 100%;
    width: 0%;
    transition: width 600ms ease; /* animation */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    min-width: 0;                 /* pour éviter overflow de texte */
    color: rgba(255,255,255,0.95);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  /* Texte optionnel à l'intérieur d'un segment (masqué si < certain %) */
  .multiGauge .segment .pctLabel {
    /*on retire le label pour cette version**/
    display: none;

    padding: 0 6px;
    opacity: 0.95;
    font-family: var(--body-font);
  }
  /* Cacher le texte si trop petit pour être lisible (ex: <8%) */
  .multiGauge .segment.small .pctLabel { display: none; }

  /* Légende simple */
  .gaugeLegend {
    font-family: var(--body-font);
    display:flex;
    font-size: 0.65rem;
    justify-content: center;
    align-items: flex-start;
    height: 30px;
    width: 100%;
    gap: 2px;
    flex-wrap: wrap;
    max-width: 100%;
    padding:0 10px 0 10px;
  }
  .legendItem {
    display:flex;
    flex-shrink: 0;
    width: 120px;
    gap:8px;
    align-items:center;
  }
  .legendColor {
    width:10px;
    height:10px;
    border-radius:50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05) inset;
  }

  /* Exemple d'esthétique responsive */
  @media (max-width:420px){
    .multiGauge { height:15px; }
    .multiGauge .segment .pctLabel { font-size:11px; }
  }

.bottomBlock{
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E5E4E2;
}

.metricBlock {
  font-family: var(--body-font);
  font-size: 12px;
  width: 90%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

/*****************************Legende Block*************************************************/

.legendBlock{
  position:absolute;
  z-index: 10;
  top:100px;
  left:0;
  width:225px;
  max-height:500px;
  display: none;
  flex-direction: column;
  background-color: white;
  box-sizing: border-box;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border-radius:  0 10px 10px 0 ;
  font-family: var(--body-font);
    overflow: auto;
}

.closeLegend{  
  all:unset;
  position:absolute;
  top:10px;
  right:10px;
  height: 22px;
  width: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border:1px solid lightgrey;
  border-radius: 6px;
}

.separationLegend{
  width: 100%;
  border:solid 1px lightgrey;
  opacity:0.2;
}

.firstInnerTitle{
  padding-top: 10px;
}

.legendTitle{
  align-self: flex-start;
  font-size: 18px;
  font-weight: bold;
  padding-left: 10px;
  padding-top: 10px;
}

.innerLegendTitle{
    align-self: flex-start;
  font-size: 15px;
  font-weight: bold;
  color:#006c57;
  margin-bottom: 6px;
}

.legendTrack{
  display: flex;
  flex-direction: column;
  padding:10px
}

.typeLegend{
  font-size:0.8rem;
  font-weight: bold;
  margin-bottom: 3px;
  margin-top: 6px;
}

.legendTrackSpan{
  font-family: var(--body-font);
  font-size: 0.75rem;
  color:black;
  width:50px
}

.legendZoneSpan{
  font-family: var(--body-font);
  font-size: 0.75rem;
  color:black;
  width:120px
}

.legendMarkerSpan{
  font-family: var(--body-font);
  font-size: 0.75rem;
  color:black;
  width:160px
}


.title{
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
}

.ordGravBox{
  width: 150px;
  display: flex;
  justify-content:flex-end;
  align-items: center;
}

.box {
  width: 100%;
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.boxInLine {
  width: 100%;
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.qualityLine{
  display: inline-block;
  height: 2px;
  width: 100px;
  border-radius: 10%;
}

.roulant {
  background-color: #ddb892; 
}

.gravier {
  background-color: #b1c2d7; 
}

.irregulier {
  background-color: #A67B5B;
}
.engaged {
  background-color: #BF40BF;
}
.accidente {
  background-color: #e12f32;
}
.inadapte {
  background-color: black;
}
.remarquable {
  background-color: #6CA0DC;
}
.unknown {
  background-color: #6495ED;
}

.road {
  background-color: #00009C;
}
.limitPolygon {
  height: 0;
  width: 40%;
  border: 2px dashed blue;
}
.glow-polygon {
    filter: drop-shadow(0 0 8px #D8FF00);
}

.limitClassification{
 width: 60%;
height: 10px;
background-image: url("data:image/svg+xml,<svg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'><rect width='100%25' height='100%25' fill='none' stroke='%23006c57' stroke-width='6' stroke-dasharray='6%2c14' stroke-dashoffset='2' stroke-linecap='square'/></svg>");
}

.limitFreeClassification{
 width: 60%;
height: 10px;
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23EE4B2B' stroke-width='6' stroke-dasharray='6%2c 14' stroke-dashoffset='2' stroke-linecap='square'/%3e%3c/svg%3e");
}

.detailDiv{
margin:0 10px 10px 10px;
}

.detailSpan{
font-size: 0.8rem;
text-decoration: underline;
font-family: var(--body-font);
cursor: pointer;
}

button {
  background-color: #2e8b57;
  border: 2px solid #005b4b;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

button[disabled]{
  cursor:default;
}

.botButtonsSpan{
  border:solid 3px #2e8b57;
  background-color: white;
  box-sizing: border-box;
  border-radius: 6px;
  display: inline-flex;
  padding:2px
}

.botButtonsSpanSec{
  display: inline-flex;
  padding-right:15px;
  width:60px;
  height:25px;
  justify-content: flex-end;
  align-items: center;
}

.botButtonsSpanTer{
  display: inline-flex;
  padding-right:15px;
  width:60px;
  height:25px;
  justify-content: space-between;
  align-items: center;
}

.svgNoticeContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #006c57;
  border-radius: 6px;
  height: 23px;
  width: 23px;
}

.svgNoticeContainerV2{
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid grey;
  border-radius: 6px;
  height: 23px;
  width: 23px;
}

.svgNotice{
  height: 14px;
  width: 14px;
}

.refreshSvg{
  background-color: #006c57;
}

.geolocNotice {
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z'/%3E%3C/svg%3E");
}



.classCircleLetter {
  height: 20px;
  width: 20px;
  background-color: #bbb;
  border-radius: 50%;
  text-align: center;
  display: inline-block;
}



.leaflet-top .leaflet-control {
  margin-top: 180 px;
  opacity: 1;
}


/* Le paragraphe d'indication de routage*/
.leaflet-routing-container,
.leaflet-routing-error {
  display: none;
}

/*les pop-up leaflet*/
.leaflet-popup {
  position: absolute;
  text-align: center;
  margin-bottom: 20px;
}
/*le container du contenu de la pop-up*/
.leaflet-popup-content-wrapper{
  all:unset;
  display: block;
  width: 220px;
  margin-left:-30px
}


/*le contenu de la pop-up*/
.leaflet-popup-content{
    all:unset;
  font-family: var(--body-font);;
  font-size: 14px;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/*le bouton croix de la pop-up*/
.leaflet-container a.leaflet-popup-close-button{
right:-30px;
}

/* la pointe au-dessous du pop-up*/
.leaflet-popup-tip{
  background-color: #006C57;
  box-shadow:unset;
  /* transform: rotate(90deg);
  clip-path: polygon(
    50% 50%,
    100% 100%,
    0 100%
  ); */
}

.leaflet-popup-tip-container{
  /* margin-top:0;
  margin-left: -12px; */
}

.popUpPoiClass{
  width: 160px;
}

.spanPopup{
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 50px); /* pour que le padding ne dépasse pas de la popup */
  padding: 0 25px 0 25px;
  min-height:50px;
  background-color: white;
  color:#006C57;
  border-radius:10px 10px 0 0;
  box-sizing: content-box;
}
.spanPopupResume{
  max-height: 150px;
  font-size: 14px;
  text-align: start;
  line-height: 22px;
  overflow-y: auto;
  background-color: white;
  width:calc(100% - 20px); /***pour éviter que le padding ci dessous ne fasse dépasser la boite de la popup***/
  padding:0 10px 10px 10px;
  box-sizing: content-box;
}

  .popUpSeparation{
    height: 50%;
    border: 1px solid #D7FF01;
    align-self: center;
    opacity:0.5
  }

.popUpAdd{
  width: 160px;
}

.popUpDelete{
  width: 160px;
}

.zonePopUpContent{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 30px;
}

.zonePopUpSmallContent{
}

.cntxButtonsBlock{
display: flex;
align-items: center;
justify-content: space-evenly;
width: 100%;
height:50px;
position: relative;
border-radius:0 0 10px 10px;
background-color:#006C57;;
}

.popUpBtnClass{
  all:unset;
  color:#D7FF01;
cursor: pointer;
width:100%;
height: 100%;
}

.popUpBtnClass:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.popUpBtnClassPoi{
  all:unset;
  color:#D7FF01;
cursor: pointer;
width:100%;
height: 100%;
}

.popUpBtnClassPoi:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btnWithIcon {
  display: flex;
  align-items: center;
  justify-content: center; /* 🔑 centre icône + texte ensemble */
  gap: 0px;               /* espace icône / texte */
}

.btnIcon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}



.addStartClass{
  padding-right: 10px;
}

.addEndClass{
padding-left: 10px;
}
.addNewEndClass{
padding-left: 10px;
}

.addWaypointClass{
padding-right: 10px;
}

.deleteClass{
}


/*l'icone géolocalisation*/
.leaflet-control-locate{
  position:absolute;
  z-index:1;
  right: 0;
  margin-right:25px;
  bottom:125px;
  width:29px;
  height:29px;
  background-color: white;
  box-shadow: 0 0 0 0;
}


.leaflet-control-locate a .leaflet-control-locate-location-arrow{
margin:7px;
width:15px;
height:15px;
}

/*les icones zoom*/
.leaflet-control-zoom{
  position:absolute;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index:1;
  right:0;
  margin-right:25px;
  width:29px;
  height: 55px;
  bottom:60px;
  background-color: white;
  box-shadow: 0 0 0 0;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out{
  font:unset; 
}

/*classe commune entre zooms et geolocalisation*/
.leaflet-bar a {
  width:100%;
  height: 100%;
}

/*dans l'attribution, il a un edit osm*/
  .leaflet-edit-osm{
    display:none
  }
  /*le control-zoom avec leaflet-ui qui se superpose au bon control-zoom + loader embetant lors du zoom par scroll*/
  .leaflet-control-zoom.leaflet-control-layer-container.leaflet-bar.leaflet-control{
    display: none;
  } 

  .searchBox{
    position: absolute;
    top: calc(9% + 30px);
    right: 0;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    margin-right: 25px;
    border-radius: 6px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #006c57;
    z-index: -1;
  }

  .searchBoxHide{
    position: absolute;
    top: calc(9% + 30px);
    right: 350px;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    margin-right: 10px;
    border-radius: 6px;
    background-color: white;
    display: flex;
    justify-content: center;
    border: 1px solid #006c57;
    z-index: -1;
  }

  .searchBox:hover{
    background-color: rgb(244,244,244);
  }
  .searchBoxHide:hover{
    background-color: rgb(244,244,244);
  }

  .searchButton{
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding:7px;
  }

  .infoBox{
    position: absolute;
    bottom:10px;
    right: 0;
    width: 70px;
    height: 30px;
    margin-right: 25px;
    display: flex;
    justify-content: space-between ;
    align-items: center;
    z-index: -1;
  }

  .infoBoxHide{
    position: absolute;
    bottom:10px;
    right: 360px;
    width: 30px;
    height: 30px;
    margin-right: 25px;
    border-radius: 4px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgb(252,132,40);
    z-index: 12;
  }

  .infoButton{
    background-color: transparent;
    color:white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #4a3b2b;
    width: 30px;
    height: 30px;
    padding:3px;
  }

    .infoButtonNotice{
    background-color: transparent;
    color:white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #4a3b2b;
    width: 25px;
    height: 25px;
  }

  .btnNotice{
    all: unset;
    cursor: pointer;
    text-decoration: underline;
    font-size: 18px;
  }

  .infoDiv{
    position: absolute;
    top:calc(65% + 130px);
    right: 0;
    width: 350px;
    height: 60px;
    margin-right: 25px;
    border-radius: 4px;
    background-color: white;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border: 2px solid rgba(0,0,0,0.35);
    z-index: 12;
  }

  .attributionText{
    font-size: 14px;
    color:grey
  }

.marker{
width: 18px;
height: 18px;
background-color: lightgrey;
border:solid 2px grey ;
color: black;
border-radius: 50%;
font-size: 13px;
text-align: center;
line-height: 19px;
position: absolute;
margin-top: -6px;
margin-left: -6px;
box-sizing: content-box;
}

.errorMarker{
  width: 22px;
  height: 22px;
  line-height: 22px;
  background-color: red;
  color:white;
  border-radius: 50%;
  font-size: 13px;
  text-align: center;
  line-height: 18px;
  position: absolute;
  margin-top: -6px;
  margin-left: -6px;
}

 .poiMarker{
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  position: relative;
    box-sizing: content-box;
}

.poiMarkerSection{
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  position: relative;
  box-sizing: content-box;
}

.start .end .previousStart{
  width: 22px;
  height: 22px;
  line-height: 22px;

}

.start{
  color:black;
  border: solid 3px #E31837;
}

.end{
  color:black;
  border: solid 3px #0066b2;
}

.previousStart{
  border: solid 3px #006c57;
  background-color: #D7FF01;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gravierMarker{
  color:white;
  background-color: grey;
  border:solid 3px lightgrey ;
}
.gravierPoi{
   border: 4px solid grey;
}

.roulantMarker{
  color:white;
  background-color: brown;
  border:solid 3px lightgrey ;
}
.roulantPoi{
  border: solid 4px brown;
}
.autrePoi{
  border: solid 4px #6495ED;
}

.autreMarker{
  color:white;
  background-color: #6495ED;
  border:solid 3px lightgrey ;
}


.techniqueMarker{
  color:white;
  background-color: goldenrod;
  border:solid 3px lightgrey ;
}

.techniquePoi{
    border: solid 4px goldenrod;
}

.remarquableMarker{
  color:white;
  background-color: #6495ED;
  border:solid 3px lightgrey ;
}
.remarquablePoi{
    border: solid 4px #6495ED;
}

.onLine{
  width: 9px;
  height: 9px;
  background-color: #723e64;
  border: solid 2px #a48f7a;
  margin-top:0;
margin-left:0;

}


.nature{
  fill: white; 
  stroke:green; 
  stroke-width:2
}

.popUpNature div:first-of-type{
border-color:green ;
width: 150px;
font-size: 11px;
font-family: var(--body-font);
padding-right:10px
}

.city{
  fill: white; 
  stroke:darkblue; 
  stroke-width:2
}

.popUpCity div:first-of-type{
  border-color:darkblue ;
  width: 150px;
  font-size: 11px;
  font-family: var(--body-font);
  padding-right:10px
}


.ride {
  fill: white;
  stroke:brown; 
  stroke-width:2
}

.popUpRide div:first-of-type{
  border-color:brown ;
  width: 150px;
  font-size: 11px;
  font-family: var(--body-font);
  padding-right:10px
}

.popUpRide div:first-of-type div:first-of-type p:first-of-type{
  margin: 0 0 0 0;
}

.botGreenColorMarker{
  background-color: #5DBB63;
}
.greenColorMarker{
  background-color: #9ACD32;
}

.botYellowColorMarker{
  background-color: #E4D96F;
}
.yellowColorMarker{
  background-color: #F9E076;
}
.topYellowColorMarker{
  background-color: #FCAE1E;
}

.botOrangeColorMarker{
  background-color: #DD571C;
}
.orangeColorMarker{
  background-color: #E3242B;
}
.topOrangeColorMarker{
  background-color: #D0312D;
}
.botRedColorMarker{
  background-color: #B90E04;
}

.redColorMarker{
  background-color: #900D09;
}
.topRedColorMarker{
  background-color: #541E1B;
}


.leaflet-marker-icon{
  border:none;
  background:none;
}

.custom-theme.elevation-control .area path.altitude,
		.custom-theme .legend-altitude rect.area {
			fill: #723e64;  /* fallback color */  /* svg pattern (optional) */
			fill-opacity: 0.8;
			stroke: #a48f7a;
			stroke-width: 1.5;
		}


.disabledMap{
  display: none;
  position:absolute;
  width:100%;
  height: 100%;
  background-color: rgba(32, 32, 32, 0.75);
  z-index: 10000;
  top:0;
  /*backdrop-filter: grayscale(0.5);*/
}
.formExportOrSave{
  font-family: var(--body-font);
  font-size: 16px;
  text-align: center;
  position: absolute;
  top:40%;
  left:50%;
  transform: translate(-50%,-50%);
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  background-color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  /* height: 266px; */
}

.formGpx{
  display: none;
  font-family: var(--body-font);
  font-size: 16px;
  text-align: center;
  position: absolute;
  top:40%;
  left:50%;
  transform: translate(-50%,-50%);
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  background-color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  height: 350px;
}

.containerSpanFormGpx{
display: flex;
align-items: center;
justify-content: center;
height: 70px;
}


.pFormGpx{
  color:#006c57;
  padding-bottom:5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset:7px;
  height: 50px;
  align-content: center;
}

.spanFormGpx{
  color:#006c57;
  padding-bottom:5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset:7px;
}

.formNewIt{
  font-family: var(--body-font);
  font-size: 16px;
  text-align: center;
  position: absolute;
  top:40%;
  left:50%;
  transform: translate(-50%,-50%);
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  background-color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  height: 200px;
}

.btnImportInfo{
  all:unset;
  position: relative;
  color:white;
  font-size: 0.8rem;
  text-align: end;
  padding-bottom: 2px;
  padding-right: 2px;
  cursor: pointer;
}
.classFlexRow{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-top: 2px solid #2e8b57;
  border-bottom: 2px solid #2e8b57;
  height: 80px;
}
.classFlexColumn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-color: white;
  height: 220px;
}
.classGpxText{
  font-family: var(--body-font);
  font-size: 16px;
  width: 20%;
  background-color: white;
  color: #292929;
  font-weight: bold;
}

.placeHFormGpx{
 font-family: var(--body-font);
  font-size: 16px;
text-align: center;
height: 38px;
width: 55%;
border:none;
outline: none;
background-color: white;
}

.placeHFormGpx[placeholder]{
  color:grey;
}

.spanGpxContainer{
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content:space-evenly;
  height: calc(100% - 60px);
  color:#006c57;
}

.btnGpxContainer{
  display: flex;
  align-items:center;
  justify-content:space-evenly;
  border-radius: 0 0 10px 10px;
  height: 60px;
}

.btnGpxContainerV2{
  display: flex;
  align-items:center;
  justify-content:center;
  height: 60px;
}

.btnModale{
  height: 40px;
  border-radius: 6px;
  width: 45%;
  color:#D7FF01;
  background-color: #006c57;
  border: none;
}

.btnModaleCancel{
  background-color: white;
  border: 2px solid #00372c;
  color:#006c57;
}

.btnModale:hover{
  border:2px solid #D7FF01;
  color:#006c57;
  background-color: #D7FF01;
}

.btnGpxForm{
  font-family: var(--body-font);
  font-size: 14px;
  background-color: white;
  height: 40px;
  width:50%;
  line-height: 20px;
  border:none;
  cursor:pointer
}

.btnGpxFormV2{
  color: #D7FF01;
  background-color: #006c57;
  border-radius: 6px;
  box-shadow: none;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 1rem;
  height: 40px;
  width:75%;
  border: none;
}

.btnGpxFormV4{
  font-family:var(--body-font);
  font-size: 0.9rem;
  background-color: #006c57;
  height: 45px;
  width:75%;
  line-height: 20px;
  border-radius: 6px;
  cursor:pointer;
  color:#D7FF01;
  border: none;
}

.btnGpxFormV3{
  font-family: var(--body-font);
  font-size: 14px;
  background-color: white;
  color: #006c57;
  border: 2px solid #00372c;
  border-radius: 6px;
  height: 40px;
  width:100px;
  cursor:pointer;
}

.btnGpxForm:hover{
background-color: #006c57;
color: #D7FF01;
}

.btnGpxFormV2:hover{
color: #006c57;
background-color: #D7FF01;
}

.btnGpxFormV3:hover{  
color: #D7FF01;
}

.btnGpxFormV4:hover{  
color: #006c57;
background-color: #D7FF01;
}

.separationLine{
  width: 90%;
  border: 1px solid #006c57
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.dot-save {
  background-color: #006c57;
}

.dot-gpx {
  background-color: #2ecc71; 
}
.dot-gpx-tuto {
  background-color: #2ecc71; 
}

.dotText{
  font-size:13px;
  color:gray
}


.dl{
  border-right: 1px solid #D7FF01;
  border-radius: 0 0 0 10px ;
  color:#006c57
}

.cl{
  border-left: 1px solid #D7FF01;
  border-radius: 0 0 10px 0;
  color:#006c57
}

.dlInfo{
  font-family: var(--body-font);
  font-size: 16px;
  color:#006c57;
  text-align: center;
  position: absolute;
  z-index: 10001;
  top:100px;
  left:50%;
  transform: translate(-50%,0);
  border-radius: 10px;
  border:1px solid grey;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  background-color: white;
  width: 420px;
  display: none;
  align-items: center;
  justify-content: center;
}

.infoMessage{
  font-family: var(--body-font);
  font-size: 0.9rem;
  color:#3B3C36;
  text-align: center;
  text-underline-offset: 3px;
  line-height: 30px;
  position: absolute;
  z-index: 10002;
  top:25%;
  left:50%;
  transform: translate(-50%,0);
  border-radius: 10px;
  border:1px solid grey;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  background-color: white;
  width: 380px;
  padding: 0 10px 0 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.containerCloseDetail{
  width: 5%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.containerCloseInfo{
  position:relative;
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom:8px;
}

  .closeInfoMessage{
  all:unset;
  cursor: pointer;
  height: 35px;
  width: 100px;
  border: 1px solid #006C57;
  color:#D7FF01;
  background-color:#006C57;
  border-radius: 6px;
  box-sizing: border-box;
  }

  .closeInfoMessage:hover{
  color:#006C57;
  background-color:#D7FF01;
  border: unset;
  }

.closeDetailImport{
  all:unset;
  position:absolute;
  top:8px;
  right:2%;
  cursor: pointer;
}

#dlInfoFinish{
  height: 100px;
  background-color: #006c57;
  opacity:90%;
  color:white;
}

.spanDlInfoFinish{
  font-size: 14px;
}

.tutoSpan{
  font-size:13px;
}


.loaderContainer{
position:absolute;
z-index: 10001;
top:40%;
left:50%;
transform: translate(-50%,-50%);
display: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #006c57;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

    .loaderGeosearch {
  width: 30px;
  height: 30px;
  border: 4px solid #575149;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  .loaderStart {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 6px solid #006c57;
    border-top: 6px solid #ddd;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    }

    .toastContainer{
      position: absolute;
      top:20px;
      left:50%;
      width: 400px;
      transform: translate(-50%,0);
      border: #006c57 solid 2px;
      background-color: #76C476;
      color:grey;
      border-radius: 6px;
      display:none;
      justify-content: center;
      align-items: center;
      padding:12px
    }
    .toastContent{
    width: 90%;
    }
    .textToast{
    font-size: 14px;
    font-family: var(--body-font);
    line-height: 20px;
    font-weight: 500;
    color:#535862;
    }
    .titleToast{
    font-size: 16px;
    font-family: var(--body-font);
    font-weight: 600;
    color:#121212;
    }

    .closeBtnToast{
      all:unset;
      width:10%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }


  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
  } 

/**************************************Centrer la carte sur une localité**************************************************/
  .searchLocationDiv{
    position: absolute;
    z-index: 1000;
    top: calc(9% + 30px);
    right:7px;
    width: 340px;
    height: calc(56% + 140px);
    display: none;
    flex-direction: column;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
    box-sizing: border-box;
    
  }

  .inputSearchBox{
    position: relative;
    width: 80%;
    height: 50px;
    align-self: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .inputSearch{
    all:unset;
    width: 90%;
    height: 100%;
    font-family: var(--body-font);
    font-size: 1rem;
    color:black;
  }

  .resultSearchBox{
    position: relative;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--body-font);
    font-size: 1rem;
    color:black;
    margin-top: 15px;
    overflow-y: auto;
  }

  .geosearchResult{
  margin: 10px;
  cursor: pointer;
  }
    .geosearchSeparation{
  width:80%;
  border-bottom:1px solid lightgrey;
  }


  .separationGeoSearchBlock{
    width: 80%;
    border: 1px solid #49796B;
    align-self: center;
  }

  /******************************************************* BtnBlock ***************************************************/

  .buttonsBlock{
    position:absolute;
    display: flex;
    flex-direction: column;
    top:65px;
    right:25px;
    width: 30px;
  }

  
  /******HISTORY BLOCK****/


.historyArrowsBlock{
  position:absolute;
  top:200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  pointer-events: none;
  background-color: white;
  border-radius: 6px;
  border: 1px solid  #258070;
  box-sizing: border-box;
}

.historyBtns{
  all:unset;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events:auto;
  cursor:pointer
}

.historyBtns[disabled]{
}

.svgHistoryBtns{
  fill:grey;
}

.greenSvgStyle{
fill: none;
stroke: #006c57;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2;
}

.greySvgStyle{
fill: none;
stroke: #C0C0C0;
stroke-linecap: round;
stroke-linejoin: round;
}

.inNotice{
    transform: scale(0.8);
  transform-origin: center;
  transform-box: fill-box;
}

.boucleSvg{
  transform: scale(1.1);
  transform-origin: center;
  transform-box: fill-box;
}

.separationHistoryBtn{
    border-top: 1px solid  #258070;
    width:100%
}

/****Boutons de gestion*****/

.trackBtnsBlock {
  position:absolute;
  top:270px;
  width: 100%;
  height:105px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.trackBtns{
border:solid 1px #258070;
box-sizing: border-box;
background-color: white;
width: 30px;
height: 30px;
display: flex;
justify-content: center;
align-items: center;
padding:4px;
}

.trackBtns[disabled]{
border:solid 1px grey;
background-color: lightgrey;
}

.startAgainBtn{
  background-color: #258070;
}