/* Table of Content
==================================================
Variables
Header
General
Homepage
Service Page
Contact Page
Footer
Portfolio
Responsive general
Nexxone
Css Enhance Enfold
==================================================
*/

/*------------------------*/
/* Variables
/*------------------------*/
:root {
  --bg-monimage: url(/wp-content/uploads/);
  --main-radius: 20px;
  --shadow-1: 0px 20px 18px -9px rgb(0 0 0 / 24%);
  --shadow-2: 0px 30px 45px -20px rgba(0, 0, 0, 0.33);
  --fon-weight-1: 600;
  --fon-weight-2: 900;
  --font-1: "Futura W03 Book", sans-serif;
  --font-2: "centurygothic", sans-serif;
  --sm-border-raduis: 14px;
}

/*------------------------*/
/* Divers
/*------------------------*/
.nos-parutions {
  margin-bottom: 0px !important;
}
/*------------------------*/
/* GENERAL
/*------------------------*/
@font-face {
  font-family: "centurygothic";
  src: url("fonts/centurygothic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "centurygothic";
  src: url("fonts/centurygothic-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Futura W03 Book";
  src: url("fonts/futura-book.eot");
  src:
    url("fonts/futura-book.eot") format("eot"),
    url("fonts/futura-book.woff") format("woff"),
    url("fonts/futura-book.ttf") format("truetype");
}

.font-1,
.font-1 * {
  font-family: var(--font-1);
}
.font-lg,
.font-lg * {
  font-size: var(--font-size-xl) !important;
}

body {
  font-family: var(--font-2) !important;
}

/*------------------------*/
/* Homepage
/*------------------------*/
#header_main_alternate {
  display: none !important;
}
#footer-page {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 9999;
}
#footer-page .widget_nav_menu {
  padding-bottom: 0 !important;
}
#footer-area,
#footer-area .flex_column_table {
  min-height: unset !important;
  display: flex !important;
}
#footer-area .widget_nav_menu ul {
  display: flex;
  align-items: center;
  column-gap: 10px;
  justify-content: center;
}
#footer-area .widget_nav_menu li,
#footer-area .container {
  border: 0 !important;
}
#footer-area .flex_column {
  margin-bottom: 0 !important;
}

#footer-area .widget_nav_menu a {
  font-family: var(--font-1);
  font-size: clamp(10px, 3vw, 16px);
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff !important;
  padding: 10px 20px !important;
  display: block;
}
.video-bg video {
  object-fit: cover;
  max-height: calc(100% - 42px) !important;
  max-width: 100% !important;
}

.video-bg .flex_cell {
  padding: 0 !important;
}
#presentations .av-video-slide video {
  object-fit: cover;
  height: 100vh !important;
  top: unset !important;
}
.main-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.4;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.4s ease-in-out;
}
#main.active .main-title,
#main.hovered .hovered .main-title {
  opacity: 0;
}
.avia-section[aria-label] {
  position: relative;
}
/* #presentations ,
#presentations .flex_cell_inner  {
  height: 100vh !important;
  max-height: 100% !important;
} */
/* .responsive #top  #presentations .flex_cell   {
  height: 100% !important;
  padding: 0 !important;
} */

/* #main {
  height: 100vh;
 } */
.media-controls,
.media-controls .avia-icon-list {
  display: flex !important;
  align-items: center;
}
.media-controls .avia-icon-list-container {
  margin: 0 !important;
}
/* #presentations ,
#presentations .flex_cell_inner  {
  height: 100% !important;
}
 .responsive #top  #presentations .flex_cell   {
  height: 100% !important;
  padding: 0 !important;
}
.avia-video {
  height: calc(100% - 54px) !important;
  padding: 0 !important;
} */
@media only screen and (max-width: 767px) {
  .responsive .home #wrap_all .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .media-controls {
    position: absolute !important;
    bottom: 45px;
    background: #264554;
    width: auto !important;
    border-radius: 45px;
    left: 4px !important;
    padding: 4px 16px !important;
  }
}
@media (min-width: 990px) {
  .home #main {
    display: flex;
  }

  .home #main > .avia-section {
    width: 25%;
    transition: width 1.8s cubic-bezier(0.8, 0.8, 1, 1);
  }

  .home #main.hovered > .avia-section {
    width: 10% !important;
    transition: width 1.8s cubic-bezier(0.8, 0.8, 1, 1);
  }

  /* hovered section expands */
  .home
    #main.hovered
    > .avia-section.hovered:not(#main.active .avia-section.active) {
    width: 70% !important;
    transition: width 0.8s cubic-bezier(0.8, 0.8, 1, 1) !important;
  }

  /* .home #main.hovered:not(:hover) > .avia-section {
    transition-delay: 0.4s; /
  } */

  /* active state (clicked open) */
  #main.active > .avia-section:not(.avia-section.active) {
    width: 0 !important;
  }

  #main.active > .avia-section.active {
    width: 100% !important; /* for desktop */
    height: 100% !important; /* for mobile */
  }
}

