.candidature-form {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.candidature-form h2 {
  width: 100%;
  background-color: #014289;
  padding: 53px;
  color: #fff;
  font-size: 32px;
  line-height: 44px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.candidature-form h2 img {
  width: 40px;
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  transition: all 0.5s;
}

.candidature-form h2.rotate-icon img {
  transform: translateY(-50%) rotate(0deg);
}

.form-show .hbspt-form .hs_je_depose_mon_cv .hs-input,
.form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation .hs-input {
  width: 0.1px !important;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.form-show .hbspt-form .hs_je_depose_mon_cv label,
.form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label {
  width: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 23px 50px 23px 20px;
  background-color: #014289;
  background-image: url(/wp-content/uploads/2024/01/Icon-ionic-md-download.png);
  background-repeat: no-repeat;
  background-position: right 17px center;
  position: relative;
  margin-top: 24px;
  transition: all 0.3s;
}

.form-show .hbspt-form .hs_je_depose_mon_cv label:hover,
.form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label:hover {
  background-color: #262626;
}

.form-show .hbspt-form .hs_je_depose_mon_cv label::before,
.form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label::before {
  content: "Je dépose mon CV";
  position: absolute;
  top: -28px;
  left: 0;
  color: #262626;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label::before {
  content: "Je dépose ma lettre de motivation";
}

.form-show .hbspt-form .hs_je_depose_mon_cv label span,
.form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label span {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  color: #fff;
}

.candidature-form .form-show {
  width: 100%;
  background-color: #f2f2f2;
  padding: 56px 86px 30px;
  border-radius: 0 0 10px 10px;
}

.candidature-form .form-show .hs-form-field,
.candidature-form .form-show .hs-form-field input,
.candidature-form .form-show .hs-form-field textarea {
  width: 100% !important;
}

.candidature-form .form-show .hs-form-field input {
  border-radius: 10px;
  border: 0;
  outline: 0;
  height: 66px;
  background-color: #fff;
}

.candidature-form .form-show .hs-form-field ul {
  margin: 5px 0 0 0;
  list-style-type: none;
  color: red;
}

.candidature-form .form-show .hs-form-field span {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  color: #262626;
  text-transform: capitalize;
}

.candidature-form .form-show .hs-form-field .input {
  margin: 0;
  padding-top: 4px;
}

.candidature-form .form-show fieldset {
  display: flex;
  justify-content: space-between;
  max-width: 100% !important;
  margin-bottom: 20px !important;
  gap: 26px;
}

.candidature-form .form-show .hs-form-field textarea {
  border: 0;
  border-radius: 10px;
  height: 273px;
  background-color: #fff;
}


/* job css */
.candidature-form .job-wrap {
  width: 100%;
  background-color: #f2f2f2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.candidature-form .job-wrap .job-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  display: block;
  position: relative;
}

.candidature-form .job-details {
  display: flex;
  gap: 20px;
}

.candidature-form .job-details span {
  font-size: 14px;
  line-height: 20px;
  color: #000000;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.job-details img {
  margin-right: 7px;
  width: 15px;
}

.candidature-form .job-wrap .job-box h4 {
  margin-bottom: 12px;
}

.candidature-form .job-wrap .job-box:after {
  content: "";
  background-image: url(/wp-content/uploads/2024/05/next.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.candidature-form .job-wrap .job-box:hover {
  background-color: #ddd;
}

.Candidature_form .elementor-field-group .elementor-field-textual {
  padding: 0 15px;
}
.Candidature_form input:focus {
  border: 1px solid #52a8eccc !important;
}
.Candidature_form .elementor-field-group .elementor-field-textual {
  box-shadow: none !important;
  outline: none !important;
}

.Candidature_form .elementor-button {
  display: inline-block;
  max-width: max-content;
}

.Candidature_form .e-form__buttons {
  margin: 36px 0;
}
.Candidature_form textarea.elementor-field-textual {
  padding: 10px 15px !important;
  height: 66px;
}






@media only screen and (max-width: 1280px) {

  .candidature-form h2 {
    font-size: 25px;
    line-height: 35px;
}
}


@media only screen and (max-width: 1024px) {
  .candidature-form .form-show {
    padding: 50px 30px 60px;
  }

  .candidature-form .form-show .hs-form-field textarea {
    height: 200px;
  }
}

@media only screen and (max-width: 768px) {

  .candidature-form .job-wrap .job-box h4 {
    font-size: 14px;
    line-height: 20px;
}

.candidature-form .job-details span {
  font-size: 12px;
  line-height: 18px;
}

.candidature-form .job-wrap .job-box {
  padding: 10px 35px 10px 20px;
}

.candidature-form h2 {
  font-size: 20px;
  line-height: 30px;
}

.candidature-form .job-wrap .job-box:after {
  width: 15px;
  height: 15px;
  right: 10px;
}

  .candidature-form h2 {
    font-size: 25px;
    line-height: 35px;
    padding: 30px 20px;
    text-align: left;
  }

  .candidature-form .form-show fieldset {
    flex-wrap: wrap;
  }

  .candidature-form h2 img {
    right: 30px;
    width: 25px;
  }
}

@media only screen and (max-width: 500px) {
  .candidature-form h2 {
    font-size: 20px;
    line-height: 30px;
  }

  .candidature-form h2 img {
    right: 20px;
  }

  .candidature-form .job-wrap {
    padding: 20px 15px;
}
}

@media only screen and (max-width: 430px) {

  .job-details img {
    width: 13px;
}
  .candidature-form h2 {
    padding: 30px 55px 30px 30px;
  }

  .candidature-form .form-show {
    padding: 34px 21px 38px;
  }

  .candidature-form .form-show .hs-form-field span {
    font-size: 14px;
    line-height: 20px;
  }

  .candidature-form .form-show .hs-form-field .input {
    padding-top: 5px;
  }

  .candidature-form .form-show fieldset {
    margin-bottom: 20px !important;
    gap: 20px;
  }

  .form-show .hbspt-form .hs_je_depose_mon_cv label::before,
  .form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label::before {
    font-size: 14px;
    line-height: 20px;
  }

  .form-show .hbspt-form .hs_je_depose_mon_cv label span,
  .form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label span {
    font-size: 14px;
    line-height: 20px;
  }

  .form-show .hbspt-form .hs_je_depose_mon_cv label,
  .form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label {
    background-position: right 26px center;
  }

  .candidature-form .form-show .hs-form-field textarea {
    height: 293px;
  }

  .candidature-form .form-show .hs_submit .hs-button {
    margin-top: 14px;
    font-size: 14px;
    line-height: 20px;
    padding: 14px 40px;
  }
}

@media only screen and (max-width: 350px) {
  .form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label::before {
    top: -45px;
  }

  .form-show .hbspt-form .hs_je_depose_ma_lettre_de_motivation label {
    margin-top: 45px;
  }
}
