/* Font-face */
@font-face {
  font-family: 'JennaSue';
  src: url('fonts/JennaSue.ttf') format('truetype');
}
@font-face {
  font-family: 'Karla-Bold';
  src: url('fonts/Karla-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Karla-Italic';
  src: url('fonts/Karla-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Karla-Light';
  src: url('fonts/Karla-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Karla-Regular';
  src: url('fonts/Karla-Regular.ttf') format('truetype');
}

.gs-search-box.search-large {
  max-width: 280px !important;
}
.gs-search-box.search-large .search-loop-ico {
  left: 10px !important;
  right: inherit !important;
  top: 8px !important;
}
.body_user #container_gsite_header {
  display: none;
}

/* -------------------------------------------------------------------------- */

section {
  position: relative;
}
.fixed-top  + .container {
  margin-top: 50px;
}

.fixed-top {
  margin-top: 36px;
}
.logo_site img {
  max-width: 100%;
}
body {
  margin: 0;
  font-family: 'Karla-Regular';
  line-height: 1.5;
  background-color: var(--blanc);
  background-image: url("images/cap-sur-la-marne-fond-papier-.png");
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: scroll;
  color: var(--bleu-txt);
  font-size: var(--font-size-body);
  line-height: var(--line-height-medium);
  overflow-x: hidden;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, .h1 {
  font-size: var(--font-size-h1);

}
h1, .h1, h2, .h2 {
  color: var(--bleu-fonce);
  font-size: var(--font-size-h2);
  font-family: 'Karla-Bold';
  text-transform: uppercase;
}
.home h2 {
  margin-bottom: 3rem;
  color: var(--bleu-clair);
  font-family: 'Karla-Bold';
  text-transform: uppercase;
}
h2, .h2 {
  margin-bottom: 2rem;
  color: var(--bleu-fonce);
  font-family: 'Karla-Bold';
  font-size: var(--font-size-h2-ancre);
  margin-top: 2rem;
}
h2 strong, .h2 strong {
  color: var(--bleu-fonce);

}
h3, .h3 {
  font-size: var(--font-size-h3);
  color: var(--bleu-h3);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 30px;
}
h1.blanc {
  color: #fff;
}
.hero-bleed h3 {
  font-size: var(--font-size-big-h3);
  font-family: 'JennaSue';

}
h4, .h4 {
  font-family: 'Karla-Regular';
  font-size: var(--font-size-h4);
  color: var(--bleu-txt);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: var(--line-height-medium-bis);
  color: var(--bleu-txt);
}
a {
  color: var(--bleu-glace-fonce); 
  text-decoration: underline;
  transition: all 0.3s ease 0s;
}
.embed_file_url {
  text-decoration: none;
}
a:hover {
  color: var(--bleu-glace); 
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
.btn_bleu {
  background-color: var(--bleu-glace);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease 0s;
  color: var(--blanc);
  text-decoration: none;
  padding: 13px 25px;
  margin: 10px 0;
  display: inline-block;
}
.btn_bleu:hover {
  background-color: var(--bleu-txt);
  color: var(--blanc);
}
.title_ancre {
  text-transform: uppercase;
  font-size: var(--font-size-h2-ancre);
}
/* -------------------------------------------------------------------------- */
/* sommaire de page */
.gs_summary li a {
  background-color: var(--bleu-glace);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease 0s;
  color: var(--blanc);
  text-decoration: none;
  padding: 8px 15px;
  margin: 10px 0 0 0;
  display: inline-block;
  border: 1px solid var(--bleu-glace);
  color: var(--blanc);
  font-size: 14px;
}
.gs_summary li a:hover {
  background-color: transparent;
  color: var(--bleu-glace);
  border: 1px solid var(--bleu-glace);
}
.gs_toggle_summary {
  display: none !important;
}
.gs_summary {
  display: block !important;
  background-color: transparent;
}
.gs_summary {
  padding: 0;
  margin-bottom: 20px;
  margin-top: 60px;
   text-align: center; 
}
.gs_summary li {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 10px;
}
.gs_summary li a {
  margin-top: 0;

}
@media only screen and (max-width: 767px) { /*passage au col-sm-x */
  .gs_summary li {
    margin-right: 15px;
    margin-bottom: 15px;
  }
  .gs_summary li a {
    padding: 6px 10px;
  }
}
.wave-divider {
  height: 24px;
  width: 100%;
  background-repeat: repeat-x;
  background-size: 85px 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' fill='none' stroke='%235BC4BD' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cpath d='M0,6c6,0,6,13,12,13S18,6,24,6'/%3E%3C/svg%3E");
  margin: 25px 0;
}
.CSM-txt-img-text-home-btn .gsi-col.gsi-4 .type-image {
  padding-bottom: 0;
}
.CSM-txt-img-text-home-btn .gsi-col.gsi-4 .type-image img {
  max-height: 80px;
  width: auto !important;
}
.CSM-txt-img-text-home-btn h2 {
  margin-bottom: 0;
  font-size: 35px;
  color: var(--bleu-clair);
  font-family: 'Karla-Bold';
}

.CSM-txt-img-text-home-btn .gsi-col.gsi-4 p.h2 {
  line-height: 100%;
  margin: 0;
}
.CSM-txt-img-text-home-btn .gsi-col.gsi-4 p.h2 a {
  color: var(--bleu-fonce);
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
  line-height: 100%;
}
/* -------------------------------------------------------------------------- */
.header_home,
.header_photo {
  display: flex;
  align-items: center; 
  position: relative;
  width: 100%;
  height: 680px;
  padding-top: 135px;
}
.header_home {
  height: 800px;
}
.header_photo::before {
  opacity: 0.6 !important;
  background-image: linear-gradient(110deg,#183b66 9%,#5bc4bd 100%) !important;
  bottom: 0;
  content: "" !important;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}
.head_text_img {
  z-index: 3;
}
.head_text_img h1, .head_text_img p {
  text-shadow: 1px 1px 5px #000;
}

@media (max-width: 575px) {
  .head_text_img h1, .head_text_img p {
    text-align: center;
  }
  .header_home, .header_photo {
    padding-top: 90px;
  }
}
/* ===== Bloc hero avec image qui déborde jusqu'au bord du viewport ===== */

.hero-bleed {
  position: relative; /* c'est CE conteneur qui sert de repère, pas la colonne */
  min-height: 580px;
}

.hero-bleed .hero-image-col {
  position: static !important;
}

/*.hero-bleed-img {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 50vw; 
  object-fit: cover;
}*/

/* Image dans la moitié GAUCHE : déborde jusqu'au bord gauche du viewport */
.hero-bleed figure.hero-bleed-img-left {
  left: calc(50% - 50vw);

}
/* Image dans la moitié DROITE : déborde jusqu'au bord droit du viewport */
.hero-bleed figure.hero-bleed-img-right {
  right: calc(50% - 50vw);
}
/* l'image redevient toute simple, elle remplit juste le figure */
.hero-bleed-img-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bleed-txt-right, .hero-bleed-txt-left {
  max-width: 80%;
  margin: 0 auto;
}
.CSM-txt-img-small-text-right .hero-bleed-txt-right {
  float: right;

}
.CSM-txt-img-small-text-right .hero-bleed-txt-right, .CSM-txt-img-small-text-left .hero-bleed-txt-left {
  max-width: 80%;
  margin: 0;
}
.hero-bleed figure.img-block {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 50vw;
  margin: 0;
  overflow: hidden;
}
/* évite la barre de défilement horizontale causée par le débordement */
body {
  overflow-x: hidden;
}

@media (max-width: 1199px) {
  .hero-bleed figure.img-block {
    position: static;
    width: 100%;
    height: 480px;
  }
  .CSM-txt-img-small-text-right .hero-bleed-txt-right,
  .CSM-txt-img-small-text-left .hero-bleed-txt-left,
  .hero-bleed-txt-right, .hero-bleed-txt-left {
    max-width: 100%;
    margin-top: 30px;
    margin-bottom: 70px;
    float: none;
  }
}

.hero-bleed-video-left iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.title_head_form {
  align-content: center;
  align-items: center;
  display: grid;
  padding: 0 50px 0 0;
}
.CSM-list-img .vignette_mnu_img {
  height: 400px;
  overflow: hidden;
  display: flex;
  align-content: center;
  align-content: center;
}
.CSM-list-img .vignette_mnu_img figure {
  width: 100%;
  height: 100%;
}
.CSM-list-img .vignette_mnu_img .lSPager.lSpg {
  display: none;
}
p.cadre_bleu {
  background-color: var(--bleu-fonce);
  padding: 35px 25px;
  color: var(--blanc);
  margin-top: 50px;
  margin-bottom: 40px;
}

/* -------------------------------------------------------------------------- */
table {
  border-collapse: separate;
  border-spacing: 0;
  border-width: 1px 0 0 1px;
  margin: 0 0 20px;
  width: 100%;
  word-break: initial;
}
td {
  font-size: .9em;
  border-bottom: 2px solid var(--bleu-fonce);
}
td, th {
  padding: 20px;
  text-align: left;
}

/* -------------------------------------------------------------------------- */
.gsi-col img {
  height: auto !important;
  width: 100%;
}
.type-text ul {
  margin-bottom: 20px;
}
/* -------------------------------------------------------------------------- */
/* Header */
.back-img-only {
  min-height: 250px;
}
#task_bar_top > div:first-child#task_bar_top_right {
  width: 100%;
}
#container_btn_orders,
#container_btn_cart {
  float: right !important;
}
#container_btn_eval_msg {
  float: right !important;
}
#container_btn_eval_msg a:hover {
  background: inherit !important;
  border-bottom: inherit !important;
}

@media screen and (max-width: 960px){
  .btn_login_name {
    display: none;
  }
  #container_btn_orders a,
  #container_btn_cart a {
    font-size: 0 !important;
  }
  #container_btn_orders a i,
  #container_btn_cart a i {
    margin-right: 0 !important;
  }
}

