﻿body {
    color: #000;
}

.text-muted {
    color: #000 !important;
}

.authentication-bg-pattern {
    background-image: url(../images/themer/bg_ocean.jpg?v=1);
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #6658dd;
    z-index: 9999;
    animation: loadingBarAdmin 1.5s infinite;
}

@keyframes loadingBarAdmin {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

.loading-spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner icon */
.loading-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #6658dd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: loadSpinAdmin 1s linear infinite;
}

@keyframes loadSpinAdmin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.w-50px {
    min-width: 50px;
}

.w-100px {
    min-width: 100px;
}

.w-120px {
    min-width: 120px;
}

.w-150px {
    min-width: 150px;
}

.w-160px {
    min-width: 160px;
}

.w-170px {
    min-width: 170px;
}

.w-180px {
    min-width: 180px;
}

.w-200px {
    min-width: 200px;
}

.w-250px {
    min-width: 250px;
}

.w-300px {
    min-width: 300px;
}

.w-335px {
    min-width: 335px;
}

.btn-group-example .btn {
    position: relative
}

    .btn-group-example .btn:first-child::before {
        display: none
    }

    .btn-group-example .btn:before {
        content: "OR";
        position: absolute;
        font-size: 10px;
        width: 24px;
        height: 24px;
        line-height: 24px;
        border-radius: 50%;
        background-color: var(--secondary);
        color: var(--white);
        border: 1px solid var(--white);
        left: -12px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 1
    }

.page-title-right {
    font-size: 15px;
}

.page-title-box .breadcrumb {
    padding: 5px 0px;
}

input[format-price] {
    text-align: right;
}

.k-toolbar.k-grid-toolbar {
    align-items: stretch;
}

.k-grid .k-state-selected {
    color: #003f59;
    background-color: #e7e7e7;
    border-color: #c6c6c6;
}

.k-grid td.k-state-selected:hover,
.k-grid tr.k-state-selected:hover {
    background-color: #e7e7e7;
    background-image: none;
}

.k-grid .k-master-row td[role=gridcell] {
    white-space: nowrap;
}

.content-page {
    overflow: unset !important;
}

.text-ellips-showall {
    -webkit-line-clamp: unset !important;
}

.ems-tabpanel.k-panelbar .k-tabstrip > .k-content, .ems-tabpanel.k-tabstrip > .k-content {
    padding: 0 !important;
}

.ems-tabpanel.k-tabstrip:focus {
    box-shadow: unset !important;
}

.ems-tabpanel.k-tabstrip .k-button.k-flat {
    border-color: #93c8df !important;
    background-color: #daecf4 !important;
}

.content-page {
    margin-top: 40px;
}

#search-menu-dropdown {
    position: fixed;
    top: 90px;
    min-width: 320px;
}

    #search-menu-dropdown .dropdown-header {
        padding: .5rem 1.2rem;
    }

    #search-menu-dropdown .search-menu-result {
        min-height: 200px;
        height: calc(100vh - 180px) !important;
    }

.left-side-menu {
    padding: 5px 0 30px 0px;
    top: 40px;
}

body[data-sidebar-size=condensed] .left-side-menu .search-bar {
    display: none;
}

.logo-box {
    height: 40px;
}

    .logo-box .logo {
        line-height: 40px;
    }

.navbar-custom {
    background-color: #f47521;
    height: 40px;
}

    .navbar-custom .topnav-menu .nav-link {
        color: #fff;
        line-height: 40px;
        max-height: 40px;
    }

    .navbar-custom .app-search {
        height: 40px;
    }

    .navbar-custom .button-menu-mobile {
        height: 40px;
        line-height: 40px;
    }

    .navbar-custom .app-search .btn.btn-search {
        color: #fff;
    }

    .navbar-custom .app-search .btn.btn-search-result {
        border-radius: 30px;
    }

        .navbar-custom .app-search .btn.btn-search-result.btn-light {
            color: #343a40;
            background-color: #f3f7f9;
            border-color: #f3f7f9;
        }

            .navbar-custom .app-search .btn.btn-search-result.btn-light:hover {
                color: #343a40;
                background-color: #dae6ec;
                border-color: #d1e0e8;
            }

        .navbar-custom .app-search .btn.btn-search-result.btn-success:hover {
            color: #fff;
            background-color: #159a80;
            border-color: #148f77;
        }

    .navbar-custom .app-search .form-control,
    .navbar-custom .app-search .form-control::placeholder {
        color: #fff;
    }

    .navbar-custom .app-search .dropdown-menu {
        width: 400px;
    }

    .navbar-custom .app-search .search-result-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        justify-content: center;
        align-items: center;
    }

