
html{
  height: 100%;
  font-size: 10px;
}

body{
  padding:0;
  margin:0;
  height: 100%;
  overflow-y: auto;

}

#map{
  position:relative;
  width: 100%;
  height: 30%;
}

#notes{
  position: relative;
  width: 100%;
  height: 70%;
}

button{
border-radius: 2px;
}


#disableType{
  position:absolute;
  top:0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: none;
}

.classTypeChemin{
position: relative;
padding-top:5px;
margin-bottom: 5px;
height: 13%;
display: flex;
justify-content: space-around;
}
.classOrdinaire{
height:100%;
width:30%;
color:black;
font-family:Arial, Helvetica, sans-serif;
font-size: 2rem;
font-weight: bold;
}
.classGravier{
  height: 100%;
  width: 30%;
  color:black;
font-family:Arial, Helvetica, sans-serif;
font-size: 2rem;
font-weight: bold;
}
.classRoute{
  height: 100%;
  width: 30%;
  color:black;
font-family:Arial, Helvetica, sans-serif;
font-size: 2rem;
font-weight: bold;
}

.buttonParticular{
margin:0 20px 0 20px ;

}

.classHard{
  height:100%;
  width:25%;
  color:black;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  border: 2px solid red;
}

.classDifficult{
  height:100%;
  width:25%;
  color:black;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  border: 2px solid black;
}

.classRemarkable{
  height:100%;
  width:25%;
  color:black;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  border: 2px solid blue;
}

.classDevers{
  height:100%;
  width:25%;
  color:black;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  border: 2px solid purple;
}

.classCorrection{
  position: absolute;
  bottom:10px;
  right: 10px;
  height:42px;
  width: 42px;
  background-color:orangered;
  border-radius: 5px;
}

.confirmScreen{
display: none;
position:absolute;
top:0;
height: 100%;
width: 100%;
z-index:1000;
background-color: rgba(32, 32, 32, 0.75);
}
.confirmWindow{
position:absolute;
left:50%;
top:30%;
transform: translate(-50%,-50%);
background-color: whitesmoke;
height: 200px;
width: 95%;
border-radius: 5px;
border: solid 3px burlywood;
text-align: center;
font-size: 15px;
}
#spanInfo{
margin-top: 30px;
}
.btnsBlock{
position:absolute;
width: 100%;
bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
}

.btnConfirm{
height: 40px;
width: 25%;
border: solid blue 2px;
margin-left:10px;
}
.btnCancel{
height: 40px;
width: 25%;
border: solid red 2px;
margin-right:10px;
}

.divChrono{
  position: relative;
height:30%;
display: flex;
flex-direction: column;
align-items: center;
overflow-y:auto ;
border-bottom: 2px solid #9E9764;
box-sizing: border-box;
}

#btnMode{
  position: absolute;
  top:10px;
  right: 10px;
  height:35px;
  width: 35px;
  background-color:#9a9678;
  border-radius: 5px;
}

.chrono{
height: 30%;
color:black;
font-family:Arial, Helvetica, sans-serif;
font-size: 1 rem;
text-align: center;
}

.divButtonChrono2{
  flex-direction: row;
  width: 90%;
  height: 30% ;
  justify-content: space-evenly;
  align-self: baseline;
}

.smallDivButtonChrono2{
  display: flex;
  flex-direction: row;
  width: 150%;
  height: 100% ;
  justify-content: space-evenly;
  overflow-x: auto;
}

.divButtonChrono{
height: 30%;
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 5px;
}

.buttonChrono{
height:100%;
margin:0 5px 0 5px;
}

.divTextAreaHMS{
display: inline;
height: 30%;

}
.textAreaHMS{
width:25px;
}

#disableQuality{
position:absolute;
top:0;
width: 100%;
height: 500px;
background: rgba(0, 0, 0, 0.2);
display: none;
}

.classQualiteChemin{
position: relative;
height:40% ;
width: 100%;
overflow-y: auto;
/*display: flex;
flex-direction: column;
justify-content: space-around;
align-items: space-around;*/
overflow-y: auto;
padding-top:5px
}
.classDivQuali{
  height:50%;
  display: flex;
justify-content: space-around;
}
.classQualiButton{
  height:90%;
  width: 25%;
  display:inline;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 3px;
}

.prim{
border:3px solid brown;
}

.sec{
  border:3px solid #f5b041;
}
.ter{
  border:3px solid #9E9764;
}
.tech{
  border:3px solid pink;
}
.brutLeg{
  border:3px solid #3498db;
}
.acc{
  border:3px solid #273746;
}
.brut{
  border:3px solid #27ae60;
}
.interdit{
  border:3px solid red;
}
.interditVelo{
  border:3px solid red;
}
.inadapte{
  border:3px solid purple;
}
.escalier{
  border:3px solid purple;
}
.mur{
  border:3px solid purple;
}
.portillon{
  border:3px solid purple;
}
.demit{
  border:3px solid rgb(13, 200, 194);
}

.divTextbox{
  height: 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid #9E9764;
  border-bottom: 2px solid #9E9764;
  box-sizing: border-box;
}

.textbox{
font-family:Arial, Helvetica, sans-serif;
font-size: 1.1rem;
font-weight: bold;
display: block;
text-align: center;
}

.createFile{
border:2px solid black;
height:15%;
display: flex;
flex-direction: column;
padding:0 5px 5px 5px;
justify-content: space-between;
}

