
@media only screen and (max-width: 1023px) {
    #menu-wrapper {
        position: absolute;
        top: 100%;
        width: 100%;
        z-index: 999;
        padding: 15px 30px;
        background: #222;
        overflow: visible;
        left: 0;
        right: 0;
        margin: 0;
    }

    #menu-wrapper::before {
        content: '';
        position: absolute;
        top: -10px;
        left: auto;
        right: 25px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;

        border-bottom: 10px solid #222;
    }

    #menu-wrapper .nav > li {
        flex: 0 0 100%;
        max-width: 100%;
        position: initial;
    }

    #menu-wrapper .nav > li > a {
        font-size: 17px;
    }

    #menu-wrapper .nav > li > a.logout-action {
        position: absolute;
        bottom: 9px;
        right: 15px;
        font-size: 20px;
        opacity: .9;
        color: var(--warning-color);
    }

    header .navbar .toggle-nav {
        display: block !important;
    }

    header .navbar-nav li  a span {
        display: inline-block !important;
    }

    .utility-trigger {
        color: #fff;
        border: none;
        font-size: 22px;
        background: none;
        padding: 10px;
        line-height: 20px;
    }

    .main-nav-closed #main-nav-bg {
        width: 0;
    }

    .main-nav-closed #main-nav {
        width: 0;
        overflow: hidden;
    }

    #responsive-search {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 15px;
        background: #222;
    }

    #responsive-search::before {
        content: '';
        position: absolute;
        top: -10px;
        left: auto;
        right: 80px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #222;
    }

    #utility,
    .search-form-wrapper {
        float: none !important;
    }

    .search-form-wrapper.hidden-xs {
        display: none !important;
    }

    .search-form-wrapper .navbar-form {
        margin: 0;
    }
}

@media only screen and (max-width: 991px) {

}


@media only screen and (max-width: 767px) {

    #status,
    #error {
        margin-left: 0;
        left: 15px;
        right: 15px;
        width: auto;
        padding: 10px 25px 10px 5px;
        line-height: 20px;
    }
    .dismiss-status {
        position: absolute;
        right: 0;
        top: 0;
    }
    #status i,
    #error i {
        font-size: 20px;
    }


    .navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
        background: transparent;
        border-color: transparent;
    }

    .flash-message.status,
    .flash-message.error {
        left: 15px;
        right: 15px;
        margin-left: 0;
        width: auto;
        line-height: 20px;
        padding: 7px 20px;
    }


    .nav > li.dropdown.open .dropdown-menu li a { line-height: 25px; }

    #utility .navbar-nav li {
        float: left;
    }
    #searchForm input[type=text],
    #searchForm select {
        margin-bottom: 10px;
    }
    .menu-under-bkg { display: none; }
    #main-content-wrapper.wide-content { padding-left: 15px; }
    header .navbar .toggle-nav {
        margin-top: 10px;
    }
    #customerOrderEdit h3 { margin-top: 0; }

    .borderou_list {
        grid-template-columns: 1fr 1fr;
    }

    /* Product edit second menu */
    .selection-tabs {
        padding: 0;
        margin-top: 20px;
    }
    .selection-tabs ul li.ui-tabs-active::before { display: none; }

    /* Product edit second menu END */


    /* Login page */

    .auth-container {
        margin-top: 50px;
        padding: 15px 20px 20px;
    }

    .Authentication .auth-container .page-header h1 {
        font-size: 1.5em;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .Authentication .auth-container input {
        height: 40px;
        line-height: 40px;
    }

    .Authentication .auth-container button {
        height: 40px;
        line-height: 15px;
        font-size: 15px;
    }

    .footer .avanticart-logo img {
        max-width: 200px;
        height: auto;
    }

    .footer .social-media-icons a {
        height: 30px;
        width: 30px;
        font-size: 19px;
        padding: 3px 0;
    }

    .footer .social-media-icons .facebook-logo {
        font-size: 16px;
    }

    .Authentication .little-spy {
        display: none;
    }

    /* login page END */
}
