::-moz-placeholder {
  --primary-color: #0E1727;
  --primary-variant1-color: #866A54;
  --primary-variant2-color: var(--primary-color);
  --secondary-color: #866A54;
  --light-color: #d6d7dc;
  --grey-color: #b7b7b7;
  --lightgrey-color: #e9e9e9;
  --darkgrey-color: #707070;
  --required-color: #af0000;
  --error-color: #af0000;
  --error-light-color: #ffd8d8;
  --disabled-color: #e9e9e9;
  --skeleton-color: #e7e7e7;
  --title-color: #866A54;
  --title-border-color: transparent;
  --title-border-height: 0;
  --border-color: #866A54;
  --light-grey-bg-color: #f5f5f5;
  --input-bg-color: #f5f5f5;
  --primary-button-color: #866A54;
  --button-background-color-hover: #0E1727;
  --button-color-hover: #fff;
  --button-border-color-hover: #0E1727;
  --font-family: HankenGrotesk-Regular, sans-serif;
  --activable-font-family: HankenGrotesk-Regular, sans-serif;
  --footer-font-family: HankenGrotesk-Regular, sans-serif;
  --bold-font-family: HankenGrotesk-Bold, sans-serif;
  --semibold-font-family: HankenGrotesk-SemiBold, sans-serif;
  --title-font-family: Marlide-Display-Regular;
  --border-radius: 0;
  --shadow: none;
  --button-font-size: .875rem;
  --footer-font-size: .875rem;
  --footer-font-size-lg: .75rem;
  --header-height: 7.5rem;
  --input-height: 3.4rem;
  --button-padding: 0.5rem 1.5625rem;
  --form-label-color: #866A54;
  --form-label-font-family: Marlide-Display-Regular;
  --form-label-font-size: 1.625rem;
  --form-label-font-weight: 300;
  --input-border-width: 0;
  --input-border-color: transparent;
  --input-background-color: #F5F5F5;
  --input-color: #0E1727;
  --notify-info-color: #fff;
  --notify-info-bg-color: #0af;
  --notify-success-color: #fff;
  --notify-success-bg-color: #4caf50;
  --notify-warning-color: #fff;
  --notify-warning-bg-color: var(--secondary-color);
  --paragraph-color: #0A2239;
  --paragraph-font-family: HankenGrotesk-Regular, sans-serif;
  --paragraph-font-size: 1.125rem;
  --paragraph-line-height: 1.35rem;
  --paragraph-font-weight: 300;
}

body,
::before,
::after,
::placeholder {
  --primary-color: #0E1727;
  --primary-variant1-color: #866A54;
  --primary-variant2-color: var(--primary-color);
  --secondary-color: #866A54;
  --light-color: #d6d7dc;
  --grey-color: #b7b7b7;
  --lightgrey-color: #e9e9e9;
  --darkgrey-color: #707070;
  --required-color: #af0000;
  --error-color: #af0000;
  --error-light-color: #ffd8d8;
  --disabled-color: #e9e9e9;
  --skeleton-color: #e7e7e7;
  --title-color: #866A54;
  --title-border-color: transparent;
  --title-border-height: 0;
  --border-color: #866A54;
  --light-grey-bg-color: #f5f5f5;
  --input-bg-color: #f5f5f5;
  --primary-button-color: #866A54;
  --button-background-color-hover: #0E1727;
  --button-color-hover: #fff;
  --button-border-color-hover: #0E1727;
  --font-family: HankenGrotesk-Regular, sans-serif;
  --activable-font-family: HankenGrotesk-Regular, sans-serif;
  --footer-font-family: HankenGrotesk-Regular, sans-serif;
  --bold-font-family: HankenGrotesk-Bold, sans-serif;
  --semibold-font-family: HankenGrotesk-SemiBold, sans-serif;
  --title-font-family: Marlide-Display-Regular;
  --border-radius: 0;
  --shadow: none;
  --button-font-size: .875rem;
  --footer-font-size: .875rem;
  --footer-font-size-lg: .75rem;
  --header-height: 7.5rem;
  --input-height: 3.4rem;
  --button-padding: 0.5rem 1.5625rem;
  --form-label-color: #866A54;
  --form-label-font-family: Marlide-Display-Regular;
  --form-label-font-size: 1.625rem;
  --form-label-font-weight: 300;
  --input-border-width: 0;
  --input-border-color: transparent;
  --input-background-color: #F5F5F5;
  --input-color: #0E1727;
  --notify-info-color: #fff;
  --notify-info-bg-color: #0af;
  --notify-success-color: #fff;
  --notify-success-bg-color: #4caf50;
  --notify-warning-color: #fff;
  --notify-warning-bg-color: var(--secondary-color);
  --paragraph-color: #0A2239;
  --paragraph-font-family: HankenGrotesk-Regular, sans-serif;
  --paragraph-font-size: 1.125rem;
  --paragraph-line-height: 1.35rem;
  --paragraph-font-weight: 300;
}

