.modal-backdrop {
    z-index: 9999;
}

.modal {
    z-index: 999999 !important;
}

.pagination {
    margin: 0;
}

#activatedTable {
    width: 400px;
    border-collapse: collapse;
}

#activatedTable th,
#activatedTable td {
    border: none;
    padding: 10px;
    text-align: left;
}

#activatedTable th {
    background-color: #f2f2f2;
}

.fixed-width {
    width: 100px;
}

.fixed-width-s {
    width: 0;
}

.wrap-text {
    white-space: normal;
    width: 50%;
}

.action-assign-user-role {
    position: relative;
}

.action-assign-user-role::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 20%;
    background-color: transparent;
}

.checkbox-assign-user-role {
    padding: 0.75rem 1.5rem !important;
    text-transform: capitalize;
    letter-spacing: 0px;
    border-bottom: 1px solid #e9ecef;
}

.table-assign-user-role thead,
.table-add-assign-user-role thead {
    border: none !important;
}

/* toggle lang */

.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.switch>span {
    position: absolute;
    top: 8px;
    pointer-events: none;
    font-family: "Helvetica", Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    width: 50%;
    text-align: center;
}

input.check-toggle-round-flat:checked~.off {
    color: #ffffff;
}

input.check-toggle-round-flat:checked~.on {
    color: #01793b;
}

.switch>span.on {
    left: 0;
    padding-left: 2px;
    color: #ffffff;
}

.switch>span.off {
    right: 0;
    padding-right: 2px;
    color: #01793b;
}

.check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.check-toggle+label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input.check-toggle-round-flat+label {
    padding: 2px;
    width: 97px;
    height: 35px;
    background-color: #ffffff;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

input.check-toggle-round-flat+label:before,
input.check-toggle-round-flat+label:after {
    display: block;
    position: absolute;
    content: "";
}

input.check-toggle-round-flat+label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: #ffffff;
    -webkit--moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

input.check-toggle-round-flat+label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 46px;
    background-color: #01793b;
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
}

input.check-toggle-round-flat:checked+label:after {
    margin-left: 44px;
}

/* ----- */

/* Card */

.border-radius-50 {
    border-radius: 50px !important;
}

.border-radius-25 {
    border-radius: 25px !important;
}

.border-radius-10 {
    border-radius: 10px !important;
}

.btn {
    border-radius: 50px !important;
}

.btn-clock-87348 {
    border-radius: 50% !important;
    height: 6rem !important;
    width: 6rem !important;
}

select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d2d6da;
    -webkit-appearance: none !important;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.select2-container--default .select2-selection--multiple {
    border: none !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none !important;
    outline: none !important;
}


.select2-results__option {
    padding-right: 20px;
    vertical-align: middle;
}

.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}

.select2-results__option[aria-selected=true]:before {
    font-family: fontAwesome;
    content: "\f00c";
    color: #fff;
    background-color: #01793b;
    border: 0;
    display: inline-block;
    padding-left: 3px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #eaeaeb;
    color: #272727;
}

.select2-container--default .select2-selection--multiple {
    margin-bottom: 10px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 4px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #01793b;
    border-width: 2px;
}

.select2-container--default .select2-selection--multiple {
    border-width: 2px;
}

