.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}

.searchable-fields {
    padding-left: 5px;
}

.searchable-link {
    padding: 0 5px 0 5px;
}

.searchable-link:hover {
    cursor: pointer;
    background: #eaeaea;
}

.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}


.select2-container--default .select2-selection--single {
    background-color: #fff;
    height: 35px;
    border: 1px solid #d8dbe0;
    border-radius: 4px;
}

div.dataTables_wrapper div.dataTables_length select {
    width: 40%;
    display: inline-block;
}

div.dataTables_wrapper div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    padding-right: 20px;
    white-space: nowrap;
}

.add-button {
    width: 100%;
    color: #00466f;
    padding: 3px;
    font-size: 1rem;
}


.add_to_homescreen {
    background-color: #ffffff;
    border-color: #00466f;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 999999;
}

.add-button img {
    width: 2rem;
}

.close_add_to_home {
    width: 100%;
    font-size: 1.2rem;
    border-color: #00466f;
}

.search {
    width: 100%;
    color: #00466f;
    padding: 3px;
    font-size: 1rem;
    border: solid 1px gray;
}


/*CUSTOM DASHBOARD*/
.c-sidebar .c-sidebar-nav-dropdown-toggle .c-sidebar-nav-icon, .c-sidebar .c-sidebar-nav-link .c-sidebar-nav-icon {
    color: #768192 !important;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle, .c-sidebar .c-sidebar-nav-link {
    color: #768192 !important;
}

.c-sidebar {
    background: #ebedef !important;
}

.card {
    border: none;
    background-color: transparent;
}

body, .body {
    background-color: white !important;
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color: #ffffff;
}

table.dataTable.stripe tbody tr.even, table.dataTable.display tbody tr.even {
    background-color: #ffffff;
}

table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #ffffff;
}

table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: #ffffff;
}

.dataTables_wrapper .btn-primary, .btn-default {
    color: #768192;
    background-color: #ffffff;
    border-color: #ebedef;
}

.dataTables_wrapper .btn-primary.disabled, .btn-primary:disabled, .btn-default:disabled {
    color: #768192;
    background-color: #ffffff;
    border-color: #ebedef;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #768192;
}

table.dataTable.compact thead th, table.dataTable.compact thead td {
    color: #8a93a2;
    /* border: none; */
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
    border: none !important;
}

table > tbody > tr > td {
    border: none !important;
}

table.dataTable.no-footer {
    border: none;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    border: none;
}

.btn {
    color: #ffffff;
    background-color: #00466f;
    border-color: #00466f;
}

.custom-card {
    background-color: #ebedef;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    width: 100%;
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: #f7f7f7 !important;
}

table.dataTable.stripe tbody tr.odd:hover, table.dataTable.display tbody tr.odd:hover {
    background-color: #f7f7f7;
}

table.dataTable.stripe tbody tr.even:hover, table.dataTable.display tbody tr.even:hover {
    background-color: #f7f7f7;
}

table.dataTable.display tbody tr.odd > .sorting_1:hover, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1:hover {
    background-color: #f7f7f7;
}

table.dataTable.display tbody tr.even > .sorting_1:hover, table.dataTable.order-column.stripe tbody tr.even > .sorting_1:hover {
    background-color: #f7f7f7;
}

.search {
    border-radius: 5px;
    border: solid 1px #d1d1d1 !important;
}

table.dataTable.compact thead th, table.dataTable.compact thead td {
    color: #768192 !important;
    border: none !important;
    border-bottom: solid 1px #ebedef !important;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover, .c-sidebar .c-sidebar-nav-link:hover {
    background: #ffffff !important;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:active, .c-sidebar .c-sidebar-nav-link:active {
    background: #ffffff !important;
}

.c-sidebar .c-active.c-sidebar-nav-dropdown-toggle, .c-sidebar .c-sidebar-nav-link.c-active {
    background: #ffffff;
}


.c-wrapper:not(.c-wrapper-fluid) .c-header-fixed {
    border: none !important;
}

.c-sidebar .c-sidebar-brand, .c-sidebar .c-sidebar-header {
    border: none !important;
}

.c-sidebar .c-sidebar-brand, .c-sidebar .c-sidebar-header {
    background: rgb(235 237 239) !important;
}


/*dark theme*/
/* Dark Theme Styles */
body.dark-theme {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.dark-theme .c-sidebar,
.dark-theme .card,
.dark-theme .datatable,
.dark-theme .table.dataTable {
    background-color: #23272b !important;
    color: #ffffff !important;
}

.dark-theme .c-sidebar .c-sidebar-nav-link,
.dark-theme .c-sidebar .c-sidebar-nav-dropdown-toggle {
    color: #adb5bd !important;
}

.dark-theme .c-sidebar .c-sidebar-nav-link:hover,
.dark-theme .c-sidebar .c-sidebar-nav-dropdown-toggle:hover {
    background: #1d2124 !important;
}

.dark-theme .btn {
    color: #768192 !important;
    background-color: #2d3238 !important;
    border-color: #454d55 !important;
}

.dark-theme .table,
.dark-theme .datatable,
.dark-theme .table.dataTable {
    background-color: #23272b !important;
    color: #9f9f9f !important;
}

.dark-theme table.dataTable thead th,
.dark-theme .dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-color: #454d55 !important;
}

.dark-theme table.dataTable.stripe tbody tr.odd,
.dark-theme table.dataTable.display tbody tr.odd,
.dark-theme table.dataTable.stripe tbody tr.even,
.dark-theme table.dataTable.display tbody tr.even {
    background-color: #23272b !important;
}

.dark-theme table.dataTable.hover tbody tr:hover,
.dark-theme table.dataTable.display tbody tr:hover {
    background-color: #495057 !important;
    color: #f8f9fa;
}