/*----------------------------*/
.div_logo a {
  display: block;
  position: absolute;
  top: 0;
  background-color: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0px 5px 7px rgba(0,0,0,0.1);
  padding-top: 20px;
  left: 80px;
}
.div_logo a img {
  max-height: 140px;
  transition: all 0.4s;
}
#sticky_mnu.is_sticky .div_logo a img, #sticky_mnu.sticky_like .div_logo a img {
  max-height: 60px;
}
#sticky_mnu.sticky_like .div_logo a,
#sticky_mnu.is_sticky .div_logo a {
  display: block;
  position: absolute;
  top: 50%;
  background-color: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: none;
  padding-top: 0;
  transform: translateY(-50%);
}
@media only screen and (max-width: 767px) {
  .div_logo a img {
    max-height: 35px;
  }
  #sticky_mnu .row {
    padding: 10px 0 !important;
  }
}
/* -------------------------------------------------------------------------- */
/* sticky mnu */
#sticky_mnu {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 11;
  opacity: 1;
  background-color: var(--blanc);
  transition: all 0.3s ease 0s;
}
.with_taskbar_gsite #sticky_mnu {
  left: 0;
}
.with_taskbar_gsite #sticky_mnu {
  top: 35px;
}
.with_taskbar_gsite.body_user #sticky_mnu {
  top: 30px;
}
.with_taskbar_gsite #sticky_mnu.is_sticky {
  top: 35px;
}
.with_taskbar_gsite.body_user #sticky_mnu.is_sticky {
  top: 30px;
}
#sticky_mnu.is_sticky {
  position: fixed;
  top: 0;
}