.form-wrapper-horizon-risk-grid,
.form-wrapper-esg-grid {
  display: grid;
  grid-row-gap: 4rem;
}

.form-wrapper-signature-grid {
  display: grid;
  grid-row-gap: 2rem;
  justify-content: center;
}

.form-wrapper-horizon-risk,
.form-wrapper-esg {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 4rem;
}

.form-wrapper-horizon-risk .radio-line-container,
.form-wrapper-esg .radio-line-container {
  display: flex;
  grid-gap: 1rem 4rem;
  flex-wrap: wrap;
}

.form-wrapper-dof-grid {
  display: grid;
  grid-row-gap: 2rem;
}

.form-wrapper-signature,
.form-wrapper {
  display: grid;
  grid-gap: 1.5rem 3rem;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.form-wrapper-sub {
  display: grid;
  justify-content: inherit;
}

.form-wrapper-sub__label {
  display: grid !important;
  padding-bottom: 0.25rem;
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 2rem;
}

.form-wrapper-sub__input {
  border: var(--darkgrey-color) solid 1px;
  border-radius: var(--border-radius);
  box-sizing: border-box;
  color: var(--primary-color);
  display: grid;
  font-family: var(--activable-font-family);
  font-size: 1rem;
  height: var(--input-height);
  overflow: hidden;
  padding: 0 1rem;
  text-overflow: ellipsis;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
  width: 100%;
}
.form-wrapper-sub__input:global(.flatpickr-input) {
  cursor: pointer;
}
.form-wrapper-sub__input:is(:disabled, :-moz-read-only) {
  background-color: var(--disabled-color);
}
.form-wrapper-sub__input:is(:disabled, :read-only) {
  background-color: var(--disabled-color);
}

.button-wrapper {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 2fr;
  justify-content: center;
}

.wrapper-notice {
  align-items: center;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  row-gap: 1rem;
  width: 100%;
}

.text-center-webkit {
  text-align: -webkit-center;
}

.section-title {
  text-align: center;
  width: -moz-fit-content;
  width: fit-content;
}
.section-title hr {
  background-color: var(--secondary-color);
  border: none;
  border-radius: 2px;
  height: 3px;
  margin: 7px auto;
}

/* Tooltip Element */
.curstom-tooltip {
  position: relative;
  transition: color 0.5s ease;
}

/* Tooltip Content with ::after */
.curstom-tooltip::after {
  content: attr(aria-label); /* Use the aria-label attribute as tooltip content */
  position: absolute;
  bottom: 100%; /* Position above the element */
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 1rem;
  border-radius: var(--border-radius, 0);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  text-align: center;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  width: 23rem;
  z-index: 999;
}

/* Tooltip Arrow */
.curstom-tooltip::before {
  content: "";
  position: absolute;
  bottom: calc(150% - 5px); /* Adjust position to align with ::after */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  top: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 5px solid #222;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 999;
}

/* Show Tooltip on Hover */
.curstom-tooltip:hover::after,
.curstom-tooltip:hover::before {
  opacity: 0.9;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px); /* Slight upward motion for the tooltip */
}

footer {
  background-color: var(--light-grey-bg-color);
  width: 100%;
}

footer ul {
  display: grid;
  gap: 1.4375rem;
  margin-bottom: 0;
}

footer ul li {
  margin: 0;
}

.footer {
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 auto;
  padding: 0 4.6875rem 4.5rem;
  place-items: center;
}

.footer__line {
  align-items: flex-start;
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 767px) {
  .footer__line {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}

.footer__line__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#footer-content {
  align-items: flex-start;
  display: flex;
  flex-flow: row wrap;
  gap: 0;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 991px) {
  #footer-content {
    gap: 0;
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  #footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
}
@media (max-width: 480px) {
  #footer-content {
    display: flex;
    margin-bottom: 2rem;
  }
}

a:hover.footer__line__column__link,
a:focus.footer__line__column__link {
  color: var(--light-color);
  text-decoration: underline;
}

