/* General */

#progress_bar{
    background:#93ca15;
    height:20px;
    width:0;
}
progress[value] {  
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 30px;
} 

progress {color: #93ca15;}
progress::-moz-progress-bar {
    background-color: #93ca15 !important;
    background-image:
    
    -webkit-linear-gradient(top, 
    rgba(255, 255, 255, .10), 
    rgba(0, 0, 0, .0)),
    -webkit-linear-gradient(left, #93ca15, #308bce);
    border-radius: 2px; 
    background-size: 35px 30px, 100% 100%, 100% 100%;
}
progress::-webkit-progress-value {
    background-color: #93ca15 !important;
    background-image:
    
    -webkit-linear-gradient(top, 
    rgba(255, 255, 255, .10), 
    rgba(0, 0, 0, .0)),
    -webkit-linear-gradient(left, #93ca15, #308bce);
    border-radius: 2px; 
    background-size: 35px 30px, 100% 100%, 100% 100%;
}
progress::-webkit-progress-bar {background-color: #eee;}
progress::-moz-progress-bar {background-color: #eee;}
progress{background-color: #eee;}

#indicator{
  position: absolute;
  top: 0px;
  left: 15px;
  width: 0%;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-shadow: 1px 1px 3px #000;
}
#progress_container{
    position:relative;
    margin-top:30px;   
}

#module-id_questionnaire_conseil-survey #center_column{
    width:100%;
    /* padding-left:20px; */
    /* padding-right:20px; */
    /* margin-top: 90px; */
    padding-top: 50px;
    padding-bottom:0;
}
#questionnaire_conseil_form{
    background: rgba(255,255,255,0.8);
    min-height: 800px;
    max-width: 1000px;
    margin: auto;
    height: 100%;
    display: flex;
    padding-top:50px;
    padding-bottom:50px;
}
#questionnaire_conseil_container{    
    text-align: center;
    padding: 50px;
    margin: auto;
    width:100%;
}
#module-id_questionnaire_conseil-survey #columns{
    padding-top:0;
}

#module-id_questionnaire_conseil-survey #center_column,
#module-id_questionnaire_conseil-survey #questionnaire_conseil_form {
    position: relative;
}
  
#module-id_questionnaire_conseil-survey #center_column:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image:url('../img/background_page.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center;
    background-attachment: fixed;
} 

#questionnaire_conseil_form .step:not(#intro){
    display:none;
} 
#questionnaire_conseil_form h1, #results_survey_container h1{
    line-height:100px;
    margin-bottom:30px;
    font-size: 35px;
    font-weight: 400;
    color: #000;
    display: inline;
    vertical-align: middle;
}
#questionnaire_conseil_form input[type="text"],
#questionnaire_conseil_form input[type="email"]{
    border-radius:30px;
}
#questionnaire_conseil_form p, #results_survey_container p{
    color:#000;
    text-align: center;
    width: 100%;
}
#questionnaire_conseil_form .link{
    background-color: #308bce;
    color: #fff;
    border-radius: 100px;
    font-family: Inter, sans-serif;
    padding: 10px 30px;
    transition: 0.3s;
    border:none;
    width:max-content;   
    font-size: 24px;
    font-weight: 500;
}
#columns_results .link.discover{
    background-color: #308bce;
}
#questionnaire_conseil_form .link.disabled{
    opacity:0.5;
    cursor:not-allowed;
}
#questionnaire_conseil_form .link:hover {
    opacity: 0.8;
    text-decoration:none;
}
.primary_paragraph{
    font-size: 25px;
    font-weight: 400;
}
.secondary_paragraph{
    font-size: 20px;
    margin-bottom:30px;
}

