
/* =====================================================
   SPS MODERN 2027 MOBILE
   header.css
   ===================================================== */

@media screen and (max-width: 767px) {

    .main-header {
        position: relative;
        width: 100%;
        z-index: 1030;
    }

    .main-header .logo {
        display: none;
    }

    .main-header .navbar {
        margin-left: 0;
        min-height: 54px;
        border-radius: 0;
        box-shadow: 0 3px 14px rgba(0,0,0,.10);
    }

    .main-header .sidebar-toggle {
        min-height: 54px;
        padding: 17px 15px;
        font-size: 17px;
    }

    .main-header .navbar-custom-menu {
        max-width: calc(100% - 48px);
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .main-header .navbar-custom-menu::-webkit-scrollbar {
        display: none;
    }

    .main-header .navbar-custom-menu > .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        float: none;
        width: max-content;
        margin: 0;
    }

    .main-header .navbar-custom-menu > .navbar-nav > li {
        float: none;
        flex: 0 0 auto;
    }

    .main-header .navbar-custom-menu > .navbar-nav > li > a {
        display: flex;
        align-items: center;
        justify-content: center;

        min-width: 43px;
        height: 54px;
        padding: 0 12px;

        font-size: 16px;
    }

    .main-header .navbar-custom-menu .label,
    .main-header .navbar-custom-menu .badge {
        font-size: 10px;
    }

    .main-header .navbar-custom-menu .dropdown-menu {
        max-width: calc(100vw - 20px);
    }

    .main-header .navbar-custom-menu .user-image {
        width: 25px;
        height: 25px;
        margin-top: 0;
    }

    .main-header .navbar-custom-menu .hidden-xs {
        display: none !important;
    }
}
