:root{
  --CouleurPrimaire:#1f354d;
  --CouleurSecondaire:#03989e;
  --CouleurAccent:#FF8C42;
  --FontFamily:"Khand", sans-serif;
  --BoxShadow:rgb(163, 163, 163);
  --FontSizeREG:clamp(19px,1.3vw,30px);
  --FontSizeBIG:clamp(30px,7vw,42px);
}
*{
    scroll-snap-type:y proximity;
}
select option{
  color:black;
}
#PremiereVueL .FullScreen{ 
    position: relative;
    width:100%;
    height:50vh;
    object-fit: cover;
    object-position: 0px -70px;
    z-index: -1;
    margin-top: 0px;
}
#PremiereVueL h1{
  font-family: var(--FontFamily);
  font-size:var(--FontSizeBIG);
  line-height: var(--FontSizeBIG);
  font-weight: 600;
  text-align: left;
  margin-left: 100px;
  margin-top: -70px;
  z-index: +1;
  text-shadow:white 0px -5px 20px;
}

#PremiereVueL h2{
  font-family: var(--FontFamily);
  font-size:var(--FontSizeREG);
  line-height: var(--FontSizeREG);
  font-weight: 400;
  text-align: left;
  z-index: +1;
  margin-left: 100px;
}
#PremiereVueL #Text{
  margin-top: -70px;
  margin-left: 10px;
}
#PremiereVueL .icon{
  width:90px;
  height: auto;
}
.Filtre{
  align-items: center;
  display: flex;
  flex-direction: row;
  gap:clamp(5px,70vw,20px);
}
.Filtre select{
  padding:4px 8px 4px 8px;
  border-radius: 4px;
  border:none;
  background-color:#f0f0f0;
  font-size: calc(var(--FontSizeREG) - 2px);
  height: fit-content;
}
.Filtre .default{
  background-color: white;
  color:#c3c3c3;
}
.Toggle span{
  background-color: #ffffff;
  border-radius: 100%;
  padding:5px;
  color:var(--CouleurPrimaire);
  border:2px solid var(--CouleurPrimaire);
  font-size:calc(var(--FontSizeREG) + 7px);
}
.Toggle h3{
  background-color: #f0f0f062;
  margin-top: auto;
  margin-bottom: auto;
  padding-left:29px;
  margin-left: -25px;
  padding-right: 10px;
  z-index: -1;
  font-family: var(--FontFamily);
  font-size:var(--FontSizeREG);
  font-weight: 400;
}
.Toggle{
  cursor:pointer;
  transition:all 0.2s;
}
#Toggles{
  gap:clamp(5px,70vw,20px);
}
#Deroulant{
  display: flex;
  gap:clamp(5px,70vw,20px);
}
.active span{
  background-color: var(--CouleurPrimaire);
  color:white;
  font-weight: 400;
}
.active h3{
  background-color: #ffe60031;
}
@media only screen and (max-width: 630px){
  #AnneeMatiere{
    flex-direction: column;
  }
  #AnneeMatiere #Deroulant{
    width:100%;
    display: flex;
    justify-content:space-between;
  }
  #AnneeMatiere #Toggles{
    width:100%;
    display: flex;
    justify-content:space-between;
  }
  #PremiereVueL .FullScreen{
    width:200px;
    height:200px;
    border-radius: 100%;
    right:0px;
    position: absolute;
    object-position: 50% 50%;
    opacity: 50%;
  }
  #PremiereVueL .Horizontal{
    margin-top: 150px;
  }
}
/* HTML: <div id="loader"></div> */
#loader {
    margin-top: -4px;
    margin-left: -4.5px;
    display: none;
    position: relative;
    scale:0.5;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: 
      radial-gradient(farthest-side,#ffa516 94%,#0000) top/8px 8px no-repeat,
      conic-gradient(#0000 30%,#ffa516);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
    animation: l13 1s infinite linear;
  }
  @keyframes l13{ 
    100%{transform: rotate(1turn)}
  }
  /*Tuteur*/
  #Tuteurs{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap:30px;
    column-gap: 30px;
  }
  #Tuteurs .tuteur{
    max-width: 100%;
    position: relative;
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 16px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
  }
  #Tuteurs .tuteur:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  }

  #Tuteurs .tuteur > .Horizontal{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  #Tuteurs .tuteur img{
    border-radius: 50%;
    width: 110px;
    height: 110px;
    min-width: 110px;
    object-fit: cover;
    border: 3px solid var(--CouleurSecondaire);
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.25);
    transition: transform 0.3s ease;
  }
  #Tuteurs .tuteur:hover img{
    transform: scale(1.05);
  }
  @media only screen and (max-width: 665px){
    #Tuteurs{
      width: 100%;
      padding: 0 10px;
      box-sizing: border-box;
    }
    #Tuteurs .tuteur{
      width: 100%;
      max-width: 400px;
    }
    #NoResult{
      min-width:89vw;
      margin-left: auto;
      margin-right: auto;
    }
    }
  #Tuteurs .tuteur .infos{
    width: 100%;
    flex: 1;
  }
  #Tuteurs .tuteur .infos .Nom{
    font-family: var(--FontFamily);
    font-weight: 600;
    font-size: calc(var(--FontSizeREG) + 4px);
    color: var(--CouleurPrimaire);
    margin-bottom: 2px;
    line-height: 1.2;
  }
  #Tuteurs .tuteur .infos h5{
    font-family: var(--FontFamily);
    font-size: calc(var(--FontSizeREG) - 5px);
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
    line-height: 1.3;
  }
  #Tuteurs .tuteur .infos .Tarifs{
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin-top: 8px;
    border-bottom: 3px solid var(--CouleurSecondaire);
    padding-bottom: 8px;
  }
  #Tuteurs .tuteur .infos .Tarifs .Domicile,
  #Tuteurs .tuteur .infos .Tarifs .Distance{
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 6px 12px;
    transition: all 0.2s ease;
  }
  #Tuteurs .tuteur .infos .Tarifs .Domicile{
    border-right: 1px solid #ddd;
  }
  #Tuteurs .tuteur .infos .Tarifs .Domicile:hover,
  #Tuteurs .tuteur .infos .Tarifs .Distance:hover{
    background: rgba(3, 152, 158, 0.05);
  }
  /* Badge "Non offert" - grisé */
  #Tuteurs .tuteur .infos .Tarifs .Domicile.non-offert,
  #Tuteurs .tuteur .infos .Tarifs .Distance.non-offert{
    opacity: 0.4;
  }
  #Tuteurs .tuteur .infos .Tarifs .Domicile.non-offert:hover,
  #Tuteurs .tuteur .infos .Tarifs .Distance.non-offert:hover{
    background: transparent;
  }
  #Tuteurs .tuteur .infos .Tarifs span{
    background-color: var(--CouleurSecondaire);
    border-radius: 50%;
    padding: 4px;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
  }
  #Tuteurs .tuteur .infos .Tarifs .non-offert span{
    background-color: #aaa;
  }
  #Tuteurs .tuteur .infos h4{
    font-family: var(--FontFamily);
    font-size: calc(var(--FontSizeREG) - 4px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    display: flex;
    align-items: center;
    line-height: 1;
  }
  #Tuteurs .tuteur .infos .non-offert h4{
    color: #999;
  }
  #Tuteurs .tuteur .Distance{
    padding-right: 0;
  }
