/* Responsive mobile-first (desktop only styles) */
@media (min-width: 768px) {
    .navbar {
        height: 82px;
    }

    .navbar-brand {
        margin-right: 100px;
        margin-left: 50px;
        flex: none;
    }

    .navbar,
    .dropdown-menu {
        font-size: 14px;
    }

    .navbar-logo.mobile-only {
        display: none;
    }

    .navbar-logo.desktop-only {
        display: flex;
        flex: none;
        justify-content: center;
        align-items: center;
        padding-right: 20px;
        padding-left: 20px;
    }

    .navbar-collapse {
        background-color: transparent;
        padding: 10px;
        padding-right: 20px;
    }

    .dropdown .dropdown-menu,
    .dropdown-submenu .dropdown-menu,
    .dropdown:hover .dropdown-submenu .dropdown-menu {
        transition: all 0.25s ease-in-out;
        opacity: 0;
    }

    .dropdown .dropdown-menu,
    .dropdown-submenu .dropdown-menu,
    .dropdown:hover .dropdown-submenu .dropdown-menu {
        visibility: hidden;
        display: block;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown .dropdown-submenu:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }

  .navbar-nav>li>.dropdown-menu:before {
    font-family: 'Font Awesome 6 Free';
    content: '\f0d8';
    font-size: 24px;
    position: absolute;
    top: -20px;
    left: 5%;
    color: #FFF;
  }

    .navbar-nav > li > a,
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
    }

        .navbar-nav > li > a[href]:hover,
        .navbar-nav > li > a[href]:active,
        .navbar-nav > li > a[href]:focus {
            color: white;
            text-decoration: none;
        }

            .navbar-nav > li > a[href]:hover:after,
            .navbar-nav > li > a[href]:active:after,
            .navbar-nav > li > a[href]:focus:after {
                content: '';
                display: block;
                height: 0;
                position: absolute;
                width: 40px;
                overflow: hidden;
                bottom: -20px;
                left: calc(50% - 20px);
                z-index: 2;
                border-bottom: 2px solid white;
            }

    .dropdown-menu,
    .dropdown-menu[data-bs-popper] {
        margin-top: 10px;
        border-radius: 4px;
        border: 1px solid #ddd;
        background: #fff;
        box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    }

    .dropdown-submenu .dropdown-menu > li:first-of-type {
        border-top: none;
    }

    .dropdown-submenu .dropdown-menu {
        width: auto;
        background: white;
        border: 1px solid rgba(0, 0, 0, .15);
    }

        .dropdown-submenu .dropdown-menu a {
            margin-left: 0;
        }

    .dropdown-submenu a {
        width: 100%;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu {
        left: 100%;
        margin-top: -9px;
        box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    }

    .dropdown-submenu > a.dropdown-submenu-toggler {
        width: 100%;
    }

    .dropdown-submenu > a::after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: var(--slate);
        margin-top: 5px;
        margin-right: 0;
    }

    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.1em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        position: relative;
        top: auto;
        right: auto;
        font-size: 14px;
    }

    .dropdown-toggle.show::after {
        content: "";
    }

    .dropdown-submenu-toggle {
        display: none;
    }

    /* ICON MENU */

    .icon-menubar {
        justify-content: space-between;
        padding-top: 0;
    }

        .icon-menubar > li > .dropdown-menu:before {
            left: auto;
            right: 5%;
        }

        .icon-menubar .dropdown-toggle,
        .icon-menubar > li > .dropdown-divider {
            display: none;
        }

        .icon-menubar .icon-link {
            display: inline-block;
            width: 25px;
            height: 25px;
            background: white;
            border: solid 1px white;
            border-radius: 10em;
            color: var(--cogency-blue);
            margin: 0 3px;
        }

  .icon-menubar .dropdown:hover .icon-link {
    background: var(--white-smoke);
    border-color: var(--white-smoke);
  }

  .icon-menubar .icon-link .fa-solid {
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

        .icon-menubar .dropdown-menu {
            right: 0;
        }

        .icon-menubar .dropdown-submenu > .dropdown-menu {
            left: -100%;
            right: 100%;
            margin-top: -8px;
        }

        .icon-menubar .dropdown-submenu > a:after {
            display: none;
        }

        .icon-menubar .dropdown-submenu > a:before {
            position: absolute;
            content: " ";
            width: 0;
            height: 0;
            border-color: transparent;
            border-style: solid;
            border-width: 5px 5px 5px 5px;
            border-right-color: var(--slate);
            margin-top: 5px;
            margin-right: 5px;
            margin-left: -15px;
        }

    /* SEARCH MENU */

    .search-container .navbar-collapse {
        margin-top: 0;
    }

    .search-container .navbar-brand {
        margin-right: 50px;
        margin-left: 25px;
    }

    .search-input-wrapper {
        margin-right: 20px;
        position: relative;
        background-color: transparent;
        width: auto;
        height: auto;
        left: auto;
        top: auto;
    }

        .search-input-wrapper .dx-button.btn-popup {
            display: inline-block;
        }

    .search-options-wrapper .search-options {
        background: #f2f2f2;
        border: none;
        border-top-left-radius: 10em;
        border-bottom-left-radius: 10em;
        color: var(--slate);
        font-size: 12px;
        height: 38px;
        width: 70px;
        outline: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .search-input-wrapper .search-input {
        border-radius: 4px;
        width: 20vw;
        border-color: #ddd !important;
        font-size: 14px;
        position: relative;
        top: auto;
        left: auto;
    }

    .search-options-container .navbar-brand {
        margin-right: 30px;
        margin-left: 15px;
    }

    .search-options-container .search-input-wrapper .search-input {
        border-radius: 0;
        left: auto;
    }

    .search-options-container .search-input-wrapper .select-box {
        border-radius: 0;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
        padding: 0 5px;
        font-size: 12px;
        width: 110px;
        color: var(--slate);
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }

    /* DevEx Widgets */
    .field-label {
        text-align: right;
    }
}
