@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Source+Serif+4:wght@400;700&display=swap');


/*desktop*/

body{
    background: #f2f2f2;
}

main{
    padding-bottom: 100px;
}


/*Titre de la page*/

.formDevis h1{
    text-align: center;
    font-size: 2vw;
        color: #EBBB97;
font-family: 'Montserrat', sans-serif;
margin-top: 50px;
}



.switch {
  position: relative;
  display: inline-block;
  min-width: 60px;
  height: 27px;
  margin-right: 15px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 7px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #398A90;
}

input:focus + .slider {
  box-shadow: 0 0 1px #398A90;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/*Box accueillant le contenu*/
.formDevis{

}



/*Zone type de bien*/

.flavorType{
    background: #fff;
        max-width: 536px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    padding-inline-start: 55px;
    padding-inline-end: 55px;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 15px;

}

.checkbox{
    padding: 8px;
    color: #fff;
}



.btnType{
font-weight: bold;
    margin: 5px;
    padding: 18px;
    color: #575757;
    width: 100%;
    border-radius: 9px;
    font-size: 1.2rem;
    background: #e3e3e3;
    text-align: start;
    border: none;
    cursor: pointer;
        transition: cubic-bezier(0.075, 0.82, 0.165, 1) 2000ms;

}

.btnType:hover{
    background-color: #398A90;
    color: #fff;
    transition: cubic-bezier(0.785, 0.135, 0.15, 0.86) 300ms;
}

.btnTypeSelected{
       background-color: #398A90;
    color: #fff;
}

.flavors{
    padding-inline-start: 0px;
    list-style: none;
}

.titleBox{
    padding: 15px;
    padding-bottom: 0px;
}


/*Zone travaux à réaliser */
.worktodo{
    background: #fff;
}

.descObj{
    font-weight: bold;
    text-align: center;
    padding-top: 15px;
}
.choiceItems{
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: center;
}
.itemBox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 20px;
    margin: 5px;
    width: 120px;
    height: 120px;
    box-shadow: inset 0px 2px 6px #bebebe;
    font-family: 'Montserrat', sans-serif;
transition: 300ms ease;
font-weight: bold;
}

.itemBox:hover{
    transition: 300ms ease;
    cursor: pointer;
    transform: scale(1.1);

}


.itemRoom{
    display: flex;
    border: 3px solid #d7d7d7;
    margin: 10px;
    padding: 16px;
    border-radius: 10px;
    flex-direction: column;
        transition: 350ms ease;

}

.itemRoom:hover{
    transition: 350ms ease;
    border: 3px solid #969696;
}

.itemRoomSummary{
    display: flex;
    align-items: center;
}

