﻿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: 5px;
}

._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: #f3f3f3 !important;
    color: #18d665 !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: 10px;
}

.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, ._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;
}

    .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*/

/*Account Panel*/
.m-dropdown .m-dropdown__wrapper .m-dropdown__body {
    margin: 5px 0px;
    padding: 5px 20px;
    border-top: 1px solid #e5e5e5;
}

.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.5rem !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;
}

.btnreadmore, .btnbuy {
    float: right;
    margin-right: 10px;
}

.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: 60px;
    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: 20px;
    font-size: 17px;
    cursor: pointer;
}

.activitycalendar {
    height: 0px;
    width: 0px !important;
    padding: 0px !important;
}

.activitycalendarval {
    margin-right: 12px;
    font-size: 17px;
}

.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: 90%;
}

.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: 15px !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: 34px;
    height: 34px;
}

.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;
    color: #34bfa3;
    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: 0px !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 10px;
}

    .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: 104px !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.5rem !important;
}

.m-card-user .m-card-user__details .m-card-user__name {
    font-size: 1rem;
}

.m-dropdown .m-dropdown__wrapper .m-dropdown__header {
    padding: 0px;
}

.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;
    width: 100% !important;
    height: 100%;
}

    #notificationslides ul, #galleryslides ul {
        list-style: none;
        height: 100%;
        margin: 0;
        padding: 0;
        position: relative;
    }

    #notificationslides li, #galleryslides li {
        width: 100%;
        height: 260px;
        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: 65% !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: 1.1rem !important;
}

