/* Thème « Destination Démo ».
 * Repris de la mise en page du thème rddm. Trois écarts volontaires :
 *   - aucun @font-face : ni les polices sous licence du client, ni les
 *     appels à https://rddm.ch/font/ dont dépendait leur chargement ;
 *   - la flèche des listes déroulantes est embarquée en data-URI plutôt que
 *     chargée depuis rddm.ch ;
 *   - les couleurs écrites en dur pointent sur la palette du thème. */

body
{
  background-color: #E4ECEE;
  font-family: "linotype-tradegothiclt-regular", sans-serif;
}

h1 
{
  color: var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 23px;
}

h2
{
  color: var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 18px;
}

h3
{
  color: var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

a, b, .bold
{
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

#back-button
{
  margin: 0px;
}

#back-button a, #back-button i
{
  color: var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  padding-left: 0;
}

#back-button i
{
  -webkit-text-stroke: 2px;
}

.menu-lang-button .bi-chevron-down
{
  -webkit-text-stroke: 2px;
}

.menu-lang-button .bi-globe
{
  margin-right: 2px;
}

#current-lang
{
  color: var(--color-button-secondary);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  margin-right: 2px;
}

.menu-lang-button
{
  border: 0px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color:  #fefefe;
  margin-top: 0px;
}

.menu-lang-content {
  border: 0;
  background-color:  #fefefe;

}

.lang-card
{
  align-items: var(--align-lang-back-button);
}

.lang-card-element
{
  min-width: 0;
  width: fit-content;
  height: fit-content;
  min-height: 13px;
  align-self: flex-start;
}

.header_separator
{
  display: none;
}

/* ══════════════════════════════════════════
   STEPPER (breadcrumb) — style rddm_habitant
   ══════════════════════════════════════════ */

#breadcrumb
{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1140px;
  min-width: 0;
  margin: 24px auto 4px;
  padding: 0 24px;
  box-sizing: border-box;
  overflow: visible;
}

/* Chaque étape : cercle + label en ligne */
.breadcrumb_step
{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Pas d'icônes SVG pour RDDM */
.breadcrumb_img_wrap
{
  display: none;
}

.breadcrumb_step p
{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #7a8a8c;
}

/* Numéro → cercle */
.breadcrumb_number
{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #dde0e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #7a8a8c;
  background: #fff;
  flex-shrink: 0;
  line-height: 1;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

/* Masquer le point séparateur "." */
.breadcrumb_dot
{
  display: none;
}

/* Label */
.breadcrumb_text
{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #7a8a8c;
  white-space: nowrap;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

/* Séparateur → ligne horizontale qui remplit l'espace */
.breadcrumb_separator
{
  flex: 1;
  height: 2px;
  background: #dde0e6;
  margin: 0 8px;
  align-self: center;
  min-width: 16px;
  width: auto;
}

.breadcrumb_separator img,
.breadcrumb_separator_fill
{
  display: none;
}

.breadcrumb_separator.breadcrumb_separator_active
{
  background: #1C6E7A;
}

/* Étape active */
.breadcrumb_active .breadcrumb_number
{
  border-color: #1C6E7A;
  color: #1C6E7A;
}

.breadcrumb_active p,
.breadcrumb_active .breadcrumb_text
{
  color: #1C6E7A;
}

/* Étapes passées */
.breadcrumb_prev_active .breadcrumb_number
{
  background: #1C6E7A;
  border-color: #1C6E7A;
  color: #fff;
}

.breadcrumb_prev_active p,
.breadcrumb_prev_active .breadcrumb_text
{
  color: #263238;
}

#header-logo
{
  position: relative;
  background-color: #ffffff;
  background-image:
    linear-gradient(to bottom, transparent 30%, #ffffff),
    url('/images/demo/bg-entete.svg');
  background-size: 100% 100%, 400px auto;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  border-bottom: 3px solid #1C6E7A;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-inner
{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
}

.header-logo-img
{
  height: 130px;
  width: auto;
}

.header-subtitle
{
  font-family: 'TradeGothic', "linotype-tradegothiclt-regular", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #7a8a8c;
}

#header-logo-mobile
{
  display: none;
}


.header-title
{
  margin: 0;
  color: #263238;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  font-family: 'Euclid Flex', "linotype-tradegothiclt-bold", sans-serif;
  min-width: 0;
}

.header-title-mobile
{
  display: none;
}

.header-title-desktop
{
  display: var(--card-image-title-header);  
  font-size: 30px;
  color: #000000;
  line-height: 43px;
  width: 100%;
}

.header-body
{
  max-width: 1140px;
  width: 100%;
  margin: 20px auto 8px;
  padding: 0 24px;
  box-sizing: border-box;
  min-width: 0;
  display: var(--page-header);
  flex-direction: row-reverse;
  justify-content: space-between;
}

.header-body-element
{
  margin: 0px;
}

.breadcrumb_separator
{
  margin-top: 5px;
}

#card-and-discount
{
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	background-image: url("../../images/demo/logo-couleur.svg");
	margin: auto;
	width: 150%;
	height: 100px;
}



.left-body-panel
{
  margin-right: 60px;
  width: 50%;
}

/* ── Container principal ── */
#content
{
  background-color: #E4ECEE;
}

.body-content
{
  width: 100%;
  padding: 0;
  padding-top: 0;
  box-sizing: border-box;
}

.home-content
{
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px 72px;
  box-sizing: border-box;
  width: 100%;
}

#available-card-management
{
  border-bottom: 0px;
  align-items: center;
}

#available-card-text
{
  padding-left: 25px;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 20px;
}

#available-card-quantity
{
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

#children-management
{
  background-color: #ffffff;
  border-radius: 0 0 25px 25px;
  flex-direction: column;
  box-shadow: 0px 5px 20px #0D447B33;
}

#children-count-management
{
  display: var(--children-management-count);
  padding: 15px;
  align-items: center;
}

#children-count-management p 
{
  color: var(--color-main);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: var(--font-size-16);
  line-height: 24px;
  max-width: 70%;
}

.number-children-text
{
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;

}

#children-management-info-block
{
  display: var(--children-management-info);
  width: 90%;
  background-color: #E5F0EC;
  border-radius: 5px;
  padding: 10px;
}
#children-management-info-block p
{
  margin: 0;
  margin-left: 15px;
}
#children-management-info-block i
{
  font-size: 16px;
}


.info-children-text
{
  font-size: 14px;
}

#traveler-segmentation
{
  background-color: #FFFFFF;
}


#children-activation
{
  display: flex;
  flex-direction: row;
  width:90%;
  justify-content: space-between
}

.children-radio-buttons, .traveler-type-radio-buttons
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  margin-right: 20px;
}

.traveler-type-radio-buttons
{
  margin-top: 15px;
}

#additional-infos
{
  display: flex;
}

select
{
  appearance: none;
  width: 85%;
  margin: 0px;
  max-width: 100%;
  margin-bottom: 20px;
}


#segmentation-management
{
  position: relative;
  width: 95%;

}


#segmentation-management::after
{
  content: "<";
  font-size: 1.5rem;
  rotate: -90deg;
  transform: translate(-50%);
  position: absolute;
  bottom: 35%;
  right: 9%;
}

.children-radio-buttons label, .traveler-type-radio-buttons label
{
  margin-left: 5px;
  margin-bottom: 0px;
  font-size: 16px;
}

.children-buttons
{
  height: 40px;
  justify-content: space-around;
  width: auto;
}


.children-quantity
{
  border-left: 1px solid var(--color-main);
  border-right: 1px solid var(--color-main);
  margin: 0;
  height:40px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  width: 15px;
  justify-content: center;
}

#removeChildButton i, #addChildButton i
{
  color: var(--color-main);
  padding-left: 10px;
  padding-right: 10px;
}


#removeChildButton, #addChildButton
{
  display: flex;
  justify-content: center;
}

input[type="date"] {
  vertical-align: middle;
}

input[type='radio']
{
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: small-caption;
  color: currentColor;
  width: 18px;
  height: 18px;
  border: 2px solid  var(--color-button-primary);
  border-radius: 50%;
  display: grid;
  place-content: center;
  outline:none;

}

input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em   var(--color-button-primary);
  outline:0px;
}

input[type="radio"]:focus {
  outline: 0px;
}

input[type="radio"]:checked:focus{
  outline:0px;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}
.child-radio-button, .traveler-type-radio-button
{
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  min-width: 100px;
}


.children-text, .traveler-text
{
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  color: #000000;
  font-size: 23px;
  line-height: 24px;
}


.children-text
{
  padding-left: 0px;
}

#no-children-managment-block
{
  width: 90%;
}

.action-button
{
  background-color: var(--color-button-primary);
  color: white;
  border: 0;
  width: 100%;
  height: 42px;
  border-radius: 4px;
  font-size: 16px;
}

.action-button:hover
{
	background-color:  var(--color-button-hover);
  color: var(--color-button-primary)
}

.enabled-action-button
{
  background-color:  var(--color-button-primary);
  color: white;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  border: 0;
  width: 100%;
  height: 42px;
  border-radius: 4px;
  font-size: 16px;
}

.content-deliverycards-body #right-panel
{
  background-color: var(--color-button-primary);
  border-radius: 8px;
  padding: 30px 20px;
}

.content-deliverycards-body #right-panel .action-button
{
  background-color: #ffffff;
  color: var(--color-button-primary)
}

.content-deliverycards-body #right-panel h2,
.content-deliverycards-body #right-panel p,
.content-deliverycards-body #right-panel label,
.content-deliverycards-body #right-panel .newsletter-special-offer
{
  color: white;
}

.content-deliverycards-body #right-panel #content-newsletter
{
  justify-content: center;
  gap: 14px;
}

.content-deliverycards-body #right-panel #mail-subscribe
{
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  padding: 0 15px;
  height: 42px;
}

.content-deliverycards-body #right-panel #subscribe-newsletter-button
{
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
}

.content-deliverycards-body #right-panel .disabled-action-button
{
  background-color: rgba(255, 255, 255, 0.35);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.content-deliverycards-body #right-panel .action-button:hover
{
  background-color: var(--color-darker-grey) !important;
  color: white;
}

.content-newsletter-done
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 16px;
  text-align: center;
  color: white;
}


.enabled-action-button#subscribe-newsletter-button
{
  background-color : white;
  color: var(--color-button-primary);
}

.enabled-action-button:hover
{
  background-color: #ffffff !important;
  color: #282828;
  border: 1px solid #282828;  
  font-family: "linotype-tradegothiclt-bold", sans-serif; 
}


#discover-resort-pass-button:hover
{
  background-color:  var(--color-button-hover) !important;
}

#discover-resort-pass-button:active
{
  background-color:  #282828 !important;
  color: white ;
}


#discover-resort-pass-button-2:active
{
  background-color:  #282828 !important;
  color: white ;
}

.disabled-action-button
{
  background-color: #A8A8A8;
  color: white;
  height: 42px;
  border-radius: 4px;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 16px;
}

#start-button-section
{
  margin-bottom: 20px;
}


.right-body-panel
{
  width: 50%;
}

.right-body-panel-content
{
  background-color: #ffffff;
  border-radius: 8px;
  border: 1.5px solid #dde0e6;
  box-shadow: 0 2px 12px rgba(61,69,71,.10);
  color: #000000;
  padding: 15px 20px 20px 20px;
  display: flex;
  width: 100%;
  height: fit-content;
  justify-content: space-between;
}

.right-block-side-image p
{
  margin: 0;
}
.right-block-side-image img
{
  max-width: 80%;
  float: right;
}

.left-body-panel-desc
{
  color: #282828;
  padding-right: 20px;
  padding-top: 5px;
  min-width: auto;
  font-size: 16px;
  line-height: 24px;
}

.moreinfo-button, .lessinfo-button
{
  color: var(--color-button-secondary);
  padding-left: 0px;
  border: 0;
  background: none;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 16px;
  text-align: left;
}

.moreinfo-button:hover, .lessinfo-button:hover
{
  background: none;
}

.moreinfo-button i, .lessinfo-button i
{
  padding-right: 10px;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  -webkit-text-stroke: 2px;
}


.block-button-for-modal
{
  position: relative;
}

#modal-more-info
{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
  border: 1.5px solid #dde0e6;
  border-top: none;
  box-shadow: 0 4px 16px rgba(61,69,71,.15);
  padding: 20px;
}

#modal-more-info #translation_issued_by
{
  font-size: var(--font-size-12);
}

#modal-more-info p, #modal-more-info h2
{
  font-size: var(--font-size-16);
}

#modal-more-info p
{
  line-height: 24px;
}


#right-block-desc
{
  width: 70%;
}

.card-guest-header
{
  border-radius: 8px 8px 0 0;
  font-size: 18px;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  height: 50px;
  padding-top: 0;
}

.card-guest-body
{
  border-radius: 0 0 8px 8px;
}



.card-guest-header p
{
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 16px;
}

#translation_all_infos_correct
{
  font-size: 16px;
}

.guest-number
{
  padding-left: 5px;
}

input[type=text], input[type=email], input[type=date]
{
  border-radius: 4px;
  border: 1.5px solid #dde0e6;
  margin-bottom: 5px;
  color: #263238;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

input[type=text]:focus, input[type=email]:focus, input[type=date]:focus
{
  border-color: #1C6E7A;
  box-shadow: 0 0 0 3px rgba(167,31,45,.10);
}

/* BirthdateField is a div: same look as the inputs above */
.input-field-birthdate .birthdate-input-wrap
{
  margin-bottom: 5px;
}

.input-field-birthdate .birthdate-input__field
{
  border-radius: 4px;
  border: 1.5px solid #dde0e6;
  color: #263238;
  transition: border-color .2s, box-shadow .2s;
}

.input-field-birthdate .birthdate-input__field[data-focus-within]
{
  border-color: #1C6E7A;
  box-shadow: 0 0 0 3px rgba(167,31,45,.10);
}

#mail-to-send-all-cards
{
  border-radius: 4px;
  border: 1.5px solid #dde0e6;
  padding: 15px;
  color: #263238;
}

.send-card-to, .send-card-to-name
{
  color: black;
  font-family: "linotype-tradegothiclt-bold", sans-serif;

}

/* .content-card {
  width: 60vw;
  padding-left: 0;
} */


.send-all-guest-card-to-one-mail
{
  max-width: 100%;
}


.processing-blue-text
{
  color: var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

.processing-green-text
{
  color: var(--color-main);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}


.process-pdf-loading-block, .process-pdf-fail-block
{
  border-radius: 8px;
}

#translation_fail_processing_cards_info, #translation_processing_cards_info
{
  color: #727272;
}



.newsletter-right-body-panel img
{
  width: 20vw !important;

}

.newsletter-right-body-panel
{
  /*margin-top: 40px;*/
  justify-content: center;
  /*margin-left: 30px;*/
}

#newsletter-box
{
  display: var(--newsletter-subscribing);
  background-color: var(--color-button-primary);
  padding: 30px 20px;
  border-radius: 8px;
  position: relative;
  width: 100%;
}


#newsletter-right-image
{
  margin-top: 100px;
  margin-left: 50px;
}
#newsletter-right-image img
{
  max-width: 300px;
}


#translation_wish_you_great_time
{
  color: var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 20px;
}

.newsletter-left-body-panel
{
  width: 100%;
  max-width: 90%;
}

.newsletter-left-body-panel .title-checkspam
{
  color: var(--color-second);
  font-size: 20px;
  margin-top: 0;
}


.title-newsletter, .newsletter-right-body-panel
{
  margin-bottom: 22px;
  margin-top: 0px;
}

#subscribe-newsletter-button
{
  max-width: 250px;
}

#translation_checkbox_newsletter_text, #translation_checkbox_specialoffer_text
{
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

#mail-subscribe
{
  border: 0px;
  color: black;
  height: 42px;
  width: 80%;
  max-width: unset; 
  margin-top: 0px;
}

#translation_checkbox_newsletter_subtext, #translation_checkbox_newsletter_text
{
  font-size: 16px;
}

#discover-resort-pass-button
{
  color:  var(--color-second);
  border: 2px solid var(--color-second);
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  height: 48px;
  max-width: 360px;
}



input[type=checkbox] {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  -ms-appearance: checkbox !important;
  -o-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 20px;
  height: 20px;
}

input[type=checkbox]:before {
  font-family: initial;
  content: normal;
  font-size: 15px;
  color: black;
  display: block;  
  margin-right: 0px;
  border: 2px solid var(--color-second);
  border-radius: 3px;
  width: 20px;
  height: 20px;
}

.reservation-element
{
  display: flex;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px 32px;
  box-sizing: border-box;
}

#footer-note p
{
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 24px;
  box-sizing: border-box;
}

/* ── Reservation RDDM ── */
#card-and-discount
{
  display: none;
}

.reservation-left
{
  width: 100%;
}


#translation_your_reservation
{
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  color: #000000;
}

.reservation-item
{
  color: #000000;
  padding-bottom: 0px;
}

#translation_copyright
{
  font-size: 10px;
}


#footer-links a 
{
  font-family: "linotype-tradegothiclt-regular", sans-serif;
}


.content-process-card-body
{
  width: 100%;
}

#subscribeNews, #subscribeSpecialOffer
{
  /* Disable this rule, as it does nothing and conflicts with the checked checkboxes */
  /* background-color: white; */
  border: 0px;
  border-radius: 7px;

}

#newsletter-left-panel
{
  min-width : 50%;
}
#subscribeNews::before, #subscribeSpecialOffer::before
{
  border: 0px;
  width: 25px;
  height: 25px;
  margin: 0;
}


.newsletter-right-body-panel-done
{
    margin-top: 40px;
    text-align: center;
}


.newsletter-blue-text
{
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 20px;
}

#newsletter-first-block
{
  display: flex;
  align-items: center;
}

#newsletter-first-blocks
{
  width: 60%;
}

.title-newsletter, #translation_well_done, .newsletter-left-body-panel h3
{
  width: 100%;
}

#newsletter-second-block
{
  display: var(--newsletter-subscribing);
}

.image-desktop
{
  display: inline;
  height: fit-content;
}

.image-mobile
{
  display: none;
}


#discover-resort-pass-button-2
{
  padding: 0 20px;
    max-width: fit-content;
}


/* ── Footer ── */
#footer
{
  background: #fff;
  border-top: 1px solid #dde0e6;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100% !important;
  /* full width including its padding (it overflowed by 48px), and no gap below:
     the shared styles.css adds margin-bottom: 20px */
  box-sizing: border-box;
  margin-bottom: 0;
}

#footer img
{
  height: 48px;
  width: auto;
  opacity: .85;
  margin-bottom: 0;
}

#footer p,
#footer .footer_contact,
#footer #translation_copyright
{
  font-size: 0.75rem;
  color: #7a8a8c;
  letter-spacing: 0.4px;
  margin: 0;
}

#footer a
{
  font-size: 0.75rem;
  color: #7a8a8c;
  text-decoration: underline;
}

#footer-first-block,
#footer-second-block,
#footer-copyright
{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}






@media (max-width: 1700px)
{  
  .header-title-desktop
  {
   width: 100%;
  }
}


@media (max-width: 1200px)
{
  #header-logo
  {
    height: 180px;
  }

  .header-logo-img
  {
    height: 100px;
  }

  .header-title-desktop
  {
   width: 100%;
  }

  
  #process-right-body-panel
  {
    display: none;
  }
}

@media (max-width: 800px)
{  

  h2
{
  font-size: 16px;
}

  #header-logo
  {
    display: flex;
    height: 120px;
    background-size: 100% 100%, 200px auto;
  }

  .header-logo-img
  {
    height: 70px;
  }

  #header-logo-mobile
  {
    display: none;
  }

  /* Stepper mobile : cercle seul pour les étapes inactives */
  .breadcrumb_step:not(.breadcrumb_active) .breadcrumb_text,
  .breadcrumb_step:not(.breadcrumb_active) .breadcrumb_text_mobile
  {
    display: none;
  }

  /* Étape active : cercle + texte mobile visible, desktop masqué */
  .breadcrumb_active .breadcrumb_text_mobile
  {
    display: inline;
  }

  .breadcrumb_active .breadcrumb_text_desktop
  {
    display: none;
  }

  /* Forcer le cercle à s'afficher correctement */
  .breadcrumb_number
  {
    display: inline-flex !important;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #dde0e6;
    flex-shrink: 0;
  }

  #breadcrumb
  {
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    margin: 16px auto 4px;
    overflow: visible;
  }

  #breadcrumb-lang-wrapper {
    margin-bottom: 0;
  }

  .right-body-panel,
  .body-panel {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  #available-card-management {
    width: 100%;
    box-sizing: border-box;
  }

  #start-button-section {
    width: 100%;
  }

  .content-deliverycards-body {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 16px 72px;
  }


  .action-buttons-secondary {
    flex-direction: column;
  }

  .action-buttons-secondary .action-button-inner,
  .action-buttons-group .action-button-inner {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    padding: 0 8px;
  }

  #newsletter-box {
    width: 100%;
    box-sizing: border-box;
  }

  #footer {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 16px;
  }

  #footer-note p {
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px 24px;
  }

  .header-body
  {
    width: 100%;
    padding: 0 16px;
    /* 20px + the 5px of .lang-card: 25px between the steps and the title */
    margin: 20px auto 0;
    display: var(--page-header);
  }

  .header-title-mobile
{
  display: var(--card-image-title-header);;
  font-size: 19px;
  line-height: 26px;
  width: 100%;
  margin-top : 30px;
}


.header-title-desktop
{
  display: none;
}

  .header-body-element
  {
    margin-bottom: 0;
  }

  .lang-card
  {
    justify-content: space-between;
    flex-direction: var(--mobile-direction-lang-back-button);
    align-self: flex-center;
    margin-top: 5px;
  }

  .lang-card-element
  {
    width: fit-content;
  }

  .language-selector
  {
    width: fit-content;
  }

  .menu-lang-button
{
  margin-top: 0px;
}

  
  .header_separator
  {
    width: 95vw;
  }


  #available-card-text
  {
    font-size: 16px;
  }

  #available-card-quantity
  {
    margin: 0;
    font-size: 20px
  }

  

.children-text
{
  width: 100%;
}

#start-button-section
{
  width: 100%;
}


  .right-body-panel img
  {
    width: 100px;
  }

  .right-body-panel-content
  {
    min-width: 0;
    align-items: center;
    width: 100%;
    padding: 0;
    margin-top: 30px;
  }

  #right-block-desc
  {
    width: 60%;
    padding: 20px 10px 20px 20px;
  }

  .left-body-panel-desc
  {
    min-width: 0;
    padding: 0;
  }

  
.moreinfo-button, .lessinfo-button
{
  font-size: 16px;
}



  #button-more-info i #button-more-info
  {
    font-size: 18px;
  }



  #footer img
  {
    height: 40px;
    width: auto;
    max-width: none;
  }

  h1{
    font-size: 20px;
  }

  h3
  {
    font-size: 20px;
  }


  .card-guest
  {
    width: 90vw;
    max-width: none;
  }


  #validate-card-button, #send-card-button
  {
    width: 87vw;
  }


  #subscribe-newsletter-button
  {
    max-width: 90vw;
  }
  .newsletter-right-body-panel
  {
    height: fit-content;
  }

  .newsletter-right-body-panel img
  {
    width: 90vw !important;
    max-width: 90vw !important;
    height: auto;
  
  }

  #newsletter-right-image
  {
    margin-top: 30px;
    margin-left: 0px;
  }

  #newsletter-first-blocks
  {
     width: 100%;
  }


  #newsletter-second-block
  {
    margin-left: 20px;
    width: 95%;
  }

  #discover-resort-pass-button
  {
    width: 90%;
    min-width: 100px;
  }

  .title-newsletter, .newsletter-right-body-panel
  {
    margin-top: 20px;
    padding: 0 20px;
    width: auto;
    margin-bottom: 0;
  }

  #translation_sending_by_mail_prior_arrival_news, .title-checkspam
  {
    display: inline-block;
    font-size: 16px;
  }

  .title-newsletter
  {
    padding: 0 20px;

  } 
  
  .newsletter-left-body-panel h3
  {
    padding: 5px 20px;
    padding-bottom: 10px;
    font-size: 16px;
    line-height: 20px;
  }

.title-checkspam
{
  padding: 5px 20px;

}

   #translation_checkspam
  {
    font-size: 16px;
    line-height: 20px;
  }

  #newsletter-box
  {
    width: 100vw;
    position: static;
    left: 0;
    padding: 0    ;
    border-radius: 0;
    margin-top:20px;
  }

#newsletter-box-inner
{
  padding: 20px;
}

  .body-panel
  {
    width: 90vw;
  }

  

.body-content
{
  align-items: center;
}

.left-body-panel
{
  margin-right: 0px;
}

.right-block-side-image img
{
  margin-right: 20px;
}


#additional-infos
{
  flex-direction: column;
}

#newsletter-first-block
{
  flex-direction: column;
}


.newsletter-left-body-panel h3
{
  margin-bottom: 0;
}

.newsletter-left-body-panel-done
{
  padding-left: 20px;
}

.newsletter-blue-text
{
  margin-top: 20px;
  margin-right: 20px;
}

#translation_sending_by_mail_prior_arrival_news
{
  padding-top: 0;
}

.title-checkspam
{
  padding-top: 0;
}


.image-desktop
{
  /*display: none;*/
}

.newsletter-right-body-panel 
{
/*  display: none;*/
margin-left: auto;
}

.image-mobile
{
  display: none;
}

.reservation-element
{
  display: flex;
  flex-direction: column;
}

.reservation-element #card-and-discount
{
  display: none;
}

#translation_copyright 
{
  font-size: 12px;
}


}



/* importer par RDDM */

.header-title-desktop, .header-title, h1, .traveler-text {
    color: var(--color-main);
    /* font-family: 'Euclid Flex'; */
}

.left-body-panel-desc, .header-title, #available-card-text, #translation_your_reservation, .title-checkspam, #translation_your_reservation, .children-text, .traveler-text, #content-create-card, .reservation-item p, .send-card-to-name {
color:var(--color-darker-grey);
}

.send-card-to {
    color: var(--color-second-grey);
}

h2, #translation_title_home_page, #available-card-text, .children-text, .traveler-text {
    font-size: 20px;
}

h1 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

.breadcrumb_step p {
  font-family: 'linotype-tradegothiclt-bold';
  color: var(--color-second-grey);
}

.menu-lang-button .menu-lang-content {
  box-shadow: 0px 5px 10px #8080804f;
}

#translation_title_home_page {
    color: var(--color-button-primary);
    margin-bottom: 10px;
}

#available-card-quantity {
  background-color: #e0e2e7;
  padding: 5px;
  border-radius: 10px;
  font-size: 20px;
}

