body {
    margin: 0px !important;
}
body.auth-layout {
    header {
        border-bottom: 2px solid #eee;
    }
}
button {
    cursor: pointer;
}

.search-input {
    button.btn-search {
        background-color: red;
        position: absolute;
        right: 5px !important;
        top: 5px !important;
        bottom: 5px !important;
        border: none;
        border-radius: 5px;
        padding: 5px 15px;
        i {
            color: white;
        }
    }
    input {
        padding-right: 55px;
    }
}
@media (max-width: 768px) {
    .search-input {
        button.btn-search {
            padding: 5px 8px;
        }
        input {
            padding-left: 10px;
            padding-right: 40px;
        }
    }
}
.search-input2 {
    max-width: 250px;
    button.btn-search {
        background-color: transparent;
        position: absolute;
        right: 10px !important;
        top: 5px !important;
        bottom: 5px !important;
        border: none;
        border-radius: 5px;
        padding: 0px;
        i {
            color: black;
        }
    }
}
@media (max-width: 768px) {
    .search-input2 {
        input {
            padding-left: 10px;
            padding-right: 40px;
        }
    }
}
header {
    position: fixed;
    left: 0;
    right: 0;
    #ajax-call-indicator {
        padding-top: 10px;
        .spinner-border {
            color: white !important;
            --bs-spinner-border-width: 0.15em !important;
        }
    }

    .header-ribbon {
        padding: 8px 20px;
        background-color: rgb(4, 49, 79);
    
        p {
            padding: 0px !important;
            margin: 0px !important;
        }

        .business-contacts {
            color: white;
            .wifi {
                i {
                    display: inline-block;
                    transform: rotate(45deg);
                }
            }
        }
    }
    
    .header-logo {
        padding-left: 20px;
        padding-right: 20px;
        border-bottom: 1px solid #eee;
        .logo-image {
            padding: 8px 0px;
            img {
                width: 120px;
            }
        }
        .search-product-header {
            padding-left: 20px;
            .search-input {
                max-width: 400px;
            }
            @media (max-width: 992px) {
                padding: 10px 20px;
                .search-input {
                    max-width: 400px;
                }
            }
        }

        .header-logo-mainmenu {
            i {
                font-size: 25px;
                color: #000;
            }
            img {
                width: 25px;
                height: 25px;
            }
            &.pc {
                font-size: 80%;
                img {
                    width: 25px; height: 25px;
                }
                .top-menu {
                    a.one-top-menu {
                        label {
                            cursor: pointer !important;
                        }
                        padding: 10px 10px;
                        &.active {
                            background-image: url(/images/diagonal_tile_bg.png);
                            i, label {
                                color: white;
                            }
                        }
                        &:hover {
                            background-image: url(/images/diagonal_tile_bg.png);
                            opacity: 0.8;
                            text-decoration: none !important;
                            i, label {
                                color: white;
                            }
                        }
                    }
                }
                .logon-user-menu {
                    width: 270px;
                }
            }
        }
    }

    .navbar {
        border-bottom: 1px solid #eee;
        ul.navbar-nav {
            flex-wrap: nowrap;
            padding-top: 8px;
            padding-bottom: 8px;
            li.nav-item {
                a.nav-link {
                    font-size: 75%;
                    padding: 8px;
                }
                div.dropdown-menu {
                    a {
                        font-size: 90% !important;
                    }
                }
            }
        }
        @media (max-width: 1740px) {
            a.nav-link {
                padding: 4px !important;
            }
        }
        @media (max-width: 1550px) {
            a.nav-link {
                padding: 4px !important;
                font-size: 65% !important;
            }
        }
        @media (max-width: 1380px) {
            a.nav-link {
                padding: 4px !important;
                font-size: 55% !important;
            }
        }
        @media (max-width: 1254px) {
            a.nav-link {
                padding: 4px !important;
                font-size: 50% !important;
            }
        }
    }
}

