.toast {
    opacity: 1 !important;
}

table {
    text-wrap: nowrap;
}

.page-item.active .page-link {
    background-color: #3c9792;
    border-color: #3c9792;
}

.page-link {
    color: #3c9792;
}

.page-link:hover {
    color: #3c9792;
}

.content-header {
    padding: 80px 0px 20px 0px;
}

.session-table {
    background-color: #3aafa9;
    color: #fff !important;
}

.fa-download {
    color: black !important;
}

.fa-info-circle,.fa-edit {
    color: #c77405 !important;
}

.custom-select:focus {
    border-color: #3aafa9 !important;
}

.media-css-mobile {
    display: none;
}

.mobile-errors {
    border-bottom: 1px solid #fff;
}

.serio-background {
    background: #3c9792 !important;
    border-color: #3c9792 !important;
    color: white !important;
}

.serio-light-background {
    background-color: #3aafa9 !important;
}

.serio-text {
    color: #3c9792 !important;
}

.form-control:focus,.swal2-input:focus {
    border-color: #3c9792 !important;
}

.truncate-cname {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.btn-responsive {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tray-outer-div {
    z-index: 9;
}

.tray-inner-div {
    margin: 56px 0 0 0;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #3aafa9;
    color: #fff;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar:hover {
    cursor: pointer;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #3c9792;
    border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #3c9792;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: #3c9792 !important;
    border: 1px solid #3c9792;
    color: #fff;
}

.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
    color: #fff !important;
}

.expandable-body {
    display: none;
}

pre {
    max-height: 500px;
    overflow: auto;
}

.truncate-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

td.off.available {
    visibility: hidden;
}

.enable-sort,
.fa-ellipsis-v {
    cursor: grab;
}

.daterangepicker .ranges li.active {
    background-color: #3c9792 !important;
    color: #fff;
}

.btn-primary {
    background-color: #3c9792 !important;
    border-color: #3c9792 !important;
}

input:focus-visible,
.form-control:focus,.swal2-input:focus,
.swal2-styled.swal2-confirm:focus {
    border: 1px solid #3aafa9;
    outline: none;
    box-shadow: none;
}

i {
    cursor: pointer;
}

.filter-background {
    border: 1px solid #ccc;
    background: #eee;
    padding: 15px;
}

.light-bg {
    background: rgba(0, 0, 0, 0.05);
}

.table-responsive table th {
    text-wrap: nowrap;
}

.content-wrapper {
    min-height: 100vh !important;
}

.layout-footer-fixed .wrapper .content-wrapper {
    padding-bottom: calc(0.5rem + 1px);
}

.table-header {
    color: #fff;
    background: #3aafa9;
}

.cursor-pointer {
    cursor: pointer !important;
}

.table-layout-fixed {
    table-layout: fixed !important;
}

.popover {
    background-color: #343a40;
    color: #fff;
    border: 1px solid #343a40;
}
.popover .arrow::after {
    border-right-color: #343a40;
}
.popover-header {
    background-color: #343a40;
    color: #fff;
    border-bottom: 1px solid #343a40;
}
.popover-body {
    background-color: #343a40;
    color: #fff;
}

table .form-control {
    width: -webkit-fill-available !important;
}

.opacity-info {
    opacity: 0.7;
    cursor: no-drop;
}

#loader{
    display: none;
}

.spinner-border-custom {
    width: 2rem;
    height: 2rem;
}

.module-live {
    background-color: #18a062;
    color: #fff;
}

.module-paused {
    background-color: #cc0000;
    color: #fff;
}

.table-responsive-custom {
    max-height: calc(100vh - 75px);
    overflow-y: auto;
}
.table-responsive-custom thead {
    position: sticky;
    top: 0px;
    background: #3aafa9;
    z-index: 1;
}

/* Custom switch styles */
.custom-switch-lg {
    position: relative;
    display: inline-block;
    width: 4rem;
    height: 2rem;
}

.custom-switch-lg .custom-switch-input {
    display: none;
}

.custom-switch-lg .custom-switch-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #adb5bd;
    border-radius: 1rem;
    background-color: #adb5bd;
    cursor: pointer;
}

.custom-switch-lg .custom-switch-input:checked+.custom-switch-label {
    background-color: #3c9792;
}

.custom-switch-lg .custom-switch-input:checked+.custom-switch-label::before {
    left: calc(100% - 1.6rem);
}

.custom-switch-lg .custom-switch-label::before {
    content: '';
    position: absolute;
    top: 0.1rem;
    left: 0.2rem;
    width: 1.6rem;
    height: 1.6rem;
    background-color: #fff;
    border-radius: 50%;
    transition: left 0.3s ease;
}

.search-filter-button{
    display: none;
}

.dark-bg{
    background:#888;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #1f5b59 !important;
}

#sidebar{
    overflow-y: auto;
    max-height: 100vh;
}

.select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    color: #fff;
    background-color: #3c9792 !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border: 1px solid #3aafa9 !important;
    outline: none;
    box-shadow: none !important;
}

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

@media only screen and (max-width: 991px) {
    .media-css-device {
        display: none;
    }

    .media-css-mobile {
        display: block;
    }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

}

.global-loader {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.dataTable {
    width: 100% !important;
}

.dataTables_wrapper > div:nth-of-type(3) {
    margin-top: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