@media only screen and (max-width: 991px) {
  #sticky_mnu .container.container_wide {
    max-width: 100% !important;
  }
  #sticky_mnu {
    top: 0;
    position: fixed;
  }
  .with_taskbar_gsite #sticky_mnu {
    top: 35px;
  }

  .with_taskbar_gsite.body_user #sticky_mnu,
  .with_taskbar_gsite.body_user #sticky_mnu.is_sticky {
    top: 0;
  }
}
/* -------------------------------------------------------------------------- */
/* Menu */
#gsMiniMenu {
  display: none !important;
}
#mnu_mobile {
  display: none;
}
@media only screen and (max-width: 1500px) {
  .div_logo a {
    left: 20px;
  }
}
@media only screen and (max-width: 1400px) {

  .div_logo a img {
    max-height: 110px;
    transition: all 0.4s;
  }

}
@media only screen and (max-width: 1300px) {
  #mnu_desktop {
    display: none;
  }
  #mnu_mobile {
    display: block !important;
    float: right;
  }
  #sticky_mnu {
    padding: 12px 0;
  }
  .div_logo a {
    top: -12px;
  }
}

@media only screen and (max-width: 991px) {
  #mnu_mobile {
    padding-right: 50px !important;
  }
}
.gs-boot-menu > ul {
  margin: 0 0 0 0;
  padding: 0;
  text-align: right;
  float: right;
}
.gs-boot-menu > ul > li {
  display: block;
  float: left;
  position: relative;
  padding: 15px 0;
}
.gs-boot-menu > ul > li:last-child {
  margin-right: 0;
}
.gs-boot-menu > ul > li > a {
  text-transform: uppercase;
  color: var(--bleu-txt);
  padding: 15px 10px 15px 10px;
  font-size: var(--font-size-nav);
  transition: all 0.4s;
  text-decoration: none;
  display: inline-block;
  position: relative;
}
.gs-boot-menu > ul > li > a.childs_multi {
  padding: 15px 25px 15px 15px;
  cursor: pointer; /* le href est retiré en JS (ouverture au clic) */
}
#sticky_mnu.is_sticky #mnu_desktop #adm_menu1default li > ul li a,
#sticky_mnu.is_sticky .gs-boot-menu > ul > li > a {
  font-size: var(--font-size-nav-sticky);
}
#sticky_mnu.is_sticky .gs-boot-menu > ul > li > a.childs_multi {
  padding: 15px 25px 15px 15px;
}
#sticky_mnu.is_sticky .gs-boot-menu > ul > li > a {
  padding: 15px 10px 15px 10px;
}
#sticky_mnu.is_sticky .gs-boot-menu > ul > li {
  padding: 5px 0;
}
#sticky_mnu.is_sticky .mega-menu > li.is-open > ul {
  top: 62px;
}
.childs_single ul {
  display: none !important;
}
.gs-boot-menu > ul > li > ul {
  display: none;
}