main {
    padding-top: 156px;
    padding-bottom: 50px;
    min-height: 60vh;
    @media (max-width: 1740px) {
        padding-top: 148px !important;
    }
    @media (max-width: 1342px) {
        padding-top: 144px !important;
    }
    @media (max-width: 1200px) {
        padding-top: 102px !important;
    }
    @media (max-width: 992px) {
        padding-top: 63px !important;
    }
}

footer {
    .sitemap {
        padding: 30px 20px 10px 20px;
        img.logo {
            max-width: 200px;
        }
        ul {
            li {
                padding: 10px 0;
                font-size: 110%;
            }
        }
    }
    .copyright {
        border-top: 2px solid #888;
        background-color: #000;
    }
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: rgba(100,100,100,0.5);

    &.collapsed {
        width: 0% !important;
        height: 0% !important;
    }

    .sidebar-content {
        position: fixed;
        left: 0px;
        top: 0px;
        bottom: 0px;
        transition: all 0.5s;
        background-color: white;
        border-right: 1px solid #ddd;
        overflow: auto;
        max-height: 100%;
    }
    &.right-sidebar .sidebar-content {
        left: auto;
        right: 0px !important;
        border-left: 1px solid #ddd;
        border-right: none;
    }
    &:not(.collapsed) .sidebar-content{
        transform: translateX(0px) !important;
    }
}

#my-cart-sidebar {
    .sidebar-content {
        --cart-sidebar-width: 650px;
        min-height: 280;
        width: var(--cart-sidebar-width);
        transform: translateX(var(--cart-sidebar-width));
        bottom: auto;
        border-bottom: 1px solid #ddd;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}
.my-cart {
    .my-cart-header {
        border-bottom: 1px solid #eee;
        .trolley-icon {
            background-color: rgb(255,111,32);
            padding: 6px 10px;
            border-radius: 5px;
            i {
                font-size: 20px;
                color: white;
            }
        }
    }
    @media (max-width: 520px) {
        .my-cart-footer {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }        
    }
    @media (min-width: 520px) {
        .my-cart-footer {
            flex-direction: row;
            justify-content: space-between;
        }        
    }
    .my-cart-footer {
        background-color: rgb(255,247,243);
        border-top: 1px solid #eeeeee;
        display: flex;
        .total-amount {
            font-size: 120%;
            color: var(--bs-success);
            font-weight: bold;
        }
    }
    .my-cart-body {
        ul.cart-type-select {
            list-style: none;
            padding: 0px;
            li.one-cart-type {
                cursor: pointer;
                border: 1px solid #aaa;
                &:first-child {
                    border-top-left-radius: 8px;
                    border-bottom-left-radius: 8px;
                    border-right: none;
                }
                &:last-child {
                    border-left: none;
                    border-top-right-radius: 8px;
                    border-bottom-right-radius: 8px;
                }
                &.active {
                    background-color: black;
                    color: white;
                }
                &:not(.active):hover {
                    background-color: #eee;
                }
                @media (max-width: 450px) {
                    font-size: 80%;
                }
            }
        }
    }
    @media (max-width: 992px) {
        .my-cart-body {
            /* text-align: center; */
        }
    }
}


#category-sidebar {
    .sidebar-content {
        width: 250px;
        transform: translateX(-250px);
        overflow: auto;
        ul {
            padding: 10px 10px;
            li {
                position: relative;
                padding: 5px;
                .toggle-show-hide {
                    right: 0px;
                    top: 2px;
                }
                a {
                    color: #555;
                }
            }
        }
        .submenu {
            background-color: #fafafa;
            ul {
                padding: 0px;
                font-size: 85%;
            }
        }
    }
}

.toggle-show-hide {
    position: absolute;
    i {
        font-size: 12px;
    }
}