.action-button:hover, .enabled-action-button:hover {
  color:#fff;
  background-color: var(--color-button-hover) !important;
  border-color:var(--color-button-hover);
}

/* Every line of the stay box alike: some lines are <p>, others <div> */
.reservation-item > p,
.reservation-item > div {
  font-size: 18px;
  color: var(--color-darker-grey);
}


#add-more-card-button {
    font-family: 'linotype-tradegothiclt-bold';
    /* color: var(--color-button-primary); */
    cursor: pointer;
}

#add-more-card-button:hover {
    color: var(--color-button-hover); */
}

.reservation-element {
    padding-bottom: 32px;
}

.content-card,
.content-deliverycards-body,
#content-process-card,
#content-payment,
#content-extend-card
{
  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}

.content-card {
  padding-top: 30px;
}

#segmentation-management::after {
    content: "";
    font-size: 2rem;
    right: 10%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' fill='none' stroke='%235A676D' stroke-width='2'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    bottom: 27px;
    transform-origin: center;
    transform: rotate(90deg);
}

.create-card-info {
  background: #f8f0f1;
  border-left: 3px solid #1C6E7A;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #263238;
  margin-bottom: 16px;
}

.card-guest-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.card-guest {
  min-width: 0;
  margin: 0;
  flex: none;
}

