﻿.k-dropdown-wrap.k-state-hover, .k-multiselect.k-state-hover {
    background: unset !important;
}
/* ==========================================================================
   Pre-order menu refresh
   Scoped to the PreOrder.aspx family-order portlet so legacy menu screens keep
   their existing layout.
   ========================================================================== */
#m_Family {
    --preorder-green: #06c755;
    --preorder-ink: #142033;
    --preorder-muted: #537087;
    --preorder-surface: #ffffff;
    --preorder-shadow: 0 10px 30px rgba(35, 69, 98, 0.10);
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 48%, #f9fcff 100%) !important;
}

    #m_Family::before,
    #m_Family::after {
        content: "";
        position: absolute;
        z-index: 0;
        width: 122px;
        height: 122px;
        pointer-events: none;
        background-image: radial-gradient(circle, rgba(9, 190, 192, 0.24) 0 1px, transparent 1.5px);
        background-size: 16px 16px;
    }

    #m_Family::before {
        top: 72px;
        left: 18px;
    }

    #m_Family::after {
        right: 38px;
        bottom: 330px;
        border-radius: 50%;
        background-image: radial-gradient(circle at 4px 4px, rgba(9, 190, 192, 0.24) 0 1px, transparent 1.5px), radial-gradient(circle at 0 100%, rgba(15, 161, 155, 0.22) 0 21px, transparent 22px);
        background-size: 16px 16px, 100% 100%;
    }

    #m_Family > .m-portlet__body {
        position: relative;
        z-index: 1;
        padding: 20px 34px 36px !important;
        overflow: hidden;
    }

    /* Date rail */
    #m_Family #pageone {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 76px;
        gap: 14px;
        padding: 0 0 12px;
    }

        #m_Family #pageone > ul {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 0 !important;
        }

        #m_Family #pageone .pagination li {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 65px;
            font-weight: 500;
            margin: 0 !important;
            padding: 0 !important;
            border: 0;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 8px 24px rgba(44, 75, 101, 0.08);
            color: var(--preorder-muted);
            transition: transform .2s ease, box-shadow .2s ease;
        }

            #m_Family #pageone .pagination li:not(.prev):not(.next):hover {
                transform: translateY(-2px);
                box-shadow: 0 11px 28px rgba(44, 75, 101, 0.13);
            }

            #m_Family #pageone .pagination li a {
                display: flex;
                width: 100%;
                height: 100%;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 9px;
                color: var(--preorder-muted);
                font-size: 14px;
                line-height: 1;
            }

                #m_Family #pageone .pagination li a p {
                    margin: 0 !important;
                    line-height: 1 !important;
                }

            #m_Family #pageone .pagination li.disabled:not(.prev):not(.next) {
                color: var(--preorder-green) !important;
                background: #fff !important;
                border-bottom: 4px solid var(--preorder-green) !important;
            }

                #m_Family #pageone .pagination li.disabled:not(.prev):not(.next) a {
                    color: var(--preorder-green) !important;
                    font-weight: 600;
                }

            #m_Family #pageone .pagination li.saturdaycolor {
                background: linear-gradient(145deg, #c6c6c6, #888b8b) !important;
                border-bottom: 4px solid #c6c6c6 !important;
            }

            #m_Family #pageone .pagination li.sundaycolor {
                background: linear-gradient(145deg, #b9b9b9, #414141) !important;
                border-bottom: 4px solid #afb1b1 !important;
            }

                #m_Family #pageone .pagination li.saturdaycolor a,
                #m_Family #pageone .pagination li.sundaycolor a {
                    color: #fff !important;
                }

            #m_Family #pageone .pagination li.prev,
            #m_Family #pageone .pagination li.next {
                width: 48px !important;
                height: 48px;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.92);
                box-shadow: none;
            }

                #m_Family #pageone .pagination li.prev a,
                #m_Family #pageone .pagination li.next a {
                    color: #1c526c;
                }

                    #m_Family #pageone .pagination li.prev a i,
                    #m_Family #pageone .pagination li.next a i {
                        font-size: 25px;
                    }

        #m_Family #pageone .orderdatepicker {
            position: relative;
            display: none;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 12px;
            background: #fff;
            box-shadow: var(--preorder-shadow);
        }

            #m_Family #pageone .orderdatepicker::before {
                content: "\f073";
                position: absolute;
                color: #1c4055;
                font: normal normal normal 18px/1 FontAwesome;
                pointer-events: none;
            }

            #m_Family #pageone .orderdatepicker .k-datepicker,
            #m_Family #pageone .orderdatepicker .k-picker-wrap,
            #m_Family #pageone .orderdatepicker .k-select {
                width: 52px !important;
                height: 52px !important;
                opacity: 0;
            }

    /* Menu area */
    #m_Family #ItemTabHtml {
        position: relative;
        min-height: 650px;
        padding: 4px 0 42px !important;
        overflow-x: hidden;
        background: transparent;
    }

        #m_Family #ItemTabHtml .PreorderUserAndDate {
            position: absolute;
            top: -80px;
            left: 14px;
            z-index: 102;
            display: flex;
            width: auto;
            min-height: 68px;
            align-items: center;
            margin: 0;
        }

            #m_Family #ItemTabHtml .PreorderUserAndDate .tabdate {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 0;
                color: #27657d;
                font-size: 14px;
                font-weight: 600;
            }

        #m_Family #ItemTabHtml .backtogrid {
            display: inline-flex !important;
            min-width: 82px;
            height: 36px;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 0 13px;
            border: 1px solid rgba(4, 167, 153, 0.22);
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 6px 18px rgba(35, 69, 98, 0.10);
            cursor: pointer;
            font-size: 18px;
            transition: transform .2s ease, box-shadow .2s ease;
        }

            #m_Family #ItemTabHtml .backtogrid::after {
                content: "Back";
                font-family: "Poppins", "Segoe UI", Arial, sans-serif;
                font-size: 13px;
                font-weight: 600;
            }

            #m_Family #ItemTabHtml .backtogrid:hover {
                transform: translateX(-2px);
                box-shadow: 0 8px 20px rgba(35, 69, 98, 0.15);
            }

@media (min-width: 992px) {
    #m_Family #ItemTabHtml {
        overflow: visible !important;
    }

        #m_Family #ItemTabHtml .PreorderUserAndDate {
            top: -80px;
            left: 14px;
            z-index: 9999;
        }

            #m_Family #ItemTabHtml .PreorderUserAndDate .tabdate {
                padding: 0;
            }

            #m_Family #ItemTabHtml .PreorderUserAndDate .clsCalenderIcon {
                display: none;
            }
}

#m_Family #ItemTabHtml ul.nav.nav-tabs.itemhide {
    position: relative;
    width: 100%;
    min-height: 56px;
    margin: 0 0 20px !important;
    padding: 0;
    align-items: center;
    background: transparent;
}

#m_Family #ItemTabHtml .nav-item.m-tabs__item {
    margin: 0 4px !important;
}

#m_Family #ItemTabHtml .tab_alnkbtn {
    min-width: 90px;
    padding: 8px 24px 10px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px rgba(44, 75, 101, 0.09);
    color: var(--preorder-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center !important;
}

    #m_Family #ItemTabHtml .tab_alnkbtn.active {
        color: #ffffff !important;
        box-shadow: 0 8px 22px rgba(44, 75, 101, 0.09), inset 0 -3px 0 #c3c3c3;
        font-weight: 600 !important;
    }

#m_Family #ItemTabHtml .ItemListHtmlmTab {
    margin: 0 -11px 18px;
    align-items: flex-start;
}

#m_Family #ItemTabHtml .itemSet {
    padding: 0 11px;
    margin-bottom: 24px;
}

    #m_Family #ItemTabHtml .itemSet > .m-portlet {
        margin-bottom: 0 !important;
        overflow: hidden;
        border: 1px solid rgba(224, 231, 237, 0.92) !important;
        border-radius: 13px !important;
        background: var(--preorder-surface);
        box-shadow: var(--preorder-shadow) !important;
    }

#m_Family #ItemTabHtml .AddonItem .menu-item {
    height: 197px !important;
    min-height: 197px;
    margin: 0;
    background: #fff;
}

#m_Family #ItemTabHtml .menu-item__image-wrapper_custom_height {
    height: 145px !important;
    flex: 0 0 218px;
    overflow: hidden;
    background: #fff1e8;
}

#m_Family #ItemTabHtml .menu-item__image,
#m_Family #ItemTabHtml .img_details {
    object-fit: cover;
}

    #m_Family #ItemTabHtml .menu-item__image:hover {
        opacity: .92;
        border-radius: 0 !important;
    }

#m_Family #ItemTabHtml .rating-stars {
    position: absolute;
    top: 9px;
    left: 9px;
    right: auto;
    z-index: 5;
    border-radius: 4px;
    background: rgba(94, 75, 65, 0.72);
    opacity: 1;
}

    #m_Family #ItemTabHtml .rating-stars .stars {
        position: static;
        display: flex;
        gap: 1px;
        margin: 0;
        padding: 0px 5px;
        background: transparent;
        opacity: 1;
    }

    #m_Family #ItemTabHtml .rating-stars ul > li.star > i.fa {
        color: #fff;
        font-size: 10px;
    }

    #m_Family #ItemTabHtml .rating-stars ul > li.star.selected > i.fa,
    #m_Family #ItemTabHtml .rating-stars ul > li.star.hover > i.fa {
        color: #ffe0a3;
    }

#m_Family #ItemTabHtml .healthyrating {
    top: 9px;
    right: 9px;
    left: auto;
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 3px 10px rgba(32, 57, 78, 0.10);
}

#m_Family #ItemTabHtml .menu-item__name-wrapper {
    max-height: none;
    overflow: visible;
}

#m_Family #ItemTabHtml .menu-item__subheading {
    position: relative;
    z-index: 4;
    min-height: 27px;
    max-height: 27px;
    margin-top: -27px;
    padding: 5px 10px !important;
    overflow: hidden;
    border-radius: 0px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
}

#m_Family #ItemTabHtml .menu-item__name {
    min-height: 60px;
    max-height: 60px;
    margin: 0 !important;
    padding: 6px 12px 10px !important;
    overflow: hidden;
    color: var(--preorder-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

#m_Family #ItemTabHtml .menu-item__footer {
    display: none;
    min-height: 48px;
    align-items: center;
    padding: 7px 11px 9px !important;
    border-top: 1px solid #f0f3f5;
    background: #dddcdc36;
}

#m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item__footer {
    display: flex;
}

#m_Family #ItemTabHtml .menu-item__footer .menu-item__price {
    color: #506070;
    font-size: 13px;
    line-height: 1;
}

#m_Family #ItemTabHtml .menu-item__footer .m--font-weight-800 {
    color: #ed1111;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#m_Family #ItemTabHtml .menu-item__footer .add-to-cart-button {
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item {
    height: 245px !important;
    min-height: 245px;
}

#m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item__name {
    min-height: 43px;
    max-height: 43px;
    padding-top: 5px !important;
}

/* Add-on divider and its centered card */
#m_Family #ItemTabHtml .addonsep {
    height: 1px;
    margin: 22px 0 0;
    border: 0 !important;
    background: repeating-linear-gradient(90deg, rgba(19, 190, 116, .45) 0 3px, transparent 3px 9px) !important;
}

    #m_Family #ItemTabHtml .addonsep + .tab_alnkbtn {
        position: relative;
        display: inline-block;
        min-width: 134px;
        margin: -22px auto 0 !important;
        padding: 10px 24px !important;
        text-align: center !important;
    }

#m_Family #ItemTabHtml .col-md-12:has(.addonsep) {
    position: relative;
    margin: 24px 0 18px !important;
}

    #m_Family #ItemTabHtml .col-md-12:has(.addonsep)::before,
    #m_Family #ItemTabHtml .col-md-12:has(.addonsep)::after {
        content: "❧";
        position: absolute;
        top: 12px;
        color: #78ca22;
        font-size: 22px;
        line-height: 1;
    }

    #m_Family #ItemTabHtml .col-md-12:has(.addonsep)::before {
        left: 12%;
        transform: rotate(18deg);
    }

    #m_Family #ItemTabHtml .col-md-12:has(.addonsep)::after {
        right: 12%;
        transform: scaleX(-1) rotate(18deg);
    }

@media (max-width: 1199px) {
    #m_Family > .m-portlet__body {
        padding-right: 24px !important;
        padding-left: 24px !important;
    }

    #m_Family #pageone {
        overflow-x: auto;
        justify-content: center !important;
    }

        #m_Family #pageone > ul {
            flex: 0 0 auto;
        }

    #m_Family #ItemTabHtml .menu-item,
    #m_Family #ItemTabHtml .AddonItem .menu-item {
        height: 300px !important;
    }
}

@media (max-width: 767px) {
    #m_Family > .m-portlet__body {
        padding: 18px 14px 28px !important;
    }

    #m_Family #pageone {
        gap: 7px;
    }

        #m_Family #pageone > ul {
            gap: 7px;
        }

        #m_Family #pageone .pagination li {
            width: 58px;
            height: 60px;
            border-radius: 11px;
        }

            #m_Family #pageone .pagination li.prev,
            #m_Family #pageone .pagination li.next {
                width: 40px !important;
                height: 40px;
            }

    #m_Family #ItemTabHtml ul.nav.nav-tabs.itemhide {
        min-height: 48px;
    }

    #m_Family #ItemTabHtml .PreorderUserAndDate {
        margin: 0;
    }

        #m_Family #ItemTabHtml .PreorderUserAndDate .tabdate {
            font-size: 12px;
        }

    #m_Family #ItemTabHtml .nav-item.m-tabs__item {
        width: auto;
        margin: 0 !important;
    }

    #m_Family #ItemTabHtml .tab_alnkbtn {
        min-width: 130px;
        padding: 9px 18px !important;
    }

    #m_Family #ItemTabHtml .itemSet {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 7px;
    }

    #m_Family #ItemTabHtml .ItemListHtmlmTab {
        margin-right: -7px;
        margin-left: -7px;
    }
}

@media (max-width: 479px) {
    #m_Family #ItemTabHtml .itemSet {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* PreOrder mobile card layout — desktop rules above remain unchanged. */
@media (max-width: 991px) {
    #m_Family {
        background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%) !important;
    }

        #m_Family > .m-portlet__body {
            padding: 12px 17px 28px !important;
        }

        #m_Family #pageone {
            min-height: 56px;
            gap: 10px;
            padding: 0 0 9px;
            overflow: visible;
            overflow-x: scroll;
        }

            #m_Family #pageone > ul {
                gap: 10px;
            }

            #m_Family #pageone .pagination li {
                width: 48px;
                height: 44px;
                border-radius: 8px;
            }

                #m_Family #pageone .pagination li a {
                    gap: 5px;
                    font-size: 10px;
                }

                #m_Family #pageone .pagination li.disabled:not(.prev):not(.next) {
                    border-bottom-width: 3px !important;
                }

                #m_Family #pageone .pagination li.prev,
                #m_Family #pageone .pagination li.next {
                    width: 36px !important;
                    height: 44px;
                }

                    #m_Family #pageone .pagination li.prev a i,
                    #m_Family #pageone .pagination li.next a i {
                        font-size: 20px;
                    }

            #m_Family #pageone .orderdatepicker {
                width: 40px;
                height: 44px;
                border-radius: 8px;
            }

                #m_Family #pageone .orderdatepicker::before {
                    font-size: 16px;
                }

                #m_Family #pageone .orderdatepicker .k-datepicker,
                #m_Family #pageone .orderdatepicker .k-picker-wrap,
                #m_Family #pageone .orderdatepicker .k-select {
                    width: 40px !important;
                    height: 44px !important;
                }

        #m_Family #ItemTabHtml {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            min-height: 0;
            padding: 2px 0 30px !important;
            box-sizing: border-box;
            overflow: visible !important;
        }

            #m_Family #ItemTabHtml .PreorderUserAndDate {
                top: -50px;
                left: 10px;
                z-index: 9999;
                min-height: 34px;
            }

                #m_Family #ItemTabHtml .PreorderUserAndDate .tabdate {
                    gap: 10px;
                    color: #1674df;
                    font-size: 11px;
                }

            #m_Family #ItemTabHtml .backtogrid {
                min-width: 70px;
                height: 32px;
                gap: 5px;
                padding: 0 10px;
                border-color: #e1e9eb;
                background: #fff;
                font-size: 12px;
                box-shadow: 0 5px 16px rgba(35, 69, 98, 0.09);
            }

                #m_Family #ItemTabHtml .backtogrid::after {
                    font-size: 10px;
                }

            #m_Family #ItemTabHtml ul.nav.nav-tabs.itemhide {
                display: flex;
                width: calc(100% + 2px);
                min-height: 38px;
                flex-wrap: nowrap;
                justify-content: flex-start !important;
                gap: 13px;
                margin: 0 0 12px !important;
                padding: 2px 1px 6px;
                overflow-x: auto;
                overflow-y: hidden;
                scrollbar-width: none;
            }

                #m_Family #ItemTabHtml ul.nav.nav-tabs.itemhide::-webkit-scrollbar {
                    display: none;
                }

            #m_Family #ItemTabHtml .nav-item.m-tabs__item {
                flex: 0 0 auto;
                width: auto;
                margin: 0 !important;
            }

            #m_Family #ItemTabHtml .tab_alnkbtn {
                min-width: 0;
                min-height: 28px;
                padding: 7px 14px 6px !important;
                border-radius: 18px !important;
                color: #344252 !important;
                font-size: 10px;
                white-space: nowrap;
            }

                #m_Family #ItemTabHtml .tab_alnkbtn.active {
                    min-width: 89px;
                    border-radius: 17px !important;
                    color: #fff !important;
                    box-shadow: 0 7px 17px rgba(7, 174, 103, 0.22) !important;
                }

                    #m_Family #ItemTabHtml .tab_alnkbtn.active::before {
                        content: "\f0f5";
                        margin-right: 6px;
                        font: normal normal normal 11px/1 FontAwesome;
                    }

            #m_Family #ItemTabHtml .ItemListHtmlmTab {
                display: flex;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                flex: 0 0 100%;
                align-content: flex-start;
                justify-content: flex-start !important;
                margin: 0 !important;
                padding: 0 !important;
                overflow: visible;
                transform: none !important;
            }

            #m_Family #ItemTabHtml .tab-content,
            #m_Family #ItemTabHtml .tab-pane {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            #m_Family #ItemTabHtml .itemSet,
            #m_Family #ItemTabHtml .itemSet.AddonItem {
                flex: 0 0 100%;
                width: 100% !important;
                max-width: 100%;
                min-width: 0 !important;
                margin: 0 0 12px;
                padding: 0;
                box-sizing: border-box;
            }

                #m_Family #ItemTabHtml .itemSet > .m-portlet {
                    width: 100% !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                    min-height: 178px;
                    margin-right: 0 !important;
                    margin-left: 0 !important;
                    overflow: hidden;
                    border: 1px solid #e8edf0 !important;
                    border-radius: 13px !important;
                    box-shadow: 0 7px 22px rgba(35, 69, 98, 0.08) !important;
                }

                    #m_Family #ItemTabHtml .itemSet > .m-portlet > .m-portlet__body,
                    #m_Family #ItemTabHtml .menu-item__container {
                        width: 100% !important;
                        max-width: 100% !important;
                        min-width: 0 !important;
                        margin: 0 !important;
                        padding: 0 !important;
                    }

                #m_Family #ItemTabHtml .menu-item,
                #m_Family #ItemTabHtml .AddonItem .menu-item,
                #m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item {
                    position: relative;
                    display: block;
                    width: 100% !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                    height: 178px !important;
                    min-height: 178px;
                    margin: 0 !important;
                    background: #fff;
                    box-sizing: border-box;
                }

            #m_Family #ItemTabHtml .menu-item__content {
                display: grid;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                height: 100%;
                grid-template-columns: 40% minmax(0, 60%);
                grid-template-rows: 100%;
                margin: 0 !important;
                padding: 0 !important;
                box-sizing: border-box;
            }

            #m_Family #ItemTabHtml .menu-item__image-wrapper,
            #m_Family #ItemTabHtml .menu-item__image-wrapper_custom_height {
                position: relative;
                grid-column: 1;
                grid-row: 1;
                width: 100%;
                height: 100% !important;
                min-height: 178px;
                overflow: hidden;
                border-radius: 12px 0 0 12px;
                background: #fff0e7;
            }

            #m_Family #ItemTabHtml .menu-item__image,
            #m_Family #ItemTabHtml .img_details {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            #m_Family #ItemTabHtml .menu-item::after {
                content: "\f08a";
                position: absolute;
                z-index: 7;
                top: 12px;
                right: 14px;
                display: flex;
                width: 30px;
                height: 30px;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background: #fff;
                color: #23384d;
                font: normal normal normal 20px/1 FontAwesome;
                pointer-events: none;
            }

            #m_Family #ItemTabHtml .healthyrating {
                display: none !important;
            }

            #m_Family #ItemTabHtml .rating-stars {
                top: 10px;
                left: 10px;
                border-radius: 5px;
            }

                #m_Family #ItemTabHtml .rating-stars .stars {
                    gap: 1px;
                    padding: 4px 6px;
                }

                #m_Family #ItemTabHtml .rating-stars ul > li.star > i.fa {
                    font-size: 12px;
                }

            #m_Family #ItemTabHtml .menu-item__name-wrapper {
                position: relative;
                z-index: 2;
                grid-column: 2;
                grid-row: 1;
                min-width: 0;
                padding: 17px 16px 54px;
                overflow: hidden;
                background: #fff;
            }

            #m_Family #ItemTabHtml .menu-item__subheading {
                display: inline-flex;
                width: max-content;
                min-width: 72px;
                max-width: 100%;
                min-height: 28px;
                max-height: 28px;
                align-items: center;
                justify-content: center;
                margin: 0 0 10px;
                padding: 5px 13px !important;
                border-radius: 7px;
                font-size: 12px;
                font-weight: 600;
                line-height: 18px;
                white-space: nowrap;
                text-overflow: ellipsis;
            }

            #m_Family #ItemTabHtml .menu-item__name,
            #m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item__name {
                min-height: 0;
                max-height: 58px;
                margin: 0 !important;
                padding: 0 !important;
                color: #263247;
                font-size: 13px;
                font-weight: 600;
                line-height: 1.45;
            }

            #m_Family #ItemTabHtml .AddonItem .menu-item__name-wrapper:not(:has(.menu-item__subheading)) {
                padding-top: 68px;
            }

            #m_Family #ItemTabHtml .menu-item__footer,
            #m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item__footer {
                position: absolute;
                z-index: 4;
                right: 0;
                bottom: 0;
                display: flex;
                width: 60%;
                min-height: 52px;
                align-items: center;
                padding: 7px 16px 11px !important;
                border: 0;
                background: #fff;
            }

                #m_Family #ItemTabHtml .menu-item__footer .menu-item__price {
                    color: #087b82;
                    font-size: 16px;
                    font-weight: 500;
                }

                #m_Family #ItemTabHtml .menu-item__footer .m--font-weight-800 {
                    color: #ed1818;
                    font-size: 16px !important;
                    font-weight: 700 !important;
                }
}

#m_Family #ItemTabHtml .menu-item__footer .add-to-cart-button {
    width: 35px;
    height: 35px;
    margin-left: auto;
    border-radius: 50%;
}

    #m_Family #ItemTabHtml .menu-item__footer .add-to-cart-button i.fa {
        font-size: 16px;
    }

#m_Family #ItemTabHtml .col-md-12:has(.addonsep) {
    min-height: 66px;
    margin: 3px 0 10px !important;
    padding: 0;
}

#m_Family #ItemTabHtml .addonsep {
    margin-top: 32px;
}

    #m_Family #ItemTabHtml .addonsep + .tab_alnkbtn,
    #m_Family #ItemTabHtml .addonsep + .tab_alnkbtn.active {
        min-width: 112px;
        min-height: 30px;
        margin: 0px auto 0 !important;
        padding: 8px 15px !important;
        border: 1px solid #dcebe1 !important;
        border-radius: 22px !important;
        background: #f7fbf8;
        color: #ffffff !important;
        text-align: center !important;
        align-items: center;
        display: inline-grid;
        box-shadow: 0 5px 14px rgba(31, 87, 62, 0.08) !important;
    }

        #m_Family #ItemTabHtml .addonsep + .tab_alnkbtn::before {
            display: none;
        }


@media (max-width: 420px) {
    #m_Family #ItemTabHtml .itemSet > .m-portlet,
    #m_Family #ItemTabHtml .menu-item,
    #m_Family #ItemTabHtml .AddonItem .menu-item,
    #m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item {
        height: 166px !important;
        min-height: 166px;
    }

    #m_Family #ItemTabHtml .menu-item__image-wrapper,
    #m_Family #ItemTabHtml .menu-item__image-wrapper_custom_height {
        min-height: 166px;
    }

    #m_Family #ItemTabHtml .menu-item__name-wrapper {
        padding: 14px 13px 50px;
    }

    #m_Family #ItemTabHtml .menu-item__footer,
    #m_Family #ItemTabHtml .itemSet:has(.menu-item__footer .add-to-cart-button) .menu-item__footer {
        padding-right: 12px !important;
        padding-left: 13px !important;
    }
}

/* ==========================================================================
   Pre-order item details modal
   ========================================================================== */
#itemDetails {
    padding: 18px !important;
    background: rgba(8, 33, 39, 0.64);
}

    #itemDetails .modal-dialog.modal-lg {
        width: calc(100vw - 48px);
        max-width: 900px;
        min-height: 0;
        margin: 7vh auto;
    }

    #itemDetails .modal-content {
        max-height: 86vh;
        overflow: hidden;
        border: 0;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 28px 70px rgba(0, 20, 25, 0.34);
        font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    }

    #itemDetails .modal-header.modalHeader {
        min-height: 58px;
        align-items: center;
        padding: 11px 20px !important;
        border: 0;
        border-radius: 22px 22px 0 0;
        background: linear-gradient(115deg, #087b83 0%, #008d91 55%, #08757d 100%);
    }

    #itemDetails .modal-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        color: #fff;
        font-size: 17px;
        font-weight: 400;
    }

        #itemDetails .modal-title::before {
            content: "\f0f5";
            display: inline-flex;
            width: 30px;
            height: 30px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 198, 43, 0.14);
            color: #ffc62b;
            font: normal normal normal 16px/1 FontAwesome;
        }

        #itemDetails .modal-title .m--font-warning {
            position: relative;
            color: #ffc62b !important;
            font-size: 21px !important;
            font-weight: 700;
        }

            #itemDetails .modal-title .m--font-warning::after {
                content: "";
                position: absolute;
                top: 4px;
                right: -11px;
                width: 1px;
                height: 21px;
                background: rgba(255, 255, 255, 0.75);
            }

        #itemDetails .modal-title .m--icon-font-size-sm2 {
            padding-left: 4px;
            color: #fff;
            font-size: 14px !important;
            font-weight: 400;
        }

    #itemDetails button.close.closeIcon {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.13);
        color: #fff;
        opacity: 1;
        text-shadow: none;
        transition: background .2s ease, transform .2s ease;
    }

        #itemDetails button.close.closeIcon:hover {
            background: rgba(255, 255, 255, 0.22);
            transform: rotate(5deg);
        }

        #itemDetails button.close.closeIcon span {
            position: relative;
            top: -2px;
            font-size: 32px;
            font-weight: 300;
            line-height: 1;
        }

    #itemDetails .modal-body {
        max-height: calc(86vh - 58px);
        padding: 0 !important;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #itemDetails #_DetailImg {
        min-height: 500px;
        margin: 0;
        padding: 16px;
        background: #fff;
    }

        #itemDetails #_DetailImg > .col-xl-5 {
            padding: 0 14px 0 0;
        }

        #itemDetails #_DetailImg > .col-xl-7 {
            padding: 6px 0 6px 18px !important;
        }

    #itemDetails .detailimg {
        position: relative;
        height: 100%;
        min-height: 460px;
        overflow: hidden;
        border: 1px solid #eef1f3;
        border-radius: 18px;
        background: linear-gradient(145deg, #fff 0%, #fafcfc 100%);
        box-shadow: 0 9px 26px rgba(35, 69, 98, 0.06);
    }

    #itemDetails .item-detail-favourite {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 105;
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 1px solid #e0e5e7;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 5px 14px rgba(25, 48, 64, 0.10);
        color: #324b57;
        font-size: 16px;
    }

    #itemDetails .slideshow-container {
        position: relative;
        height: 100%;
        min-height: 460px;
    }

    #itemDetails .mySlides {
        height: 100%;
        min-height: 460px;
    }

        #itemDetails .mySlides img {
            display: block;
            width: 100% !important;
            height: 420px;
            padding: 28px 12px 16px;
            object-fit: contain;
        }

    #itemDetails .detailimg > .rating-stars {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 105;
        border-radius: 9px;
        background: linear-gradient(145deg, #353a3c, #202528);
        opacity: 1;
        box-shadow: 0 7px 16px rgba(15, 25, 30, 0.18);
    }

        #itemDetails .detailimg > .rating-stars .stars {
            position: static;
            display: flex;
            gap: 4px;
            margin: 0;
            padding: 4px 9px;
            background: transparent;
        }

        #itemDetails .detailimg > .rating-stars .star i.fa {
            color: #ffc044;
            font-size: 11px;
        }

    #itemDetails .detailimg .healthyrating {
        top: 86px;
        right: 20px;
        bottom: auto;
        left: auto;
        width: 32px;
        height: 32px;
    }

    #itemDetails .slideshow-container > .prev,
    #itemDetails .slideshow-container > .next {
        top: 48%;
        display: flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 6px 18px rgba(20, 42, 56, 0.15);
        color: #18242c;
        font-size: 20px;
    }

    #itemDetails .slideshow-container > .prev {
        left: 18px;
    }

    #itemDetails .slideshow-container > .next {
        right: 18px;
    }

    #itemDetails .slideshow-container .dot {
        width: 16px;
        height: 16px;
        margin: 0 6px;
        border: 0;
        background: #c9c9c9;
    }

        #itemDetails .slideshow-container .dot.active {
            background: #057f84;
        }

    #itemDetails #_DetailImg > .col-xl-7 > h4 {
        max-width: 78%;
        margin: 0 0 12px;
        color: #17202b;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.32;
    }

    #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type {
        position: relative;
        min-height: 48px;
        margin: 0 0 9px;
    }

    #itemDetails .modalitemStyle {
        display: inline-flex;
        min-height: 32px;
        align-items: center;
        margin: 0;
        padding: 5px 13px;
        border: 1px solid #bfe9c2;
        border-radius: 22px;
        background: #f2fff3;
        color: #3d4b50 !important;
        font-size: 12px;
        font-weight: 400;
        margin-left: -18px;
    }

    #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:first-child .modalitemStyle::first-line {
        color: #3d4b50;
    }

    #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:first-child .modalitemStyle::before {
        content: "\f0f5";
        margin-right: 9px;
        color: #67bd2b;
        font: normal normal normal 15px/1 FontAwesome;
    }

    #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:last-child {
        position: absolute;
        top: 0px;
        right: 0;
        display: flex;
        width: auto;
        min-width: 112px;
        min-height: 18px;
        align-items: flex-end;
        justify-content: center;
        padding: 0px 10px;
        border: 1px solid #cde9e9;
        border-radius: 14px;
        background: #f7ffff;
        text-align: center !important;
    }



        #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:last-child .modalitemStyle {
            min-height: auto;
            padding: 5px 7px;
            border: 0;
            background: transparent;
            color: #26343d !important;
            font-size: 12px;
            font-weight: 600;
        }

        #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:last-child:not(:has(img))::after {
            content: "\f2bd";
            position: absolute;
            bottom: 5px;
            font-size: 17px !important;
            left: 12px;
            color: #087d82;
            font: normal normal normal 23px/1 FontAwesome;
        }

        #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:last-child:not(:has(img)) .modalitemStyle {
            padding-left: 28px;
        }

    #itemDetails #_DetailImg > .col-xl-7 > h6 {
        margin: 4px 0 13px;
        color: #45505b;
        font-size: 12px;
        font-weight: 400 !important;
        line-height: 1.55 !important;
        text-align: left !important;
        text-indent: 0 !important;
    }

    #itemDetails #_DetailImg > .col-xl-7 > p {
        margin: 0 0 22px;
    }

    #itemDetails .item-detail-purchase {
        margin: 0 0 20px;
    }

        #itemDetails .item-detail-purchase > h5,
        #itemDetails #_DetailImg > .col-xl-7 > p > h5,
        #itemDetails #_DetailImg > .col-xl-7 > h5 {
            display: flex;
            min-height: 54px;
            align-items: center;
            gap: 22px;
            margin: 0;
            color: #f21b1b;
            font-size: 18px !important;
            font-weight: 700 !important;
        }

            #itemDetails .item-detail-purchase > h5::after,
            #itemDetails #_DetailImg > .col-xl-7 > p > h5::after,
            #itemDetails #_DetailImg > .col-xl-7 > h5::after {
                content: "";
                order: 1;
                width: 1px;
                height: 42px;
                background: #d9dfe1;
            }

            #itemDetails .item-detail-purchase .add-to-cart-button,
            #itemDetails #_DetailImg > .col-xl-7 > p .add-to-cart-button,
            #itemDetails #_DetailImg > .col-xl-7 > h5 .add-to-cart-button {
                order: 2;
                display: inline-flex;
                width: auto;
                align-items: center;
                gap: 12px;
                padding: 0 17px;
                border-radius: 23px;
                background-color: #00000000 !important;
                color: #655bd1 !important;
                font-size: 16px;
                font-weight: 600;
            }

            #itemDetails .item-detail-purchase .add-to-cart-button__content,
            #itemDetails #_DetailImg > .col-xl-7 > p .add-to-cart-button__content,
            #itemDetails #_DetailImg > .col-xl-7 > h5 .add-to-cart-button__content {
                display: flex;
                width: 30px;
                height: 30px;
                align-items: center;
                justify-content: center;
                margin: 0;
                border-radius: 50%;
                background: linear-gradient(145deg, #746ee8, #625bd1);
                color: #fff;
            }

            #itemDetails .item-detail-purchase ._addtocartbtn::after,
            #itemDetails #_DetailImg > .col-xl-7 > p ._addtocartbtn::after,
            #itemDetails #_DetailImg > .col-xl-7 > h5 ._addtocartbtn::after {
                content: "Add to Order";
                font-size: 14px;
            }

            #itemDetails .item-detail-purchase ._addtocartbtn.active::after,
            #itemDetails #_DetailImg > .col-xl-7 > p ._addtocartbtn.active::after,
            #itemDetails #_DetailImg > .col-xl-7 > h5 ._addtocartbtn.active::after {
                content: "Remove from Order";
                font-size: 14px;
            }

    #itemDetails .headpop {
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 5px 0 13px;
        padding: 0;
        border: 0;
        color: #047d82 !important;
        font-size: 16px;
        font-weight: 600;
    }

        #itemDetails .headpop::after {
            content: "";
            height: 1px;
            flex: 1;
            background: #dce2e4;
        }

    #itemDetails .ingredientsscroll {
        display: flex;
        height: auto !important;
        min-height: 132px;
        flex-wrap: nowrap;
        gap: 18px;
        margin: 0 0 18px !important;
        padding: 4px 2px 10px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    #itemDetails .IngredientsImgDiv {
        flex: 0 0 112px;
        max-width: 95px;
        height: 90px;
        padding: 6px 10px 9px;
        border: 1px solid #e0e5e7;
        border-radius: 22px;
        background: #fff;
    }

    #itemDetails .IngredientsImg {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    #itemDetails .IngredientsName {
        margin: 8px 0 0;
        color: #25313a;
        font-size: 13px;
        font-weight: 500;
    }

    #itemDetails .headpop + .row:not(.ingredientsscroll) {
        margin: 0;
    }

        #itemDetails .headpop + .row:not(.ingredientsscroll) .col-lg-12 {
            padding: 0;
        }

        #itemDetails .headpop + .row:not(.ingredientsscroll) label {
            display: inline-flex;
            min-height: 54px;
            align-items: center;
            margin: 0 !important;
            padding-left: 45px;
            color: #27343e;
            font-size: 18px !important;
            font-weight: 600;
        }

            #itemDetails .headpop + .row:not(.ingredientsscroll) label::before {
                content: "\f06d";
                position: absolute;
                left: 0;
                display: flex;
                width: 35px;
                height: 35px;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background: #e7f7f8;
                color: #31a2a8;
                font: normal normal normal 21px/1 FontAwesome;
            }