/*.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: 700;
    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-dropdown.m-dropdown--arrow .m-dropdown__wrapper {
    padding-top: 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;
}

.m-dropdown.m-dropdown--medium .m-dropdown__wrapper {
    width: 250px;
}

#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: 14px !important;
        font-weight: 600 !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: 700 !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 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 360px !important;
        height: 360px !important;
        border-top: 0 !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
        color: #64748b !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

        .IsStaffCategory .Appointment .loadingstyle h6 {
            margin: 0 !important;
            color: #64748b !important;
            font-size: 14px !important;
            font-weight: 700 !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;
            }

    .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: 700 !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: 700 !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: 700 !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;
}

html:has(.m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper) body::before,
html:has(.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper) body::before,
body:has(.m-dropdown.m-dropdown--open #divAccountList)::before,
body:has(.m-dropdown--open .m-dropdown__wrapper #divAccountList)::before,
body:has(.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper)::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9990 !important;
    background: rgba(0, 0, 0, 0.58) !important;
    backdrop-filter: blur(1px) !important;
    pointer-events: none !important;
}

.m-dropdown.m-dropdown--open:has(#divAccountList),
.m-dropdown--open:has(.m-dropdown__wrapper #divAccountList) {
    z-index: 10040 !important;
}

.m-dropdown.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper {
    left: auto !important;
    right: 46px !important;
    width: 320px !important;
    max-width: calc(100vw - 32px) !important;
    padding-top: 14px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 10045 !important;
}

    .m-dropdown.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
    .m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper::before {
        content: "" !important;
        position: absolute !important;
        top: 5px !important;
        right: 30px !important;
        width: 18px !important;
        height: 18px !important;
        border-top: 1px solid rgba(18, 56, 144, 0.24) !important;
        border-left: 1px solid rgba(18, 56, 144, 0.24) !important;
        border-radius: 5px 0 0 0 !important;
        background: #ffffff !important;
        box-shadow: -8px -8px 20px rgba(15, 23, 42, 0.10) !important;
        transform: rotate(45deg) !important;
        z-index: 4 !important;
    }

    .m-dropdown.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList) > .m-dropdown__arrow,
    .m-dropdown--open .m-dropdown__wrapper:has(#divAccountList) > .m-dropdown__arrow,
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper > .m-dropdown__arrow {
        display: none !important;
    }

.m-dropdown__wrapper #divAccountList,
#divAccountList.m-dropdown__inner,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__inner {
    position: relative !important;
    z-index: 5 !important;
    overflow: hidden !important;
    width: 100% !important;
    border: 1px solid rgba(18, 56, 144, 0.24) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.72) inset !important;
}

#divAccountList .m-dropdown__header,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__header {
      padding: 6px !important;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%) !important;
    margin-top: 8px;
}

#divAccountList .m-card-user,
#divAccountList .ca_switchaccount,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-card-user,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .ca_switchaccount {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 9px 12px 9px 30px !important;
    border: 1px solid #e6edf7 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
    margin-bottom: 4px;
}

    #divAccountList .m-card-user::before,
    #divAccountList .ca_switchaccount::before,
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-card-user::before,
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .ca_switchaccount::before {
        content: "\f007" !important;
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        border: 1px solid rgba(77, 131, 244, 0.26) !important;
        border-radius: 9px !important;
        background: linear-gradient(135deg, #eef5ff, #ffffff) !important;
        color: #4d83f4 !important;
        font-family: FontAwesome !important;
        font-size: 12px !important;
        transform: translateY(-50%) !important;
        box-shadow: 0 8px 18px rgba(77, 131, 244, 0.12) !important;
    }

    #divAccountList .m-card-user.activePanelMnu::before,
    #divAccountList .ca_switchaccount.activePanelMnu::before,
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-card-user.activePanelMnu::before,
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .ca_switchaccount.activePanelMnu::before {
        content: "\f0c0" !important;
        border-color: rgba(255, 255, 255, 0.28) !important;
        background: rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

#divAccountList .m-card-user__details,
#divAccountList ._acc_Block {
    width: 100% !important;
}

#divAccountList .m-card-user__name,
#divAccountList .ca_membertype,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-card-user__name,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .ca_membertype {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

    #divAccountList .m-card-user__name label,
    #divAccountList .ca_membertype label {
        margin: 0 !important;
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
    }

#divAccountList .calmsbadge,
#divAccountList .m-badge,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .calmsbadge,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-badge {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    height: 24px !important;
    padding: 0 8px !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ff4f8c, #ec2f73) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(236, 47, 115, 0.28) !important;
}

#divAccountList .ca_active,
#divAccountList .pull-right {
    margin-left: auto !important;
    color: inherit !important;
}

    #divAccountList .ca_active .fa,
    #divAccountList .pull-right .fa {
        color: inherit !important;
    }

#divAccountList .m-dropdown__body,
.m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__body {
    padding: 6px 10px 12px !important;
}

#divAccountList .m-nav {
    margin: 0 !important;
    padding: 0 !important;
}

#divAccountList .m-nav__item {
    margin: 2px 0 !important;
}

#divAccountList .m-nav__link {
    display: flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 5px 8px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    color: #172033 !important;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}

    #divAccountList .m-nav__link:hover {
        border-color: #e5edf8 !important;
        background: #f5f8ff !important;
        transform: translateX(2px) !important;
    }

#divAccountList .m-nav__link-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin-right: 8px !important;
    border-radius: 9px !important;
    background: #f1f5ff !important;
    color: #6072d9 !important;
}

    #divAccountList .m-nav__link-icon i {
        color: inherit !important;
        font-size: 13px !important;
    }

#divAccountList .m-nav__link-text {
    color: #172033 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#divAccountList .m-nav__separator {
    margin: 6px 0 10px !important;
    border-top: 1px solid #edf2f8 !important;
}

#divAccountList .m-nav__item:last-child,
#divAccountList .m-nav__item:has(.btn),
#divAccountList .m-nav__item:has(.m-btn) {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 4px 0 0 !important;
}

#divAccountList .btn,
#divAccountList .m-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 96px !important;
    height: 36px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ee1717, #e45353) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(79, 109, 245, 0.30) !important;
}

    #divAccountList .btn:hover,
    #divAccountList .m-btn:hover {
        background: linear-gradient(135deg, #f69191, #d64869) !important;
        color: #ffffff !important;
    }

@media (max-width: 768px) {
    .m-dropdown.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper {
        right: 12px !important;
        width: calc(100vw - 24px) !important;
    }

        .m-dropdown.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
        .m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
        .m-dropdown.m-dropdown--header-bg-fill.m-dropdown--skin-light.m-dropdown--medium.m-dropdown--open .m-dropdown__wrapper::before {
            right: 26px !important;
        }
}

/* Account dropdown: final override - one popup, click/focus only */
body:has(.m-topbar__user-profile.m-dropdown--open:not(:focus-within) #divAccountList)::before,
html:has(.m-topbar__user-profile.m-dropdown--open:not(:focus-within) #divAccountList) body::before {
    content: none !important;
}

body:has(.m-topbar__user-profile:focus-within #divAccountList)::before,
html:has(.m-topbar__user-profile:focus-within #divAccountList) body::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9990 !important;
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(1px) !important;
    pointer-events: none !important;
}

/*.m-topbar__user-profile.m-dropdown--open:not(:focus-within) .m-dropdown__wrapper:has(#divAccountList),
.m-topbar__user-profile.m-dropdown--open:not(:focus-within) .m-dropdown__wrapper {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}*/

.m-topbar__user-profile:focus-within {
    position: relative !important;
    z-index: 10050 !important;
}

    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList),
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        right: 46px !important;
        width: 320px !important;
        max-width: calc(100vw - 32px) !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        z-index: 10045 !important;
    }

