@font-face {
  font-family: Montserrat;
  src: url(../font/Montserrat-SemiBold.woff2) format('woff2');
}

body,html{
  margin: 0;
  height: calc(100vh - 160px);
  padding: 0;
 font-family: 'Montserrat', sans-serif;
}

.publish-page {
  min-height: 100vh;
  height: auto;
  background:
    linear-gradient(135deg, rgba(15, 50, 80, 0.95), rgba(64, 103, 117, 0.84)),
    url("../cover.avif") center / cover fixed;
  color: #173149;
}


h1,
h2,
h3,
h4 {
  margin: 0.1rem 2%;
  font-family: Montserrat, arial, helvetica, sans-serif;

}

h1 {
  font-size: 1.8rem;
  font-weight:bold;
  padding-left: 20px;
  padding-top:20px;
  text-transform:uppercase;
}

h2 {
  font-size: 1.5rem;
  padding-left: 20px;
  padding-top:20px;
  text-transform:uppercase;
}

h3 {
	text-transform:none;
	padding-top:10px;
}

h4 {
  font-size: 1rem;
  font-style: italic;
  padding-left: 60px;
}

.envoi h2 {
  padding-left: 0px;
  margin-left: 0px;
  margin-bottom: 1.1rem;
  padding-top: 0px;
}
.envoi{
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  background-color: #d9dfe6;
  padding: 30px;
  margin-top: 50px;
  border-radius: 20px;
}

.publish-shell {
  min-height: 100vh;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.publish-panel {
  width: min(760px, 100%);
  margin: 0;
  background: rgba(247, 250, 252, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 20, 31, 0.28);
}

.publish-heading {
  border-bottom: 1px solid #d5dde5;
  margin: -2px -2px 10px;
  padding: 2px 2px 22px;
}

.publish-heading h2 {
  color: #0F3250;
  font-size: 1.8rem;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.publish-heading p {
  color: #4b6478;
  line-height: 1.55;
  margin: 10px 0 0;
}

.publish-kicker {
  color: #EA4B3C !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px !important;
  text-transform: uppercase;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: #243f56;
  font-size: 0.92rem;
  font-weight: 700;
}
.envoi form {
  display: grid;
  gap: 12px;
}

.envoi input[type="text"],
.envoi input[type="file"],
.envoi textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #9aa8b5;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  background: #ffffff;
  color: #19364c;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.envoi input[type="text"]:focus,
.envoi input[type="file"]:focus,
.envoi textarea:focus {
  border-color: #0F3250;
  box-shadow: 0 0 0 3px rgba(15, 50, 80, 0.14);
  outline: none;
}

.envoi textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  background: #ffe2df;
  border-left: 4px solid #EA4B3C;
  color: #6f180f;
  padding: 12px;
}

.form-success {
  background: #ddf5ea;
  border-left: 4px solid #04AA6D;
  color: #064b32;
  padding: 12px;
}

.form-status {
  border-radius: 6px;
  margin: 0;
  min-height: 0;
  padding: 0;
}

.form-status:not(:empty) {
  padding: 12px 14px;
}

.form-status.is-info {
  background: #e8f1f7;
  border-left: 4px solid #0F3250;
  color: #153650;
}

.form-status.is-success {
  background: #ddf5ea;
  border-left: 4px solid #04AA6D;
  color: #064b32;
}

.form-status.is-error {
  background: #ffe2df;
  border-left: 4px solid #EA4B3C;
  color: #6f180f;
}

.upload-drop {
  background: #edf3f7;
  border: 1px dashed #8aa1b4;
  border-radius: 8px;
  padding: 16px;
}

.upload-drop input[type="file"] {
  background: #ffffff;
  cursor: pointer;
}

.file-name {
  color: #617282;
  font-size: 0.86rem;
}

.upload-progress {
  background: #ffffff;
  border: 1px solid #d5dde5;
  border-radius: 8px;
  padding: 14px;
}

.upload-progress__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: #244056;
  font-size: 0.9rem;
  font-weight: 700;
}

.upload-progress progress {
  appearance: none;
  width: 100%;
  height: 12px;
}

.upload-progress progress::-webkit-progress-bar {
  background: #dfe8ee;
  border-radius: 999px;
}

.upload-progress progress::-webkit-progress-value {
  background: #EA4B3C;
  border-radius: 999px;
}

.upload-progress progress::-moz-progress-bar {
  background: #EA4B3C;
  border-radius: 999px;
}

.publish-button {
  align-items: center;
  background: #EA4B3C;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.publish-button:hover {
  background: #c93c30;
  transform: translateY(-1px);
}

