@ -1,227 +1,218 @@ ﻿body {
    background-color: var(--background-color);
}

/* navbar */
.navbar {
    position: fixed;
    width: 100%;
    height: 50px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    z-index: 100;
    margin: 5px;
}

.logo_item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 50px;
    backdrop-filter: blur(800px);
    background-image: linear-gradient(to bottom right, rgba(242, 242, 242, 0.50), rgba(242, 242, 242, 0.25), rgba(242, 242, 242, 1));
    box-shadow: inset 0 0 50px 10px rgba(255, 255, 255, 0.3), inset 0 0 20px 5px rgba(255, 255, 255, 0.4), 4px 2px 16px 1px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border-radius: 10px;
}

.navbarLogo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.userInfo {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-right: 100px;
    height: 50px;
}

    .userInfo span {
        text-align: left;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 24px;
        font-family: "Roboto Serif", serif;
        letter-spacing: 0px;
        color: #353535;
        text-transform: uppercase;
    }

    .userInfo small {
        text-align: left;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        font-family: "Roboto Serif", serif;
        letter-spacing: 0px;
        color: #353535;
        text-transform: uppercase;
        margin-bottom: 13px;
    }

.nameOfUser {
    margin-bottom: 5px;
    font-family: 'Roboto Serif', serif;
    font-size: 12px;
    font-weight: 400;
    color: #353535;
}

.profileImg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    right: -95px;
    position: absolute;
}

.profileBoxName {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--box-background);
    color: var(--white-color);
}

    .profileBoxName > small {
        font-weight: 600;
        font-size: 25px;
        margin: 0;
    }

.search_bar {
    height: 47px;
    max-width: 430px;
    width: 100%;
    position: absolute;
    left: 325px;
}

    .search_bar input {
        width: 343px;
        height: 38px;
        border-radius: 15px;
        outline: none;
        background-color: var(--white-color);
        border: 1px solid var(--grey-color-light);
        padding: 0 20px;
        text-align: left;
        font: normal normal normal 12px/15px Montserrat;
        letter-spacing: 0px;
        color: #6A6A6A;
    }

    .search_bar .iconSearch {
        width: 45px;
        height: 45px;
        object-fit: cover;
    }

.navbar_content {
    display: flex;
    align-items: center;
    min-width: 223px;
    height: 50px;
    position: relative;
    width: fit-content;
    right: 0px;
}

/* sidebar */
.sidebar {
    height: 40px !important;
    width: 100%;
    position: fixed;
    bottom: 0px;
    backdrop-filter: blur(800px);
    background-image: linear-gradient(to bottom right, rgba(242, 242, 242, 0.50), rgba(242, 242, 242, 0.25), rgba(242, 242, 242, 1));
    box-shadow: inset 0 0 50px 10px rgba(255, 255, 255, 0.3), inset 0 0 20px 5px rgba(255, 255, 255, 0.4), 4px 2px 16px 1px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    z-index: 100000;
    transition: all 0.5s ease;
    padding: 0 20px;
}

    .sidebar::-webkit-scrollbar {
        display: none;
    }

.menu_content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
}

.menu_items {
    position: relative;
    height: 100%;
    height: 100%;
    margin-bottom: 0px;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 0px;
    margin-top: 0;
}

.menu_title {
    display: none;
}

    .menu_title::before {
        color: var(--grey-color);
        white-space: nowrap;
    }

.menu_dahsboard::before {
    content: "Dashboard";
}

.menu_editor::before {
    content: "Editor";
}

.menu_setting::before {
    content: "Setting";
}

.menu_items .item {
    margin-bottom: 0;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

    .menu_items .item:last-child {
        margin-top: 0px;
        margin-bottom: 0px;
    }

.navlink_icon {
    position: relative;
    font-size: 22px;
    @ -237,10 +228,9 @@ position: absolute;
    height: 100%;
    width: calc(100% + 100px);
    left: -50px;
}

    .navlink_icon:hover {
        background: var(--blue-color);
    }

@ -251,209 +241,198 @@ object-fit: cover;
}

.nav_link.active {
    color: var(--hover-menu-color);
}

    .nav_link.active path {
        fill: var(--hover-menu-color);
    }

    .nav_link.active .sidebarItem {
        color: var(--hover-menu-color);
    }

.nav_link:hover .sidebarItem {
    color: var(--hover-menu-color);
}

.nav_link:hover path {
    fill: var(--hover-menu-color);
}