#main-sidebar-menu {
    .sidebar-content {
        width: 250px;
        transform: translateX(-250px);
        .sidebar-header {
            padding: 15px;
            text-align: center;
            background-color: red;
            color: white;
        }
        ul {
            list-style: none;
            padding-top: 10px;
            padding-left: 20px;
            li a {
                padding: 10px 0px;
                color: #333;
                i {
                    font-size: 20px;
                }
            }
            li.separator {
                line-height: 1px;
                margin-left: -32px;
                background-color: #eee;
            }
        }
        ul.submenus {
            padding-top: 0px !important;
            padding-left: 40px !important;
            margin-top: -5px;
            margin-left: -20px;
            background-color: #fafafa;
            border-radius: 10px;
            li a {
                font-size: 90% !important;
            }
        }
    }
}

.prod-label.show-in-mobile {
    top: -8px !important;
    left: -8px !important;
    width: 80px !important;
    height: 80px !important;
    &::before {
        top: -2px !important;
        right: 0;
    }
    &::after {
        bottom: 0;
        left: -2px !important;
    }
    span {
        width: 112px !important;
        padding: 4px 0 !important;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .1) !important;
        font: 700 10px / 1 'Lato', sans-serif !important;
        right: -9px !important;
        top: 25px !important;
    }
}

.one-product.show-in-mobile {
    .prod-label {
        top: -8px !important;
        left: -8px !important;
        &::before {
            top: -3px;
            right: 0;
        }
        &::after {
            bottom: 0;
            left: -3px;
        }
    }
}

.multibuy-label-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.multibuy-label {
    background-color: #481DFF;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    position: relative;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 24px; /* Space for info icon */
    max-width: 100%;
}

.one-cart-item.one-product.incentive-product .card-body {
    background-color: #b0f0a0 !important;
}

/* Cart item multibuy label overflow handling */
.one-cart-item .multibuy-label-container {
    max-width: 100%;
    overflow: hidden;
}

.one-cart-item .multibuy-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 24px; /* Space for info icon */
    max-width: 100%;
    display: block;
}

.one-cart-item .multibuy-label .bi-info-circle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.multibuy-label .bi-info-circle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    cursor: pointer;
}

/* List view styles */
.one-product.list-view .multibuy-label {
    font-size: 11px;
    text-align: center;
}

/* Mobile list view styles */
.one-product.show-in-mobile .multibuy-label {
    font-size: 10px;
    padding: 3px 6px;
}

.one-product.show-in-mobile .multibuy-label .bi-info-circle {
    font-size: 11px;
    right: 3px;
}

/* Product image height adjustment when multibuy label exists (web view only) */
.one-product.grid-view .card-header.has-multibuy-label .prod-image {
    height: 170px;
    object-fit: contain;
}

.one-product.list-view .has-multibuy-label .prod-image {
    height: 166px !important;
    object-fit: contain;
}