/* @media (min-width: 990px) {
  .home #main {
    display: flex;
  }

  .home #main > .avia-section {
    width: 25%;
  }

  .home #main.hovered > .avia-section {
    width: 10% !important ;
  }
    #main.active > .avia-section:not(.avia-section.active) {
    width: 0 !important ;
  }
   .home #main.hovered > .avia-section.hovered:not(#main.active .avia-section.active) {
    width: 70% !important;
  }
  #main.active > .avia-section.active {
  width: 100% !important;   
  height: 100% !important;  
}
} */
#membres .image-overlay.overlay-type-extern .image-overlay-inside::before {
  content: "\e897" !important;
  font-size: 40px !important;
}
.responsive.html_header_sticky .av-logo-container .logo,
.responsive.html_header_sticky .av-logo-container .logo img {
  max-height: clamp(50px, 8vw, 80px) !important;
}
/*body .header_color .header_bg {
  background: var(--enfold-header-color-bg) !important;
}*/

.slide-image:has(.pum-trigger)::after {
  content: "\f16a";
  font-family: "entypo-fontello" !important;
  position: absolute;

  display: flex;
  align-items: center;
  justify-content: center;
  top: 15px;
  right: 10px;
  font-size: 50px !important;
  color: var(--enfold-main-color-primary) !important;
}

@media (max-width: 989px) {
  .media-controls {
    max-width: 120px !important;
  }
  .hidden-md {
    display: none !important;
  }

  #top #main .avia-section .content:not(footer .content) {
    padding-block: clamp(90px, 10vw, 120px) !important;
  }
  /*  .home #main {
    display: flex;
    flex-direction: column;
    height: 100% !important ;
  }

  
.home #main > .avia-section {
    display: table-cell;
  }
.home #main > .avia-section {
  height: 25%;}
.home #main.active  > .avia-section {
  height: 0 !important;}
.home #main.active  > .avia-section.active {
    height: 100% !important;
}

#main.active > .avia-section.active {
    display: table-cell !important;
    overflow: scroll;
  }

} */

  .home #main {
    /* height: 100vh !important ;*/
  }
  .home #main > .avia-section {
    height: 22vh;
    overflow: hidden;
  }
  .home #main.active > .avia-section.active {
    display: table-cell;
    height: 100% !important;
  }
  .home #main.active > .avia-section {
    height: 0 !important;
  }
  .home #main.active > .avia-section {
    display: none;
    height: 0 !important;
  }
}
/* .home #main.hovered > .avia-section.hovered {
  overflow: visible !important;
  position: relative;
  z-index: 9999;
} */

/* .home #main.hovered > .avia-section.hovered {
 transition: width 1s cubic-bezier(0.8, 0.8, 1, 1) !important;
}
.home #main > .avia-section {
  transition: width 1s cubic-bezier(0.8, 0.8, 1, 1);
} */
.home .av-section-video-bg video {
  left: 50% !important;
  transform: translateX(-50%);
}
.home #main > .avia-section .post-entry {
  display: none;
}
.home #main > .avia-section .flex_column_table > .flex_column {
  padding: clamp(20px, 4vw, 30px) !important;
}
.home #main .avia-section .slide-entry.post-entry {
  padding: 15px !important;
}
.home #main.active > .avia-section.active .post-entry,
.home #main.hovered > .avia-section.hovered .post-entry {
  display: table-cell !important;
  /* display: block !important; */
}

.home #main.hovered > .avia-section .post-entry {
  display: none !important;
}
#footer-area .avia-button.avia-size-large {
  min-width: auto !important;
}
@media (max-width: 479px) {
  .hidden-xs {
    display: none !important;
  }
}
#media-pause {
  margin: 0 !important;
  display: none;
}
#media-play {
  margin: 0 !important;
  display: flex !important;
  height: 100% !important;
}
/* When active, force full screen */

@media only screen and (max-width: 767px) {
  .responsive #top:not(.home) #main {
    padding-top: 100px !important;
    margin: 0;
  }
}

#presentations iframe {
  width: 100vw !important;
  height: 100vh !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
