/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/


html,
body {
 margin: 0;
 padding: 0;
    font-family: 'Nunito', sans-serif;
 color: #374649;
}
a{
 color: #374649;
}
ol,
li,
ul {
 list-style-type: none;
 list-style-type: none;
 margin: 0;
 padding: 0;
}

.slick-slide {
 outline: none
}

div {
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
}
input:focus{
 outline: none;
}
.title-break {
 display: none;
}

p {
 margin: 0;
 padding: 0;
 font-family: 'Roboto', sans-serif; 
}
h1 {
 margin: 0;
 padding: 0;
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 55px;
}
h2 {
 margin: 0;
 padding: 0;
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}
h3 {
 margin: 0;
 padding: 0;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}
#page-container {
 background-color: #ffffff;
 width: 100%;
 max-width: 1440px;
 height: 100%;
 margin: 0 auto;
 padding: 0;
 position: relative;
 z-index: 0;
}

#header{
    width: 100%;
 position: relative;
}

#header img{
    width: 100%;
}

#logo{
 position: absolute;
 top: 10%;
 left: 3%;
}

#logo img{
  width: 100px;
}

#main_block{
    position: relative;
    left: 0;
    top: -70px;
    background-color: #ffffff ;
    border-radius: 32px 32px 0 0;
 padding: 20px 30px ;
}
#table_block{
 position: relative;
 margin: 0 auto;  
 width: 100%;
 max-width: 1200px; 
}
.title{
    /* identical to box height */
    letter-spacing: 0.1px;
    /* primary-color_carbon */
    text-align: center;
 margin-bottom: 20px;
}
.back-link{
 position: absolute;
 top: 15px;
 left: 2%;
}
#form_box{
 width: 100%;
 max-width: 1122px;
 margin: 0 auto;
}
.form_bg{ 
    border-radius: 16px;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
     -ms-flex-direction: column;
         flex-direction: column;
 -webkit-box-pack :center;
     -ms-flex-pack :center;
         justify-content :center;
 padding: 20px 40px 50px 40px;
 gap: 0px;
 background-color: #F7F9FA;
 width: 100%;
 margin-top: 20px; 
}
#form_subject{
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
     -ms-flex-direction: column;
         flex-direction: column;
 -webkit-box-pack :center;
     -ms-flex-pack :center;
         justify-content :center;
}
.table_title{
 text-align: center;
}
.table_sub_title{
 text-align: center;
 margin-bottom: 30px;
}
label{
 /* text body_roboto bold 16 */
 font-family: 'Roboto', sans-serif;
 font-style: normal;
 font-weight: 700;
 font-size: 16px;
 line-height: 19px;
 color: #374649;
}
input[type=text], input[type=email]{
 width: 100%;
 height: 45px;
 padding: 0px 20px;
 color: #374649;
 margin: 8px 0;
 display: inline-block;
 border:0;
 border-radius: 4px;
 -webkit-box-sizing: border-box;
         box-sizing: border-box;
 font-family: 'Roboto';
 font-style: normal;
 font-weight: 400;
 font-size: 16px;
 line-height: 19px;
  }

  input[type=submit] {
 width: 141px;
 height: 46px;
 background-color: #ED0000;
 color: #ffffff;
 padding: 14px 20px;
 border: none;
 border-radius: 80px;
 cursor: pointer;
 margin: 30px auto 10px auto;
 font-family: 'Roboto', sans-serif;
 font-style: normal;
 font-weight: 700;
 font-size: 14px;
  }
  
  input[type=submit]:hover {
 background-color: #b90101;
  }

  input[type=submit].inactive {
 background-color: #F7F9FA;
 color: #B7CBD3;
 cursor: default;
  }

  .checkbox-container{
 width: 100%;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -ms-flex-wrap: wrap;
     flex-wrap: wrap;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
  }
  .checkbox-container div{ 
 margin: 10px;
  }
  .checkbox-container div label{  
 cursor: pointer;
  }

  .checkbox-container div label input[type=checkbox]{
 display: none;
  }

  
  .checkbox-container div label span{
 position: relative;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
 background: #ffffff;
 color: #374649;
 font-family: 'Nunito', sans-serif;
 font-size: 20px;
 line-height: 27px;
 overflow: hidden;
 width: 320px;
 height: 200px;
 text-align: center;
 border-radius: 16px;
  }

  .checkbox-container div label span p {
 position: relative;
 top: 30px;
  }


  .checkbox-container div label span:before{
 position: absolute;
 top: 10%;
 opacity: 1;
  }

  
  .checkbox-container div label span:after{
 position: absolute;
 top: 10%;
 opacity: 0;
  }

  
  .checkbox-container div label span.mobilite:before{
 content: url("https://image.experience.totalenergies.fr/lib/fe3211717564047d7d1279/m/2/26f317b4-878d-447b-a2cd-e93bf2e4e0ad.png"); 
  }

  .checkbox-container div label span.mobilite:after{
 content: url("https://image.experience.totalenergies.fr/lib/fe3211717564047d7d1279/m/2/b0514faf-74d0-4284-84c8-705050491140.png"); 
  }
  
  
  .checkbox-container div label span.habitat:before{
 content: url("https://image.experience.totalenergies.fr/lib/fe3211717564047d7d1279/m/2/fd5c0780-2af7-4bf9-a336-ee2e0c198ef1.png"); 
  }

  
  .checkbox-container div label span.habitat:after{
 content: url("https://image.experience.totalenergies.fr/lib/fe3211717564047d7d1279/m/2/15e9f152-83f4-420e-b03a-1a4f57731658.png"); 
  }
  
  
  .checkbox-container div label span.durable:before{
 content: url("https://image.experience.totalenergies.fr/lib/fe3211717564047d7d1279/m/2/63f43fb2-4cea-4b9c-a69b-c2ad30d923df.png"); 
  }

  
  .checkbox-container div label span.durable:after{
 content: url("https://image.experience.totalenergies.fr/lib/fe3211717564047d7d1279/m/2/a0f289ac-81b5-40a8-864d-9f8e806d8b10.png"); 
  }

  .checkbox-container div label input[type=checkbox]:checked + span{
 color: #ED0000;
  }

  
  .checkbox-container div label input[type=checkbox]:checked + span:before{
 opacity: 0;
  }

  
  .checkbox-container div label input[type=checkbox]:checked + span:after{
 opacity: 1;
  }

  #links_box{
   width: 100%;
   max-width: 1000px;
   margin: 0 auto;
  }
  .links_title{
 text-align: center;
 margin: 20px 0;

  }
  .link-TE {
 width: 100%;
 max-width: 450px;
 margin: 0 auto;
  }
  .link-TE img{
 width: 100%;
  }
  .link-social-box{
 width: 100%;
 max-width: 450px;
 margin: 20px auto;
 text-align: center;
 border-radius: 16px;
 background-color: #F7F9FA;
 height: 150px;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
     -ms-flex-direction: column;
         flex-direction: column;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
  }
  
  .link-social{
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: horizontal;
 -webkit-box-direction: normal;
     -ms-flex-direction: row;
         flex-direction: row;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
         justify-content: center;
 -webkit-box-align: center;
     -ms-flex-align: center;
         align-items: center;
 margin-top: 10px;
  }
  .link-social div{
 margin: 5px;
  }
