/* ***************************************************************************************************************** */
/* 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%;
  transform: translateY(-50%);
  display: inline-block;
  left: 20px;
  transition: all .2s ease;
  font-size: 14px;
  color: #000000;
}

.formLine.focus label{
  transform: translateY(-120%);
  font-size: 11px;
}

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


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

.formLine select{
  border: 1px solid #000000;
  border-radius: 10px;
  height: 50px;
  padding: 10px 20px;
  width: 100%;
  font-size: 14px;
  background: #FFFFFF;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

.formLine select:focus{
  outline: none;
}

.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: 10px;
}

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

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


/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > INPUT (SUBMIT)
/* ***************************************************************************************************************** */
.formLine.submitting{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--margin);
}

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

.dark .formLine.submitting input{
  background: #FFFFFF;
  color: #000000;
}

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

.formLine.submitting 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;
  color: #000000;
}

.dark .formLine.checkboxes label{
  color: #FFFFFF;
}

.formLine.checkboxes label a{
  color: #000000;
}

.formLine.checkboxes label a:hover{
  text-decoration: none;
}



/* ***************************************************************************************************************** */
/* 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;
}

.formLine a{
  color: inherit;
  text-decoration: underline;
}

/* ***************************************************************************************************************** */
/* LIGNE FORMULAIRE > SUCCESS
/* ***************************************************************************************************************** */
#success{
  text-align: center;
  background: var(--bleu);
  max-width: 620px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 80px;
  box-shadow: var(--shadow);
}

#success svg {
	width: 80px;
	height: auto;
	margin-bottom: 15px;
}

#success svg .toFill{
  fill: #000000;
}

#success a{
  display: inline-block;
  padding: 0;
  margin-top: 15px;
  color: var(--rouge);
  font-weight: 600;
}

#success p{
	font-size: 20px;
	line-height: 1.6em;
}

.errors {
	border: 2px solid red;
	padding: 20px;
	color: red;
	margin-bottom: 50px;
}

#mentions-rgpd{
  background: #fafafa;
  padding: 30px;
  border-radius: 20px;
  line-height: 1.8em;
  font-size: 90%;
}

#mentions-rgpd a{
  color: var(--rouge);
}

#mentions-rgpd a:hover{
color: var(--bleu-sombre);
}