.noti-scroll {
    min-height: 300px;
    height: calc(100vh - 180px) !important;
    max-height: 400px !important;
}

.search-result-card {
    border-radius: 10px;
    margin-bottom: 12px;
}

.search-result-card-title {
    font-weight: 600;
    padding: 12px;
}

.search-result-item-row {
    cursor: pointer;
    background: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f1f1f1;
}

.search-result-item-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
}

    .search-result-item-avatar.blue {
        background: #3b82f6;
    }

    .search-result-item-avatar.green {
        background: #10b981;
    }

    .search-result-item-avatar.orange {
        background: #f97316;
    }

.search-result-item-status {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
}

    .search-result-item-status.active {
        background: #dcfce7;
        color: #166534;
    }

    .search-result-item-status.done {
        background: #e0e7ff;
        color: #3730a3;
    }

    .search-result-item-status.busy {
        background: #fef3c7;
        color: #92400e;
    }

.search-result-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-result-item-info small {
    color: #6b7280;
    margin-right: 10px;
}

.search-result-card-customer {
    background: #eff6ff;
}

.search-result-card-class {
    background: #fff7ed;
}

.search-result-card-teacher {
    background: #ecfdf5;
}

.topnav {
    margin-top: 40px;
}

body[data-layout-mode="two-column"] .sidebar-icon-menu .logo {
    width: 40px;
    height: 40px;
    line-height: 40px;
}

body[data-layout-mode="two-column"] .sidebar-main-menu {
    top: 40px;
}

.notification-list .noti-icon-badge {
    font-size: 10px;
    height: 17px;
    width: 17px;
    top: 4px;
}

.notification-list .notify-item {
    padding: 5px 20px;
}

    .notification-list .notify-item .notify-details {
        white-space: normal;
        margin-bottom: 0px;
    }

    .notification-list .notify-item .notify-send-date {
        font-size: 10px !important;
        float: right;
        color: #939393;
        margin: 2px 0px;
    }

    .notification-list .notify-item .notify-details b {
        font-size: 15px;
    }

    .notification-list .notify-item .notify-details small {
        font-size: 11px;
    }

    .notification-list .notify-item.active:hover {
        background-color: #fff;
    }

.page-title-box .page-title-right {
    margin-top: 5px;
}

.modal-xl {
    max-width: 90%;
}

.footer {
    padding: 2px 15px 2px;
}

.panel-collapse {
    position: absolute;
    z-index: 9;
    top: 0;
}


.k-grid-toolbar {
    font-size: 14px;
}

.k-grid-header th.k-header {
    font-size: 14px;
}

.k-grid tr td[role=gridcell] {
    font-size: 14px;
}

.k-grid .k-command-cell .k-button {
    min-width: 35px;
    padding: 3px 10px;
}

.pnSearch {
    font-size: 14px;
}

    .pnSearch .input-group input[type=text]:not([data-role='datepicker']) {
        max-width: 190px;
        min-width: 190px;
    }

.ems-horizontal-timeline {
    position: relative;
}

