/*** Float */

.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  position: relative;
  display: block;
  background-color: transparent;
  margin: 0px auto;
  /*padding: 6px 4px 4px 14px;*/
  outline: none !important;

  transition: all 0.2s ease-in-out;
}

.form-group label {
  position: absolute;
  top: 20px;
  left: 25px;
  text-align: left;
  display: inline-block;
  padding: 0 4px;
  /* line-height: 14px; */
  font-size: 17px;
  font-weight: 400;
  background: #fff;
  margin: 0px auto;
  cursor: text;
  transition: all 0.15s ease-in-out;
}

.form-group input:hover,
.form-group input:focus,
.form-group select:hover,
.form-group select:focus,
.form-group textarea:hover,
.form-group textarea:focus {
  border: 2px solid var(--form-border-active);
}

.form-group input:valid + label,
.form-group input:focus + label,
.form-group select:valid + label,
.form-group select:focus + label,
.form-group textarea:valid + label,
.form-group textarea:focus + label {
  top: -12px;

  font-weight: bold;
}

.asterisk {
  background-color: inherit;
  color: var(--red);
  padding: 0;
  padding-left: 3px;
}

.asterisk:after {
  content: "*";
}

/**********/

.prev-nxt-wrp {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prev-nxt-wrp a {
  color: var(--green);
  cursor: pointer;
}

.next {
  background-color: var(--green);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  text-align: center;
  text-decoration: none;
  margin: 0;
  outline: none;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out;
}

.next:hover,
.next:focus {
  background-color: var(--primary-color);
}

.f-label {
  margin-top: 0px;
  font-family: var(--font-secondary);
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: bold;
}

.f-label-sub {
  font-size: 1.6rem;
  margin-bottom: 25px;
  margin-top: 0px;
  color: var(--orange);
}

.crd-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  justify-content: center;
}

.crd-wrapper .card {
  width: 46%;
  flex-basis: 46%;
}

.crd-wrapper img {
  height: 80px;
}

.crd-nbr p {
  color: var(--ylw) !important;
}

.card * {
  cursor: pointer !important;
}

.card {
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-bottom: 20px;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: var(--accent-light);
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
}

.card:hover p {
  color: var(--accent) !important;
}

.card input[type="radio"] {
  display: none;
}

.card label {
  display: block;
  padding: 15px;
  text-align: center;
  margin: 0;
}

.card label img {
  max-height: 155px;
}

.card label p {
  margin-top: 0px;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0px;
}

.card input[type="radio"]:checked + label {
  background-color: var(--accent-light);
  border: 1px solid var(--accent) !important;
  border-radius: 10px;
}

.card input[type="radio"]:checked + label p {
  color: var(--accent) !important;
}

/*******/

.step {
  /*display: none;
  opacity: 0;*/
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.step.active {
  display: flex !important;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
}

.radio-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

.radio-container:hover input ~ .checkmark {
  background-color: #ccc;
}

.radio-container input:checked ~ .checkmark {
  background-color: #4caf50;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.radio-container input:checked ~ .checkmark:after {
  display: block;
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

/* Styles for the progress bar */
#progressBar {
  background: #ddd;
  height: 10px;
  width: 90%;
  border-radius: 50px;
  margin: 20px auto;
}

#progress {
  height: 100%;
  background-color: var(--progress);
  width: 0%;
  border-radius: 50px;
  transition: width 0.5s ease-in-out;
}

/*Multi*/

/*Checkboxes styles*/
input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  display: inline;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-weight: 400;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input[type="checkbox"] + label:last-child {
  margin-bottom: 0;
}

