.rte-form {
  padding: 40px 0;
}

.rte-form .h2-like {
  font-size: 36px;
  line-height: 1.28;
  color: white;
  opacity: 1;
  font-weight: 800;
  overflow-wrap: break-word;
  margin-top: 45px;
  width: 100%;
}

.rte-form fieldset.js-form-type-textarea label,
.rte-form fieldset.js-form-type-textfield label,
.rte-form fieldset.js-form-type-select label,
.rte-form fieldset.js-form-type-email label,
.rte-form fieldset.js-form-type-tel label,
.rte-form fieldset.js-form-type-url label,
.rte-form fieldset.js-form-type-number label,
.rte-form fieldset.js-form-type-webform-document-file label,
.rte-form fieldset.js-form-type-datetime label,
.rte-form form.webform-submission-contact-grand-public-form fieldset.js-webform-type-webform-select-other legend {
  width: 30%;
  display: inline-block;
}

.rte-form .webform-required {
  display: none;
}

.rte-form.contrib-form label.form-required:after,
.rte-form.contact-form-paragraph-webform label.form-required:after {
  display: inline-block;
  background-image: url(../../images/components/required.svg);
}

.rte-form .form-item-global-question-select label.sr-only {
  position: relative;
  width: 30%;
  height: auto;
}

.rte-form form:not(.webform-submission-contact-grand-public-form) fieldset.js-webform-type-webform-select-other legend {
  display: none;
}

.rte-form fieldset.js-form-type-textarea .form-textarea-wrapper,
.rte-form input,
.rte-form select{
  width: 69%;
  display: inline-block;
}
.rte-form form.webform-submission-contact-grand-public-form .select2 {
  display: inline-block;
}

.rte-form input::placeholder{
  color; wjite !important;
  opacity: 1;
}

.rte-form input:-ms-input-placeholder{
  color; white !important;;
  opacity: 1;
}

.rte-form input::-ms-input-placeholder {
  color; white !important;
  opacity: 1;
}


.rte-form .js-form-type-datetime div.container-inline {
  width: 69%;
  display: inline-flex;
}

.rte-form label,
.rte-form form.webform-submission-contact-grand-public-form legend,
.rte-form .checkbox .description {
  font-family: NunitoSans;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  color: #ffffff !important;
  vertical-align:top;
  margin-right: 0;
}

.rte-form .checkbox .description {
  position: unset !important;
  bottom: unset !important;
  margin-bottom: 0 !important;
}
.rte-form .webform-element-description {
  margin-left: 15px !important;
  font-size: 16px !important;
}

.rte-form .text-muted {
  color: white !important;
}

.rte-form label:after,
.rte-form legend span:after {
  display: none;
}

.rte-form textarea,
.rte-form textarea:focus {
  background-color: transparent;
  border: solid 1px #ffffff;
  color: white;
  outline: none;
  height: 68px;
}

.rte-form input,
.select2-container--default .select2-selection,
.select2-container--default,
.rte-form input:focus {
  background-color: transparent;
  border: none;
  border-radius: 0 !important;
  border-bottom: 1px solid #FFFFFF;
  padding-left: 0;
  outline: none;
  color: white;
  cursor: pointer;
  margin-top: 0;
  box-shadow: none;
}

.rte-form input:-webkit-autofill,
.rte-form input:-webkit-autofill:hover,
.rte-form input:-webkit-autofill:focus,
.rte-form input:-webkit-autofill:active,
.rte-form select:-webkit-autofill,
.rte-form select:-webkit-autofill:hover,
.rte-form select:-webkit-autofill:focus,
.rte-form select:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #10181d inset !important;
  -webkit-text-fill-color: white;
}

.rte-form .checkbox input {
  height: 20px;
  width: 20px;
  left: 22px;
  top: 3px;
}

.rte-form .radio input {
  width: 17px;
  height: 17px;
}

.rte-form .webform-element-description {
  font-size: 12px;
  margin-left: 30.5%;
}

.rte-form select,
.rte-form select:focus {
  border: 1px solid #FFFFFF;
  font-family: NunitoSans !important;
  background-color: #10181d;
  color: white;
}