#Tuteurs .tuteur #CTASTuteur{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 6px;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-bottom: -16px;
}
#Tuteurs .tuteur .INFOTuteur{
  font-family: var(--FontFamily);
  font-weight: 400;
  font-size: calc(var(--FontSizeREG) - 4px);
  background: transparent;
  color: var(--CouleurSecondaire);
  padding: 4px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  margin-bottom: 4px;
}
#Tuteurs .tuteur .INFOTuteur:hover{
  color: var(--CouleurPrimaire);
  text-decoration: underline;
}
#Tuteurs .tuteur .INFOTuteur::after{
  content: " ↓";
}
#Tuteurs .tuteur .CTATuteur{
  width: 100%;
  font-family: var(--FontFamily);
  font-weight: 500;
  font-size: calc(var(--FontSizeREG) - 2px);
  background-color: var(--CouleurAccent);
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border-radius: 0 0 16px 16px;
}
#Tuteurs .tuteur .CTATuteur:hover{
  background-color: #e67a35;
}

/* Bio overlay - fond blanc flouté */
.InfoSup{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: 16px;
  cursor: pointer;
}
.InfoSup.active{
  opacity: 1;
  visibility: visible;
}
.InfoSup .InfoSupContent{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-height: 100%;
  overflow-y: auto;
}
.InfoSup h3{
  text-align: center;
  font-family: var(--FontFamily);
  font-weight: 400;
  font-size: calc(var(--FontSizeREG) - 3px);
  color: var(--CouleurPrimaire);
  line-height: 1.5;
  background-color: transparent !important;
}
.InfoSup .InfoSupClose{
  font-family: var(--FontFamily);
  font-size: 24px;
  font-weight: 300;
  color: var(--CouleurSecondaire);
  border: 2px solid var(--CouleurSecondaire);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}