.select2-container--open .select2-dropdown--below {

    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

.select2-selection .select2-selection--multiple:after {
    content: 'hhghgh';
}

/* select with icons badges single*/
.select-icon .select2-selection__placeholder .badge {
    display: none;
}

.select-icon .placeholder {
    display: none;
}

.select-icon .select2-results__option:before,
.select-icon .select2-results__option[aria-selected=true]:before {
    display: none !important;
    /* content: "" !important; */
}

.select-icon .select2-search--dropdown {
    display: none;
}

.select2-results__group {
    display: none;
}

.select2-results__options--nested {
    margin-left: 10px;
}

.select2-results__option[role=group]::before {
    display: none;
}

.alert-success-fkjew {
    height: 56px;
    border-radius: 8px;
    background-color: #00B64F !important;
}

.alert-danger-fkjew {
    height: 56px;
    border-radius: 8px;
    background-color: #CB0707 !important;
}


.switches {
    position: relative;
    width: 70px;
    height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    margin: auto;
}

.switches input {
    display: none;
}

.switches label {
    display: flex;
    position: absolute;
    width: 70px;
    height: 20px;
    cursor: pointer;
    border-radius: 50pc;
    box-shadow: 0 0 calc(var(--sz) / 50) calc(var(--sz) / 50) #0002;
}

.switches .track {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50pc;
    overflow: hidden;
    display: flex;
}

.switches .track .txt {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    margin: auto 0px;
    left: -75px;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
}

.switches input:checked+.switches label .track:before {
    left: 0px;
}

.switches .thumb {
    position: absolute;
    aspect-ratio: 1;
    height: calc(100% - 5px);
    top: 0;
    bottom: 0;
    margin: auto 0px;
    left: 3px;
    background: white;
    border-radius: 50pc;
    cursor: pointer;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    z-index: 1;
    box-shadow: 0px 0px 10px #565656;
    transition: all ease 0.5s;
}

.switches input:checked+.switches label .track .text:before {
    left: 0px;
}

.switches .txt:before,
.switches .txt:after {
    padding: 4px 0px;
    content: "Active";
    left: -75px;
    transition: var(--tr);
    font-size: 9px;
    color: #000;
    top: 0;
    bottom: 0;
    margin: auto 0px;
    height: fit-content;
    min-width: 75px;
    text-align: left;
    padding-left: 10px;
    background-color: var(--bs-primary);
    color: white;
}

.switches .txt:after {
    content: "Inactive";
    margin: auto 0px;
    text-align: center;
    background-color: var(--bs-danger);
}

.switches input:checked+label .track .txt {
    left: 0px;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
}

.switches input:checked+label .thumb {
    left: 52px;
    color: var(--on);
    background: white;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
}

.form-check-input[type="checkbox"]:checked {
    background: #01793b;
}


/* Accordion collapse role access */
.horizontal-table {
    display: flex;
    flex-direction: column;
}

.horizontal-table .row {
    display: flex;
    flex-direction: row;
}

.horizontal-table .row>div {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
}

.label-cell {
    font-weight: bold;
    background-color: #f2f2f2;
}

.collapse-label {
    display: flex;
    align-items: center;
}

.checkbox-container {
    margin-right: 10px;
}

.accordion-container {
    display: flex;
}

.accordion-body {
    padding: 0rem 1rem;
    width: 100% !important;
}

.accordion-column {
    width: 60%;
    padding: 2px;
    border-right: 1px solid #ccc;
    overflow-y: auto;
}

.accordion-header button {
    width: 100%;
    font-size: 0.875rem;
    font-weight: 400;
}

.accordion-header button:not(.collapsed) {
    background: #F2F4F7 !important;
    font-weight: 600;
}

.content-column {
    width: 80%;
    padding: 10px;
    overflow-y: auto;
}

.accordion-collapse:not(.show) {
    display: none;
}

.accordion-button {
    padding-bottom: 0 !important;
}

.accordion-small {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0rem 1rem;
    font-size: 0.7rem;
    color: #67748e;
    text-align: left;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: all 0.15s ease-in, border-radius 0.15s ease;
}

/* ------------ */

.z-1000 {
    z-index: 1000 !important;
}

.icon-shape-img {
    width: 60px;
    height: 60px;
}

.icon-shape-img img {
    color: #fff;
    opacity: 0.8;
    top: 14px;
    position: relative;
}

.btn-clock-out {
    border-radius: 25% !important;
    height: 4rem !important;
    width: 4rem !important;
    padding: 10px !important;
    font-size: 12px;
}

.fs-14 {
    font-size: 14px !important;
}

.border-end-grey {
    border-right: 1px #d2d6da solid !important;
}

.border-start-grey {
    border-left: 1px #d2d6da solid !important;
}

.sort-by .input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0;
}

.w-6vw {
    width: 6vw !important;
}

.select-icon-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='26' viewBox='0 0 24 24' width='26' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 5px;
}

.text-star {
    position: absolute;
    bottom: 5px;
    left: 10px;
    color: white;
}

.text-rectangle {
    position: absolute;
    bottom: 7px;
    left: 12px;
    color: white;
}

.text-rectangle-red {
    position: absolute;
    bottom: 7px;
    right: 5.5px;
    color: white;
}

.chart-detail {
    position: absolute;
    right: 5%;
    top: -15px;
}

.screen_loader {
    position: fixed;
    background-color: #fafafa;
    inset: 0px;
    place-content: center;
    z-index: 10;
}

.grid {
    display: grid;
}

.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animate__fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@media (max-width: 767.98px) {
    .w-6vw {
        width: 30vw !important;
    }
}

.text-help {
    cursor: help;
}

.round-unset {
    border-radius: unset !important;
}