.publish-button:disabled {
  background: #8ea0ad;
  cursor: wait;
  transform: none;
}

input[type=button], input[type=submit], input[type=reset] {
  background-color: #04AA6D;
  border: none;
  color: white;
  padding: 13px 50px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  border-radius:50px;
  font-size:18px;
  text-transform:uppercase;
  font-weight:500;
}

input[type=title] {
  width: 70%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}
.footer__headband h1 {
  text-transform:none;
  font-size: 0.9rem;
  padding : 5px 0;
  margin : 0;
}


/* Header */
.header {
  height: 100px;
  padding: 10px;
  background-color: #0F3250;
  color: #FFFFFF;
}

.header__banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__banner-icon{
  font-size: 80px;
  margin-left: 10px;
  margin-top: 5px;
}
.header__banner-icon a{
  color:#ffffff !important;
}

.header__banner-icon:hover, .header__banner-icon:focus, .header__banner-icon:active {
  color:#dee3ed !important;
}

.header__banner-picto ul {
  list-style-type: none;
  display: flex;
}

.header__banner-picto  li {
  font-size: 40px;
  color: #ffffff;
  margin-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.header__banner-picto li:hover{
cursor: pointer;
}
.icon-button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.icon-button i {
  font-size: inherit;
}

.dropdown-container {
  position: relative; /* Positionnement relatif pour le conteneur du menu déroulant */ 
  
}

.sous-menu {
  display: none;
  position: absolute;
  background-color: #00141f; /* Couleur de fond du menu déroulant */
  min-width: 250px; /* Largeur du menu déroulant */
  height: auto;
  z-index: 52; /* Assure que le menu déroulant apparaît au-dessus de tout */
  left: -200px; /* Positionner le sous-menu à 120px à gauche de son conteneur */
  margin-top: 20px;
  padding-bottom: 10px;
  flex-direction: column;
  transition: display 0.3s ease;
}
.sous-menu ul{
  margin: 0;
  padding: 0;
  
}
.sous-menu li {
  display: flex; /* Utiliser Flexbox pour aligner les éléments sur la même ligne */
  align-items: center; /* Centrer verticalement les éléments */
  
}

.dropdown-container i{
  display: block;
  
}
.dropdown-container i:hover {
  background-color: #00141f;
  
}
.sous-menu li p {
  margin: 5px; /* Ajouter une marge à gauche du paragraphe */
}



.sous-menu li p{
  font-size: 20px;
}
.sous-menu li i{
  font-size: 20px;
}
#sousMenuShare {
  display: flex;
  flex-direction: column;
}

.sousMenuShare li {
  display: flex;
  flex-direction: column; /* Afficher les éléments li en colonne */
  align-items: center;
  font-size: 20px;
  min-width: 200px; /* Ajustez cette valeur selon vos besoins */
}
.sousMenuShare i{
  font-size: 20px;
  color: white;
}
.sousMenuShare li i,
.sousMenuShare li p {
  display: inline-flex; /* Afficher l'icône et le texte sur la même ligne */
  font-size: 18px;
  flex-shrink: 1; /* Permettre à l'élément de réduire sa taille si nécessaire */
}

#shareFacebookBtn,
#shareLinkedInBtn,
#shareTwitterBtn {
  display: none;
}
/* Style des éléments du sous-menu */

#swiper-wrapper {
  z-index: 10;
  width: 100%;
  height: 100%; /* La hauteur du Swiper - la hauteur des miniatures */
  display: flex; /* Utilise un modèle de boîte flexible */
}
/* slider swiper principal */
.swiper .swiper-zoom-container {
  width: 100%;
  height: 100%;
  
  
}
.visible {
  display: flex; /* Pour forcer l'affichage des miniatures */
  margin: 0;
  padding: 0;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background-color: #b8b8b8;
  display: flex;
  justify-content: center;
  align-items: center;  
}

.dark-mode{
  background-color: black;
}

.swiper-zoom-container img{
  width: 100%;
  height: auto;
}
.swiper-zoom-container img:hover{
  cursor: zoom-in;
}

.custom-progress .swiper-pagination-progressbar-fill{
  background-color: #EA4B3C;
}
.custom-progress{
  background-color: #B0D2D9;
}

/* slider thumbails */
.swiper-container {
  position: absolute;
  
}