.header-icon-menu-canvas {
  position: relative;
  width: 50px;
  height: 45px;
  transition: all 0.3s ease 0s;
}
.header-icon-menu-canvas span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--bleu-txt);
  transition: all 0.3s ease 0s;
}
.header-icon-menu-canvas span::before, 
.header-icon-menu-canvas span::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  transform: translateY(-6px);
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--bleu-txt);
  transition: all 0.3s ease 0s;
}
.header-icon-menu-canvas span::after {
  transform: translateY(6px);
  top: 2px;
}
.header-icon-menu-canvas.is-opened span { background: transparent; }
.header-icon-menu-canvas.is-opened span::before {
  transform: translateY(0) rotate(45deg);
  top: 0;
}
.header-icon-menu-canvas.is-opened span::after {
  transform: translateY(0) rotate(-45deg);
  top: 0;
}
.header-icon-menu-canvas.is-opened { transform: rotate(180deg); }

/* -------------------------------------------------------------------------- */
/* Mega menu */
.mega-menu > li > ul {
  display: none;
}
/* Sous-menu ouvert au clic (classe posée par capsurlamarne.js), plus au survol */
.mega-menu > li.is-open > ul {
  display: block;
  position: absolute;
  left: 10px;
  width: 300px;
  background-color: var(--blanc);
  text-align: center;
  top: 69px;
  padding-left: 0;
  padding: 0;
  border-radius: 0 0 5px 5px;
}
#mnu_desktop #adm_menu1default li,
#mnu_desktop #adm_menu1default li a {
  position: relative;
}
#mnu_desktop #adm_menu1default li a.childs_multi::after {
  font: normal normal normal 20px/1 FontAwesome;
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 8px;
  font-weight: 600;
  transform: translateY(-50%) rotate(-90deg);
  -webkit-transform: translateY(-50%) rotate(-90deg);
  transition: all 0.5s ease 0s;
}
#mnu_desktop #adm_menu1default li.is-open a.childs_multi::after,
#mnu_desktop #adm_menu1default li a.childs_multi.link_item_node_selected::after {
  transform: translateY(-50%) rotate(0deg);
  -webkit-transform: translateY(-50%) rotate(0deg);
  color: var(--bleu-glace);
}
 
#mnu_desktop #adm_menu1default li > ul li {
  display: block;
  float: none;
  text-align: left;
  position: relative;
  padding: 0px 20px;
  background-color: transparent;
  transition: all 0.5s ease 0s;
}

#mnu_desktop #adm_menu1default li > ul li:last-child {
  border-bottom: none;
  border-radius: 0 0 20px 20px;
}
#mnu_desktop #adm_menu1default li > ul li a {
  color: var(--bleu-txt);
  display: block;
  transition: all 0.4s ease 0s;
  letter-spacing: 0.07rem;
  font-size: var(--font-size-nav);
  padding: 18px 5px;
  border-bottom: 1px solid var(--overlay-black-10);
  text-decoration: none;
  text-transform: uppercase;
}
#mnu_desktop #adm_menu1default li:hover > a, 
#mnu_desktop #adm_menu1default li > ul li a:hover, 
#mnu_desktop #adm_menu1default li a.childs_multi.link_item_node_selected:hover, 
#mnu_desktop #adm_menu1default li > ul li a.link_item_node_selected_level_2 {
  color: var(--bleu-glace);
  text-decoration: none;
}

#mnu_desktop #adm_menu1default li a.childs_multi.link_item_node_selected {
  color: var(--bleu-glace-fonce);

}
#mnu_desktop #adm_menu1default li#mnu_44 {
  padding-left: 10px;
}
#mnu_desktop #adm_menu1default li#mnu_44 a {
  background-color: var(--bleu-glace);
  color: #fff;
}
#mnu_desktop #adm_menu1default li#mnu_44:hover > a {
  background-color: var(--bleu-fonce);
  color: #fff;
}
/* ------------------------------------------------ */