@media only screen and (min-width: 767px) {
  /* #presentations iframe {
      height: calc(100vh - 56px) !important;
      left: 50% !important;
      top: calc(50% - 15px) !important;
      transform: translate(-50%, -50%) !important;
  }*/
}
/* #presentations iframe {
 width: 100% !important;
 height: 100% !important;
 left: 50% !important;
 top: 50% !important;
 transform: translate(-50%, -50%) !important;
 object-fit: cover;
} */
/* ---------- FULLSCREEN (click) ---------- */
/* Desktop */
@media (min-width: 990px) {
  /* shrink all others to zero and expand the active one to full width */
  #main.full > .avia-section:not(.active) {
    width: 0% !important;
    transition: width 1s cubic-bezier(0.8, 0.8, 1, 1) !important;
    overflow: hidden;
  }

  #main.full > .avia-section.active {
    width: 100% !important;
    transition: width 1s cubic-bezier(0.8, 0.8, 1, 1) !important;
    height: auto !important;
    z-index: 9999;
    position: relative;
  }
  .av-special-heading,
  .av_textblock_section {
    min-width: 300px;
  }
}

.home #main > .avia-section .post-entry {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
  -webkit-animation-duration: 0.8s;
  animation-duration: 0.8s;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  transform-origin: center center;
  will-change: transform, opacity;
}
@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

#top article.slide-entry {
  background: var(--enfold-alternate-color-bg) !important;
  border-radius: 24px !important;
}
#top .avia-content-slider .slide-content * {
  color: #fff !important;
  font-size: clamp(15px, 2vw, 20px) !important;
  line-height: 1.2 !important;
  padding-block: 4px !important;
}
#top .avia-content-slider .slide-image {
  border-radius: 20px !important;
  background: none;
}
#top .avia-content-slider .avia-slideshow-arrows a {
  top: 50% !important;
}
#top .avia-content-slider-inner .hidden {
  display: none !important;
}
#top .avia-content-slider-inner {
  height: unset !important;
}
#contact .full-form p {
  padding: unset !important;
}
#contact .full-form > div {
  margin-block: unset !important;
}
#contact .full-form .avia-button {
  width: 100% !important;
  border: 2px solid #fff !important;
}
#contact .form-footer .wpcf7-spinner {
  display: none;
}
#contact .contact-heading .av-special-heading-tag {
  font-size: clamp(25px, 4vw, 35px) !important;
  line-height: 1.4 !important;
}
#contact .contact-heading .av-subheading {
  font-size: clamp(15px, 4vw, 16px) !important;
  line-height: 1.4 !important;
  text-transform: capitalize;
}

@media (max-width: 468px) {
  #contact {
    background-size: 110% !important;
    background-position: 100% 10%;
  }
  #contact.active {
    background-size: cover !important;
    background-position: 50% 50% !important;
  }
}
.media-player .avia-button {
  background: transparent !important;
  border: 0 !important;
}
/* .home #main > .avia-section {
  height: 100vh;
  overflow: scroll;
} */
/* .home #main > .avia-section {
 transition: width 0.8s ease !important;
} */
.home #main > .avia-section .container {
  padding: 2% 4% !important;
}
/* .home #main > .avia-section iframe {
  width: 100% !important;
} */
.media-player .avia-button {
  padding: 4px !important;
  text-transform: uppercase;
  text-align: left;
}
.media-player {
  display: flex !important;
  align-items: center;
}

#top .fullsize .template-blog .post .entry-content-wrapper,
#top .fullsize .template-blog .post .entry-content-wrapper > * {
  width: 100% !important;
  max-width: 100% !important;
}
.template-blog .big-preview.single-big {
  display: none !important;
}
.mix-cloud-playlist {
  max-height: 200px !important;
}

#playlist .avia-content-slider {
  margin: 10px 0 !important;
}
.av_minimal_header_shadow.av_header_transparency::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #000, transparent);
  z-index: 1;
  height: clamp(120px, 10vw, 300px) !important;
  pointer-events: none;
}
.av_minimal_header_shadow.av_header_transparency {
  box-shadow: none !important;
}
#header {
  position: relative;
  z-index: 99999;
  padding-block: 20px;
}

#main .light-bg {
  background: rgba(234, 234, 234, 0.85) !important;
}
#main .border-raduis,
#main .img-raduis img {
  border-radius: 14px !important;
}

#membres .team-member-name {
  font-family: var(--font-1);
  font-size: var(--font-size-md) !important;
  font-weight: 500;
}

.header_color .header_bg {
  background: transparent !important;
}

/*Contact*/
#playlist .post-entry,
#contact .post-entry,
#membres .post-entry {
  background: rgba(234, 234, 234, 0.85) !important;
  border-radius: 14px !important;
}
#contact p {
  padding-bottom: 20px !important;
}
#contact .iconbox_content_title {
  font-size: clamp(14px, 2vw, 16px) !important;
  line-height: 1.2 !important;
}
#contact .iconbox {
  margin: 0 !important;
}
#main * {
  font-family: var(--font-1);
}
/* #membres.hovered .post-entry {
  padding: 4% !important;
} */
/***/
#playlist iframe,
.favorie-list iframe {
  border-radius: 10px !important;
  overflow: hidden;
}
.sm-border-raduis,
.sm-border-raduis img {
  border-radius: var(--sm-border-raduis) !important;
  overflow: hidden !important;
}
.regular-heading .av-special-heading {
  margin-block: 40px 10px !important ;
}
.regular-heading .av-special-heading-tag {
  font-size: clamp(10px, 2vw, 24px) !important;
}
.favorie-list {
  max-height: 200px !important;
  overflow: scroll;
}
.scroll-down {
  margin-top: 20px !important;
  text-transform: uppercase !important;
}