.dark-theme .btn,
.dark-theme .btn-default {
    color: #f8f9fa;
    background-color: #495057;
    border-color: #6c757d;
}

.dark-theme .btn:hover,
.dark-theme .btn-default:hover {
    background-color: #6c757d;
    border-color: #ffffff !important;
}

.dark-theme .select2-container--default .select2-selection--single {
    background-color: #343a40;
    border-color: #495057;
}

.dark-theme .form-control {
    background-color: #343a40;
    color: #f8f9fa;
    border-color: #495057;
}

.dark-theme .form-control:focus {
    border-color: #adb5bd;
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.25);
}

.dark-theme .card {
    background-color: #23272b !important;
    color: #f8f9fa !important;
}

.dark-theme .c-header,
.dark-theme .c-footer {
    background-color: #000000 !important;
    color: #f8f9fa !important;
}

.dark-theme .c-sidebar-brand,
.dark-theme .c-sidebar-header {
    background: #1d2124 !important;
}

.dark-theme a,
.dark-theme .text-light {
    color: #f8f9fa !important;
}

.dark-theme .text-muted {
    color: #6c757d !important;
}

.dark-theme .card-header {
    background-color: #23272b !important;
    border-color: #23272b !important;
}

.dark-theme table.dataTable.display tbody tr.odd > .sorting_1,
.dark-theme table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
.dark-theme table.dataTable.display tbody tr.even > .sorting_1,
.dark-theme table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    color: #9f9f9f !important;
    background-color: #23272b !important;
}


.dark-theme .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr:hover,
.dark-theme table.dataTable.display tbody tr:hover {
    background-color: #3b3f43 !important; /* Background color for the whole row on hover */
    color: gray !important; /* Text color for cells in the hovered row */
}

.dark-theme .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr:hover > td,
.dark-theme table.dataTable.display tbody tr:hover > td {
    background-color: #3b3f43 !important; /* Background color for the whole row on hover */
    color: gray !important; /* Text color for cells in the hovered row */
}


.dark-theme .search {
    background-color: #343a40 !important;
    color: #9f9f9f !important;
    border-color: #495057 !important;
}

.dark-theme .pagination a {
    background-color: #343a40 !important;
}

.dark-theme .c-sidebar .c-active.c-sidebar-nav-dropdown-toggle,
.dark-theme .c-sidebar .c-sidebar-nav-link.c-active {
    background: #343a40 !important;
}

.dark-theme .dataTables_scrollBody table tr {
    background-color: #23272b !important;
}

.dark-theme .form-group input,
.dark-theme .form-group select,
.dark-theme .form-group textarea,
.dark-theme .form-group .select2-container--default .select2-selection--single,
.dark-theme .form-group .select2-container--default .select2-selection--single .select2-selection__rendered,
.dark-theme .dropzone {
    background-color: #3b3f43 !important;
    color: #ffffff !important;
}

.dark-theme .select2-container--default .select2-results > .select2-results__options,
.dark-theme .select2-search,
.dark-theme .select2-search--dropdown,
.dark-theme .select2-search__field {
    background-color: #3b3f43 !important;
    color: #ffffff !important;
}

.dark-theme .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #23272b !important;
}

.dark-theme .bg-light {
    background-color: #343a40 !important;
}

.dark-theme .bg-info {
    background-color: #23272b !important;
}

.dark-theme .ck.ck-editor__main > div {
    background-color: #3b3f43;
    color: white ! important;
}


.dark-theme .custom-card {
    background-color: #23272b;
}

.loadingMessage {
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 3rem; /* Adjust size as needed */
    height: 3rem; /* Adjust size as needed */
    border-width: 0.3em; /* Adjust border width as needed */
}

.menu-navbar p {
    color: #000000;
}

.dark-theme .menu-navbar a {
    color: #000000 !important
}

.dark-theme .menu-navbar p {
    color: #ffffff !important
}

.dark-theme .menu-navbar i {
    color: #616161 !important
}

.dark-theme .border-bottom{
    border-bottom: 1px solid #000000 !important;
}

.dark-theme .border-left{
    border-bottom: 1px solid #000000 !important;
}

.dark-theme .border-right{
    border-bottom: 1px solid #000000 !important;
}

.dark-theme .dropdown-menu .nav-link span {
    color: #ffffff !important
}


.menu-icon {
    color: #00466f;
    font-size: 1.8rem;
    margin-top: 10px;
}

.video-list-item {
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #adc;
}

.dark-theme .video-list-item {
    color: #000000 !important;
}


.pagination li a {
    color: #768192;
    border: none;
}

.active-video {
    background-color: #00c56e !important;
}

.active-video a {
    color: #000000 !important;
}

.not-watched, .video-watched {
    background-color: #ebedef;
}

.not-watched a {
    color: #000000 !important;
}

.watched {
    background-color: #2a4d3e;
}

.certificate {
    background: #2091d3 !important;
    color: black !important;
}

.video_title {
    font-size: 1.2rem;
    font-weight: bold;
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.video_description {
    font-size: 1rem;
    border-radius: 5px;
}

.toggle-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.toggle-form i {
    transition: transform 0.3s ease-in-out;
}

#video_frame {
    position: relative; /* Ensures that children positioned absolutely are relative to this element */
    width: 100%; /* Full width of the container */
    height: 100%; /* Adjust height as needed */
}

.video-end-overlay {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 10; /* Make sure it's above all other content */
    text-align: center;
    background: rgba(0, 0, 0, 0.5); /* Optional: Adds a dark overlay background */
}

.video-end-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.custom-file {
    background-color: #00466f;
    padding: 3px;
}

#copy-notification{
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    display: none;
}

.highlight {
    font-weight: bold;
    color: #006688;
}






