#page-container,
#main-content,
.arx_has_sticky_div,
.arx_has_sticky_div div {
  overflow-x: unset !important;
  overflow-y: unset !important;
}
html {
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

@media (max-width: 950px) {
  #page-container {
    overflow-x: hidden !important;
  }
}
.grecaptcha-badge {
  right: -500px !important;
}

#mobile_menu_spacer {
  height: 0;
  background-color: transparent !important;
}

/* RESPONSIVE FORM */

.arx-contact-form {
  --arx-error: #b42318;
  --arx-success: #247447;

  display: flex;
  flex-direction: column;
  width: 100%;
  color: #000000;
  font-family: inherit;
  box-sizing: border-box;
}

.arx-contact-form *,
.arx-contact-form *::before,
.arx-contact-form *::after {
  box-sizing: border-box;
}

/* Masque les éventuels BR ajoutés par CF7 */

.arx-contact-form br {
  display: none;
}

/* ==================================================
   LIGNES EN DEUX COLONNES
   ================================================== */

.arx-contact-form .arx-form-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.arx-contact-form .arx-form-row > .arx-form-field {
  flex: 1 1 0;
  min-width: 0;
}

/* ==================================================
   CHAMPS ET LABELS
   ================================================== */

.arx-contact-form .arx-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  margin-bottom: 20px;
}

.arx-contact-form .arx-form-field label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.arx-contact-form .arx-form-field label span {
  color: #000000;
}

.arx-contact-form .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ==================================================
   INPUTS ET TEXTAREA
   ================================================== */

.arx-contact-form input[type="text"],
.arx-contact-form input[type="email"],
.arx-contact-form input[type="tel"],
.arx-contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  outline: none;
  background-color: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: none;
  appearance: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.arx-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

/* Placeholders */

.arx-contact-form input::placeholder,
.arx-contact-form textarea::placeholder {
  color: #808a9d;
  opacity: 1;
}

/* Survol */

.arx-contact-form input[type="text"]:hover,
.arx-contact-form input[type="email"]:hover,
.arx-contact-form input[type="tel"]:hover,
.arx-contact-form textarea:hover {
  border-color: #aab2c0;
}

/* Focus */

.arx-contact-form input[type="text"]:focus,
.arx-contact-form input[type="email"]:focus,
.arx-contact-form input[type="tel"]:focus,
.arx-contact-form textarea:focus {
  border-color: #000000;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(35, 71, 134, 0.12);
}

/* ==================================================
   CONSENTEMENT
   ================================================== */

.arx-contact-form .arx-form-consent {
  display: flex;
  width: 100%;
  margin: 2px 0 24px;
  padding: 16px 18px;
  border-radius: 6px;
  background-color: #ffffff;
}

.arx-contact-form .wpcf7-acceptance {
  display: flex;
  width: 100%;
}

.arx-contact-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  width: 100%;
  margin: 0;
}

.arx-contact-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  color: #536078;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  cursor: pointer;
}

.arx-contact-form .wpcf7-acceptance .wpcf7-list-item-label {
  flex: 1 1 auto;
}

.arx-contact-form .wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #000000;
  cursor: pointer;
}

.arx-contact-form .arx-form-consent a {
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.arx-contact-form .arx-form-consent a:hover {
  color: #000000;
}

/* ==================================================
   BAS DU FORMULAIRE
   ================================================== */

.arx-contact-form .arx-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.arx-contact-form .arx-form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.arx-contact-form .arx-form-required {
  margin: 0;
  color: #737e91;
  font-size: 12px;
  line-height: 1.4;
}

/* ==================================================
   BOUTON
   ================================================== */

.arx-contact-form .arx-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  margin: 0;
  padding: 14px 28px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background-color: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  appearance: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.arx-contact-form .arx-submit:hover {
  border-color: #000000;
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 33, 72, 0.16);
}

.arx-contact-form .arx-submit:focus-visible {
  outline: 3px solid rgba(35, 71, 134, 0.25);
  outline-offset: 3px;
}

.arx-contact-form .arx-submit:active {
  transform: translateY(0);
}

/* Loader CF7 */

.arx-contact-form .wpcf7-spinner {
  flex: 0 0 auto;
  margin: 0 0 0 12px;
}

/* ==================================================
   VALIDATION
   ================================================== */

.arx-contact-form .wpcf7-not-valid {
  border-color: var(--arx-error) !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.arx-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: var(--arx-error);
  font-size: 12px;
  line-height: 1.4;
}

/* ==================================================
   MESSAGE GLOBAL CF7
   ================================================== */