.rte-form select option {
  color: #10181d !important;
  background-color: white;
  font-family: NunitoSans, -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.rte-form input.clear-form-button,
.rte-form input.webform-button--submit, .rte-form .contact-button {
  display: inline-block;
  width: auto;
  border-radius: 19.5px !important;
  font-size: 14px;
  font-weight: 800;
  font-style: normal;
  line-height: normal;
  padding: 10px 31px 28px 31px;
  margin-right: 7px;
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 5px;
  color: white;
  border: none;
}

.rte-form .contact-button-layout {
  margin-top: 5px;
  display: block;
}

.rte-form .send-message-button input,
.rte-form .contact-button {
  background-color: #00a6d9;
}

.rte-form .contact-button:hover,
.rte-form .contact-button:active,
.rte-form .send-message-button input:hover,
.rte-form .send-message-button input:active{
  background: unset !important;
  background-color: #00CEFF !important;
}

.rte-form input.clear-form-button {
  background-color: transparent;
  border: 1px solid white;
  border-radius: 19.5px !important;
}

.rte-form input.clear-form-button:hover,
.rte-form input.clear-form-button:active {
  background-color: white !important;
  color: black;
  border: 1px solid transparent;
}

.rte-form .js-form-type-checkbox .description,
.rte-form .js-form-type-radio .description{
  opacity: 1;
}

.rte-form fieldset[id^=edit-legal-notice] {
  margin-top: 40px;
  border: 1px solid #FFFFFF;
  padding: 20px;
}

/* Date */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-calendar-picker-indicator{
  display: none;
}

/* Radio buttons */
.rte-form .js-form-type-radio input:before{
  content: '';
  background-color: white;
  border-radius: 12px;
  position: absolute;
  height: 20px;
  width: 20px;
  pointer-events: none;
  cursor: pointer;
}

.rte-form .js-form-type-radio input:checked:before{
  background-color: #00ceff;
}

.rte-form .js-form-type-radio input:after{
  content: '';
  background-color: white;
  border-radius: 3px;
  position: absolute;
  height: 6px;
  width: 6px;
  pointer-events: none;
  left: 7px;
  right: 0;
  top: 7px;
  bottom: 0;
  cursor: pointer;
}


/* mozilla */
.rte-form .js-form-type-checkbox input[type="checkbox"] + label:before,
.rte-form .js-form-type-checkbox input[type="checkbox"] + .description:before {
  content: '';
  background-color: #10181D;
  border: 1px solid #00ceff;
  border-radius: 5px;
  position: absolute;
  width: 25px;
  height: 25px;
  pointer-events: none;
  cursor: pointer;
  top: 1px;
  left: 0;
}

.rte-form .js-form-type-checkbox input[type="checkbox"]:checked + label:before,
.rte-form .js-form-type-checkbox input[type="checkbox"]:checked + .description:before{
  background-color: #00ceff;
}

/*
 * Checked
 */
.rte-form .js-form-type-checkbox {
  padding-bottom: 14px;
}

.rte-form .js-form-type-checkbox input[type=checkbox]:checked + label:before,
.rte-form .js-form-type-checkbox input[type=checkbox]:checked + .description:before {
  width: 25px;
  height: 25px;
  content: '';
  background-image: url('../../images/components/global/validate-checkbox-icon.svg');
  background-repeat: no-repeat;
  background-size: auto;
  z-index: 8;
  position: absolute;
  top: 1px;
  left: 0;
  pointer-events: none;
  cursor: pointer;
  background-position: center;
}

.form-check-label {
  padding-left: 14px;
}

/* File */
.rte-form fieldset.js-form-type-webform-document-file {
  display: flex;
  flex-direction: row;
}


/* Lien */
.rte-form a {
  font-weight: 800;
  line-height: 1.56;
  color: #00ceff !important;
  text-decoration: underline;
  text-underline-position: under;
}

.rte-form a:hover {
  background: linear-gradient(180deg, rgb(16, 24, 29) 0%, rgba(2,202,255,0.6) 84%);
  text-decoration: none;
}



/* Captcha */
.rte-form .captcha {
  margin-top: 30px;
}

.rte-form .captcha img,
.captcha .description {
  margin-left: 30%;
}


/* Datepicker */
.rte-form .ui-datepicker-calendar .ui-state-default,
.rte-form .ui-datepicker-calendar .ui-widget-content .ui-state-default,
.rte-form .ui-datepicker-calendar .ui-widget-header .ui-state-default,
.rte-form .ui-datepicker-calendar .ui-button {
  color: #10181d !important;
}


.rte-form .ui-datepicker-calendar .ui-state-highlight,
.rte-form .ui-datepicker-calendar .ui-widget-content .ui-state-highlight,
.rte-form .ui-datepicker-calendar .ui-widget-header .ui-state-highlight{
  background-color: #00a6d9;
  color:  white !important;
}

.rte-form .ui-datepicker-calendar tr th {
  background: #0c3949;
}


/* Custom css*/
#edit-accroche-wrapper, #edit-mandatories-wrapper {
  font-family: NunitoSans;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  color: #ffffff;
}