.add-card-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  grid-column: 1 / -1;
  min-height: 72px;
  border: 2px dashed #1C6E7A;
  border-radius: 8px;
  padding: 20px;
  color: #1C6E7A;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  background: transparent;
  transition: background .15s;
}


.add-card-plus::before {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  font-family: "linotype-tradegothiclt-bold", sans-serif;
}

.add-card-plus:hover {
  background: #f8f0f1;
}

.create-card-guest-body {
  padding: 20px 0;
}

#traveler-segmentation {
  margin-left: 0 !important;
}

input[type='radio'] {
  border-color: var(--color-second-grey);
}

#back-button a span {
 padding-left: 6px;
}

.send-all-guest-card-to-one-mail h2, .title-send-card-individually {
    font-size: 18px;
}

#discover-resort-pass-button:hover {
    background-color: #263238 !important;
    color: white;
}

#newsletter-box {
    background-color: white;
    box-shadow: 0px 5px 10px #8080804f;
}

#mail-subscribe {
  border: 2px solid #dddddd;

}

.enabled-action-button#subscribe-newsletter-button {
    background-color: var(--color-button-primary);
    color: white;
}

#translation_checkbox_newsletter_subtext {
    font-size: 14px;
}

.action-buttons-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.action-buttons-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

#webapp-delivery-button {
    width: 100%;
    height: 100px;
    padding: 16px 40px;
    font-size: 20px;
    border-radius: 8px;
}

