/* Import index.css */
@import url('../index.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.programmebase {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #F2E3DC;
}

.jourbouton {
  position: sticky;
  font-size: 40px;
  margin-left: 25px;
}

.jourbouton a:hover {
  font-family: Expo;
}

.nav-link {
  font-family: Apfel;
  color: #8D392F;
}

.nav-link.active {
  font-family: Expo;
}

.titre {
font-family: Expo;
  padding-top: 10px;
  padding-left: 25px;
  padding-bottom: 10px;
  color: #F2E3DC;
  font-size: 40px;
}

.categorie {
  border-bottom: 4px solid #FBEEDC;
  display: grid;
  grid-template-columns: 10% 35% 15% 12% 10% 10%;
  gap: 25px;
  width: 100%;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
  background-color: #8D392F;
  color: #F2E3DC;
}

.fantome {
  display: none;
}

.line {
  display: grid;
  grid-template-columns: 10% 35% 15% 12% 10% 10%;
  gap: 25px;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  padding-right: 25px;
  border-bottom: 4px solid #8D392F;
  font-weight: bold;
  margin-bottom: 0px;
  cursor: pointer;
  height: 150px;
}

.line:hover {
  background-color: #FE7445;
  color: #F2E3DC;
}

.line.active {
  border-bottom: 4px solid #F2E3DC;
  background-color: #FBEEDC;
  color: #8D392F;
}

.linequery {
  display: none;
}


.conference {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-direction: column;
}

.clair {
  color:  #353EFF;
}

.bottom {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.loc {
  width: 15px;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
}

.zone {
  color:  #353EFF;
}

.zone:hover {
  color: #f5c2b8;
  text-decoration: underline;
}

.invisible {
  display: none;
}

.details {
  max-height: 0;
  overflow: hidden;
  background-color: #F2E3DC;
  color: #8D392F;
  display: grid;
  grid-template-columns: 10% 35% 27% 20%;
  gap: 25px;
  width: 100%;
  transition: max-height 0.5s ease-out;
  padding-right: 25px;
  padding-left: 25px;
}

.details.open {
  padding-top: 25px;
  border-bottom: 4px solid #8D392F;
  max-height: 1000px;
  padding-bottom: 25px;
}

.petit {
  color: #353EFF;
  font-size: 15px;
}

.minutexte {
  font-size: 12px;
  color: #353EFF;
}

.imagep {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.imagep img {
  display: block;
  width: 400px;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.lieu p {
  font-size: 18px;
  display: flex;
  align-items: center;
  text-align: left;
  background-color: #353EFF;
  color: #FBEEDC;
  padding: 5px;
}

.lieu p:hover {
  background-color:  #353EFF;
  color: #FBEEDC;
}

.lien-souligne {
  text-decoration: underline;
}

.lien-souligne:hover {
  color: #f5c2b8;
}





/* -------------------------QUERY */







@media (max-width: 1200px) {
  .sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .loc {
    width: 12px;
  }

  .line {
    display: none;
  }

  .linequery {
    border-bottom: 3px solid #353EFF;
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .conference.left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .conference.right {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .linequery:hover {
    background-color: #353EFF;
    color: #FBEEDC;
  }

  .linequery.active {
    border-bottom: 4px solid #FBEEDC;
    background-color: #FBEEDC;
    color: #353EFF;
  }

  .details {
    display: block;
    grid-template-columns: 100%;
    gap: 15px;
  }

  .minutexte {
    font-size: 12px;
    margin-top: 15px;
  }


  .invisible {
    align-items: left;
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 25px;
    margin-right: 10px;
    font-size: 15px;
    gap: 7px;
    color: #353EFF;
  }

  .clair {
    font-size: 15px;
  }

  .courant {
    font-size: 20px;
  }

  .imagep {
    margin-top: 15px;
  }

  .bottom {
    align-items: start;
  }

  .lieu p {
    font-size: 15px;
    margin-bottom: 15px;
    margin-left: 50%;
  }

  .details.open {
    padding-top: 0;
  }

  .conference {
    gap: 0;
  }

}