.ems-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .ems-timeline .stage-item {
        min-width: 150px;
        padding-top: 10px;
        position: relative;
        flex: 1 1 0%;
        z-index: 10;
    }

        .ems-timeline .stage-item.completed {
            color: #34c38f;
        }

        .ems-timeline .stage-item.active {
            color: #0077bf;
        }

        .ems-timeline .stage-item .flex-col {
            display: flex;
            align-items: center;
            flex-direction: column;
        }

        .ems-timeline .stage-item .timeline-point {
            background-color: #fff;
            border: 2px solid #d1d5db;
            border-radius: 9999px;
            width: 1.5rem;
            height: 1.5rem;
            margin: 0.5rem 0px;
        }

        .ems-timeline .stage-item.completed .timeline-point {
            background-color: #34c38f;
        }

        .ems-timeline .stage-item.active .timeline-point {
            background-color: #0077bf;
            box-shadow: 0 0 0 0px rgba(167, 186, 239, 1);
            animation: pulse-shadow 0.7s infinite ease-in-out;
        }



        .ems-timeline .stage-item .timeline-line {
            background-color: #e5e7eb;
            width: 100%;
            height: 0.25rem;
            top: 50px;
            position: absolute;
            left: 50%;
        }

        .ems-timeline .stage-item.completed .timeline-line {
            background-color: #34c38f;
        }

        .ems-timeline .stage-item .timeline-label {
            font-weight: 600;
            color: #2d2d2d;
        }

        .ems-timeline .stage-item.completed .timeline-label {
            color: #34c38f;
            font-weight: 600;
            font-size: 0.875rem;
            line-height: 1.25rem;
        }

        .ems-timeline .stage-item.active .timeline-label {
            font-weight: 600;
            color: #0077bf;
            font-size: 0.875rem;
            line-height: 1.25rem;
        }

        .ems-timeline .stage-item .text-xs {
            font-size: 0.75rem;
            line-height: 1rem;
            font-weight: 500;
            color: #6b7280
        }

        .ems-timeline .stage-item.active .text-xs {
            font-weight: bold;
        }

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0px rgba(167, 186, 239, 0.2);
    }

    25% {
        box-shadow: 0 0 0 4px rgba(167, 186, 239, 0.25);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(167, 186, 239, 0.4);
    }

    75% {
        box-shadow: 0 0 0 4px rgba(167, 186, 239, 0.25);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(167, 186, 239, 0.2);
    }
}

.form-ems-wizard {
    font-size: 14px;
}

.content-page {
    padding: 0;
}

.ems-bs-wizard {
}

.ems-bs-wizard-nav {
    margin-bottom: 5px;
    list-style-type: none;
    padding: 0;
}

    .ems-bs-wizard-nav li {
        display: inline-block;
        margin: 2px;
        position: relative;
    }

        .ems-bs-wizard-nav li a, .ems-bs-wizard-nav li p {
            background: #34c38f;
            padding: 5px 10px;
            display: block;
            color: #fff;
            font-size: 14px;
            position: relative;
            text-indent: 7px;
        }

            .ems-bs-wizard-nav li a:hover, .ems-bs-wizard-nav li p:hover {
                text-decoration: none;
            }

            .ems-bs-wizard-nav li a:before, .ems-bs-wizard-nav li p:before {
                border-bottom: 14px solid transparent;
                border-left: 12px solid #f5f6f8;
                border-top: 14px solid transparent;
                content: "";
                height: 0;
                position: absolute;
                left: 0;
                top: 50%;
                width: 0;
                margin-top: -14px;
            }

            .ems-bs-wizard-nav li a:after, .ems-bs-wizard-nav li p:after {
                border-bottom: 14px solid transparent;
                border-left: 12px solid #34c38f;
                border-top: 14px solid transparent;
                content: "";
                height: 2px;
                position: absolute;
                left: 100%;
                top: 50%;
                width: 2px;
                margin-top: -14px;
                z-index: 1;
            }

        .ems-bs-wizard-nav li.active a, .ems-bs-wizard-nav li.active p {
            background: #0077bf;
            color: #fff;
        }

            .ems-bs-wizard-nav li.active a:after, .ems-bs-wizard-nav li.active p:after {
                border-left: 12px solid #0077bf;
            }

        .ems-bs-wizard-nav li.undone a, .ems-bs-wizard-nav li.undone p {
            background: #c8c8c8;
            color: #333;
        }

            .ems-bs-wizard-nav li.undone a:after, .ems-bs-wizard-nav li.undone p:after {
                border-left: 12px solid #c8c8c8
            }

        .ems-bs-wizard-nav li.undone p {
            color: #aaa;
        }

.bg-ems-form {
    background-color: #f4f5f7;
}

.form-label {
    padding: 4px;
}

.form-hyperlink {
    color: #6658dd;
    cursor: pointer;
    padding: 4px;
}

.form-hyperlink-action {
    cursor: pointer;
    padding: 2px;
}

    .form-hyperlink-action:hover {
        text-decoration: underline;
    }

.table-centered td, .table-centered th {
    vertical-align: middle !important
}

.table-nowrap td, .table-nowrap th {
    white-space: nowrap
}

