/* Demande devis et rappel */

.texteDemandeRappelEtDevis{
  color:white;
}


.flip-box {
  cursor: pointer;
  position: fixed;
  padding: 15px;
  right: 30px;
  bottom: 30px;
  background-color: #2F4D89;
  color: white;
  z-index: 3;
}

.flip-box i {
  font-size: 1.8rem;
}

.boutonDemande:hover{
  cursor:pointer;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  
}

.flip-box-front {
  position: absolute;
  width: 5vw;
  max-width: 75px;
  margin-left: 5vw;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #2F4D89 ;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #2F4D89 ;
  color: white;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  transform: rotateY(180deg);
  border-radius: 999px;
}



.flip-box-inner2 {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box2:hover .flip-box-inner2 {
  transform: rotateY(180deg);
}

.flip-box-front2 {
  position: absolute;
  margin-left:75px;
  width: 60px;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #2F4D89 ;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  border-radius: 999px;

}

.flip-box-back2 {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #2F4D89 ;
  /* background: rgba(0, 150, 214, 0.8); */
  color: white;
  border-radius: 999px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  transform: rotateY(180deg);
}



.titrePopup{
  color: #2F4D89;
  text-align:center;
}


#subject{
height:200px;
width:400px;
resize: none;

}

.send_step{
display: flex;
align-items: center;
justify-content: space-around;
padding-bottom:20px;
}

#closeButton{
border: none;
background: transparent;
color: white;
cursor: pointer;
display: flex;
padding: 10px;
}

.head_from{
background: #395EA7 ;
border-radius: 5px 5px 0px 0px;
display: flex;
padding: 10px;
justify-content: space-evenly;
align-items: center;
flex-direction: row;
Box-shadow: 0px 5px 10px rgb(0 0 0 / 25%);
}

form .txt_field {
position: relative;
border-bottom: 2px solid #395EA7;
margin: 30px 0;
}

.txt_field input {
width: 100%;
padding: 0 5px;
height: 40px;
border: none;
background: none;
outline: none;
}

.txt_field textarea {
width: 100%;
padding: 0 5px;
height: 40px;
border: none;
background: none;
outline: none;
resize : none;
height: 200px

}

.txt_field textarea::placeholder {
color: #395EA7;
}

.txt_field label {
position: absolute;
top: 50%;
left: 5px;
color: #395EA7;
transform: translateY(-50%);
pointer-events: none;
transition: .5s;
}

.txt_field span::before {
content: '';
position: absolute;
top: 40px;
left: 0;
width: 0%;
height: 2px;
background: #243C6A;
transition: .5s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label {
top: -5px;
color: #243C6A;
}

.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before {
width: 100%;
}


input[type="submit"] {
width: 100%;
height: 50px;
border: 1px solid;
background: #243C6A;
border-radius: 25px;
color: #F5F5F5;
font-weight: 700;
cursor: pointer;
outline: none;
}

input[type="submit"]:hover {
border-color: #243C6A;
transition: .5s;
}


#regForm {
  background:white;
  width: 100%;
  font-weight:bold;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

#regFormRappel {
  background:white;
  width: 100%;
  font-weight:bold;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}
 
input {
  padding: 10px;
  width: 100%;
  border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

.tab {
  display: none;
  margin: 0px 20px;
}

.tabRappel {
  margin: 0px 20px;
}

.titreTabForm{
  text-align:left;
  color:black;
  font-weight: normal;
}

.buttonForm {
  background: #395EA7;
  color: #ffffff;
  border: none;
  min-width : 35%;
  border-radius: 999px;
  cursor: pointer;
  padding: 10px;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 25%);
}


.buttonForm:hover {
  opacity: 0.8;
}

#prevBtn {
  background: rgba(159, 159, 159,0.8);
}



.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
  background-color: #2F4D89;
}

.step.finish {
  background-color: #2F4D89;
}

.titrePopup2{
  color: white;
  padding: 10px;
  text-align:center;
}

.caseFormPopup{
  margin-bottom:10px;

}


#casePopupPays{
  color:black;
  text-align:left;
  font-weight:normal;
}



#myInput{
  color:black;
}

.form-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  z-index: 9;
}



/*the container must be positioned relative:*/
.autocomplete {
position: relative;
display: inline-block;
}

.autocomplete-items {
position: absolute;
border: 1px solid #d4d4d4;
width:480px;
z-index: 99;
/*position the autocomplete items to be the same width as the container:*/

}

.autocomplete-items div {
padding: 10px;
cursor: pointer;
background-color: #fff; 
border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
background-color: DodgerBlue !important; 
color: #ffffff; 
}

@media (max-width:1024px) {


.flip-box-front {
  width: 7.5vw;
  margin-left: 7.5vw;
  max-width: 50px;
}

}

@media (max-width:800px) {


.flip-box-front {
  width: 10vw;
  margin-left: 10vw;
}

}

@media (max-width:600px) {
.flip-box i {
  font-size: 1.2rem;
}

.flip-box-front {
  width: 12.5vw;
  margin-left: 12.5vw;
}

}