.action-buttons-secondary {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}

.action-buttons-secondary .action-button,
.action-buttons-secondary .disabled-action-button {
    flex: 1;
    height: 70px;
    padding: 8px 16px;
    font-size: 13px;
    opacity: 0.85;
    border-radius: 8px;
}

.action-buttons-secondary .action-button-inner {
    gap: 8px;
}

.action-buttons-secondary .action-button-icon svg {
    width: 20px;
    height: 20px;
}


.action-buttons-group .action-button-icon svg {
    width: 36px;
    height: 36px;
}

.action-button-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-button-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.title-process-card-guest {
  margin-top:50px;
}

.process-left-body-panel p {
  font-size:16px;
}

@media (max-width: 800px) {
    .card-guest-content {
        grid-template-columns: 1fr;
    }

    .card-guest {
        min-width: 0;
        width: 100%;
    }

    .create-card-guest-body {
        padding: 20px 16px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .input-field {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .input-field input,
    .input-field select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: 45px;
        margin-left: 0;
        margin-right: 0;
    }

    .input-field-birthdate .birthdate-input-wrap {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .input-field-birthdate .birthdate-input__field {
        box-sizing: border-box;
        height: auto;
        min-height: 45px;
    }

    .header-title {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .lang-card {
      width:100%;
    }

    .body-content {
        padding-top: 20px;
    }

    #available-card-management {
      justify-content: flex-start;
    }

    #available-card-quantity {
      margin-left: 20px;
    }

    #available-card-management {
      margin-top: 20px;
  }

    .reservation-element {
      width: 85vw;
  }
  h1, #translation_traveler_type {
    font-size: 22px;
  }
  #content-create-card h2 {
    margin: 20px 0;
  }

  #newsletter-header, #newsletter-right-image {
        margin-top: 40px;
    }
  #newsletter-box-inner {
      padding: 40px 20px;
  }
}