.InfoSup .InfoSupClose:hover{
  background: var(--CouleurSecondaire);
  color: white;
}
#ContactTuteur h1{
  font-family: var(--FontFamily);
  font-size:calc(var(--FontSizeBIG) - 5px);
  font-weight: 500;
}
#ContactTuteur #disponibilités table{
  border-spacing: 0px;
  border-radius: 10px;
  font-family: var(--FontFamily);
  width:100%;
}
#ContactTuteur table td{
  background-color:#f0f0f0;
  text-align: center;
  font-size:calc(var(--FontSizeREG) - 8px);
}
#ContactTuteur tr span{
  cursor: pointer;
  transition: all 0.1s;
}
#ContactTuteur tr span:hover{
  scale:1.1;
}
#ContactTuteur .ColonneGauche{
  text-align: right;
  width:50px;
  padding-right: 10px;
  background-color: white;
  border:none;
  font-size:var(--FontSizeREG);
}
#ContactTuteur .LigneHaut td{
font-size:var(--FontSizeREG);
}
#ContactTuteur #Legende{
  margin-top: 20px;
}
#ContactTuteur #Legende .Horizontal{
  margin-top: 5px;
}
#ContactTuteur #Legende h3{
  font-size: var(--FontSizeREG);
  font-family: var(--FontFamily);
  font-weight: 400;
  margin-left: 5px;
}

#ContactTuteur table td span:not(.ActiveSelect):not(.DispoTuteur){
  border-radius: 100%;
  color:#cacaca;
}
.Indispo, #Cancel span{
  color:rgba(255, 0, 0, 0.308);
}
#Dispos span{
  color:green;
}
#PopUpMessage{
  display: none;
  width:100vw;
  background-color: var(--CouleurPrimaire);
  height: fit-content;
  position:fixed;
  bottom:0px;
  left:0px;
  text-align: center;
  z-index: 100;
}
#PopUpMessage h2{
  font-family: var(--FontFamily);
  font-weight: 400;
  font-size: calc(var(--FontSizeREG) + 5px);
  color:black;
  position:relative;
  max-width: 1000px;
  z-index: 5;
  margin-left: auto;
  margin-right: auto;
}
#PopUpMessage h5{
  position: relative;
  color:var(--CouleurPrimaire);
  font-family: var(--FontFamily);
  font-size:var(--FontSizeREG);
  background-color: white;
  width:fit-content;
  margin-left: auto;
  margin-right: auto;
  padding:4px 8px 4px 8px;
  color:black;
  cursor:pointer;
  margin-bottom: 10px;
}
.ActiveSelect{
  border-radius: 100%;
  background-color: var(--CouleurPrimaire);
  color:black;
}
.DispoTuteur{
  color:green;
}
#Coordonnees,#Enfant{
  margin-top: 20px;
}
#ContactTuteur form input{
  outline:none;
  transition:all 0.2s;
}

#ContactTuteur form input:focus{
  scale:1.03;
}
#ContactTuteur h1{
  margin-top: 0px;
}
#ContactTuteur form .half{
  font-family: var(--FontFamily);
  font-size:var(--FontSizeREG);
  padding:4px 8px 4px 8px;
  border-radius:10px;
  border:none;
  box-shadow:var(--BoxShadow) 2px 2px 4px;
}
#ContactTuteur form .Horizontal{
  gap:10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