#membres .avia-team-member {
  background: #8b2945 !important;
  border-radius: 14px !important;
  padding: 10px !important;
}

#membres .team-img-container {
  border-radius: 10px !important;
}
#membres .flex_column_table.av-equal-height-column-flextable {
  margin-top: 0px !important;
}

#main > .avia-section .slide-entry .slide-meta {
  display: none !important;
}
#top .avia-content-slider .read-more-link {
  background: #fff !important;
  border-radius: 14px;
  text-align: center;
}

#top .avia-content-slider .read-more-link a {
  color: #264554 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
#main .av-subheading {
  text-transform: capitalize !important;
}
#top .avia-content-slider .read-more-link span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.video-content {
  position: relative;
  background: #000;
  padding: 10px;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
}
.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #000;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 8px;
}
iframe,
video {
  max-width: 80vw;
  max-height: 70vh;
}
.mfp-wrap.mfp-gallery.avia-popup.mfp-ready {
  z-index: 9999999 !important;
}
/*------------------------*/
/* Contact Page
/*------------------------*/

/*Maps*/

/* --- 1. La colonne #maps sert de référence et n'a pas de marges internes --- */
#maps {
  position: relative;
  padding: 0 !important;
}

/* --- 2. Le premier conteneur de la carte se positionne en absolu --- */
/* Il remplit entièrement son parent (#maps) */
#maps .av_gmaps_sc_main_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- 3. (LA CLÉ) On force TOUS les enfants à hériter de la hauteur --- */
/* C'est la règle qui manquait pour résoudre le problème. */
/* Elle dit : "tous les conteneurs à l'intérieur du wrapper de la carte 
   doivent aussi prendre 100% de la hauteur disponible" */
#maps .av_gmaps_sc_main_wrap > div {
  height: 100% !important;
}

/*Formulaire*/
#top .main_color .input-text,
#top .main_color input[type="text"],
#top .main_color input[type="input"],
#top .main_color input[type="password"],
#top .main_color input[type="email"],
#top .main_color input[type="number"],
#top .main_color input[type="url"],
#top .main_color input[type="tel"],
#top .main_color input[type="search"],
#top .main_color textarea,
#top .main_color select {
  color: #264554 !important;
  opacity: 1 !important;
}

#top .main_color .full-form textarea[name="message"]::placeholder,
#top .main_color input[name="email"]::placeholder,
#top .main_color input[name="tel-principal"]::placeholder,
#top .main_color input[name="nom"]::placeholder {
  color: #264554 !important;
  opacity: 1;
}

.obligatoires small {
  color: #ffffff;
}

form .full-form [placeholder],
form .full-form input[placeholder] {
  background: transparent !important;
  padding-inline: 0 !important;
  border: 1px solid #264554 !important;
  padding-inline: 20px !important;
  border-radius: 8px !important;
}

#top .full-form button:hover {
  background-color: transparent !important;
  color: #ffffff;
}
.full-form > div {
  padding-inline: 10px !important;
}
.full-form > div.tier {
  margin-block: 20px !important;
}

.full-form input::placeholder {
  color: #fff !important;
  font-size: var(--font-size-base) !important;
}

.inline-form > div.col-2 {
  width: calc(28% - 10px);
}

.full-form [data-name="RGPD"] * {
  color: var(--enfold-main-color-primary) !important;
  display: inline;
  vertical-align: middle;
}
.full-form.contact-form [data-name="RGPD"] * {
  color: var(--enfold-alternate-color-primary) !important;
}
.full-form [name="RGPD"] {
  display: inline-block !important;
  width: 20px !important;
}

.full-form button sapn {
  transform: skew(20deg) !important;
  display: inline-block !important;
}
.full-form button {
  transform: skew(-20deg) !important;
}
.av-subheading {
  text-transform: uppercase;
}

/*------------------------*/
/* Footer
/*------------------------*/

.media-player header {
  display: flex;
  align-items: center;
}
.media-player .iconbox_content_title {
  margin-block: 0 !important;
}
.media-player .iconbox_icon {
  top: unset !important;
}
.media-player * {
  color: #fff !important;
}
#footer-area .container {
  width: 100% !important;
  padding: 0 !important;
  max-width: 100% !important;
}