@media (max-width: 991px) {
    #itemDetails {
        padding: 8px !important;
    }

        #itemDetails .modal-dialog.modal-lg {
            width: calc(100vw - 16px);
            min-height: auto;
            margin-left: -2px;
        }

        #itemDetails .modal-content {
            border-radius: 20px;
        }

        #itemDetails .modal-header.modalHeader {
            min-height: 76px;
            padding: 15px 18px !important;
            border-radius: 20px 20px 0 0;
        }

        #itemDetails .modal-title {
            gap: 10px;
            font-size: 16px;
        }

            #itemDetails .modal-title .m--font-warning {
                font-size: 20px !important;
            }

            #itemDetails .modal-title .m--icon-font-size-sm2 {
                font-size: 14px !important;
            }

        #itemDetails #_DetailImg {
            min-height: 0;
            padding: 16px;
        }

            #itemDetails #_DetailImg > .col-xl-5,
            #itemDetails #_DetailImg > .col-xl-7 {
                flex: 0 0 100%;
                max-width: 100%;
                padding: 0 !important;
            }

        #itemDetails .detailimg,
        #itemDetails .slideshow-container,
        #itemDetails .mySlides {
            min-height: 440px;
            height: 440px;
        }

            #itemDetails .mySlides img {
                height: 400px;
            }

        #itemDetails #_DetailImg > .col-xl-7 {
            margin-top: 22px;
        }
}

@media (max-width: 575px) {
    #itemDetails .modal-title::before {
        display: none;
    }

    #itemDetails .modal-title {
        display: block;
        max-width: calc(100vw - 100px);
    }

        #itemDetails .modal-title .m--font-warning,
        #itemDetails .modal-title .m--icon-font-size-sm2 {
            display: block;
            padding: 0;
        }

            #itemDetails .modal-title .m--font-warning::after {
                display: none;
            }

    #itemDetails #_DetailImg > .col-xl-7 > h4 {
        max-width: 100%;
        font-size: 18px;
    }

    #itemDetails #_DetailImg > .col-xl-7 > .row:first-of-type > div:last-child {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 10px;
    }

    #itemDetails .item-detail-purchase > h5,
    #itemDetails #_DetailImg > .col-xl-7 > p > h5,
    #itemDetails #_DetailImg > .col-xl-7 > h5 {
        flex-wrap: wrap;
    }

        #itemDetails .item-detail-purchase > h5::after,
        #itemDetails #_DetailImg > .col-xl-7 > p > h5::after,
        #itemDetails #_DetailImg > .col-xl-7 > h5::after {
            display: none;
        }

    #itemDetails .detailimg,
    #itemDetails .slideshow-container,
    #itemDetails .mySlides {
        min-height: 340px;
        height: 340px;
    }

        #itemDetails .mySlides img {
            height: 310px;
            padding: 45px 8px 18px;
        }
}

.k-dropdown-wrap .k-icon:before {
    color: grey;
}

.k-grid-content td button {
    border: unset !important;
}

    .k-grid-content td button.btn-danger, .k-grid-content td button.btn-danger.disabled {
        background: #f75b36 !important;
    }

.Portal #m_Family_dash .k-widget.cbocontrol {
    height: unset !important;
    padding: unset !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 6px !important;
    background: rgb(250 250 250) !important;
    color: #31515a !important;
}

.k-dropdown .k-state-default {
    font-size: 12px;
}

#form1 .k-dropdown .k-state-default {
    border-radius: 20px;
}

span.k-widget.k-dropdown.k-header.form-control.m-input {
    border-radius: 20px;
}

.k-popup .k-list .k-item {
    font-size: 12px;
}

.clsaccountname {
    font-size: 11px;
}

li.k-item {
    white-space: normal !important;
}

body {
    background: #f7f8fa;
}

input.CTRLM {
    border-style: solid;
    border-width: 1px;
    /*height: 2.080em;*/
    /*padding-left:5px;*/
    border-left-color: rgba(255, 0, 0, 0.92) !important;
}

.dashcard {
    padding: 10px;
}

.ui-view {
    padding-bottom: 30px;
}

.proToolBarPanel {
    float: right;
    margin-top: -14px;
}

.clsToolBtn {
    margin: 3px;
}

.ui-searchview {
    margin-top: 40px;
}

.clsSActionBtn {
    margin: 3px;
}

.ctrlfwidth {
    width: 100%;
}

.proCtrl.ctrlfwidth {
    width: 100%;
}

.preloader {
    display: none;
    background: none;
}


/* Page Scroll Bar*/
.portalscrollbar {
    overflow: auto;
}

    #LatestNews::-webkit-scrollbar, .alert::-webkit-scrollbar, body::-webkit-scrollbar, .portalscrollbar::-webkit-scrollbar {
        width: 6px !important;
        background-color: #3d3b56 !important;
    }

    #LatestNews::-webkit-scrollbar-track, .alert::-webkit-scrollbar-track, body::-webkit-scrollbar-track, .portalscrollbar::-webkit-scrollbar-track {
        border-radius: 10px !important;
        background: #FFF !important;
        border: 1px solid #ccc !important;
    }

    #LatestNews::-webkit-scrollbar-thumb, .alert::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, .portalscrollbar::-webkit-scrollbar-thumb {
        border-radius: 10px !important;
        background: #3d3b56 !important;
        border: 1px solid #aaa !important;
    }

        #LatestNews::-webkit-scrollbar-thumb:hover, .alert::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover, .portalscrollbar::-webkit-scrollbar-thumb:hover {
            background: #3d3b56 !important;
        }

        #LatestNews::-webkit-scrollbar-thumb:active, .alert::-webkit-scrollbar-thumb:active, body::-webkit-scrollbar-thumb:active, .portalscrollbar::-webkit-scrollbar-thumb:active {
            background: linear-gradient(left, #22ADD4, #1E98BA) !important;
        }
/* End Page Scroll Bar*/

/*Portlet Scroll*/
.menu-item__name::-webkit-scrollbar, .mnavsticky::-webkit-scrollbar, .menu-item__subheading::-webkit-scrollbar, .fc-scroller::-webkit-scrollbar, .m-portlet__body::-webkit-scrollbar, .ingredientsscroll::-webkit-scrollbar, #ItemTabHtml::-webkit-scrollbar, .OnlyScrollStyle::-webkit-scrollbar {
    width: 5px !important;
    background-color: #FFF !important;
}

.popup_portlet_body::-webkit-scrollbar {
    overflow: auto;
    width: 15px !important;
    background-color: #FFF !important;
}

.menu-item__name::-webkit-scrollbar-track, .mnavsticky::-webkit-scrollbar-track, .menu-item__subheading::-webkit-scrollbar-track, .fc-scroller::-webkit-scrollbar-track, .m-portlet__body::-webkit-scrollbar-track, .ingredientsscroll::-webkit-scrollbar-track, #ItemTabHtml::-webkit-scrollbar-track, .OnlyScrollStyle::-webkit-scrollbar-track {
    border-radius: 10px !important;
    background: #FFF !important;
    border: 1px solid #ccc !important;
}

.menu-item__name::-webkit-scrollbar-thumb, .mnavsticky::-webkit-scrollbar-thumb, .menu-item__subheading::-webkit-scrollbar-thumb, .fc-scroller::-webkit-scrollbar-thumb, .m-portlet__body::-webkit-scrollbar-thumb, .ingredientsscroll::-webkit-scrollbar-thumb, #ItemTabHtml::-webkit-scrollbar-thumb, .OnlyScrollStyle::-webkit-scrollbar-thumb {
    border-radius: 10px !important;
    background: #ddd !important;
    border: 1px solid #aaa !important;
}

    .menu-item__name::-webkit-scrollbar-thumb:hover, .mnavsticky::-webkit-scrollbar-thumb:hover, .menu-item__subheading::-webkit-scrollbar-thumb:hover, .fc-scroller::-webkit-scrollbar-thumb:hover, .m-portlet__body::-webkit-scrollbar-thumb:hover, .ingredientsscroll::-webkit-scrollbar-thumb:hover, #ItemTabHtml::-webkit-scrollbar-thumb:hover, .OnlyScrollStyle::-webkit-scrollbar-thumb:hover {
        background: #ddd !important;
    }

    .menu-item__name::-webkit-scrollbar-thumb:active, .mnavsticky::-webkit-scrollbar-thumb:active, .menu-item__subheading::-webkit-scrollbar-thumb:active, .fc-scroller::-webkit-scrollbar-thumb:active, .m-portlet__body::-webkit-scrollbar-thumb:active, .ingredientsscroll::-webkit-scrollbar-thumb:active, #ItemTabHtml::-webkit-scrollbar-thumb:active, .OnlyScrollStyle::-webkit-scrollbar-thumb:active {
        background: linear-gradient(left, #22ADD4, #1E98BA) !important;
    }
/*End Portlet Scroll*/

.m-login.m-login--2 .m-login__wrapper .m-login__container .m-login__head .m-login__title {
    font-size: 16px;
    color: #684d96;
}
/*23/01/2018*/
.form-control {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

a.m-brand__logo-wrapper {
    cursor: default;
}

.k-animation-container .k-list-container {
    border-color: #f0f0f0 !important;
}

.k-multiselect-wrap {
    height: 35px;
    overflow-y: auto;
    overflow-x: hidden;
}

.k-list-scroller li.k-state-selected {
    background-color: #ebebeb;
}

.m-topbar__userpic {
    padding-left: 14px;
}

._accountsep {
    border-top: 1px solid #d0c2c2;
    margin-top: 0px;
    margin-bottom: 0px;
    display: none;
}

._acc_Block {
    cursor: pointer;
}

    ._acc_Block .m-badge {
        position: absolute;
        right: 10px;
    }

    ._acc_Block.active a {
        color: #FFF !important;
    }

.k-notification-wrap {
    padding: 0px;
}

.k-popup.k-notification {
    background: #FFF !important;
}

.m-demo .m-demo__preview {
    padding: 15px;
}

._infowidth {
    width: 108px;
    margin-bottom: 0px;
}

._shopping2 {
    height: 17px !important;
    width: 19px !important;
    padding: 5px !important;
}

.pagination li {
    text-align: center;
    font-size: 16px;
    line-height: 1px;
    padding: 10px;
    width: 52px;
    height: 53px;
    margin: 0px 1px;
    margin-bottom: 7px;
}

.pagination .bootpag {
    margin-bottom: 0px;
}

.m--margin-bottom-0 {
    margin-bottom: 0px;
}

li.next, li.prev {
    width: 43px !important;
}

.pagination li a i {
    text-align: center;
    font-size: 30px;
}

.pagination li a {
    text-align: center;
    line-height: 4px;
    text-decoration: none;
}

.pagination li.disabled a, .pagination li.disabled {
    cursor: not-allowed;
    text-decoration: none;
    color: #ddd;
}

    .pagination li.disabled:not(.prev) {
        background-color: #f3f3f3;
        border-bottom: 5px solid #18d665;
        color: #18d665 !important;
    }

        .pagination li.disabled:not(.prev) a {
            color: #18d665 !important;
        }

    .pagination li.disabled.next {
        background-color: #FFF;
        color: #ddd !important;
        border-bottom: 0px;
    }

        .pagination li.disabled.next a i {
            color: #ddd !important;
        }

.tabdate {
    font-weight: 500;
    /*position:absolute;
    left:60px;*/
    font-size: 1.1rem;
    padding-top: 4px;
}

.tabdateright {
    font-weight: 500;
    /*position:absolute;
    right:60px;*/
    font-size: 1.1rem;
    margin-right: 4px;
}

#m_Family .tab_alnkbtn:hover, #m_Family .tab_alnkbtn.active {
    background: #177680 !important;
    color: #ffffff !important;
    border-bottom-color: #18d665 !important;
}

.m-animate-right {
    position: relative;
    animation: animateright 0.4s
}

@keyframes animateright {
    from {
        right: -300px;
        opacity: 0
    }

    to {
        right: 0;
        opacity: 1
    }
}

/*
    Preorder
*/
.detailimg {
    height: 400px;
    width: 100%;
}

.IngredientsImg {
    width: 37px;
    height: 45px;
}

.IngredientsName {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.healthyrating {
    position: absolute;
    top: 3px;
    left: 3px;
    color: #FFF;
    width: 20px;
    height: 20px;
}

.modal-body .healthyrating {
    position: absolute;
    bottom: 10px;
    right: 19px;
    color: #FFF;
    width: 23px;
    height: 23px;
}

    .modal-body .healthyrating.noimage {
        width: 31px;
        height: 33px;
        float: right;
    }

.detailnoimg .rating-stars {
    float: right;
}

.menu-item__price {
    margin: 0px !important;
}

.menu-item__image-wrapper {
    height: 210px;
    overflow: hidden;
    transition: opacity 0.5s ease;
    background-color: #f3f4f3;
    position: relative;
    -webkit-animation: fadeIn 0.5s ease;
    animation: fadeIn 0.5s ease;
}

.menu-item__content {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.menu-item {
    height: 315px;
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 0px;
}

.menu-item__container {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
    width: unset;
}

.menu-one-day__item-container {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.menu-item__image {
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.menu-item__hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    color: #fff;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.menu-item__image-wrapper:hover .menu-item__hover-text {
    opacity: 1;
    font-weight: bold;
    color: #3d3b56;
}

.menu-item__name-wrapper {
    max-height: 88px;
    overflow: hidden;
}

.menu-item165 .menu-item__name-wrapper {
    max-height: 65px;
    overflow: hidden;
}

.menu-item__image:hover {
    opacity: 0.5;
    border-radius: 7px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.menu-item__footer {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    bottom: 0px;
    padding-top: 10px;
}

.link--no-underline {
    text-decoration: none;
}

.text--black {
    color: #000;
}

.menu-item__subheading {
    font-size: 14px;
    color: #8b898d;
    line-height: 150%;
    max-height: 40px;
    overflow-x: hidden;
    overflow-y: auto;
    font-weight: 500;
}

.menu-item__name {
    margin-top: 1px;
    font-weight: bold;
    line-height: 150%;
    max-height: 48px;
    min-height: 48px;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 0rem !important;
}

.menu-item__subheading {
    margin-bottom: 0px;
}

.m--font-weight-500 {
    font-weight: 500;
}

.mlxs {
    margin-left: 0px;
    margin-right: 1px;
}

._addtocart, ._addtobuy, ._addtocartbtn, .dressOverlay {
    background-color: #716aca;
}

.add-to-cart-button {
    border: none;
    color: #fff;
    border-radius: 20px;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    transition: width 0.5s ease;
    width: 26px;
    height: 26px;
    cursor: pointer;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

    .add-to-cart-button [class*=" fa-"], [class^="fa-"] {
        font-size: 1rem;
    }

.menu-item__button-wrapper {
    text-align: right;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.add-to-cart-button__content {
    position: relative;
    margin: auto;
    white-space: nowrap;
    overflow: hidden;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.add-to-cart-button__icon {
    width: 1.3em;
    height: 1.3em;
    margin: auto;
}

.iconmoon-icon {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: currentColor;
    display: inline-block;
    stroke-width: 0;
}

.add-to-cart-button__content {
    position: relative;
    margin: auto;
    white-space: nowrap;
    overflow: hidden;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.selected_item.active:before {
    content: "\2713" !important;
    font-size: 29px;
    font-weight: bold;
    position: absolute;
    color: #FFF;
    border-radius: 50%;
    background: #57bf7c;
    left: 9px;
    top: 3px;
    width: 40px;
    height: 40px;
    padding: 0px 7px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 10px;
    padding-right: 10px;
}

.k-notification-wrap {
    padding: 0px !important;
}

.m-menu__item--active .m-menu__toggle i {
    color: #FFF !important;
}

.amcharts-export-menu {
    z-index: 0 !important;
}

.pagination li.Selected {
    border-bottom: 5px solid #36a3f7;
    background: rgb(243, 243, 243);
}
/* Rating Star Widgets Style */
.rating-stars ul {
    list-style-type: none;
    padding: 0;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    .rating-stars ul > li.star {
        display: inline-block;
    }

.modal-body .stars {
    position: absolute;
    right: 19px;
    top: 3px;
    margin-bottom: 0px;
    z-index: 99;
}

.stars {
    position: absolute;
    right: 3px;
    top: 3px;
    margin-bottom: 0px;
    z-index: 99;
}
/* Idle State of the stars */
.rating-stars ul > li.star > i.fa {
    font-size: 1.3em; /* Change the size of the stars */
    color: #ececec; /* Color on idle state */
}

/* Hover state of the stars */
.rating-stars ul > li.star.hover > i.fa {
    color: #FFCC36;
}

/* Selected state of the stars */
.rating-stars ul > li.star.selected > i.fa {
    color: #FF912C;
}

#itemDetails .modal-header {
    padding: 11px !important;
}

#itemDetails button.close {
    margin-top: -2px !important;
}

.img_details {
    height: 100%;
    width: 100%;
}
/*
    End Preorder
*/
.m--cursor-pointer {
    cursor: pointer;
}
/*Slider*/
.newsspan {
    font-weight: bold;
    font-size: 15px;
    color: #808080;
    padding-left: 7px;
}

.sliderimg {
    width: 100%;
}

.slidercaption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #808080;
    width: 100%;
    padding: 7px;
}

    .slidercaption h4, .slidercaption p {
        color: #FFF;
    }

.m--padding-left-0 {
    padding-left: 0px !important;
}

.m--padding-right-0 {
    padding-right: 0px !important;
}

.carousel-control-prev span, .carousel-control-next span {
    cursor: pointer;
}
/*End Slider*/
.m-brand img {
    border: none;
    max-height: 50px;
}

@media (max-width: 914px) and (min-width: 801px) {
    ._infowidth {
        width: 88px;
        font-size: 14px;
    }

    ._infoanswidth {
        font-size: 14px;
    }
}

@media (max-width: 800px) and (min-width: 769px) {
    ._infowidth {
        width: 72px;
        font-size: 12px;
    }

    ._infoanswidth {
        font-size: 12px;
    }
}

@media (max-width: 345px) {
    ._infowidth {
        width: 72px;
        font-size: 12px;
    }

    ._infoanswidth {
        font-size: 12px;
    }
}

._shopping {
    height: unset !important;
    width: unset !important;
}

.familyBalance {
    font-weight: bold;
    font-size: 20px !important;
}

.m-nav__link-text {
    padding-right: 0px !important;
}

.m-list-timeline .m-list-timeline__items::before {
    display: none;
}

.fullwidth {
    width: 100% !important;
}

.m-nav-sticky {
    width: 61px;
}

.uploadNotesAlign {
    margin-top: 7px !important;
}

.m-nav-sticky .m-nav-sticky__item {
    padding: 3px 0px;
}

.img30 {
    height: 54px;
    width: 54px;
    border: 1px solid #ddd;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
}

.img25 {
    height: 40px;
    width: 40px;
    margin-bottom: 5px !important;
    margin-right: 4px !important;
    border: 1px solid #ddd;
}

.childlist.active {
    border: 0px;
    border-radius: 2px 2px;
}

.modalitemStyle {
    font-weight: 500;
    margin-bottom: 5px;
}

.childlist.active img {
    box-shadow: 0 0 0 #fd0f0f;
    animation: pulse 2s infinite;
}

    .childlist.active img:hover {
        animation: none;
    }

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 #fd0f0f;
    }

    70% {
        -webkit-box-shadow: 0 0 0 3px #e62222;
    }

    100% {
        -webkit-box-shadow: 0 0 0 1px rgba(204,169,44, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 #fd0f0f;
        box-shadow: 0 0 0 0 #fd0f0f;
    }

    70% {
        -moz-box-shadow: 0 0 0 5px #e62222;
        box-shadow: 0 0 0 3px #e62222;
    }

    100% {
        -moz-box-shadow: 0 0 0 1px rgba(204,169,44, 0);
        box-shadow: 0 0 0 1px rgba(204,169,44, 0);
    }
}

._addtocartbtn.active {
    background: #f4516c !important;
}

/*2018-07-16 Menu Color Changes*/
.m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-text,
.m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-icon {
    color: #34bfa3;
}

.m-header .m-header__bottom {
    background: #f7f8fa;
}

.m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-text {
    color: #3d3b56;
}

.m-header-menu .m-menu__nav > .m-menu__item.m-menu__item--active > .m-menu__link > .m-menu__item-here,
.m-header-menu .m-menu__nav > .m-menu__item.m-menu__item--expanded > .m-menu__link > .m-menu__item-here {
    color: #f7f8fa;
}

#MenuBarContent li .m-menu__link-text:hover, #MenuBarContent li:hover, #MenuBarContent li:active, #MenuBarContent li:focus {
    color: #34bfa3 !important;
}

.m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--hover > .m-menu__link .m-menu__link-text, .m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item:hover > .m-menu__link .m-menu__link-text {
    color: #34bfa3 !important;
}

.m-header-menu.m-header-menu--submenu-skin-light .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item.m-menu__item--hover > .m-menu__link .m-menu__link-icon, .m-header-menu.m-header-menu--submenu-skin-light .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item:hover > .m-menu__link .m-menu__link-icon {
    color: #34bfa3 !important;
}

.m-header-menu.m-header-menu--submenu-skin-light .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item.m-menu__item--hover > .m-menu__link .m-menu__link-text, .m-header-menu.m-header-menu--submenu-skin-light .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item:hover > .m-menu__link .m-menu__link-text {
    color: #34bfa3 !important;
}

.m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--hover > .m-menu__link > .m-menu__hor-arrow, .m-header-menu.m-header-menu--skin-dark .m-menu__nav > .m-menu__item:hover > .m-menu__link > .m-menu__hor-arrow {
    color: #34bfa3 !important;
}

.m-header--fixed.m-header--minimize-off .m-header {
    height: 87px;
}

.m-header .m-header__bottom {
    height: 50px;
}

.m-header-menu.m-header-menu--submenu-skin-light .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-text {
    color: #34bfa3;
}

.m-header-menu.m-header-menu--submenu-skin-light .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-icon {
    color: #34bfa3;
}

.m-menu__item--active .m-menu__toggle i {
    color: #34bfa3 !important;
}
/*End 2018-07-16 Menu Color Changes*/

/*Select Date In Meal Order*/
#pageone .k-picker-wrap.k-state-default {
    border: none;
}

#pageone .k-icon.k-i-calendar {
    margin-top: -11px;
    font: 21px/1 WebComponentsIcons;
}
/*End Select Date In Meal Order*/



.m-nav .m-nav__section {
    margin: 10px 0 10px 0;
}

@media screen and (max-width: 425px) {
    .m-topbar__welcome {
        display: none !important;
    }

    .m-topbar__username {
        display: none !important;
    }

    .m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-nav__link-icon .m-nav__link-icon-wrapper {
        width: 2.0rem !important;
    }
}
/*End Account Panel*/
/*Portlet*/
.m-portlet.m-portlet--full-height {
    height: calc(100% - 0.2rem);
}
/*End Portlet*/
.headpop {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    color: #36a3f7 !important;
    font-weight: 400;
    font-size: 16px;
}

/*Slide Show*/
.mySlides {
    display: none;
}

    .mySlides img {
        vertical-align: middle;
    }

.InstallmentmySlides {
    display: none;
}

    .InstallmentmySlides img {
        vertical-align: middle;
    }

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.detailimg .prev, .detailimg .next, .detailimgDash .prev, .detailimgDash .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.detailimg .next, .detailimgDash .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .detailimg .prev:hover, .detailimg .next:hover, .detailimgDash .prev:hover, .detailimgDash .next:hover {
        background-color: rgba(0,0,0,0.8);
        color: #FFF !important;
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .dot:hover, .dot.active {
        background-color: #717171;
    }

.Installmentdot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .Installmentdot:hover, .Installmentdot.active {
        background-color: #717171;
    }

/* Fading animation */
.mySlides.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
    opacity: 1 !important;
}

.InstallmentmySlides.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
    opacity: 1 !important;
}

@-webkit-keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .detailimg .prev, .detailimg .next, .detailimg .text {
        font-size: 11px;
    }
}

/*End Slide Show*/
/*Detail Image Popup*/
.detailnoimg .stars {
    position: unset;
    right: unset;
    top: unset;
    text-align: left;
}

.detailimg .healthyrating {
    position: absolute;
    top: 3px;
    left: 14px;
    color: #FFF;
    width: 23px;
    height: 23px;
}

.detailnoimg .healthyrating, .healthyrating.noimage {
    position: unset;
    bottom: unset;
    right: unset;
    top: unset;
    display: none;
}


#StoreItemTabHtml .eventbtns {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

    #StoreItemTabHtml .eventbtns .btn,
    #StoreItemTabHtml .eventbtns .btnbuy,
    #StoreItemTabHtml .eventbtns .btnreadmore,
    #StoreItemTabHtml .eventbtns .cancelOrder,
    #StoreItemTabHtml .eventbtns ._addtocart,
    #StoreItemTabHtml .eventbtns ._addtobuy {
        float: none !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

#StoreItemTabHtml .eventbtns {
    display: flex !important;
    align-items: center !important;
}

    #StoreItemTabHtml .eventbtns .addminus {
        margin-right: auto !important;
    }

    #StoreItemTabHtml .eventbtns .btn {
        margin-left: 10px !important;
    }

    #StoreItemTabHtml .eventbtns .addminus {
        margin: 0 !important;
        float: none !important;
    }

.btnbuy, .btnreadmore {
    border: none;
    color: #fff;
    border-radius: 20px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    transition: width 0.5s ease;
    width: 33px;
    height: 33px;
    cursor: pointer;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding: .75rem .75rem !important;
}
/*End Detail Image Popup*/
#userimage img {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    object-fit: contain;
    background: #f0cc9d;
}

.m-widget13 .m-widget13__item .m-widget13__desc {
    text-align: left;
}

.m-widget4 .m-widget4__item .m-widget4__img.m-widget4__img--pic img {
    height: 4rem;
}

.m-card-profile .m-card-profile__pic .m-card-profile__pic-wrapper {
    padding: 0px;
}

.m-card-profile .m-card-profile__pic img {
    height: 130px;
    width: 130px;
}

.studalign {
    width: 100px;
    margin-bottom: 0px;
}
/*kendo Material*/
.k-textbox {
    border-color: #e2e2e2 !important;
}

.k-filter-menu .k-autocomplete, .k-filter-menu .k-combobox, .k-filter-menu .k-datepicker, .k-filter-menu .k-datetimepicker, .k-filter-menu .k-dropdown, .k-filter-menu .k-numerictextbox, .k-filter-menu .k-textbox, .k-filter-menu .k-timepicker {
    width: 13.5rem !important;
    border-color: #e2e2e2 !important;
}

.alignright {
    text-align: right;
}
/*End kendo Material*/
.AddonItem .menu-item {
    height: 290px !important;
}

.align-center {
    text-align: center;
}

.howtoworksicon {
    width: 100%;
    font-size: 4.6rem;
    margin-bottom: 10px;
    margin-top: 10px;
    color: #0063bc;
}

.howtoworks {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgb(87, 89, 98);
}

    .howtoworks label {
        width: 100%;
    }

    .howtoworks img {
        margin-bottom: 0px;
        height: 70px;
        width: 85px;
        margin-top: 10px;
    }

.detailimg .slideshow-container {
    height: 100%;
}
/*Panel Header*/
/*.panelhead{
    background:#7a71f5;
    color:#FFF;
}*/

/*End Panel Header*/
/*Sub Portlet*/
.m-portlet__body .m-portlet__head {
    background-color: #FFF !important;
    border-bottom: 1px solid #ebedf2 !important;
}

    .m-portlet__body .m-portlet__head .m-portlet__head-icon, .m-portlet__body .m-portlet__head .m-portlet__nav-item i {
        color: #ffffff !important;
    }