#questionnaire_conseil_form input[type="checkbox"],
#questionnaire_conseil_form input[type="radio"]{
    width: 20px;
    height: 20px;
    margin-right: 20px;  
    cursor:pointer;
    color: #000;
    margin-top: 0;
}
#questionnaire_conseil_form .step3 .choice_answers input[type="checkbox"],
#questionnaire_conseil_form .step4 .choice_answers input[type="checkbox"],
#questionnaire_conseil_form .step5 .choice_answers input[type="checkbox"]{
    margin-top: 5px;
    margin:0;
    opacity:0;
}
#lief_h1{
    display: inline;
    width: 50px;
    margin-right: 20px;
    vertical-align: middle;
    transform: rotate(10deg);
    width:50px;
}
.title_lief_left .bloc_title, .title_lief_right .bloc_title{
    border:1px solid #0093d7;
    display: block;
    width: 95%;
    padding: 15px;
    z-index: 1;
    position: relative;
    background: #0093d7;
    color: #fff;
    font-weight: bold;
}
.title_lief_left .bloc_title{
    border-radius: 0 60px 60px 60px;
    margin-left: 5%;  
}
.title_lief_right .bloc_title{
    border-radius:60px 0px 60px 60px;
    margin-right:5%;    
}
.title_lief_left, .title_lief_right{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;  
    margin-top: 70px;
    margin-bottom: 50px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.title_lief_left > img, .title_lief_right > img{
    max-width: 90px;
    display: inline;
    top: -100px;
    position: absolute;
}
.title_lief_right > img{
    right:20px;
    top:-105px;
}
.step i{
    font-style:inherit;
}    

/* Step 1 - Intro */
#questionnaire_conseil_form #intro #info{
    font-size: 18px;
    text-align: center;
    background: #0093d7;
    color: #fff;
    font-weight: 700;
    border-radius: 5px;
    max-width: fit-content;
    padding: 4px 20px;
    margin: 0 auto 30px auto;
}
#questionnaire_conseil_form #intro p.nameAlert{
    display:none;
    color:red;
    text-align:center;
    font-size:14px;
    margin-top:10px;
}
#rgpd_consent_bloc{
    margin-top:30px;
    margin-bottom:30px;
}
#rgpd_consent_bloc input{
    display: inline-block; 
}
#rgpd_consent_bloc label{
    display: inline-block;
    width: calc(100% - 60px);
    font-size: 16px;
    font-weight: 500;
}
#rgpd_consent_bloc small{
    text-align: left;
    display: block;
    font-size:16px;
    margin-left: 52px;
    color: #000;
    margin-top: 10px;
    margin-bottom: 20px;
}
#rgpd_consent_bloc small a{
    color:#308bce;
}
#intro .bloc_title{
    font-size:25px;
}
#intro input[type="text"]{
    width: fit-content;
    display: block;
    float: none;
    margin: 10px auto 0px auto;
    min-width: 500px;
    font-size: 20px;
    padding: 10px;
}
#intro .next-step{
    padding: 5px 35px;
    margin: auto;
    margin-top: 20px;
    line-height: 41px;
    display: block;
    font-size: 24px;
    font-weight: 500;
}
#intro input[type="text"]::placeholder {
   color: #000;
   opacity: 0.3; 
   /* Firefox */
 }
#intro input[type="text"]:-webkit-input-placeholder {
   /* Chrome, Safari, Opera */
   color: #000;
   opacity: 0.2; 
}
#intro input[type="text"]::-ms-input-placeholder {
   /* Microsoft Edge */
   color: #000;
   opacity: 0.2; 
}

