/* CSS rules for wavy-banners bobex.com */

/*
General rules
*/
#banner {
    position: relative;
    background-color: var(--home-banner-bg);
    z-index: 1;
}

#banner input,
#banner button {
    border: none;
}

#banner input {
    border-radius: 50px;
    padding: 20px;
    padding-right: 50px;
    box-shadow: unset;
    border-right: unset;
    border: 1px solid #22222236;
}

#banner input:focus-visible {
    outline: none;
}

#banner input::placeholder {
    color: #999;
}

#banner button {
    width: 15%;
    background-color: white;
    box-shadow: unset;
}

#banner #home_search i {
    right: 6%;
}

#banner input {
    height: 55px;
    border-radius: 30px;
}

#banner input::placeholder {
    font-size: 1.2em;
}

#banner .search-input-wrapper {
    width: 100%;
}

#banner_image_1_wrapper {
    width: 800px;
    height: 800px;
    border-radius: 999px;
    overflow: hidden;
    position: absolute;
    top: -19%;
    left: 29%;
    z-index: 2;
    box-shadow: 3px 6px 10px 3px #00000030;
}

#banner_image_1 {
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: 100%;
    position: relative;
    left: -176px;
}

#banner_image_2_wrapper {
    width: 500px;
    height: 500px;
    border-radius: 999px;
    overflow: hidden;
    position: absolute;
    top: 45%;
    left: -1%;
    z-index: 2;
    box-shadow: 3px 6px 10px 3px #00000030;
}

#banner_image_2 {
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: 100%;
}

#banner_image_2_wrapper > picture {
    display: block;
}

#banner_image_2_wrapper > picture > img {
    height: 500px;
    transform: translateX(-50%);
    right: -50%;
    position: relative;
    max-width: unset;
    width: 500px;
    object-fit: cover;
}

#banner_image_2_wrapper .banner_local {
    width: 350px;
    height: 350px;
    top: -30% !important;
}

.banner_row {
    width: 100%;
    display: inline-flex;
    position: relative;
    z-index: 1;
}

.banner_column_1 {
    padding-top: 2em;
    display: inline-block;
    width: 50%;
}

.banner_column_2 {
    display: inline-block;
    width: 50%;
}


/*
Front-page banner
*/
.front-page-banner {
    min-height: 750px;
}

.front-page-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 250px;
    background: url(https://www.bobex.be/fr-be/wp-content/themes/bobex.com/wp-images/home-banner-wave.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


/*
Single page banner
*/
.home_banner_wave {
    position: absolute;
    width: 100%;
    bottom: -13px;
}


/*
B2C-B2B page banner
*/
.home_b2c_banner {
    background-color: var(--home-banner-bg) !important;
    background-image: none !important;
    position: relative;
    min-height: 450px;
    z-index: 1;
}

.home_b2c_banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 250px;
    background: url(https://www.bobex.be/fr-be/wp-content/themes/bobex.com/wp-images/home-banner-wave.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.home_b2c_banner > img {
    z-index: 2;
}

.home_b2c_banner .banner_column_1 {
    display: flex;
    position: relative;
    z-index: 2;
}

/*@media (min-width: 1280px) {*/
/*    #banner .search-input-wrapper .banner_health_search_icon {*/
/*        right: 10% !important;*/
/*    }*/
/*}*/

/* Media queries for screens up to 1279px */
@media screen and (max-width: 1279px) {
    #banner {
        overflow: unset !important;
        height: unset !important;
        min-height: unset;
    }

    #banner h1 {
        text-align: center;
        margin-top: 26px !important;
    }

    #banner_image_1_wrapper,
    #banner_image_2_wrapper,
    #banner_image_2 {
        display: none !important;
    }

    .banner_row {
        display: block;
    }

    .banner_column_1 {
        width: 100%;
    }

    .banner_column_1 .h1 {
        text-align: center;
        margin-top: 20px !important;
    }

    .banner_column_1 .home_subheading_text {
        text-align: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .banner_column_1 > div {
        padding-top: 0 !important;
    }

    .banner_column_2 {
        width: 100%;
    }

    .home_banner_wave {
        display: none;
    }

    .front-page-banner::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: unset;
        background: unset;
        background-size: unset;
        background-repeat: unset;
    }

    .banner_local_content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .home_b2c_banner::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: unset;
        background: unset;
        background-size: unset;
        background-repeat: unset;
    }

    .home_b2c_banner .h1 {
        display: block;
    }

    .home_b2c_banner .banner_column_1 > div {
        width: 100%;
    }
}

/* Media queries for screens up to 767px */
@media screen and (max-width: 767px) {
    #banner {
        min-height: unset;
    }

    #banner h1 {
        text-align: center;
        margin-top: 26px !important;
    }

    #banner #home_search i {
        right: 9%;
    }
}