@media only screen and (max-width: 800px) {
    .content-deliverycards-body #left-panel {
        margin: 0;
    }
}

@media only screen and (max-width: 800px) {
    .content-deliverycards-body #right-panel {
        box-sizing: border-box;
        border-radius: 0px !important;
        width: 90vw;
    }
}

/* Layout fixes ported from the RDDM desk (21.10.2026), which this theme was
   copied from: same markup, same defects. */

/* Short pages: stretch the page to the window so the footer sits at the bottom
   instead of leaving the grey background below it */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

#content > .body-content {
  flex: 1 0 auto;
}

@media (min-width: 801px) {
  /* Step 2: place of residence and reason for the visit side by side. Every
     other block (e-mail, card use) keeps the full width */
  #additional-infos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 28px;
    align-items: start;
    max-width: none;
  }

  #additional-infos > * {
    grid-column: 1 / -1;
  }

  #additional-infos > .additional-infos-block:has(+ .traveler-type-section),
  #additional-infos > .additional-infos-block + .traveler-type-section {
    grid-column: auto;
  }

  /* Alone on the page (no side panel on these steps): use the width, the 400px
     cap is meant for the two-panel layout. Beneficiaries: several cards per row */
  .home-content > .right-body-panel:only-child:has(#additional-infos),
  .home-content > .right-body-panel:only-child:has(#content-create-card) {
    max-width: none;
  }

  /* Each card sits in a .right-body-panel that inherits the side panel's
     fixed width */
  .card-guest-content > .right-body-panel {
    width: auto;
    min-width: 0;
    max-width: none;
  }
}

