@charset "UTF-8";
/* 🌍 Base */
body {
  font: normal 0.91em Arial, sans-serif;
  padding: 30;
  font: normal;
}

a {
  color: #AD201E;
  text-decoration: none;
  outline: none;
  font-weight: 500;
}
a:hover {
  text-decoration: none;
}
a.shiftedAnchor {
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}

p {
  line-height: 1.7em;
}

h1, h2, h3, h4, h5, h6,
conference-title {
  color: #253e40;
  padding: 10px 0;
}

h1 {
  color: #BC0028;
  font-size: clamp(1.8rem, 3.5vw, 2rem);
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

h3 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

blockquote {
  border: 1px solid #E5E5DB;
  background: #FFF;
  margin: 0;
  padding: 0;
}

dt {
  padding-bottom: 5px;
}

dd {
  padding-left: 10px;
}

footer {
  position: relative;
}
footer .last-update {
  position: absolute;
  padding-top: 10px;
  padding-bottom: 20px;
  right: 10px;
  font-size: 0.8rem;
  color: #555;
  font-style: italic;
}

.conference-title p {
  padding: 10px 0;
  color: #253e40;
  font-size: calc(1.325rem + .9vw);
}

.conference-name {
  font-size: calc(1.375rem + 1.5vw);
  color: #253e40;
}

.conference-location {
  font-size: calc(1.325rem + .9vw);
  color: #BC0028;
  padding: 10px 0;
}

.conference-venue {
  color: #253e40;
  font-size: 1rem;
  opacity: 0.9;
}

.news-panel {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8f9fb;
  border-radius: 12px;
}

.news-panel h2 {
  font-size: 1.8rem;
  color: #BC0028;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-item h3 a {
  text-decoration: none;
  color: #8d1100;
}

.news-item h3 a:hover {
  text-decoration: underline;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.more-news {
  text-align: right;
  margin-top: 1rem;
}

#visits-count24h, #visits-count7d {
  font-size: 1.1em;
  font-weight: 600;
  /* 👈 gras */
}

.visits-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  background: #f5f5f5;
  padding: 0.4em 0.8em;
  border-radius: 0.4em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9em;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
  width: fit-content;
  margin: 0.4em auto;
}
.visits-block:hover {
  transform: scale(1.05);
  background: #eee;
}
@media (max-width: 600px) {
  .visits-block {
    font-size: 0.8em;
    padding: 0.3em 0.6em;
  }
}

.custom-navbar {
  background-color: #4D5E60DD;
  font-family: Arial, sans-serif;
}
.custom-navbar .navbar-brand {
  color: white !important;
  font-size: 1.3rem;
}
.custom-navbar .nav-link {
  color: white !important;
  margin: 0 5px;
  padding: 0.5rem 1rem;
}
.custom-navbar .nav-link:hover {
  color: #ccc !important;
}
.custom-navbar .dropdown-menu {
  background-color: white;
}
.custom-navbar .dropdown-menu .dropdown-item {
  color: #343a40 !important;
}
.custom-navbar .dropdown-menu .dropdown-item:hover {
  background-color: #EEEEEE;
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  font-family: Arial, sans-serif;
  /* même font pour tous */
  font-size: 1.1rem;
  /* même taille que les nav-link */
  line-height: 1.5;
  /* même hauteur de ligne */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* 📄 Tables */
table {
  border-collapse: collapse;
  width: 60%;
  margin: auto;
  font-family: Arial, sans-serif;
}
table th {
  background-color: #4D5E60DD;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 1.2em;
}
table td {
  padding: 10px;
  vertical-align: top;
}
table tr:nth-child(even) {
  background-color: #CCDDCC;
}
table .date {
  font-weight: bold;
  width: 30%;
}

tr {
  line-height: 25px;
  height: 25px;
}

/* 🖼️ Sections */
.jumbotron {
  max-height: 250px;
  margin: -30px 0 10px;
}

.tab-pane {
  background-color: #FFF;
  min-height: 300px;
}
.tab-pane.proj {
  background-color: #EEE;
  min-height: 400px;
}

/* 📄 Content wrappers */
#site_content {
  overflow: hidden;
  margin: 10px 0;
  background: #FFF8;
}