#ContactTuteur form #SEND h3{
  font-family: var(--FontFamily);
  font-size:var(--FontSizeREG);
  font-weight: 400;
  margin-top: auto;
  margin-bottom: auto;
  position:relative;
  padding-top: 5px;
}
#ContactTuteur form #SEND img{
  object-fit: cover;
  border:2px solid white;
  box-shadow: var(--BoxShadow) 2px 2px 4px;
  border-radius: 100%;
  width:125px;
  height:125px;
  position:relative;
}
#ContactTuteur form #SEND{
  margin-top: 20px;
}
#ContactTuteur form #SEND button{
  height:min-content;
  background-color: var(--CouleurAccent);
  color:black;
  border:none;
  border-radius:10px;
  position: relative;
  box-shadow: var(--BoxShadow) 2px 2px 4px;
  pointer-events:none;
}
#ContactTuteur form #SEND button span{
  font-size:40px;
  padding:5px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
}
.FiltreActif span{
  color:black;
  background-color: var(--CouleurPrimaire);
}
.FiltreActif h3{
  background-color: #fffcde;
}
.FiltreActif{
  scale:1.1;
  margin-right: 5px;
}
#DisposNom{
  font-family: var(--FontFamily);
  font-size:var(--FontSizeREG);
  font-weight: 400;
  line-height: var(--FontSizeREG);
  margin-top: 10px;
}

@media only screen and (max-width: 565px){
  
  #ContactTuteur form input{
    width:fit-content;
  }
  #SEND{
    flex-direction: column;
  }
  
#ContactTuteur form #SEND button{
  margin-top: 0px;
  margin-left: 0px;
}

#ContactTuteur form #SEND h3{
  padding-top: 0px;
  margin-top: 25px;
}
#SEND img{
  margin-bottom: -40px;
}
}
#DisposNom{
  background-color: var(--CouleurPrimaire);
  padding:5px;
  width:fit-content;
  color:white;
}
#Matière, #MatièreForm, #NIV, #NIVForm {
  color: inherit;
}

#Matière:hover, #MatièreForm:hover, #NIV:hover, #NIVForm:hover,
#Matière:focus, #MatièreForm:focus, #NIV:focus, #NIVForm:focus,
#Matière:active, #MatièreForm:active, #NIV:active, #NIVForm:active {
  color: inherit;
}
* {
  color: inherit; /* Ou color: black; */
}
@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */ 
  form input{
    background-color: #f0f0f0;
    color:black;
  }
}
#Disponibilités,#TuteurDésiré,#CodePostal,#TypeTutorat,#IDTuteur{
  display: none;
}
#NoResult{
  display: none;
  width:100%;
  max-width: 92vw;
  border-radius: 10px;
  background-color: #f0f0f0;
  font-family: var(--FontFamily);
  text-align: center;
}
#NoResult h1{
  font-weight: 500;
}
#NoResult h2{
  font-weight: 400;
}
#NoResult h3{
  font-weight: 400;
  background-color: var(--CouleurPrimaire);
  color:#ff3939;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding:4px 7px 4px 7px;
  margin-top: 5px;
  margin-bottom: 5px;
}
#BlocDisposNom{
  height: min-content;
  display: flex;
  align-items: center;
}
#BlocDisposNom span{
  padding-top: 10px;
  cursor:pointer;
}
#CloseButton{
  display: none;
}
#PhotoTuteur{
  display:none;
}
#SENDBUTTON{
  cursor: pointer;
  width:fit-content;
  
}
#SelectMessage{
  display: none;
  font-family: var(--FontFamily);
  font-size:calc(var(--FontSizeREG) + 2px);
  font-weight:400;
  margin-top: 10px;
  color:rgb(0, 0, 0);
  font-style: italic;
}

.InputEmpty::placeholder{
  color: red;
  opacity: 1;
}
@media only screen and (max-width: 398px){
  #Tuteurs .tuteur > .Horizontal{
    flex-direction: column;
    text-align: center;
  }
  #Tuteurs .tuteur .infos .Tarifs{
    justify-content: center;
  }
  #Tuteurs .tuteur .infos .Nom,
  #Tuteurs .tuteur .infos h5{
    text-align: center;
  }
}