/* Newsletter box is coloured: red error text would vanish. Message in white on
   a dark translucent strip, red frame on the field or box in error */
#content-newsletter .error-banner {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 4px;
  padding: 8px 12px;
}

#content-newsletter .error-banner p {
  margin: 0;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.4;
}

#content-newsletter #mail-subscribe.input-error {
  border: 2px solid #e10b16 !important;
}

#content-newsletter .checkbox-subscribe-block.checkbox-block-error {
  background: none;
  border: none;
}

#content-newsletter .checkbox-block-error input[type="checkbox"] {
  outline: 2px solid #e10b16;
  outline-offset: 2px;
}

/* Phone layout: one 16px gutter for header, content, stay box and note; full
   width boxes and buttons; tighter gaps */
@media (max-width: 800px) {
  /* The logo is 6 times wider than high: at 70px high it was 435px wide and
     pushed the page sideways on phones */
  .header-logo-inner {
    box-sizing: border-box;
    width: 100%;
  }

  .header-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 70px;
  }

  .body-content {
    padding-top: 0;
  }

  .home-content {
    padding: 0 16px 32px;
    row-gap: 24px;
  }

  .content-card h1 {
    margin-top: 0;
  }

  .content-card {
    padding-top: 20px;
    padding-bottom: 0;
  }

  .reservation-element {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  #footer-note p {
    padding-left: 16px;
    padding-right: 16px;
  }

  #available-card-management {
    justify-content: space-between;
    align-items: center;
  }

  #available-card-management,
  #available-card-text {
    margin-top: 0;
    margin-bottom: 0;
  }

  #available-card-text {
    padding-left: 0;
  }

  #start-button-section {
    margin-top: 12px;
    margin-bottom: 0;
  }

  /* styles.css forces every select's margin and width with !important */
  .card-guest select {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 0 5px !important;
    border-radius: 4px;
  }

  .content-create-card-buttons {
    width: 100%;
    min-width: 0;
  }

  #generateButton {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .cards-counter {
    white-space: nowrap;
  }

  /* the language block's bottom margins made the row 67px high */
  .header-body .language-selector,
  .header-body .menu-lang-button {
    margin-bottom: 0;
  }

  /* Done view: both columns on the same width, rounded like the buttons
     (styles-mobile.css forces square corners) */
  .content-deliverycards-body #left-panel,
  .content-deliverycards-body #right-panel {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  .content-deliverycards-body #right-panel {
    border-radius: 8px !important;
  }

  #left-panel .action-button:not(#webapp-delivery-button) {
    padding-right: 20px;
  }
}