.one-product {
    cursor: default !important;
    background-color: white !important;
    .prod-label {
        position: absolute;
        top: -11px;
        left: -11px;
        width: 110px;
        height: 110px;
        overflow: hidden;
        z-index: 20;
        &::before {
            position: absolute;
            z-index: -1;
            top: 0;
            right: 0;
            content: '';
            border: 5px solid #ccc;
            border-top-color: transparent;
            border-left-color: transparent;
        }
        &::after {
            position: absolute;
            z-index: -1;
            bottom: 0;
            left: 0;
            content: '';
            border: 5px solid #ccc;
            border-top-color: transparent;
            border-left-color: transparent;
        }
        span {
            position: absolute;
            width: 160px;
            padding: 5px 0;
            box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
            color: #fff;
            font: 700 13px / 1 'Lato', sans-serif;
            text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
            text-transform: uppercase;
            text-align: center;
            right: -18px;
            top: 34px;
            transform: rotate(-45deg);
        }
    }
    .stock-avail, .profit {
        z-index: 10;
        img {
            width: 40px;
            /* opacity: 0.7; */
            border-radius: 50%;
            @media (max-width: 576px) {
                width: 28px;
                height: 28px;
            }
        }
    }
    i.favorite {
        position: absolute;
        top: 5px;
        cursor: pointer;
        color: white;
        font-size: 20px;
        line-height: 20px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        @media (max-width: 576px) {
          top: 10px;
          width: 30px;
          height: 30px;
        }
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ccc;
        opacity: 0.8;
        &.active {
            background-color: red;
        }
    }
    .purchase-action {
        width:fit-content;
        border: 1px solid red;
        background: linear-gradient(to right, #fcd9d9, #fef7f7);
        border-radius: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        i {
            padding: 2px;
            line-height: 1;
            color: red; 
            font-size: 18px;
            font-weight: bold;
            cursor: pointer !important;
            border-radius: 50%;
            border: 1px solid transparent;
            &:hover {
                border: 1px solid red;
            }
        }
        input {
            width: 35px;
            padding: 2px !important;
            background-color: transparent;
            border: none;
            text-align: center;
            color: red;
            &:focus {
                background-color: white;
            }
        }
    }
    .prod-price {
        display: flex;
        flex-direction: column;
        justify-content: center;
        .current-price {
            color: var(--bs-success);
            font-size: 110%;
            font-weight: bold;
            &.call-for-price {
                color: #b92727;
                font-size: 90%;
                white-space: nowrap;
            }
        }
        .promo-end-text {
            font-size: 90%;
        }
    }
    .prod-other-props {
        font-size: 0.9rem;
        .prop-value {
            color: #000;
        }
    }
    &.grid-view {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        i.favorite {
            right: 5px;
        }
        .stock-avail {
            position: absolute;
            right: 5px;
            top: 50px;
        }
        .profit {
            position: absolute;
            left: -8px;
            top: -8px;
        }
        .card-header {
            background: none !important;
        }
        .on-offer-badge {
            background-image: url(/assets/images/icons/png/on-offer.png);
            background-size: 100% 100%;
            font-size: 80%;
            color: white;
            padding: 5px 10px;
        }
        .prod-desc {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;   /* number of lines to show */
            overflow: hidden;
            @media (min-width: 640px) {
              /* padding: 10px; */
              /* width: 100%; */
              min-height: 65px;
            }
        }
        .prod-image {
            cursor: pointer !important;
            width: 200px;
            height: 200px;
        }
    }
    &.list-view {
        margin-bottom: 20px !important;
        i.favorite {
            right: 5px;
        }
        .profit-avail {
            position: absolute;
            right: 5px;
            top: 0;
            bottom: 0px;
        }
        .prod-image {
            cursor: pointer !important;
            width: 200px;
            height: 200px;
            @media (max-width: 768px) {
                width: 100px !important;
                height: 100px !important;
            }
            @media (max-width: 576px) {
                width: 60px !important;
                height: 60px !important;
            }
        }
        .prod-image2 {
            cursor: pointer !important;
            width: 200px;
            height: 200px;
            @media (max-width: 768px) {
                width: 100px !important;
                height: 100px !important;
            }
            @media (max-width: 576px) {
                width: 80px !important;
                height: 80px !important;
            }
        }
        @media (max-width:992px) {
            .prod-por.inline, .prod-pack.inline {
                display: none !important;
            }
            
        }
        @media (min-width: 992px) {
            .prod-por:not(.inline), .prod-pack:not(.inline) {
                display: none !important;
            }
        }
    }
    &.one-cart-item {
        margin-bottom: 20px !important;
        i.favorite {
            right: 5px;
        }
        .profit-avail {
            position: absolute;
            right: 5px;
            top: 0;
            bottom: 0px;
        }
        .prod-image {
            cursor: pointer !important;
            width: 200px;
            height: 200px;
            @media (max-width: 768px) {
                width: 100px !important;
                height: 100px !important;
            }
            @media (max-width: 576px) {
                width: 60px !important;
                height: 60px !important;
            }
        }
        .prod-image2 {
            cursor: pointer !important;
            width: 200px;
            height: 200px;
            @media (max-width: 768px) {
                width: 100px !important;
                height: 100px !important;
            }
            @media (max-width: 576px) {
                width: 80px !important;
                height: 80px !important;
            }
        }
        @media (max-width:992px) {
            .prod-por.inline, .prod-pack.inline {
                display: none !important;
            }
            
        }
        @media (min-width: 992px) {
            .prod-por:not(.inline), .prod-pack:not(.inline) {
                display: none !important;
            }
        }
    }
    &.list-mini {
        border: none !important;
        border-bottom: 1px solid #eee;
        .prod-image {
            width: 100px;
            height: 100px;
        }
        @media (max-width: 576px) {
            width: 60px;
            height: 60px;
        }
    }
    &.one-cart-item {
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        padding: 0px !important;
        img.prod-image {
            width: 100px !important;
            height: 100px !important;
        }
        button.remove-item {
            /* position: absolute; */
            right: 10px;
            top: 10px;
            border: none;
            background-color: transparent;
        }
        i.favorite {
            display: none !important;
        }
        .prod-label {
            top: -10px;
            left: -10px;
            width: 80px;
            height: 80px;
            overflow: hidden;
            span {
                width: 215px;
                padding: 5px 15px 5px 0;
                font-size: 10px;
                right: -66px;
                top: 17px;
            }
        }
    }
    &:hover {
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
        transition: all 0.3s;
    }

    @media (max-width: 1320px) {
        .prod-image {
            width: 150px !important;
            height: 150px !important;
        }
        &.grid-view {
            max-width: 250px !important;
            .prod-desc {
                font-size: 1rem !important;
            }
            .prod-other-props {
                font-size: 0.7rem !important;
            }
            .prod-price {
                .current-price {
                    font-size: 0.9rem !important;
                }
                .deprecated {
                    font-size: 0.8rem !important;
                }
            }
            .purchase-action {
                i {
                    font-size: 15px !important;
                    line-height: 15px !important;
                    width: 21px !important;
                    height: 21px !important;
                }
                input.cart-quantity {
                    font-size: 0.8rem;
                    width: 30px;
                }
            }
        }
    }
    @media (max-width: 768px) {
        .prod-image {
            width: 170px !important;
            height: 170px !important;
            object-fit: contain;
        }
        &.grid-view {
            max-width: 250px !important;
            .prod-desc {
                font-size: 0.8rem !important;
            }
            .prod-other-props {
                font-size: 0.6rem !important;
            }
            .prod-price {
                .current-price {
                    font-size: 0.8rem !important;
                }
                .deprecated {
                    font-size: 0.7rem !important;
                }
            }
            .call-for-price, .login-to-see-price {
                font-size: 70% !important;
            }
            .purchase-action {
                i {
                    font-size: 12px !important;
                    line-height: 12px !important;
                    width: 18px !important;
                    height: 18px !important;
                }
                input.cart-quantity {
                    font-size: 0.8rem;
                    width: 25px;
                }
            }
        }
        &.list-view, &.list-mini, &.one-cart-item {
            .prod-desc {
                font-size: 0.9rem !important;
                min-height: 36px;
                position: relative;
                /* z-index: 999; */
            }
            .prod-other-props {
                font-size: 0.7rem;
            }
            .prod-price {
                font-size: 0.7rem;
            }
            .purchase-action i {
                font-size: 12px !important;
                line-height: 12px !important;
                width: 18px !important;
                height: 18px !important;
            }
            i.favorite {
                font-size: 15px;
                width: 30px;
                height: 30px;
                z-index: 999 !important;
            }
            .login-to-see-price {
                text-align: center;
            }
            .prod-label {
                top: -11px;
                left: -11px;
                width: 64px;
                height: 64px;
                overflow: hidden;
                span {
                    width: 108px;
                    padding: 3px 15px 3px 0;
                    font-size: 8px;
                    right: -24px;
                    top: 14px;
                }
            }
            .purchase-action {
                input {
                    font-size: 0.8rem;
                };
            }
        }
    }
}

.deprecated {
    color: #ddd;
    text-decoration: line-through;
}

.pagination-viewAll {
    button i {
        font-size: 35px;
        line-height: 1;
    }
    button.view-all {
        text-decoration: underline;
        font-size: 110%;
    }
}

.cms-content {
    cursor: pointer !important;
    .ribbon {
        padding: 5px 10px;
        font-size: 120%;
    }
}

.disabled {
    pointer-events: none;
    opacity: 0.3;
    cursor: not-allowed;
}

.ui-autocomplete {
    z-index: 2000;
    max-height: 400px !important;
    overflow: auto;
    li {
        .ui-state-active {
            color: blue !important;
        }
    }
}

.category-link {
    cursor: pointer;
    &.active {
        color: red !important;
        font-weight: bold;
        text-decoration: underline;
    }
}

label {
    color: #888;
    white-space: nowrap;
}

.required {
    &::after {
        content: ' (*) '; 
        color: #FF5A60;;
    }
}

.text-red {
    color: red;
}

a {
    cursor: pointer !important;
    &:hover {
        text-decoration: underline;
    }
    &.hover-no-underline {
        &:hover {
            text-decoration: none !important;
        }
    }
}

.cursor-pointer {
    cursor: pointer;
}

.w-fit-content {
    width: fit-content !important;
}

i {
    line-height: 1rem !important;
}

button.close {
    padding: 0px !important;
    margin: 0px !important;
    border: none;
    background: transparent;
    i {
        font-size: 20px;
    }
}

.whitespace-nowrap {
    white-space: nowrap;
}

.my-account-side-menu {
    ul {
        list-style: none;
        padding: 10px 0px;
        border: 1px solid #eee;
        border-radius: 15px;
        li {
            padding: 12px 20px;
            img {
                width: 25px;
                height: 25px;
            }
            &.active {
                border-left: 2px solid red;
                background-color: #ffefef;
                color: red;
                a {
                    color: red;
                }
            }
        }
    }
}

.order-table-header {
    @media (max-width: 768px) {
        input, select {
            font-size: 90%;
            padding: 5px 25px 5px 10px;
        }        
    }
    @media (max-width: 576px) {
        input, select {
            font-size: 80%;
        }
    }
}

table.order-primary-table {
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    thead {
        background-color: #fafafa;
        th {
            padding: 10px 16px !important;
        }
    }
    tbody tr {
        &:hover {
            color: #111;
            background-color: #fafafa;
        }
        td {
            color: #888;
            font-size: 90%;
        }
    }
}

.comment {
    color: #888;
    font-size: 80%;
}

input[type='radio'] {
    &:not(:checked) {
        border: 1px solid #888;
        background: white;
    }
}

.accordion {
    .accordion-item {
        .accordion-header {
            button {
                font-weight: bold;
            }
        }
    }
}

button.has-loading-spinner,
.btn.has-loading-spinner {
    position: relative;
    padding-left: 35px !important;
}

.loading {
    &::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #eee;
        z-index: 1;
        opacity: 0.2;
    }
    &::after {
        content: "";
        position: absolute;
        right: calc(50% - 15px);
        top: calc(50% - 15px);
        width: 30px;
        height: 30px;
        border: 2px solid #000;
        border-top-color: transparent;
        border-radius: 50%;
        animation: loading-spin 0.8s linear infinite;
        display: inline-block;
    }
}
@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