.media-player .iconbox_content_title {
  border-left: 1px solid #fff !important;
  padding-left: 15px !important;
}
/* Mobile Fixed Footer Styling */
.fixed-footer {
  display: none; /* Masqué par défaut, on l'affichera avec une media query */
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(
    --enfold-footer-color-bg
  ); /* Utiliser la variable d'Enfold pour le background */
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

.fixed-footer .footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(
    --enfold-footer-color-primary
  ); /* Utiliser la variable d'Enfold pour la couleur du texte */
  font-weight: 900;
  font-size: 1rem;
}

.footer-item a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex; /* Important pour aligner le texte et l'icône */
  flex-direction: column;
  align-items: center;
}

.footer-item a .icon-wrapper {
  margin-bottom: 5px; /* Espacement entre l'icône et le texte */
}

.footer-item a .icon-wrapper i {
  font-family: "entypo-fontello";
  font-size: 1.3rem;
  display: block;
}

/* Icônes spécifiques */
.fixed-footer li:nth-child(1) .footer-item a .icon-wrapper i::before {
  content: "\e805";
} /* Icône email */
.fixed-footer li:nth-child(2) .footer-item a .icon-wrapper i::before {
  content: "\e8ac";
} /* Icône téléphone */

/* Media query pour afficher le menu mobile uniquement sur les petits écrans */
@media (max-width: 989px) {
  .fixed-footer {
    display: flex; /* Affiche le footer en dessous de 989px */
  }
}

/* Styles supplémentaires pour le menu */
.fixed-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  width: 100%; /* Prend toute la largeur disponible */
}

.fixed-footer li {
  text-align: center;
}

/*------------------------*/
/* Responsive
/*------------------------*/
.responsive #top #wrap_all .main_menu {
  display: none;
}
.responsive #top .logo {
  display: flex;
  justify-content: center;
  width: 100% !important;
}
.responsive .av_header_transparency {
  background: none !important;
}
.responsive.html_header_sticky #header {
  position: fixed !important;
}
/*------------------------*/
/* NEXXONE
/*------------------------*/

.page_seo-template-default h2.title-presta {
  font-size: var(--font-size-base) !important;
}

.page_seo-template-default p {
  font-size: var(--font-size-base) !important;
}

#top.single-page_seo .avia-section.main_color:nth-child(odd) *:not(strong, a) {
  color: var(--enfold-main-color-bg);
}

.carte-google {
  border-radius: var(--sm-border-raduis) !important;
  overflow: hidden;
  display: block;
  width: 100%;
}

#top .encart.light {
  background-color: var(--enfold-main-color-bg);
}

#top .encart {
  padding: 5%;
}

/*Alternate color*/
/*Text*/
#top .alt {
  color: white;
}

/*Heading*/
.page_seo_modele-template-default .encart :is(h1, h2, h3, h4, h5, h6),
.single-page_seo .encart :is(h1, h2, h3, h4, h5, h6) {
  color: white;
}

.page_seo_modele-template-default .light :is(h1, h2, h3, h4, h5, h6),
.single-page_seo .light :is(h1, h2, h3, h4, h5, h6) {
  color: black;
}

#wp_seo_wins_widget-2 a,
#wp_seo_wins_widget-3 a {
  color: var(--enfold-main-color-color);
}

#wp_seo_wins_widget-2 a:hover,
#wp_seo_wins_widget-3 a:hover {
  color: var(--enfold-main-color-primary);
}

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

/*------------------------*/
/* CSS ENHANCE ENFOLD
/*------------------------*/

#top .container_wrap {
  border-top-width: 0;
}

/* Fluid font size variables, for browsers that support clamp */
@supports (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --font-size-sm: clamp(0.7rem, 0.09vw + 0.68rem, 0.75rem);
    --font-size-base: clamp(0.88rem, 0.23vw + 0.82rem, 1rem);
    --font-size-md: clamp(1.09rem, 0.43vw + 0.98rem, 1.33rem);
    --font-size-lg: clamp(1.37rem, 0.74vw + 1.18rem, 1.78rem);
    --font-size-xl: clamp(1.71rem, 1.2vw + 1.41rem, 2.37rem);
    --font-size-xxl: clamp(2.14rem, 1.86vw + 1.67rem, 3.16rem);
    --font-size-xxxl: clamp(2.67rem, 2.8vw + 1.97rem, 4.21rem);
  }
}

