/* =========================================================
       HOOFDMENU + ZOEKEN
       ========================================================= */

.bd-mainmenu {
    display: flex;
    align-items: center;
    width: 100%;
}

    .bd-mainmenu .navbar-collapse {
        display: flex !important;
        align-items: center;
        min-width: 0;
    }

.bd-mainmenu-nav {
    flex: 0 0 auto;
}


/* =========================================================
       GLOBALE ZOEKBALK
       ========================================================= */

.bd-global-search {
    flex: 0 1 430px;
    min-width: 300px;
    margin-left: auto;
    padding-left: 18px;
}

.bd-global-search-form {
    width: 100%;
    margin: 0;
}

.bd-global-search-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 36px;
}

.bd-global-search-scope {
    flex: 0 0 118px;
    width: 118px;
    height: 36px;
    padding: 0 36px 0 10px;
    border: 1px solid #d5dadd;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background-color: #fff;
    color: #000000;
    font-size: 11px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #687178 50%), linear-gradient(135deg, #687178 50%, transparent 50%);
    background-position: calc(100% - 18px) 15px, calc(100% - 14px) 15px;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}

.bd-global-search-input-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

    .bd-global-search-input-wrap input {
        width: 100% !important;
        height: 36px !important;
        box-sizing: border-box;
        /* Extra ruimte voor de rode wissen-knop */
        padding: 0 38px 0 11px !important;
        border: 1px solid #d5dadd !important;
        border-radius: 0 !important;
        background: #fff;
        color: #333;
        /* Zoektekst duidelijker */
        font-size: 11px;
        font-weight: 600;
        line-height: 36px;
        outline: none;
    }

        .bd-global-search-input-wrap input::placeholder {
            font-weight: 400;
            color: #aeb4b8;
        }


        .bd-global-search-input-wrap input:focus,
        .bd-global-search-scope:focus {
            border-color: #aeb9bf !important;
        }

.bd-global-search-clear {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d9534f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

    .bd-global-search-clear:hover {
        background: #c9302c;
        color: #fff;
    }

.bd-global-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0 4px 4px 0;
    background: #5f5e5a;
    color: #fff;
    cursor: pointer;
}

    .bd-global-search-submit:hover {
        background: #4f4e4b;
    }

    .bd-global-search-submit .lnr {
        font-size: 15px;
    }

.bd-mainmenu-nav [data-menu-section].is-active-section {
    color: #1e1d1d !important;
    padding: 5px;
    border-bottom: 2px solid;
}


/* =========================================================
       SMALLER DESKTOP
       ========================================================= */

@media (max-width: 1199px) {

    .bd-global-search {
        flex-basis: 350px;
        min-width: 260px;
        padding-left: 10px;
    }

    .bd-global-search-scope {
        flex-basis: 108px;
        width: 108px;
    }
}

/* =========================================================
   MOBIEL GLOBAAL ZOEKEN
   ========================================================= */

.bd-mobile-global-search {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

    .bd-mobile-global-search .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

.bd-mobile-global-search-form {
    width: 100%;
    margin: 0;
}

.bd-mobile-global-search-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 42px;
}

.bd-mobile-global-search-scope {
    flex: 0 0 125px;
    width: 125px;
    height: 42px;
    padding: 0 28px 0 9px;
    border: 1px solid #d5dadd;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background-color: #fff;
    font-weight: 600;
    color: #555;
    font-size: 12px;
    outline: none;
    white-space: nowrap;
}

.bd-mobile-global-search-input-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

    .bd-mobile-global-search-input-wrap input {
        width: 100% !important;
        height: 42px !important;
        box-sizing: border-box;
        padding: 0 36px 0 10px !important;
        border: 1px solid #d5dadd !important;
        border-radius: 0 !important;
        background: #fff;
        color: #333;
        font-size: 13px;
        outline: none;
    }

.bd-mobile-global-search-clear {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d9534f;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

.bd-mobile-global-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #4f4e4b;
    color: #fff;
    cursor: pointer;
}