.pieceConfig{
    background: #fff;
    padding: 10px;
        border-radius: 20px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.pieceTodoList ul {
    padding-inline-start: 0px;
}

.titlePiece{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.itemRoomConfig{
    margin-left: auto;
    font-size: 23px;
        color: #EBBB97;
        background: transparent;
        border: none;
        cursor: pointer;

}

/*Les items de pièces, couleurs de fond*/

.titleCuisine{
        background: #FF7E7E;
}

.titleSalon{
    background: #445b88;
}

.titleDouche{
    background: #a6dafc;
}

.titleChambre{
    background: #eba300;
}

.titleExt{
    background: #578a07;
}

.titleOthers{
    background: #828282;
}







.titlePiece h2{
    margin: 0px;
    color: #fff;
    font-weight: normal;
}

.titlePiece p{
    color: #fff;
}

/*Suppression d'une pièce*/
.deleteRoom{
    color: #ed0014;
    text-decoration: underline;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding-bottom: 20px;
    padding-top: 20px;
}




.paramRoom{
    display: flex;
    justify-content: space-evenly;
    padding-top: 15px;
    flex-direction: column;
    animation: roomParams 1s;
}


@keyframes roomParams {
    0%{opacity: 0;}
    100%{opacity: 1;}
}

.btnIsNew{
    padding: 5px;
}


.isNewButtons{
    display: flex;
}

.surface{
        display: flex;
    justify-content: center;
    margin-top: 15px;
    align-items: center;
}

.surfaceInput{
        height: 25px;
        width: 80px;
    color: #333333;
    padding: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    outline: none;
    border: none;
    background-color: #F0F0F0;
    border-radius: 8px;
    text-align: end;
    margin-left: 10px;
}

.uniteSurface{
    margin-left: 10px;
    font-weight: bold;
    color: #398A90;
}

.descProjetItem{
        background: #e3e3e3;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    border: none;
    font-size: 1.2rem;
    width: 100%;

}

.saveItemRoom{
    width: 100%;
    height: 65px;
    margin-top: 15px;
    background: #398A90;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
        box-shadow: 2px 2px 15px #a4a4a4;
        font-size: 1.1em;

}
/*Zone budjet*/

.budjetSelect{
height: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
outline: none;
  text-indent: 5px;
  padding: 5px;
display: flex;
flex-direction: column;
align-items: flex-start;
list-style: none;
border: 2px solid #e3e3e3;
border-radius: 12px;
padding-inline-start: 0px;
}

.checkValid{
        color: #398A90;
    padding-left: 10px;
    padding-right: 15px;
}

.dropdownLeft{
    margin-left: auto;
    padding-inline-end: 40px;
}

.itemSelect{
    padding: 10px;
    display: flex;
    align-items: center;
    width: 100%;
        transition: all 300ms;
}

.optionBudjet:hover{
    transform: scale(1.1);
    cursor: pointer;
    transition: all 400ms;
}

.defaultSelect{
    cursor: pointer;
}

.selectBox{
    background-color: #fff;
    width: 100%;
    position: relative;
    animation: height 250ms;
}

.selectBoxNoHeight{
    animation: noheight 400ms;
}

@keyframes noheight{
    0%{height: 200px;}
    100% {height: 50px;}
}

@keyframes height {
    0%{height: 0px;}
    100%{height: 200px;}
}

.optionBudjet{
    padding-inline-start: 45px;
}

/*Zone formulaire donnés */

.formCoords{
    display: flex;
    flex-direction: column;
}
.inputForm::placeholder{
    padding: 5px;
    color: #9b9b9b;
    font-size: 1rem;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;

}
.inputForm{
    height: 40px;
        color: #333333;
padding: 5px;
    font-family: 'Montserrat', sans-serif;
font-weight: bold;
    font-size: 1.1rem;
    outline: none;
border: none;
background-color: #F0F0F0;
border-radius: 8px;
}

.validate{
    padding-top: 10px;
}

.labelForm{
    padding-top: 20px;
    padding-bottom: 5px;
    font-weight: bold;
}

.validateBtn{
    background-color: #EBBB97;
    height: 60px;
    padding-inline-start: 55px;
    padding-inline-end: 55px;
    width: 100%;
    color: white;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        border: none;
        border-radius: 15px;
        cursor: pointer;
margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.validate p{
    font-size: 15px;
}


.conditionsLink{
    color: #EBBB97;
    text-decoration: none;
}

.roomItem{
    padding-top: 30px;
}





/*Formulaire*/

.proposCP ul{
    list-style: none;
margin-bottom: 0px;
overflow: scroll;
overflow-x: hidden;
max-height: 200px;
padding-inline-start: 0px;
}


.proposCP ul::-webkit-scrollbar{
    width: 10px;
}

.proposCP ul::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.proposCP ul::-webkit-scrollbar-thumb {
  background: #888;
}

.proposCP ul::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.buttonHelpAdress{
    outline: none;
    background: transparent;
    border: none;
    color: #555;
}

.apiTown{
    margin: 5px;
    cursor: pointer;
    transition: 300ms ease;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 20px;

}

.apiTown:hover{
    transition: 300ms ease;
    background-color: #969696;
    color: #fff;
    font-weight: bold;
}

/*Gestion message d'erreur*/

.errorMess{
        text-align: center;
    padding: 10px;
    background: #ff7f7f;
    border-radius: 5px;
    color: white;
    margin: 10px;
        display: flex;
    justify-content: center;
}

/*Loader enregistrement*/

.spinner {
    width: 25px;
    height: 25px;
    background-color: #fff;
    margin: 35px;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}


/*Mobile devices*/

@media screen and (max-width: 1000px) {
    .formDevis h1{
    text-align: center;
    font-size: 1rem;
}
.itemSelect{
    font-size: 13px;
}
.worktodo{
    padding-inline-start: 0px;
}

.isNewButtons{display: block;}

.itemRoom{
    width: 95%;
}

}