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

.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-url label,
.rte-form fieldset.js-form-type-number label {
  width: 30%;
  display: inline-block;
}

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

.rte-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 label,
.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;
  vertical-align:top;
}

.rte-form .webform-element-description {
  margin-left: 15px !important;
  font-size: 16px !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,
.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 {
  background-color: #10181d !important;
  border: 1px solid #FFFFFF;
  color: white !important;
  font-family: 'NunitoSans' !important;
}

.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;
  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;
}

/* 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"] + .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 + .description:before{
  background-color: #00ceff;
}

/*
 * Checked
 */
.rte-form .js-form-type-checkbox input[type=checkbox]:checked + .description:before {
  width: 25px;
  height: 25px;
  content: '';
  background-image: url('/themes/swi/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;
}



/* Lien */
.rte-form a {
    font-weight: 800;
    line-height: 1.56;
    color: #00ceff;
    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%;
}





/* 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 .effectifs-label,
.rte-form .ca-label,
.rte-form .form-item-workforce-2020,
.rte-form .form-item-workforce-2019,
.rte-form .js-form-item-turnover-2020,
.rte-form .js-form-item-turnover-2019 {
    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;
}	


/* 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 {
  position: relative;  
}

.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; 
}



@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 {
    width: 100%;
  }

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

  .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 .send-message-button {
    display:block;
  }

  .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;
  }
}

	