/* Step 2 */
.container_first_selection{
    display:flex;
    justify-content: center;
    flex-wrap:wrap;
    margin-bottom:30px;
    margin-top:80px;
}
.item_category .summary_block{
    cursor:pointer;
}
.item_category.first_selection:hover{
    box-shadow: 2px 2px 14px #ccc;
}
.step3 .item_category.first_selection, .step3 .choice_answers,
.step4 .item_category.first_selection, .step4 .choice_answers{
    border:2px solid rgba(0,0,0,0.1);
    border-radius:20px;
}
.item_category.first_selection.selected, .choice_answers.selected{
    border:2px solid #308bce;
}
.item_category.first_selection.blocked{
    opacity:0.6;
}
.item_category.first_selection.blocked .summary_block{
    cursor:not-allowed;
}
.item_category.first_selection{
    width: calc(33.33% - 16px);
    border-radius: 20px;
    margin: 0 8px 30px 8px;
}
.item_category.first_selection .summary_block img{
    margin:auto;
    display:block;
}
.item_category.category_detail:not(.selected){
    display:none;
}
.item_category.category_detail{
    margin-bottom: 150px;
}
.item_category .summary_block .title_summary{
    font-size:22px;
}
.item_category.category_detail .summary_block{
    display:flex;
}
.item_category .summary_block img{
    max-width:120px;
}
.item_category .choices_block{
    margin-bottom: 50px;
}

/* Step 3*/

.choices_block{
    max-width: 1200px;
    padding: 0 10%;
    margin-bottom: 20px;
}
.choice_answers{
    display:flex;
    margin-bottom:5px;
    padding:15px;
}
.choice_answers.selected{
    border-radius:20px;
}
.choice_answers label{
    width: calc(100% - 20px);
    padding-right: 10px;
    cursor:pointer;
    font-size: 16px;
    font-weight: 400;
}
.item_category.category_detail.selected .choice_answers.blocked input[type="checkbox"]{
    cursor:not-allowed!important;
}
.item_category.category_detail.selected .choice_answers.blocked input[type="checkbox"] + label{
    opacity:0.6;
}

/* Step 4 */

.step:not(.step3) .choices_block{
    display: flex;
    flex-wrap: wrap;
}
.step:not(.step3) .choice_answers{
    width: calc((100% / 2) - 20px);
    margin: 10px;
}
.step4 .secondary_paragraph{
    margin-top:30px;
}
.step4 .secondary_paragraph > img{
    background-color: #308bce;
    border-radius:100%;
    margin-right:20px;
    padding:10px;
    max-width: 100px;
}

/* Step 5 */


.step5 .choice_answers{
    width: calc(100% / 3);
    color: #000;
    font-weight: 400;
    font-size:16px;
    /* align-self: center;
    display: flex;
    align-items: center; */
    margin-bottom: 20px;
    display:block;
    text-align:center;
    cursor:pointer;
}
.step5 .secondary_paragraph{
    margin-top: 50px;
}
.step5 .secondary_paragraph i{
    background-color: #308bce;
    border-radius:100%;
    margin-right:20px;
    padding:15px 10px;
    display:inline-block;
}
.step5 .secondary_paragraph i > img{
    max-width: 60px;
}

/* Step 6 */

.step6 #newsletter_consent_block{
    margin-bottom: 50px;
    max-width:100%;
    justify-content: center;
}

.step6 input{
    display: inline-block; 
}
.step6 label{
    display: inline-block;
    width: calc(100% - 60px);
    font-size: 16px;
    max-width: 500px;
    vertical-align: middle;
}

.step6 input[type="email"]{
    background-color: white;
    font-family: inherit;
    border: 1px solid #cccccc;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    color: rgba(0,0,0,0.75);
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
    outline: none;    
    text-align: center;
    width: fit-content;
    display: block;
    float: none;
    margin: 10px auto 50px auto;
    min-width: 500px;
    font-size: 20px;
    padding: 10px;
}
.step6 input[type="email"]::placeholder {
   color: #000;
   opacity: 0.3; 
   /* Firefox */
 }
 .step6 input[type="email"]:-webkit-input-placeholder {
   /* Chrome, Safari, Opera */
   color: #000;
   opacity: 0.2; 
}
.step6 input[type="email"]::-ms-input-placeholder {
   /* Microsoft Edge */
   color: #000;
   opacity: 0.2; 
}
.step6 #finish_questionnaire{
    padding:6px 30px;
}
#questionnaire_conseil_form .step6 p.emailAlert, #questionnaire_conseil_form .step6 span.required_field{
    color:red;
    text-align:center;
    font-size:14px;
    margin-top: -40px;
    margin-bottom: 50px;
    display: block;
}
#questionnaire_conseil_form .step6 p.emailAlert{
    display:none;
}
.step6 .end_cta{
    margin-top:20px;
}
.step6 .secondary_paragraph i:not(.name_given){
    /* background-color: #308bce; */
    border-radius:100%;
    margin-right:20px;
    padding:15px;
    display:inline-block;
}
.step6 .secondary_paragraph i:not(.name_given) > img{
    max-width: 50px;
}