/*.m-portlet__body .m-portlet__head .m-portlet__head-text{
    color:#888798 !important;
}*/
.m-portlet__body .m-portlet__body.m_portlet_bodyfirst {
    padding: 7px 30px !important;
}

.m_portlet_bodyfirst {
    padding: 0px 7px !important;
}

.m-portlet--fullscreen .m_portlet_bodyfirst {
    padding: 0px 15px !important;
}

.customtab a i {
    color: #929090 !important;
}

.customtab a {
    color: #191818 !important;
}

    .customtab a:hover, .customtab a.active {
        background: #e8e8e8 !important;
    }
/*End Sub Portlet*/
.divider {
    margin: 10px 0px 10px 0px;
    border: 1px dashed #ddd;
}

.activitycalendaricon {
    width: 0px !important;
    margin-right: 10px;
    font-size: 17px;
    cursor: pointer;
}

.activitycalendar {
    height: 0px;
    width: 0px !important;
    padding: 0px !important;
}

.activitycalendarval {
    margin-right: 10px !important;
    padding-right: 0px !important;
}

.footerright {
    font-size: 0.9rem;
}

.primaryuserimage {
    height: 60px !important;
    width: 60px !important;
}

.m_portlet_bodyfirst .m-portlet__head {
    padding-left: 1px !important;
    padding-right: 1px !important;
}

@media only screen and (max-width: 994px) {
    .h_BranchName {
        display: none !important;
    }
}

#notifybody .m-widget3__user-img {
    height: 50px;
    width: 50px;
}

#staticNotification .modal-body {
    min-height: 100px;
    max-height: 455px;
    padding-top: 10px;
}

.m-grid__item.m-footer, .m-footer__nav a {
    color: #a9a9aa;
    font-size: .9rem;
    font-weight: 400;
}

.m-stack__item m-brand {
    width: 100%;
}

.mySlides, .mySlides img {
    height: 100%;
}

.InstallmentmySlides, .InstallmentmySlides img {
    height: 100%;
}

.m-nav-sticky {
    top: 10% !important;
}

.mnavsticky {
    overflow: overlay;
    max-height: calc(100% - 6em);
}

.hideshowsidebar {
    height: 29px;
    width: 100%;
    color: red;
}

    .hideshowsidebar i {
        padding: 3px;
    }

.parentlist {
    background: #716aca;
}

.k-link input[type=checkbox] {
    margin-right: 4px;
}

.m-tabs__link {
    cursor: pointer;
}

.fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-popover .fc-header {
    background: #9c9898 !important;
}

    .fc-unthemed .fc-popover .fc-header .fc-close {
        color: #FFF !important;
    }

.accdesc {
    text-align: right;
    margin-bottom: 0px;
}

.accamount {
    width: 108px;
    text-align: right;
}

.modal-header .close {
    margin-top: -2px;
}

.modal-header {
    padding: 15px !important;
}

.fontweightbold {
    font-weight: bold;
}

.modal-header {
    padding: 11px !important;
}
/*Modal Header*/
/*.modal .modal-content .modal-header .modal-title {
    color: #FFF;
}
.modal .modal-content .modal-header {
    background: #7a71f5;
    color: #FFF;
}
.modal-header .close{
    color:#FFF;
}*/
/*End Modal*/
#wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #ccc;
    overflow: hidden;
}

#scroller {
    position: absolute;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 2000px;
    height: 100%;
    /*background-color: #a00;*/
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
}

    #scroller ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        text-align: center;
    }

.IngredientsImgDiv {
    height: 84px;
}

.m-brand {
    width: 100%;
}

.m-topbar .m-topbar__nav.m-nav > .m-nav__item.m-topbar__user-profile > .m-nav__link .m-topbar__username {
    display: inline-block;
}

.m-topbar__username {
    white-space: nowrap;
    max-width: 428px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0px;
    font-weight: bold;
}

@media only screen and (max-width: 994px) {
    .m-topbar__username {
        margin-top: 0px !important;
    }

    #itemDetails {
        padding-right: 0px !important;
    }
}

.displayrecord {
    font-weight: 500;
}

.m-container.m-container--responsive.m-container--xxl {
    width: 100% !important;
    padding-left: 0px !important;
}

@media only screen and (max-width: 508px) {
    .m-topbar__username {
        width: 50px;
    }

    .m-topbar__welcome {
        display: none !important;
    }
}

.add-to-cart-button.mlxs.btn-info, .btnpurchased, .eventbtns .btn-default {
    cursor: default !important;
}

#_DetailInfo .row {
    width: 100%;
}

.img31 {
    width: 30px;
    height: 30px;
}

.itemhide .notwell {
    height: 387px;
    text-align: center;
}

.fc-unthemed .fc-day-grid td:not(.fc-axis) {
    padding: .0rem .0rem !important;
}

/*Export Header*/
.page-template {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    .page-template .header {
        position: absolute;
        top: 10px;
        left: 30px;
        right: 30px;
        border-bottom: 1px solid #888;
        text-align: left;
        font-size: 12px;
    }

    .page-template .footer {
        position: absolute;
        bottom: 10px;
        left: 30px;
        right: 30px;
    }

.pdf-header-companyname {
    height: 20px;
    text-align: left;
    font-size: 12px
}

.pdf-header-reportname {
    height: 20px;
    text-align: center;
    font-size: 14px
}

.pdf-left-content {
    float: left;
}

.pdf-right-content {
    float: right;
}

.k-pdf-export .detailtransaction {
    text-decoration: none !important;
}

.k-pdf-export .k-icon.k-i-filter {
    display: none;
}

.k-pdf-export tbody tr, .k-pdf-export tbody {
    border-color: grey !important;
}

    .k-pdf-export tbody td, .k-pdf-export .k-grid {
        border-left: 0px !important;
        border-right: 0px !important;
        border-top: 0px !important;
        border-left: 0px !important;
    }
/*End Export*/
.m--padding-0 {
    padding: 0px !important;
}

.gridcart {
    width: 14px;
    height: 12px;
}

.backtogrid {
    position: relative;
    top: 3px;
    font-size: 28px;
    margin-right: 5px;
    cursor: pointer;
}

.addedtocart, .addedtocart:hover {
    background: #f4516c !important;
}

.itemdetailNamemore {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.innerUlList {
    padding: 5px;
    list-style: none;
    margin-bottom: 0px;
}

    .innerUlList li {
        padding: 5px 5px;
    }

        .innerUlList li:hover {
            cursor: pointer;
            background: #f7f7f7 !important;
        }

.k-widget.k-numerictextbox.ctrlfwidth, .k-widget.k-combobox.ctrlfwidth {
    width: 100%;
}

.cartavailablebalance {
    font-size: 12px;
    font-weight: 500;
}

.fc-popover .fc-event-container {
    overflow: hidden;
    overflow-y: auto;
    height: 300px;
}

.fc-popover .fc-title {
    font-size: 12px;
}

.innerUlList {
    overflow: hidden;
    overflow-y: auto;
    max-height: 200px;
}

#_EventTripDetail .modal .modal-content .modal-footer {
    padding: 10px 0px 0px 8px;
}

.overflowhidden {
    overflow: hidden;
}

.modalxl {
    width: 95%;
    max-width: unset;
}

.toolsalignright {
    margin-right: 2px;
    height: 39px !important;
    padding: .1rem 0.3rem !important;
}

.soldoutqty {
    color: #ff0000;
}

#m_accordion_2 tr td i {
    font-size: 1.4rem;
}

.ribbon:before {
    border-color: #fc4b6c;
    border-right-color: transparent;
}

.ribbon:before {
    position: absolute;
    top: 0;
    left: 100%;
    display: block;
    width: 0;
    height: 0;
    content: '';
    border: 15px solid #fc4b6c;
    border-right: 10px solid transparent;
}

.ribbon {
    padding: 0 0px 0 20px;
    height: 30px;
    line-height: 30px;
    clear: left;
    position: absolute;
    top: 12px;
    left: 10px;
    color: #fff;
    background: #fc4b6c;
    z-index: 444;
}

.modal .modal-content .modal-body {
    padding-top: 15px;
}

select.form-control {
    padding: .4rem 1rem;
}

.alignleft {
    text-align: left;
}

.textellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.CTRLM, .k-widget.CTRLM {
    border-left: 2px solid rgba(255, 0, 0, 0.92) !important;
}

    .CTRLM:focus, .k-widget.CTRLM:focus {
        border-left: 2px solid rgba(255, 0, 0, 0.92);
    }

.textellipse {
    white-space: nowrap;
    width: 89%;
    margin-bottom: -6px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nonpurchasenote {
    color: #d6554c;
    font-weight: 500;
}

.ca_active i {
    font-size: 1rem;
}

.aligncenter {
    text-align: center;
}

.vactivitycalendaricon, .sactivitycalendaricon, .ractivitycalendaricon, .factivitycalendaricon, .imvactivitycalendaricon {
    width: 0px !important;
    margin-right: 20px;
    font-size: 17px;
    cursor: pointer;
}

.vactivitycalendar, .sactivitycalendar, .ractivitycalendar, .factivitycalendar, .vactivitycalendar {
    height: 0px;
    width: 0px !important;
    padding: 8px !important;
}

.vactivitycalendarval, .sactivitycalendarval, .ractivitycalendarval, .factivitycalendarval, .imvactivitycalendarval {
    margin-right: 12px;
    font-size: 17px;
    /*color:#3d3b56;*/
}

.previsitorbtngrp.active, .facilitybtngrp.active, .preincidentbtngrp.active {
    background-color: #0abb87 !important;
    color: #FFF !important;
}

.tamsattbtngroup.active, .facilitybtngrp.active {
    background-color: #33adff !important;
    color: #FFF !important;
}

.m-option {
    padding: 0.8rem;
}

.paymodeSelect {
    cursor: pointer;
}

.m-header-menu .m-menu__nav > .m-menu__item {
    padding: 0 5px;
}

    .m-header-menu .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-icon {
        font-size: 1rem;
        width: 24px;
    }

.m-portlet.m-portlet--head-sm .m-portlet__head {
    height: 3.5rem;
}

.portletlefthide.open, .portletlefthide.close {
    cursor: pointer;
}

.m_portlet_bodyfirst .m-portlet.m-portlet--head-sm .m-portlet__head {
    height: 4.1rem;
}

.m-portlet__nav-item a {
    cursor: pointer !important;
}

.PreorderUserAndDate {
    position: absolute;
    z-index: 101;
}

ul.nav.nav-tabs.itemhide {
    position: absolute;
    width: 90%;
    background: rgb(255, 255, 255);
    z-index: 100;
    margin-top: -5px;
    margin-left: -10px;
}

.ItemListHtmlmTab {
    margin-top: 40px;
}

.tab-content.itemhide {
    z-index: 99;
}

#divBalance {
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
}

.m-list-timeline__items {
    margin-bottom: 7px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1efef;
}

    .m-list-timeline__items.last {
        margin-bottom: 0px !important;
        border-bottom: 0px !important;
    }

#divBalance .m-list-timeline__items .m-list-timeline__item .m-list-timeline__time {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
    width: 100px;
    padding: 0 7px 0 0;
    font-size: .95rem;
}

.clsSubtitle {
    font-size: 12px;
}

.fc-list-item-title.fc-widget-content, .fc-list-item-title.fc-widget-content .fc-description,
.fc-list-item-time.fc-widget-content {
    color: #FFF !important;
}

.m-header--fixed.m-header--minimize-off .m-header .m-header__top {
    height: 50px !important;
}

.m-header-menu .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-text {
    font-size: 0.95rem !important;
}

.m-header--fixed .m-body {
    padding-top: 94px !important;
}

.m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-nav__link-icon .m-nav__link-icon-wrapper > i {
    font-size: 1.3rem !important;
}

.m-card-user .m-card-user__details .m-card-user__name {
    font-size: 1rem;
}



.m-nav .m-nav__item > .m-nav__link .m-nav__link-text {
    font-size: 0.9rem;
}

.m-nav .m-nav__item > .m-nav__link .m-nav__link-icon {
    width: 25px !important;
    font-size: 1rem !important;
}

.btn.m-btn--custom {
    padding: 9px 15px;
    font-size: .9rem;
}

    .btn.m-btn--custom.viewInstallment {
        padding: .5rem .5rem;
        font-size: .9rem;
    }

.img21 {
    height: 30px;
    width: 30px;
}
/*Slider*/
#notificationslides, #galleryslides {
    overflow: hidden;
    position: relative;
    height: 100%;
}

    #notificationslides ul, #galleryslides ul {
        list-style: none;
        height: 100%;
        margin: 0;
        padding: 0;
        position: relative;
    }

    #notificationslides li, #galleryslides li {
        height: 100%;
        float: left;
        text-align: justify;
        position: relative;
    }
/* Styling for prev and next buttons */
.btn-bar {
    max-width: 346px;
    margin: 0 auto;
    display: block;
    position: relative;
    bottom: 44px;
    width: 100%;
}

#notificationButtons, #galleryButtons {
    padding: 0 0 5px 0;
    float: right;
    height: 30px;
}

    #notificationButtons a, #galleryButtons a {
        text-align: center;
        display: block;
        font-size: 30px;
        float: left;
        outline: 0;
        margin: 0 60px;
        color: #ccc3c3;
        text-decoration: none;
        display: block;
        padding: 9px;
        width: 35px;
    }

a#prev:hover, a#next:hover, a#gprev:hover, a#gnext:hover {
    color: #000;
    text-shadow: .5px 0px #b14943;
    cursor: pointer;
}
/*End Slider*/
.gimage {
    width: 100%;
    height: 100%;
    float: left;
    border: 1px solid #333;
}

    .gimage:hover {
        box-shadow: #FFF 10px 10px;
    }

.customtool.fc-unthemed .fc-toolbar .fc-button {
    height: 1.75rem !important;
    padding: 0 .7rem !important;
}

.customtool.fc-unthemed .fc-toolbar h2 {
    font-size: 0.82rem !important;
}

.customtool.fc-unthemed .fc-toolbar h2 {
    margin-top: .5rem !important;
}

.customtool.fc-unthemed th.fc-day-header {
    font-size: .7rem;
}

.m-header-menu .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item > .m-menu__link .m-menu__link-icon {
    font-size: .95rem !important;
}

.m-header-menu .m-menu__nav > .m-menu__item .m-menu__submenu > .m-menu__subnav > .m-menu__item > .m-menu__link .m-menu__link-text {
    font-size: .9rem !important;
}

.m-widget4 .m-widget4__item .m-widget4__ext .m-widget4__number {
    font-size: 1rem !important;
}

#m_Family .btn > i {
    line-height: .6;
    vertical-align: middle;
}

#m_Family .btn > i, .modal-content #_EventTripDetail .btn > i {
    line-height: .6;
    vertical-align: middle;
}

#m_FamilyTransfer .btn > i, #_EventTripDetail .btn > i {
    line-height: 1;
    vertical-align: middle;
}

.menu-item165 .menu-item__name-wrapper.menu-item-no-image {
    max-height: 35px !important;
    overflow: hidden;
}

.AddonItem .menu-item.menu-item105 {
    height: 25% !important;
}

.actionfor_caption {
    font-size: 0.95rem !important;
    font-style: italic;
}

.panel_text_padding {
    padding-top: 6px;
    padding-bottom: 5px;
}

.swal2-container.swal2-shown {
    background-color: rgb(0 0 0 / 70%);
}

#companyimage.m-topbar__userpic {
    padding-left: 14px;
    float: left;
    margin-right: 8px;
}

.m-stack.m-stack--ver.m-stack--general.m-stack--inline {
    margin-left: -14px;
    width: 100% !important;
}

.m-stack.m-stack--desktop.m-stack--ver > .m-stack__item.m-stack__item--fluid {
    width: 100% !important;
}