.arx-contact-form + .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 15px 18px;
  border: 0;
  border-left: 4px solid var(--arx-blue, #234786);
  border-radius: 4px;
  background-color: var(--arx-grey-light, #f4f5f7);
  color: var(--arx-navy, #0d2148);
  font-size: 14px;
  line-height: 1.6;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-left-color: #247447;
  background-color: #eef7f2;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-left-color: #b42318;
  background-color: #fff2f1;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media screen and (max-width: 767px) {
  .arx-contact-form .arx-form-row {
    flex-direction: column;
    gap: 0;
  }

  .arx-contact-form .arx-form-row > .arx-form-field {
    flex: 0 0 auto;
    width: 100%;
  }

  .arx-contact-form .arx-form-field {
    gap: 4px;
    margin-bottom: 18px;
  }

  .arx-contact-form input[type="text"],
  .arx-contact-form input[type="email"],
  .arx-contact-form input[type="tel"],
  .arx-contact-form textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .arx-contact-form .arx-form-consent {
    padding: 15px;
  }

  .arx-contact-form .arx-form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .arx-contact-form .arx-form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .arx-contact-form .arx-submit {
    width: 100%;
    min-width: 0;
  }

  .arx-contact-form .arx-form-required {
    text-align: center;
  }

  .arx-contact-form .wpcf7-spinner {
    margin: 10px auto 0;
  }
}

/* DÉBUT - CLASS UTILITAIRE RGAA */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.hide_for_nice_select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: auto !important;
  width: auto !important;
}
/* FIN - CLASS UTILITAIRE RGAA */

/* AJOUTER CETTE CLASSE A UNE ROW DIVI POUR QUE LES COLONNES S'INVERSENT SUR MOBILE */
@media (max-width: 980px) {
  .mobile_reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* .et_pb_button_module_wrapper{
  width: fit-content;
  display: inline;
}

@media only screen and (max-width: 500px){
  .et_pb_button_module_wrapper{
    display: block;
    width: auto;
    margin-left: 0 !important
  }
} */


/* CLASSES HOVER MENU */

:root{
  --color-hover-menu: white;
}

.arx-menu-hover-barre li a::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--color-hover-menu);
  bottom: -5px;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.arx-menu-hover-barre li:hover a::before{
  width: 100%;
}

.arx-menu-hover-bullet li a::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--color-hover-menu);
  border-radius: 50%;
  top: 40%;
  left: -15px;
  transform: translateY(-50%) scale(0);
  transition: all 0.3s ease-in-out;
}

.arx-menu-hover-bullet li:hover a::before{
  transform: translateY(-50%) scale(1);
}

.arx-menu-hover-clone li a{
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: calc(1em);
  overflow: hidden;
  padding: 0 !important;
}

.arx-menu-hover-clone li a span{
  transition: all 0.3s ease-in-out;
  height: 1em;
}

.arx-menu-hover-clone li:hover a span{
  transform: translateY(calc(-100% - 10px));
}

.arx-menu-hover-bar-element{
  position: absolute;
  width: 100%;
  height: 2px;
  width: 0px;
  background-color: var(--color-hover-menu);
  bottom: -5px;
  left: 0;
  transition: all 0.3s ease-in-out;
}


/* PLUGIN AVIS */

.arx-avis-items-slick .slick-slide{
  background-color: rgba(255,255,255,0.3) !important;
  margin-inline: 20px;
  padding: 20px;
}

.arx-avis-item.arx-avis-item-featured{
  display: flex !important;
  flex-direction: column-reverse;
  align-items: center;
}

.arx-avis-item-meta-right-auteur, .arx-avis-item-comment-content{
  color: white !important;
}

.arx-avis-item-meta-right{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arx-avis-item-meta-right-auteur{
  font-family: "Outfit";
  font-size: 25px;
  font-weight: 600;
  margin-top: 30px;
}


/* PLUGIN ACTUALITES */

#arx_blog_actus{
  display: flex;
  justify-content: center;
}

.arx_blog_actu_item_inner{
  background-color: #d9d9d9;
}

.arx_blog_actu_item_inner .image{
  height: auto !important;
  background-image: none;
}

.arx_blog_actu_item_inner .image .image_inner{
  width: 100%;
}

.arx_blog_actu_item_inner .image .image_inner, .arx_blog_actu_item_inner .image img{
  background-color: #4f4f4f;
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
}

.arx_blog_actu_item_inner .taxonomie{
  margin-top: 0;
  text-align: left;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-top: 20px;
}

.arx_blog_actu_item_inner .taxonomie li{
  background-color: transparent;
  border-radius: 0;
  color: black;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
}

.arx_blog_actu_item_inner .content{
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.arx_blog_actu_item_inner .titre{
  order: 1;
  padding-bottom: 20px !important;
}

.arx_blog_actu_item_inner .titre a{
  color: black;
  font-size: 25px;
  font-weight: 600;
}

.arx_blog_actu_item_inner .extrait{
  order: 2;
  font-size: 18px;
  font-weight: 400;
}

.arx_blog_actu_item_inner .meta_info{
  order: 3;
}

/* Correction Styles par défaut divi */
.et_pb_column{
  min-height: 0 !important;
}