.container {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

@media (min-width: 576px) {
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
@media (min-width: 768px) {
  .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
/* 🎠 Carrousel */
.carousel-inner {
  height: 400px;
  max-height: 100vh;
  overflow: hidden;
}

.carousel-indicators .active {
  background-color: rgba(230, 54, 41, 0.8);
}
.carousel-indicators li {
  background-color: rgba(25, 25, 2, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  border: 1px solid black;
  background-image: none;
}

/* 🖼️ Gallery */
.myGallery {
  text-align: center;
  margin: 0 10px 10px 0;
}
.myGallery .gallery-item,
.myGallery .gallery-item-large {
  float: left;
  margin: 0 5px 10px;
  text-align: center;
}
.myGallery .gallery-item.gallery-item,
.myGallery .gallery-item-large.gallery-item {
  width: 45%;
}
.myGallery .gallery-item.gallery-item-large,
.myGallery .gallery-item-large.gallery-item-large {
  width: 90%;
}
.myGallery img {
  border: 10px solid #f1f1f1;
}
.myGallery .gallery-caption,
.myGallery .gallery-reference {
  font-size: 12px;
  margin: 0 0 12px;
  text-align: left;
  width: 100%;
}
.myGallery .gallery-caption {
  color: #777;
}
.myGallery .gallery-reference {
  color: #09BCE8;
  z-index: 2020;
}

/* 🧾 Divers */
.btn {
  border-radius: 0;
}

.btn-responsive {
  white-space: normal !important;
  word-wrap: break-word;
}

.card-body-scroll,
.list-group {
  max-height: 250px;
  margin-bottom: 10px;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}

.card-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.card-body ul li {
  margin-bottom: 0.5rem;
  /* espace vertical entre chaque item */
}

.list-group-item-action.active {
  color: #FFF;
  background-color: #AD201E;
  border: none;
}

/* 🪧 Flyer */
.flyer-container {
  display: block;
  margin: auto;
}

.flyer {
  width: 90%;
  max-width: 400px;
}
@media (min-width: 992px) {
  .flyer {
    width: 33%;
    max-width: none;
  }
}

/*-------------------*/
/*  Program component*/
.schedule-grid {
  display: grid;
  grid-template-columns: 2fr repeat(23, 3fr);
  grid-auto-rows: 40px;
  gap: 1px;
  background: #ccc;
}

.cell {
  grid-column: span 3;
  background: white;
  padding: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cellSmall1 {
  grid-column: span 1;
  background: white;
  padding: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cellSmall2 {
  grid-column: span 2;
  background: white;
  padding: 4px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.cell,
.cellSmall1,
.cellSmall2 {
  background: white;
  padding: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  /* <-- ajoute des bordures visibles */
}

.time {
  background: #f0f0f0;
  font-weight: bold;
  font-size: 0.65rem;
  align-items: flex-start;
}

.empty {
  background-color: #f0f0f0;
}

.registration {
  background-color: #c0c0c0;
}

.oral {
  background-color: #F5A77C;
}

.workshop {
  background-color: #A1B1C2;
}

.findings {
  background-color: #8896AE;
}

.keynote {
  background-color: #FBE7A3;
}

.poster {
  background-color: #93A8D7;
}

.coffee {
  background-color: #B8912F;
}

.prizeLecture {
  background-color: #F8E5D8;
}

.special {
  background-color: #f8d7da;
}

.break {
  background-color: #dddddd;
}

.lunch {
  background-color: #C2D6EC;
}

.women {
  background-color: #E4EFDC;
}

.lunch {
  background-color: #C2D6EC;
}

.ceremony {
  background-color: #d1e7dd;
}

.iapr {
  background-color: #FFFF54;
  font-size: 0.8rem;
}

.doctorial {
  background-color: #A3C1E3;
}

.indus {
  background-color: #A3C1E3;
}

.welcome {
  background-color: #a4c2f4;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .long-text {
    display: none;
  }

  .short-text {
    display: none;
  }

  .med-text {
    display: inline;
  }
}
@media (min-width: 1025px) {
  .long-text {
    display: inline;
  }

  .short-text {
    display: none;
  }

  .med-text {
    display: none;
  }
}
@media (max-width: 768px) {
  .long-text {
    display: none;
  }

  .short-text {
    display: inline;
  }

  .med-text {
    display: none;
  }
}
@media (max-width: 20484px) {
  .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}
/*  Program component*/
/*-------------------*/
/*-------------------*/
/*  Map component    */
#map-container {
  height: 80vh;
  /* La carte occupe 80% de la hauteur de l'écran */
}

#map {
  height: 100%;
  /* La carte prend toute la hauteur du conteneur */
}

/*  Map component    */
/*-------------------*/
.text-primary {
  color: red;
}

.text-info {
  color: #AD201E !important;
}

/* 🎓 Bandeau ICPR */
.background-image {
  background-image: image-set(url("/public/assetFront/images/headerBackground.webp") type("image/webp"), url("/public/assetFront/images/headerBackground.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  height: 150px;
  min-height: 150px;
}
.background-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 0;
}
.background-image > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .background-image {
    height: 175px;
  }
}
@media (min-width: 992px) {
  .background-image {
    height: 200px;
  }
}

/* Mobile reduced font since */
@media (max-width: 992px) {
  .conference-location {
    font-size: 1rem;
  }
}
/* Titres dans le bandeau */
.background-image h1,
.background-image h2,
.background-image h3 {
  margin: 0;
}

.background-image .subtitle {
  font-size: 1.2em;
}