@media (min-width: 801px) {
  /* Beneficiaries: the title sat 70px under the language row (form padding +
     h1 margin on top of the content padding) */
  #content-create-card {
    padding-top: 0;
  }

  #content-create-card h1 {
    margin-top: 0;
  }

  /* Done view: same edges as the steps and the other pages (it ran 24px wider
     on each side) */
  .content-deliverycards-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Sending the cards by e-mail (done view, after "Envoyer les cartes par
   e-mail"), as on the Pays-d'Enhaut desk: one white card, common address
   first, then one light sheet per person under a rule, the button on the
   right. Without it the block lay on the grey background, the sheets with the
   big dark card header. */
#content-send-card {
  /* the edges of the panels above: 1140px content box less its 24px sides */
  width: calc(100% - 48px);
  max-width: 1092px;
  box-sizing: border-box;
  margin: 8px auto 48px;
  padding: 32px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(38, 50, 56, 0.08);
  color: var(--color-darker-grey);
}

#content-send-card .title-create-card-guest {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-button-primary);
}

#send-all-cards-to-one-mail p,
#send_cards_individually {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-darker-grey);
}

#send_cards_individually {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dde0e6;
}

#content-send-card .mail-input {
  width: 100%;
  max-width: 480px;
  height: 46px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
}