/* Fallback variables for browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --font-size-sm: 0.7rem;
    --font-size-base: 0.88rem;
    --font-size-md: 1.09rem;
    --font-size-lg: 1.37rem;
    --font-size-xl: 1.71rem;
    --font-size-xxl: 2.14rem;
    --font-size-xxxl: 2.67rem;
  }

  @media screen and (min-width: 1280px) {
    :root {
      --font-size-sm: 0.75rem;
      --font-size-base: 1rem;
      --font-size-md: 1.33rem;
      --font-size-lg: 1.78rem;
      --font-size-xl: 2.37rem;
      --font-size-xxl: 3.16rem;
      --font-size-xxxl: 4.21rem;
    }
  }
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: 300;
  vertical-align: baseline;
}

#top h1,
#top h2,
#top h3,
#top h4,
#top h5,
#top h6,
#top .avia-animated-number-title,
#top .widgettitle,
.html_elegant-blog #top .post-entry .post-title,
.html_elegant-blog .avia-content-slider .slide-entry-title {
  text-transform: unset;
  letter-spacing: 1;
  -webkit-font-smoothing: antialiased;
}

#top h1,
.html_elegant-blog #top .post-entry .post-title,
.html_elegant-blog .avia-content-slider .slide-entry-title,
#top .avia-fullscreen-slider .avia-caption-title {
  font-size: var(--font-size-xl);
  line-height: 1.5em;
  font-weight: 600;
}

#top h2,
#top .eui-widget-title {
  font-size: var(--font-size-xl);
  line-height: 1.3em;
}

#top h3 {
  font-size: var(--font-size-lg);
  line-height: 1.2em;
}

#top h4 {
  font-size: var(--font-size-lg);
}

#top h5 {
  font-size: var(--font-size-base);
}

#top .eui-widget-title {
  font-weight: normal;
  margin-bottom: 15px;
}

.av-subheading {
  font-size: var(--font-size-md);
}
#top #wrap_all .av-special-heading .av-special-heading-tag {
  padding-inline: 0 !important;
}
#top .avia-featureimage-slideshow h2.avia-caption-title {
  font-size: var(--font-size-lg);
}

#top div .avia-gallery img {
  border-style: solid;
  border-width: 0px;
  padding: 15px;
  width: 100%;
  border-radius: 0;
}

#top .avia_image,
#top .avia-slideshow li img {
  border-radius: 0;
}

#top .avia_image {
  border-radius: 0;
}

#top .avia-gallery .avia-gallery-thumb a:hover {
  opacity: 1;
}

#top .portrait .avia_image {
  width: 100%;
}

.grecaptcha-badge {
  display: none;
}

/*Correction formulaire de contact*/
/*Amelioration formulaire*/

#top .main_color .input-text,
#top .main_color input[type="text"],
#top .main_color input[type="input"],
#top .main_color input[type="password"],
#top .main_color input[type="email"],
#top .main_color input[type="number"],
#top .main_color input[type="url"],
#top .main_color input[type="tel"],
#top .main_color input[type="search"],
#top .main_color textarea,
#top .main_color select {
  background-color: var(--enfold-main-color-bg);
}

/*Replace grey color navigator default color for place holder in form*/
::-webkit-input-placeholder {
  color: var(--enfold-main-color-color) !important;
}
::-moz-placeholder {
  color: var(--enfold-main-color-color) !important;
  opacity: 1 !important;
}
:-ms-input-placeholder {
  color: var(--enfold-main-color-color) !important;
}
:-moz-placeholder {
  color: var(--enfold-main-color-color) !important;
}

#top .main_color .input-text,
#top .main_color input[type="text"],
#top .main_color input[type="input"],
#top .main_color input[type="password"],
#top .main_color input[type="email"],
#top .main_color input[type="number"],
#top .main_color input[type="url"],
#top .main_color input[type="tel"],
#top .main_color input[type="search"],
#top .main_color textarea,
#top .main_color select {
  /*border-color: rgba(255,255,255,0.1);
                    background-color: rgba(0,0,0,0.33);
                    color: #ffffff;*/
}

#top .alternate_color .input-text,
#top .alternate_color input[type="text"],
#top .alternate_color input[type="input"],
#top .alternate_color input[type="password"],
#top .alternate_color input[type="email"],
#top .alternate_color input[type="number"],
#top .alternate_color input[type="url"],
#top .alternate_color input[type="tel"],
#top .alternate_color input[type="search"],
#top .alternate_color textarea,
#top .alternate_color select {
  /* border-color: rgba(255, 255, 255, 0.35) !important;
              background-color: rgba(0, 0, 0, 0);
              color: #ffffff;*/
}

#top .main_color input::placeholder,
#top .main_color textarea::placeholder {
  /*  color: rgba(255,255,255,0.75);*/
}

#top .input-text,
#top input[type="text"],
#top input[type="input"],
#top input[type="password"],
#top input[type="email"],
#top input[type="number"],
#top input[type="url"],
#top input[type="tel"],
#top input[type="search"],
#top textarea,
#top select,
#top form {
  margin-bottom: 0px;
}

.full-form .input-text,
.full-form input[type="text"],
.full-form input[type="input"],
.full-form input[type="password"],
.full-form input[type="email"],
.full-form input[type="number"],
.full-form input[type="url"],
.full-form input[type="tel"],
.full-form input[type="search"],
.full-form textarea,
.full-form select,
.full-form input[type="date"],
p.wysija-paragraph input[type="text"].wysija-input {
  font-size: 1.1em !important;
  font-weight: normal !important;
  padding: 15px 15px !important;
  border-radius: 0 !important;
  font-family: var(--body-font);
}