.h_BranchName {
    float: initial;
    line-height: 19px;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

    .h_BranchName p {
        vertical-align: middle;
        margin-top: 7px;
        margin-bottom: 0px;
    }

.m-stack__item.m-stack__item--middle.m-brand__logo, .m-nav__link.m-dropdown__toggle.m-brand__logo-wrapper {
    width: 100% !important;
}


.m-brand {
    background: none !important;
    padding: 0 !important;
}

.m-page .m-page__container {
    padding: 0 0 0 14px !important;
}

.m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-nav__link-icon.m-nav__link-icon--active .m-nav__link-icon-wrapper, .m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-nav__link-icon:hover .m-nav__link-icon-wrapper {
    background: none !important;
}

.m-portlet.m-portlet--primary.m-portlet--head-solid-bg .m-portlet__head {
    border: none !important;
}

.m-portlet .m-portlet__head .m-portlet__head-caption .m-portlet__head-title .m-portlet__head-text {
    font-size: 0.95rem !important;
    margin-bottom: 0px;
}

/*.m-stack m-stack--ver m-stack--desktop {
    background-color: #293850 !important;
}

.m-container m-container--responsive m-container--xxl m-container--full-height m-page__container {
    background-color: #293850 !important;
}

.m-stack.m-stack--desktop.m-stack--ver > .m-stack__item.m-stack__item--fluid {
    background-color: #293850 ;
}

.m-stack__item m-stack__item--fluid m-header-head {
    background-color: #293850 !important;
}

.m-stack__item.m-brand {
    background-color: #293850 !important;
}*/

.m-header--minimize-on .m-brand .m-brand__logo .m-brand__logo-wrapper img {
    max-height: 50px !important;
}
/*.m-stack__item.m-stack__item--middle.m-stack__item--fluid {
    background-color: #fff !important;
}*/
/*.staffMenuBack {
    background-color: #fff !important;
}*/

.fcbtn {
    border-radius: 20px !important;
}

@media (min-width: 993px) {
    .m-header-menu .m-menu__nav > .m-menu__item:first-child {
        padding-left: 15px !important;
    }
}

.m-footer__wrapper {
    padding: 0 15px;
}

.modal .modal-content .modal-footer {
    padding: 5px !important;
}

.storeContainer .ribbon {
    z-index: 1 !important;
}

.itemUpload {
    text-align: center !important;
    border: 1px solid #ccc;
    border-radius: 10px;
    border-top: 0px;
}

.image-panel-head {
    background-color: #ccc;
    color: black;
    font-weight: 500;
    margin-bottom: 5px;
    padding: 5px 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.dropzone {
    padding: 10px 10px !important;
}

.uploadNotesAlign {
    text-align: center !important;
    padding: 0 10px !important;
}

.m-brand .m-brand__tools .m-brand__toggler span {
    color: #fff !important;
}

    .m-brand .m-brand__tools .m-brand__toggler span::after, .m-brand .m-brand__tools .m-brand__toggler span::before {
        color: #fff !important;
    }

.m-brand .m-brand__tools .m-brand__icon > i {
    color: #fff !important;
}

.calmsbadge {
    color: #ffffff;
    background: #fd397a;
    padding: 0;
    margin: 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 25px;
    width: 35px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.tooltip {
    pointer-events: none;
}

.date-header {
    padding: 7px !important;
    font-size: 14px !important;
}


.m-card-user.m-card-user--skin-dark .m-card-user__details .m-card-user__name,
.m-nav .m-nav__item > .m-nav__link .m-nav__link-text {
    color: #172033;
    font-size: 14px !important;
}

.m-card-user {
    padding: 10px 0px;
}

    .m-card-user .m-card-user__details {
        padding: 0 0 0 21px;
    }

.ca_active {
    padding-right: 10px;
}


#TimeCardPageContainer tbody, #textbox {
    color: #000 !important;
}

/*Sanjay mobile view*/
/*
@media (max-width:400px) {
    .panelhead {
        position: relative;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 10px !important;
        height: 44px !important;
    }

        .panelhead .m-portlet__head-caption {
            width: 100% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .panelhead .m-portlet__head-title {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px;
        }

        .panelhead .m-portlet__head-text {
            font-size: 0.9rem !important;
            text-align: center !important;
        }

        .panelhead .m-portlet__head-tools {
            position: absolute !important;
            right: 8px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
        }
}

@media (max-width:430px) {
    .panelhead {
        position: relative;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 12px !important;
        height: 46px !important;
    }

        .panelhead .m-portlet__head-caption {
            width: 100% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
        }

        .panelhead .m-portlet__head-title {
            display: flex !important;
            align-items: center !important;
            gap: 8px;
            min-width: 0;
        }

        .panelhead .m-portlet__head-text {
            display: block !important;
            font-size: 0.9rem !important;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .panelhead .m-portlet__head-tools {
            position: absolute !important;
            right: 8px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
        }
}

@media (max-width:430px) {
    .m-portlet__head .m-portlet__head-text {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: #ffffff !important;
        z-index: 2;
    }
}

@media (max-width:430px) {
    .panelhead {
        padding-right: 40px !important;
    }

        .panelhead .m-portlet__head-caption {
            justify-content: flex-start !important;
        }

        .panelhead .m-portlet__head-title {
            justify-content: flex-start !important;
        }

        .panelhead .m-portlet__head-text {
            max-width: calc(100% - 40px);
            text-align: left !important;
        }

        .panelhead .m-portlet__head-tools {
            width: auto !important;
        }
}

@media (max-width:470px) {
    .panelhead {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 12px !important;
        height: 44px !important;
    }

        .panelhead .m-portlet__head-title {
            flex: 1;
            min-width: 0;
        }

        .panelhead .m-portlet__head-text {
            font-size: 0.9rem !important;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .panelhead .m-portlet__head-tools {
            position: static !important;
            margin-left: 8px;
        }
}

@media (max-width:420px) {
    .panelhead {
        padding: 0 10px !important;
    }

        .panelhead .m-portlet__head-text {
            font-size: 0.85rem !important;
        }
}

@media (max-width:380px) {
    .panelhead .m-portlet__head-text {
        font-size: 0.8rem !important;
    }

    .panelhead .m-portlet__head-tools {
        margin-left: 6px;
    }
}

@media (max-width:430px) {
    .panelhead {
        position: relative !important;
    }

        .panelhead .m-portlet__head-tools {
            position: absolute !important;
            right: 8px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            max-width: 45%;
            overflow: hidden;
            margin-top: auto;
        }

            .panelhead .m-portlet__head-tools .k-widget,
            .panelhead .m-portlet__head-tools .k-dropdown {
                max-width: 100% !important;
            }
}

@media (max-width:470px) {
    .panelhead {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px;
    }

        .panelhead .m-portlet__head-title {
            flex: 1 1 auto;
            min-width: 0;
        }

        .panelhead .m-portlet__head-text {
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .panelhead .m-portlet__head-tools {
            flex: 0 0 auto;
            position: static !important;
        }
}

@media (max-width:380px) {
    .panelhead {
        height: 42px !important;
        padding: 0 10px !important;
    }

        .panelhead .m-portlet__head-text {
            font-size: 0.8rem !important;
        }
}

@media (max-width:430px) {
    .btnbuy {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
    }

        .btnbuy .fa-shopping-bag {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            line-height: 1 !important;
            font-size: 16px !important;
        }
}

.btnbuy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .btnbuy .fa-shopping-bag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        font-size: 16px;
    }

@media (max-width:430px) {*/
/* frmCart.aspx: make cart table scrollable on mobile */
/*   .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        border: solid, #00000038;
    }

        .table-responsive .table {
            min-width: 535px;
        }

            .table-responsive .table th,
            .table-responsive .table td {
                white-space: nowrap;
                padding: 6px 8px !important;
                font-size: 12px !important;
            }
}

@media (max-width:430px) {*/
/* frmCart.aspx: checkout step clean mobile layout */
/*  .m-form__section.m-form__section--first {
        padding: 0 8px !important;
    }

        .m-form__section.m-form__section--first .m-form__heading {
            margin-bottom: 8px !important;
        }

    .m-portlet__foot.m-portlet__foot--fit {
        padding: 10px 8px !important;
    }

    .m-form__actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 !important;
    }

        .m-form__actions .row {
            margin: 0 !important;
            width: 100% !important;
            justify-content: center !important;
        }

        .m-form__actions .m-btn,
        .m-form__actions .m-btn--custom {
            min-height: 38px !important;
        }

        .m-form__actions .m--align-left,
        .m-form__actions .m--align-right {
            text-align: center !important;
        }

        .m-form__actions .col-lg-6,
        .m-form__actions .col-md-6,
        .m-form__actions .col-sm-6,
        .m-form__actions .col-xs-12 {
            width: 50% !important;
            max-width: 50% !important;
            padding: 0 !important;
        }

            .m-form__actions .col-lg-6.m--align-left,
            .m-form__actions .col-md-6.m--align-left,
            .m-form__actions .col-sm-6.m--align-left,
            .m-form__actions .col-xs-12.m--align-left,
            .m-form__actions .col-lg-6.m--align-right,
            .m-form__actions .col-md-6.m--align-right,
            .m-form__actions .col-sm-6.m--align-right,
            .m-form__actions .col-xs-12.m--align-right {
                display: flex !important;
                justify-content: center !important;
            }

            .m-form__actions .col-lg-6.m--align-left {
                padding-right: 6px !important;
            }

            .m-form__actions .col-lg-6.m--align-right {
                padding-left: 6px !important;
            }

            .m-form__actions .col-md-6.m--align-left {
                padding-right: 6px !important;
            }

            .m-form__actions .col-md-6.m--align-right {
                padding-left: 6px !important;
            }

            .m-form__actions .col-sm-6.m--align-left {
                padding-right: 6px !important;
            }

            .m-form__actions .col-sm-6.m--align-right {
                padding-left: 6px !important;
            }

            .m-form__actions .col-xs-12.m--align-left {
                padding-right: 6px !important;
            }

            .m-form__actions .col-xs-12.m--align-right {
                padding-left: 6px !important;
            }
}*/

/* frmCart.aspx desktop: make head bar full width */
/*@media (min-width:768px) {
    .m-portlet__head.panelhead {
        width: 100% !important;
    }

        .m-portlet__head.panelhead .m-portlet__head-caption {
            width: 100% !important;
        }

        .m-portlet__head.panelhead .m-portlet__head-title {
            width: 100% !important;
            flex: 1 1 auto !important;
        }

        .m-portlet__head.panelhead .m-portlet__head-text {
            width: 100% !important;
            display: block;
        }*/
/* frmCart.aspx: stretch header bar to full width (remove side gaps) */
/*.m-portlet__head.panelhead {
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
        border-radius: 0 !important;
    }

        .m-portlet__head.panelhead .m-portlet__head-caption {
            padding-left: 15px !important;
            padding-right: 15px !important;
            width: 100% !important;
        }
}
        */

/* Dashboard.aspx: Staff category appointment chart cards */
.IsStaffCategory {
    padding: 0 12px 22px !important;
}

    .IsStaffCategory > .Appointment {
        margin: 0 0 18px !important;
    }

        .IsStaffCategory > .Appointment > [class*="col-"] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

    .IsStaffCategory .Appointment .m-portlet {
        overflow: hidden !important;
        margin: 0 !important;
        border: 1px solid #dfe7f1 !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 14px 34px rgba(34, 50, 84, 0.08) !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head.panelhead {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 56px !important;
        height: auto !important;
        padding: 10px 16px !important;
        border-bottom: 1px solid #e8eef6 !important;
        color: #172033 !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-caption,
    .IsStaffCategory .Appointment .m-portlet__head-title {
        display: flex !important;
        align-items: center !important;
        min-width: 0;
    }

    .IsStaffCategory .Appointment .m-portlet__head-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 32px;
        width: 32px !important;
        height: 32px !important;
        margin: 0 10px 0 0 !important;
        border-radius: 9px !important;
        background: linear-gradient(135deg, #69d8c8 0%, #4f86f7 100%) !important;
        box-shadow: 0 8px 18px rgba(79, 134, 247, 0.18) !important;
    }

        .IsStaffCategory .Appointment .m-portlet__head-icon i {
            color: #ffffff !important;
            font-size: 15px !important;
            line-height: 1 !important;
        }

    .IsStaffCategory .Appointment .m-portlet__head-text {
        margin: 0 !important;
        color: #172033 !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-tools {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    .IsStaffCategory .Appointment .m-portlet__nav {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory .Appointment .m-portlet__nav-item {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory .Appointment .form-label {
        margin: 0 !important;
        color: #64748b !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    .IsStaffCategory .Appointment .form-control,
    .IsStaffCategory .Appointment .form-conrol,
    .IsStaffCategory .Appointment .m-input {
        width: 158px !important;
        height: 36px !important;
        min-height: 36px !important;
        border: 1px solid #e4e9f2 !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        color: #2f3747 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        box-shadow: none !important;
    }

    .IsStaffCategory .Appointment .m-input-icon__icon {
        height: 36px !important;
        line-height: 36px !important;
    }

    .IsStaffCategory .Appointment .btn-group {
        display: inline-flex !important;
        overflow: hidden;
        border: 1px solid #e4e9f2 !important;
        border-radius: 6px !important;
        background: #ffffff !important;
    }

        .IsStaffCategory .Appointment .btn-group .btn {
            height: 36px !important;
            min-width: 62px !important;
            padding: 0 14px !important;
            border: 0 !important;
            border-left: 1px solid #e4e9f2 !important;
            border-radius: 0 !important;
            font-size: 13px !important;
            font-weight: 500 !important;
        }

            .IsStaffCategory .Appointment .btn-group .btn:first-child {
                border-left: 0 !important;
            }

    .IsStaffCategory .Appointment .m-portlet__nav-link--icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 8px !important;
        color: #58b89d !important;
        background: rgba(88, 184, 157, 0.1) !important;
    }

        .IsStaffCategory .Appointment .m-portlet__nav-link--icon i {
            color: inherit !important;
            font-size: 16px !important;
        }

    .IsStaffCategory .Appointment .m-portlet__body {
        min-height: 360px !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    .IsStaffCategory .Appointment .clschart {
        min-height: 360px !important;
    }

    .IsStaffCategory .Appointment .loadingstyle {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 10px !important;
        border-top: 0 !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
        color: #64748b !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        padding-top: 0px !important;
    }

        .IsStaffCategory .Appointment .loadingstyle h6 {
            margin: 0 !important;
            color: #64748b !important;
            font-size: 14px !important;
            font-weight: 500 !important;
        }

@media (max-width: 992px) {
    .IsStaffCategory {
        padding: 0 8px 18px !important;
    }

        .IsStaffCategory .Appointment .m-portlet__head.panelhead {
            align-items: flex-start !important;
            flex-direction: column !important;
            gap: 10px !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-tools,
        .IsStaffCategory .Appointment .m-portlet__nav {
            width: 100% !important;
            justify-content: flex-start !important;
        }

        .IsStaffCategory .Appointment .form-control,
        .IsStaffCategory .Appointment .form-conrol,
        .IsStaffCategory .Appointment .m-input {
            width: 145px !important;
        }
}


.IsStaffCategory .Appointment .m-portlet__head-text,
.IsStaffCategory .Appointment .m-portlet__head-icon {
    color: #ffffff !important;
}

.IsStaffCategory .Appointment .m-portlet__head-icon {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    box-shadow: none !important;
}

    .IsStaffCategory .Appointment .m-portlet__head-icon i {
        color: #ffffff !important;
    }

.IsStaffCategory .Appointment .form-label,
.IsStaffCategory .Appointment .vactivitycalendarval {
    color: #ffffff !important;
}



.IsStaffCategory .Appointment .m-portlet__nav-link--icon {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}


.IsStaffCategory {
    padding: 0 22px 24px !important;
}

    .IsStaffCategory .dashtablist {
        margin: 0 0 18px !important;
    }

        .IsStaffCategory .dashtablist span {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-height: 34px !important;
            padding: 6px 16px !important;
            color: #222222 !important;
            line-height: 1.2 !important;
        }

            .IsStaffCategory .dashtablist span.active {
                border-bottom: 2px solid red !important;
                color: #222222 !important;
                font-weight: 500 !important;
                font-size: 14px;
            }

    .IsStaffCategory > .Appointment {
        margin: 0 0 20px !important;
    }

        .IsStaffCategory > .Appointment > [class*="col-"] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

    .IsStaffCategory .Appointment .m-portlet {
        overflow: hidden !important;
        border-radius: 14px !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head.panelhead {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 54px !important;
        height: auto !important;
        padding: 8px 12px !important;
        border-radius: 14px 14px 0 0 !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-caption {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        min-width: 220px !important;
        max-width: 42% !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-title {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

        .IsStaffCategory .Appointment .m-portlet__head-icon i {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            height: 100% !important;
            font-size: 18px !important;
            line-height: 1 !important;
            margin-left: 0px;
        }

    .IsStaffCategory .Appointment .m-portlet__head-text {
        margin: 0 !important;
        overflow: hidden !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-tools {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 240px) !important;
        margin-left: 14px !important;
    }

    .IsStaffCategory .Appointment .m-portlet__nav {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory .Appointment .m-portlet__nav-item {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .IsStaffCategory .Appointment .m-portlet__nav-item:has(> .form-label:empty) {
            display: none !important;
        }

    .IsStaffCategory .Appointment .vactivitycalendarval,
    .IsStaffCategory .Appointment .form-label {
        display: inline-flex !important;
        align-items: center !important;
        max-width: 230px !important;
        min-height: 36px !important;
        margin: 0 !important;
        overflow: hidden !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .IsStaffCategory .Appointment .form-control,
    .IsStaffCategory .Appointment .form-conrol,
    .IsStaffCategory .Appointment .m-input,
    .IsStaffCategory .Appointment .k-widget,
    .IsStaffCategory .Appointment .k-datepicker {
        width: 203px !important;
        max-width: 213px !important;
        height: 36px !important;
        margin: 0 !important;
    }

    .IsStaffCategory .Appointment .k-picker-wrap,
    .IsStaffCategory .Appointment .k-dropdown-wrap {
        display: flex !important;
        align-items: center !important;
        height: 36px !important;
        border: 1px solid #dfe7ef !important;
        border-radius: 7px !important;
        background: #ffffff !important;
    }

        .IsStaffCategory .Appointment .k-picker-wrap .k-input,
        .IsStaffCategory .Appointment .k-dropdown-wrap .k-input {
            height: 34px !important;
            line-height: 34px !important;
        }

    .IsStaffCategory .Appointment .btn-group {
        display: inline-flex !important;
        align-items: center !important;
        overflow: hidden !important;
        height: 36px !important;
        margin: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.52) !important;
        border-radius: 7px !important;
        background: rgba(255, 255, 255, 0.96) !important;
    }

        .IsStaffCategory .Appointment .btn-group .btn {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 58px !important;
            height: 34px !important;
            padding: 0 13px !important;
            border: 0 !important;
            border-left: 1px solid #e4e9f2 !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            line-height: 34px !important;
        }

            .IsStaffCategory .Appointment .btn-group .btn:first-child {
                border-left: 0 !important;
            }

    .IsStaffCategory .Appointment .m-portlet__nav-link--icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;
        margin: 0 !important;
    }

@media (max-width: 992px) {
    .IsStaffCategory {
        padding: 0 12px 20px !important;
    }

        .IsStaffCategory .Appointment .m-portlet__head.panelhead {
            align-items: flex-start !important;
            flex-direction: column !important;
            gap: 10px !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-caption,
        .IsStaffCategory .Appointment .m-portlet__head-tools {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__nav {
            justify-content: flex-start !important;
            flex-wrap: wrap !important;
        }
}

.IsStaffCategory .Appointment .m-portlet__head-caption,
.IsStaffCategory .Appointment .m-portlet__head-title,
.IsStaffCategory .Appointment .m-portlet__head-text,
.IsStaffCategory .Appointment .m-portlet__head-icon,
.IsStaffCategory .Appointment .m-portlet__head-icon i {
    color: var(--dashboard-theme-text, #ffffff) !important;
}

.IsStaffCategory .Appointment .m-portlet__head-icon,
.IsStaffCategory .Appointment .m-portlet__nav-link--icon {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    color: var(--dashboard-theme-text, #ffffff) !important;
    box-shadow: none !important;
}

.IsStaffCategory .Appointment .btn-group .btn.active {
    border-color: var(--dashboard-theme-color, #123890) !important;
}


.m-topbar__user-profile:focus-within {
    position: relative !important;
    z-index: 10050 !important;
}

.IsStaffCategory > .Facility,
.IsStaffCategory > .TAMS {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .IsStaffCategory > .Facility > [class*="col-"],
    .IsStaffCategory > .TAMS > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .IsStaffCategory > .Facility .m-portlet {
        overflow: hidden !important;
        margin-bottom: 16px !important;
        border: 1px solid #dfe7f1 !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: 0 12px 30px rgba(18, 56, 144, 0.07) !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head.panelhead {
        min-height: 42px !important;
        padding: 0 10px !important;
        color: #ffffff !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-caption,
    .IsStaffCategory > .Facility .m-portlet__head-title,
    .IsStaffCategory > .Facility .m-portlet__head-tools,
    .IsStaffCategory > .Facility .m-portlet__nav,
    .IsStaffCategory > .Facility .m-portlet__nav-item {
        display: flex !important;
        align-items: center !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-tools {
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .IsStaffCategory > .Facility .m-portlet__nav {
        justify-content: flex-end !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        margin: 0 9px 0 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.36) !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.14) !important;
    }

        .IsStaffCategory > .Facility .m-portlet__head-icon i,
        .IsStaffCategory > .Facility .m-portlet__head-text,
        .IsStaffCategory > .Facility .m-portlet__nav-link--icon i,
        .IsStaffCategory > .Facility .form-label {
            color: #ffffff !important;
        }

    .IsStaffCategory > .Facility .m-portlet__head-text {
        margin: 0 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .IsStaffCategory > .Facility .form-control,
    .IsStaffCategory > .Facility .form-conrol,
    .IsStaffCategory > .Facility .m-input,
    .IsStaffCategory > .Facility .k-widget,
    .IsStaffCategory > .Facility .k-datepicker {
        width: 150px !important;
        min-width: 150px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

.m-input-icon > .m-input-icon__icon.m-input-icon__icon--right {
    right: 6px;
}

.IsStaffCategory > .Facility .btn-group {
    display: inline-flex !important;
    align-items: center !important;
    overflow: hidden !important;
    height: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
}

    .IsStaffCategory > .Facility .btn-group .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 54px !important;
        height: 30px !important;
        padding: 0 12px !important;
        border: 0 !important;
        border-left: 1px solid #dfe7ef !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

        .IsStaffCategory > .Facility .btn-group .btn:first-child {
            border-left: 0 !important;
        }



.IsStaffCategory > .Facility .m-portlet__nav-link--icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.IsStaffCategory > .Facility .m-portlet__body {
    min-height: 460px !important;
    padding: 0 !important;
}

.IsStaffCategory > .TAMS {
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin-bottom: 14px !important;
}

    .IsStaffCategory > .TAMS > .col-lg-2,
    .IsStaffCategory > .TAMS > .col-md-2 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .IsStaffCategory > .TAMS > [class*="col-"].mb10 {
        margin-bottom: 0 !important;
        padding: 0 10px 12px !important;
    }

.IsStaffCategory .TAMS .dash--count {
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    min-height: 96px !important;
    height: 96px !important;
    padding: 14px 14px 14px 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10) !important;
}

.IsStaffCategory .TAMS .dash--count-icon {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    opacity: 0.65 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #334155 !important;
    font-size: 17px !important;
}

.IsStaffCategory .TAMS .dash--count-title {
    position: static !important;
    grid-column: 2 !important;
    max-width: 100% !important;
    padding-right: 12px !important;
    text-align: left !important;
}

    .IsStaffCategory .TAMS .dash--count-title span {
        display: block !important;
        color: #334155 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

.IsStaffCategory .TAMS .dash--count-total2 {
    position: static !important;
    grid-column: 3 !important;
    align-self: start !important;
    justify-self: end !important;
    color: #111827 !important;
    text-align: right !important;
}

    .IsStaffCategory .TAMS .dash--count-total2 span {
        color: #111827 !important;
        font-size: 32px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
    }

.IsStaffCategory .TAMS .clr1,
.IsStaffCategory .TAMS .clr3 {
    background: #f3b1c4 !important;
}

.IsStaffCategory .TAMS .clr2,
.IsStaffCategory .TAMS .clr4 {
    background: #8fd4e6 !important;
}

.IsStaffCategory .TAMS .clr5 {
    background: #f4aeb0 !important;
}

.IsStaffCategory .TAMS .clr6 {
    background: #f1ed78 !important;
}

.IsStaffCategory .TAMS .clr7 {
    background: #eca3c6 !important;
}

.IsStaffCategory .TAMS .clr8 {
    background: #f6e8c9 !important;
}

@media (max-width: 1200px) {
    .IsStaffCategory > .TAMS > .col-lg-2,
    .IsStaffCategory > .TAMS > .col-md-2 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 768px) {
    .IsStaffCategory > .Facility .m-portlet__head.panelhead {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 8px 10px !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-tools,
    .IsStaffCategory > .Facility .m-portlet__nav {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }

    .IsStaffCategory > .TAMS > .col-lg-2,
    .IsStaffCategory > .TAMS > .col-md-2 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}


.IsStaffCategory > .Facility,
.IsStaffCategory > .TAMS {
    width: 100% !important;
    margin: 0 0 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    .IsStaffCategory > .Facility > [class*="col-"],
    .IsStaffCategory > .TAMS > [class*="col-"]:not(.mb10) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

.IsStaffCategory .Facility .m-portlet,
.IsStaffCategory .TAMS .m-portlet {
    overflow: hidden !important;
    margin: 0 0 20px !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(34, 50, 84, 0.08) !important;
}

.IsStaffCategory .Facility .m-portlet__head.panelhead,
.IsStaffCategory .TAMS .m-portlet__head.panelhead {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    height: auto !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    color: var(--dashboard-theme-text, #ffffff) !important;
}

.IsStaffCategory .Facility .m-portlet__head-caption,
.IsStaffCategory .TAMS .m-portlet__head-caption {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    min-width: 220px !important;
    max-width: 42% !important;
}

.IsStaffCategory .Facility .m-portlet__head-title,
.IsStaffCategory .TAMS .m-portlet__head-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.IsStaffCategory .Facility .m-portlet__head-icon,
.IsStaffCategory .TAMS .m-portlet__head-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
}

    .IsStaffCategory .Facility .m-portlet__head-icon i,
    .IsStaffCategory .TAMS .m-portlet__head-icon i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        color: var(--dashboard-theme-text, #ffffff) !important;
        font-size: 18px !important;
        line-height: 1 !important;
        padding-left: 0px !important;
    }

.IsStaffCategory .Facility .m-portlet__head-text,
.IsStaffCategory .TAMS .m-portlet__head-text {
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--dashboard-theme-text, #ffffff) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.IsStaffCategory .Facility .m-portlet__head-tools,
.IsStaffCategory .TAMS .m-portlet__head-tools {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 240px) !important;
    margin-left: 14px !important;
}

.IsStaffCategory .Facility .m-portlet__nav,
.IsStaffCategory .TAMS .m-portlet__nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.IsStaffCategory .Facility .m-portlet__nav-item,
.IsStaffCategory .TAMS .m-portlet__nav-item {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 15px;
}

.IsStaffCategory .Facility .vactivitycalendarval,
.IsStaffCategory .Facility .factivitycalendarval,
.IsStaffCategory .Facility .form-label,
.IsStaffCategory .TAMS .form-label {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 230px !important;
    min-height: 36px !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--dashboard-theme-text, #ffffff) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.IsStaffCategory .Facility .form-control,
.IsStaffCategory .Facility .form-conrol,
.IsStaffCategory .Facility .m-input,
.IsStaffCategory .Facility .k-widget,
.IsStaffCategory .Facility .k-datepicker,
.IsStaffCategory .TAMS .form-control,
.IsStaffCategory .TAMS .form-conrol,
.IsStaffCategory .TAMS .m-input,
.IsStaffCategory .TAMS .k-widget,
.IsStaffCategory .TAMS .k-datepicker {
    width: 218px !important;
    max-width: 223px !important;
    height: 37px !important;
    border-radius: 8px;
}

.IsStaffCategory .Facility .k-picker-wrap,
.IsStaffCategory .Facility .k-dropdown-wrap,
.IsStaffCategory .TAMS .k-picker-wrap,
.IsStaffCategory .TAMS .k-dropdown-wrap {
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
    border: 1px solid #dfe7ef !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

.IsStaffCategory .Facility .btn-group,
.IsStaffCategory .TAMS .btn-group {
    display: inline-flex !important;
    align-items: center !important;
    overflow: hidden !important;
    height: 36px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.52) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.96) !important;
}

    .IsStaffCategory .Facility .btn-group .btn,
    .IsStaffCategory .TAMS .btn-group .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 58px !important;
        height: 34px !important;
        padding: 0 13px !important;
        border: 0 !important;
        border-left: 1px solid #e4e9f2 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 34px !important;
    }

        .IsStaffCategory .Facility .btn-group .btn:first-child,
        .IsStaffCategory .TAMS .btn-group .btn:first-child {
            border-left: 0 !important;
        }



.IsStaffCategory .Facility .m-portlet__nav-link--icon,
.IsStaffCategory .TAMS .m-portlet__nav-link--icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: var(--dashboard-theme-text, #ffffff) !important;
}

    .IsStaffCategory .Facility .m-portlet__nav-link--icon i,
    .IsStaffCategory .TAMS .m-portlet__nav-link--icon i {
        color: var(--dashboard-theme-text, #ffffff) !important;
        font-size: 16px !important;
    }

.IsStaffCategory .Facility .m-portlet__body,
.IsStaffCategory .TAMS .m-portlet__body {
    min-height: 360px !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.IsStaffCategory .Facility .clschart,
.IsStaffCategory .TAMS .clschart {
    min-height: 360px !important;
}

.IsStaffCategory .Facility .loadingstyle,
.IsStaffCategory .TAMS .loadingstyle {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding-top: 0px !important;
    padding-bottom: 10px !important;
}

.IsStaffCategory > .TAMS > [class*="col-"].mb10 {
    padding: 0 10px 12px !important;
}

.IsStaffCategory .TAMS .dash--count {
    border: 1px solid #dfe7f1 !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 34px rgba(34, 50, 84, 0.08) !important;
}

.IsStaffCategory .TAMS .dash--count-icon {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #334155 !important;
}

@media (max-width: 992px) {
    .IsStaffCategory .Facility .m-portlet__head.panelhead,
    .IsStaffCategory .TAMS .m-portlet__head.panelhead {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .IsStaffCategory .Facility .m-portlet__head-caption,
    .IsStaffCategory .Facility .m-portlet__head-tools,
    .IsStaffCategory .TAMS .m-portlet__head-caption,
    .IsStaffCategory .TAMS .m-portlet__head-tools {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .IsStaffCategory .Facility .m-portlet__nav,
    .IsStaffCategory .TAMS .m-portlet__nav {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}



/* TAMS dashboard count cards: gradient tiles with visible colored icons */
.IsStaffCategory .TAMS > [class*="col-"].mb10 {
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-bottom: 4px !important;
}

.IsStaffCategory .TAMS .dash--count {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 56px 1fr 72px !important;
    align-items: center !important;
    min-height: 118px !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    color: #273044 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10) !important;
}

    .IsStaffCategory .TAMS .dash--count::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.28)) !important;
        pointer-events: none !important;
    }

.IsStaffCategory .TAMS .dash--count-icon {
    position: relative !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.36) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    box-shadow: none !important;
}

    .IsStaffCategory .TAMS .dash--count-icon i,
    .IsStaffCategory .TAMS .dash--count-icon span,
    .IsStaffCategory .TAMS .dash--count-icon svg {
        color: #ffffff !important;
        fill: #ffffff !important;
    }

    .IsStaffCategory .TAMS .dash--count-icon::before {
        content: "\f017" !important;
        font-family: FontAwesome !important;
        color: #ffffff !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

.IsStaffCategory .TAMS .PA_Absent .dash--count-icon::before,
.IsStaffCategory .TAMS .PR_Absent .dash--count-icon::before {
    content: "\f111" !important;
}

.IsStaffCategory .TAMS .PA_EarlyOut .dash--count-icon::before,
.IsStaffCategory .TAMS .PR_EarlyOut .dash--count-icon::before {
    content: "\f00c" !important;
}

.IsStaffCategory .TAMS .PA_LateIn .dash--count-icon::before,
.IsStaffCategory .TAMS .PR_LateIn .dash--count-icon::before {
    content: "\f017" !important;
}

.IsStaffCategory .TAMS .PA_Incomplete .dash--count-icon::before,
.IsStaffCategory .TAMS .PR_Incomplete .dash--count-icon::before {
    content: "\f007" !important;
}

.IsStaffCategory .TAMS .PlannedLeave .dash--count-icon::before {
    content: "\f1c1" !important;
}

.IsStaffCategory .TAMS .dash--count-title {
    position: relative !important;
    z-index: 1 !important;
    align-self: end !important;
    margin: 0 !important;
    padding: 0 8px !important;
    color: #273044 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.28 !important;
    text-align: right !important;
}

    .IsStaffCategory .TAMS .dash--count-title span {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
    }

.IsStaffCategory .TAMS .dash--count-total2 {
    z-index: 1 !important;
    align-self: start !important;
    margin: 0 !important;
    color: #202838 !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: right !important;
}

    .IsStaffCategory .TAMS .dash--count-total2 span {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
    }

.IsStaffCategory .TAMS .PA_Absent .dash--count,
.IsStaffCategory .TAMS .PR_Absent .dash--count {
    background: linear-gradient(135deg, #d7789f 0%, #e5aac0 100%) !important;
}

.IsStaffCategory .TAMS .PA_EarlyOut .dash--count,
.IsStaffCategory .TAMS .PR_EarlyOut .dash--count {
    background: linear-gradient(135deg, #6fcbd0 0%, #a5e6e4 100%) !important;
}

.IsStaffCategory .TAMS .PA_LateIn .dash--count,
.IsStaffCategory .TAMS .PR_LateIn .dash--count {
    background: linear-gradient(135deg, #86aee9 0%, #b4d0ff 100%) !important;
}

.IsStaffCategory .TAMS .PA_Incomplete .dash--count,
.IsStaffCategory .TAMS .PR_Incomplete .dash--count {
    background: linear-gradient(135deg, #d675a5 0%, #e9a9c8 100%) !important;
}

.IsStaffCategory .TAMS .PlannedLeave .dash--count {
    background: linear-gradient(135deg, #9b82df 0%, #c4adff 100%) !important;
}



/* INCIDENT final lock: keep tab rows scoped and make #IMTiles match TAMS cards */
.IsStaffCategory > .Appointment[style*="display: none"],
.IsStaffCategory > .Appointment[style*="display:none"],
.IsStaffCategory > .Facility[style*="display: none"],
.IsStaffCategory > .Facility[style*="display:none"],
.IsStaffCategory > .TAMS[style*="display: none"],
.IsStaffCategory > .TAMS[style*="display:none"],
.IsStaffCategory > .INCIDENT[style*="display: none"],
.IsStaffCategory > .INCIDENT[style*="display:none"] {
    display: none !important;
}

.IsStaffCategory > .INCIDENT:not([style*="display: none"]):not([style*="display:none"]) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

    .IsStaffCategory > .INCIDENT:not([style*="display: none"]):not([style*="display:none"]) > #IMTiles {
        display: flex !important;
        flex: 0 0 100% !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }

#IMTiles > div.display-inline-block,
#IMTiles > div[class*="col-"],
.IsStaffCategory > .INCIDENT #IMTiles > div.display-inline-block,
.IsStaffCategory > .INCIDENT #IMTiles > div[class*="col-"] {
    display: block !important;
    float: none !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 10px 12px !important;
}

#IMTiles .dash--count,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    width: 100% !important;
    height: 96px !important;
    min-height: 96px !important;
    margin: 0 !important;
    padding: 14px 14px 14px 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    color: #334155 !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10) !important;
}

    #IMTiles .dash--count::before,
    #IMTiles .dash--count::after,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count::before,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count::after {
        content: none !important;
        display: none !important;
    }

#IMTiles .dash--count-icon,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.65 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 17px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
}

    #IMTiles .dash--count-icon::before,
    #IMTiles .dash--count-icon::after,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon::before,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon::after {
        content: none !important;
        display: none !important;
    }

#IMTiles .dash--count-title,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-title {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
    overflow: hidden !important;
    transform: none !important;
}

    #IMTiles .dash--count-title span,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title span {
        position: static !important;
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #334155 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        background: transparent !important;
        box-shadow: none !important;
    }

#IMTiles .dash--count-total2,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 {
    position: static !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: end !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    text-align: right !important;
    overflow: visible !important;
    transform: none !important;
}

    #IMTiles .dash--count-total2 span,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 span {
        position: static !important;
        display: inline !important;
        color: #111827 !important;
        font-size: 32px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

#IMTiles .clr1,
#IMTiles .clr3,
#IMTiles .bg-danger,
.IsStaffCategory > .INCIDENT #IMTiles .clr1,
.IsStaffCategory > .INCIDENT #IMTiles .clr3,
.IsStaffCategory > .INCIDENT #IMTiles .bg-danger {
    background: #f3b1c4 !important;
}

#IMTiles .clr2,
#IMTiles .clr4,
.IsStaffCategory > .INCIDENT #IMTiles .clr2,
.IsStaffCategory > .INCIDENT #IMTiles .clr4 {
    background: #8fd4e6 !important;
}

#IMTiles .clr5,
.IsStaffCategory > .INCIDENT #IMTiles .clr5 {
    background: #f4aeb0 !important;
}

#IMTiles .clr6,
.IsStaffCategory > .INCIDENT #IMTiles .clr6 {
    background: #f1ed78 !important;
}

#IMTiles .clr7,
.IsStaffCategory > .INCIDENT #IMTiles .clr7 {
    background: #eca3c6 !important;
}

#IMTiles .clr8,
.IsStaffCategory > .INCIDENT #IMTiles .clr8 {
    background: #f6e8c9 !important;
}

.IsStaffCategory > .INCIDENT:not([style*="display: none"]):not([style*="display:none"]) > .col-lg-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 10px 12px !important;
}

.IsStaffCategory > .INCIDENT .m-portlet {
    overflow: hidden !important;
    margin: 0 0 16px !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(18, 56, 144, 0.07) !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head.panelhead {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    border-radius: 8px 8px 0 0 !important;
    color: #ffffff !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head-caption,
.IsStaffCategory > .INCIDENT .m-portlet__head-title,
.IsStaffCategory > .INCIDENT .m-portlet__head-tools,
.IsStaffCategory > .INCIDENT .m-portlet__nav,
.IsStaffCategory > .INCIDENT .m-portlet__nav-item {
    display: flex !important;
    align-items: center !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head-tools {
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__nav {
    justify-content: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head-icon,
.IsStaffCategory > .INCIDENT .m-portlet__nav-link--icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 9px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

    .IsStaffCategory > .INCIDENT .m-portlet__head-icon i,
    .IsStaffCategory > .INCIDENT .m-portlet__head-text,
    .IsStaffCategory > .INCIDENT .m-portlet__nav-link--icon i {
        color: #ffffff !important;
        margin-left: 0px;
    }

.IsStaffCategory > .INCIDENT .m-portlet__head-text {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.IsStaffCategory > .INCIDENT .btn-group {
    display: inline-flex !important;
    align-items: center !important;
    overflow: hidden !important;
    height: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
}

    .IsStaffCategory > .INCIDENT .btn-group .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 54px !important;
        height: 30px !important;
        padding: 0 12px !important;
        border: 0 !important;
        border-left: 1px solid #dfe7ef !important;
        border-radius: 0 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

        .IsStaffCategory > .INCIDENT .btn-group .btn:first-child {
            border-left: 0 !important;
        }



@media (max-width: 1200px) {
    #IMTiles > div.display-inline-block,
    #IMTiles > div[class*="col-"],
    .IsStaffCategory > .INCIDENT #IMTiles > div.display-inline-block,
    .IsStaffCategory > .INCIDENT #IMTiles > div[class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 768px) {
    #IMTiles > div.display-inline-block,
    #IMTiles > div[class*="col-"],
    .IsStaffCategory > .INCIDENT #IMTiles > div.display-inline-block,
    .IsStaffCategory > .INCIDENT #IMTiles > div[class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* INCIDENT dash-count visual lock: uploaded TAMS-style card alignment */
#IMTiles .dash--count,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
}

#IMTiles .dash--count-icon,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon {
    position: absolute !important;
    top: 10px !important;
    left: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    transform: none !important;
}

#IMTiles .dash--count-total2,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #3f4248 !important;
    text-align: right !important;
    transform: none !important;
}

    #IMTiles .dash--count-total2 span,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 span {
        display: inline !important;
        color: #3f4248 !important;
        font-size: 21px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
    }

#IMTiles .dash--count-title,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-title {
    position: absolute !important;
    right: 18px !important;
    bottom: 16px !important;
    left: 46px !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: right !important;
    overflow: hidden !important;
}

    #IMTiles .dash--count-title span,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title span {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #49494b !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
        text-align: right !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

/* INCIDENT panelhead: same treatment as Facility/TAMS */
.IsStaffCategory > .INCIDENT .m-portlet__head.panelhead,
.IsStaffCategory .INCIDENT .m-portlet__head.panelhead {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    height: auto !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 14px 14px 0 0 !important;
}

.IsStaffCategory > .INCIDENT .m-portlet,
.IsStaffCategory .INCIDENT .m-portlet {
    border-radius: 14px !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head-icon,
.IsStaffCategory .INCIDENT .m-portlet__head-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 10px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.13) !important;
    color: var(--dashboard-theme-text, #ffffff) !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head-text,
.IsStaffCategory .INCIDENT .m-portlet__head-text {
    color: var(--dashboard-theme-text, #ffffff) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* INCIDENT dash-count: larger text and visible icon */
#IMTiles .dash--count,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count {
    height: 86px !important;
    min-height: 106px !important;
    border-radius: 8px !important;
}

#IMTiles .dash--count-icon,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon {
    top: 12px !important;
    left: 14px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.m-portlet .m-portlet__head .m-portlet__head-caption .m-portlet__head-title .m-portlet__head-icon {
    display: table-cell;
    vertical-align: middle;
    line-height: 0;
    padding: 0px;
}

#IMTiles .dash--count-icon::before,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon::before {
    content: "\f071" !important;
    display: inline-block !important;
    font-family: FontAwesome !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

#IMTiles .dash--count-icon.fa-circle-thin::before,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon.fa-circle-thin::before {
    content: "\f1db" !important;
}

#IMTiles .dash--count-total2,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 {
    top: 14px !important;
    right: 18px !important;
}

    #IMTiles .dash--count-total2 span,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 span {
        font-size: 37px !important;
        font-weight: 600 !important;
    }

#IMTiles .dash--count-title,
.IsStaffCategory > .INCIDENT #IMTiles .dash--count-title {
    right: 18px !important;
    bottom: 18px !important;
    left: 56px !important;
}

    #IMTiles .dash--count-title span,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title span {
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }

/* INCIDENT panelhead date controls only */
.IsStaffCategory > .INCIDENT .m-portlet__head.panelhead .m-portlet__nav-item .form-label,
.IsStaffCategory > .INCIDENT .m-portlet__head.panelhead .form-label.imvactivitycalendarval.pull-left,
.IsStaffCategory .INCIDENT .m-portlet__head.panelhead .m-portlet__nav-item .form-label,
.IsStaffCategory .INCIDENT .m-portlet__head.panelhead .form-label.imvactivitycalendarval.pull-left {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-height: 61px !important;
    height: 33px !important;
    width: 250px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: 5px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.IsStaffCategory > .INCIDENT .m-portlet__head.panelhead .m-input-icon.m-input-icon--right,
.IsStaffCategory .INCIDENT .m-portlet__head.panelhead .m-input-icon.m-input-icon--right {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    max-height: 61px !important;
    height: 33px !important;
    width: 44px !important;
    margin: 0 0 0 -41px !important;
    padding: 0 !important;
    border-radius: 5px !important;
    color: #585555 !important;
    text-align: center !important;
}


    .IsStaffCategory > .INCIDENT .m-portlet__head.panelhead .m-input-icon.m-input-icon--right .m-input,
    .IsStaffCategory .INCIDENT .m-portlet__head.panelhead .m-input-icon.m-input-icon--right .m-input {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: transparent !important;
    }

    .IsStaffCategory > .INCIDENT .m-portlet__head.panelhead .m-input-icon.m-input-icon--right .m-input-icon__icon,
    .IsStaffCategory .INCIDENT .m-portlet__head.panelhead .m-input-icon.m-input-icon--right .m-input-icon__icon {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        color: #585555 !important;
        padding-left: 18px;
    }

.m-portlet__head.panelhead .m-portlet__head-text,
.m-portlet__head.panelhead .m-portlet__head-icon i,
.m-portlet__head.panelhead .m-portlet__nav-link--icon i,
.m-portlet__head.panelhead .m-portlet__head-caption,
.m-portlet__head.panelhead .m-portlet__head-title {
    color: #ffffff !important;
}

.badgenmr {
    background-color: #aaa7a775 !important;
    padding: 5px !important;
    color: #000 !important;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 2.5px;
}

.wrongcls {
    background-color: red !important;
    color: white !important;
}

.correctcls {
    background-color: green !important;
    color: white !important;
}

/* =========================================
   REMOVE DEFAULT METRONIC ARROWS
========================================= */

.m-dropdown__arrow,
.m-dropdown__arrow::before,
.m-dropdown__arrow::after,
.m-dropdown__wrapper::before,
.m-dropdown__wrapper::after,
.m-dropdown__inner::after {
    display: none !important;
    content: none !important;
}

/* =========================================
   DROPDOWN WRAPPER
========================================= */

.m-dropdown__wrapper {
    position: relative !important;
    overflow: visible !important;
    padding-top: 0 !important;
}

/* =========================================
   DROPDOWN INNER
========================================= */

.m-dropdown__inner {
    position: relative !important;
    overflow: visible !important;
    z-index: 4 !important;
}

/* =========================================
   CLEAN TRIANGLE TOP ARROW
========================================= */

.m-dropdown__wrapper > .m-dropdown__inner::before {
    content: "" !important;
    position: absolute !important;
    top: -12px !important;
    right: 46px !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
    display: block !important;
    z-index: -9999 !important;
}

/* Dashboard Facility mobile cleanup */
@media (max-width: 767.98px) {
    .IsStaffCategory > .Facility:not([style*="display: none"]):not([style*="display:none"]) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .Facility > .col-md-12,
    .IsStaffCategory > .Facility > .col-lg-12,
    .IsStaffCategory > .Facility > .col-sm-12,
    .IsStaffCategory > .Facility > .col-xs-12,
    .IsStaffCategory > .Facility > [class*="col-"] {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 20px !important;
    }

    .IsStaffCategory > .Facility .m-portlet {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head.panelhead {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        align-items: start !important;
        width: 100% !important;
        min-height: 104px !important;
        height: auto !important;
        padding: 12px 14px 14px !important;
        gap: 10px !important;
        border-radius: 8px 8px 0 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-caption,
    .IsStaffCategory > .Facility .m-portlet__head-title {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-icon {
        flex: 0 0 28px !important;
        width: 28px !important;
        height: 28px !important;
        margin: 0 10px 0 0 !important;
        border-radius: 6px !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-tools {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility .m-portlet__nav {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility .m-portlet__nav-item {
        display: flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .IsStaffCategory > .Facility .m-portlet__nav-item:first-child:has(.factivitycalendarval:empty) {
            display: none !important;
        }

    .IsStaffCategory > .Facility .factivitycalendarval,
    .IsStaffCategory > .Facility .form-label {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        max-width: 100% !important;
        min-height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory > .Facility .m-input-icon.m-input-icon--right {
        position: relative !important;
        display: block !important;
        width: 96px !important;
        max-width: calc(100vw - 34px) !important;
        height: 32px !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .IsStaffCategory > .Facility #fdaterangevisitor,
    .IsStaffCategory > .Facility #topfacility_month,
    .IsStaffCategory > .Facility #facilitypurpose_month,
    .IsStaffCategory > .Facility .form-control,
    .IsStaffCategory > .Facility .form-conrol,
    .IsStaffCategory > .Facility .m-input,
    .IsStaffCategory > .Facility .k-widget,
    .IsStaffCategory > .Facility .k-datepicker {
        display: block !important;
        width: 96px !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 26px 0 8px !important;
        border-radius: 4px !important;
        font-size: 10px !important;
        line-height: 32px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory > .Facility #topfacility_month,
    .IsStaffCategory > .Facility #facilitypurpose_month {
        width: 104px !important;
        font-size: 11px !important;
    }

    .IsStaffCategory > .Facility .m-input-icon__icon,
    .IsStaffCategory > .Facility .m-input-icon__icon.m-input-icon__icon--right {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 32px !important;
        line-height: 32px !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .Facility .btn-group {
        display: inline-grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 122px !important;
        max-width: calc(100vw - 34px) !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        flex: 0 0 auto !important;
    }

        .IsStaffCategory > .Facility .btn-group .btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 0 !important;
            width: 100% !important;
            height: 30px !important;
            padding: 0 4px !important;
            font-size: 10px !important;
            line-height: 30px !important;
            white-space: nowrap !important;
        }

    .IsStaffCategory > .Facility .m-portlet__nav-link--icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

    .IsStaffCategory > .Facility .m-portlet__body {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 500px !important;
        padding: 10px 10px 0 !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    .IsStaffCategory > .Facility #ChartFacilityBooked,
    .IsStaffCategory > .Facility #topbookingfacility,
    .IsStaffCategory > .Facility #facilitypurposechart,
    .IsStaffCategory > .Facility .clschart {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 310px !important;
        min-height: 310px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility #ChartFacilityBookedNoData,
    .IsStaffCategory > .Facility #topbookingfacilityNoData,
    .IsStaffCategory > .Facility #facilitypurposechartNoData,
    .IsStaffCategory > .Facility .loadingstyle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 180px !important;
        height: 180px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .Facility #topbookingfacility,
    .IsStaffCategory > .Facility #facilitypurposechart {
        height: 340px !important;
        min-height: 340px !important;
    }

        .IsStaffCategory > .Facility #topbookingfacility svg,
        .IsStaffCategory > .Facility #facilitypurposechart svg,
        .IsStaffCategory > .Facility #ChartFacilityBooked svg {
            max-width: 100% !important;
        }
}

/* Dashboard mobile alignment final override */
@media (max-width: 767.98px) {
    .IsStaffCategory {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 10px 18px !important;
        overflow-x: hidden !important;
    }

        .IsStaffCategory > .Appointment,
        .IsStaffCategory > .Facility,
        .IsStaffCategory > .TAMS,
        .IsStaffCategory > .INCIDENT {
            display: flex !important;
            flex-direction: column !important;
            flex-wrap: nowrap !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 14px !important;
            padding: 0 !important;
            overflow: visible !important;
        }

            .IsStaffCategory > .Appointment[style*="display: none"],
            .IsStaffCategory > .Appointment[style*="display:none"],
            .IsStaffCategory > .Facility[style*="display: none"],
            .IsStaffCategory > .Facility[style*="display:none"],
            .IsStaffCategory > .TAMS[style*="display: none"],
            .IsStaffCategory > .TAMS[style*="display:none"],
            .IsStaffCategory > .INCIDENT[style*="display: none"],
            .IsStaffCategory > .INCIDENT[style*="display:none"] {
                display: none !important;
            }

            .IsStaffCategory > .Appointment > [class*="col-"],
            .IsStaffCategory > .Facility > [class*="col-"],
            .IsStaffCategory > .TAMS > [class*="col-"],
            .IsStaffCategory > .INCIDENT > [class*="col-"],
            .IsStaffCategory > .INCIDENT > #IMTiles {
                flex: 0 0 100% !important;
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                padding: 0 0 14px !important;
            }

        .IsStaffCategory .Appointment .m-portlet,
        .IsStaffCategory .Facility .m-portlet,
        .IsStaffCategory .TAMS .m-portlet,
        .IsStaffCategory .INCIDENT .m-portlet {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 14px !important;
            overflow: hidden !important;
            border-radius: 10px !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head.panelhead,
        .IsStaffCategory .Facility .m-portlet__head.panelhead,
        .IsStaffCategory .TAMS .m-portlet__head.panelhead,
        .IsStaffCategory .INCIDENT .m-portlet__head.panelhead {
            display: flex !important;
            flex-direction: column !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            width: 100% !important;
            min-height: 0 !important;
            height: auto !important;
            gap: 10px !important;
            padding: 12px 12px 14px !important;
            border-radius: 10px 10px 0 0 !important;
            overflow: visible !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-caption,
        .IsStaffCategory .Facility .m-portlet__head-caption,
        .IsStaffCategory .TAMS .m-portlet__head-caption,
        .IsStaffCategory .INCIDENT .m-portlet__head-caption {
            display: flex !important;
            align-items: center !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            margin: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-title,
        .IsStaffCategory .Facility .m-portlet__head-title,
        .IsStaffCategory .TAMS .m-portlet__head-title,
        .IsStaffCategory .INCIDENT .m-portlet__head-title {
            display: flex !important;
            align-items: center !important;
            width: 100% !important;
            min-width: 0 !important;
            gap: 10px !important;
            margin: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-icon,
        .IsStaffCategory .Facility .m-portlet__head-icon,
        .IsStaffCategory .TAMS .m-portlet__head-icon,
        .IsStaffCategory .INCIDENT .m-portlet__head-icon {
            flex: 0 0 30px !important;
            width: 30px !important;
            height: 30px !important;
            margin: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-text,
        .IsStaffCategory .Facility .m-portlet__head-text,
        .IsStaffCategory .TAMS .m-portlet__head-text,
        .IsStaffCategory .INCIDENT .m-portlet__head-text {
            display: block !important;
            min-width: 0 !important;
            max-width: 100% !important;
            margin: 0 !important;
            overflow: hidden !important;
            font-size: 13px !important;
            line-height: 1.25 !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

        .IsStaffCategory .Appointment .m-portlet__head-tools,
        .IsStaffCategory .Facility .m-portlet__head-tools,
        .IsStaffCategory .TAMS .m-portlet__head-tools,
        .IsStaffCategory .INCIDENT .m-portlet__head-tools {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            margin: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__nav,
        .IsStaffCategory .Facility .m-portlet__nav,
        .IsStaffCategory .TAMS .m-portlet__nav,
        .IsStaffCategory .INCIDENT .m-portlet__nav {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            justify-content: flex-start !important;
            width: 100% !important;
            max-width: 100% !important;
            gap: 8px !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__nav-item,
        .IsStaffCategory .Facility .m-portlet__nav-item,
        .IsStaffCategory .TAMS .m-portlet__nav-item,
        .IsStaffCategory .INCIDENT .m-portlet__nav-item {
            display: flex !important;
            align-items: center !important;
            flex: 0 1 auto !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            gap: 0 !important;
        }

            .IsStaffCategory .Appointment .m-portlet__nav-item:has(> .form-label:empty),
            .IsStaffCategory .Facility .m-portlet__nav-item:has(> .form-label:empty),
            .IsStaffCategory .TAMS .m-portlet__nav-item:has(> .form-label:empty),
            .IsStaffCategory .INCIDENT .m-portlet__nav-item:has(> .form-label:empty) {
                display: none !important;
            }

        .IsStaffCategory .Appointment .vactivitycalendarval,
        .IsStaffCategory .Facility .factivitycalendarval,
        .IsStaffCategory .Facility .vactivitycalendarval,
        .IsStaffCategory .TAMS .form-label,
        .IsStaffCategory .INCIDENT .form-label {
            width: 100% !important;
            max-width: 100% !important;
            min-height: 24px !important;
            height: auto !important;
            padding: 0 !important;
            overflow: hidden !important;
            font-size: 12px !important;
            line-height: 1.25 !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

        .IsStaffCategory .Appointment .m-input-icon,
        .IsStaffCategory .Facility .m-input-icon,
        .IsStaffCategory .TAMS .m-input-icon,
        .IsStaffCategory .INCIDENT .m-input-icon {
            width: min(100%, 246px) !important;
            max-width: 100% !important;
            margin: 0 !important;
        }

        .IsStaffCategory .Appointment .form-control,
        .IsStaffCategory .Appointment .form-conrol,
        .IsStaffCategory .Appointment .m-input,
        .IsStaffCategory .Appointment .k-widget,
        .IsStaffCategory .Appointment .k-datepicker,
        .IsStaffCategory .Facility .form-control,
        .IsStaffCategory .Facility .form-conrol,
        .IsStaffCategory .Facility .m-input,
        .IsStaffCategory .Facility .k-widget,
        .IsStaffCategory .Facility .k-datepicker,
        .IsStaffCategory .TAMS .form-control,
        .IsStaffCategory .TAMS .form-conrol,
        .IsStaffCategory .TAMS .m-input,
        .IsStaffCategory .TAMS .k-widget,
        .IsStaffCategory .TAMS .k-datepicker,
        .IsStaffCategory .INCIDENT .form-control,
        .IsStaffCategory .INCIDENT .form-conrol,
        .IsStaffCategory .INCIDENT .m-input,
        .IsStaffCategory .INCIDENT .k-widget,
        .IsStaffCategory .INCIDENT .k-datepicker {
            width: min(100%, 246px) !important;
            max-width: 100% !important;
            min-width: 0 !important;
            height: 34px !important;
            min-height: 34px !important;
            margin: 0 !important;
            font-size: 12px !important;
        }

        .IsStaffCategory .Appointment .btn-group,
        .IsStaffCategory .Facility .btn-group,
        .IsStaffCategory .TAMS .btn-group,
        .IsStaffCategory .INCIDENT .btn-group {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            width: min(100%, 228px) !important;
            max-width: 100% !important;
            height: 34px !important;
            margin: 0 !important;
        }

            .IsStaffCategory .Appointment .btn-group .btn,
            .IsStaffCategory .Facility .btn-group .btn,
            .IsStaffCategory .TAMS .btn-group .btn,
            .IsStaffCategory .INCIDENT .btn-group .btn {
                min-width: 0 !important;
                width: 100% !important;
                height: 32px !important;
                padding: 0 8px !important;
                font-size: 12px !important;
                line-height: 32px !important;
            }

        .IsStaffCategory .Appointment .m-portlet__nav-link--icon,
        .IsStaffCategory .Facility .m-portlet__nav-link--icon,
        .IsStaffCategory .TAMS .m-portlet__nav-link--icon,
        .IsStaffCategory .INCIDENT .m-portlet__nav-link--icon {
            flex: 0 0 34px !important;
            width: 34px !important;
            height: 34px !important;
            margin: 0 !important;
        }

        .IsStaffCategory .Appointment .m-portlet__body,
        .IsStaffCategory .Facility .m-portlet__body,
        .IsStaffCategory .TAMS .m-portlet__body,
        .IsStaffCategory .INCIDENT .m-portlet__body {
            width: 100% !important;
            min-height: 340px !important;
            padding: 0 !important;
            overflow: hidden !important;
        }

        .IsStaffCategory .Appointment .clschart,
        .IsStaffCategory .Facility .clschart,
        .IsStaffCategory .TAMS .clschart,
        .IsStaffCategory .INCIDENT .clschart,
        .IsStaffCategory #TAMSAttChartOne,
        .IsStaffCategory #TAMSPredictionChart {
            width: 100% !important;
            max-width: 100% !important;
            min-height: 340px !important;
            overflow: hidden !important;
        }

        .IsStaffCategory .Appointment .loadingstyle,
        .IsStaffCategory .Facility .loadingstyle,
        .IsStaffCategory .TAMS .loadingstyle,
        .IsStaffCategory .INCIDENT .loadingstyle {
            width: 100% !important;
            max-width: 100% !important;
            min-height: 340px !important;
            height: 340px !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .IsStaffCategory > .TAMS > [class*="col-"].mb10,
        .IsStaffCategory > .INCIDENT #IMTiles > div.display-inline-block,
        .IsStaffCategory > .INCIDENT #IMTiles > div[class*="col-"],
        #IMTiles > div.display-inline-block,
        #IMTiles > div[class*="col-"] {
            flex: 0 0 100% !important;
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 0 10px !important;
        }

        .IsStaffCategory .TAMS .dash--count,
        .IsStaffCategory > .INCIDENT #IMTiles .dash--count,
        #IMTiles .dash--count {
            display: grid !important;
            grid-template-columns: 38px minmax(0, 1fr) auto !important;
            align-items: center !important;
            width: 100% !important;
            min-height: 82px !important;
            height: auto !important;
            padding: 12px !important;
            border-radius: 10px !important;
        }

        .IsStaffCategory .TAMS .dash--count-icon,
        .IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon,
        #IMTiles .dash--count-icon {
            position: static !important;
            grid-column: 1 !important;
            width: 30px !important;
            height: 30px !important;
            margin: 0 !important;
            font-size: 15px !important;
        }

        .IsStaffCategory .TAMS .dash--count-title,
        .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title,
        #IMTiles .dash--count-title {
            position: static !important;
            grid-column: 2 !important;
            width: auto !important;
            min-width: 0 !important;
            padding: 0 10px 0 0 !important;
            text-align: left !important;
        }

            .IsStaffCategory .TAMS .dash--count-title span,
            .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title span,
            #IMTiles .dash--count-title span {
                display: block !important;
                width: 100% !important;
                color: #334155 !important;
                font-size: 13px !important;
                line-height: 1.2 !important;
                text-align: left !important;
                white-space: normal !important;
            }

        .IsStaffCategory .TAMS .dash--count-total2,
        .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2,
        #IMTiles .dash--count-total2 {
            position: static !important;
            grid-column: 3 !important;
            justify-self: end !important;
            min-width: 34px !important;
            text-align: right !important;
        }

            .IsStaffCategory .TAMS .dash--count-total2 span,
            .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 span,
            #IMTiles .dash--count-total2 span {
                color: #111827 !important;
                font-size: 28px !important;
                line-height: 1 !important;
            }
}

/* Facility Booking mobile final lock */
@media (max-width: 767.98px) {
    .IsStaffCategory > .Facility:not([style*="display: none"]):not([style*="display:none"]) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .Facility > [class*="col-"] {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0 20px !important;
    }

    .IsStaffCategory > .Facility .m-portlet {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head.panelhead {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: start !important;
        min-height: 104px !important;
        height: auto !important;
        gap: 10px !important;
        padding: 12px 14px 14px !important;
        border-radius: 8px 8px 0 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-caption,
    .IsStaffCategory > .Facility .m-portlet__head-title,
    .IsStaffCategory > .Facility .m-portlet__head-tools,
    .IsStaffCategory > .Facility .m-portlet__nav {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-title {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-icon {
        flex: 0 0 28px !important;
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

    .IsStaffCategory > .Facility .m-portlet__head-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory > .Facility .m-portlet__nav {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility .m-portlet__nav-item {
        display: flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

        .IsStaffCategory > .Facility .m-portlet__nav-item:first-child:has(.factivitycalendarval:empty) {
            display: none !important;
        }

    .IsStaffCategory > .Facility .factivitycalendarval,
    .IsStaffCategory > .Facility .form-label {
        width: auto !important;
        min-height: 22px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .IsStaffCategory > .Facility .m-input-icon.m-input-icon--right {
        position: relative !important;
        display: block !important;
        flex: 0 0 auto !important;
        width: 96px !important;
        max-width: calc(100vw - 34px) !important;
        height: 32px !important;
        margin: 0 !important;
    }

    .IsStaffCategory > .Facility #fdaterangevisitor,
    .IsStaffCategory > .Facility #topfacility_month,
    .IsStaffCategory > .Facility #facilitypurpose_month,
    .IsStaffCategory > .Facility .form-control,
    .IsStaffCategory > .Facility .form-conrol,
    .IsStaffCategory > .Facility .m-input,
    .IsStaffCategory > .Facility .k-widget,
    .IsStaffCategory > .Facility .k-datepicker {
        width: 96px !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 26px 0 8px !important;
        border-radius: 4px !important;
        font-size: 10px !important;
        line-height: 32px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory > .Facility #topfacility_month,
    .IsStaffCategory > .Facility #facilitypurpose_month {
        width: 104px !important;
        font-size: 11px !important;
    }

    .IsStaffCategory > .Facility .m-input-icon__icon,
    .IsStaffCategory > .Facility .m-input-icon__icon.m-input-icon__icon--right {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 32px !important;
        line-height: 32px !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .Facility .btn-group {
        display: inline-grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        flex: 0 0 auto !important;
        width: 122px !important;
        max-width: calc(100vw - 34px) !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }

        .IsStaffCategory > .Facility .btn-group .btn {
            min-width: 0 !important;
            width: 100% !important;
            height: 30px !important;
            padding: 0 4px !important;
            font-size: 10px !important;
            line-height: 30px !important;
            white-space: nowrap !important;
        }

    .IsStaffCategory > .Facility .m-portlet__nav-link--icon {
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

    .IsStaffCategory > .Facility .m-portlet__body {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 500px !important;
        padding: 10px 10px 0 !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    .IsStaffCategory > .Facility #ChartFacilityBooked,
    .IsStaffCategory > .Facility #topbookingfacility,
    .IsStaffCategory > .Facility #facilitypurposechart,
    .IsStaffCategory > .Facility .clschart {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 310px !important;
        min-height: 310px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Facility #topbookingfacility,
    .IsStaffCategory > .Facility #facilitypurposechart {
        height: 340px !important;
        min-height: 340px !important;
    }

    .IsStaffCategory > .Facility #ChartFacilityBookedNoData,
    .IsStaffCategory > .Facility #topbookingfacilityNoData,
    .IsStaffCategory > .Facility #facilitypurposechartNoData,
    .IsStaffCategory > .Facility .loadingstyle {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 180px !important;
        height: 180px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Dashboard all staff rows mobile final lock */
@media (max-width: 767.98px) {
    .IsStaffCategory > .Appointment[style*="display: none"],
    .IsStaffCategory > .Appointment[style*="display:none"],
    .IsStaffCategory > .Facility[style*="display: none"],
    .IsStaffCategory > .Facility[style*="display:none"],
    .IsStaffCategory > .TAMS[style*="display: none"],
    .IsStaffCategory > .TAMS[style*="display:none"],
    .IsStaffCategory > .INCIDENT[style*="display: none"],
    .IsStaffCategory > .INCIDENT[style*="display:none"] {
        display: none !important;
    }

    .IsStaffCategory > .Appointment:not([style*="display: none"]):not([style*="display:none"]),
    .IsStaffCategory > .Facility:not([style*="display: none"]):not([style*="display:none"]),
    .IsStaffCategory > .TAMS:not([style*="display: none"]):not([style*="display:none"]),
    .IsStaffCategory > .INCIDENT:not([style*="display: none"]):not([style*="display:none"]) {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory > .Appointment > [class*="col-"],
    .IsStaffCategory > .Facility > [class*="col-"],
    .IsStaffCategory > .TAMS > [class*="col-"],
    .IsStaffCategory > .INCIDENT > [class*="col-"],
    .IsStaffCategory > .INCIDENT > #IMTiles {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 20px !important;
    }

    .IsStaffCategory .Appointment .m-portlet,
    .IsStaffCategory .Facility .m-portlet,
    .IsStaffCategory .TAMS .m-portlet,
    .IsStaffCategory .INCIDENT .m-portlet {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head.panelhead,
    .IsStaffCategory .Facility .m-portlet__head.panelhead,
    .IsStaffCategory .TAMS .m-portlet__head.panelhead,
    .IsStaffCategory .INCIDENT .m-portlet__head.panelhead {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: start !important;
        width: 100% !important;
        min-height: 104px !important;
        height: auto !important;
        gap: 10px !important;
        padding: 12px 14px 14px !important;
        border-radius: 8px 8px 0 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-caption,
    .IsStaffCategory .Appointment .m-portlet__head-title,
    .IsStaffCategory .Appointment .m-portlet__head-tools,
    .IsStaffCategory .Appointment .m-portlet__nav,
    .IsStaffCategory .Facility .m-portlet__head-caption,
    .IsStaffCategory .Facility .m-portlet__head-title,
    .IsStaffCategory .Facility .m-portlet__head-tools,
    .IsStaffCategory .Facility .m-portlet__nav,
    .IsStaffCategory .TAMS .m-portlet__head-caption,
    .IsStaffCategory .TAMS .m-portlet__head-title,
    .IsStaffCategory .TAMS .m-portlet__head-tools,
    .IsStaffCategory .TAMS .m-portlet__nav,
    .IsStaffCategory .INCIDENT .m-portlet__head-caption,
    .IsStaffCategory .INCIDENT .m-portlet__head-title,
    .IsStaffCategory .INCIDENT .m-portlet__head-tools,
    .IsStaffCategory .INCIDENT .m-portlet__nav {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-title,
    .IsStaffCategory .Facility .m-portlet__head-title,
    .IsStaffCategory .TAMS .m-portlet__head-title,
    .IsStaffCategory .INCIDENT .m-portlet__head-title {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-icon,
    .IsStaffCategory .Facility .m-portlet__head-icon,
    .IsStaffCategory .TAMS .m-portlet__head-icon,
    .IsStaffCategory .INCIDENT .m-portlet__head-icon {
        flex: 0 0 28px !important;
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

    .IsStaffCategory .Appointment .m-portlet__head-text,
    .IsStaffCategory .Facility .m-portlet__head-text,
    .IsStaffCategory .TAMS .m-portlet__head-text,
    .IsStaffCategory .INCIDENT .m-portlet__head-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory .Appointment .m-portlet__nav,
    .IsStaffCategory .Facility .m-portlet__nav,
    .IsStaffCategory .TAMS .m-portlet__nav,
    .IsStaffCategory .INCIDENT .m-portlet__nav {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .IsStaffCategory .Appointment .m-portlet__nav-item,
    .IsStaffCategory .Facility .m-portlet__nav-item,
    .IsStaffCategory .TAMS .m-portlet__nav-item,
    .IsStaffCategory .INCIDENT .m-portlet__nav-item {
        display: flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0px 15px !important;
        gap: 0 !important;
    }

        .IsStaffCategory .Appointment .m-portlet__nav-item:has(> .form-label:empty),
        .IsStaffCategory .Facility .m-portlet__nav-item:has(> .form-label:empty),
        .IsStaffCategory .TAMS .m-portlet__nav-item:has(> .form-label:empty),
        .IsStaffCategory .INCIDENT .m-portlet__nav-item:has(> .form-label:empty) {
            display: none !important;
        }

    .IsStaffCategory .Appointment .form-label,
    .IsStaffCategory .Appointment .vactivitycalendarval,
    .IsStaffCategory .Facility .form-label,
    .IsStaffCategory .Facility .factivitycalendarval,
    .IsStaffCategory .TAMS .form-label,
    .IsStaffCategory .INCIDENT .form-label,
    .IsStaffCategory .INCIDENT .imvactivitycalendarval {
        width: auto !important;
        max-width: 100% !important;
        min-height: 22px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory .Appointment .m-input-icon.m-input-icon--right,
    .IsStaffCategory .Facility .m-input-icon.m-input-icon--right,
    .IsStaffCategory .INCIDENT .m-input-icon.m-input-icon--right {
        position: relative !important;
        display: block !important;
        flex: 0 0 auto !important;
        width: 20px !important;
        max-width: calc(100vw - 34px) !important;
        height: 32px !important;
        margin: 0 !important;
    }

    .IsStaffCategory .Appointment .form-control,
    .IsStaffCategory .Appointment .form-conrol,
    .IsStaffCategory .Appointment .m-input,
    .IsStaffCategory .Appointment .k-widget,
    .IsStaffCategory .Appointment .k-datepicker,
    .IsStaffCategory .Facility .form-control,
    .IsStaffCategory .Facility .form-conrol,
    .IsStaffCategory .Facility .m-input,
    .IsStaffCategory .Facility .k-widget,
    .IsStaffCategory .Facility .k-datepicker,
    .IsStaffCategory .TAMS .form-control,
    .IsStaffCategory .TAMS .form-conrol,
    .IsStaffCategory .TAMS .m-input,
    .IsStaffCategory .TAMS .k-widget,
    .IsStaffCategory .TAMS .k-datepicker,
    .IsStaffCategory .TAMS .clsleaveTypeCtrl,
    .IsStaffCategory .INCIDENT .form-control,
    .IsStaffCategory .INCIDENT .form-conrol,
    .IsStaffCategory .INCIDENT .m-input,
    .IsStaffCategory .INCIDENT .k-widget,
    .IsStaffCategory .INCIDENT .k-datepicker {
        width: 104px !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 26px 0 8px !important;
        border-radius: 4px !important;
        font-size: 10px !important;
        line-height: 32px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .IsStaffCategory .Appointment .m-input-icon .form-control,
    .IsStaffCategory .Appointment .m-input-icon .m-input,
    .IsStaffCategory .Facility .m-input-icon .form-control,
    .IsStaffCategory .Facility .m-input-icon .m-input,
    .IsStaffCategory .INCIDENT .m-input-icon .form-control,
    .IsStaffCategory .INCIDENT .m-input-icon .m-input {
        width: 96px !important;
    }

    .IsStaffCategory .Appointment .m-input-icon__icon,
    .IsStaffCategory .Facility .m-input-icon__icon,
    .IsStaffCategory .INCIDENT .m-input-icon__icon {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 32px !important;
        line-height: 32px !important;
        padding: 0 !important;
        margin-right: 0px !important;
    }

    .IsStaffCategory .Appointment .btn-group,
    .IsStaffCategory .Facility .btn-group,
    .IsStaffCategory .INCIDENT .btn-group {
        display: inline-grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        flex: 0 0 auto !important;
        width: 140px !important;
        max-width: calc(100vw - 34px) !important;
        height: 40px !important;
        margin: 0 !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }

    .IsStaffCategory .TAMS .btn-group {
        display: inline-grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex: 0 0 auto !important;
        width: 92px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }

        .IsStaffCategory .Appointment .btn-group .btn,
        .IsStaffCategory .Facility .btn-group .btn,
        .IsStaffCategory .TAMS .btn-group .btn,
        .IsStaffCategory .INCIDENT .btn-group .btn {
            min-width: 0 !important;
            width: 100% !important;
            height: 30px !important;
            padding: 0 4px !important;
            font-size: 10px !important;
            line-height: 30px !important;
            white-space: nowrap !important;
        }

    .IsStaffCategory .Appointment .m-portlet__nav-link--icon,
    .IsStaffCategory .Facility .m-portlet__nav-link--icon,
    .IsStaffCategory .TAMS .m-portlet__nav-link--icon,
    .IsStaffCategory .INCIDENT .m-portlet__nav-link--icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 6px !important;
    }

    .IsStaffCategory .Appointment .m-portlet__body,
    .IsStaffCategory .Facility .m-portlet__body,
    .IsStaffCategory .TAMS .m-portlet__body,
    .IsStaffCategory .INCIDENT .m-portlet__body {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 500px !important;
        padding: 10px 10px 0 !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    .IsStaffCategory .Appointment .clschart,
    .IsStaffCategory .Facility .clschart,
    .IsStaffCategory .TAMS .clschart,
    .IsStaffCategory .INCIDENT .clschart,
    .IsStaffCategory #basedOnVisitor,
    .IsStaffCategory #staffAppointentStatusChart,
    .IsStaffCategory #maxvisitingvisitor,
    .IsStaffCategory #ChartFacilityBooked,
    .IsStaffCategory #topbookingfacility,
    .IsStaffCategory #facilitypurposechart,
    .IsStaffCategory #TAMSAttChartOne,
    .IsStaffCategory #TAMSPredictionChart,
    .IsStaffCategory #incident-summary-date-based,
    .IsStaffCategory #incident-based-status,
    .IsStaffCategory #incident-based-category {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 330px !important;
        min-height: 330px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .IsStaffCategory .Appointment .loadingstyle,
    .IsStaffCategory .Facility .loadingstyle,
    .IsStaffCategory .TAMS .loadingstyle,
    .IsStaffCategory .INCIDENT .loadingstyle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 180px !important;
        height: 180px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .IsStaffCategory > .TAMS > [class*="col-"].mb10,
    .IsStaffCategory > .INCIDENT #IMTiles > div.display-inline-block,
    .IsStaffCategory > .INCIDENT #IMTiles > div[class*="col-"],
    #IMTiles > div.display-inline-block,
    #IMTiles > div[class*="col-"] {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0 12px !important;
    }

    .IsStaffCategory .TAMS .dash--count,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count,
    #IMTiles .dash--count {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 82px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    .IsStaffCategory .TAMS .dash--count-icon,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-icon,
    #IMTiles .dash--count-icon {
        position: static !important;
        grid-column: 1 !important;
        width: 30px !important;
        height: 30px !important;
        margin: 0 !important;
        font-size: 15px !important;
    }

    .IsStaffCategory .TAMS .dash--count-title,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title,
    #IMTiles .dash--count-title {
        position: static !important;
        grid-column: 2 !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 10px 0 0 !important;
        text-align: left !important;
    }

        .IsStaffCategory .TAMS .dash--count-title span,
        .IsStaffCategory > .INCIDENT #IMTiles .dash--count-title span,
        #IMTiles .dash--count-title span {
            display: block !important;
            width: 100% !important;
            color: #334155 !important;
            font-size: 13px !important;
            line-height: 1.2 !important;
            text-align: left !important;
            white-space: normal !important;
            overflow: hidden !important;
        }

    .IsStaffCategory .TAMS .dash--count-total2,
    .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2,
    #IMTiles .dash--count-total2 {
        position: static !important;
        grid-column: 3 !important;
        justify-self: end !important;
        min-width: 34px !important;
        text-align: right !important;
    }

        .IsStaffCategory .TAMS .dash--count-total2 span,
        .IsStaffCategory > .INCIDENT #IMTiles .dash--count-total2 span,
        #IMTiles .dash--count-total2 span {
            color: #111827 !important;
            font-size: 28px !important;
            line-height: 1 !important;
        }


    .m-portlet__head-tools {
        padding: 0px !important;
    }
}

.fc-unthemed .fc-toolbar .fc-button.fc-state-active, .fc-unthemed .fc-toolbar .fc-button:active, .fc-unthemed .fc-toolbar .fc-button:focus, .fc-unthemed .fc-toolbar .fc-button:hover {
    background-color: #0f6d87 !important;
    color: #ffffff !important;
}

.fc-unthemed .fc-toolbar .fc-button.fc-state-disabled, .fc-unthemed .fc-toolbar .fc-button.fc-state-disabled:active, .fc-unthemed .fc-toolbar .fc-button.fc-state-disabled:focus, .fc-unthemed .fc-toolbar .fc-button.fc-state-disabled:hover {
    background-color: #0f6d87 !important;
    color: #ffffff !important;
}

.time-card-content .table-print thead tr th {
    background-color: #0f6d87 !important;
    color: #ffffff !important;
}

.btn-info {
    background-color: #0f6d87 !important;
    color: #ffffff !important;
}

.h4, h4 {
    font-size: 16px;
}

.shipmentTrackingUpload.dz-proImage {
    border: 1px solid #dddddd;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background-color: #f5f5f5;
}


/* ==========================================
   DARK OVERLAY
========================================== */

.m-topbar__user-profile.m-dropdown--open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 9990;
    pointer-events: none;
}

/* ==========================================
   DROPDOWN CONTAINER
========================================== */

.m-topbar__user-profile {
    position: relative !important;
}

    .m-topbar__user-profile.m-dropdown--open {
        z-index: 99999 !important;
    }

    /* ==========================================
   DROPDOWN SHOW / HIDE
========================================== */

    .m-topbar__user-profile:not(.m-dropdown--open) .m-dropdown__wrapper {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed !important;
        top: 45px !important;
        right: 28px !important;
        width: 240px !important;
        min-width: 240px !important;
        background: transparent !important;
        border: 0 !important;
        z-index: 100000 !important;
    }

/* ==========================================
   MAIN POPUP
========================================== */

#divAccountList,
#divAccountList.m-dropdown__inner {
    width: 100% !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    background: rgba(172,171,171,.05) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 40px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
    box-shadow: 0 10px 35px rgba(0,0,0,.35) !important;
    overflow: hidden !important;
}

    /* ==========================================
   HEADER
========================================== */

    #divAccountList .m-dropdown__header {
        padding: 0 !important;
        width: 100% !important;
    }

    /* ==========================================
   BODY
========================================== */

    #divAccountList .m-dropdown__body {
        width: 100% !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(255,255,255,.12) !important;
    }

    /* ==========================================
   ACCOUNT ROWS
========================================== */

    #divAccountList .m-card-user,
    #divAccountList .ca_switchaccount {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 40px !important;
        margin-bottom: 8px !important;
        padding: 0 78px 0 54px !important;
        border-radius: 28px !important;
        box-sizing: border-box !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        transition: .2s ease !important;
    }

        /* ==========================================
   ACCOUNT ICON
========================================== */

        #divAccountList .m-card-user::before,
        #divAccountList .ca_switchaccount::before {
            content: "\f007";
            font-family: FontAwesome;
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,.18);
            background: rgba(255,255,255,.08);
            color: #fff;
            font-size: 10px;
        }

    /* ==========================================
   ACCOUNT NAME
========================================== */

    #divAccountList .m-card-user__name,
    #divAccountList .ca_membertype {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        color: #fff !important;
    }

    /* ==========================================
   BADGE
========================================== */

    #divAccountList .calmsbadge,
    #divAccountList .m-badge {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 21px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 18px !important;
        background: #fff !important;
        color: #555 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* ==========================================
   ACTIVE ROW
========================================== */

    #divAccountList .activePanelMnu {
        background: #1bb777 !important;
    }

        #divAccountList .activePanelMnu:hover {
            background: #22c281 !important;
        }

    /* ==========================================
   HOVER EFFECT
========================================== */

    #divAccountList .m-card-user:hover,
    #divAccountList .ca_switchaccount:hover,
    #divAccountList .m-nav__link:hover {
        background: rgba(255,255,255,.15) !important;
        cursor: pointer !important;
    }

    /* ==========================================
   TEXT
========================================== */

    #divAccountList,
    #divAccountList a,
    #divAccountList span,
    #divAccountList label,
    #divAccountList i {
        color: rgba(255,255,255,.92) !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

        /* ==========================================
   NAVIGATION
========================================== */

        #divAccountList .m-nav,
        #divAccountList .m-nav__item {
            width: 100% !important;
        }

        #divAccountList .m-nav__link {
            display: flex !important;
            align-items: center !important;
            width: 100% !important;
            min-height: 40px !important;
            padding: 0 14px !important;
            border-radius: 28px !important;
            box-sizing: border-box !important;
            color: #fff !important;
            font-size: 12px !important;
            font-weight: 800 !important;
            transition: .2s ease !important;
        }

        /* ==========================================
   NAV ICON
========================================== */

        #divAccountList .m-nav__link-icon {
            width: 26px !important;
            height: 26px !important;
            min-width: 26px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 50% !important;
            border: 1px solid rgba(255,255,255,.18) !important;
            background: rgba(255,255,255,.08) !important;
            margin-right: 14px !important;
        }

        /* ==========================================
   DIVIDER
========================================== */

        #divAccountList .divider,
        #divAccountList .m-nav__separator {
            margin: 12px 0 !important;
            height: 1px !important;
            border: 0 !important;
            background: rgba(255,255,255,.12) !important;
        }

        /* ==========================================
   LOGOUT BUTTON
========================================== */

        #divAccountList .btn,
        #divAccountList .m-btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 12px !important;
            width: 100% !important;
            height: 50px !important;
            margin-top: 12px !important;
            border: 0 !important;
            border-radius: 28px !important;
            background: #ef3737 !important;
            color: #fff !important;
            font-size: 12px !important;
            font-weight: 600 !important;
            box-sizing: border-box !important;
        }

            #divAccountList .btn::before,
            #divAccountList .m-btn::before {
                content: "\f011";
                font-family: FontAwesome;
                width: 26px;
                height: 26px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                border: 1px solid rgba(255,255,255,.25);
                background: rgba(255,255,255,.12);
                color: #fff;
                font-size: 15px;
            }

            #divAccountList .btn:hover,
            #divAccountList .m-btn:hover {
                background: #ff4444 !important;
            }

        /* ==========================================
   REMOVE DEFAULT CHECK ICON
========================================== */

        #divAccountList .fa-check,
        .ca_active.pull-right.fa.fa-check {
            display: none !important;
        }

/* ==========================================
   REMOVE DEFAULT STYLES
========================================== */

span.m-card-user__name.m--font-weight-500.ca_membertype {
    background: transparent !important;
    color: inherit !important;
}

/* Account popup row width alignment */
#divAccountList .m-dropdown__header,
#divAccountList .m-dropdown__body,
#divAccountList .m-nav {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

#divAccountList .m-dropdown__body {
    padding: 10px 0 0 !important;
}

#divAccountList .m-card-user,
#divAccountList .m-card-user.m-card-user--skin-dark.ctrlfwidth.ca_switchaccount,
#divAccountList .ca_switchaccount,
#divAccountList .m-nav__item,
#divAccountList .m-nav__item:has(.btn),
#divAccountList .m-nav__item:has(.m-btn) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

    #divAccountList .m-card-user,
    #divAccountList .m-card-user.m-card-user--skin-dark.ctrlfwidth.ca_switchaccount,
    #divAccountList .ca_switchaccount {
        display: flex !important;
        padding: 0 68px 0 30px !important;
    }

#divAccountList .m-nav__link,
#divAccountList .m-nav .m-nav__item > .m-nav__link,
#divAccountList .btn,
#divAccountList .m-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

#divAccountList .m-nav__link,
#divAccountList .m-nav .m-nav__item > .m-nav__link {
    min-height: 50px !important;
    padding: 0 14px !important;
}

#divAccountList .btn,
#divAccountList .m-btn {
    height: 40px !important;
    margin-top: 9px !important;
    padding: 0 14px !important;
}

/* Account popup body text alignment */
#divAccountList .m-dropdown__body .m-nav__link,
#divAccountList .m-dropdown__body .m-nav .m-nav__item > .m-nav__link {
    position: relative !important;
    display: flex !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 0 78px 0 14px !important;
    text-align: left !important;
}

#divAccountList .m-dropdown__body .m-nav__link-icon {
    position: static !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    transform: none !important;
    margin: 0 !important;
}

#divAccountList .m-dropdown__body .m-nav__link-text {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
}

/* ==========================================
   Event and Trip product card - Article 4
========================================== */

#StoreItemTabHtml {
    width: 100% !important;
    margin-top: 14px !important;
    font-family: Poppins, sans-serif !important;
}

    #StoreItemTabHtml > .m-portlet.m-portlet--bordered-semi.m-portlet--full-height.m-portlet--rounded-force {
        margin: 0 0 14px !important;
        overflow: hidden !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 24px !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08) !important;
    }

    #StoreItemTabHtml > .m-portlet > .m-portlet__body {
        padding: 0 !important;
    }

    #StoreItemTabHtml .eventbox > .row {
        display: grid !important;
        grid-template-columns: 210px minmax(0, 1fr) !important;
        min-height: 292px !important;
        margin: 0 !important;
    }

        #StoreItemTabHtml .eventbox > .row > .col-xl-3,
        #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
            width: auto !important;
            max-width: none !important;
            flex: none !important;
            padding: 0 !important;
        }

    #StoreItemTabHtml .m-widget19__pic {
        position: relative !important;
        width: 210px !important;
        height: 100% !important;
        min-height: 292px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 24px 0 0 24px !important;
        background: #0f172a !important;
    }

        #StoreItemTabHtml .m-widget19__pic .example-image-link,
        #StoreItemTabHtml .m-widget19__pic .example-image {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
        }

        #StoreItemTabHtml .m-widget19__pic .m-widget19__img {
            width: 100% !important;
            height: 100% !important;
            min-height: 292px !important;
            padding: 0 !important;
            object-fit: cover !important;
        }

    #StoreItemTabHtml .m-widget19__shadow {
        position: absolute !important;
        inset: auto 0 0 0 !important;
        z-index: 2 !important;
        height: 42% !important;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .78)) !important;
    }

    #StoreItemTabHtml .m-widget19__pic .m-widget19__title {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        z-index: 4 !important;
        width: auto !important;
        max-width: calc(100% - 16px) !important;
        margin: 0 !important;
        padding: 4px 10px !important;
        border-radius: 999px !important;
        background: #0f6b6e !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #StoreItemTabHtml .imggalary,
    #StoreItemTabHtml .m-widget19__user-img,
    #StoreItemTabHtml .m-widget19__time,
    #StoreItemTabHtml .m-widget19__body > div[style*="float: right"] {
        display: none !important;
    }

    #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(150px, 1fr) minmax(140px, .8fr) minmax(150px, .9fr) minmax(116px, auto) !important;
        grid-template-rows: auto auto auto auto !important;
        column-gap: 20px !important;
        row-gap: 14px !important;
        align-content: start !important;
        padding: 22px 28px 18px !important;
    }

    #StoreItemTabHtml .m-widget19__content {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #StoreItemTabHtml .m-widget19__header {
        margin: 0 120px 8px 0 !important;
        padding: 0 !important;
    }

    #StoreItemTabHtml .m-widget19__info {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
    }

        #StoreItemTabHtml .m-widget19__info span,
        #StoreItemTabHtml .m-widget19__info b {
            margin: 0 !important;
            padding: 0 !important;
            color: inherit !important;
            font-weight: 600 !important;
        }

    #StoreItemTabHtml .event-card-title {
        color: #111827 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    #StoreItemTabHtml .event-card-category {
        color: #4b5563 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }

    #StoreItemTabHtml .m-widget19__body {
        height: auto !important;
        min-height: 44px !important;
        margin: 0 !important;
        color: #374151 !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.55 !important;
        text-align: left !important;
    }

        #StoreItemTabHtml .m-widget19__body > div:first-child {
            width: 100% !important;
            float: none !important;
        }

            #StoreItemTabHtml .m-widget19__body > div:first-child span {
                display: -webkit-box !important;
                overflow: hidden !important;
                -webkit-line-clamp: 3 !important;
                -webkit-box-orient: vertical !important;
                width: 112%;
            }

    #StoreItemTabHtml .event-card-status {
        position: absolute !important;
        top: 22px !important;
        right: 28px !important;
        z-index: 3 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        height: 29px !important;
        padding: 0 12px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    #StoreItemTabHtml .event-card-status--available {
        border: 1px solid #bdebd3 !important;
        background: #ecfdf3 !important;
        color: #15803d !important;
    }

    #StoreItemTabHtml .event-card-status--purchased {
        border: 1px solid #fecaca !important;
        background: #fff1f2 !important;
        color: #e11d48 !important;
    }

    #StoreItemTabHtml .event-card-status--sold,
    #StoreItemTabHtml .event-card-status--waiting {
        border: 1px solid #fed7aa !important;
        background: #fff7ed !important;
        color: #c2410c !important;
    }

    #StoreItemTabHtml .event-card-stats {
        grid-column: 1 / 4 !important;
        grid-row: 2 !important;
        display: grid !important;
        grid-template-columns: repeat(4, 25%) !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 468px !important;
        min-height: 51px !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        border: 1px solid #159a9c !important;
        border-radius: 22px !important;
        background: #ffffff !important;
    }

    #StoreItemTabHtml .event-card-stat {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) !important;
        grid-template-rows: 16px 18px !important;
        column-gap: 8px !important;
        align-items: center !important;
        min-height: 34px !important;
        padding: 0 8px !important;
    }

        /*#StoreItemTabHtml .event-card-stat + .event-card-stat {
    border-left: 1px solid #e5e7eb !important;
}*/

        #StoreItemTabHtml .event-card-stat::before {
            grid-column: 1 !important;
            grid-row: 1 / 3 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 24px !important;
            height: 24px !important;
            border-radius: 50% !important;
            background: #eef2f7 !important;
            color: #6b7280 !important;
            font-family: FontAwesome !important;
            font-size: 11px !important;
        }

    #StoreItemTabHtml .event-card-stat--allowed::before {
        content: "\f090" !important;
    }

    #StoreItemTabHtml .event-card-stat--available::before {
        content: "\f058" !important;
    }

    #StoreItemTabHtml .event-card-stat--purchase::before {
        content: "\f217" !important;
    }

    #StoreItemTabHtml .event-card-stat--collected::before {
        content: "\f0a4" !important;
        font-family: "FontAwesome" !important;
    }

    #StoreItemTabHtml .event-card-stat__label {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    #StoreItemTabHtml .event-card-stat__value {
        grid-column: 2 !important;
        grid-row: 2 !important;
        color: #374151 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    #StoreItemTabHtml .event-card-meta {
        grid-column: 1 / 4 !important;
        grid-row: 3 !important;
        display: grid !important;
        grid-template-columns: minmax(108px, .72fr) minmax(150px, 1fr) minmax(160px, 1.05fr) !important;
        align-items: center !important;
        max-width: 480px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        #StoreItemTabHtml .event-card-meta::before {
            content: "\f02b  Price" !important;
            display: block !important;
            align-self: start !important;
            padding-top: 2px !important;
            color: #64748b !important;
            font-family: FontAwesome, Poppins, sans-serif !important;
            font-size: 12px !important;
            font-weight: 500 !important;
        }

    #StoreItemTabHtml .event-card-meta__item {
        position: relative !important;
        min-height: 42px !important;
        padding: 0 14px 0 28px !important;
    }

        #StoreItemTabHtml .event-card-meta__item + .event-card-meta__item {
            border-left: 1px solid #e5e7eb !important;
        }

        #StoreItemTabHtml .event-card-meta__item::before {
            position: absolute !important;
            left: 0 !important;
            top: 24px !important;
            color: #159a9c !important;
            font-family: FontAwesome !important;
            font-size: 16px !important;
        }

    #StoreItemTabHtml .event-card-meta__creator::before {
        content: "\f007" !important;
    }

    #StoreItemTabHtml .event-card-meta__admin::before {
        content: "\f0d6" !important;
    }

    #StoreItemTabHtml .event-card-meta__register::before {
        content: "\f0d6" !important;
    }

    #StoreItemTabHtml .event-card-meta__lastdate::before {
        content: "\f073" !important;
    }

    #StoreItemTabHtml .event-card-meta__label {
        display: block !important;
        color: #64748b !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    #StoreItemTabHtml .event-card-meta__value {
        display: block !important;
        margin-top: 8px !important;
        color: #374151 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    #StoreItemTabHtml .eventbtns {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        #StoreItemTabHtml .eventbtns .currencyprice {
            grid-column: 1 !important;
            grid-row: 4 !important;
            align-self: start !important;
            margin: -6px 0 0 !important;
            padding: 0 !important;
            font-size: 22px !important;
            font-weight: 800 !important;
            line-height: 1 !important;
        }

            #StoreItemTabHtml .eventbtns .currencyprice::before {
                content: none !important;
            }

        #StoreItemTabHtml .eventbtns .addminus {
            grid-column: 4 !important;
            grid-row: 3 !important;
            position: relative !important;
            justify-self: start !important;
            align-self: end !important;
            display: inline-flex !important;
            align-items: center !important;
            width: 112px !important;
            height: 32px !important;
            margin: 0 !important;
            padding: 0 8px !important;
            border: 1px solid #e5e7eb !important;
            border-radius: 999px !important;
            background: #ffffff !important;
        }

            #StoreItemTabHtml .eventbtns .addminus::before {
                content: "Quantity" !important;
                position: absolute !important;
                left: 0 !important;
                bottom: 36px !important;
                color: #64748b !important;
                font-size: 12px !important;
                font-weight: 500 !important;
            }

            #StoreItemTabHtml .eventbtns .addminus .input-group-prepend,
            #StoreItemTabHtml .eventbtns .addminus .input-group-text {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 18px !important;
                height: 18px !important;
                min-width: 18px !important;
                margin: 5px !important;
                padding: 0 !important;
                border: 0 !important;
                border-radius: 50% !important;
                font-size: 14px !important;
                font-weight: 800 !important;
            }

        #StoreItemTabHtml .eventbtns .txtqty {
            width: 40px !important;
            height: 28px !important;
            min-height: 28px !important;
            padding: 0 !important;
            border-left: 1px solid #d9d5d582 !important;
            border-right: 1px solid #d9d5d582;
            border-top: 0px;
            border-bottom: 0px;
            background: transparent !important;
            color: #111827 !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            text-align: center !important;
        }

        #StoreItemTabHtml .eventbtns .btn {
            display: inline-flex;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            height: 34px !important;
            min-width: 116px !important;
            margin: 0 !important;
            padding: 0 18px !important;
            border-radius: 999px !important;
            font-size: 12px !important;
            font-weight: 700 !important;
            white-space: nowrap !important;
        }

        #StoreItemTabHtml .eventbtns .btnreadmore {
            grid-column: 3 !important;
            grid-row: 4 !important;
            justify-self: end !important;
            border: 1px solid #d8e0e8 !important;
            background: #ffffff !important;
            color: #64748b !important;
        }

            #StoreItemTabHtml .eventbtns .btnreadmore::after {
                content: "View Details" !important;
            }

            #StoreItemTabHtml .eventbtns .btnreadmore i::before {
                content: "\f05a" !important;
                font-size: 16px;
            }

    #StoreItemTabHtml .fa-times-circle::before,
    #StoreItemTabHtml .fa-cart-plus::before {
        font-size: 16px !important;
    }

    #StoreItemTabHtml .eventbtns ._addtocart, #StoreItemTabHtml .eventbtns ._addtobuy, #StoreItemTabHtml .btninsbuy {
        grid-column: 4 !important;
        grid-row: 4 !important;
        justify-self: start !important;
    }

        #StoreItemTabHtml .eventbtns ._addtocart::after {
            content: "Add to Cart" !important;
        }

        #StoreItemTabHtml .btninsbuy::after {
            content: "Pay Installment" !important;
        }

        #StoreItemTabHtml .eventbtns ._addtobuy::after {
            content: "Buy Now" !important;
        }

    #StoreItemTabHtml .eventbtns ._removeFromCart,
    #StoreItemTabHtml .eventbtns .cancelOrder {
        grid-column: 4 !important;
        grid-row: 4 !important;
        justify-self: start !important;
        border: 1px solid #fecaca !important;
        background: #fff1f2 !important;
        color: #e11d48 !important;
    }

        #StoreItemTabHtml .eventbtns ._removeFromCart::after {
            content: "Remove" !important;
        }

        #StoreItemTabHtml .eventbtns .cancelOrder::after {
            content: "Cancel " !important;
        }

    #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
    #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
    #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
    #StoreItemTabHtml .eventbtns .btn-default,
    #StoreItemTabHtml .eventbtns .btn-info {
        grid-column: 4 !important;
        grid-row: 4 !important;
        justify-self: start !important;
    }



    #StoreItemTabHtml .event-card-title {
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        width: 112% !important;
    }