figure.img-block {
position: relative;
}
figcaption.img-block-text {

}
figure.img-block img {
/*  width: 100%;*/
}
.ico_info_credit {
  color: #fff;
  position: absolute;
  left: 15px;
  bottom: 15px;
  cursor: pointer;
  border: 1px solid #fff;
  opacity: 1;
  padding: 0px 0px;
  text-align: center;
  border-radius: 50px;
  height: 30px;
  width: 30px;
  line-height: 30px;
  display: block;
  font-size: 17px !important;
  transition: all 0.3s ease 0s;
}
.ico_info_credit:hover {
  opacity: 1;
}
.photo-credit {
  display: block;
  font-size: var(--font-size-banner-text);
  color: var(--color-brand-red);
  margin-top: 4px;
}
.img-block-text:hover .photo-credit {
  /* position: relative; */
  height: auto;
  margin: inherit;
  overflow: hidden;
  clip: inherit;
  white-space: inherit;
  display: block !important;
  background-color: rgba(255,255,255,0.95);
  color: #000;
  padding: 15px 15px 15px 15px;
  width: auto;
  line-height: 100%;
  position: absolute;
  left: 15px;
  bottom: 55px;
  text-align: left;
  max-width: 500px;
}

/* -------------------------------------------------------------------------- */
#search-results-g .res-keywords {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* blockquote */
div:has(> blockquote) {
  margin: 0 100px 0 0;
}
cite.type-cite {
  margin-bottom: 30px;
  display: block;
  margin-top: 20px;
}
.type-text blockquote p {
  font-family: 'RethinkSans-ExtraBoldItalic';
  margin-bottom: 30px;
  display: block;
  margin-top: 20px;

}
cite,
blockquote.type-blockquote,
.txt_quote blockquote p {
  font-family: 'RethinkSans-ExtraBoldItalic';
  font-size: var(--font-size-quote);
  line-height: var(--line-height-small);
  color: var(--color-brand-red);
}
.type-text blockquote p::before,
cite::before,
blockquote.type-blockquote::before,
.txt_quote blockquote p::before {
  content: "\201C";
}
.type-text blockquote p::after,
cite::after,
blockquote.type-blockquote::after,
.txt_quote blockquote p::after {
  content: "\201D";
}

figcaption cite {
  font-size: var(--font-size-body);
}
figcaption cite::after,
figcaption cite::before {
  content: "";

}


/* -------------------------------------------------------------------------- */
/* Special style for slide section if First */
#section_list > section:first-child.txt-img-slide-fullsize,
#section_list > .item_li_section:first-child > .txt-img-slide-fullsize {
  margin-top: -100px;
}
.edit #section_list > .item_li_section:first-child > .txt-img-slide-fullsize {
  margin-top: 0;
}


  .social-icon{
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-brand-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-red);
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color .2s ease, color .2s ease;
  }
  .social-icon:hover,
  .social-icon:focus{
    color: var(--color-brand-anis);
    background-color: var(--color-brand-red);
  }

/* -------------------------------------------------------------------------- */
.footer-bottom {
  background-color: #fff;
}
.footer-bottom ul,
.footer_legal ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 20px 0;
  margin: 0;
  gap: 10px;
}
.footer-bottom ul li {
/*  float: left;*/
}
.footer-bottom ul li a,
.footer_legal ul li a {
  padding: 15px 5px;
  text-decoration: none;
  display: block;
}
.col-logos {
  background-color: rgba(35,105,135,0.13);
  padding: 50px 0;
}
.col-logos ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 20px 0;
  margin: 0;
  gap: 10px;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}
.col-logos ul li {
  width: auto;
  min-width: 130px;
}
.col-logos ul li a {
  display: block;
}
.col-logos ul li a img {
  height: 90px;
  width: auto !important;
}
.footer_legal {
  background-color: #286C8A;
}
.footer_legal ul li a, .footer_legal .ccgs_wrapper_reduced a, .footer_legal .ccgs_wrapper_reduced a:hover {
  color: #fff;
  font-size: var(--font-size-body);
  font-weight: normal;
  font-family: 'Karla-Regular';
  transition: all 0.3s ease 0s;
}
.footer_legal ul li a:hover,
.footer_legal .ccgs_wrapper_reduced a:hover {
  text-decoration: underline;
}
.btn_backtop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, visibility .3s;
  background-color: var(--bleu-glace-fonce);
}
.btn_backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn_backtop img {
  display: block;
  height: auto;
}
/* -------------------------------------------------------------------------- */
/* Footer */
.footer {
  background-color: var(--color-brand-red);
  padding: 40px 0 80px 0;
  position: relative;
}
footer {
  position: relative;
}
.footer p {
  color: var(--color-brand-anis);
}
/*#backtotop,
#backtotop:hover {
  text-decoration: none;
}
#backtotop * {
  color: var(--color-brand-anis);
  transition: all 0.3s ease 0s;
}
#backtotop:hover * {
  color: var(--color-black);
  text-decoration: none;
}
#backtotop span {
  display: block;
  max-width: 65px;
  text-transform: uppercase;
  font-size: var(--font-size-widget-link);
}*/

/* -------------------------------------------------------------------------- */
/* Credits */
.credits {
  background-color: var(--color-black);
  color: var(--blanc);
  padding: 15px 25px;
  text-align: right;
}



