
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: calc(80% - 30px);
  margin-top: 30px;
}

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{
height: 70%;
width: 30%;
color:black;
font-family:Arial, Helvetica, sans-serif;
font-size: 1.4rem;
font-weight: bold;
border-radius: 6px;
}

.classElevee{
  border: 2px solid red;
}

.classAbrupte{
  border: 2px solid purple;
}
.classMur{
  border: 2px solid black;
}

.classRemarkable{
  border: 2px solid blue;
}

.classAFlanc{
  border: 2px solid pink;
}
.classPortillon{
  border: 2px solid orange;
}
.classInterdit{
  border: 2px solid green;
}
.classInterditVelo{
  border: 2px solid grey;
}

.classCorrection{
  position: absolute;
  top:10px;
  right: 10px;
  height:42px;
  width: 42px;
  background-color:orangered;
  border-radius: 5px;
}

.classNoRating{
  position: absolute;
  top:10px;
  left: 10px;
  height:42px;
  width: 42px;
  background-color:lightblue;
  border-radius: 5px;
}

.modeBtnsDiv{
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 70px;
}

.classMode{
  height:35px;
  width: 35px;
  background-color:#9a9678;
  border-radius: 5px;
}

.classMode:disabled{
    background-color:lightgrey;
}

.particularMode{

}

.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;
}

.poiDiv{
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: white;
  height: calc(13% + 30% + 40% + 15px);
  font-size: 1.3rem;
}



.spanPoi{
  margin-top: 10px;
  height: 40px;
  font-size: 1.8rem;
  font-weight: bold;
}

.poiTitle{
  height:40px;
  width: 90%;
  border: #273746 2px solid;
  border-radius: 5px;
}

.poiDescription{
  height:90px;
    width: 90%;
    border: #273746 2px solid;
    border-radius: 5px;
}

.poiTypeBtns{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 150px;
width: 100%;
}

.smallPoiTypeBtns{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 45%;
  width: 100%;
}

.poiBtnType{
  height: 90%;
  width:100px;
  border-radius: 5px;
}

.ordinaireType{
  border: brown 3px solid;
}

.gravierType{
  border: grey 3px solid;
}

.techniqueType{
  border: goldenrod 3px solid;
}

.autreType{
  border: purple 3px solid;
}

.valCanPoiBtn{
display: flex;
justify-content: space-evenly;
align-items: center;
width: 100%;
height: 80px;
}

.validatePoiBtn{
  height:50px;
  width:100px;
  border-radius: 5px;
  background-color: #66a4ce;
}

.cancelPoiBtn{
  height:50px;
  width:100px;
  border-radius: 5px;
  background-color: rgb(231, 87, 85);
}

.cancelPoiBtn[disabled]{
    background-color: lightgrey;
    color:grey
}

.validatePoiBtn[disabled]{
    background-color: lightgrey;
    color:grey
}

.divChrono1{
  position: relative;
height:30%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
overflow-y:auto ;
border-bottom: 2px solid #9E9764;
box-sizing: border-box;
}

.divChrono2{
  position: relative;
height:30%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
overflow-y:auto ;
border-bottom: 2px solid #9E9764;
box-sizing: border-box;
}


.chrono{
color:black;
font-family:Arial, Helvetica, sans-serif;
font-size: 1 rem;
text-align: center;
}

.divButtonChrono2{
  flex-direction: row;
  width: 90%;
  height: 40% ;
  justify-content: space-evenly;
  align-self: center;
}

.smallDivButtonChrono2{
  width: 100%;
  height: 100% ;
  overflow-y: auto;
}

.smallestDivButtonChrono{
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100% ;
  justify-content: space-evenly;
}

.divButtonChrono{
height: 30%;
width: 100%;
display: flex;
justify-content: center;
margin-bottom: 5px;
}

.buttonChrono{
height:100%;
width:75px;
margin:0 5px 0 5px;
}

.divTextAreaHMS{
display: inline;
height: 30%;

}
.textAreaHMS{
width:35px;
height: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 red;
}
.escalier{
  border:3px dashed red;
}
.sable{
  border:3px solid sandybrown;
}
.inconnu{
  border:3px solid grey;
}
.autre{
  border:3px dashed grey;
}
.autreDetail{
height:30px;
align-self: center;
}
.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:4px solid black;
border-radius: 4px;
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;
}
  