/* Resultats */

#columns_results{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    margin-top:80px;
    position:relative;
}

#columns_results .left_column{
    width: 40%;
    max-width: 500px;
    padding-left: 2rem;
}
.left_column .secondary_paragraph{
    max-width:400px;
    margin:auto;
}
#columns_results .left_column img{
    max-width:100%;
}

#columns_results .right_column{
    width:60%;
    text-align:left;
    padding:0 20px;
}
#columns_results .right_column > a{
    display: inline-block;
    padding: 0px 30px;
    margin-top: 20px;
}
#results_survey_container{
    max-width:1300px;
    position:relative;
    background: rgba(255,255,255,0.8);
    text-align:center;   
    margin: auto;
    padding-top: 100px;
    padding-bottom: 50px;
}
#results_survey_container .bloc_title *{
    color:#fff;
}
#results_survey_container .right_column .resume_desequilibre p{
    text-align:left;
}
#results_survey_container .title_lief_right p, #results_survey_container .title_lief_left p{
    margin:0;
}
#plant_composition{
    position:relative;
    margin-top: 50px;
}
#plant_composition #imbalance1,
#plant_composition #imbalance2{
    position: absolute;
    color:#000;
    bottom: 2%;
    left: 4%;
    /* background: #308bce;
    border-radius: 100%; */
    width: 120px;
    /* height: 120px;
    padding: 40px 0px; */
    color: #fff;
    font-weight: 700;
    line-height: 18px;
}
#plant_composition #imbalance1 img,
#plant_composition #imbalance2 img{
    margin-top:5px;
}
#plant_composition #imbalance2{    
    left: 65%;    
}
#plant_composition .lief_plant{
    position:absolute;
    width: 25%;
}
#plant_composition .liefone{
    top: 7%;
    left: 6%;
    transform: rotateZ(-23deg) rotateY(-180deg);
    animation: moveliefone 20s linear infinite;    
    animation-delay: 6s;
}
#plant_composition .lieftwo{
    top: 11%;
    left: 52%;
    transform: rotateZ(10deg);
    animation: movelieftwo 15s linear infinite;
    animation-delay: 3s;
    max-width: 110px !important;

}
#plant_composition .liefthree{
    top: 24%;
    left: 69%;
    animation: moveliefthree 30s linear infinite;
    animation-delay: 8s;
    transform: rotateZ(21deg);
    max-width: 80px !important;
}
#plant_composition .liefdownleft, #plant_composition .liefdownright{
    max-width:100px!important;
}
#plant_composition .liefdownleft{
    top: 35%;
    left: 8%;
    transform: rotateZ(50deg);
    animation: moveliefdownleft 3s linear forwards; 
    animation-delay: 2s;    
}
#plant_composition .liefdownright{
    top: 39%;
    left: 70%;
    transform: rotateZ(-38deg);
    animation: moveliefdownright 3s linear forwards; 
    animation-delay: 2s;    
}
.resume_desequilibre{
    margin-bottom:30px;
}
#results_survey_container .right_column .resume_desequilibre p.title_desequilibre{
    font-size:18px;
    font-weight:700;
    color:#308bce;
}
.title_desequilibre > img{
    max-width: 70px;
    margin-right: 10px;
}
#results_survey_container .right_column hr{
    border-top:1px solid rgba(0,0,0,0.5);
    max-width:90%;
    margin: 0 auto 50px auto;
}
#results_survey_container .right_column hr#separator_sante{
    margin-top:50px;
}
.resume_desequilibre p{
    font-size:16px;
}
.right_column > .secondary_paragraph{
    text-align:center;
}
#results_survey_container p#info_bottom_desequilibre{
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 10px;
    color:#308bce;
    text-align:center;
}
#results_survey_container p#conslutation_map{
    margin-top:30px;
}

 @keyframes moveliefone {
    0% {
      transform: rotateZ(-23deg) rotateY(-180deg);
    }
    15% {
      transform: rotateZ(-30deg) rotateY(-180deg);
    }
    40%, 100% {
      transform: rotateZ(-23deg) rotateY(-180deg);
    }
  }

  @keyframes movelieftwo {
    0% {
      transform: rotateZ(10deg);
    }
    10% {
        transform: rotateZ(16deg);
      }
    20% {
      transform: rotateZ(13deg);
    }
    30% {
        transform: rotateZ(18deg);
      }
    50%,100% {
      transform: rotateZ(10deg);
    }
  } 

  @keyframes moveliefthree {
    0% {
      transform: rotateZ(21deg);
    }
    20% {
      transform: rotateZ(25deg);
    }
    40% {
      transform: rotateZ(18deg);
    }  
    50%,100% {
      transform: rotateZ(21deg);
    }
  } 

  @keyframes moveliefdownleft {
    0% {
      transform: rotateZ(50deg);
    }
    50% {
      transform: rotateZ(40deg);
      top:40%;
      left:9%;
    }
    50%, 100% {
      transform: rotateZ(30deg);
      top:40%;
      left:9%;
    }
  }

  @keyframes moveliefdownright {
    0% {
      transform: rotateZ(-38deg);
    }
    50% {
      transform: rotateZ(-25deg);
      top:42%;
      left:69%;
    }
    50%, 100% {
      transform: rotateZ(-20deg);
      top:43%;
      left:68%;
    }
  }