.table > :not(:first-child) {
    border-top: 2px solid var(--ct-table-group-separator-color)
}

.table .table-user img {
    height: 30px;
    width: 30px
}

.table.table-bordered tbody {
    border-top: 1px solid;
    border-top-color: inherit
}

.table-borderless > :not(caption) > * > * {
    border-bottom-width: 0
}

.table-borderless > :not(:first-child) {
    border-top-width: 0
}

.border-3 {
    border-width: 3px !important;
}

.border-4 {
    border-width: 4px !important;
}

.border-5 {
    border-width: 5px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.custom-kendo-color-picker {
}

    .custom-kendo-color-picker .k-picker-wrap {
        border: none;
        background: none;
        background-image: unset;
        box-shadow: none;
    }

    .custom-kendo-color-picker .k-selected-color {
        border-radius: 50% !important;
        border: 1px solid #ced4da;
        background-color: rgb(0, 162, 232);
    }

    .custom-kendo-color-picker .k-picker-wrap .k-select {
        border: none;
        background: none;
        background-color: unset;
        background-image: unset;
    }

.custom-nestable.dd {
    max-width: 100%;
}

.dd-list .dd-item button.btn-xs {
    font-size: .75rem !important;
    width: auto !important;
    height: auto !important;
    color: #fff !important;
}

.dd-handle-flex {
    height: 100% !important;
    display: flex;
    align-items: center;
}

.dd-handle-flex-block {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    padding: 0px 16px !important;
}

.sortable-placeholder {
    border: 1px dashed #ccc;
}

.border-dashed {
    border: 1px dashed #ccc;
}

.flex-none {
    flex: none;
}

.action-icons {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.swal-icon {
    width: 60px;
    height: 60px;
    margin: 5px auto;
}

    .swal-icon:first-child {
        margin-top: 10px;
    }

.swal-icon--warning__body {
    height: 30px;
}

.swal-title {
    padding: 7px 16px;
    font-size: 16px;
}

    .swal-title:not(:last-child) {
        margin-bottom: 5px;
    }

.swal-footer {
    padding-top: 13px;
    margin-top: 10px;
    padding: 5px 10px;
}

.swal-button-container {
    margin: 5px;
}

.swal-button {
    border-radius: 5px;
    font-size: 14px;
    padding: 5px 15px;
}

.swal-button--no {
    color: #555;
    background-color: #efefef;
}

.swal-button.swal-button--cancel:before,
.swal-button.swal-button--no:before {
    content: "\F739";
}

.swal-button.swal-button--confirm:before,
.swal-button.swal-button--yes:before {
    content: "\F12D";
}

.swal-button.swal-button--cash:before {
    content: "\F114";
}

.swal-button.swal-button--bank:before {
    content: "\F19B";
}

.swal-button.swal-button--info:before {
    content: "\F148";
}

.swal-button.swal-button--increase:before {
    content: "\F1BF";
}

.swal-button.swal-button--decrease:before {
    content: "\F1BE";
}

.swal-button:before {
    padding-right: 1px;
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-group .dropdown-menu {
    font-size: 14px !important;
}

    .btn-group .dropdown-menu i {
        font-size: 14px !important;
    }

.hover-show-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-quick-message .dropdown-item {
    white-space: unset;
    padding: 5px;
}

    .dropdown-quick-message .dropdown-item:hover .quick-message-usage {
        display: block;
    }

.form-control:disabled, .form-control[readonly] {
    background-color: #eae8e8 !important;
}

.ems-activitystream {
    background-color: #f5f6f8;
}

    .ems-activitystream .ems-timeline-ago {
        position: relative;
        width: 100%;
    }

    .ems-activitystream .timeline {
        margin-left: 20px;
        margin-bottom: 30px;
        margin-right: 40px;
    }

        .ems-activitystream .timeline:before {
            left: 0px;
            top: 13px;
            bottom: 13px;
            width: 1.5px;
        }

        .ems-activitystream .timeline .time-show {
            text-align: center;
            margin-right: 0;
            margin-bottom: 15px;
        }

    .ems-activitystream .timeline-item {
        display: unset !important;
    }

    .ems-activitystream .timeline .timeline-desk {
        display: block !important;
        width: 100% !important;
    }

    .ems-activitystream .time-show:before {
        background-color: #dee2e6;
        bottom: 0;
        content: "";
        left: 0%;
        position: absolute;
        top: 50%;
        width: 100%;
        height: 1px;
        z-index: 0;
    }

    .ems-activitystream .time-show-section {
        position: relative;
        z-index: 20;
    }

    .ems-activitystream .timeline .timeline-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        width: 30px;
        left: -60px;
        margin-top: -15px;
    }

        .ems-activitystream .timeline .timeline-icon i {
            font-size: 16px;
            left: 0;
            margin-top: 0;
            position: relative;
        }

    .ems-activitystream .timeline .timeline-box {
        margin-left: 45px !important;
        margin: 10px 0;
        padding: 12px 15px;
    }

        .ems-activitystream .timeline .timeline-box:before {
            background-color: #dee2e6;
            bottom: 0;
            content: "";
            left: -45px;
            position: absolute;
            top: 50%;
            width: 45px;
            height: 1px;
            z-index: 0;
        }

.ems-timeline__card-top {
    display: flex;
    justify-content: space-between;
}

.ems-timeline__card-top_info {
    max-width: calc(100% - 20px);
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    --margin-fix-space: 5px;
}

.ems-timeline__card-title {
    display: inline-block;
    font-weight: bold;
    vertical-align: middle;
    overflow: hidden;
    margin-right: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #000;
    transition: color .2s linear;
}

.ems-timeline__card-time {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    margin-bottom: 8px;
    font-size: 10px;
    color: #616364;
}

.ems-timeline__card-top_info_left {
    max-width: 100%;
    display: flex;
    align-items: center;
    margin-right: 8px;
    margin-bottom: 8px;
}

.ems-timeline__card-top_info_right {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    flex-wrap: wrap;
}

.ems-timeline__user-icon.--muted {
    opacity: .5;
}

.ems-timeline__user-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

    .ems-timeline__user-icon > i {
        position: relative;
        display: block;
        padding-top: 100%;
        width: 100%;
        border-radius: 50%;
    }

.ems-entity-stream-content-detail-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    margin: 2px 0;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ems-timeline__value-change-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    max-width: 90%;
}

.ems-entity-stream-content-detain-info-status {
    --crm-entity-stream-content-detain-info-status-black-rgb: 0,0,0;
    display: inline-block;
    overflow: hidden;
    padding: 0 var(--ui-space-inset-xs,8px);
    border-radius: 40px;
    background-color: rgba(var(--ui-color-base-solid-rgb,var(--crm-entity-stream-content-detain-info-status-black-rgb)),0.05);
    color: var(--ui-color-text-secondary,#525c69);
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--ui-font-size-xs,12px);
    line-height: 1.8333333;
}



.timeline-process-item {
    position: relative;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

    .timeline-process-item:not(:last-of-type) .timeline-process-content::before {
        content: "";
        position: absolute;
        top: 5px;
        bottom: 0;
        left: -7px;
        width: 1px;
        border-left: 1px dashed #838383
    }

.timeline-process-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1
}

.timeline-process-time {
    width: 120px;
    text-align: right
}

.timeline-process-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative
}