.rotate-spinner {
    animation: spinner-animation 1s linear infinite;
    display: inline-block;
}
@keyframes spinner-animation { to {transform: rotate(360deg);} }

.text-center {
    text-align: center !important;
}

/**
 *
 */
html {
  width: 100%;
}
.full-fill {
  width: 100%;
}
.x-container {
    /* padding: 0.5rem;
    padding-right: 1.6rem;
    padding-left: 1.6rem; */

    @media (max-width: 640px) {
        /* padding: 0;
        padding-top: 10px;
        padding-right: 10px; */
        /* padding-left: 0;  */
    }

    .credit-account-board {
        /* padding-right: 1.6rem;
        padding-left: 1.6rem; */

        @media (max-width: 640px) {
            /* padding: 10px; */
            /* width: 100%; */
        }
    }
}

.cart-abb-symbole {
  font-size: 24px;
  font-weight: 500;
  color: gray;
}
.cart-recent-notify {
  font-size: 24px;
  font-weight: 500;
  color: darkgray;
  padding: 20px 20px 20px 45px;
}

/**
 * Date time picker
 */
.gj-picker-bootstrap table tr td.disabled div, .gj-picker-bootstrap table tr td.other-month div {
    opacity: 0.2 !important;
}
.gj-picker-bootstrap table tr td.today div {
    color: white !important;
    background: #ed1b26 !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}
.gj-datepicker-bootstrap > button {
    padding: 0.2rem;
    border-color: var(--bs-border-color);
    border-radius: 0px 5px 5px 0px !important;
}
.was-validated .form-control:valid + button {
    border-color: #3dc99f;
    color: #198754;
}
.was-validated .form-control:invalid + button {
    border-color: #ea949e;
    color: #dc3545;
    border-width: 1px 1px 1px 0px;
}


/*
 * alert message 
 */
.modal-auto-width-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    border-top-left-radius: 0.313rem;
    border-top-right-radius: 0.313rem;
    border-bottom-right-radius: 0.313rem;
    border-bottom-left-radius: 0.313rem;
    outline: 0;
}
#alert_message_dialog {
    z-index: 9999 !important;
    background-color: #0000007f;
}
#alert_message_dialog .modal-footer {
    justify-content: center !important;
}
#question_message_dialog .modal-footer {
    justify-content: center !important;
}