@media (max-width: 991px) {
    #StoreItemTabHtml .eventbox > .row {
        grid-template-columns: 1fr !important;
    }

    #StoreItemTabHtml .m-widget19__pic {
        width: 100% !important;
        min-height: 230px !important;
        border-radius: 24px 24px 0 0 !important;
    }

        #StoreItemTabHtml .m-widget19__pic .m-widget19__img {
            min-height: 230px !important;
        }

    #StoreItemTabHtml .eventbox > .row > .col-xl-9,
    #StoreItemTabHtml .event-card-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #StoreItemTabHtml .event-card-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 8px !important;
    }
}

/* Filter compact width/spacing and event details modal polish */
.Div_m_FamilyTransferCateg {
    padding-left: 35px !important;
    padding-right: 12px !important;
}

#CategoryHtml {
    max-width: 320px !important;
    margin: 12px auto 0 !important;
    padding-bottom: 18px !important;
    border-radius: 20px !important;
}

    #CategoryHtml::before {
        min-height: 62px !important;
        padding: 0 22px !important;
        font-size: 18px !important;
    }

    #CategoryHtml .m-portlet {
        padding: 0 22px !important;
    }

    #CategoryHtml .m-portlet__head.panelhead,
    #CategoryHtml .m-portlet__head {
        padding: 0px 0 0px !important;
    }

    #CategoryHtml .m-portlet__head-text {
        font-size: 14px !important;
        letter-spacing: .15em !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"],
    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] label {
        font-size: 15px !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] {
        padding: 8px 0 7px !important;
    }

    #CategoryHtml .m-checkbox,
    #CategoryHtml .m-radio {
        min-height: 32px !important;
        padding-left: 34px !important;
        font-size: 14px !important;
    }

        #CategoryHtml .m-checkbox > span,
        #CategoryHtml .m-radio > span {
            top: 7px !important;
            width: 18px !important;
            height: 18px !important;
        }

    #CategoryHtml .SortByFilter,
    #CategoryHtml .PriceFilter {
        margin-top: 18px !important;
        padding-top: 20px !important;
    }

    #CategoryHtml #pricerange {
        margin: 12px 4px 14px !important;
    }

    #CategoryHtml #value-span,
    #CategoryHtml #value-input {
        font-size: 13px !important;
    }