/* -------------------------------------------------------------------------- */
/* bandeau image fullsize */
.bandeau-image {
  width: 100%;
}
.bandeau-image .img-block {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 21 / 9;      /* le ratio "cinémascope" du bandeau, à ajuster selon ta charte */
  overflow: hidden;
}
.bandeau-image .img-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%; /* le point de recadrage, réglable au cas par cas */
}

@media (max-width: 768px) {
  .bandeau-image .img-block {
    aspect-ratio: 4 / 3;    /* sur mobile on repasse sur un ratio plus haut, sinon l'image s'écrase trop */
  }
}

/* sections FAQ */

.faq-section {
  margin-top: 50px;
  margin-bottom: 50px;
}
.faq-item {
  border-top: 1px solid rgba(0,0,0,0.1);
}
.faq-item:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-answer p {
  margin-bottom: 0px;
}
.faq-answer ul {
  padding-left: 20px;
}
.faq-answer ul li {
  list-style: disc;
}
/* Cache la flèche moche par défaut du navigateur */
.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.faq-question::-webkit-details-marker {
  display: none; /* Pour Safari */
}
.faq-question h3 {
  font-size: 1.2rem;
}
/* Le contenu de la réponse est caché par défaut et s'affiche via <details> */
.faq-answer {
  padding-bottom: 20px;
  /* Optionnel : ajout d'une petite animation d'entrée */
/*  animation: fadeIn 0.4s ease-out;*/
}

.faq-icon::before  {
  font: normal normal normal 25px/1 FontAwesome;
  content: "\f107";
/*  position: absolute;
  top: 37%;
  transform: translateY(-50%);
  right: 0px;*/
  font-weight: 600;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transition: all 0.5s ease 0s;
  display: inline-block;
  color: #999;
}
.faq-question:hover .faq-icon::before,
.faq-item[open] .faq-icon::before  {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  color: #333;
}
.faq-answer.inline_loaded {
  outline: none;
}
/* -------------------------------------------------------------------------- */
/* fil d'ariane */
#nav_path span, ul#path1default {
  float: left;
  line-height: 100%;
  padding-left: 0;
  font-size: 13px;
}
ul#path1default li{
  display: block;
  float: left;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  margin: 0;
  padding: 0;
  line-height: 100%;
}
ul#path1default li a {
  color: var(--color-brand-red);
  transition: all 0.3s ease 0s;
  text-transform: uppercase;
}
ul#path1default li a span {
  font-family: 'Karla-Regular';

}
ul#path1default li a:hover{
  color: #000;
}
#path1default .item_node_selected:after {
  content: "/";
  padding: 0 3px;
  color: var(--color-brand-red);
}
#path1default .item_node_selected#last_li:after {
  content: none;
}

/* search */
.rechercher_gsite .loupe_searchmnu {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background-color: var(--bleu-glace);
  padding: 10px 12px;
  line-height: 100%;
  transition: all 0.3s ease 0s;
}
.rechercher_gsite .loupe_searchmnu:hover {

  background-color: var(--bleu-txt);
}
#searchmnu {
  position: absolute;
  bottom: -40px;
  right: 0;
}
.gs-search-box input[type="text"] {
  padding: 10px 10px 10px 40px !important;
  border: 1px solid var(--bleu-glace);
  border-radius: 0 0 4px 4px !important;
  line-height: 1 !important;
  width: 280px !important;
  max-width: 100%;
  box-sizing: border-box;
}
.gs-search-box .search-loop-ico {
  border: none;
  background-color: transparent;
}
/* -------------------------------------------------------------------------- */
/* formulaire contact */
#formmail_head {
  display: none;
}
#formmail_elements {
  border: none;
  color: var(--color-brand-red);
  background: none;
  margin: 0;
  padding: 0;
}
#formmail_elements label.formmail_notoblig, #formmail_elements label.formmail_oblig {
  float: none;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
  line-height: 1;
}
#formmail_form, #formmail_elements label.formmail_notoblig, #formmail_elements label.formmail_oblig {
  font-size: var(--font-size-body);
}

#formmail_form button, #formmail_form input, #formmail_form optgroup, #formmail_form select, #formmail_form textarea {
  width: 100%;
}
#formmail_footer {
  text-align: left;

}
#formmail_footer input#valid {
  margin-left: 0;
  width: auto;
  float: none;
}
#formmail_clear_field_1 {
  display: none;
}
#formmail_elements .formmail_normal, 
#formmail_elements .formmail_focus {
  background-color: #fff !important;
  border: none;
  padding: 15px 20px;
  width: 100%;
  font-size: 16px;
  border-radius: 25px;
  max-width: inherit;
}
.frm_type_select select {
    /* 1. On supprime le style par défaut du navigateur */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;

    /* 3. Ajout de la flèche personnalisée en image de fond */
    /* On utilise un SVG encodé pour que ce soit léger et net */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center; /* Positionne la flèche à droite */
    background-size: 14px;
}

