html {
    font-size: 14px;
}

html, body {
    overflow: auto !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


.authentication-bg {
    height: 100vh;
}

.eye-line-icon {
    position: absolute;
    right: 15px;
    top: 10px;
}

.user-avatar-ch {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background: #ddd;
    border-radius: 100%;
    overflow: hidden;
}

    .user-avatar-ch img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.data-head {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}

    .data-head h6 {
        margin: 0;
        padding: 5px 0;
        text-transform: uppercase;
        font-weight: 500;
    }

.leave-reason p {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.table-fixed {
    table-layout: fixed;
}

.user {
    background-image: linear-gradient(180deg, #2af598 0%, #009efd 100%);
}

.host {
    background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
}

.apexcharts-legend {
    display: flex;
    overflow: auto;
    padding: 0 10px;
}

    .apexcharts-legend.position-bottom, .apexcharts-legend.position-top {
        flex-wrap: wrap
    }

    .apexcharts-legend.position-right, .apexcharts-legend.position-left {
        flex-direction: column;
        bottom: 0;
    }

    .apexcharts-legend.position-bottom.apexcharts-align-left, .apexcharts-legend.position-top.apexcharts-align-left, .apexcharts-legend.position-right, .apexcharts-legend.position-left {
        justify-content: flex-start;
    }

    .apexcharts-legend.position-bottom.apexcharts-align-center, .apexcharts-legend.position-top.apexcharts-align-center {
        justify-content: center;
    }

    .apexcharts-legend.position-bottom.apexcharts-align-right, .apexcharts-legend.position-top.apexcharts-align-right {
        justify-content: flex-end;
    }

.apexcharts-legend-series {
    cursor: pointer;
    line-height: normal;
}

.apexcharts-legend.position-bottom .apexcharts-legend-series, .apexcharts-legend.position-top .apexcharts-legend-series {
    display: flex;
    align-items: center;
}

.apexcharts-legend-text {
    position: relative;
    font-size: 14px;
}

    .apexcharts-legend-text *, .apexcharts-legend-marker * {
        pointer-events: none;
    }

.apexcharts-legend-marker {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-right: 3px;
    border-style: solid;
}

.apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series {
    display: inline-block;
}

.apexcharts-legend-series.apexcharts-no-click {
    cursor: auto;
}

.apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series, .jvectormap-label {
    display: none !important;
}

.apexcharts-inactive-legend {
    opacity: 0.45;
}

.profile-edit-icon {
    width: 25px;
    height: 25px;
    padding: 0;
    line-height: 25px;
    margin-left: 10px;
    display: inline-block;
    cursor: pointer;
}

.datatable-scroll .dataTables_wrapper .col-sm-12 {
    overflow: auto;
    width: 100%;
    position: relative;
    padding: 0;
}

.datatable-scroll table {
    width: 98% !important;
    margin: auto;
}

    .datatable-scroll table.table-data-limit {
        margin-bottom: 110px !important;
    }

.datatable-scroll .dataTables_wrapper .col-sm-12 table thead tr th:last-child:after, .datatable-scroll .dataTables_wrapper .col-sm-12 table thead tr th:last-child:before {
    display: none !important;
}

.dataTables_length, .dataTables_filter, .dataTables_info {
    padding: 0 15px;
}

    .dataTables_filter input:focus, .custom-select:focus {
        outline: none !important;
        box-shadow: none !important;
    }

@media (max-width: 1500px) {
    .datatable-scroll table {
        width: 1200px !important;
    }

    .datatable-scroll .dataTables_wrapper .col-sm-12 {
        padding: 0 15px;
    }

    .dataTables_length, .dataTables_filter, .dataTables_info {
        padding: 0;
    }
}

.select-box-container {
    position: relative;
}

.select2-container {
    width: 100% !important;
}

.main-content {
    overflow: initial;
}

.action-dropdown a {
    padding: 0;
    font-size: 20px;
    line-height: initial;
}

.action-dropdown a {
    padding: 0;
    font-size: 20px;
    line-height: initial;
    color: #445990;
}

.action-dropdown .dropdown-toggle::after {
    display: none;
}

.action-dropdown .dropdown-menu ul {
    padding: 0 10px;
    margin: 0;
}

    .action-dropdown .dropdown-menu ul li {
        list-style: none;
        padding: 5px 0;
        border-bottom: 1px solid #eff2f7;
    }

        .action-dropdown .dropdown-menu ul li em {
            position: relative;
            top: 1px;
        }

        .action-dropdown .dropdown-menu ul li:last-child {
            border: none;
        }

        .action-dropdown .dropdown-menu ul li a {
            font-size: 12px;
            color: #445990;
        }


.error {
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.loader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999;
    background: rgba(255,255,255,0.7);
}

.loader-block {
    width: 60px;
    aspect-ratio: 1;
    display: grid;
    margin: auto;
}

    .loader-block:before,
    .loader-block:after {
        content: "";
        grid-area: 1/1;
        --c: #0000 calc(100%/3),#6f6df0 0 calc(2*100%/3),#0000 0;
        --c1: linear-gradient(90deg,var(--c));
        --c2: linear-gradient( 0deg,var(--c));
        background: var(--c1),var(--c2),var(--c1),var(--c2);
        background-size: 300% 4px,4px 300%;
        background-repeat: no-repeat;
        animation: l11 1s infinite linear;
    }

    .loader-block:after {
        margin: 10px;
        transform: scaleX(-1);
        animation-delay: -.25s;
    }

@keyframes l11 {
    0% {
        background-position: 50% 0,100% 100%,0 100%,0 0
    }

    25% {
        background-position: 0 0,100% 50%,0 100%,0 0
    }

    50% {
        background-position: 0 0,100% 0,50% 100%,0 0
    }

    75% {
        background-position: 0 0,100% 0,100% 100%,0 50%
    }

    75.01% {
        background-position: 100% 0,100% 0,100% 100%,0 50%
    }

    100% {
        background-position: 50% 0,100% 0,100% 100%,0 100%
    }
}

.tbl-width {
    width: 700px !important;
}

.tbl-elipsis p {
    display: block;
    width: 700px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbl-elipsis-ch {
    width: 100%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.dataTables_processing {
    display: none !important;
}

.displayDocumentDoc {
    width: 120px;
    height: 90px;
    border: 1px solid #e4e3ff;
    text-align: center;
    border-radius: 5px;
    background: #f1f1ff;
}

    .displayDocumentDoc img {
        max-height: 100%;
        max-width: 100%;
        object-fit: cover;
        height: 100%;
        width: 100%;
        object-position: top;
        padding: 5px;
    }

.custom-chechbox-ch .custom-checkbox {
    width: 18%;
}

    .custom-chechbox-ch .custom-checkbox input {
        position: relative;
        top: 2px;
    }

.modal-overlay {
    background: rgba(0,0,0,0.6);
}

.modal .form-group {
    margin-bottom: 15px;
}

.displayDocumentDoc, .displayDocumentDoc img {
    position: relative;
    cursor: pointer;
}

.delete-doc-icon {
    position: absolute;
    top: 2px;
    right: 0px;
    bottom: 0;
    background: #ff7903;
    height: 22px;
    width: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    z-index: 9;
    display: block;
    text-align: center;
    line-height: 22px;
}

.up-evnt-date {
    font-size: 12px;
}

@media (max-width: 1500px) {
    .custom-chechbox-ch .custom-checkbox {
        width: 26%;
    }
}

@media (max-width: 1028px) {
    .custom-chechbox-ch .custom-checkbox {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .txt-nav-item .nav-item {
        margin-bottom: 4px;
    }
}

@media (max-width: 600px) {
    .custom-chechbox-ch .custom-checkbox {
        width: 100%;
    }
}

#test-chart {
    height: 350px;
}

.customer-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    width: 100%;
}

.card-desc-body {
    min-height: 300px;
    overflow-y: auto;
    height: 300px;
}

.nicescroll-rails-vr {
    opacity: 0 !important;
}

.apexcharts-tooltip .arrow_box {
    padding: 5px 10px;
    border-color: transparent;
}

.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
    background: #e9e4f0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
}

.apexcharts-tooltip.apexcharts-theme-light .arrow_box {
    background: #e9e4f0 !important;
    border: 1px solid transparent !important;
}

.mail-view .email-q-popup-form .form-label {
    text-align: left;
    font-weight: 500;
    width: 28%;
    display: inline-block;
    position: relative;
    vertical-align: top;
}

    .mail-view .email-q-popup-form .form-label:after {
        content: ":";
        position: absolute;
        top: 0;
        bottom: 0;
        right: -4px;
    }

.mail-view .email-q-popup-form .card-title-desc {
    margin-left: 10px;
    margin-bottom: 0px;
    width: 68%;
    display: inline-block;
    text-align: left;
}

.mail-draft .email-q-popup-form .form-label {
    width: 18%;
}

.mail-draft .email-q-popup-form .card-title-desc {
    width: 76%;
}

.email-q-body {
    margin-bottom: 20px;
}

.modal-emailqueue .modal-body {
    height: 300px;
}

.txt-nav-item .nav-item {
    display: inline-block;
}

.dataTables_wrapper .col-sm-12::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 5px;
    height: 2px;
}

.dataTables_wrapper .col-sm-12::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
    box-shadow: none;
}

.dataTables_wrapper .col-sm-12::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
    background: #cdcef2;
    border-radius: 4px;
}