/* Conseils sante */ 

#conseils_sante{
    text-align:center;
}
#conseils_sante > .secondary_paragraph{
    text-align:center;
    font-weight: bold;
    font-size: 24px;    
    color:#308bce;
}
#conseils_sante > p:not(.secondary_paragraph){
   font-size: 18px;
   margin: auto;
   margin-bottom:20px;
}
#illustration_sante{
    background:url('../img/health/bg_health.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 215px 50px 75px 50px;
    margin-top: -175px;
}
#container_illustration_sante{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
    margin:auto;
}
#container_illustration_sante > p{
    width:calc(100% / 3);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
    text-align: center;
}
#container_illustration_sante > p > .info{
    display: block;
    width: 100%;
    line-height: 18px;
    font-weight: 500;
    margin-top: 10px;
}
#container_illustration_sante > p > .num{
    background: #0093d7;
    color: #fff;
    padding: 5px 16px;
    border-radius: 100%;
    font-size: 20px;
}
#container_illustration_sante > p:last-child > .num{
    padding: 6px 12px;
}
#container_illustration_sante > p > img{    
    max-width: 100px;
    margin-left: 15px;
}

/* Conseils produits */

#conseils_products{
    text-align: center;
}
#conseils_products > .secondary_paragraph{
    text-align:center;
    font-weight: bold;
    font-size: 24px;    
    color:#308bce;
}
#conseils_products > p:not(.secondary_paragraph){
    font-size: 18px;
    margin: auto;
    margin-bottom:20px;
 }