/* Pour les options du select */
.full-form span {
  font-size: 13px !important;
}

#top label span,
#top legend span {
  font-weight: 100;
  font-size: var(--font-size-sm);
  width: calc(100% - 30px);
  line-height: 1.65em;
  margin: -4px 0 0 0px;
  padding-left: 10px;
}

#top .full-form p {
  margin: 0 0 10px 0;
}

#top .full-form .wpcf7-form-control-wrap .wpcf7-list-item {
  margin: 0;
}

#top .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 0.6em;
  font-weight: 500;
  display: block;
  text-transform: uppercase;
  line-height: 1.15em;
  margin-top: 10px;
}

#top .input-text,
#top input[type="text"],
#top input[type="input"],
#top input[type="password"],
#top input[type="email"],
#top input[type="number"],
#top input[type="url"],
#top input[type="tel"],
#top input[type="search"],
#top textarea,
#top select,
#top div form .form-row input.input-text,
#top div #content .form-row input.input-text,
#top div form .form-row textarea,
#top div #content .form-row textarea {
  font-family: var(--body-font);
  padding: 10px 20px;
}

.full-form .input-text::placeholder,
.full-form input[type="text"]::placeholder,
.full-form input[type="input"]::placeholder,
.full-form input[type="password"]::placeholder,
.full-form input[type="email"]::placeholder,
.full-form input[type="number"]::placeholder,
.full-form input[type="url"]::placeholder,
.full-form input[type="tel"]::placeholder,
.full-form input[type="search"]::placeholder,
.full-form textarea::placeholder,
.full-form select::placeholder,
.full-form input[type="date"]::placeholder,
p.wysija-paragraph input[type="text"].wysija-input::placeholder {
  font-size: 0.85rem;
}

.full-form input[type="date"] {
  padding: 6px !important;
}

.full-form {
  --gap: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: calc(-1 * var(--gap)) 0 0 calc(-1 * var(--gap));
  width: calc(100% + var(--gap));
}

.full-form > div {
  width: unset;
  height: unset;
  margin: var(--gap) 0 0 var(--gap);
}

.full-form .plein {
  width: 100%;
}

.full-form .demi {
  width: calc(50% - var(--gap));
}

.full-form .tier {
  width: calc(33% - var(--gap));
}

.script_ref {
  height: 0;
  display: none;
}

.wpcf7 form .wpcf7-response-output {
  display: inline-flex;
  font-size: var(--font-size-sm);
  width: 100%;
  margin: 0 0 30px 0;
}

@media only screen and (max-width: 990px) {
  .full-form .input-text,
  .full-form input[type="text"],
  .full-form input[type="input"],
  .full-form input[type="password"],
  .full-form input[type="email"],
  .full-form input[type="number"],
  .full-form input[type="url"],
  .full-form input[type="tel"],
  .full-form input[type="search"],
  .full-form textarea,
  .full-form select,
  .full-form input[type="date"],
  p.wysija-paragraph input[type="text"].wysija-input {
    font-size: 1em !important;
  }

  .full-form .plein,
  .full-form .demi,
  .full-form .tier {
    width: 100%;
  }
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
}

input[type="checkbox"] {
  -border-radius: 4px;
  height: 20px;
  width: 20px;
  background: #fff;
  border: 2px solid #000;
}

input[type="checkbox"]:checked {
  background: #9dfc9d;
  margin: 0px;
  position: relative;
  &:before {
    content: "\e812";
    font-family: "entypo-fontello";
    display: block;
    color: black;
    font-size: 18px;
    position: absolute;
    left: 2px;
  }
}

.wpcf7-acceptance .wpcf7-list-item {
  display: block;
}

.wpcf7-acceptance span {
  font-size: 16px !important;
  font-weight: 400 !important;
}

/*Correction cookies notice*/

#scroll-top-link,
#av-cookie-consent-badge {
  background-color: #2c2c2c;
  background-position: center center;
}

#scroll-top-link,
#av-cookie-consent-badge {
  color: #fff;
  border: 0px solid;
}

#scroll-top-link:hover,
#av-cookie-consent-badge:hover {
  border: 0;
}

#av-cookie-consent-badge,
#scroll-top-link {
  border-radius: var(--big-radius);
  height: 50px;
  width: 50px;
  line-height: 50px;
  font-size: 18px;
}

#av-cookie-consent-badge:before {
  font-size: 18px;
}

#av-cookie-consent-badge.av-consent-badge-left-bottom {
  bottom: 30px;
  left: 30px;
}

#scroll-top-link {
  bottom: 30px;
  right: 80px;
}