input[type="checkbox"] + label:before {
  content: "";
  display: inline;
  width: 20px;
  height: 20px;
  border: 2px solid var(--green);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  -webkit-transition:
    all 0.12s,
    border-color 0.08s;
  transition:
    all 0.12s,
    border-color 0.08s;
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

textarea {
  resize: vertical;
}

.lu-txt {
  font-size: 13px;
  text-align: left;
  color: var(--text-primary-color);
}

.terms {
  padding: 0px 0px;
  display: flex;
}

/* Form */
button[disabled] {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.65;
}

.error {
  border: 2px solid var(--red) !important;
}

.error-msg {
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

.ok {
  border: 2px solid #23d45f !important;
}

.success-form {
  display: none;
  font-size: large;
}

.f-pd-t {
  padding-top: 2%;
}

input[type="date"] :: after {
  color: #111;
  content: attr(placeholder);
}

input[type="date"] {
  display: block;

  /* Solution 1 */
  -webkit-appearance: textfield;
  -moz-appearance: textfield;

  /* Solution 2 */
  min-width: 96%;
}
.wm-loader img {
  height: 150px;
}

.wm-loader {
  display: none;
}

/* Form */

.form-container {
  background-color: #fff;
  position: relative;
  z-index: 999;
  border-radius: 20px;
}

button[disabled] {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.65;
}

.error {
  border: 2px solid var(--red) !important;
}

.success-form {
  display: none;
  font-size: large;
}

.form-holder {
  padding: 27px 27px 20px 27px;
  border: none;
  background-color: #fff;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 20px;
}

.form-body {
  padding: 0px 15px 0px 15px;
}

.form-header {
  text-transform: uppercase;

  padding: 15px 0px 25px 0px;
}

.form-header p {
  font-size: 21px;
}

.form-header h2 {
  margin: 0px;
  font-weight: 900;
  font-style: normal;
  font-size: clamp(31px, 4vw, 35px);
}

.animated-underline {
  position: relative;
  z-index: 1;
  padding: 0;
  display: inline-block;
  background: none;
  text-decoration: none;
  color: inherit;
}

.animated-underline::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 0;
  height: 30%;
  background-color: #6666ff;
}

.animated-underline::before {
  animation: width-animation 3.5s infinite alternate;
}

@keyframes width-animation {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  80% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

.cta-holder .sub {
  margin-top: 15px;
  position: relative;
  clear: both;
}

.formulaire1 {
  background-color: #ffffff;
  padding: 60px 40px 35px 40px;
  border-radius: 0px;
  z-index: 800;
  color: #333334;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(245, 245, 245, 0.7);
  -webkit-animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.formulaire1:hover,
.register-pop:hover {
  -webkit-animation: none;
  -moz-animation: none;
  -ms-animation: none;
  animation: none;
}

@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

@-moz-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

@-ms-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

.titref {
  color: #acacac;
  text-align: justify;
  line-height: 1.5em !important;
  font:
    700 11px Roboto,
    sans-serif;
  padding: 20px 3% 10px;
}

select.custom {
  background-image: url(../img/drop.png);
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: 95% center;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #667085;
}

select.custom::-ms-expand {
  display: none;
}

::placeholder {
  /* Firefox, Chrome, Opera */
  color: #667085 !important;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #667085 !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #667085 !important;
}

.form-control {
  padding: 18px 24px;
  margin-bottom: 10px;
  color: var(--primary-color);
  background-color: #ffffff;
  border: 1px solid var(--form-border);
  border-radius: 0px;
  height: auto;
  font-size: 16px;
  border-radius: 15px;
}

.form-control:focus {
  border: 2px solid var(--form-border-active);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition:
    border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
}

a.back-b {
  text-decoration: none !important;
}

.back-b:hover,
.back-b:focus {
  color: var(--wht);
}

.back {
  background: var(--footer);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 20px;
  z-index: 9999;
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.back.hidden-out {
  transform: translateY(100%);
}

.sub,
.back-b {
  font-size: 16px;
  background: var(--main-gradient);
  border: none;
  color: var(--wht);
  padding: 14px;
  width: 100%;
  cursor: pointer;
  moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 15px;
}

.back-b {
  padding: 14px 20px;
  font-weight: bold;
}

.sub:hover {
  background: var(--main-gradient);
  /* transform: translateY(-3px);*/
  color: #fff;
}

.sub-form {
  background-color: var(--red);
  color: #fff;
  padding: 18px 40px;
}

.sub-form:hover {
  transform: translateY(-3px);
  background-color: var(--primary-color);
  color: #fff;
}

.mention-form {
  color: #1860de;
}