.timeline-process-icon-based .timeline-process-dot, .timeline-process-icon-bordered .timeline-process-dot, .timeline-process-users .timeline-process-dot {
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.ems-ribbon-box .ribbon-two span {
    font-size: 11px !important;
}

.ems-ribbon-box-right .ribbon-two {
    right: -5px !important;
    left: unset;
}

    .ems-ribbon-box-right .ribbon-two span {
        transform: rotate(45deg) !important;
        right: -21px;
        left: unset;
    }

.ems-ribbon-box-right .ems-ribbon-two {
    position: absolute;
    right: 20px;
}

.ems-table-exam tr th {
    padding: 5px !important;
}

.ems-table-exam tr td {
    padding: 2px !important;
}

.ems-table-rollcall tr th {
    padding: 5px !important;
}

.ems-table-rollcall tr td {
    padding: 5px !important;
}

.ems-tabpanel.k-animation-container, .ems-tabpanel.k-animation-container *, .ems-tabpanel.k-animation-container :after,
.ems-tabpanel.k-block .k-header, .ems-tabpanel.k-list-container, .ems-tabpanel.k-widget, .ems-tabpanel.k-widget *, .ems-tabpanel.k-widget :before {
    box-sizing: border-box !important;
}

.ems-tabpanel .k-content[role="tabpanel"] {
    overflow: unset !important;
}

.min-w-100 {
    min-width: 100px;
}

.pnSearch .dropdown-menu .dropdown-item:hover {
    opacity: 0.8;
}

.table-responsive .table th {
    font-size: 15px;
}

.table-responsive .table td {
    font-size: 14px;
    padding: 5px 10px;
}

.checkbox label::before {
    height: 20px;
    width: 20px;
    margin-left: -19px;
    border: 1px solid #98a6ad;
}

.checkbox-primary input[type=checkbox]:checked + label::before {
    background-color: transparent !important
}

.checkbox-primary input[type=checkbox]:checked + label::after {
    border-color: #6658dd;
}

.checkbox input[type=checkbox]:checked + label::after {
    top: 4px;
    left: 6px;
    width: 7px;
    height: 12px;
}

.conversation-name {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-new-message {
    height: 17px;
    width: 17px;
    background-color: red;
    color: #fff;
    line-height: 13px;
    border-radius: 50% !important;
}

.conversation-social-network-type > img {
    position: absolute;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    bottom: -2px;
    left: -2px;
    border: 1.5px solid white;
}

.conversation-detail .conversation-social-network-type > img {
    height: 20px;
    width: 20px;
}

#chat-recent {
}

    #chat-recent .text-body:hover {
        background-color: #f3f7f9 !important;
    }

        #chat-recent .text-body:hover .recent-actions {
            visibility: visible;
            display: block !important;
            width: 60px;
        }