.mySwiper2 {
  position: relative;
  z-index: 2; /* Assurez-vous que le swiper de miniatures est en arrière-plan */
  padding-bottom: 10px;
  padding-top: 10px;
  width: 150px;
  display: none; /*Cachez initialement le swiper de miniatures */
  width: 100%;
  transform: translateY(-100%);
  opacity: 0.8;
  overflow-x: hidden; /* Empêcher le débordement horizontal */
}

.mySwiper2.is-visible {
  display: block;
}

.thumb-toggle {
  cursor: pointer;
  background-color: #ffffff;
  border: 0;
  border-radius: 50%; /* Assurez-vous que le border-radius soit la moitié de la taille de l'icône pour obtenir un cercle */
  font-size: 40px;
  position: fixed;
  bottom: 40px; /* Ajustez cette valeur selon votre préférence */
  right: 40px; /* Ajustez cette valeur selon votre préférence */
  z-index: 1000;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #0F3250;
  -webkit-box-shadow: -3px 8px 13px 4px rgba(0,0,0,0.35); 
  box-shadow: -3px 8px 13px 4px rgba(0,0,0,0.35);
}

.thumb-toggle i {
  display: block;
}

.mySwiper2 .swiper-slide{
  background-color: transparent;
}
.mySwiper2 .swiper-slide img {
  width: auto;
  height: 200px;
  cursor: pointer;
  /* margin: auto; */
}

.mySwiper2 .swiper-slide img:hover {
	border-bottom: 5px solid #EA4B3C;
	opacity: 1;
}

.mySwiper2 .swiper-slide{
  margin-right: 10px;
  padding-left: 5px;
  margin-right: 15px !important;
  /* width: 25%; */
}


.swiper-button-next {
  color: #617282;
}
.swiper-button-prev{
  color: #617282;
}


.swiper-slide-thumb-active {
	border-bottom: 5px solid #EA4B3C;
	opacity: 1;
} 
/* footer */
.footer__headband{
  position: fixed; /* Positionnement fixe pour rester en bas de la page */
  bottom: 0; /* Alignement en bas */
  width: 100%; /* Largeur totale */
  height: 40px; /* Hauteur du footer */
  background-color: #0F3250; /* Couleur de fond */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 7px;
  z-index: 999; /* Assurez-vous que le footer reste au-dessus des autres éléments */
  text-align: center;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: calc(33.33% - 20px); /* 3 cartes par ligne sur desktop */
    margin-bottom: 20px;
    margin-left: 20px;
    text-align: center; /* Centrer le contenu */
	font-size: 12px;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	width: 350px;
	color: #3e576c;
	padding-top: 30px;
}

.card img {
    display: block; /* Pour éviter l'espace supplémentaire sous l'image */
    margin: 0 auto; /* Centrer l'image */
	border-radius: 5px;
	display: flex;
	position: relative;
	box-sizing: border-box;
	transition-property: box-shadow;
	transition-duration: 0.2s;
	transition-timing-function: ease;
    box-shadow: 0px 2px 5px -1px #00000070;
}

.card img:hover {
    box-shadow: 0px 10px 15px -1px #00000070;
}

.kiosk-page {
  background: #f4f7f9;
  min-height: calc(100vh - 120px);
  padding: 34px clamp(18px, 4vw, 56px) 56px;
}

.kiosk-hero {
  align-items: flex-end;
  border-bottom: 1px solid #d9e1e8;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 26px;
  max-width: 1180px;
  padding-bottom: 22px;
}

.kiosk-hero h1 {
  color: #0F3250;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.kiosk-hero p {
  color: #526b7f;
  line-height: 1.5;
  margin: 8px 0 0;
}

.kiosk-kicker {
  color: #EA4B3C !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px !important;
  text-transform: uppercase;
}

.kiosk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.kiosk-action {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c8d4dd;
  border-radius: 6px;
  color: #0F3250;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.kiosk-action--primary {
  background: #0F3250;
  border-color: #0F3250;
  color: #ffffff;
}

.kiosk-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.kiosk-card {
  background: #ffffff;
  border: 1px solid #dce4ea;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 50, 80, 0.09);
  color: #243f56;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
  margin: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  width: auto;
}

.kiosk-card__cover {
  background: #dfe7ec;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.kiosk-card__cover img {
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
  width: 100%;
}

.kiosk-card__cover:hover img {
  box-shadow: none;
  transform: scale(1.03);
}

