@charset "UTF-8";
/* 🌍 Base */
body {
  font: normal 1.2em 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.5em;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

ol li {
  margin-bottom: 1rem;
}

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

h1 {
  color: #BC0028;
  font-size: clamp(2.1rem, 3.8vw, 2.3rem);
}

h2 {
  color: #023739;
  font-size: clamp(1.8rem, 3.5vw, 1.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.8vw, 1.5rem);
}

h5 {
  scroll-margin-top: 120px;
}

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: #8d1100;
  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 {
  display: inline-block;
  /* ← indispensable */
  text-decoration: none;
  color: #8d1100;
  transition: transform 0.5s ease;
}
.news-item h3 a:hover {
  transform: scale(1.05);
}

.news-title {
  display: block;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: #AD201E;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.news-title:hover {
  color: #e74c3c;
  /* rouge plus vif au survol */
}

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

.keynote-speaker-panel {
  margin: 3rem 0;
  padding: 2rem;
  border-radius: 12px;
}

.keynote-speaker-panel h2 {
  font-size: 1.8rem;
  color: #8d1100;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.speaker-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.speaker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  /* carré arrondi */
}

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

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

.news-header {
  font-size: clamp(20px, 3vw, 32px);
  margin-bottom: 1.5rem;
  color: #AD201E;
}

.hidden {
  display: none;
}

.show-more-wrapper {
  text-align: center;
  margin-top: 0.5em;
}

#show-more-news {
  background: none;
  border: none;
  color: #8d1100;
  padding: 0.2em 0.4em;
  font-size: 0.85rem;
  cursor: pointer;
}

#show-more-news:hover:hover {
  transform: scale(1.25);
  color: #5d0000;
}

.show-more-WS {
  border: none;
  color: #8d1100;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  margin-top: 0.5em;
}
.show-more-WS:hover {
  transform: scale(1.05);
}

#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;
  }
}

.faq-panel {
  padding: 0 1em;
  margin-left: 0;
  /* aligné à gauche comme les news */
}

.faq-item {
  margin-bottom: 1em;
}

.faq-question {
  display: inline-block;
  padding: 0.5em 1em;
  text-align: left;
  background-color: #fff3f3;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.faq-question:hover {
  background-color: #ffe0e0;
}

.faq-answer {
  margin-top: 0.25em;
  padding: 0 1em;
}

.hidden {
  display: none;
}

:target {
  scroll-margin-top: 80px;
}

nav.custom-navbar {
  background-color: #4D5E60DD;
  font-family: Arial, sans-serif;
}
nav.custom-navbar .navbar-brand, nav.custom-navbar .nav-link {
  color: white;
  line-height: 1.5;
  font-size: 1.1rem;
  padding-top: .5cqi;
  padding-bottom: .5cqi;
}
@media (min-width: 992px) and (max-width: 1200px) {
  nav.custom-navbar .navbar-brand, nav.custom-navbar .nav-link {
    font-size: 1rem;
    padding-left: .1cqi;
    padding-right: .2cqi;
  }
}
nav.custom-navbar .nav-link {
  margin: 0 .3cqi;
  padding-left: 1cqi;
  padding-right: 1cqi;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 17ch;
}
nav.custom-navbar .nav-link:hover {
  color: #ccc;
}
nav.custom-navbar .active {
  font-weight: 600;
}
nav.custom-navbar .dropdown-menu {
  background-color: white;
}
nav.custom-navbar .dropdown-menu .dropdown-item {
  color: #343a40;
}
nav.custom-navbar .dropdown-menu .dropdown-item:hover {
  background-color: #EEEEEE;
}

.table-wrapper {
  display: inline-block;
}

/* tableau */
.registration-table {
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.registration-table th,
.registration-table td {
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
  font-size: 0.9rem;
  padding-right: 1.0rem !important;
  padding-left: 0.7rem !important;
}

/* cadre rouge externe */
.paper-top {
  border-top: 3px solid red !important;
}

.paper-bottom {
  border-bottom: 3px solid red !important;
}

.paper-left {
  border-left: 3px solid red !important;
}

.paper-right {
  border-right: 3px solid red !important;
}

/* légende */
.table-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 15px;
}

.legend-box {
  width: 16px;
  height: 10px;
  border: 2px solid red;
}

/* 📄 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.0em;
}
table td {
  padding: 10px;
  vertical-align: top;
  text-align: center;
}
table tr:nth-child(even) {
  background-color: #CCDDCC;
}
table .date {
  font-weight: bold;
  width: 30%;
}

.table-workshop {
  width: 90%;
  margin-bottom: 100px;
}
.table-workshop tr:nth-child(even) {
  background-color: #FFEEEE;
}

/* Mini style pour tableau contact */
.table-contact {
  width: 100%;
  font-size: 0.9em;
}

.table-contact td.right {
  width: 50%;
  text-align: left;
}

.table-contact td.left {
  width: 50%;
  text-align: right;
}

.table-contact tr.extra {
  display: none;
}

.table-contact tr {
  background-color: white !important;
  /* force toutes les lignes à blanc */
}

.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: 2.5rem;
  margin-bottom: 0;
}

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

.card-body ul.with-bullets {
  list-style: disc;
  /* ou circle / square */
  padding-left: 2.5rem;
  /* ajusté pour les bullets */
}

.card-body ul.with-bullets li {
  margin-bottom: 0.5rem;
}

ul.area-chairs {
  columns: 2;
  column-width: 10rem;
  display: block;
  column-gap: 1.5rem;
  padding-left: 0.2rem;
  margin-bottom: 0;
}

ul.area-chairs li {
  break-inside: avoid;
  line-height: 1.3;
  padding: 0.1rem 0;
}

ul.reviewers {
  columns: 4;
  column-width: 10rem;
  display: block;
  column-gap: 1.5rem;
  padding-left: 0.2rem;
  margin-bottom: 0;
}

ul.reviewers li {
  break-inside: avoid;
  line-height: 1.3;
  padding: 0.1rem 0;
}

.resume-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  list-style: none;
}

.resume-clamp ul li {
  list-style: initial;
}

.resume-clamp.expanded {
  -webkit-line-clamp: unset;
}

.resume-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resume-clamp.expanded {
  -webkit-line-clamp: unset;
}

.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;
  font-size: 1.0rem;
}

.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.9rem;
  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) {
  .long-text,
  .short-text {
    display: none;
  }
}
@media (max-width: 768px) {
  .long-text,
  .med-text {
    display: none;
  }
}
.vertical-text {
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/*  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    */
/*-------------------*/
.submission-notice {
  border-left: 5px solid #d32f2f;
  /* rouge sobre */
  background-color: #fff5f5;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.submission-notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.submission-notice p {
  margin: 6px 0;
}

.text-primary {
  color: red;
}

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

/* 🎓 Bandeau ICPR */
.background-image {
  background-image: image-set(url("/Images/headerBackground.webp") type("image/webp"), url("/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;
}