.m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::before {
    content: "" !important;
    position: absolute !important;
    top: 5px !important;
    right: 30px !important;
    width: 18px !important;
    height: 18px !important;
    border-top: 1px solid rgba(18, 56, 144, 0.24) !important;
    border-left: 1px solid rgba(18, 56, 144, 0.24) !important;
    border-radius: 5px 0 0 0 !important;
    background: #ffffff !important;
    box-shadow: -8px -8px 20px rgba(15, 23, 42, 0.10) !important;
    transform: rotate(45deg) !important;
    z-index: 4 !important;
}

.m-topbar__user-profile:focus-within #divAccountList {
    position: relative !important;
    z-index: 5 !important;
    border-radius: 16px !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: 700 !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: 700 !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: 700 !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: 700 !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: 700 !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 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 360px !important;
    height: 360px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 700 !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;
    }
}

/* Account dropdown: force full-page dim overlay above the page, below popup */
html:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
html:has(.m-topbar__user-profile:focus-within #divAccountList)::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9990 !important;
    background: rgba(0, 0, 0, 0.54) !important;
    pointer-events: none !important;
}

body:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
body:has(.m-topbar__user-profile:focus-within #divAccountList)::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9991 !important;
    background: rgba(0, 0, 0, 0.10) !important;
    pointer-events: none !important;
}

.m-topbar__user-profile.m-dropdown--open,
.m-topbar__user-profile:focus-within {
    position: relative !important;
    z-index: 10080 !important;
}

    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList) {
        position: fixed !important;
        top: 76px !important;
        right: 28px !important;
        z-index: 10100 !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        mix-blend-mode: normal !important;
    }

    .m-topbar__user-profile.m-dropdown--open #divAccountList,
    .m-topbar__user-profile:focus-within #divAccountList,
    .m-topbar__user-profile.m-dropdown--open .m-dropdown__inner,
    .m-topbar__user-profile:focus-within .m-dropdown__inner {
        position: relative !important;
        z-index: 10110 !important;
        opacity: 1 !important;
        filter: none !important;
        mix-blend-mode: normal !important;
        background: #ffffff !important;
    }

    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::before {
        z-index: 10105 !important;
    }

/* Account dropdown: keep popup clear while dimming the page around it */
html:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
html:has(.m-topbar__user-profile:focus-within #divAccountList)::before,
body:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
body:has(.m-topbar__user-profile:focus-within #divAccountList)::before,
html:has(.m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper) body::before,
html:has(.m-topbar__user-profile:focus-within .m-dropdown__wrapper) body::before {
    content: none !important;
    display: none !important;
    background: transparent !important;
}

.m-topbar__user-profile.m-dropdown--open,
.m-topbar__user-profile:focus-within {
    position: relative !important;
    z-index: 2147483600 !important;
    opacity: 1 !important;
    filter: none !important;
}

    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList) {
        position: fixed !important;
        top: 76px !important;
        right: 28px !important;
        z-index: 2147483601 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        mix-blend-mode: normal !important;
        background: transparent !important;
    }

    .m-topbar__user-profile.m-dropdown--open #divAccountList,
    .m-topbar__user-profile:focus-within #divAccountList,
    .m-topbar__user-profile.m-dropdown--open .m-dropdown__inner,
    .m-topbar__user-profile:focus-within .m-dropdown__inner {
        position: relative !important;
        z-index: 2147483602 !important;
        opacity: 1 !important;
        filter: none !important;
        -webkit-filter: none !important;
        mix-blend-mode: normal !important;
        background: #ffffff !important;
        color: #172033 !important;
        box-shadow: 0 22px 58px rgba(15, 23, 42, 0.28), 0 0 0 9999px rgba(0, 0, 0, 0.56) !important;
    }

    /* Account dropdown: clickable links, visible arrow, dim page behind popup */
    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList) {
        overflow: visible !important;
        pointer-events: auto !important;
    }

        .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::after,
        .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::after {
            content: "" !important;
            position: fixed !important;
            inset: 0 !important;
            z-index: 0 !important;
            background: rgba(0, 0, 0, 0.56) !important;
            pointer-events: none !important;
        }

        .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
        .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::before {
            content: "" !important;
            position: absolute !important;
            top: -2px !important;
            right: 46px !important;
            display: block !important;
            width: 22px !important;
            height: 22px !important;
            border-top: 1px solid rgba(18, 56, 144, 0.22) !important;
            border-left: 1px solid rgba(18, 56, 144, 0.22) !important;
            border-radius: 5px 0 0 0 !important;
            background: #ffffff !important;
            box-shadow: -6px -6px 16px rgba(15, 23, 42, 0.12) !important;
            transform: rotate(45deg) !important;
            z-index: 2147483603 !important;
            pointer-events: none !important;
        }

        .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList) > .m-dropdown__arrow,
        .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList) > .m-dropdown__arrow {
            display: block !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

    .m-topbar__user-profile.m-dropdown--open #divAccountList,
    .m-topbar__user-profile:focus-within #divAccountList,
    .m-topbar__user-profile.m-dropdown--open .m-dropdown__inner,
    .m-topbar__user-profile:focus-within .m-dropdown__inner {
        z-index: 2147483602 !important;
        pointer-events: auto !important;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32) !important;
    }