.kiosk-card .card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.kiosk-card__meta {
  color: #6b7f8f;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.kiosk-card h3 {
  color: #0F3250;
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

.kiosk-card p {
  color: #546879;
  line-height: 1.45;
  margin: 0;
}

.kiosk-card__link {
  align-self: flex-start;
  color: #EA4B3C;
  font-weight: 700;
  margin-top: auto;
  text-decoration: none;
}

@media (max-width: 480px) {
  /* Body */
  body {
    height: calc(100vh - 100px);
    transition: height 0.3s ease;
  }

  .publish-page {
    min-height: 100vh;
    height: auto;
  }

  .publish-shell {
    padding: 18px 12px;
  }

  .publish-panel {
    padding: 22px;
  }

  .publish-heading h2 {
    font-size: 1.45rem;
  }

  .kiosk-page {
    padding: 22px 14px 42px;
  }

  .kiosk-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .kiosk-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .kiosk-action {
    justify-content: center;
    flex: 1;
  }

  .kiosk-card {
    width: auto;
  }
  
  /* Header */
  .header {
    height: 70px;
    padding: 5px;
    transition: height 0.3s ease, padding 0.3s ease;
  }
  
  .header__banner-icon {
    font-size: 50px;
    margin-left: 5px;
    transition: font-size 0.3s ease, margin 0.3s ease;
  }
  
  .header__banner-picto li {
    font-size: 30px;
    margin-right: 15px;
    transition: font-size 0.3s ease, margin 0.3s ease;
  }
  
  /* Sous-menu */
  .sous-menu {
    
    padding: 0;
    transition: opacity 0.3s ease;
  }
  .sous-menu i{
    margin: 20px;
  }
  
  /* Swiper */
  .swiper-container {
    position: absolute;
    height: 75%;
  }
  
  .mySwiper2 {
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ajustez selon vos préférences */
    opacity: 1;
    overflow-x: hidden;
    transform: translateY(-100%);
    padding-bottom: 40px;
    margin: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .thumb-toggle {
    font-size: 20px;
    transition: font-size 0.3s ease;
  }
  
  .swiper .swiper-slide {
    height: 100%;
    width: 50%;
  }
  
  .mySwiper2 .swiper-slide {
    background-color: transparent;
    margin-right: 5px;
    padding: 0;
    margin-bottom: 30px;
  }
  
  .mySwiper2 .swiper-slide img {
    width: auto;
    max-height: 100px;
  }
  
  .swiper-slide img {
    width: 100%;
    height: 100%;
  }
  
  /* Footer */
  .footer__headband {
    height: 40px;
    font-size: 7px;
    margin-top: 10px;
    transition: height 0.3s ease, font-size 0.3s ease, margin 0.3s ease;
  }
.card {
    width: calc(100% - 40px);
   
    
}

}





@media (min-width: 481px) and (max-width: 880px) {
  .header__banner-icon {
    font-size: 70px;
    margin-left: 5px;
    transition: font-size 0.3s ease, margin 0.3s ease;
  }

  .header__banner-picto li {
    font-size: 40px;
    margin-right: 20px;
    transition: font-size 0.3s ease, margin 0.3s ease;
  }

  .mySwiper2 .swiper-slide {
    width: auto;
    height: auto;
    margin-right: 50px;
    transition: width 0.3s ease, height 0.3s ease, margin-right 0.3s ease;
  }

  .thumb-toggle {
    font-size: 30px; /* Réduire la taille de l'icône */
    bottom: 40px; /* Ajuster cette valeur selon votre préférence */
    right: 40px; /* Ajuster cette valeur selon votre préférence */
    
    transition: font-size 0.3s ease, bottom 0.3s ease, right 0.3s ease, border 0.3s ease;
  }
	.card {
        width: calc(75% - 20px); /* 1 carte par ligne sur téléphone */
    }

}

@media (min-width: 481px) and (max-width: 880px) {
  .kiosk-card {
    width: auto;
  }
}

@media print {
    /* Masquer tous les éléments sauf le slider actif et le footer */
    body > * {
        display: none;
    }

    /* Afficher le slider actif */
    #swiper .swiper-slide-active {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important; /* Ajustez la hauteur si nécessaire */
    }

    /* Afficher le footer */
    .footer {
        display: block !important;
	color:black !important;
    }

    /* Masquer les miniatures et autres éléments */
    .thumb-toggle,
    .header {
        display: none !important;
    }

    /* Masquer le deuxième Swiper */
    .mySwiper2 {
        display: none !important;
    }

    #swiper .swiper-slide-active img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    display: block; /* Assurez-vous que l'image est un élément de bloc */
    margin: 0 auto; /* Centrez l'image horizontalement */
}
.swiper-button-next {
  display: none;
}
.swiper-button-prev{
  display: none;
}