#EventTripDetailsModel .modal-dialog {
    max-width: 860px !important;
}

#EventTripDetailsModel .modal-content {
    overflow: hidden !important;
    border: 1px solid #d7e5e5 !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .22) !important;
}

/*#EventTripDetailsModel .modal-header {
    min-height: 62px !important;
    padding: 12px 20px !important;
    border: 0 !important;
    background: #147f85 !important;
} */

#EventTripDetailsModel .modal-title,
#EventTripDetailsModel .modal-title * {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    align-items: center;
    justify-content: flex-end;
    display: inline-flex;
    gap: 10px;
}

#EventTripDetailsModel button.close {
    color: #ffffff !important;
    opacity: .85 !important;
    font-size: 28px !important;
}

#EventTripDetailsModel .modal-body {
    padding: 22px 24px !important;
    width: 100%;
    overflow-x: scroll;
}

    #EventTripDetailsModel .modal-body > .row:first-child {
        display: grid !important;
        grid-template-columns: 260px minmax(0, 1fr) !important;
        column-gap: 28px !important;
        align-items: start !important;
        margin: 0 !important;
    }

        #EventTripDetailsModel .modal-body > .row:first-child > [class*="col-"] {
            width: auto !important;
            max-width: none !important;
            flex: none !important;
            padding: 0 !important;
        }

#EventTripDetailsModel .image-detail {
    width: 260px !important;
    height: 260px !important;
    object-fit: cover !important;
    border-radius: 22px !important;
    background: #f1f5f9 !important;
}

#EventTripDetailsModel .modal-body .m--font-brand {
    font-size: 14px !important;
    font-weight: 700 !important;
}

#EventTripDetailsModel .modal-body .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    color: #1e293b !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    padding: 0px !important;
}

#EventTripDetailsModel .modal-body .col-lg-4,
#EventTripDetailsModel .modal-body .currencyprice,
#EventTripDetailsModel .regfee,
#EventTripDetailsModel .modal-body > .row:nth-of-type(2),
#EventTripDetailsModel .modal-body > .row:nth-of-type(3) {
    display: none !important;
}

#EventTripDetailsModel .ClsEventDetails,
#EventTripDetailsModel .modal-body .col-lg-12:not(.eventbtns) {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-top: 12px !important;
    padding: 0 !important;
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

#EventTripDetailsModel .modal-foolter {
    display: none !important;
}

@media (max-width: 991px) {
    #CategoryHtml {
        max-width: 100% !important;
        margin: 10px 0 14px !important;
    }

    #EventTripDetailsModel .modal-dialog {
        max-width: calc(100% - 18px) !important;
        margin: 9px auto !important;
    }

    #EventTripDetailsModel .modal-body > .row:first-child {
        grid-template-columns: 1fr !important;
        row-gap: 0px !important;
    }

    #EventTripDetailsModel .image-detail {
        width: 110% !important;
        height: 220px !important;
        margin-left: -16px !important;
    }

    #EventTripDetailsModel .modal-body .col-lg-8 {
        font-size: 20px !important;
    }
}

/* Premium ecommerce filter sidebar - final */
.Div_m_FamilyTransferCateg {
    padding: 0 14px 20px 8px !important;
}

#CategoryHtml {
    display: block !important;
    width: 100% !important;
    max-width: 390px !important;
    margin: 16px auto 0 !important;
    padding: 0 0 24px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .10) !important;
    font-family: Poppins, sans-serif !important;
}

    #CategoryHtml::before {
        content: "\f1de  Filters" !important;
        display: flex !important;
        align-items: center !important;
        min-height: 76px !important;
        padding: 0 24px !important;
        border-bottom: 1px solid #edf0f3 !important;
        color: #111827 !important;
        font-family: FontAwesome, Poppins, sans-serif !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
    }

    #CategoryHtml .m-portlet {
        margin: 0 !important;
        padding: 0 24px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #CategoryHtml .m-portlet__head,
    #CategoryHtml .m-portlet__head.panelhead {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 24px 0 16px !important;
        border: 0 !important;
        background: transparent !important;
    }

    #CategoryHtml .m-portlet__head-icon {
        display: none !important;
    }

    #CategoryHtml .m-portlet__head-text {
        margin: 0 !important;
        color: #64748b !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        letter-spacing: .16em !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
    }

    #CategoryHtml .m-portlet__body.custom {
        padding: 0 !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 42px !important;
        margin: 0 0 6px !important;
        padding: 0 28px 0 0 !important;
        border-radius: 14px !important;
        color: #111827 !important;
        font-size: 17px !important;
        font-weight: 700 !important;
    }

        #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"]::after {
            content: "\f107" !important;
            position: absolute !important;
            right: 2px !important;
            top: 50% !important;
            color: #64748b !important;
            font-family: FontAwesome !important;
            font-size: 14px !important;
            transform: translateY(-50%) !important;
        }

        #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] label {
            margin: 0 !important;
            color: #111827 !important;
            font-size: 17px !important;
            font-weight: 700 !important;
        }

        #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div {
            margin: 0 0 16px !important;
            padding-left: 28px !important;
        }

            #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div > div {
                margin: 0 0 10px !important;
            }

    #CategoryHtml .m-checkbox,
    #CategoryHtml .m-radio {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding-left: 36px !important;
        color: #111827 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }

    #CategoryHtml .CategoryFilter .m-checkbox {
        font-weight: 400 !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] .m-checkbox {
        font-weight: 700 !important;
    }

    #CategoryHtml .m-checkbox > span,
    #CategoryHtml .m-radio > span {
        top: 7px !important;
        left: 0 !important;
        width: 20px !important;
        height: 20px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    #CategoryHtml .m-radio > span {
        border-radius: 50% !important;
    }

    #CategoryHtml .m-checkbox > input:checked ~ span,
    #CategoryHtml .m-radio > input:checked ~ span {
        border-color: #159a9c !important;
        background: #e9fbf8 !important;
    }

    #CategoryHtml .m-checkbox:has(input:checked),
    #CategoryHtml .m-radio:has(input:checked) {
        font-weight: 700 !important;
    }

    #CategoryHtml .m-radio:has(input:checked) {
        min-height: 40px !important;
        margin: 0px 0 3px !important;
        padding-left: 35px !important;
    }

        #CategoryHtml .m-radio:has(input:checked) > span {
            left: -3px !important;
            top: 19px !important;
        }

    #CategoryHtml .SortByFilter,
    #CategoryHtml .PriceFilter {
        margin-top: 22px !important;
        padding-top: 24px !important;
        border-top: 1px solid #edf0f3 !important;
    }

    #CategoryHtml .m-radio-list {
        margin-top: 0 !important;
    }



    #CategoryHtml #pricerange {
        margin: 16px 4px 16px !important;
    }

    #CategoryHtml #value-span,
    #CategoryHtml #value-input {
        color: #64748b !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

@media (max-width: 991px) {
    .Div_m_FamilyTransferCateg {
        padding: 0 12px 16px !important;
    }

    #CategoryHtml {
        max-width: 100% !important;
        margin: 12px 0 16px !important;
        border-radius: 20px !important;
    }

        #CategoryHtml::before {
            min-height: 66px !important;
            padding: 0 22px !important;
            font-size: 20px !important;
        }

        #CategoryHtml .m-portlet {
            padding: 0 22px !important;
        }

        #CategoryHtml .m-portlet__head,
        #CategoryHtml .m-portlet__head.panelhead {
            padding: 22px 0 14px !important;
        }
}

/* Store item mobile card only - desktop untouched */
@media (max-width: 767px) {
    #StoreItemTabHtml {
        margin-top: 17px !important;
        padding: 0 10px !important;
    }

        #StoreItemTabHtml > .m-portlet.m-portlet--bordered-semi.m-portlet--full-height.m-portlet--rounded-force {
            margin: 0 0 18px !important;
            border-radius: 18px !important;
            overflow: hidden !important;
            box-shadow: 0 16px 34px rgba(15, 23, 42, .16) !important;
        }


        #StoreItemTabHtml .event-card-title {
            -webkit-line-clamp: 2 !important;
            width: 110% !important;
        }

        #StoreItemTabHtml .eventbox > .row {
            display: flex !important;
            flex-direction: column !important;
            min-height: 0 !important;
            margin: 0 !important;
        }

            #StoreItemTabHtml .eventbox > .row > .col-xl-3,
            #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
                width: 100% !important;
                max-width: 100% !important;
                padding: 0 !important;
            }

        #StoreItemTabHtml .m-widget19__pic {
            width: 100% !important;
            height: 224px !important;
            min-height: 224px !important;
            border-radius: 18px 18px 0 0 !important;
        }

            #StoreItemTabHtml .m-widget19__pic .m-widget19__img {
                width: 100% !important;
                height: 224px !important;
                min-height: 224px !important;
                object-fit: cover !important;
            }

            #StoreItemTabHtml .m-widget19__pic .m-widget19__title,
            #StoreItemTabHtml .m-widget19 .m-widget19__pic .m-widget19__title,
            #StoreItemTabHtml h3.m-widget19__title.m--font-light {
                top: 12px !important;
                left: 12px !important;
                height: 24px !important;
                min-height: 24px !important;
                max-width: calc(100% - 24px) !important;
                padding: 0 10px !important;
                font-size: 11px !important;
                line-height: 24px !important;
                border-radius: 999px !important;
            }

        #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            padding: 14px 16px 18px !important;
            overflow: visible !important;
        }

        #StoreItemTabHtml .m-widget19__content {
            display: flex !important;
            flex-direction: column !important;
            gap: 8px !important;
            width: 100% !important;
            padding: 0 !important;
        }

        #StoreItemTabHtml .event-card-status {
            position: static !important;
            align-self: flex-start !important;
            height: 26px !important;
            padding: 0 12px !important;
            font-size: 12px !important;
            order: 0 !important;
        }

        #StoreItemTabHtml .m-widget19__header {
            margin: 0 !important;
            order: 1 !important;
        }

        #StoreItemTabHtml .event-card-title {
            font-size: 18px !important;
            line-height: 1.2 !important;
        }

        #StoreItemTabHtml .event-card-category {
            font-size: 12px !important;
        }

        #StoreItemTabHtml .m-widget19__body {
            min-height: 0 !important;
            margin: 0 !important;
            font-size: 12px !important;
            line-height: 1.35 !important;
            order: 2 !important;
        }

            #StoreItemTabHtml .m-widget19__body > div:first-child span {
                -webkit-line-clamp: 3 !important;
                width: 102%;
            }

        #StoreItemTabHtml .event-card-stats {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 10px 12px !important;
            width: 100% !important;
            max-width: none !important;
            height: auto !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 12px 14px !important;
            border-radius: 18px !important;
            order: 3 !important;
        }

        #StoreItemTabHtml .event-card-stat {
            min-height: 34px !important;
            padding: 0 !important;
            border-left: 0 !important;
            grid-template-columns: 26px minmax(0, 1fr) !important;
            grid-template-rows: 14px 18px !important;
            column-gap: 8px !important;
        }

            #StoreItemTabHtml .event-card-stat::before {
                width: 22px !important;
                height: 22px !important;
                font-size: 10px !important;
            }

        #StoreItemTabHtml .event-card-stat__label {
            font-size: 11px !important;
        }

        #StoreItemTabHtml .event-card-stat__value {
            font-size: 13px !important;
        }

        #StoreItemTabHtml .event-card-meta {
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 12px !important;
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
            order: 4 !important;
        }

        #StoreItemTabHtml .event-card-meta__item {
            min-height: 38px !important;
            padding: 0 !important;
            border-left: 0 !important;
            grid-template-columns: 22px minmax(0, 1fr) !important;
            grid-template-rows: 15px 20px !important;
            column-gap: 8px !important;
        }

            #StoreItemTabHtml .event-card-meta__item::before {
                width: 20px !important;
                font-size: 14px !important;
            }

        #StoreItemTabHtml .event-card-meta__label {
            font-size: 11px !important;
        }

        #StoreItemTabHtml .event-card-meta__value {
            margin: 0 !important;
            font-size: 13px !important;
        }

        #StoreItemTabHtml .eventbtns {
            position: static !important;
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 10px 12px !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            order: 5 !important;
        }

            #StoreItemTabHtml .eventbtns .currencyprice {
                grid-column: 1 !important;
                grid-row: 1 !important;
                display: block !important;
                min-width: 0 !important;
                margin: 0 !important;
                font-size: 24px !important;
                line-height: 1 !important;
            }

                #StoreItemTabHtml .eventbtns .currencyprice::before {
                    display: block !important;
                    margin-bottom: 6px !important;
                    font-size: 11px !important;
                }

            #StoreItemTabHtml .eventbtns .addminus {
                position: relative !important;
                grid-column: 2 !important;
                grid-row: 1 !important;
                justify-self: end !important;
                align-self: end !important;
                right: auto !important;
                bottom: auto !important;
                width: 112px !important;
                height: 32px !important;
                margin: 0 !important;
            }

                #StoreItemTabHtml .eventbtns .addminus::before {
                    bottom: 37px !important;
                    left: 0 !important;
                    width: 112px !important;
                    font-size: 11px !important;
                }

            #StoreItemTabHtml .eventbtns .btnreadmore,
            #StoreItemTabHtml .eventbtns ._addtocart,
            #StoreItemTabHtml .eventbtns ._addtobuy,
            #StoreItemTabHtml .eventbtns ._removeFromCart,
            #StoreItemTabHtml .eventbtns .cancelOrder,
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
            #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
            #StoreItemTabHtml .eventbtns .btn-default,
            #StoreItemTabHtml .eventbtns .btn-info {
                width: 100% !important;
                min-width: 0 !important;
                max-width: none !important;
                height: 38px !important;
                padding: 0 14px !important;
                font-size: 13px !important;
                margin: 0 !important;
            }

            #StoreItemTabHtml .eventbtns .btnreadmore {
                grid-column: 1 !important;
                grid-row: 2 !important;
                order: 1 !important;
            }

            #StoreItemTabHtml .eventbtns ._addtocart,
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
            #StoreItemTabHtml .eventbtns ._addtobuy,
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
            #StoreItemTabHtml .eventbtns .btn-default,
            #StoreItemTabHtml .eventbtns .btn-info {
                grid-column: 2 !important;
                grid-row: 2 !important;
                order: 2 !important;
            }

    #CategoryHtml {
        display: none !important;
    }


    #StoreItemTabHtml .eventbtns .cancelOrder,
    #StoreItemTabHtml .eventbtns ._removeFromCart,
    #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart) {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        order: 3 !important;
        background: #dc4b4b !important;
        color: #ffffff !important;
        border-color: #dc4b4b !important;
    }
}