#divAccountList a,
#divAccountList button,
#divAccountList .m-nav__link,
#divAccountList .m-card-user,
#divAccountList .ca_switchaccount,
#divAccountList .m-dropdown__body,
#divAccountList .m-dropdown__header {
    pointer-events: auto !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: 700 !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 {
    position: relative !important;
    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;
}

/* Final account popup fix: overlay behind popup, no click blocking */
body:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
body:has(.m-topbar__user-profile:focus-within #divAccountList)::before {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483000 !important;
    background: rgba(0, 0, 0, 0.54) !important;
    pointer-events: none !important;
}

.m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::after,
.m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::after {
    content: none !important;
    display: none !important;
}

.m-topbar__user-profile.m-dropdown--open,
.m-topbar__user-profile:focus-within {
    position: relative !important;
    z-index: 2147483400 !important;
}

    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList) {
        position: fixed !important;
        top: 76px !important;
        right: 28px !important;
        width: 320px !important;
        max-width: calc(100vw - 32px) !important;
        padding-top: 16px !important;
        z-index: 2147483450 !important;
        background: transparent !important;
        box-shadow: none !important;
        pointer-events: auto !important;
    }

    .m-topbar__user-profile.m-dropdown--open #divAccountList,
    .m-topbar__user-profile:focus-within #divAccountList,
    .m-topbar__user-profile.m-dropdown--open .m-dropdown__inner,
    .m-topbar__user-profile:focus-within .m-dropdown__inner {
        position: relative !important;
        z-index: 2147483460 !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        filter: none !important;
        background: #ffffff !important;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32) !important;
    }

#divAccountList,
#divAccountList *,
#divAccountList a,
#divAccountList button,
#divAccountList .m-card-user,
#divAccountList .m-card-user__details,
#divAccountList .m-card-user__name,
#divAccountList .ca_switchaccount,
#divAccountList .m-nav__item,
#divAccountList .m-nav__link {
    pointer-events: auto !important;
}

/* Final TAMS card cleanup: prevent clipped counts and align text cleanly */
.IsStaffCategory .TAMS .dash--count {
    display: block !important;
    min-height: 112px !important;
    padding: 18px 22px !important;
    overflow: visible !important;
}

.IsStaffCategory .TAMS .dash--count-icon {
    position: absolute !important;
    top: 18px !important;
    left: 20px !important;
    margin: 0 !important;
}

.m-nav.m-nav--inline > .m-nav__item > .m-nav__link {
    width: auto;
    padding: 20px 0;
}

.IsStaffCategory .TAMS .dash--count-total2,
.IsStaffCategory .TAMS .dash--count-total2 span {
    position: absolute !important;
    top: 18px !important;
    right: 22px !important;
    bottom: auto !important;
    left: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #404245 !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: right !important;
    transform: none !important;
}