.conversation-favourite {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 50%;
    justify-content: right;
    align-items: center;
    display: flex;
}

.recent-actions {
    transition-timing-function: ease;
    transition: all 500ms;
    visibility: hidden;
    border-radius: unset !important;
    height: 100%;
    width: 0;
    position: absolute;
    top: 0;
    right: 0;
}

    .recent-actions .card {
        background-color: #f3f7f9;
        border-radius: 0;
        display: flex;
        height: 100%;
    }

    .recent-actions .btn {
        padding: 0px;
        flex: 1;
        border: unset;
        border-radius: unset !important;
        background-color: transparent;
    }

    .recent-actions .conversation-status-unfavourite {
        color: #f1556c !important;
    }

    .recent-actions .conversation-status-read, .recent-actions .conversation-status-spam, .recent-actions .conversation-status-pin {
        color: #6c757d !important;
    }

    .recent-actions .conversation-status-complete:hover {
        background-color: #1abc9c !important;
        color: #fff !important;
    }

    .recent-actions .conversation-status-read:hover,
    .recent-actions .conversation-status-spam:hover,
    .recent-actions .conversation-status-pin:hover,
    .recent-actions .conversation-status-unpin:hover {
        background-color: #6c757d !important;
        color: #fff !important;
    }

    .recent-actions .conversation-status-favourite:hover {
        background-color: #f1556c !important;
        color: #fff !important;
    }

    .recent-actions .conversation-status-unfavourite:hover {
        background-color: #6c757d !important;
        color: #fff !important
    }

.rencent-checkbox {
    display: flex;
    margin: auto;
}

    .rencent-checkbox > input[type=checkbox] {
        flex: 1;
        width: 20px;
        height: 20px;
    }