/* Optionnel : Style au survol ou focus */
.frm_type_select select.formmail_focus {
    outline: none;
    background-size: 12px;
    /* L'astuce FontAwesome en SVG pour le chevron-up (Unicode \f106) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 448 512'%3E%3Cpath fill='%23333' stroke-width='3' d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E");
}
/* On stylise les éléments de la liste */
.frm_type_select select option {
    padding: 12px; /* Donne de l'air entre les lignes */
    font-family: sans-serif; /* Utilise une police plus moderne */
    background-color: #fff;
    color: #333;
    height: 40px;
}

#formmail_elements .frm_type_text {
  width: calc(50% - 30px);
  float: left;
  box-sizing: border-box;
  margin-right: 30px;
}
#formmail_elements p {
  margin-right: 30px;
}
.n2_37 .theme_MCB_book_rouge-top .custom_theme {
  background-color: var(--color-brand-anis);
}


/* --------------- */
/* Menu image */

.gs_menubox > div {
  margin-bottom: 30px;
}

.bg_img_mnu_col {
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: brightness(80%);
  transition: all 0.3s ease 0s;
}
.gs_menubox .txt_vignette_lien {
  text-align: left;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 100%;
  left: 50%;
  width: 70%;
  transition: all 0.3s ease 0s;
  text-align: left;
}
.gs_menubox .txt_vignette_lien:not(:has(p)) {
  text-align: center;
  /* align-items: center; si le conteneur est en flex */
}
.gs_menubox .txt_vignette_lien p.h3,
.gs_menubox .txt_vignette_lien p.h2,
.gs_menubox .txt_vignette_lien h2,
.gs_menubox .txt_vignette_lien h3 {
  color: var(--blanc);
  font-size: 30px;
  line-height: 120%;
  font-family: 'Karla-Regular';
}
.gs_menubox .txt_vignette_lien p {
  font-size: 20px;
  line-height: 125%;
  color: var(--blanc);
}
.gs_menubox a:hover .bg_img_mnu_col {
  filter: brightness(40%);

}
.gs_menubox a:hover .txt_vignette_lien {
  height: auto;
  overflow: inherit;
  clip: inherit;
  white-space: inherit;
}
.txt_vignette_lien_center .gs_menubox a:hover .txt_vignette_lien {

}
/* -------------------------------------------------------------------------- */
/*  themes section  */
.theme_list_sel {
  display: grid;
  grid-template-columns: repeat(3,minmax(200px,1fr));
}
.theme_list_sel label strong {
  font-size: 1.1rem;
  line-height: 110%;
  display: block;
}
.theme_file_name {
  font-size: 0.8rem;
  display: block;
  margin-top: 5px;
}
.sect_list > div > .preview-section,
.sect_list > div:hover > .preview-section {
  transform: scale(0.95) !important;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}
.sect_list > div:hover .section-use-exist, 
.sect_list > div:hover .parameters, 
.sect_list > div:hover .section-id,
.sect_list > div .section-use-exist, 
.sect_list > div .parameters, 
.sect_list > div .section-id {
  right: 50px !important;
}
.sect_list > div > .preview-section {
  background-color: #fff;
}
.preview-section.theme_CSM_light_blue .item-section,
.theme_list_sel .theme_CSM_blue_light > div {
  background-color: var(--teal-tint); 
}

.preview-section.theme_CSM_vague_bleue_top,
.theme_CSM_vague_bleue_top > div.custom_theme,
.theme_list_sel .theme_CSM_vague_bleue_top > div {
  position: relative;
/*  padding-top: calc(80 / 1920 * 100%); */
}
.preview-section.theme_CSM_vague_bleue_top::after,
.theme_CSM_vague_bleue_top > div.custom_theme::after,
.theme_list_sel .theme_CSM_vague_bleue_top > div::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  aspect-ratio: 1922 / 150;
  -webkit-mask-image: url('./images/vague_bleue.svg');
  mask-image: url('./images/vague_bleue.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #5BC4BD;
  transform: scaleY(-1);
}