@media (max-width: 767px) {
  #footer-content .footer__line__column__link {
    align-items: baseline;
  }
}
@media (max-width: 991px) {
  #footer-content .footer__line__column__link {
    font-size: var(--footer-font-size-lg);
  }
}

.footer__line__column__title {
  color: var(--secondary-color);
  font-family: var(--title-font-family);
  font-size: 1.625rem;
  margin: 0;
  margin-bottom: 2.5rem;
  position: relative;
  text-align: left;
}
@media (max-width: 767px) {
  .footer__line__column__title {
    margin-bottom: 1.5rem;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .footer__line__column__title {
    font-size: 1.2rem;
  }
}

.semibold {
  font-family: var(--semibold-font-family);
}

.footer__line__column__paragraph {
  color: var(--secondary-color);
  font-family: var(--paragraph-font-family);
  font-size: var(--footer-font-size);
  font-style: normal;
  font-weight: 300;
  line-height: 1.05rem;
  text-align: left;
}
@media (max-width: 991px) {
  .footer__line__column__paragraph {
    margin-bottom: 4.5rem;
  }
}
@media (max-width: 767px) {
  .footer__line__column__paragraph {
    margin-bottom: 0;
  }
}
@media (max-width: 480px) {
  .footer__line__column__paragraph {
    font-size: var(--footer-font-size);
  }
}

.footer__line__column__link {
  align-items: center;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  display: flex;
  font-size: var(--footer-font-size);
}

.footer__line__column__link__icon {
  height: 1rem;
  width: 1rem;
}
@media (max-width: 480px) {
  .footer__line__column__link__icon {
    height: 1rem;
    width: 1rem;
  }
}

.footer__line__column__link__icon__path {
  fill: var(--secondary-color);
}

.footer__line__paragraph {
  background-color: white;
  font-size: var(--footer-font-size);
  line-height: 1.05rem;
  margin: 0;
  margin-top: 4.5rem;
  padding: 2.5rem 4.6875rem;
  text-align: justify;
}
@media (max-width: 480px) {
  .footer__line__paragraph {
    font-size: var(--footer-font-size);
    margin-top: 1rem;
  }
}
@media (max-width: 767px) {
  .footer__line__paragraph {
    padding: 2.5rem;
  }
}

.footer__line__paragraph__link {
  color: var(--secondary-color);
  text-decoration: underline;
}
.footer__line__paragraph__link:hover {
  color: var(--light-color);
  text-decoration: underline;
}

.footer__line__column_links {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  margin: 0;
}
@media (max-width: 767px) {
  .footer__line__column_links {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .footer__line__column_links {
    align-items: start;
    flex-direction: column;
    gap: 0;
    justify-content: center;
  }
}

#footer-content .footer__line__column.footer-infos {
  flex-direction: column;
  gap: 0;
  justify-content: flex-end;
  width: -moz-max-content;
  width: max-content;
}
#footer-content .footer__line__column.footer-infos:nth-of-type(2) .footer__line__column__link {
  border-bottom: 1px solid;
  display: inline-block;
  padding-bottom: 0.625rem;
  text-transform: uppercase;
}
@media (max-width: 991px) {
  #footer-content .footer__line__column.footer-infos {
    justify-content: flex-start;
    width: 50%;
  }
}
@media (max-width: 767px) {
  #footer-content .footer__line__column.footer-infos {
    gap: 1rem;
    width: auto;
  }
}
@media (max-width: 480px) {
  #footer-content .footer__line__column.footer-infos {
    width: 100%;
  }
}
#footer-content .footer__line__column.footer-infos ul {
  display: flex;
  flex-direction: column;
}
#footer-content .footer__line__column.footer-infos ul li {
  text-align: left;
  width: -moz-max-content;
  width: max-content;
}

#footer-content .footer__line__column {
  width: 33.33%;
}
@media (max-width: 991px) {
  #footer-content .footer__line__column {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #footer-content .footer__line__column {
    width: auto;
  }
}

#footer-logo-line {
  flex-direction: row;
}
#footer-logo-line .footer__line__column {
  width: 100%;
}
@media (max-width: 767px) {
  #footer-logo-line {
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.25rem;
  }
}

.footer__logoContainer__logo {
  margin-bottom: 1.625rem;
}

.header__logoContainer {
  width: auto;
}

.form-wrapper-sub__input {
  border: var(--input-border-width, 1px) solid var(--input-border-color, var(--grey-color));
  font-family: var(--paragraph-font-family);
  font-size: var(--paragraph-font-size);
  font-weight: var(--paragraph-font-weight);
}