.rencent-message-content {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-message-unread {
    font-weight: bold;
    color: #000;
}

.conversation-list .chat-avatar {
    width: 32px;
}

.conversation-list .conversation-message .message-image-single {
    padding: 15px;
    background-color: #fff;
}

.conversation-list .odd .ctext-wrap {
    color: #6c757d;
    background-color: #fff;
}

    .conversation-list .odd .ctext-wrap:after {
        border-left-color: #fff;
        border-top-color: #fff;
        right: -9px !important;
    }

.conversation-list .ctext-wrap .messsage-error {
    position: absolute;
    left: -15px;
    bottom: -5px;
}

.conversation-list .conversation-text, .conversation-list .odd .conversation-text {
    max-width: 70% !important;
    width: auto !important;
}

.conversation-list .message-media {
    text-align: left;
}

.conversation-list .odd .message-media {
    text-align: right;
}

.conversation-list .odd .conversation-text {
    text-align: left;
}

.conversation-list .ctext-wrap {
    background: #d2d8eb;
}

    .conversation-list .ctext-wrap:after {
        border-top-color: #d2d8eb;
        border-right-color: #d2d8eb;
    }

.conversation-list li .conversation-actions {
    float: unset;
}

.conversation-list .odd .conversation-actions {
    float: right;
}

.recent-wrap, .empty-recent, .label-conversation {
    min-height: 200px;
    height: calc(100vh - 180px) !important;
}

.conversation-list {
    background: #f6f6f6a1;
    min-height: 150px;
    height: calc(100vh - 285px) !important;
}

.conversation-information, .conversation-box {
    min-height: 200px;
    height: calc(100vh - 225px) !important;
}

.dropdown-quick-message {
    min-width: 200px;
    width: calc(100vh - 0px) !important;
    min-height: 150px;
    height: calc(100vh - 290px) !important;
}

#chat-recent .chat-user {
    position: relative;
    cursor: pointer;
    min-height: 90px;
    border-bottom: 1px solid #e5e8eb;
    padding: 10px 5px 0px 10px;
}

#chat-form .chat-message {
    resize: none;
}

.start-conversation {
    height: 100%;
}

    .start-conversation .conversation-empty {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.bg-start-conversation {
    width: 35%;
}

.start-conversation .btn-link:hover {
    background-color: #d1e0e8;
}

.btn-delete-label {
    color: white;
}

.conversation-information .btn-delete-label i {
    color: #000;
    width: 18px;
    line-height: 18px;
    height: 18px;
}

    .conversation-information .btn-delete-label i:hover {
        background: #cfcfcf;
        border: 1px solid #b1afaf;
        border-radius: 50%;
    }

.message-image-single {
    width: 50%;
    min-width: 100px;
}

.mfp-bg, .mfp-wrap {
    z-index: 1999 !important;
}

.conversation-note-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-media audio {
    max-width: 100%;
    height: 40px;
}

.conversation-label {
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-time-ago {
    line-height: 20px;
    text-align: center;
    font-size: 10px !important;
    color: #98a6ad !important;
    font-weight: 400 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: right !important;
}

.conversation-activity-box {
    background-color: #f3f7f9;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
}

.dropdown-quick-message .quick-message-usage {
    text-transform: uppercase;
    display: none;
    font-weight: bold;
}

.conversation-activity-box .media {
    align-items: center;
    font-size: 11px;
}

.conversation-activity-box .activity-box-hyperlink {
    margin-left: auto;
    font-size: 11px;
    font-style: italic;
}

.dropdown-quick-message .quick-message-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tooltip.bs-tooltip-top .arrow:before {
    border-top-color: #6658dd !important;
}

.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #6658dd !important;
}

.tooltip.bs-tooltip-left .arrow:before {
    border-left-color: #6658dd !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #6658dd !important;
}

.tooltip-inner {
    background-color: #6658dd;
    font-size: 14px;
}

.tag-input-ctn {
    border: 1px solid #ccc;
    padding: 2px 3px;
    display: inline-block;
    width: 100%;
    border-radius: 3px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.075);
}

    .tag-input-ctn input {
        display: inline-block;
        float: left;
        height: 18px;
        padding: 0px;
        font-size: 15px;
        line-height: 18px;
        color: black;
        border: 0px;
        margin: 2px;
    }

        .tag-input-ctn input:focus {
            outline: 0;
            box-shadow: 0px;
        }

    .tag-input-ctn .input-tag {
        padding: 2px 4px;
        line-height: 12px;
        font-size: 11px;
        background-color: #e3eaf6;
        display: inline-block;
        float: left;
        border-radius: 2px;
        margin: 2px 5px 2px 0px;
        border: 1px solid #a9b6d2;
    }

        .tag-input-ctn .input-tag .delete-tag {
            display: inline-block;
            font-size: 14px;
            cursor: pointer;
            padding: 0px 2px;
        }

            .tag-input-ctn .input-tag .delete-tag:hover {
                background-color: #96b4d2;
            }

.note-editing-area figcaption:hover {
    outline: 2px solid #ffd25c;
}

.note-editing-area figcaption:active, .note-editing-area figcaption:focus {
    outline: 2px solid #ffd25c;
}