/* Mobile exact model override - desktop untouched */
@media (max-width: 767px) {
    #StoreItemTabHtml {
        padding: 0 12px !important;
        overflow: visible !important;
    }

        #StoreItemTabHtml > .m-portlet.m-portlet--bordered-semi.m-portlet--full-height.m-portlet--rounded-force {
            width: 100% !important;
            max-width: 360px !important;
            margin: 0 auto 18px !important;
            border-radius: 18px !important;
            overflow: hidden !important;
            background: #ffffff !important;
            box-shadow: 0 18px 34px rgba(15, 23, 42, .22) !important;
        }

        #StoreItemTabHtml .eventbox,
        #StoreItemTabHtml .eventbox > .row {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
            min-height: 0 !important;
            height: auto !important;
            margin: 0 !important;
            overflow: visible !important;
        }

            #StoreItemTabHtml .eventbox > .row > .col-xl-3,
            #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
                width: 100% !important;
                max-width: 100% !important;
                flex: 0 0 auto !important;
                padding: 0 !important;
                overflow: visible !important;
            }

        #StoreItemTabHtml .m-widget19__pic {
            width: 100% !important;
            height: 232px !important;
            min-height: 232px !important;
            border-radius: 18px 18px 0 0 !important;
        }

            #StoreItemTabHtml .m-widget19__pic .example-image-link,
            #StoreItemTabHtml .m-widget19__pic .example-image,
            #StoreItemTabHtml .m-widget19__pic .m-widget19__img {
                width: 100% !important;
                height: 232px !important;
                min-height: 232px !important;
                object-fit: cover !important;
            }

            #StoreItemTabHtml .m-widget19__pic .m-widget19__title,
            #StoreItemTabHtml .m-widget19 .m-widget19__pic .m-widget19__title,
            #StoreItemTabHtml h3.m-widget19__title.m--font-light {
                top: 12px !important;
                left: 12px !important;
                height: 24px !important;
                min-height: 24px !important;
                padding: 0 10px !important;
                font-size: 11px !important;
                line-height: 24px !important;
                border-radius: 999px !important;
            }

        #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
            display: flex !important;
            flex-direction: column !important;
            gap: 10px !important;
            height: auto !important;
            padding: 12px 16px 18px !important;
        }

        #StoreItemTabHtml .m-widget19__content {
            display: flex !important;
            flex-direction: column !important;
            gap: 7px !important;
            order: 1 !important;
        }

        #StoreItemTabHtml .event-card-status {
            position: static !important;
            order: 0 !important;
            align-self: flex-start !important;
            height: 24px !important;
            padding: 0 10px !important;
            font-size: 11px !important;
        }

        #StoreItemTabHtml .m-widget19__header {
            order: 1 !important;
            margin: 0 !important;
        }

        #StoreItemTabHtml .event-card-title {
            font-size: 18px !important;
            line-height: 1.18 !important;
            color: #111827 !important;
        }

        #StoreItemTabHtml .event-card-category {
            font-size: 12px !important;
            color: #64748b !important;
        }

        #StoreItemTabHtml .m-widget19__body {
            order: 2 !important;
            min-height: 0 !important;
            margin: 0 !important;
            font-size: 12px !important;
            line-height: 1.35 !important;
            color: #374151 !important;
        }

        #StoreItemTabHtml .event-card-stats {
            order: 2 !important;
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 9px 10px !important;
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            min-height: 0 !important;
            margin: 0 !important;
            padding: 11px 14px !important;
            border-radius: 18px !important;
            overflow: visible !important;
        }

        #StoreItemTabHtml .event-card-stat,
        #StoreItemTabHtml .event-card-stat:first-child,
        #StoreItemTabHtml .event-card-stat:last-child {
            min-height: 34px !important;
            padding: 0 !important;
            border-left: 0 !important;
            grid-template-columns: 24px minmax(0, 1fr) !important;
            grid-template-rows: 14px 18px !important;
            column-gap: 8px !important;
        }

            #StoreItemTabHtml .event-card-stat::before {
                width: 21px !important;
                height: 21px !important;
                font-size: 10px !important;
            }

        #StoreItemTabHtml .event-card-stat__label {
            font-size: 11px !important;
        }

        #StoreItemTabHtml .event-card-stat__value {
            font-size: 13px !important;
        }

        #StoreItemTabHtml .event-card-meta {
            order: 3 !important;
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 12px !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        #StoreItemTabHtml .event-card-meta__item {
            min-height: 36px !important;
            padding: 0 !important;
            border-left: 0 !important;
            grid-template-columns: 20px minmax(0, 1fr) !important;
            grid-template-rows: 14px 19px !important;
            column-gap: 8px !important;
        }

            #StoreItemTabHtml .event-card-meta__item::before {
                width: 18px !important;
                font-size: 13px !important;
            }

        #StoreItemTabHtml .event-card-meta__label {
            font-size: 10px !important;
        }

        #StoreItemTabHtml .event-card-meta__value {
            margin: 0 !important;
            font-size: 13px !important;
        }

        #StoreItemTabHtml .eventbtns {
            position: static !important;
            order: 4 !important;
            display: grid !important;
            grid-template-columns: 1fr 1fr !important;
            gap: 10px 12px !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

            #StoreItemTabHtml .eventbtns .currencyprice {
                grid-column: 1 !important;
                grid-row: 1 !important;
                min-width: 0 !important;
                margin: 0 !important;
                font-size: 24px !important;
                line-height: 1 !important;
            }

                #StoreItemTabHtml .eventbtns .currencyprice::before {
                    display: block !important;
                    margin-bottom: 6px !important;
                    font-size: 11px !important;
                }

            #StoreItemTabHtml .eventbtns .addminus {
                position: relative !important;
                grid-column: 2 !important;
                grid-row: 1 !important;
                justify-self: end !important;
                align-self: end !important;
                right: auto !important;
                bottom: auto !important;
                width: 112px !important;
                height: 32px !important;
                margin: 0 !important;
            }

                #StoreItemTabHtml .eventbtns .addminus::before {
                    bottom: 37px !important;
                    width: 112px !important;
                    font-size: 11px !important;
                }

            #StoreItemTabHtml .eventbtns .btnreadmore,
            #StoreItemTabHtml .eventbtns ._addtocart,
            #StoreItemTabHtml .eventbtns ._addtobuy,
            #StoreItemTabHtml .eventbtns ._removeFromCart,
            #StoreItemTabHtml .eventbtns .cancelOrder,
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
            #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
            #StoreItemTabHtml .eventbtns .btn-default,
            #StoreItemTabHtml .eventbtns .btn-info {
                width: 100% !important;
                min-width: 0 !important;
                height: 38px !important;
                margin: 0 !important;
                padding: 0 12px !important;
                font-size: 13px !important;
            }

            #StoreItemTabHtml .eventbtns .btnreadmore {
                grid-column: 1 !important;
                grid-row: 2 !important;
            }

            #StoreItemTabHtml .eventbtns ._addtocart,
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
            #StoreItemTabHtml .eventbtns ._addtobuy,
            #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
            #StoreItemTabHtml .eventbtns .btn-default,
            #StoreItemTabHtml .eventbtns .btn-info {
                grid-column: 2 !important;
                grid-row: 2 !important;
            }

            #StoreItemTabHtml .eventbtns .cancelOrder,
            #StoreItemTabHtml .eventbtns ._removeFromCart,
            #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart) {
                grid-column: 1 / -1 !important;
                grid-row: 3 !important;
                background: #dc4b4b !important;
                color: #ffffff !important;
                border-color: #dc4b4b !important;
            }
}

/* Premium filter sidebar - final winning layer */
.Div_m_FamilyTransferCateg {
    padding-right: 18px !important;
}

#CategoryHtml {
    --filter-primary: #159a9c;
    --filter-primary-dark: #0e7779;
    --filter-soft: #e9fbf8;
    --filter-text: #111827;
    --filter-muted: #64748b;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 24px !important;
    padding: 0 0 22px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .10) !important;
    font-family: Poppins, sans-serif !important;
}

    #CategoryHtml::before {
        content: "Filters" !important;
        display: flex !important;
        align-items: center !important;
        min-height: 66px !important;
        padding: 0 24px 0 58px !important;
        border-bottom: 1px solid #edf1f5 !important;
        color: var(--filter-text) !important;
        font-family: Poppins, sans-serif !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        margin-top: 10px;
        line-height: 1 !important;
        white-space: pre !important;
    }

    #CategoryHtml::after {
        content: "\f1de" !important;
        position: absolute !important;
        top: 22px !important;
        left: 24px !important;
        z-index: 2 !important;
        color: var(--filter-primary) !important;
        font-family: FontAwesome !important;
        font-size: 20px !important;
        line-height: 1 !important;
        pointer-events: none !important;
    }

    #CategoryHtml .m-portlet {
        margin: 0 !important;
        padding: 0 24px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #CategoryHtml .m-portlet__head,
    #CategoryHtml .m-portlet__head.panelhead,
    #CategoryHtml .m-portlet__head-caption,
    #CategoryHtml .m-portlet__head-title {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__head {
        padding-top: 22px !important;
    }

    #CategoryHtml .SortByFilter,
    #CategoryHtml .PriceFilter {
        margin-top: 22px !important;
        padding-top: 22px !important;
        border-top: 1px solid #edf1f5 !important;
    }

    #CategoryHtml .m-portlet__head-icon {
        display: none !important;
    }

    #CategoryHtml .m-portlet__head-text {
        margin: 0 !important;
        padding: 0 !important;
        color: var(--filter-muted) !important;
        background: transparent !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: .18em !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
    }

    #CategoryHtml .m-portlet__body.custom {
        padding: 20px 0 0 !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom {
        padding-top: 24px !important;
    }

        #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] {
            position: relative !important;
            display: flex !important;
            align-items: center !important;
            min-height: 34px !important;
            margin: 0 0 8px !important;
            padding: 0 30px 0 54px !important;
            border-radius: 12px !important;
            color: var(--filter-text) !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            line-height: 1.2 !important;
        }


            #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"]::after {
                content: "\f107" !important;
                position: absolute !important;
                right: 8px !important;
                top: 50% !important;
                color: #64748b !important;
                font-family: FontAwesome !important;
                font-size: 14px !important;
                transform: translateY(-50%) !important;
            }

            #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] label {
                margin: 0 !important;
                color: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
            }

            #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div {
                margin: 0 0 18px !important;
                padding-left: 40px !important;
            }

                #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div > div {
                    margin: 0 0 14px !important;
                }

    #CategoryHtml .m-checkbox,
    #CategoryHtml .m-radio {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 10px 0 42px !important;
        border: 1px solid transparent !important;
        border-radius: 13px !important;
        color: var(--filter-text) !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        transition: background .18s ease, border-color .18s ease, color .18s ease !important;
    }

    #CategoryHtml .CategoryFilter .m-checkbox {
        font-weight: 400 !important;
    }

    #CategoryHtml .m-checkbox:hover,
    #CategoryHtml .m-radio:hover {
        background: #f8fafc !important;
    }

    #CategoryHtml .m-checkbox > span,
    #CategoryHtml .m-radio > span {
        left: 10px !important;
        top: 50% !important;
        width: 20px !important;
        height: 20px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 5px !important;
        background: #ffffff !important;
        transform: translateY(-50%) !important;
    }

    #CategoryHtml .m-radio > span {
        border-radius: 50% !important;
    }

    #CategoryHtml .m-checkbox > input:checked ~ span,
    #CategoryHtml .m-radio > input:checked ~ span {
        border-color: var(--filter-primary) !important;
        background: #ffffff !important;
    }

        #CategoryHtml .m-checkbox > input:checked ~ span::after {
            border-color: var(--filter-primary) !important;
        }

        #CategoryHtml .m-radio > input:checked ~ span::after {
            background: var(--filter-primary) !important;
        }


    #CategoryHtml .m-radio-list {
        display: grid !important;
        gap: 0px !important;
        margin: 0 !important;
    }

        #CategoryHtml .m-radio-list a {
            display: block !important;
            color: inherit !important;
            text-decoration: none !important;
        }

    #CategoryHtml .SortByFilter .m-radio {
        min-height: 42px !important;
        padding-left: 44px !important;
        font-size: 15px !important;
    }

        #CategoryHtml .SortByFilter .m-radio > span {
            left: 12px !important;
        }

    #CategoryHtml .PriceFilter .m-portlet__body.custom {
        padding-top: 24px !important;
    }

    #CategoryHtml #pricerange {
        height: 6px !important;
        margin: 12px 12px 22px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #e5e7eb !important;
        box-shadow: none !important;
    }

        #CategoryHtml #pricerange .ui-slider-range,
        #CategoryHtml #pricerange .noUi-connect {
            background: var(--filter-primary) !important;
        }

        #CategoryHtml #pricerange .ui-slider-handle,
        #CategoryHtml #pricerange .noUi-handle {
            width: 24px !important;
            height: 24px !important;
            top: -9px !important;
            border: 1px solid #dbe3ea !important;
            border-radius: 50% !important;
            background: #ffffff !important;
            box-shadow: 0 6px 14px rgba(15, 23, 42, .16) !important;
        }

    #CategoryHtml #value-span,
    #CategoryHtml #value-input {
        display: inline-block !important;
        margin: 0 !important;
        color: #5b6472 !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
    }

    #CategoryHtml #value-span {
        float: left !important;
    }

    #CategoryHtml #value-input {
        float: right !important;
    }

#StoreItemTabHtml .event-card-status--available {
    border: 1px solid #b7ebc9 !important;
    background: #eefcf3 !important;
    color: #15803d !important;
}

#StoreItemTabHtml .event-card-status--purchased {
    border: 1px solid #bfdbfe !important;
    background: #eff6ff !important;
    color: #2983f3 !important;
}

#StoreItemTabHtml .event-card-status--sold {
    border: 1px solid #fecaca !important;
    background: #fff1f2 !important;
    color: #dc2626 !important;
}

#StoreItemTabHtml .event-card-status--waiting {
    border: 1px solid #fde68a !important;
    background: #fffbeb !important;
    color: #b45309 !important;
}

@media (max-width: 991px) {
    .Div_m_FamilyTransferCateg {
        padding-right: 0 !important;
        margin-bottom: 18px !important;
    }

    #CategoryHtml {
        max-width: 420px !important;
        margin: 12px auto 20px !important;
    }
}

@media (max-width: 575px) {
    #CategoryHtml {
        max-width: calc(100vw - 24px) !important;
        border-radius: 20px !important;
    }

        #CategoryHtml::before {
            min-height: 60px !important;
            padding: 0 20px !important;
            font-size: 20px !important;
        }

        #CategoryHtml .m-portlet {
            padding: 0 20px !important;
        }

        #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] {
            padding-left: 48px !important;
            font-size: 15px !important;
        }

            #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div {
                padding-left: 28px !important;
            }
}

/* Quantity selector belongs to meta row, not button row */
#StoreItemTabHtml .eventbtns .addminus {
    position: absolute !important;
    right: 0 !important;
    bottom: 116px !important;
    width: 118px !important;
    height: 34px !important;
    margin: 0 !important;
    z-index: 8 !important;
}

    #StoreItemTabHtml .eventbtns .addminus::before {
        bottom: 40px !important;
        left: 0 !important;
        width: 118px !important;
        color: #94a3b8 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        text-align: left !important;
    }

@media (max-width: 991px) {
    #StoreItemTabHtml .eventbtns .addminus {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        order: 0 !important;
        margin: 8px 0 0 !important;
    }
}

/* Meta row + quantity right alignment */
#StoreItemTabHtml .event-card-meta {
    grid-column: 1 / 4 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.15fr) minmax(132px, auto) !important;
    align-items: center !important;
    column-gap: 24px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-top: -18px !important;
    padding: 0 !important;
}

#StoreItemTabHtml .event-card-meta__item {
    min-height: 50px !important;
    padding: 0 !important;
}

    #StoreItemTabHtml .event-card-meta__item + .event-card-meta__item {
        padding-left: 24px !important;
    }

#StoreItemTabHtml .eventbtns .addminus {
    position: absolute !important;
    right: 0 !important;
    bottom: 52px !important;
    width: 118px !important;
    height: 34px !important;
    margin: 0 !important;
    z-index: 7 !important;
}

    #StoreItemTabHtml .eventbtns .addminus::before {
        bottom: 39px !important;
        left: 0 !important;
        width: 118px !important;
        text-align: left !important;
    }

/* Filter category desktop and mobile polish */
.Div_m_FamilyTransferCateg {
    padding-right: 18px !important;
}

#CategoryHtml {
    display: block !important;
    margin: 25px 0 0 !important;
    padding: 0 0 28px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10) !important;
    font-family: Poppins, sans-serif !important;
}

    #CategoryHtml .m-portlet__head,
    #CategoryHtml .m-portlet__head-caption,
    #CategoryHtml .m-portlet__head-title,
    #CategoryHtml .panelhead {
        background: transparent !important;
        background-color: transparent !important;
    }



    #CategoryHtml .m-portlet {
        margin: 0 !important;
        padding: 0 30px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #CategoryHtml .m-portlet__head.panelhead,
    #CategoryHtml .m-portlet__head {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #CategoryHtml .m-portlet__head-icon {
        display: none !important;
    }

    #CategoryHtml .m-portlet__head-text {
        margin: 0 !important;
        color: #64748b !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        letter-spacing: .16em !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        background: unset !important;
    }

    #CategoryHtml .m-portlet__body.custom {
        padding: 0px 10px !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"],
    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] label {
        margin: 0px !important;
        color: #111827 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] {
        padding: 10px 0 12px !important;
    }

    #CategoryHtml .m-checkbox,
    #CategoryHtml .m-radio {
        display: flex !important;
        align-items: center !important;
        min-height: 17px !important;
        margin: 0 !important;
        padding-left: 39px !important;
        color: #111827 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
    }

        #CategoryHtml .m-checkbox > span,
        #CategoryHtml .m-radio > span {
            top: 0px !important;
            width: 19px !important;
            height: 19px !important;
            border: 1px solid #cbd5e1 !important;
            background: #ffffff !important;
        }

    #CategoryHtml .m-radio {
        margin-bottom: 8px !important;
    }

    #CategoryHtml .SortByFilter,
    #CategoryHtml .PriceFilter {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid #edf0f3 !important;
    }

@media (max-width: 991px) {
    .Div_m_FamilyTransferCateg {
        margin-bottom: -50px !important;
    }

    #CategoryHtml {
        margin: 12px 0 !important;
        border-radius: 18px !important;
    }

        #CategoryHtml::before {
            min-height: 64px !important;
            padding: 0 22px !important;
            font-size: 20px !important;
        }

        #CategoryHtml .m-portlet {
            padding: 0 22px !important;
        }

        #CategoryHtml .m-portlet__head.panelhead,
        #CategoryHtml .m-portlet__head {
            padding: 22px 0 12px !important;
        }

        #CategoryHtml .m-portlet__head-text {
            font-size: 14px !important;
        }

        #CategoryHtml .m-checkbox,
        #CategoryHtml .m-radio {
            min-height: 36px !important;
            padding-left: 36px !important;
            font-size: 15px !important;
        }

            #CategoryHtml .m-checkbox > span,
            #CategoryHtml .m-radio > span {
                top: 8px !important;
                width: 20px !important;
                height: 20px !important;
            }

    #StoreItemTabHtml .event-card-meta {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
        margin-top: 0 !important;
    }

    #StoreItemTabHtml .eventbtns .addminus {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        margin: 8px 0 0 !important;
    }
}

/* Article 4 alignment lock */
#StoreItemTabHtml .m-widget19__pic .m-widget19__title,
#StoreItemTabHtml .m-widget19 .m-widget19__pic .m-widget19__title,
#StoreItemTabHtml h3.m-widget19__title {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: calc(100% - 24px) !important;
    padding: 5px 11px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    /*   background: #0f6b6e !important;
    color: #ffffff !important;*/
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#StoreItemTabHtml .eventbox > .row > .col-xl-9 {
    grid-template-columns: minmax(160px, 210px) minmax(150px, 190px) minmax(170px, 210px) minmax(116px, auto) minmax(260px, 1fr) !important;
    grid-template-rows: auto 52px 50px 38px !important;
    column-gap: 24px !important;
    row-gap: 14px !important;
    padding: 22px 28px 18px !important;
}

#StoreItemTabHtml .event-card-stats {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
    max-width: 540px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 8px 12px !important;
    overflow: hidden !important;
}

#StoreItemTabHtml .event-card-stat {
    grid-template-columns: 26px minmax(0, 1fr) !important;
    grid-template-rows: 16px 20px !important;
    column-gap: 8px !important;
    padding: 0 10px !important;
}

    #StoreItemTabHtml .event-card-stat::before {
        width: 24px !important;
        height: 24px !important;
    }

#StoreItemTabHtml .event-card-stat__label {
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

#StoreItemTabHtml .event-card-stat__value {
    font-size: 15px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

#StoreItemTabHtml .event-card-meta {
    grid-column: 1 / 4 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: minmax(120px, 1fr) minmax(150px, 1fr) minmax(170px, 1fr) !important;
    max-width: 540px !important;
    width: 100% !important;
    align-items: center !important;
    column-gap: 0 !important;
}

    #StoreItemTabHtml .event-card-meta::before {
        align-self: center !important;
        padding: 0 !important;
        color: #64748b !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

#StoreItemTabHtml .event-card-meta__item {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    grid-template-rows: 16px 22px !important;
    column-gap: 8px !important;
    align-items: center !important;
    min-height: 42px !important;
    padding: 0 14px !important;
}

    #StoreItemTabHtml .event-card-meta__item::before {
        position: static !important;
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        color: #159a9c !important;
        font-size: 15px !important;
    }

#StoreItemTabHtml .event-card-meta__label {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

#StoreItemTabHtml .event-card-meta__value {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

#StoreItemTabHtml .eventbtns .currencyprice {
    grid-column: 1 !important;
    grid-row: 4 !important;
    align-self: center !important;
    margin: 0 !important;
    font-size: 22px !important;
}

#StoreItemTabHtml .eventbtns .addminus {
    grid-column: 4 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-self: center !important;
    width: 112px !important;
}

    #StoreItemTabHtml .eventbtns .addminus::before {
        bottom: 34px !important;
        left: 0 !important;
    }

#StoreItemTabHtml .eventbtns .btnreadmore {
    grid-column: 5 !important;
    grid-row: 4 !important;
    justify-self: end !important;
}

#StoreItemTabHtml .eventbtns ._addtocart,
#StoreItemTabHtml .eventbtns ._addtobuy,
#StoreItemTabHtml .eventbtns ._removeFromCart,
#StoreItemTabHtml .eventbtns .cancelOrder,
#StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
#StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
#StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
#StoreItemTabHtml .eventbtns .btn-default,
#StoreItemTabHtml .eventbtns .btn-info {
    grid-column: 5 !important;
    grid-row: 4 !important;
    justify-self: end !important;
    transform: translateX(-132px) !important;
}

#StoreItemTabHtml .eventbtns .btn {
    height: 34px !important;
    min-width: 116px !important;
    padding: 0 16px !important;
}

@media (max-width: 1280px) {
    #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
        grid-template-columns: minmax(150px, 190px) minmax(140px, 180px) minmax(150px, 190px) minmax(112px, auto) minmax(250px, 1fr) !important;
        column-gap: 18px !important;
    }
}

/* Article 4 exact alignment final */
#StoreItemTabHtml .eventbox > .row {
    grid-template-columns: 210px minmax(0, 1fr) !important;
    min-height: 290px !important;
}

#StoreItemTabHtml .m-widget19__pic,
#StoreItemTabHtml .m-widget19__pic .m-widget19__img {
    width: 290px !important;
    min-height: 290px !important;
}

    #StoreItemTabHtml .m-widget19__pic .m-widget19__title,
    #StoreItemTabHtml .m-widget19 .m-widget19__pic .m-widget19__title,
    #StoreItemTabHtml h3.m-widget19__title.m--font-light {
        position: absolute !important;
        top: 13px !important;
        left: 16px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 20 !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        height: 21px !important;
        min-width: 0 !important;
        min-height: 24px !important;
        max-width: 176px !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 1 !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border-radius: 50px !important;
        /*background: #24242463 !important;
        color: #ffffff !important;*/
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
        white-space: nowrap !important;
        border: 1px solid;
    }

#StoreItemTabHtml .eventbox > .row > .col-xl-9 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 118px 118px 128px !important;
    grid-template-rows: auto 52px 46px 40px !important;
    column-gap: 12px !important;
    row-gap: 14px !important;
    padding: 18px 107px !important;
    overflow: hidden !important;
}

#StoreItemTabHtml .m-widget19__content {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}

#StoreItemTabHtml .m-widget19__header {
    margin: 0 130px 10px 0 !important;
}

#StoreItemTabHtml .event-card-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    color: #1e293b !important;
}

#StoreItemTabHtml .event-card-category {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
}

#StoreItemTabHtml .m-widget19__body {
    min-height: 44px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

#StoreItemTabHtml .event-card-status {
    top: 13px !important;
    right: 25px !important;
    height: 30px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

#StoreItemTabHtml .event-card-stats {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 470px !important;
    height: 52px !important;
    min-height: 52px !important;
    align-self: start !important;
    padding: 0 14px !important;
    border-radius: 26px !important;
}

.event-card-stat.event-card-stat--available {
    border-right: 0.1px solid #e2e2e2;
}

#StoreItemTabHtml .event-card-stat {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    grid-template-rows: 17px 21px !important;
    column-gap: 8px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
}

    #StoreItemTabHtml .event-card-stat::before {
        width: 24px !important;
        height: 24px !important;
    }

#StoreItemTabHtml .event-card-stat__label {
    font-size: 12px !important;
}

#StoreItemTabHtml .event-card-stat__value {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}

#StoreItemTabHtml .event-card-meta {
    grid-column: 2 / 4 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: minmax(130px, 1fr) minmax(160px, 1fr) !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

    #StoreItemTabHtml .event-card-meta::before {
        display: none !important;
        content: none !important;
    }

#StoreItemTabHtml .event-card-meta__item {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    grid-template-rows: 20px 24px !important;
    column-gap: 16px !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 16px !important;
}

    #StoreItemTabHtml .event-card-meta__item::before {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        position: static !important;
        width: 20px !important;
        font-size: 16px !important;
        color: #6d6d6d !important;
    }

#StoreItemTabHtml .event-card-meta__label {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
}

#StoreItemTabHtml .event-card-meta__value {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #334155 !important;
}



#StoreItemTabHtml .eventbtns .currencyprice {
    grid-column: 1 !important;
    grid-row: 4 !important;
    align-self: end !important;
    justify-self: start !important;
    margin-left: 9px !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

    #StoreItemTabHtml .eventbtns .currencyprice::before {
        content: "\f02b  Price" !important;
        display: block !important;
        margin-bottom: 8px !important;
        font-family: FontAwesome, Poppins, sans-serif !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
    }

#StoreItemTabHtml .eventbtns .addminus {
    grid-column: 4 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-self: center !important;
    width: 118px !important;
    height: 34px !important;
}

    #StoreItemTabHtml .eventbtns .addminus::before {
        bottom: 39px !important;
        left: 0 !important;
        color: #94a3b8 !important;
        font-size: 12px !important;
    }

#StoreItemTabHtml .eventbtns .btnreadmore {
    grid-column: 3 !important;
    grid-row: 4 !important;
    justify-self: end !important;
}

#StoreItemTabHtml .eventbtns ._addtocart,
#StoreItemTabHtml .eventbtns ._addtobuy,
#StoreItemTabHtml .eventbtns ._removeFromCart,
#StoreItemTabHtml .eventbtns .cancelOrder,
#StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
#StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
#StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
#StoreItemTabHtml .eventbtns .btn-default,
#StoreItemTabHtml .eventbtns .btn-info {
    grid-column: 4 !important;
    grid-row: 4 !important;
    justify-self: start !important;
    transform: none !important;
}

#StoreItemTabHtml .eventbtns .btn {
    height: 34px !important;
    width: auto !important;
    padding: 0 18px !important;
    font-size: 12px !important;
}

/* Article 4 stats and meta row exact alignment */
#StoreItemTabHtml .event-card-stats {
    grid-column: 1 / 4 !important;
    grid-row: 2 !important;
    max-width: 700px !important;
    width: 650px !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 18px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 30px !important;
    margin-top: 0px !important;
}

#StoreItemTabHtml .event-card-stat + .event-card-stat {
    position: relative !important;
}

    #StoreItemTabHtml .event-card-stat + .event-card-stat::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 80px; /* Increase this value */
        background: #e5e7eb;
    }

