/*--------------------------*/
/*---- css-03-menu.css- ----*/
/*--------------------------*/

body:not(.layout-fixed) .main-sidebar {
    height: inherit;
    min-height: 100%;
    position: fixed;
    top: 0;
}

.sidebar-dark-primary {
    background-color: #525252;
}

img.logo-xs {
    align-self: center;
}


.navbar-white {
    background-color: var(--white-color);
}

.nav-link {
    color: var(--white-color) !important;
    width: 100% !important;
    opacity: 1;
    font-weight: 500;
}

a.nav-link i {
    color: #A6A6A6;
}

a.nav-link p {
    padding-left: 3px;
}

.nav-item {
    padding: 5px 0px;
}

.menu-top {
    opacity: 1;
}

.navbar .user-menu .nav-link {
    color: var(--text-color) !important;
    opacity: 1;
    font-weight: 500 !important;
}

a.brand-link.logo-switch {
    background: white;
}

.navbar .nav-item .nav-link i.fa-bars {
    color: var(--text-color) !important;
    opacity: 1;
}


.nav-link.active {
    opacity: 1;
    background-color: transparent !important;
    box-shadow: 0 0 0 !important;
    color: var(--secondary-background) !important;
}

a.nav-link.active i.fas.fa-fw,
.nav-item.menu-open>.nav-link,
a.nav-link.active i.far.fa-fw {
    color: #EDA505;
}

a.nav-link.active p,
.nav-item.menu-open>.nav-link.active p {
    color: #ffffff;
    font-weight: 600;
}

@media (min-width: 1024px) {

    .main-sidebar,
    .main-sidebar::before {
        width: 250px;
    }

    nav.main-header.navbar.navbar-expand.navbar-white.navbar-light {
        margin-left: 250px;
        box-shadow: 0px 10px 14px #00000022;
    }
}

img.logo-xl {
    width: stretch;
    left: 0;
    height: 67px;
    top: 0;
    z-index: 1;
    box-shadow: 0px 10px 14px #00000022;
}

.brand-link {
    padding: 10px 25px;
}

.sidebar-collapse .brand-link {
    padding: 5px;
}

.nav-treeview a {
    padding-left: 35px !important;
}

a.nav-link.dropdown-toggle i {
    color: var(--text-color) !important;
    padding-right: 6px;
}

a.nav-link.menu-top {
    font-size: 18px;
}

.sidebar-collapse .nav-treeview a {
    padding-left: 16px !important;
}

.main-header .navbar-nav .nav-item {
    display: flex;
}

.navbar-page-title {
    font-size: 18px;
    text-transform: uppercase;
    color: var(--white-color);
    align-content: center;
}

[class*=sidebar-dark] .brand-link {
    border: none;
}

a.brand-link.logo-switch {
    padding: 18px 18px;
}

.sidebar-collapse a.brand-link.logo-switch {
    padding: 18px 8px;
}

.sidebar {
    font-size: 18px;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item.menu-open>.nav-link,
[class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link,
[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:hover {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
}

.nav-treeview a {
    padding-left: 35px !important;
    font-size: 17px;
}

a.nav-link.tabs,
.btn-tab {
    opacity: 1;
    background-color: transparent !important;
    box-shadow: 0 0 0 !important;
    font-size: 16px;
    color: var(--text-color) !important;
    text-transform: uppercase;
}

a.nav-link.tabs.active,
.btn-tab:hover {
    opacity: 1;
    background-color: #ffffff00 !important;
    border-bottom: solid 5px #EDA505;
    box-shadow: 0 0 0 !important;
    color: #EDA505 !important;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .nav-link.tabs {
        min-height: 75px;
        align-content: center;
    }
}

/* CORRETTIVI VELOCI SOLO FONT */

/* Notebook 1366 */
@media (max-width: 1366px) {
    a.nav-link.menu-top {
        font-size: 16px !important;
    }

    .navbar-page-title {
        font-size: 16px !important;
    }

    .sidebar {
        font-size: 16px !important;
    }

    .nav-treeview a {
        font-size: 15px !important;
    }

    a.nav-link.tabs,
    .btn-tab {
        font-size: 16px !important;
    }
}

/* iPad Pro 1024 */
@media (max-width: 1024px) {
    a.nav-link.menu-top {
        font-size: 15px !important;
    }

    .navbar-page-title {
        font-size: 15px !important;
    }

    .sidebar {
        font-size: 15px !important;
    }

    .nav-treeview a {
        font-size: 14px !important;
    }

    a.nav-link.tabs,
    .btn-tab {
        font-size: 15px !important;
    }
}

/* Tablet 768 */
@media (max-width: 768px) {
    a.nav-link.menu-top {
        font-size: 14px !important;
    }

    .navbar-page-title {
        font-size: 14px !important;
    }

    .sidebar {
        font-size: 14px !important;
    }

    .nav-treeview a {
        font-size: 13px !important;
    }

    a.nav-link.tabs,
    .btn-tab {
        font-size: 14px !important;
    }
}