@media only screen and (max-width: 990px) {
  #scroll-top-link {
    right: 100px;
  }
}

.avia-popup .av-inline-modal.avia-hide-popup-close .mfp-close {
  display: block;
}

.avia-cookie-consent {
  background-color: #fff;
  color: #000;
  padding: 30px;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 10px 80px -30px rgba(0, 0, 0, 0.45);
}

.avia-cookie-consent:before {
  font-family: "entypo-fontello";
  content: "\e824";
  font-size: 100px;
  opacity: 0.25;
  position: absolute;
  bottom: 0;
  right: 0;
}

.avia-cookie-consent p {
  font-size: 0.85rem;
  letter-spacing: 0;
  line-height: 1.45em;
}

.avia-cookie-consent .avia-cookie-consent-button,
.avia-popup .avia-cookie-consent-button {
  background-color: #fff;
  border: 2px solid #000;
  font-size: 11px !important;
  color: #000;
  padding: 10px 15px;
  margin: 10px 10px 10px 0;
  float: left;
  box-shadow: 0 30px 120px -30px #000;
}

.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-hide-notification,
.avia-popup .avia-cookie-consent-button.avia-cookie-hide-notification {
  background-color: #fff;
  color: var(--main-color);
  border-color: var(--main-color);
  margin-right: 10px;
}

.avia-cookie-consent .avia-cookie-consent-button.av-extra-cookie-btn,
.avia-popup .avia-cookie-consent-button.av-extra-cookie-btn {
  color: #000;
  background-color: transparent;
  border-color: #000;
}

#top ul.social_bookmarks {
  height: 50px;
  width: fit-content;
}

#top #footer ul.social_bookmarks {
  margin: 7px auto;
}

#top nav .social_bookmarks {
  top: 50%;
  margin-top: unset;
  transform: translateY(-50%);
}

#top .social_bookmarks li {
  width: 50px;
  margin: 0;
  clear: unset;
  border-color: rgba(0, 0, 0, 0.25);
}

#top .footer_color .social_bookmarks li {
  border-color: rgba(255, 255, 255, 0.25);
}

#top .social_bookmarks li:last-of-type {
  border-right-width: 0;
}

#top .social_bookmarks li a {
  width: 50px;
  line-height: 46px;
  min-height: 50px;
  font-size: 40px;
  text-decoration: unset;
}

#top
  #footer
  .av-social-sharing-box.av-social-sharing-box-same-width
  .av-share-box
  ul
  li
  a {
  line-height: 55px;
  font-size: 19px;
  padding: 0;
}

/* Amelioration Socket */

footer .container {
  border-top: 1px solid #aaaaaa;
}

#socket {
  font-weight: normal;
  font-size: var(--font-size-sm);
}
.arrondi-equipe {
  border-radius: 15px 0px 0px 15px;
}
.nos-parutions {
    border-radius: 0px 15px 15px 0px;
  }
.avia_desktop .av-slideshow-ui .avia-slideshow-controls a,
.avia_desktop .av_slideshow.avia-slideshow .avia-slideshow-controls a,
.avia_desktop .av-slideshow-ui.av-nav-arrows-visible .avia-slideshow-arrows a {
  opacity: 0.9;
  background-color: #264554 !important;
}
ul#menu-main-menu li:first-child a{
  font-size: 18px;
  line-height: 0px;
  padding: 12px 10px !important;
}

.wp-singular .header_color .header_bg {
  background: linear-gradient(to bottom, #060606, #11101000) !important;
}
#contact .full-form .plein input::placeholder{
  color: #264554 !important;
}
#contact .full-form>div{
  padding-left: 0px !important;
}
@media only screen and (max-width: 990px) {
  footer .container {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
  }

  #socket .menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    align-content: center;
  }

  #socket {
    padding-bottom: 100px;
  }
}

@media only screen and (max-width: 768px) {
  /*#presentations .av-click-overlay {
    display: none;
  }*/

  /*#presentations .container.av-section-cont-open {
    content: none !important;
    display: none;
  }*/
  .arrondi-equipe {
    border-radius: 15px 15px 0px 0px;
  }
  .nos-parutions {
    border-radius: 0px 0px 15px 15px !important;
  }

  #presentations .av-section-video-bg::after {
    content: unset !important;
  }
  #presentations iframe {
    width: 100vw !important;
  }
}

@media only screen and (max-width: 543px) {
  #footer-area .widget_nav_menu a {
    padding: 10px 15px !important;
  }
  .responsive #top #wrap_all .flex_column.av_one_fifth {
    margin-bottom: 18px !important;
  }
}

@media only screen and (max-width: 468px) {
  ul#menu-main-menu li:first-child a{
    padding: 2px !important;
  }
  #playlist  .text-aria.main-title{
    text-align: center;
  }
}