.rte-form div:has(> .effectifs-label):not([style*='display: none;']),
.rte-form div:has(> .ca-label):not([style*='display: none;']),
.rte-form .form-item-workforce-2020:not([style*='display: none;']),
.rte-form .form-item-workforce-2019:not([style*='display: none;']),
.rte-form .js-form-item-turnover-2020:not([style*='display: none;']),
.rte-form .js-form-item-turnover-2019:not([style*='display: none;']) {
    width: 32% !important;
    display: inline-block !important;
}

.rte-form .form-item-workforce-2019 label,
.rte-form .form-item-workforce-2020 label,
.rte-form .js-form-item-turnover-2020 label,
.rte-form .js-form-item-turnover-2019 label  {
  width: 20% !important;
  display: inline-block !important;
  margin-bottom: -8px;
  vertical-align: bottom;
}

.rte-form .form-item-workforce-2019 input,
.rte-form .form-item-workforce-2020 input,
.rte-form .js-form-item-turnover-2020 input,
.rte-form .js-form-item-turnover-2019 input  {
  width: 78% !important;
  display: inline-block !important;
}

.rte-form .form-item-customers {
  margin-top: 30px;
}

.rte-form .form-item-link-to-legal-notice,
.rte-form .form-item-legal-consent {
  display: inline-block;
}

.rte-form .send-message-button {
  display: inline-block;
  margin-top: 50px;
}

.rte-form .send-message-button {
  margin-left: 28%;
}

.rte-form .form-item-destinataire {
  display: none;
}

.rte-form .webform-submission-candidature-spontanee-form textarea{
  height: auto;
}


/* Message de confirmation */
.rte-form .alert {
  background-color: transparent;
  color: white;
  border-radius: 0;
  border: 1px solid white;
  margin-bottom: 30px;
}

.rte-form .alert-success::before {
  display: none !important;
}

.rte-form .alert-wrapper {
  z-index: 3;

}

.rte-form .alert-wrapper .alert {
  margin-bottom: 30px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  background: #10181d;
  max-height: 70vh;
  z-index: 4;
  box-shadow: 0 0 0 800px #10181dbb;
}

.rte-form .alert-wrapper .alert.alert-success {
  border-color: #0a6eb4;
}
.rte-form .alert-wrapper .alert.alert-danger {
  border-color: red;
}
.rte-form .alert-wrapper hr {
  margin: 2px;
  border-top: none !important;
}

.rte-form .alert-danger::before {
  display: none;
}

.rte-form .close:focus, .rte-form .close:hover {
  color: #00ceff !important;
}

.rte-form .close {
  text-shadow: none;
}



/*Popup confirmation*/
.webform-confirmation-modal {
  background-color: unset !important;
  position: unset !important;
  height: unset !important;
  width: unset !important;
  left: unset !important;
  top: unset !important;
}

form.webform-submission-form .webform-confirmation-modal.js-hide {
  display: unset !important;
}

form.webform-submission-form .webform-confirmation-modal .alert.alert-success {
  position: fixed;
  left: 20% !important;
  right: 20% !important;
  width: unset !important;
  margin: auto;
  top: 20%;
  display: block !important;
  height: auto !important;
  background-color: white !important;
}


.webform-confirmation-modal .ui-dialog-title,
.webform-confirmation-modal .webform-confirmation-modal--title,
.webform-confirmation-modal .webform-confirmation-modal--content {
  color: #10181d !important;
}