@media screen and (max-width: 1023px) {


    #main_block {
        top: -30px;
    }

    .checkbox-container div label span {
        font-size: 13px;
        line-height: 16px;
        width: 180px;
        height: 165px;
    }
    .checkbox-container {
        justify-content: space-evenly;
    }

}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 22px;
        line-height: 30px;
    }
    h2{
       font-size: 15px;
       line-height: 21px;
   }
    h3{
       font-size: 12px;
       line-height: 14px;
   }

    #logo img {
        width: 60px;
    }
    .title h1{
        text-align: left;
    }

       #main_block {
        top: -14px;
        border-radius: 10px 10px 0 0;
        padding: 20px 30px;
    }
    .back-link{
        position: relative;
        top: 0;
        left: 0;
    }  
    .title_text p {
        font-size: 12px;
        line-height: 14px;
        text-align: left;
    }

    .form_bg {
        padding: 25px 15px;
    }

    .table_title{
        text-align: left;
    }
    .table_sub_title {
        text-align: left;
        margin-bottom: 10px;
    }
    .checkbox-container div label span {
        font-size: 11px;
        line-height: 16px;
        width: 120px;
        height: 130px;
    }
    .checkbox-container {
        justify-content: space-between;
    }
    .checkbox-container div label span p {
        top: 40px;
    }
     
}
