/* ***************************************************************************************************************** */
/* FORMULAIRE DEMANDE DE DEVIS
/* ***************************************************************************************************************** */
#formulaireDemandeDeDevis form{
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 600px) {
  #formulaireDemandeDeDevis form{
    display: block;
  }
}

/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE (bloc label + input)
/* ***************************************************************************************************************** */
.formLine{
  position: relative;
  margin-bottom: 30px;
}


/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > LABEL
/* ***************************************************************************************************************** */
.formLine label{
  color: #000000;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-weight: 300;
  display: inline-block;
  padding: 0 10px;
  background: #FFFFFF;
  transition: all .2s ease;
}

.formLine.focus label{
  transform: translateY(-200%);
  font-size: 80%;
}

.g-recaptcha{
  margin-top: 0!important;
  margin-bottom: 0!important;
}


/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > INPUT
/* ***************************************************************************************************************** */
.formLine input,
.formLine textarea{
  border: 2px solid #000000;
  border-radius: 320px;
  height: 50px;
  padding: 20px;
  width: 100%;
}

.formLine input:focus,
.formLine textarea:focus{
  outline: none;
}

.formLine input::placeholder,
.formLine textarea::placeholder,
.formLine ::placeholder{
  font-size: 0;
}


/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > INPUT (TEXTAREA)
/* ***************************************************************************************************************** */
.formLine.textarea textarea{
  min-height: 320px;
  border-radius: 60px;
}

.formLine.textarea label{
  top: 40px;
}

.formLine.textarea.focus label{
  top: 0;
  transform: translateY(-50%);
}


/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > INPUT (SUBMIT)
/* ***************************************************************************************************************** */
.formLine.submit{
  order: 10;
}

@media only screen and (min-width: 600px) {
  .formLine.submit{
    float: right;
    order: unset;
    position: relative;
    z-index: 3;
  }
}

.formLine.submit input{
  padding: 20px 40px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  height: auto;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
}

@media only screen and (min-width: 600px) {
  .formLine.submit input{
    width: auto;
  }
}

.formLine.submit input:hover{
  opacity: .8;
}

/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > INPUT (Checbox)
/* ***************************************************************************************************************** */
.formLine.checkboxes{
  display: flex;
}

.formLine.checkboxes input{
  width: 32px;
  height: 32px;
}

.formLine.checkboxes label{
  position: relative;
  transform: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.6em;
  font-weight: 400;
}



/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > TWO CHOICES
/* ***************************************************************************************************************** */
.twoChoices {
  display: flex;
  border: 2px solid #000;
  border-radius: 320px;
  overflow: hidden;
}

.choice.choiceActive {
  background: #000;
  color: #FFF;
  opacity: 1;
  font-weight: bold;
}

.choice {
  font-size: 14px;
  width: 50%;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  opacity: .3;
}

/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > SUCCESS
/* ***************************************************************************************************************** */
#success{
	background: #e6ffe6;
	padding: 50px;
}

#success a{
  background: #000000;
  display: inline-block;
  padding: 10px 30px;
  color: var(--bleu);
  font-weight: 600;
  border-radius: 320px;
}

.formErrors{
  background: #ffe0e0;
  padding: 20px;
  margin-bottom: 80px;
}

.rgpdMentions {
	font-size: 14px;
	line-height: 1.8em;
	margin-top: 80px;
}

.rgpdMentions a{
  color: var(--bleu);
}

/* ALTCHA : le widget garde son apparence propre (altcha.css) ; on neutralise les règles génériques
   du formulaire (label flottant, champ en pilule) qui sinon s'appliquent à l'intérieur du widget */
.formLine.captcha{ border: 0 !important; padding: 0 !important; background: none !important; }
altcha-widget{ --altcha-border-width: 1px; --altcha-border-radius: 320px; --altcha-color-border: #000; --altcha-color-base: #fff; --altcha-color-text: #000; --altcha-max-width: none; display: inline-flex; margin: 20px 0; }
.formLine.captcha .altcha{ width: auto; }
.formLine.captcha label{ position: static; top: auto; left: auto; transform: none; display: block; padding: 0; background: none; font-weight: 400; transition: none; }
.formLine.captcha .altcha-checkbox input{ width: 18px; height: 18px; margin: 0; padding: 0; border: revert; border-radius: revert; }
.formLine.captcha .altcha-main{ padding: 12px 20px; }