.iframe-article-video {
    max-width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.dropify-wrapper-video {
    height: 400px;
}

.resize-none {
    resize: none;
}

social-user-avatar .social-net-work-type,
social-network-avatar .social-net-work-type {
    position: absolute;
    width: 11px;
    height: 11px;
    top: 11px;
    left: -5px;
    top: 15px;
    border: 1.5px solid white;
}

click-to-call {
    display: flex;
    justify-content: center;
}

.grid-clicktocall {
    width: 22px;
    justify-content: center;
    height: 22px;
    align-items: center;
    display: flex;
    border-radius: 50% !important;
    background-color: #0bab55;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.19);
}

.card-widgets > a.collapsed i:before {
    content: "\F415" !important;
}

.card-delete-box {
    width: 23px;
    height: 23px;
    background-color: #ee324d;
    cursor: pointer;
    transform-origin: center bottom;
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
    transform: translate(-50%, -50%) rotate(90deg);
    border-radius: 4px;
    position: absolute;
    top: 0;
    right: 0px;
}

.card-delete-icon {
    display: flex;
    right: 10px;
    color: #fff;
    position: absolute;
    font-size: 9px;
    height: 0;
    top: -3px;
}

.flex-gap-5 {
    gap: 5px;
}

.flex-gap-4 {
    gap: 4px;
}

.btn-primary {
    background-color: #1a4ad1;
    border-color: #0339d1;
}

.border-width-3 {
    border-width: 3px !important;
}

.border-width-4 {
    border-width: 4px !important;
}

.text-orange {
    color: #f47521 !important;
}

.border-orange {
    border-color: #f47521 !important;
}

.btn-orange {
    color: #fff;
    background-color: #f47521 !important;
    border-color: #f56708 !important;
}

    .btn-orange:hover {
        color: #fff;
        background-color: #ef680e !important;
        border-color: #f56200 !important;
    }

.btn-soft-orange {
    color: #f47521;
    background-color: #f4752138 !important;
    border-color: #f5670885 !important;
}

    .btn-soft-orange:hover {
        color: #fff;
        background-color: #f47521 !important;
        border-color: #f56708 !important;
    }

.bg-orange {
    background-color: #f47521 !important;
}

.bg-soft-orange {
    background-color: #f4752138 !important;
}

.badge-soft-orange {
    background-color: #f4752138 !important;
}

.badge-orange {
    color: #fff;
    background-color: #f56708 !important;
}

.card-dashboard-border-left-orange {
    border-left: 4px solid #f47521 !important;
}

.card-dashboard-border-left-blue {
    border-left: 4px solid #4a81d4 !important;
}

.card-dashboard-appointment:hover {
    background-color: #fff !important;
    border-color: #ff6b0040 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08) !important;
}

.card-dashboard-promotion:hover {
    background-color: #fff !important;
    border-color: #ff6b0040 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08) !important;
}

.badge-dashboard-promotion {
    color: #64748b;
    background: transparent;
}

    .badge-dashboard-promotion:hover {
        color: #ff6b00;
        background: #ff6b001a;
        cursor: pointer;
    }

.dashboard-content-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .conversation-list {
        min-height: 150px;
        height: calc(100vh - 340px) !important;
    }

    .dropify-wrapper-video {
        height: 250px !important;
    }
}

@media (max-width: 767.98px) {
    .page-title-box .page-title {
        line-height: 40px;
    }

    .dropify-wrapper-video {
        height: 300px;
    }
}

@media (min-width: 768px) {
    body[data-sidebar-size=condensed]:not([data-layout=compact]) {
        min-height: unset !important;
    }
}

@media (max-width: 991.98px) {
    .logo-box {
        width: 40px !important;
    }
}

.k-grid .row-master {
    background-color: #fff4e5 !important;
}

.k-grid .row-normal {
    background-color: #ffffff !important;
}

@media (max-width: 991.98px) {
    .logo-box {
        width: 40px !important;
    }
}

@media (min-width: 1600px) {
    .modal-xl {
        max-width: 95%;
    }
}

@media (min-width: 1920px) {
    .modal-xl {
        max-width: 95%;
    }
}

@media (min-width: 2560px) {
    .modal-xl {
        max-width: 95%;
    }
}

@media (min-width: 3840px) {
    .modal-xl {
        max-width: 95%;
    }
}
