html {
    font-size: 14px;
}

@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;
}

.video-container {
    position: relative;
    display: inline-block;
    max-width: 400px;
}

video {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2; /* keep controls above overlay */
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1; /* put canvas behind video controls */
    pointer-events: none;
}

.bg-color {
    background-color: rgb(0,0,160);
    color: white;
    padding: 3px;
}

h2 {
    font-size: 25px
}

p {
    font-size: 15px;
}

.bg-black {
    background-color: black
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: right; /* Align text to the right */
        width: 100%; /* Make sure it spans full width */
    }
}

li {
    padding-right: 30px;
}

padding-2 {
    padding: 5px;
}

.max-width-100 {
    max-width: 100%;
}

.width-100 {
    width: 100%;
}

.width-95 {
    width: 95%;
}

.width-60 {
    width: 60%;
}

.width-75 {
    width: 75%;
}

.width-50 {
    width: 50%;
}

.width-25 {
    width: 25%;
}

.width-30 {
    width: 30%;
}

.width-400 {
    width: 400px;
}

.width-300 {
    width: 300px;
}

.height-300 {
    height: 300px;
}

.border-0 {
    border: 0px
}

.border-collapse {
    border-collapse: collapse
}

.cover-object-fit {
    object-fit: cover;
}

.top-aligned {
    vertical-align: top
}

.center-text-aligned {
    text-align: center
}

.right-float {
    float: right
}

.right-padding-20 {
    padding-right: 20px
}

.pointer-cursor {
    cursor: pointer;
}

.auto-height {
    height: auto;
}

.dropdown-menu-black {
    --bs-dropdown-color: #dee2e6;
    --bs-dropdown-bg: black;
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-box-shadow:;
    --bs-dropdown-link-color: #dee2e6;
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #0d6efd;
    --bs-dropdown-link-disabled-color: #adb5bd;
    --bs-dropdown-header-color: #adb5bd
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255,255,255,0.8); /* light circle background */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-size: 70% 70%;
    filter: drop-shadow(0 0 3px black); /* adds dark outline for contrast */
}



.dataTables_filter {
    float: right;
    text-align: right; /* Ensures the label "Search:" aligns with the input field */
    padding-bottom: 5px;
    padding-right: 20px;
    font-size: 15px;
}

/* Restore DataTables sort icons for both normal and fixed headers */
table.dataTable thead th.sorting,
.fixedHeader-floating table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
.fixedHeader-floating table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc,
.fixedHeader-floating table.dataTable thead th.sorting_desc {
    background-repeat: no-repeat !important;
    background-position: center right !important;
}
/* Default (unsorted) */
table.dataTable thead th.sorting,
.fixedHeader-floating table.dataTable thead th.sorting {
    background-image: url('https://cdn.datatables.net/1.13.6/images/sort_both.png') !important;
}

/* Ascending */
table.dataTable thead th.sorting_asc,
.fixedHeader-floating table.dataTable thead th.sorting_asc {
    background-image: url('https://cdn.datatables.net/1.13.6/images/sort_asc.png') !important;
}

/* Descending */
table.dataTable thead th.sorting_desc,
.fixedHeader-floating table.dataTable thead th.sorting_desc {
    background-image: url('https://cdn.datatables.net/1.13.6/images/sort_desc.png') !important;
}

table.dataTable thead th {
    /*position: relative;
                padding-right: 8px !important;  */
    cursor: pointer;
}

/* Reduce table footer cells */
table.dataTable tfoot th,
table.dataTable tfoot td {
    font-size: 11px !important; /* smaller text */
    padding-top: 3px !important; /* shrink height */
    padding-bottom: 3px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* Reduce "Showing X to Y of Z entries" box */
.dataTables_info {
    font-size: 11px !important;
    padding: 3px 4px !important; /* reduce height + width */
}

/* Reduce pagination box size */
.dataTables_paginate a {
    font-size: 11px !important;
    padding: 2px 6px !important; /* smaller buttons */
}

/* Reduce fixed footer (if you use FixedHeader footer) */
.fixedHeader-floating tfoot th,
.fixedHeader-floating tfoot td {
    font-size: 11px !important;
    padding: 3px 4px !important;
}


tfoot input {
    padding: 2px 6px !important;
    font-size: 12px !important;
    height: 24px !important;
    width: 110px !important;
    box-sizing: border-box;
}

#dataTable_filter {
    display: none;
}


/* Add this as a final fallback */
body {
    overflow-x: hidden;
}

.dt-layout-row {
    font-size: 10px;
}

.dataTables_wrapper {
}

#recordsTable_wrapper {
    overflow-x: auto; /* allow horizontal scroll */
    width: 100%; /* keep wrapper full width */
    width: 100%;
    overflow-x: auto;
    font-size: 11px; /* Adjust value as needed (e.g., 12px, small) */
    padding: 1px;
}

padding-2 {
    padding: 2px;
}

table.dataTable > thead > tr > th, table.dataTable > thead > tr > td {
    padding: 2px !important;
}

/* Target only the controls row */
#recordsTable_wrapper .bottom .dt-info,
#recordsTable_wrapper .bottom .dt-paging,
#recordsTable_wrapper .bottom #recordsTable_length {
    margin: 0 10px;
}

#recordsTable_wrapper .bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

/* CSS to add a light grey background and a border to the table headers */
#recordsTable thead th {
    background-color: #dee2e6;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 10px;
    margin-top: 5px;
}

#recordsTable_wrapper > div.top > div {
    margin-bottom: 5px;
}

label.required::after {
    content: " *";
    color: red;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.5;
    font-style: italic;
}

.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 0.5;
    font-style: italic;
}

.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 0.5;
    font-style: italic;
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 0.5;
    font-style: italic;
}

.container-custom {
    max-width: 100%;
}

.fixed-container {
    max-width: 1140px;
    margin: 0 auto;
}

.navbar .nav-link {
    color: white !important;
}
#recordsTable tbody td {
    padding-left: 0 !important;
}