@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);



h1 {
  color: #fff;
  text-align: center;
  margin-bottom: 5vh;
}

.titre {
  margin-top: 10vh;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2%;
    padding-top: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 55%;
    height: auto;
    background-color: #fff;
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
}

.container2 {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2%;
    padding-top: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 55%;
    height: auto;
    background-color: #fff;
    border-bottom-left-radius: 1vw;
    border-bottom-right-radius: 1vw;
}

.container_devis_instantane {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
  padding-bottom: 2%;
  padding-top: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 55%;
  height: auto;
  background-color: #fff;
  border-radius: 1vw;
}

.container_devis_instantane a {
  color: #fff;
  background: #01205d;
  padding: 5px;
  text-decoration: none;
  transition: all .2s;
  padding: 0.6em;
  border-radius: 3%;
}

.container_devis_instantane a:hover {
    background: #ead860;
    color: #01205d;
    font-weight: bold;;
}

.container_devis_instantane a:focus {
    background: #F2F3F8;
    color: #1b1c22;
}

.container_devis_instantane h1 {
  color: #1b1c22;
  font-size: 20px;
}

.container_devis_instantane p {
  width: 80%;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 20px;
}

.btn {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    background: #01205d;
    color: #fff;
    padding: 15px;
    font-family: inherit;
    font-size: 16px;
    border: 0;
    border-radius: 5px;
}
  
  .btn:focus {
    outline: 0;
  }
  
  .btn:active {
    transform: scale(0.98);
  }

  .btn:hover {
      background: #ead860;
      color: #01205d;
      font-weight: bold;
  }


/* Formulaire */

.form {
  display: flex;
  flex-direction: column;
}

.form label {
  padding-left: 15px;
  padding-right: 15px;
}


.form input, textarea {
  border: 2.5px solid #01205d;
  margin-bottom: 20px;
  border-radius: 1vh;
  padding-left: 15px;
  padding-right: 15px;
  -webkit-transition: 0.5s;
  outline: none;
}

.form input:hover, textarea:hover {
  border: 2.5px solid #ead860;
}

.form input:focus {
  border: 2.5px solid #ead860;
}

.form input {
  height: 35px;
}

.form textarea {
  padding-top: 10px;
}

.form label {
  color: #1b1c22;
}

/* Fin du formulaire */ 




.container h1, 
.container2 h1 {
  font-size: 20px;
  color: #1b1c22;
}





.h1 {
    text-align: center;
    color: #1b1c22;
    margin-bottom: 10vh;
    margin-top: -10vh;
}

.erreur {
    text-align: center;
    color: rgb(233, 56, 56);
    font-size: 20px;
}

.checkbox {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.checkbox label {
  color: #1b1c22;
}




input[type=checkbox] { display:none; }
input[type=checkbox] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  color: #01205d  ;
}

input[type=checkbox] + label:before { content: "\f096"; } 
input[type=checkbox] + label:before { letter-spacing: 10px; } 

input[type=checkbox]:checked + label:before { content: "\f046"; } 
input[type=checkbox]:checked + label:before { letter-spacing: 5px; }




@media only screen and (max-width: 767px) {
    .container, .container2  {
        width: 100%;
        height: auto;
    }

    .container {
      margin-top: 80px; 
    }

    .container input, .container2 input, label, textarea {
      width: 80%;
      height: auto;
      margin-left: auto;
      margin-right: auto;
  }

  input[type=submit]{
    margin-left: 10%;
  }

    .container_devis_instantane {
      width: 100%;
      height: auto;
    }

    .checkbox {
      width: 80%;
    }
}