#StoreItemTabHtml .event-card-stat {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    grid-template-rows: 18px 20px !important;
    column-gap: 10px !important;
    align-items: center !important;
    min-height: 40px !important;
    padding: 10px 15px !important;
}

    #StoreItemTabHtml .event-card-stat:first-child {
        padding-left: 0 !important;
        border-right: 0.1px solid #e2e2e2;
    }

.event-card-stat.event-card-stat--purchase {
    border-right: 0.1px solid #e2e2e2;
}


#StoreItemTabHtml .event-card-stat:last-child {
    padding-right: 0 !important;
}

#StoreItemTabHtml .event-card-stat::before {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
}

#StoreItemTabHtml .event-card-stat__label {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

#StoreItemTabHtml .event-card-stat__value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1 !important;
}

#StoreItemTabHtml .event-card-meta {
    grid-column: 1 / 4 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: minmax(160px, 1fr) minmax(210px, 1.25fr) !important;
    align-items: center !important;
    margin: 0 !important;
    margin-top: 7px !important;
}

#StoreItemTabHtml .event-card-meta__item {
    min-height: 50px !important;
    padding: 0 20px 0 0 !important;
}

    #StoreItemTabHtml .event-card-meta__item + .event-card-meta__item {
        padding-left: 22px !important;
    }

    #StoreItemTabHtml .event-card-meta__item::before {
        width: 28px !important;
        font-size: 20px !important;
    }

#StoreItemTabHtml .event-card-meta__label {
    font-size: 13px !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
}

#StoreItemTabHtml .event-card-meta__value {
    margin-top: -5px !important;
    font-size: 14px !important;
    color: #334155 !important;
    line-height: 1.1 !important;
}

#StoreItemTabHtml .eventbtns .addminus {
    grid-column: 4 !important;
    grid-row: 3 !important;
    align-self: center !important;
    width: 104px !important;
    height: 30px !important;
    padding: 0px !important;
}

    #StoreItemTabHtml .eventbtns .addminus::before {
        bottom: 35px !important;
        left: 30px !important;
        color: #94a3b8 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

#StoreItemTabHtml .m-widget19__shadow {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    z-index: 0 !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgb(0 0 0 / 33%), rgb(0 0 0 / 50%)) !important;
}


#StoreItemTabHtml .eventbtns .btnreadmore,
#StoreItemTabHtml .eventbtns ._addtocart,
#StoreItemTabHtml .eventbtns ._addtobuy,
#StoreItemTabHtml .eventbtns .cancelOrder {
    margin: 0 !important;
    float: none !important;
    position: relative !important;
    width: 132px !important;
    /* min-width: 220px !important; */
    height: 34px !important;
}

#StoreItemTabHtml .eventbtns {
    overflow: visible !important;
}

#StoreItemTabHtml .eventbtns {
    overflow: visible !important;
    position: relative !important;
    right: 40px !important;
}


#StoreItemTabHtml .eventbox > .row > .col-xl-9 {
    position: relative !important;
    overflow: hidden !important;
}

#StoreItemTabHtml .eventbtns {
    position: absolute !important;
    right: 12px !important;
    bottom: 18px !important;
    left: 24px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 5 !important;
}

    #StoreItemTabHtml .eventbtns .currencyprice {
        position: static !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 150px !important;
        margin-left: 90px !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    #StoreItemTabHtml .eventbtns .addminus {
        position: absolute !important;
        right: 0 !important;
        bottom: 45px !important;
        margin: 0 !important;
        z-index: 6 !important;
    }

    #StoreItemTabHtml .eventbtns .btnreadmore,
    #StoreItemTabHtml .eventbtns ._addtocart,
    #StoreItemTabHtml .eventbtns ._addtobuy,
    #StoreItemTabHtml .eventbtns ._removeFromCart,
    #StoreItemTabHtml .eventbtns .cancelOrder,
    #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
    #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
    #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
    #StoreItemTabHtml .eventbtns .btn-default,
    #StoreItemTabHtml .eventbtns .btn-info {
        position: static !important;
        display: inline-flex;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 118px !important;
        max-width: none !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 0 18px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        transform: none !important;
        float: none !important;
    }

    #StoreItemTabHtml .eventbtns .btnreadmore {
        order: 1 !important;
    }

    #StoreItemTabHtml .eventbtns .cancelOrder,
    #StoreItemTabHtml .eventbtns ._removeFromCart,
    #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart) {
        order: 2 !important;
        min-width: auto !important;
    }

    #StoreItemTabHtml .eventbtns ._addtocart, #StoreItemTabHtml .eventbtns ._addtobuy {
        order: 3 !important;
        min-width: 132px !important;
    }

    #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
    #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
    #StoreItemTabHtml .eventbtns .btn-default,
    #StoreItemTabHtml .eventbtns .btn-info {
        order: 0 !important;
    }

@media (max-width: 991px) {
    #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
        padding-bottom: 20px !important;
    }

    #StoreItemTabHtml .eventbtns {
        position: static !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        max-width: 100% !important;
        margin-top: 14px !important;
    }

        #StoreItemTabHtml .eventbtns .addminus {
            position: relative !important;
            right: auto !important;
            bottom: auto !important;
            order: 0 !important;
            margin-right: 12px !important;
        }

        #StoreItemTabHtml .eventbtns .btnreadmore,
        #StoreItemTabHtml .eventbtns ._addtocart,
        #StoreItemTabHtml .eventbtns ._addtobuy,
        #StoreItemTabHtml .eventbtns ._removeFromCart,
        #StoreItemTabHtml .eventbtns .cancelOrder {
            flex: 1 1 150px !important;
            min-width: 0 !important;
        }
}

/* Final winning mobile card layout */
@media (max-width: 767px) {
    #StoreItemTabHtml {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 12px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

        #StoreItemTabHtml .eventbtns .btninsbuy {
            grid-column: 2 / -1 !important;
            grid-row: 3 !important;
            background: #177680 !important;
            color: #ffffff !important;
            border-color: #83e2ec !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            height: 38px !important;
        }

    #m_FamilyTransfer .panelhead {
        display: table !important;
        padding: 10px 15px !important;
    }

    #m_FamilyTransfer #txtSearchItemKey {
        height: 30px !important;
        width: 360px !important;
        border-radius: 19px !important;
        border: none !important;
    }

    #StoreItemTabHtml > .m-portlet.m-portlet--bordered-semi.m-portlet--full-height.m-portlet--rounded-force {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto 18px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        margin-left: 8px !important;
    }

    #StoreItemTabHtml .eventbox,
    #StoreItemTabHtml .eventbox > .row,
    #StoreItemTabHtml .eventbox > .row > .col-xl-3,
    #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #StoreItemTabHtml .m-widget19__pic {
        width: 100% !important;
        height: 232px !important;
        min-height: 232px !important;
        border-radius: 18px 18px 0 0 !important;
    }

        #StoreItemTabHtml .m-widget19__pic .example-image-link,
        #StoreItemTabHtml .m-widget19__pic .example-image,
        #StoreItemTabHtml .m-widget19__pic .m-widget19__img {
            width: 100% !important;
            height: 232px !important;
            min-height: 232px !important;
            object-fit: cover !important;
        }

    #StoreItemTabHtml .eventbox > .row > .col-xl-9 {
        padding: 12px 16px 18px !important;
        gap: 15px !important;
    }

    #StoreItemTabHtml .m-widget19__content {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        width: 100% !important;
        min-width: 0 !important;
        order: 1 !important;
    }

    #StoreItemTabHtml .event-card-status {
        position: static !important;
        align-self: flex-start !important;
        order: 0 !important;
        height: 24px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
        margin-left: auto;
    }

    #StoreItemTabHtml .m-widget19__header {
        margin: 0 !important;
        order: 1 !important;
    }

    #StoreItemTabHtml .event-card-title {
        font-size: 18px !important;
        line-height: 1.18 !important;
    }

    #StoreItemTabHtml .event-card-category {
        font-size: 12px !important;
    }

    #StoreItemTabHtml .m-widget19__body {
        min-height: 0 !important;
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        order: 2 !important;
    }

    #StoreItemTabHtml .event-card-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px 25px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 11px 14px !important;
        border-radius: 18px !important;
        overflow: visible !important;
        order: 2 !important;
        box-sizing: border-box !important;
    }

    #StoreItemTabHtml .event-card-stat,
    #StoreItemTabHtml .event-card-stat:first-child,
    #StoreItemTabHtml .event-card-stat:last-child {
        min-width: 0 !important;
        min-height: 34px !important;
        padding: 0 !important;
        border-left: 0 !important;
        grid-template-columns: 24px minmax(0, 1fr) !important;
        grid-template-rows: 14px 18px !important;
        column-gap: 15px !important;
    }

    #StoreItemTabHtml .event-card-stat__label {
        font-size: 11px !important;
    }

    #StoreItemTabHtml .event-card-stat__value {
        font-size: 13px !important;
    }

    #StoreItemTabHtml .event-card-meta {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 3 !important;
        box-sizing: border-box !important;
    }

    #StoreItemTabHtml .event-card-meta__item {
        min-width: 0 !important;
        min-height: 36px !important;
        padding: 0 !important;
        border-left: 0 !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        grid-template-rows: 14px 19px !important;
        column-gap: 17px !important;
    }

    #StoreItemTabHtml .event-card-meta__label {
        font-size: 10px !important;
    }

    #StoreItemTabHtml .event-card-meta__value {
        margin: 0 !important;
        font-size: 13px !important;
    }

    #StoreItemTabHtml .eventbtns {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 4 !important;
        box-sizing: border-box !important;
    }

        #StoreItemTabHtml .eventbtns .currencyprice {
            grid-column: 1 !important;
            grid-row: 1 !important;
            min-width: 0 !important;
            margin: 7px !important;
            font-size: 20px !important;
            line-height: 1 !important;
        }

        #StoreItemTabHtml .eventbtns .addminus {
            position: relative !important;
            grid-column: 2 !important;
            grid-row: 1 !important;
            justify-self: end !important;
            align-self: end !important;
            right: auto !important;
            bottom: auto !important;
            width: 112px !important;
            height: 32px !important;
            margin: 0 !important;
        }

            #StoreItemTabHtml .eventbtns .addminus::before {
                bottom: 37px !important;
                width: 112px !important;
                font-size: 11px !important;
            }

        #StoreItemTabHtml .eventbtns .btnreadmore,
        #StoreItemTabHtml .eventbtns ._addtocart,
        #StoreItemTabHtml .eventbtns ._addtobuy,
        #StoreItemTabHtml .eventbtns ._removeFromCart,
        #StoreItemTabHtml .eventbtns .cancelOrder,
        #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
        #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
        #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart),
        #StoreItemTabHtml .eventbtns .btn-default,
        #StoreItemTabHtml .eventbtns .btn-info {
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
            height: 38px !important;
            margin: 0 !important;
            padding: 0 12px !important;
            font-size: 13px !important;
            box-sizing: border-box !important;
        }

        #StoreItemTabHtml .eventbtns .btnreadmore {
            grid-column: 1 !important;
            grid-row: 2 !important;
        }

        #StoreItemTabHtml .eventbtns ._addtocart,
        #StoreItemTabHtml .eventbtns .btn-success:not(._addtocart),
        #StoreItemTabHtml .eventbtns ._addtobuy,
        #StoreItemTabHtml .eventbtns .btn-success:not(._addtobuy),
        #StoreItemTabHtml .eventbtns .btn-default,
        #StoreItemTabHtml .eventbtns .btn-info {
            grid-column: 2 !important;
            grid-row: 2 !important;
        }

        #StoreItemTabHtml .eventbtns .cancelOrder,
        #StoreItemTabHtml .eventbtns ._removeFromCart,
        #StoreItemTabHtml .eventbtns .btn-danger:not(._removeFromCart) {
            grid-column: 2 / -1 !important;
            grid-row: 2 !important;
            background: #dc4b4b !important;
            color: #ffffff !important;
            border-color: #dc4b4b !important;
        }
}
/* Filter sidebar alignment repair - final */
#CategoryHtml {
    max-width: 340px !important;
    padding-bottom: 20px !important;
    border-radius: 24px !important;
}

    #CategoryHtml::before {
        min-height: 44px !important;
        padding-left: 58px !important;
        font-size: 20px !important;
    }

    #CategoryHtml::after {
        top: 22px !important;
        left: 24px !important;
        font-size: 19px !important;
    }

    #CategoryHtml .m-portlet {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__head {
        padding-top: 22px !important;
    }

    #CategoryHtml .m-portlet__body.custom {
        padding-top: 0px !important;
    }

    #CategoryHtml .CategoryFilter .m-portlet__body.custom {
        padding-top: 22px !important;
    }

    #CategoryHtml .m-portlet__head-text {
        font-size: 14px !important;
        letter-spacing: .18em !important;
    }

    #CategoryHtml .filter-category-toggle,
    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 80% !important;
        min-height: 32px !important;
        margin: 0 0 10px !important;
        padding: 0px 10px !important;
        border-radius: 12px !important;
        color: #111827 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }


        #CategoryHtml .filter-category-toggle::after,
        #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"]::after {
            content: "\f107" !important;
            position: absolute !important;
            right: 0 !important;
            top: 50% !important;
            color: #64748b !important;
            font-family: FontAwesome !important;
            font-size: 14px !important;
            transform: translateY(-50%) rotate(-90deg) !important;
            transform-origin: center !important;
            transition: transform 0.3s ease !important;
        }

#m_FamilyTransfer span.k-widget.k-dropdown.k-header {
    border-radius: 20px !important;
}

/* Open State */
#CategoryHtml .filter-category-toggle.is-open::after,
#CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"].is-open::after {
    transform: translateY(-50%) rotate(0deg) !important;
}

#CategoryHtml .filter-category-toggle:has(+ .filter-category-children input:checked) {
    background: #e9fbf8 !important;
    color: #0e7779 !important;
}

    #CategoryHtml .filter-category-toggle:has(+ .filter-category-children input:checked)::before {
        border-color: #159a9c !important;
        background: #ffffff !important;
        box-shadow: inset 0 0 0 5px #ffffff !important;
    }

#CategoryHtml .filter-category-toggle label,
#CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] label {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

#CategoryHtml .filter-category-children,
#CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div {
    margin: 0 0 0px !important;
    padding: 0px 10px !important;
}

    #CategoryHtml .filter-category-children > div,
    #CategoryHtml .CategoryFilter .m-portlet__body.custom > div[style*="font-weight: bold"] + div > div {
        margin: 0 0 12px !important;
    }

#CategoryHtml .m-checkbox,
#CategoryHtml .m-radio {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 10px 0 36px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

#CategoryHtml .CategoryFilter .m-checkbox {
    font-weight: 400 !important;
}

#CategoryHtml .m-checkbox input,
#CategoryHtml .m-radio input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#CategoryHtml .m-checkbox > span,
#CategoryHtml .m-radio > span {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    transform: translateY(-50%) !important;
    box-sizing: border-box !important;
}

#CategoryHtml .m-radio > span {
    border-radius: 50% !important;
}

#CategoryHtml .m-checkbox:has(input:checked),
#CategoryHtml .m-radio:has(input:checked) {
    font-weight: 600 !important;
}

    #CategoryHtml .m-checkbox:has(input:checked) > span,
    #CategoryHtml .m-radio:has(input:checked) > span {
        border-color: #8a8a8a !important;
    }

#CategoryHtml .m-checkbox > input:checked ~ span::after,
#CategoryHtml .m-radio > input:checked ~ span::after {
    border-color: #5a5a5a !important;
}

#CategoryHtml .m-radio-list {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
}

#CategoryHtml .SortByFilter .m-radio {
    min-height: 42px !important;
    padding-left: 42px !important;
    font-size: 14px !important;
}

    #CategoryHtml .SortByFilter .m-radio > span {
        left: 12px !important;
    }

#CategoryHtml .PriceFilter .m-portlet__body.custom {
    padding-top: 24px !important;
}

#CategoryHtml #pricerange {
    margin: 10px 12px 22px !important;
}

@media (max-width: 575px) {
    #CategoryHtml {
        max-width: calc(100vw - 24px) !important;
    }

        #CategoryHtml .m-portlet {
            padding-left: 20px !important;
            padding-right: 20px !important;
        }
}

/* Activity filter sidebar reference redesign - final */
.Div_m_FamilyTransferCateg {
    padding-right: 0px !important;
}

#CategoryHtml {
    --filter-blue: #177680;
    --filter-blue-dark: #177680;
    --filter-blue-soft: #f3f8ff;
    --filter-border: #e5eaf3;
    --filter-text: #1f2937;
    --filter-muted: #6b7280;
    position: sticky !important;
    top: 0px !important;
    display: block !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 24px !important;
    padding: 0px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid var(--filter-border) !important;
    border-radius: 0px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06) !important;
    font-family: Poppins, sans-serif !important;
}

    #CategoryHtml::before {
        content: "\f1de  Filters" !important;
        display: flex !important;
        align-items: center !important;
        min-height: 72px !important;
        margin: 0 -24px 0 !important;
        padding: 0 118px 0 24px !important;
        border-bottom: 1px solid var(--filter-border) !important;
        color: var(--filter-text) !important;
        font-family: FontAwesome, Poppins, sans-serif !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        white-space: pre !important;
    }

    #CategoryHtml::after {
        content: "Clear All  \00d7" !important;
        position: absolute !important;
        top: 26px !important;
        right: 24px !important;
        z-index: 4 !important;
        display: block !important;
        color: var(--filter-blue-dark) !important;
        font-family: Poppins, sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        pointer-events: none !important;
    }

    #CategoryHtml .m-portlet {
        margin: 0 !important;
        padding: 0px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #CategoryHtml .m-portlet__head,
    #CategoryHtml .m-portlet__head.panelhead,
    #CategoryHtml .m-portlet__head-caption,
    #CategoryHtml .m-portlet__head-title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-evenly;
        width: 100% !important;
        height: 30px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: #2594a03d !important;
    }

    #CategoryHtml .m-portlet__head-icon {
        display: none !important;
    }

    #CategoryHtml .m-portlet__head-text {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        color: #414141 !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        letter-spacing: 2px !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
    }

    /*#CategoryHtml .CategoryFilter .m-portlet__head {
     padding-top: 15px !important;
}*/

    /*#CategoryHtml .m-portlet__body.custom {
    padding: 0 !important;
}*/

    #CategoryHtml .CategoryFilter .m-portlet__body.custom {
        padding-top: 0px !important;
    }

    #CategoryHtml .filter-category-toggle {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) 16px !important;
        align-items: center !important;
        gap: 14px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 16px !important;
        color: var(--filter-text) !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        transition: transform .3s ease, background .3s ease !important;
    }

        #CategoryHtml .filter-category-toggle:hover {
            background: #f8fbff !important;
            transform: translateY(-1px) !important;
        }

        #CategoryHtml .filter-category-toggle::before {
            content: "\f207" !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 30px !important;
            height: 30px !important;
            border: 1px solid #a7dfe5 !important;
            border-radius: 50% !important;
            background: #eff6ff !important;
            color: var(--filter-blue) !important;
            font-family: FontAwesome !important;
            font-size: 15px !important;
            line-height: 1 !important;
            padding: 0 !important;
            margin: 0 !important;
            flex-shrink: 0;
        }

.filter-category-toggle.active::after {
    transform: translateY(-50%) rotate(0deg);
}

#CategoryHtml .filter-category-toggle:nth-of-type(3)::before {
    content: "\f073" !important;
    background: #f4feff !important;
}

#CategoryHtml .filter-category-toggle:nth-of-type(5)::before {
    content: "\f07b" !important;
    border-color: #a7dfe5 !important;
    background: #f4feff !important;
    color: #177680 !important;
}


#CategoryHtml .filter-category-toggle.is-open::after {
    transform: rotate(90deg) !important;
}

#CategoryHtml .filter-category-toggle label {
    margin: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

#CategoryHtml .filter-category-toggle:has(+ .filter-category-children input:checked) {
    color: var(--filter-blue-dark) !important;
}

    #CategoryHtml .filter-category-toggle:has(+ .filter-category-children input:checked)::before {
        border-color: #bfdbfe !important;
        background: #dbeafe !important;
    }

/*#CategoryHtml .filter-category-children {
    margin: 0 0 18px 62px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid var(--filter-border) !important;
}*/

#CategoryHtml .filter-category-children > div {
    margin: 0 0 -10px !important;
}

    #CategoryHtml .filter-category-children > div:last-child {
        margin-bottom: 0 !important;
    }

#CategoryHtml .m-checkbox,
#CategoryHtml .m-radio {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 12px 0 35px !important;
    border: 1px solid transparent !important;
    border-radius: 20px !important;
    color: var(--filter-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
    transition: background .3s ease, border-color .3s ease, color .3s ease !important;
}

#CategoryHtml .CategoryFilter .m-checkbox {
    font-weight: 500 !important;
}

#CategoryHtml .m-checkbox input,
#CategoryHtml .m-radio input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#CategoryHtml .m-checkbox > span,
#CategoryHtml .m-radio > span {
    position: absolute !important;
    left: -3px !important;
    top: 50% !important;
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    transform: translateY(-50%) !important;
    box-sizing: border-box !important;
}

#CategoryHtml .m-radio > span {
    border-radius: 50% !important;
}



#CategoryHtml .m-checkbox > input:checked ~ span::after {
    border-color: #454545 !important;
    background: unset !important;
}

#CategoryHtml .SortByFilter,
#CategoryHtml .PriceFilter {
    border-top: 1px solid var(--filter-border) !important;
}

#CategoryHtml .m-radio-list {
    display: grid !important;
    gap: 0 !important;
    padding: 5px;
    margin: 0px 0px !important;
    overflow: hidden !important;
}

    #CategoryHtml .m-radio-list a {
        display: block !important;
        color: inherit !important;
        text-decoration: none !important;
    }

#CategoryHtml .SortByFilter .m-radio {
    min-height: 54px !important;
    padding: 0 14px 0 35px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--filter-border) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: var(--filter-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#StoreItemTabHtml ._removeFromCart .fa-trash {
    font-size: 16px !important;
}

#CategoryHtml .m-radio-list a:last-child .m-radio {
    border-bottom: 0 !important;
}

#CategoryHtml .SortByFilter .m-radio::before {
    content: "\f017" !important;
    position: absolute !important;
    left: 0px !important;
    top: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border: 1px solid #e5eaf3 !important;
    border-radius: 10px !important;
    color: #94a3b8 !important;
    font-family: FontAwesome !important;
    font-size: 13px !important;
    transform: translateY(-50%) !important;
}

#CategoryHtml .m-radio-list a:nth-child(2) .m-radio::before {
    content: "\f201" !important;
}

#CategoryHtml .m-radio-list a:nth-child(3) .m-radio::before {
    content: "\f201" !important;
    transform: translateY(-50%) scaleY(-1) !important;
}

#CategoryHtml .SortByFilter .m-radio > span {
    display: none !important;
}

#CategoryHtml .SortByFilter .m-radio:has(input:checked) {
    font-weight: 800 !important;
}

    #CategoryHtml .SortByFilter .m-radio:has(input:checked)::before {
        border-color: #8b8b8b !important;
        color: #4e4f4f !important;
    }

#CategoryHtml .PriceFilter .m-portlet__body.custom {
    position: relative !important;
    padding: 25px 30px 30px !important;
}

#CategoryHtml #pricerange {
    height: 6px !important;
    margin: 8px 10px 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #dbeafe !important;
    box-shadow: none !important;
}

    #CategoryHtml #pricerange .ui-slider-range,
    #CategoryHtml #pricerange .noUi-connect {
        background: var(--filter-blue) !important;
    }

    #CategoryHtml #pricerange .ui-slider-handle,
    #CategoryHtml #pricerange .noUi-handle {
        width: 22px !important;
        height: 22px !important;
        top: -8px !important;
        border: 4px solid var(--filter-blue) !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        box-shadow: 0 6px 14px rgba(59, 130, 246, .24) !important;
    }

#CategoryHtml #value-span,
#CategoryHtml #value-input {
    margin: 0 !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

#CategoryHtml #value-span {
    float: left !important;
}

#CategoryHtml #value-input {
    float: right !important;
}

#CategoryHtml .PriceFilter .m-portlet__body.custom::before,
#CategoryHtml .PriceFilter .m-portlet__body.custom::after {
    position: absolute !important;
    bottom: 24px !important;
    width: calc(40% - 8px) !important;
    height: 36px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--filter-border) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: var(--filter-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
    margin: 0px 24px;
}


#CategoryHtml .PriceFilter:hover::after {
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 26px rgba(37, 99, 235, .28) !important;
}

@media (max-width: 991px) {
    #CategoryHtml {
        position: relative !important;
        top: -44px !important;
        max-width: 420px !important;
        padding: 0px !important;
        margin: 15px !important;
    }
}

@media (max-width: 575px) {
    .Div_m_FamilyTransferCateg {
        padding-right: 0 !important;
    }

    #CategoryHtml {
        max-width: calc(100vw - 24px) !important;
        border-radius: 0px !important;
        display: none !important;
    }

        #CategoryHtml::before {
            min-height: 64px !important;
            margin-left: -22px !important;
            margin-right: -22px !important;
            padding-left: 22px !important;
            font-size: 20px !important;
        }

        #CategoryHtml::after {
            top: 25px !important;
            right: 22px !important;
            font-size: 12px !important;
        }

        #CategoryHtml .filter-category-toggle {
            grid-template-columns: 44px minmax(0, 1fr) 16px !important;
            gap: 12px !important;
        }

            #CategoryHtml .filter-category-toggle::before {
                width: 30px !important;
                height: 30px !important;
            }

        #CategoryHtml .filter-category-children {
            margin-left: 56px !important;
        }
}

.col-xl-9.col-lg-9.col-md-9.col-sm-12.Div_m_FamilyTransfer {
    padding-left: 0px;
    padding-right: 15px;
}

#m_FamilyTransfer .m-portlet__body.custom.eventbody {
    padding: 15px;
}

span.event-card-category {
    display: none;
}

#txtSearchItemKey {
    height: 31px !important;
    width: 279px !important;
    border-radius: 19px !important;
    border: none !important;
}

#btnSearchItem .fa-search {
    margin-bottom: 5px !important;
    font-size: 16px !important;
}

#StoreItemTabHtml .m-widget19__pic {
    position: relative;
    overflow: hidden;
    height: 286px;
}

#StoreItemTabHtml .example-image-link {
    position: absolute;
    inset: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}



#StoreItemTabHtml .example-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Activity filter sidebar real header/actions - final */
#CategoryHtml:has(.filter-sidebar-header)::before,
#CategoryHtml:has(.filter-sidebar-header)::after,
#CategoryHtml:has(.filter-apply-btn) .PriceFilter::after {
    display: none !important;
    content: none !important;
}

#CategoryHtml .filter-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 35px !important;
    margin: 0 -24px 0 !important;
    padding: 0 44px !important;
    border-bottom: 1px solid #e5eaf3 !important;
}

#CategoryHtml .filter-sidebar-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

    #CategoryHtml .filter-sidebar-title i {
        color: #ffffff !important;
        font-size: 20px !important;
    }

#CategoryHtml .filter-sidebar-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 0 0 auto !important;
}

#CategoryHtml .filter-clear-all,
#CategoryHtml .filter-close,
#CategoryHtml .filter-apply-btn {
    border: 0 !important;
    outline: 0 !important;
    font-family: Poppins, sans-serif !important;
    cursor: pointer !important;
    transition: transform .3s ease, box-shadow .3s ease, color .3s ease, background .3s ease !important;
}

#CategoryHtml .filter-clear-all {
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

#CategoryHtml .filter-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 15px !important;
}

    #CategoryHtml .filter-close:hover {
        background: #f3f8ff !important;
        color: #177680 !important;
    }

#CategoryHtml .filter-apply-btn {
    display: none;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 95% !important;
    height: 47px !important;
    margin: 16px 10px !important;
    border-radius: 25px !important;
    background: linear-gradient(135deg, #2c8b95, #177680) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}


@media (max-width: 575px) {
    #CategoryHtml .filter-sidebar-header {
        margin-left: -10px !important;
        margin-right: -10px !important;
        padding-left: 22px !important;
        padding-right: 18px !important;
    }

    #CategoryHtml .filter-sidebar-title {
        font-size: 20px !important;
    }

    #CategoryHtml .filter-sidebar-actions {
        gap: 10px !important;
    }

    #CategoryHtml .filter-clear-all {
        font-size: 12px !important;
    }

    #CategoryHtml .filter-apply-btn {
        position: sticky !important;
        bottom: 12px !important;
        z-index: 5 !important;
    }
}

#CategoryHtml .filter-category-toggle.is-open::after {
    content: "\f107" !important;
    transform: none !important;
}

#StoreItemTabHtml button.btn.btn-default.m-btn--pill.btnbuy.m-btn.m-btn--custom {
    display: none !important;
}

#m_FamilyTransfer .m-portlet__nav-item .k-dropdown-wrap.k-state-default,
#m_FamilyTransfer .k-widget.k-dropdown.k-header.form-control.m-input {
    border-radius: 20px !important;
}

#EventTripDetailsModel .ClsEventDetails {
    max-height: 400px;
    overflow-y: auto;
}

/* Event card meta: four columns on desktop, two columns on mobile. */
#StoreItemTabHtml .event-card-meta {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 590px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#StoreItemTabHtml .event-card-meta__item,
#StoreItemTabHtml .event-card-meta__item + .event-card-meta__item {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    column-gap: 10px !important;
    row-gap: 3px !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
}

    #StoreItemTabHtml .event-card-meta__item::before {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        align-self: center !important;
        width: 28px !important;
        margin: 0 !important;
    }

#StoreItemTabHtml .event-card-meta__label,
#StoreItemTabHtml .event-card-meta__value {
    grid-column: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
}

#StoreItemTabHtml .event-card-meta__label {
    grid-row: 1 !important;
    line-height: 1.2 !important;
}

#StoreItemTabHtml .event-card-meta__value {
    grid-row: 2 !important;
    line-height: 1.25 !important;
}

@media (max-width: 767px) {
    #StoreItemTabHtml .event-card-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 10px !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        min-width: 380px !important;
    }

    #StoreItemTabHtml .event-card-meta__item,
    #StoreItemTabHtml .event-card-meta__item + .event-card-meta__item {
        grid-template-columns: 22px minmax(0, 1fr) !important;
        column-gap: 7px !important;
        row-gap: 2px !important;
        min-height: 42px !important;
    }

        #StoreItemTabHtml .event-card-meta__item::before {
            width: 22px !important;
            font-size: 17px !important;
        }

    #StoreItemTabHtml .event-card-meta__label {
        font-size: 10px !important;
    }

    #StoreItemTabHtml .event-card-meta__value {
        font-size: 12px !important;
    }


    .navtitle {
        margin-top: 16px !important;
        margin-bottom: 1px !important;
        padding: 8px 35px !important;
    }
}

.selected-value img {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background-size: 100%;
    margin-right: 5px;
    border-radius: 50%;
    margin-top: -5px;
}

.selected-value img {
    margin-top: -4px;
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: 20px;
    background-size: 100%;
    margin-right: 5px;
}

.listimg img {
    display: inline-block;
    vertical-align: middle;
    width: 35px;
    height: 35px;
    background-size: 100%;
    margin-right: 5px;
    border-radius: 50%;
}

#dtpChild_listbox .k-item > span {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    margin: 20px 10px 10px 5px;
}

    #dtpChild_listbox .k-item > span:first-child {
        -moz-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        box-shadow: inset 0 0 30px rgba(0,0,0,.3);
        margin: 10px;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background-size: 100%;
        background-repeat: no-repeat;
    }

#dtpChild_listbox h3 {
    font-size: 1em;
    font-weight: normal;
    margin: 0 0 1px 0;
    padding: 0;
}

#dtpChild_listbox p {
    margin: 0;
    padding: 0;
    font-size: .8em;
}

.navtitle {
    padding: 8px 25px;
    background: #0f7782;
    font-weight: 600;
    border-bottom: 1px solid white;
    color: white;
    margin: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}
