/*   SOMMAIRE   */
/* *********************
************************
***   1. GENREAL     ***
***   2. HEADER      ***
***   3. BODY        ***
***   4. FORMULAIRE  ***
***   5. FOOTER      ***
************************
***********************/
/***************
*****GENERAL****
***************/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap");
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
}

html {
  height: 100vh !important;
  width: 100vw !important;
  overflow-x: hidden !important;
}

button, .answer {
  cursor: pointer;
}

input::placeholder {
  overflow: visible;
}

@media screen and (min-width: 700px) and (max-width: 1300px) {
  :root {
    font-size: 17.5px;
  }
  .body_h1 {
    font-size: 30px !important;
  }
  .form_title {
    font-size: 26px !important;
  }
}

@media screen and (min-width: 1300px) {
  :root {
    font-size: 20px;
  }
  .body_h1 {
    font-size: 35px !important;
  }
  .form_title {
    font-size: 30px !important;
  }
}

@media screen and (min-width : 1200px) and (max-width: 1400px) and (max-height: 800px){
  .body_h1{
    margin: 20px auto !important;
    font-size: 20px !important;
  }

  .body_p{
    margin-bottom: 20px !important;
    font-size: 15px !important;
  }

  .div-bar{
    height: 25px !important;
  }

  .form_title {
    font-size: 15px !important;
    margin-top: 10px !important;
  }

  .form_choice_50 .form_choice_img {
    width: 20% !important;
    margin: auto ;
  }

  .form_choice_100{
    padding: 0.5rem !important;
  }

  .form_choice_title{
    font-size: 0.7rem;
  }

  .header{
    height: 70px !important;
  }

  .header_nav-brand{
    height: 100%;
    display: flex;
    align-items: center;
  }

  .header_logo{
    height: 80%;
  }
}

/***************
*****HEADER*****
***************/
.header {
  height: 90px;
  background-color: #bcdce3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}

.header_nav-brand {
  margin: auto;
}

/***************
******BODY******
***************/
.content {
  background-color: #f9fafc;
  min-height: 100vh !important;
}

.body {
  /*width: 93.6vw;*/
  /*max-width: 645px;*/
  margin: 0 auto;
  text-align: center;
}

.body_h1 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 40px auto 30px auto;
  color: white;
  text-transform: uppercase;
}
.h1_felicitation{
    font-size: 1.2rem;
    font-weight: bold;
    margin: 40px auto 30px auto;
    color: black;
    text-transform: uppercase;
}

.body_p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 35px;
  color: black;
}

/***************
***FORMULAIRE***
***************/
.div-bar {
  width: 100%;
  height: 30px;
}

.div-bar_container {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  background-color: #ebedf1;
}

.div-bar_bar {
  -webkit-transition: width .3s ease-in-out;
  transition: width .3s ease-in-out;
  width: 15%;
  height: 100%;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  background-color: white;
  color: black;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 0.8rem;
}

.form {
  margin-top: calc(4rem/3);
  padding-bottom: 4rem;
}

.form_title {
  font-size: calc(4rem/3);
  font-weight: bold;
  color: black;
}

.form_subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #0a3f4b;
  margin-top: calc(1rem/3);
}

.form_choices {
  margin-top: calc(4rem/3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.form_choice {
  position: relative;
  border-radius: 0.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: #376671;
  background-color: white;
  -webkit-transition: border .3s ease-in-out;
  transition: border .3s ease-in-out;
}

.form_choice_50 {
  width: 48%;
  padding: 20px 0;
}

.form_choice_50 .form_choice_img {
  width: 30%;
  margin: auto;
}

.form_choice_100 {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: calc(2rem/3);
}

.form_choice_100 .form_choice_img {
  height: 1.56rem;
  margin-right: 10px;
}

.form_choice_radio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  -webkit-transition: border .1s ease-in-out;
  transition: border .1s ease-in-out;
  border: solid 1px #acbdcb;
  border-radius: 0.25rem;
}

.form_choice .form_choice_radio:checked, .form_choice .form_choice_radio:hover {
  border: 1px solid #4a8795;
}

.form_choice_input {
  -webkit-appearance: none;
  background-color: white;
  width: 100% !important;
  text-align: left;
  border: solid 1px #acbdcb;
}

.form_choice_input::-webkit-input-placeholder {
  font-family: 'Open Sans';
  color: #000;
  opacity: 0.4;
  font-size: 1rem;
}

.form_choice_input:-ms-input-placeholder {
  font-family: 'Open Sans';
  color: #000;
  opacity: 0.4;
  font-size: 1rem;
}

.form_choice_input::-ms-input-placeholder {
  font-family: 'Open Sans';
  color: #000;
  opacity: 0.4;
  font-size: 1rem;
}

.form_choice_input::placeholder {
  font-family: 'Open Sans';
  color: #000;
  opacity: 0.4;
  font-size: 1rem;
}

.form_choice_title {
  text-transform: uppercase;
  font-weight: bold;
}

.form_info {
  color: #4c4e52;
  font-size: calc(12rem/15);
  line-height: 21px;
  text-align: left;
  background-color: #cfebf0;
  padding: calc(2rem/3) 1rem;
  margin-top: calc(4rem/3);
  margin-bottom: calc(1rem/3);
  border-radius: 4px;
}

.form_info1 {
  color: #4c4e52;
  font-size: calc(14rem/15);
  line-height: 21px;
  text-align: left;
  background-color: #fff;
  padding: calc(2rem/3) 1rem;
  margin-top: calc(4rem/3);
  margin-bottom: calc(1rem/3);
  border-radius: 4px;
}

.form_info1_link {
  color: #4c4e52;
  text-decoration: underline;
}

.form_loading {
  color: #4c4e52;
  font-size: calc(14rem/15);
  line-height: 21px;
  text-align: left;
  background-color: #d9e3eb;
  padding: calc(2rem/3) 0.6rem;
  margin-top: calc(4rem/3);
  margin-bottom: calc(1rem/3);
  border-radius: 4px;
}

.form_loading_title {
  font-size: calc(4rem/3);
  font-weight: bold;
  line-height: 0.5;
  color: #8697a7;
}

.form_loading_img {
  margin-top: 2.5rem;
  width: 80%;
  max-width: 300px;
  margin: auto;
}

.form_div-button {
  margin-top: calc(4rem/3);
}

.form_div-button_button {
  width: 50%;
  border-radius: 4px;
  background-color: #00548e;
  /*background-color: white;*/
  /*background-image: linear-gradient(315deg, #43cea2, #185a9d);*/
  border: none;
  color: white;
  font-size: 0.8rem;
  font-family: 'Open Sans';
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.6rem 0;
}

.form_div-button_span {
  font-size: calc(2rem/3);
  opacity: 0.6;
}

._valid {
  background: url("https://pac.aides-energetiques.fr/assets/img/form/check.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center right 10px !important;
  background-size: 20px !important;
  background-color: white !important;
  border: 2px solid #30b430 !important;
}

._error {
  background: url("https://pac.aides-energetiques.fr/assets/img/form/error.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center right 10px !important;
  background-size: 20px !important;
  background-color: white !important;
  border: 2px solid red !important;
}

/***************
*****FOOTER*****
***************/
.footer {
  background: #fff;
  color: #4a8795;
}

.footer_content {
  font-size: calc(2rem/3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 80%;
  padding: 1.5rem;
  line-height: 24px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.footer_img {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  vertical-align: middle;
  margin-right: 3px;
}