#content-send-card .card-guest-content {
  gap: 16px;
  margin: 0;
}

#content-send-card .card-guest {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 8px;
  background-color: #f2f6f7;
  box-shadow: none;
}

#content-send-card .card-guest-header {
  height: auto;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

#content-send-card .card-guest-header p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-button-primary);
}

#content-send-card .send-card-guest-body {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

#content-send-card .send-card-to {
  margin-left: 0;
  font-size: 18px;
  font-weight: 600 !important;
  line-height: 1.3;
  color: var(--color-darker-grey);
}

#content-send-card .card-guest-body p.send-card-to-mail {
  display: block;
  margin: 12px 0 0 !important;
}

#content-send-card .card-guest .mail-input {
  max-width: none;
}

#content-send-card .content-create-card-buttons {
  display: flex;
  width: 100%;
  min-width: 0;
  justify-content: flex-end;
  margin-top: 24px;
}

/* the shared styles force 358px !important on .validate-card-button */
#send-all-cards-button {
  width: auto !important;
  min-width: 220px;
  height: 48px;
  padding: 0 32px;
}

/* Common address or one address per card (collapseIndividualMails): two tabs
   side by side, the active one filled */
.mail-mode-switch {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 24px;
  padding: 4px;
  border-radius: 8px;
  background-color: #e4ecee;
}

.mail-mode-option {
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: var(--theme-font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark-grey);
  transition: background-color 0.15s, color 0.15s;
}

.mail-mode-option:hover {
  color: var(--color-darker-grey);
}

.mail-mode-option--active,
.mail-mode-option--active:hover {
  background-color: var(--color-button-primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.mail-mode-option:focus-visible {
  outline: 2px solid var(--color-button-primary);
  outline-offset: 2px;
}

@media (max-width: 800px) {
  /* .content-card is forced to 90vw !important by styles-mobile.css */
  #content-send-card {
    width: auto !important;
    margin: 16px 16px 32px;
    padding: 20px;
  }

  #content-send-card .content-create-card-buttons {
    justify-content: stretch;
  }

  #send-all-cards-button {
    width: 100% !important;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .mail-mode-switch {
    display: flex;
  }

  .mail-mode-option {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    text-align: center;
    line-height: 1.25;
  }
}