.buttonsCreateFile{
  height: 80%;
  display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;


}
.classCreate{
width: 30%;
height: 80%;
font-size: 14px;
border: 2px solid green;
}
.classReset{
width: 20%;
height: 80%;
font-size: 14px;
border: 2px solid black;
}

.classDownload{
width: 30%;
font-size: 14px;
border: 2px solid blue;
height: 80%;
display: flex;
justify-content: center;
align-items: center;
background-color: whitesmoke;
}

a:focus{
color:red;
}

.progress-container {
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #4caf50;
  transition: width linear;

}

input[type="button"][disabled]{
color:grey;
border:2px solid rgb(243, 171, 171);;
}


  #techniqueDetail{
    position: absolute;
    display: none;
    top: 22%;
    width: 100%;
    height: 65%;
    background-color: white;
    flex-direction: row;
    justify-content: space-around;
    font-size: 13px;
    font-weight: bold;
  }

  .smallTechDetail{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 20%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOS pour un scroll fluide */
    scrollbar-width: none;             /* Firefox */
    -ms-overflow-style: none; 
  }

  .degradationDetail{
 display: flex;
 flex-direction: column;
 justify-content: space-evenly;
 height: 100%;
  }

  .degradationSpan{
    margin-top: 12px;
    margin-bottom: 15px;
  }

  .degradation{
    height: 22%;
    min-height: 22%;
    margin: 10px;
  }

  .buttonTechDetail{
    height:22%;
    width:100%;
    color: black;
    font-weight: bold;
  }

  #validateTechBtn{
    height:22%;
    width:15%;
    align-self: center;
    text-align: center;
    border: blue solid 2px;
  }

  #validateTechBtn[disabled]{
    border: #66a4ce solid 2px;
  }

  .low{
    border: solid 2px green;
  }
  .middle{
    border: solid 2px orange;
  }
  .high{
    border: solid 2px red;
  }
  .low[disabled]{
    border: solid 2px rgb(113, 138, 113);
  }
  .middle[disabled]{
    border: solid 2px rgb(235, 196, 126);
  }
  .high[disabled]{
    border: solid 2px rgb(240, 131, 131);
  }

  .degradation.low {
    background: url('data:image/svg+xml;utf8, \
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
      <defs> \
        <pattern id="dots" x="0" y="0" width="18" height="18" patternUnits="userSpaceOnUse"> \
          <circle cx="2" cy="2" r="1" fill="green" /> \
        </pattern> \
      </defs> \
      <rect x="0" y="0" width="100" height="22" fill="url(%23dots)" /> \
    </svg>') no-repeat center;
  background-size: cover;
}

.degradation.middle {
  
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <defs> \
      <pattern id="dots" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"> \
        <circle cx="2" cy="2" r="1" fill="orange" /> \
      </pattern> \
    </defs> \
    <rect x="0" y="0" width="100" height="22" fill="url(%23dots)" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.degradation.high {
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <defs> \
      <pattern id="dots" x="0" y="0" width="5" height="5" patternUnits="userSpaceOnUse"> \
        <circle cx="2" cy="2" r="1" fill="red" /> \
      </pattern> \
    </defs> \
    <rect x="0" y="0" width="100" height="22" fill="url(%23dots)" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.degradation.bossele {
  background: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">\
    <defs>\
      <pattern id="waves" x="0" y="0" width="40" height="20" patternUnits="userSpaceOnUse">\
        <path d="M0 10 Q10 0, 20 10 T40 10" fill="none" stroke="%23080" stroke-width="2"/>\
      </pattern>\
    </defs>\
    <rect width="100%" height="100%" fill="url(%23waves)" />\
  </svg>') no-repeat center;
background-size: cover;
}

.degradation.paved {
  background: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">\
    <defs>\
      <pattern id="paving" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse">\
        <rect x="0" y="0" width="24" height="24" rx="2" ry="2" fill="%23999" stroke="%23ccc" stroke-width="1" />\
      </pattern>\
    </defs>\
    <rect width="100%" height="100%" fill="url(%23paving)" />\
  </svg>') no-repeat center;
background-size: cover;
}

.pente.low{
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <polygon points="0,18 100,18 100,22 0,22" fill="green" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.pente.middle{
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <polygon points="0,22 100,11 100,22" fill="orange" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.pente.high{
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <polygon points="0,22 100,0 100,22" fill="red" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.largeur.low{
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <line x1="20" y1="0" x2="20" y2="22" stroke="green" stroke-width="2" /> \
    <line x1="80" y1="0" x2="80" y2="22" stroke="green" stroke-width="2" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.largeur.middle{
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <line x1="35" y1="0" x2="35" y2="22" stroke="orange" stroke-width="2" /> \
    <line x1="65" y1="0" x2="65" y2="22" stroke="orange" stroke-width="2" /> \
  </svg>') no-repeat center;
background-size: cover;
}

.largeur.high{
  background: url('data:image/svg+xml;utf8, \
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 22" preserveAspectRatio="none"> \
    <line x1="46" y1="0" x2="46" y2="22" stroke="red" stroke-width="2" /> \
    <line x1="54" y1="0" x2="54" y2="22" stroke="red" stroke-width="2" /> \
  </svg>') no-repeat center;
background-size: cover;
}
  