/*
 * label multiple break lines
 */
.break-over-word {
    white-space: normal;
    word-break: break-word;
}

/*
 * jquery ui
 */
 .ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover {
    border: 0px solid #003eff;
    background: #007fff;
    font-weight: normal;
    color: #fff
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    width: auto !important;
}
/*
 * web browser scrollbar
 */

 ::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-radius: 10px;
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); */
}

::-webkit-scrollbar {
    background-color: #f5f5f5;
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #a8a8a8;
    border-radius: 10px;
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); */
}

.min-height-auto {
    min-height: auto !important;
}

.employee-edit-form-content {
    height: 600px; 
    overflow-y: scroll;
}
@media (max-width: 768px) {
    .employee-edit-form-content {
        height: 500px;
        overflow-y: scroll;
    }
}

/* Mega Menu */
.mega-menu {
    min-width: auto !important;
    transform: none !important;
}
.mega-menu.has-banner {
    min-width: 900px !important;
}
.mega-menu .mega-menu-subcategories {
    min-width: 280px;
}
.mega-menu .mega-menu-all {
    color: #e74c3c !important;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.mega-menu .mega-menu-columns {
    column-count: 1 !important;
    display: flex;
    flex-direction: column;
}
.mega-menu .mega-menu-columns .dropdown-item {
    padding: 4px 16px;
    font-size: 14px;
    white-space: nowrap;
}
.mega-menu .mega-menu-columns .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #e74c3c;
}
.mega-menu .mega-menu-banner {
    min-width: 500px;
    max-width: 600px;
    display: flex;
    align-items: center;
    padding-left: 15px;
}
.mega-menu .mega-menu-banner img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    max-height: 300px;
}