﻿.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

    .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

.dropdown-menu li {
    position: relative;
}

.dropdown:hover > .dropdown-menu {
    display: block !important;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    left: 100%;
}

.navbar-toggle::after
.dropdown-toggle::after {
    font-size: var(--font-md);
    margin-bottom: -2px;
    background-color: darkslateblue !important;
    color: #FFFFFF !important;
}

.custom-toggle-arrow {
    font-size: 18px;
    margin-top: 1px;
    line-height: 12px;
    background-color: darkslateblue;
}

.menubar,
.dropdown-menu {
    background-color: darkslateblue !important;
    color: #FFFFFF;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    margin-top: -3px !important;
}

    .dropdown-menu ul {
        margin-top: -50px !important;
    }

.dropdown-item {
    color: #FFFFFF !important;
}

.dropdown-divider {
    background-color: lightgray;
}

.navbar-nav .nav-link {
    background-color: darkslateblue !important;
    color: #FFFFFF;
    padding:1px;
}

    .navbar-nav
    .nav-link:hover {
        background-color: steelblue !important;
        color: #FFFFFF !important;
        border-radius: 10px !important;
        padding-top: -1px !important;
    }

    .dropdown-item:hover {
        background-color: steelblue !important;
        color: #FFFFFF !important;
        border-radius: 10px !important;
        padding-top: -1px !important;
    }

.navbar-right-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* <-- never wrap */
    white-space: nowrap; /* <-- stop text wrapping */
}

    .navbar-right-panel > * {
        flex-shrink: 0; /* <-- stop elements from shrinking into next row */
    }

/* ===============================================
       SEARCH BAR
    ================================================ */
.swf-search-box {
    width: 230px;
    position: relative;
}

.swf-search-input {
    background: rgba(255,255,255,.18);
    border: none;
    color: white;
    padding-left: 26px;
    padding-right: 26px;
    border-radius: 8px;
    height: 32px;
}

    .swf-search-input::placeholder {
        color: lightgray;
    }

.swf-search-icon {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: lightblue;
}

.swf-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 17px;
    color: lightblue;
    display: none;
}

.swf-search-result {
    width: 230px;
    max-height: 420px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 6px 0;
}

    .swf-search-result .dropdown-item {
        padding: 6px 12px;
    }

        .swf-search-result .dropdown-item:hover {
            background: #1a5af9;
            color: lightskyblue;
        }

.swf-highlight {
    font-weight: 700;
    color: darkturquoise;
}

/* ===============================================
       FAVORITES & RECENT DROPDOWNS
    ================================================ */
.swf-fav-menu,
.swf-recent-menu {
    min-width: 230px;
    border-radius: 10px;
    padding: 6px 0;
    list-style: none;
}

    .swf-fav-menu .dropdown-item,
    .swf-recent-menu .dropdown-item {
        padding: 6px 12px;
        border-radius: 6px;
    }

        .swf-fav-menu .dropdown-item:hover,
        .swf-recent-menu .dropdown-item:hover {
            background: #6a5af9;
            color: #fff !important;
        }
