html, body {
    overflow-y: auto !important;
}
/* Block 1 */
#section_1{
    min-height: 65%;
}
#section_1::before {
    content: "";
    position: absolute;
    background-image: url('../img/image_fond.jpg');
    background-image: url('../img/image_fond.webp');
    background-repeat: no-repeat;
    height: 100%;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.5;
}
body.page-decouverte #section_1::before {
    background-size: cover;
    background-position: center;
    opacity: 1;
}
.hero_card{
    max-width: 900px;
    margin: 40px auto;
    padding: 55px 60px;
    border-radius: 8px !important;
}
.hero_logo{
    max-width: 380px;
    width: 100%;
}
.hero_subtitle{
    color: #444;
    font-size: 21px;
    margin: 28px 0 30px;
}
.hero_search_bar{
    display: flex;
    align-items: center;
    background: #f4f6f7;
    border: 1px solid #e2e6e8;
    border-radius: 8px;
    padding: 8px 8px 8px 20px;
}
.hero_search_bar #div_search_insee{
    flex: 1;
    width: auto;
    min-width: 0;
}
.hero_search_bar input{
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 15px !important;
}
.hero_search_bar input::placeholder{
    font-size: 15px;
    color: #8a959a;
}
.hero_search_bar .btn{
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 6px !important;
}
@media only screen and (max-width: 600px){
    .hero_card{
        margin: 20px auto;
        padding: 24px 18px;
    }
    .hero_logo{
        max-width: 220px;
    }
    .hero_subtitle{
        font-size: 16px;
        margin: 16px 0 20px;
    }
    .hero_search_bar{
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 10px;
    }
    .hero_search_bar #div_search_insee{
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        margin-bottom: 0;
    }
    .hero_search_bar .btn{
        flex: 0 0 100%;
        width: 100%;
        margin: 0;
    }
}
#div_search_insee{
    display: inline-block;
    width: calc(100% - 60px);
}
@media screen and (max-width: 600px) {
    #div_search_insee{
        width: 100%;
    }
}
#div_search_insee td, #div_search_insee th{
    padding: 4px 10px;
}
.grouping_row{
    background: #c2d7db;
    color: #3a3a3a;
    text-transform: uppercase;
    font-weight: bold;
}
body.page-decouverte .btn{
    text-transform: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    padding: 14px 30px !important;
    height: auto !important;
    line-height: normal !important;
}
body.page-decouverte .hero_search_bar{
    position: relative;
}
body.page-decouverte #div_search_insee > div{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: auto !important;
}
body.page-decouverte .autocompleted_container{
    border: none;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(30, 60, 70, 0.18);
    margin-top: 8px;
    background: #fff;
}
body.page-decouverte .autocompleted_container table{
    width: 100%;
    border-collapse: collapse;
}
body.page-decouverte .grouping_row{
    background: #eef3f4;
    color: var(--main-color-first);
}
body.page-decouverte .grouping_row td{
    padding: 10px 20px !important;
    font-size: 12px;
    letter-spacing: .5px;
}
body.page-decouverte tr.autocomplete_element td{
    padding: 12px 20px !important;
    line-height: 1.4 !important;
    font-size: 15px;
    color: #3a3a3a;
    border-bottom: 1px solid #f0f2f3;
    transition: background-color .15s ease, color .15s ease;
}
body.page-decouverte tr.autocomplete_element:last-child td{
    border-bottom: none;
}
body.page-decouverte div.autocompleted_container tr.autocomplete_element:hover{
    background-color: #f4f6f7;
}
body.page-decouverte tr.autocomplete_element:hover td{
    color: var(--main-color-first);
    font-weight: bold;
}
body.page-decouverte .autocompleted_container::-webkit-scrollbar{
    width: 8px;
}
body.page-decouverte .autocompleted_container::-webkit-scrollbar-track{
    background: transparent;
}
body.page-decouverte .autocompleted_container::-webkit-scrollbar-thumb{
    background: #c7d2d6;
    border-radius: 4px;
}
.div_height_50{
    height: 50px;
}
.autocompleted_container{
    max-height: 250px !important;
}
/* Block 2 */
#section_2{
    min-height: 20%;
}
body.page-decouverte #section_2{
    padding: 70px 0;
}
.border_bottom{
    border-bottom: 3px var(--main-color-first) solid;
}
.panel_mt{
    width: calc(100% / 3.05);
    margin: 0;
    display: inline-block;
}
.float-left {
    float: left;
}
.solutions_title{
    color: #3a3a3a;
    font-size: 22px;
    font-weight: 900 !important;
    letter-spacing: .5px;
}
.solutions_divider{
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 25px;
}
.solutions_divider span{
    display: block;
    height: 3px;
    border-radius: 2px;
}
.solutions_divider span:nth-child(1){ width: 40px; background: var(--main-color-first); }
.solutions_divider span:nth-child(2){ width: 20px; background: var(--main-color-fourth); }
.solutions_divider span:nth-child(3){ width: 10px; background: #dbe4e7; }
.solutions_subtitle{
    max-width: 700px;
    font-size: 17px;
    margin: 0 auto 45px;
}
.solutions_row{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.solutions_row > div{
    display: flex;
    margin-bottom: 30px;
}
.solution_card{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px 28px 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(30, 60, 70, 0.09);
    transition: box-shadow .2s ease, transform .2s ease;
}
.solution_card:hover{
    box-shadow: 0 8px 24px rgba(30, 60, 70, 0.14);
    transform: translateY(-2px);
}
.solution_card_body{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.solution_label{
    display: block;
    color: var(--main-color-first);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.solution_title{
    font-size: 25px;
    font-weight: bold;
    color: #2c2c2c;
    margin: 0 0 14px;
}
.badge_new{
    display: inline-block;
    background: var(--main-color-third);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 20px;
    padding: 4px 10px;
    vertical-align: middle;
    margin-left: 8px;
}
.solution_desc{
    color: #6b7378;
    font-size: 15px;
    margin-bottom: 20px;
}
.solution_logo_box a{
    display: contents;
}
.solution_logo_box{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f6f7;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    min-height: 140px;
}
.solution_logo{
    max-width: 85%;
    max-height: 70px;
}
.solution_logo_caption{
    margin-top: 15px;
    font-size: 13px;
    color: #6b7378;
}
.solution_btn{
    align-self: center;
    display: block;
    width: fit-content;
    text-align: center;
    margin: 25px auto 0;
}
/* Block 3 */
body.page-decouverte #onglet_contact{
    padding: 70px 0;
}
.contact_title{
    font-size: 18px;
    font-weight: 700 !important;
}
.contact_title_main{
    display: block;
    font-size: 22px;
    font-weight: 900 !important;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
#onglet_contact hr{
    width: 170px;
}
.contact_row{
    margin-top: 40px;
    margin-bottom: 40px;
}
.contact_box{
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    padding: 30px 25px;
    height: 100%;
}
.contact_box p{
    margin-bottom: 20px;
}
.contact_box .btn{
    border-radius: 24px !important;
}
.contact_phone{
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}
.footer_row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer_tagline{
    text-align: left;
    font-size: 14px;
}
.footer_legal{
    text-align: right;
    font-size: 14px;
}
@media only screen and (max-width: 992px){
    .footer_tagline, .footer_legal{
        text-align: center;
    }
}

.auto_form_modal{
    max-height: 98%;
    height: 90%;
    width: 98%;
    top: 5% !important;
}
/* COOKIES */
body #tarteaucitronRoot div#tarteaucitronAlertBig{
    border-radius: 5px;
}

@media only screen and (max-width: 600px){
    #section_1{
        min-height: 75%;
    }
    #search_insee{
        width: 100%;
    }
    .panel_mt{
        width: calc(100% / 3);
    }
}
