/* HEADER STYLE */

/* Header Styles */
/*
header {
    background-color: #FFFFFF;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    padding: 0; 
}

header .site-branding {
    display: inline-block;
    height: 100%;
}

header .site-branding a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    height: 100%;
}

header .site-branding img {
    max-width: 350px;
    height: auto;
    width: 100%;
}

header nav.desktop-navigation {
    display: flex;
    height: 100%; 
}

header nav.desktop-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    height: 100%; 
    align-items: center;
}

header nav.desktop-navigation ul li {
    margin: 0; 
    height: 100%;

}
*/

.top-bar {
    height: 32px;
    width: 100%;
    background: #1d2327;
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.user-dropdown .dropdown-toggle {
    text-decoration: none;
    color: white;
    font-size: 14px;
}

.user-dropdown .dropdown-toggle i {
    font-size: 16px;
}

.user-dropdown .dropdown-menu {
    min-width: 150px;
}


header nav.desktop-navigation ul li.current-menu-item{
    background: rgb(119, 168, 76);
    background: -moz-linear-gradient(top, rgba(119, 168, 76, 1) 0%, rgba(111, 156, 69, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(119, 168, 76, 1) 0%, rgba(111, 156, 69, 1) 100%);
    background: linear-gradient(to bottom, rgb(119, 168, 76) 0%, rgb(111, 156, 69) 100%);
}
header nav.desktop-navigation ul li.current-menu-item a{
    color: #ffffff;
}

header nav.desktop-navigation ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 0 15px; /* Add padding inside the menu items */
    font-size: 0.8rem;
    height: 100%; /* Ensure it takes the full height of the header */
    transition: background-color 0.3s;
    border-radius: 0px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

header nav.desktop-navigation ul li a:hover {
    background-color: rgb(119, 168, 76);
    border-radius: 0px !important;
}

/* Base styles for the menu items */
.primary-menu-ul .menu-item a {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
    text-decoration: none;
    position: relative;
    height: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: -webkit-center;
}

/* Specific icons for each menu item */
.primary-menu-ul .menu-item-29 a:before {
    content: "";
    background-image: url('../images/icons/dashboard.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-30 a:before {
    content: "";
    background-image: url('../images/icons/facilities.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-8726 a:before {
    content: "";
    background-image: url('../images/icons/facilities.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-33 a:before {
    content: "";
    background-image: url('../images/icons/inventory.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-36 a:before {
    content: "";
    background-image: url('../images/icons/users.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-39 a:before {
    content: "";
    background-image: url('../images/icons/action-items.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-35 a:before {
    content: "";
    background-image: url('../images/icons/reports.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .menu-item-32 a:before {
    content: "";
    background-image: url('../images/icons/help.svg'); /* Replace with your actual icon file */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-bottom: 5px;
}

.primary-menu-ul .nav-item a{
    font-size: .9rem;
}

.primary-menu-ul .nav-item a:before {
    margin: 0 auto;

}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.nav-toggle:focus {
    outline: none;
}

.nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

.nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

header nav.mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    z-index: 999;
}

header nav.mobile-navigation.open {
    display: block;
}

header nav.mobile-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header nav.mobile-navigation ul li a {
    color: #333;
    text-decoration: none;
    padding: 1rem;
    transition: background-color 0.3s;
}

header nav.mobile-navigation ul li a:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    header nav.desktop-navigation {
        display: none;
    }
}







.company-select-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 25px;
}

a{
    color: #787878;
    text-decoration: none;  
}
a:hover{
    text-decoration: underline;
}






.help-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    max-height: 600px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

.help-box-header {
    background: #74994D;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.help-box-content {
    padding: 15px;
    max-height: 550px;
    overflow-y: scroll;
}

.help-box-content h4{
    margin-top: 15px;    
}

.help-box ul {
    list-style: none;
    padding: 0;
}

.help-box ul li {
    margin-bottom: 5px;
}

.help-box ul li a {
    color: #007bff;
    text-decoration: none;
}

.help-box ul li a:hover {
    text-decoration: underline;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}



.me-inner-table-wrapper{
    overflow-x: auto;
}

#inventory-search-form{
    display: flex;
    padding-bottom: 15px;
}


#inventory-search-form button{
    margin-left:15px;
}

.me-accordion-item.me-disabled {
    pointer-events: none;
    opacity: 0.5;
}