﻿body {
    background-color: var(--background-color);
}

/* navbar */
.navbar {
    position: fixed;
    top: 0px;
    width: 100%;
    left: 0;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    padding-left: 45px;
    z-index: 100;

}

.logo_item {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.navbarLogo {
    width: 240px;
    height: 96px;
    object-fit: cover;
}

.userInfo {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-right: 100px;
}

    .userInfo span {
        margin-top: 13px;
        text-align: left;
        font-style: normal;
        font-weight: 400;
        font-size: 20px;
        line-height: 24px;
        font-family: "Montserrat", sans-serif;
        letter-spacing: 0px;
        color: #6A6A6A;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    .userInfo small {
        text-align: left;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 15px;
        font-family: "Montserrat", sans-serif;
        letter-spacing: 0px;
        color: #6A6A6A;
        text-transform: uppercase;
        margin-bottom: 13px;
    }

.nameOfUser {
    text-transform: capitalize !important;
}

.profileImg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    right: -100px;
    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: 100px;
    position: relative;
    width: fit-content;
    top: 0px;
    position: absolute;
    right: 40px;
}

/* sidebar */
.sidebar {
    background-color: var(--white-color);
    width: 100px;
    position: fixed;
    top: 120px;
    left: 41px;
    height: 800px;
    z-index: 100;
    overflow-y: scroll;
    box-shadow: 0 0 10px var(--grey-color-light);
    transition: all 0.5s ease;
    border-radius: var(--border-radius-sidebar);
    overflow: hidden;
    
}

    .sidebar::-webkit-scrollbar {
        display: none;
    }

.menu_content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.menu_items {
    position: relative;
    height: 80%;
    margin-bottom: 0px;
}

.menu_title {
    margin: 15px 0;
    padding: 0 20px;
    font-size: 18px;
}


    .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 {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: start;
    flex-direction: column;
    margin-bottom: 85px;
}

    .menu_items .item {
        margin-bottom: 30px;
        height: 86px;
        width: 86px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }
        /*
        .menu_items .item:hover .iconSidebar,
        .menu_items .item:hover .sidebarItem {
            transform: translateX(-5px);
            transition: .2s ease-in;
        }*/

        .menu_items .item:last-child {
            margin-top: 0px;
            margin-bottom: 0px;
        }

        

.navlink_icon {
    position: relative;
    font-size: 22px;
    min-width: 50px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 6px;
}

    .navlink_icon::before {
        content: "";
        position: absolute;
        height: 100%;
        width: calc(100% + 100px);
        left: -20px;
    }


    .navlink_icon:hover {
        background: var(--blue-color);
    }

.iconSidebar {
    width: 55px;
    height: 55px;
    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;
}

.submenu__content {
    position: relative;
    display: flex;
    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 {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 260px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.bottom {
    position: absolute;
    display: flex;
    align-items: center;
    left: 0;
    justify-content: space-around;
    padding: 18px 0;
    text-align: center;
    width: 100%;
    color: var(--grey-color);
    border-top: 1px solid var(--grey-color-light);
    background-color: var(--white-color);
}

    .bottom i {
        font-size: 20px;
    }

    .bottom span {
        font-size: 18px;
    }

#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;
    }
}


.home-section {
    position: relative;
    height: 100vh;
    left: 341px;
    width: calc(100% - 141px);
}

.sidebar ~ .home-section {
    left: 120px;
    width: calc(100% - 120px);
    top: 0;
    position: absolute;
    z-index: -10;
}

.home-section .home-content {
    display: flex;
    align-items: center;
    top: 170px;
    position: relative;
    margin-left: 75px;
    margin-right: 48px;
}

/* Dashboard */
.page-content {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 39px;
    border: 1px solid red;
}

.entryTitle {
    margin-top: 24px;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0px;
    color: #6A6A6A;
    text-transform: uppercase;
}

.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: 130px !important;
    }

    .sidebar ~ .home-section {
        left: 100px;
        width: calc(100% - 100px);
    }

    /* sidebar*/
    .sidebar {
        height: 675px;
    }

    .menu_items .item {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

        .menu_items .item.logout {
            bottom: 70px;
            position: absolute;
        }
}