#conseils_products .cover_and_links, #conseils_products .product_item, #conseils_products .product_item .links{
    display:flex;
}
#conseils_products .cover_and_links{
    flex-direction: column;
}
#conseils_products .product_item{
    flex-wrap:wrap;
    margin-bottom: 50px;
}
#conseils_products .product_item .cover{
    width:200px;
    align-self:center;
}
#conseils_products .product_item .cover img{
    width:100%;
    max-width:200px;
}
#conseils_products .product_item .info_product{
    width: calc(100% - 200px);
    padding:0 20px;
    text-align:left;
    margin:auto;
}
#conseils_products .product_item .links{
    justify-content: space-between;
    margin:auto;
    margin-top:30px;
    width:calc(100% - 40px);
}
#conseils_products .product_item .links .link{
    max-width: max-content;
    width: 100%;
    padding: 5px 25px;
    line-height: 40px;
    margin-bottom: 10px;
}
#conseils_products .product_item .info_product p.product_name{
    font-size: 20px;
    font-weight: 700;
    margin-bottom:10px;
}
#conseils_products .product_item .info_product p.product_name img{
    height:auto;
    max-width: 80px;
}
#conseils_products .product_item .info_product p:not(.product_name){
    padding:0 20px;
}
#conseils_products .product_item .info_product p.product_info{
    font-size:16px;
    text-align: justify;
}
#conseils_products .product_item .info_product p.product_posology,
#conseils_products .product_item .info_product p.product_warning{
    font-size:14px;
    margin-top: 20px;
    display:flex;
    align-items: center;
    text-align: justify;
}
#conseils_products .product_item .info_product p.product_posology img,
#conseils_products .product_item .info_product p.product_warning img{
    max-width:40px;
    margin-right:15px;
    background: #12243b;
    border-radius: 100%;
}
#ending_bloc{
    position:relative;
    margin-top:20px;
    padding: 0 3rem;
}
#ending_bloc #info{
    font-size: 18px;
    text-align: center;
    background: #0093d7;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
    max-width: fit-content;
    line-height: 30px;
    padding: 15px 30px;
    margin: 0 auto 30px auto;
}
#ending_bloc a{
    font-weight: 500;
    color: #308bce;
    text-decoration: underline;
}

/* Responsive */

@media(min-width:992px){
    #columns_results .left_column.fixed{
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
    }
    #columns_results .left_column.fixed + .right_column,
    #columns_results .left_column.bottom + .right_column{
        margin-left: 40%;
        position:relative;
    }
    #columns_results .left_column.bottom{
        top:inherit;
        position:absolute;
        bottom:50px;
    }
}

@media(max-width:991px){
    #intro .bloc_title, .primary_paragraph{
        font-size:20px;
        line-height:26px;
    }
    .title_lief_left > img, .title_lief_right > img{
        max-width:70px;
        top:-80px;
    }
    .title_lief_right > img {
        right: 12px;
        top: -80px;
    }
    #questionnaire_conseil_container{   
        padding:0 15px 50px 15px;
    }
    #questionnaire_conseil_form #intro #info{
        font-size:16px;
    }
    /* #module-id_questionnaire_conseil-survey #center_column{
        margin-top:170px;
    } */
    #questionnaire_conseil_form h1, #results_survey_container h1{
        line-height:60px;
        margin-bottom:100px;
        display:block;
    }
    #intro input[type="text"], .step6 input[type="email"]{
        width:100%;
        min-width:inherit;
        max-width:500px;
    }
    #columns_results .left_column{
        width:100%;
        margin:auto;
        margin-bottom:50px;
    }
    #results_survey_container .title_lief_left{
        margin-bottom:0;
    }
    #columns_results{
        margin-top:0;
    }
    #columns_results .right_column{
        width:100%;
    }
    
}
@media(max-width:767px){
    .item_category.first_selection{
        width: calc(50% - 16px);
    }
    .item_category .summary_block .title_summary, .secondary_paragraph{
        font-size:18px;
        line-height:20px;
    }
    .step4 .secondary_paragraph{
        display: inline-flex;
        align-items: center;
    }
    #questionnaire_conseil_form .link{
        font-size:20px;
    }
    #conseils_products .product_item .cover{
        margin:auto;
    }
    #conseils_products .product_item .info_product{
        width:100%;
    }
}

@media(max-width:480px){
    .item_category.first_selection{
        width: calc(100%);
    }
    .step:not(.step3) .choice_answers{
        width:100%;
    }
}

