.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: 0.2rem;
}

.dataTables_filter {
    margin-right: 0.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 0.2rem rgba(209, 213, 215, 0.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;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.btn-group .btn {
    flex: 1 0 45%; /* Each button takes almost half the container width */
    min-width: 40px;
    margin: 5px; /* Adjust margin as needed */
}

/* Adjust button width for smaller screens */
@media (max-width: 768px) {
    .btn-group .btn {
        flex: 1 0 100%; /* Each button takes full width */
    }
}

.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: #700000;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

nav.navbar.navbar-expand-xl.navbar-light.bg-white.shadow-sm {
    border-top: solid 5px #700000;
}

.navbar-nav .nav-item .nav-link {
    font-size: 0.7em; /* Adjust font size as needed */
    /* padding: 0.5rem 0.75rem; */
}

#logo-heading {
    padding: 5px;
    font-weight: bold;
    font-size: 2.2rem;
}

#logo-heading a {
    color: #700000;
    padding: 0 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

#logo-heading a .logo-text {
    font-family: "Great Vibes";
    display: block;
    margin-left: 10px;
}

@media (max-width: 768px) {
    #logo-heading a {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    #logo-heading a {
        font-size: 2.2rem;
    }
}

.darkred {
    color: #700000 !important;
}

.darkredbg {
    background-color: #700000 !important;
}

@media (min-width: 1200px) {
    .navbar-expand-md {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

@media (min-width: 994px) {
    .container {
        max-width: 1140px;
    }
}

.cover-fit {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.stretch-to-fit {
    width: 100%;
    height: auto;
}
.nav-brand {
    font-family: "GreatVibes", cursive !important;
}
/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1rem !important;
        font-family: "GreatVibes" cursive;
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 378px) {
    .navbar-brand {
        font-size: 0.7rem !important;
    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-brand {
        font-size: 1.4rem !important;
    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
    .navbar-brand {
        font-size: 1.6rem !important;
    }
}

/* Media Query for Large screens */
@media (min-width: 1281px) {
    .navbar-brand {
        font-size: 1.8rem !important;
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    h1,
    h2 {
        font-size: 1rem !important;
    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    h1,
    h2 {
        font-size: 1rem !important;
    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px) {
    h1,
    h2 {
        font-size: 1rem !important;
    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {
    h1,
    h2 {
        font-size: 1rem !important;
    }
}

/* Media Query for Large screens */
@media (min-width: 1281px) {
    h1,
    h2 {
        /* font-size: 1rem !important; */
    }
}

/* .greatvibes {
    font-family: "Great Vibes", cursive;
} */

.inter {
    font-family: "Inter", sans-serif;
}

.merriweather {
    font-family: "Merriweather", serif;
}

.merriweathersans {
    font-family: "Merriweather Sans", sans-serif;
}

.quicksand {
    font-family: "Quicksand", sans-serif;
}
#archives .dataTables_filter .form-control {
    margin-left: 0.5em;
    display: inline-block;
    width: 350px !important;
}
@media only screen and (max-width: 767px) {
    #archives .dataTables_filter .form-control {
        margin-left: 0.5em;
        display: inline-block;
        width: 100% !important;
    }
}

/* For save to my study button*/

.checkbox-container {
    display: block;
    padding: 10px;
    text-align: center;
}

.styled-checkbox {
    display: none;
}

.styled-checkbox + .tracker-label {
    background-color: #000000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}

.styled-checkbox:checked + .tracker-label {
    background-color: #28a745;
}

.styled-checkbox + .tracker-label i {
    margin-right: 5px;
}

/* For accessibility, show a border when focused */
.styled-checkbox:focus + .tracker-label {
    outline: 1px dotted #212121;
    outline: -webkit-focus-ring-color auto 5px;
}

/* Base style for the hero image */
.hero-image-container {
    min-height: 420px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Default position */
}

/* Adjust background position for smaller screens */
@media (max-width: 768px) {
    .hero-image-container {
        background-position: top; /* Adjust as needed */
    }
}

/* Further adjustments for even smaller screens */
@media (max-width: 480px) {
    .hero-image-container {
        background-position: center top; /* Adjust as needed */
    }
}

@media (min-width: 768px) {
    .alert {
        /* styles for medium screens */
        font-size: 1em; /* Example: Adjust font size */
        padding: 15px; /* Example: Adjust padding */
    }
}

/* Adjusting for small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    .alert {
        /* styles for small screens */
        font-size: 0.8em; /* Example: Smaller font size */
        padding: 10px; /* Example: Less padding */
    }
}

/* If you need even more specific adjustments for smaller devices */
@media (max-width: 480px) {
    .alert {
        /* styles for very small screens */
        font-size: 0.7em; /* Example: Even smaller font size */
        padding: 8px; /* Example: Even less padding */
    }
}

.pagination .page-link {
    font-size: 14px; /* Adjust the font size as needed */
}
.svg-icon {
    width: 16px;
    height: 16px;
}
.custom-pagination .page-link {
    padding: 0.75rem 1.5rem;
}

.details-text {
    display: flex;
    justify-content: end;
    text-align: center;
    width: 100%;
    margin-top: 7px;
}

/* .custom-pagination .page-link {
    margin: 0 5px;
    border-radius: 15px;
    border: 1px solid #321fdb;
    color: #321fdb;
}

.custom-pagination .page-link:hover {
    background-color: #007bff;
    color: white;
}

.custom-pagination .page-link.disabled {
    pointer-events: none;
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
} */
/**wrap the text of the title column when necessary*/
.wrap-text {
    white-space: normal;
}

/**allow title column to shrink when necessary*/
.datatable-Archive th:nth-child(2) {
    min-width: 150px;
}

.datatable-Archive th:last-child,
.datatable-Archive td:last-child {
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.25rem !important;
}

@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.5em;
        margin: 0.2em;
        font-size: 0.85rem; /* Adjust font size for smaller screens */
    }
}

.imperial-script-regular {
    font-family: "GreatVibes", cursive;
    font-weight: 800;
    font-style: normal;
}

div.table-responsive > div.dt-container > div.row > div.dataTables_filter {
    padding-top: 200px;
}

@media (max-width: 767px) {
    .datatable-Archive td,
    .datatable-Archive th {
        font-size: 0.9rem;
        white-space: wrap;
        overflow: hidden;
    }
}

.alert-danger {
    color: #fff;
    background-color: #700000;
    border-color: #700000;
}

.accordion .card .card-header {
    background-color: #a19383 !important;
    font-family: "Lato", sans-serif;
}

.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-link {
    font-family: "Lato", sans-serif;
    background: #700000 !important;
    border: solid 1px #700000 !important;
    box-shadow: none !important;
}

a,
a.link {
    color: #700000;
}

a.link:hover {
    color: #1d0101;
}

.btn-youtube {
    background-color: #700000 !important;
    border-color: #700000 !important;
}

.alert-success {
    color: #fff;
    background-color: #c19b7c !important;
    border-color: #c19b7c !important;
}