.preview-section.theme_CSM_vague_bleue_bottom,
.theme_CSM_vague_bleue_bottom > div.custom_theme,
.theme_list_sel .theme_CSM_vague_bleue_bottom > div {
  position: relative;
/*  padding-bottom: calc(80 / 1920 * 100%); */
}
.preview-section.theme_CSM_vague_bleue_bottom::before,
.theme_CSM_vague_bleue_bottom > div.custom_theme::before,
.theme_list_sel .theme_CSM_vague_bleue_bottom > div::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  aspect-ratio: 1922 / 150;
  -webkit-mask-image: url('./images/vague_bleue.svg');
  mask-image: url('./images/vague_bleue.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: #5BC4BD;
}
/***/
.theme_list_sel .theme_MCB_book_vert_fonce-bottom,
.theme_list_sel .theme_MCB_book_vert_anis-bottom,
.theme_list_sel .theme_MCB_book_vert_anis-top,
.theme_list_sel .theme_MCB_book_rouge-top {
  background-color: #fff;
}
.theme_list_sel .theme_MCB_book_vert_fonce-bottom {
  color: var(--color-brand-anis);

}
.theme_list_sel .theme_default,
.theme_list_sel .theme_MCB_bg_vert_anis,
.theme_list_sel .theme_MCB_book_vert_anis-bottom,
.theme_list_sel .theme_MCB_book_vert_anis-top,
.theme_list_sel .theme_MCB_book_rouge-top {
  color: var(--color-brand-red);

}

.theme_list_sel .theme_MCB_bg_rouge {
  color: var(--color-brand-anis);
}

.theme_list_sel .theme_MCB_book_vert_anis-top > div,
.theme_list_sel .theme_MCB_book_rouge-top > div {
  margin-top: 24px;
  padding-top: 0;
  padding-bottom: 50px;
}
.theme_list_sel .theme_MCB_book_vert_fonce-bottom > div,
.theme_list_sel .theme_MCB_book_vert_anis-bottom > div {
  margin-bottom: 24px;
}
.theme_list_sel .theme_MCB_book_vert_anis-top > div::before,
.theme_list_sel .theme_MCB_book_rouge-top > div::before {
  top: -24px;
}


.sect_list > div .section-use-exist {
  bottom: 55px;
}
.sect_list > div .section-use-exist a {
  text-transform: uppercase;
  font-size: 15px;
  color: #fff;
  background-color: #642C67;
  text-decoration: none !important;
  border: 1px solid #642C67;
  transition: all 0.3s ease 0s;
  padding: 5px 10px;
  display: inline-block;
  box-shadow: 0 0 5px #999;
}
.sect_list > div .section-use-exist a:hover {
  background-color: #000;
  color: #fff;
}
.sect_list > div .section-id {
  color: #000;
  margin: 0px 8px;
  font-size: 18px;
}

/***/
@media only screen and (max-width: 767px) {

  .preview-section.theme_MCB_book_vert_anis-top::before,
  .theme_MCB_book_vert_anis-top > div.custom_theme {
/*    padding-top: calc(81 / 393 * 100%); /*/
  }
  .preview-section.theme_MCB_book_rouge-top::before,
  .theme_MCB_book_rouge-top > div.custom_theme: {
/*    padding-top: calc(81 / 393 * 100%); */

  }

  .preview-section.theme_MCB_book_vert_anis-top::before,
  .theme_MCB_book_vert_anis-top > div.custom_theme::before {
    aspect-ratio: 393 / 81;
    -webkit-mask-image: url('./images/MDC-book-footer_small.svg');
    mask-image: url('./images/MDC-book-footer_small.svg');
  }
  .gsi-col.col-float-right {
    float: none;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 10px;
    width: 100%;
  }
}
@media only screen and (max-width: 575px) {

}

/* --------------------------------------------- */
/*  Accessiblite -------------------- */
.skiplink {
  z-index: 99999;
  width: auto;
  height: auto;
  overflow: inherit;
  position: fixed;
  color: var(--color-black);
  background: var(--blanc);
}
/*.txt_vignette_lien,*/
#formmail_form .formmail_legende,
.photo-credit,
.sr-only,
.skiplink:not(:focus) {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ccgs_consent_btn.accept_all, 
.ccgs_consent_btn.refuse_all {
  background-color: var(--bleu-txt) !important;
  border: 1px solid var(--bleu-txt) !important;
  font-weight: normal;
  color: var(--blanc) !important;
}
.ccgs_consent_btn.accept_all {
  margin-left: 0;
}
.ccgs_consent_btn.accept.map_trk.accept_all.save_consent:hover:hover, 
.ccgs_consent_btn.accept.map_trk.save_consent.refuse_all:hover {
  background-color: var(--bleu-glace) !important;
  border: 1px solid var(--bleu-txt) !important;
}

.ccgs_banner.light {
  backdrop-filter: blur(15px);
  background-color: rgba(255,255,255,.8) !important;
  padding: 50px 0 !important;
}

.ccgs_wrapper_reduced {
  display: none;
}
.footer_legal .ccgs_wrapper_reduced {
  text-align: inherit !important;
  background-color: inherit !important;
  color: inherit !important;
  position: inherit !important;
  bottom: inherit !important;
  right: inherit !important;
  display: block !important;
}