.IsStaffCategory .TAMS .dash--count-title,
.IsStaffCategory .TAMS .dash--count-title span {
    position: absolute !important;
    right: 72px !important;
    bottom: 28px !important;
    left: 72px !important;
    top: auto !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #253044 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    text-align: center !important;
    transform: none !important;
}

@media (min-width: 1200px) {
    .IsStaffCategory .TAMS .dash--count-title,
    .IsStaffCategory .TAMS .dash--count-title span {
        font-size: 16px !important;
    }
}

/* TAMS dash-count title: single line, light weight, bottom-right */
.IsStaffCategory .TAMS .dash--count-title {
    position: absolute !important;
    right: 22px !important;
    bottom: 20px !important;
    left: 82px !important;
    top: auto !important;
    display: block !important;
    width: auto !important;
    max-width: calc(100% - 120px) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    transform: none !important;
}

    .IsStaffCategory .TAMS .dash--count-title span {
        position: static !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #253044 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        text-align: right !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        transform: none !important;
    }

/* Final popup focus: keep overlay outside the popup only */
html:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
html:has(.m-topbar__user-profile:focus-within #divAccountList)::before,
body:has(.m-topbar__user-profile.m-dropdown--open #divAccountList)::before,
body:has(.m-topbar__user-profile:focus-within #divAccountList)::before,
html:has(.m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper) body::before,
html:has(.m-topbar__user-profile:focus-within .m-dropdown__wrapper) body::before {
    content: none !important;
    display: none !important;
    background: transparent !important;
}

.m-topbar__user-profile.m-dropdown--open,
.m-topbar__user-profile:focus-within {
    position: relative !important;
    z-index: 2147483600 !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

    .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList),
    .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList) {
position: fixed !important;
    top: 45px !important;
    right: 28px !important;
    width: 270px !important;
        max-width: calc(100vw - 32px) !important;
        padding-top: 16px !important;
        overflow: visible !important;
        z-index: 2147483601 !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        background: transparent !important;
        pointer-events: auto !important;
    }

        .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::after,
        .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::after {
            content: none !important;
            display: none !important;
        }

        .m-topbar__user-profile.m-dropdown--open .m-dropdown__wrapper:has(#divAccountList)::before,
        .m-topbar__user-profile:focus-within .m-dropdown__wrapper:has(#divAccountList)::before {
            content: "" !important;
            position: absolute !important;
            top: 5px !important;
            right: 46px !important;
            display: block !important;
            width: 22px !important;
            height: 22px !important;
            border-top: 1px solid rgba(18, 56, 144, 0.22) !important;
            border-left: 1px solid rgba(18, 56, 144, 0.22) !important;
            border-radius: 5px 0 0 0 !important;
            background: #ffffff !important;
            transform: rotate(45deg) !important;
            z-index: 2147483603 !important;
            pointer-events: none !important;
        }

    .m-topbar__user-profile.m-dropdown--open #divAccountList,
    .m-topbar__user-profile:focus-within #divAccountList,
    .m-topbar__user-profile.m-dropdown--open .m-dropdown__inner,
    .m-topbar__user-profile:focus-within .m-dropdown__inner {
        position: relative !important;
        z-index: 2147483602 !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        background: #ffffff !important;
        color: #172033 !important;
        pointer-events: auto !important;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32), 0 0 0 9999px rgba(0, 0, 0, 0.54) !important;
    }

#divAccountList,
#divAccountList * {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    pointer-events: auto !important;
}

    /* Account switch card: make the whole card receive the click */


    #divAccountList .ca_switchaccount::before,
    #divAccountList .m-card-user.ca_switchaccount::before {
        pointer-events: none !important;
    }

    #divAccountList .ca_switchaccount .m-card-user__details,
    #divAccountList .ca_switchaccount .m-card-user__name,
    #divAccountList .ca_switchaccount .ca_membertype,
    #divAccountList .ca_switchaccount label,
    #divAccountList .ca_switchaccount span,
    #divAccountList .ca_switchaccount .calmsbadge {
        pointer-events: none !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: 700 !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: 700 !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: 700 !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;
    background: #ffffff !important;
    max-height: 61px !important;
    height: 33px !important;
    width: 214px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 2px solid #ffffff !important;
    border-radius: 5px !important;
    color: #585555 !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;
    background: #ffffff !important;
    max-height: 61px !important;
    height: 33px !important;
    width: 44px !important;
    margin: 0 0 0 -41px !important;
    padding: 0 !important;
    border: 2px solid #ffffff !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;
}