.device-status-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 20px;
}

.device-status-data em {
    font-size: 23px;
}

.device-status-data .ri-macbook-line {
    color: #c7e4eb;
}

.device-status-data .ri-smartphone-line {
    color: #508f9e;
}

.device-status-data .amount {
    font-weight: 500;
    font-size: 16px;
}

.search-val-txt .form-control:focus {
    box-shadow: none;
}

body[data-topbar=dark] .app-search span {
    color: #8ca3bd;
}

.search-val {
    font-size: 10px;
    text-align: center;
}

.search-val-txt span {
    cursor: pointer;
}

.search-val-popup .form-label {
    font-size: 25px;
}

.dsh-upcm-view-btn:hover em {
    color: #fff !important;
}

.no-data-icon i {
    font-size: 70px;
}

.app-search .form-control {
    width: 250px;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    padding: 0px 30px;
}

.button-group-right {
    display: flex;
    justify-content: flex-end; /* Align buttons to the far right */
    gap: 10px; /* Add spacing between buttons */
    padding: 0 15px;
}

.icon-button {
    background: none !important;
}

.icon-button:hover {
background: #526484 !important;
}

.icon-button:hover .mdi-file-pdf-outline {
    color: #fff !important;
}

.icon-button:hover .mdi-microsoft-excel {
    color: #fff !important;
}

.mdi-microsoft-excel, .mdi-file-pdf-outline {
    font-size: 1.2rem !important;
    color: #526484 !important
}