.webform-confirmation-modal button span {
  color: black;
}

button.ui-dialog-titlebar-close {
  background-color: unset !important;
  border: none !important;
  background-image: url(../../images/components/header/close-icon.svg) !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered {
  background-color: #10181d !important;
  color: white !important;
}
.select2-container--default .select2-results__option,
.select2-container--default .select2-search--dropdown,
.select2-container--default .select2-search--dropdown input {
  background-color: #fff;
  color: black !important;
}

.rte-form .js-form-type-checkbox input[type="checkbox"].error:not(:checked) + .description:before  {
  border-color: #dc3545;
  background-image: url(data:image/svg+xml,%3csvg\ xmlns=\'http://www.w3.org/2000/svg\'\ width=\'12\'\ height=\'12\'\ fill=\'none\'\ stroke=\'%23dc3545\'\ viewBox=\'0\ 0\ 12\ 12\'%3e%3ccircle\ cx=\'6\'\ cy=\'6\'\ r=\'4.5\'/%3e%3cpath\ stroke-linejoin=\'round\'\ d=\'M5.8\ 3.6h.4L6\ 6.5z\'/%3e%3ccircle\ cx=\'6\'\ cy=\'8.2\'\ r=\'.6\'\ fill=\'%23dc3545\'\ stroke=\'none\'/%3e%3c/svg%3e);  background-repeat: no-repeat;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  background-position: center;
}

.js-form-item .form-textarea-wrapper textarea:has(+ .cke) {
  display: block !important;
  position: absolute;
  z-index: -200;
}


@media only screen and (max-width: 768px) {
  .rte-form fieldset.js-form-type-textarea label,
  .rte-form fieldset.js-form-type-textfield label,
  .rte-form fieldset.js-form-type-select label,
  .rte-form fieldset.js-form-type-email label,
  .rte-form fieldset.js-form-type-url label,
  .rte-form fieldset.js-form-type-number label,
  .rte-form fieldset.js-form-type-webform-document-file label,
  .rte-form fieldset.js-form-type-datetime label {
    width: 100%;
  }

  .rte-form fieldset.js-form-type-textarea .form-textarea-wrapper,
  .rte-form input,
  .rte-form select,
  .rte-form .js-form-type-datetime div.container-inline {
    width: 100%;
  }

  .rte-form .js-form-type-datetime div.container-inline {
    display: flex;
    justify-content: space-evenly;
  }

  .rte-form .js-form-type-datetime .js-form-type-date input {
    text-align: center;
  }

  .rte-form .js-form-type-datetime div.container-inline > fieldset {
  //border-bottom: 1px solid white;
    flex: 1;
    margin: 0px 5px;
  }

  .rte-form .checkbox input {
    width: 24px;
  }

  .rte-form .webform-element-description {
    margin-left: 0;
  }

  .rte-form .form-item-workforce-2019 input,
  .rte-form .form-item-workforce-2020 input,
  .rte-form .js-form-item-turnover-2020 input,
  .rte-form .js-form-item-turnover-2019 input {
    width: 50% !important;
  }

  .rte-form .form-item-workforce-2019 label,
  .rte-form .form-item-workforce-2020 label,
  .rte-form .js-form-item-turnover-2020 label,
  .rte-form .js-form-item-turnover-2019 label {
    width: 40% !important;
  }

  .rte-form .captcha img,
  .captcha .description {
    margin-left: 0;
  }

  .rte-form div.send-message-button:not([style*='display: none;']) {
    display:block !important;
  }

  .rte-form .send-message-button input {
    margin-left: 0;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .rte-form .send-message-button input:first-child {
    margin-bottom: 20px;
  }

  .rte-form .send-message-button {
    margin-left: 0 !important;
  }

  .rte-form fieldset.js-form-type-webform-document-file {
    display: block;
  }

  form.webform-submission-form .webform-confirmation-modal .alert.alert-success {
    width: unset !important;
    left: 15px !important;
    top: 40% !important;
    z-index: 10;
    height: 130px !important;
    right: 15px !important;
    position: fixed;
    background-color: white !important;
  }
}