.dropdown-menu {
    box-shadow: 0 50px 100px rgba(50, 50, 93, .1), 0 15px 35px rgba(50, 50, 93, .15), 0 5px 15px rgba(0, 0, 0, .1);
}

.dropdown-item {
    color: #67748e !important;
}

div.dataTables_processing {
    top: 10% !important;
}

a.no-hover:hover {
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    position: relative;
    padding: 20px;
}

tr:nth-child(even) td:nth-child(even):before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 1em;
    color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    white-space: pre-wrap;
    z-index: 0;
    width: 300px;
    text-align: center;
}

td>* {
    position: relative;
    z-index: 1;
}

.top-dashboard .icon-shape-img {
    width: 50px;
    height: 50px;
}

.top-dashboard .text-title {
    font-size: 10pt !important;
}

.top-dashboard .card-body {
    padding: 1.2rem 1rem !important;
}

.table-responsive {
    margin-top: .5rem;
    max-height: 600px;
    overflow-y: auto;
    min-height: auto;
}

.table-responsive-330 {
    margin-top: .5rem;
    max-height: 330px;
    overflow-y: auto;
    min-height: auto;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #f8f9fa;
    opacity: 1 !important;
}

.modal-table thead th {
    position: static;
    z-index: auto;
}

.selectize-control.single .selectize-input {
    background-color: #fff !important;
    background-image: unset !important;
    border-radius: 0.5rem;
    padding: 10px 0px !important;
    border-color: #d2d6da !important;
}

.main-content .container-fluid {
    padding-top: .5rem !important;
}

.main-content .container-fluid .col-12 {
    margin-top: 0px !important;
}

.main-content .container-fluid .card {
    margin-bottom: .5rem !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    padding: 0px 8px !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    display: contents !important;
}

.select2-container--bootstrap-5 .select2-selection {
    padding: 0rem 0.75rem !important;
    border-radius: 0.5rem !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    padding-top: 6px !important;
    margin: 0px !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field {
    font-size: 11pt !important;
}

table td,
table td p.text-secondary,
table td span.text-secondary {
    color: #000 !important;
}

table td span.text-secondary.text-danger {
    color: #f5365c !important;
}

.ellipsis-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    max-height: calc(1.2em * 3);
    line-height: 1.2em;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    max-height: calc(1.2em * 3);
    line-height: 1.2em;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    max-height: calc(1.2em * 3);
    line-height: 1.2em;
}

.date-picker-wrapper {
    z-index: 9999 !important;
}

.top-dashboard .widget-header {
    height: 65px !important;
}

.navbar-vertical .navbar-nav .nav-link[data-bs-toggle="collapse"]:after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('/assets/img/icons/chevron-down.png') no-repeat center center;
    background-size: contain;
    margin-left: auto;
    transition: transform 0.2s ease-in-out;
}

.star-icon {
    width: 30px;
    height: 30px;
    background-color: gold;
    clip-path: polygon(50% 0%,
            61% 35%,
            98% 35%,
            68% 57%,
            79% 91%,
            50% 70%,
            21% 91%,
            32% 57%,
            2% 35%,
            39% 35%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
    font-size: 14px;
}

.circle-badge {
    width: 30px;
    height: 30px;
    background-color: gold;
    color: black;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.justify-items-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.treeselect {
    z-index: 9999;
}

@media (max-width: 576px) {
    .w-sm-100 {
        width: 100%;
    }
}

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

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field {
    width: auto !important;
}

.select2-container .select2-selection--multiple {
    min-height: 40px !important;
    padding-top: 6px !important;
}

.select2-container .select2-selection {
    height: 40px;
    overflow: scroll;
    overflow-x: hidden !important;
}

.select2-container .select2-selection {
    height: 36px;
    overflow: scroll;
}

.treeselect-input__tags {
    height: 36px;
    overflow: scroll;
    overflow-x: hidden !important;
}

input::placeholder,
select::placeholder {
    color: black !important;
    opacity: 0.7 !important;
}

select option[disabled][selected] {
    color: yellow !important;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: black !important;
    font-size: 8pt;
}

input,
select {
    font-size: 8pt !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search.select2-search--inline .select2-search__field {
    font-size: 8pt !important;
}

.select2-container--bootstrap-5.select2-container--below .select2-selection--multiple .select2-search .select2-search__field {
    display: none;
}

.select2-container--bootstrap-5.select2-container--below.select2-container--focus .select2-selection--multiple .select2-search .select2-search__field {
    display: block !important;
}