.menu_item {
    text-decoration: none;
    cursor: pointer;
}
.menu_items .item {
    transition: transform 0.2s ease;
}
.menu_items .item:hover {
    background-image: linear-gradient(to bottom right, rgba(242, 242, 242, 0.50), rgba(242, 242, 242, 0.25), rgba(242, 242, 242, 1));
    height: 90%;
    transform: scale(0.9);
    border-radius: 5px;
}

.menu_item.active {
    background-color: transparent;
    border: solid 1px transparent;
    border-radius: 5px;
    border-bottom: 3px solid rgb(168, 171, 173);
    border-bottom-color: royalblue;
}


.menu_item.minimize {
    background-color: transparent;
    border-bottom: 2px solid rgb(168, 171, 173);
    border-radius: 5px;
    border-bottom-color: lightskyblue;
}


.submenu__content {
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transition: .4s ease-in-out;
}

.sidebarItem {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0px;
    color: var(--navbar-item);
    width: 80px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submenu_item .arrow-left {
    position: absolute;
    right: 10px;
    display: inline-block;
    margin-right: auto;
}

.show_submenu ~ .submenu {
    display: block;
}

.show_submenu .arrow-left {
    transform: rotate(90deg);
}

.submenu .sublink {
    padding: 15px 15px 15px 52px;
}

.bottom_content {
    display: none;
}

.bottom {
    display: none;
}

#sidebarOpen {
    display: none;
}

@media screen and (max-width: 768px) {
    #sidebarOpen {
        font-size: 25px;
        display: block;
        margin-right: 10px;
        cursor: pointer;
        color: var(--grey-color);
    }

    .search_bar {
        display: none;
    }

    .sidebar {
        max-width: 95%;
        padding: 0 10px;
    }

    .menu_items {
        gap: 15px;
    }

        .menu_items .item {
            width: 50px;
            height: 50px;
        }

    .iconSidebar {
        width: 45px;
        height: 45px;
    }

    .sidebarItem {
        font-size: 10px;
        width: 60px;
    }
}

.home-section {
    position: relative;
    left: 0;
    width: 100%;
    top: 100px;
}

.sidebar ~ .home-section {
    left: 0;
    width: 100%;
    top: 100px;
}

.home-section .home-content {
    display: flex;
    align-items: center;
    top: 25px;
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
}

/* Dashboard */
.page-content {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 39px;
}

.entryTitle {
    line-height: 39px;
    letter-spacing: 0px;
    text-transform: uppercase;
    margin-top: 8px;
    margin-left: 5px;
    font-family: 'Anybody', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #040404;
}


    .containerBreadcumbs {
    align-items: flex-end;
}

    .containerBreadcumbs .breadcrumb {
        margin-top: unset !important;
        margin-bottom: unset !important;
        font: normal normal normal 12px/15px Montserrat;
        letter-spacing: 0px;
        color: #6A6A6A;
    }

@media only screen and (min-width: 1370px) and (max-width: 1605px) {
    .home-section .home-content {
        top: 30px !important;

    }

    h1.entryTitle{
        margin: 0px !important;
    }

    .sidebar ~ .home-section {
        left: 0;
        width: 100%;
    }

    .sidebar {
        height: 100px;
    }

    .menu_items .item {
        width: 60px;
        height: 60px;
    }
}


/* Contenitore tooltip sopra ogni bottone */
.menu_items .item {
    position: relative; 
    margin-bottom: 0;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    z-index: 1001;
}

    /* Tooltip */
    .menu_items .item .tooltip {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #D8BFD8;
        color: #040404;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        white-space: nowrap;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
        z-index: 1001;
    }

    /* Mostra il tooltip al passaggio del mouse */
    .menu_items .item:hover .tooltip {
        visibility: visible;
        opacity: 1;
        z-index: 1001;
    }

.searchbar-container {
    position: relative;
    left: -200px;
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    margin-bottom: 0px;
    margin-left: -250px;

}

.searchbar {
    width: 100%;
    padding: 8px 42px 8px 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 10px;
    outline: none;
    background-image: linear-gradient(to bottom right, rgba(242, 242, 242, 0.50), rgba(242, 242, 242, 0.25), rgba(242, 242, 242, 1));
    box-shadow: inset 0 0 50px 10px rgba(255, 255, 255, 0.3), inset 0 0 20px 5px rgba(255, 255, 255, 0.4), 4px 2px 16px 1px rgba(0, 0, 0, 0.4);
    background-color: #D8BFD8;
}



/* Icone a sinistra e a destra nella searchbar */
.searchbar-icon-left, .searchbar-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #7f8c8d;
}

.searchbar-icon-left {
    left: 15px;
    cursor: pointer;
}

.searchbar-icon-right {
    right: 15px;
    cursor: pointer;
}
