.navbar-toggler {
    padding: inherit;
    font-size: inherit;
    line-height: inherit;
}


.form-select-sm {
    padding-top: .1rem;
    padding-bottom: .1rem;
    padding-left: .1rem;
    font-size: .75rem;
    border-radius: var(--bs-border-radius-sm);
}

.video-link {
    display: block;
    margin-bottom: 10px;
    color: #4059AD; /* Bootstrap primary blue */
    text-decoration: none;
}
.video-link:hover {
    text-decoration: underline;
}

.video-detail .row {
    margin-bottom: 15px;
}
h1, h2, h3, h4, h5, h6 {
    color: #6B9AC4; /* Darker blue for headings */
}

/* Video.js player styling */
.video-js {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.vjs-tech {
    object-fit: contain;
}

/* Ensure the video container maintains proper dimensions */
.video-container {
    width: 100%;
    margin-bottom: 15px;
}

/* Fix poster positioning and sizing */
.vjs-poster {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    max-height: 100% !important;
}

/* Ensure proper dimensions for video.js */
.video-js.vjs-16-9 {
    padding-top: 56.25%;
}

.vjs-poster {
    background-size: contain; /* Ensure the background image covers the poster area */
    background-position: center; /* Center the background image */
}

body {
    background-color: #ffffdd; /* Light gray background */
    color: #333; /* Dark gray text */
    font-size: 1em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
a {
    color: #4059AD; /* Bootstrap primary blue */
    text-decoration: none;
}

td.sorting {
    background-color: #cff4fc;
}

.sidepanel {
    background-color: #EFF2F1; /* Light gray background */
    padding: 1em;
    border-radius: 10px;
    font-size: 0.75em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jumbotron-header {
    background-image: url('/banner-notext-smaller.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px; /* Adjust padding as needed */
    text-align: center;
    color: white;
    margin-bottom: 30px; /* Space below the jumbotron */
    position: relative; /* Needed for absolute positioning of text if required, though not strictly necessary for simple overlay */
}

.jumbotron-header h1 {
    color: white; /* Ensure heading is white */
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
    margin: 0; /* Remove default margin */
}
.jumbotron-header h2 {
    color: white; /* Ensure heading is white */
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
    margin: 0; /* Remove default margin */
}

.sidepanel2 {
  padding: 1em;
    border-radius: 10px;
    font-size: 0.75em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, stretching and clipping */
}

/* Speed control buttons styling */
.speed-controls {
    margin: 10px 0;
    clear: both;
}

.speed-btn {
    font-size: 0.85rem;
    padding: 3px 8px;
    margin-right: 3px;
    margin-bottom: 5px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}

.speed-btn.active {
    font-weight: bold;
    background-color: #669966;
    color: white;
}

/* Pitch control buttons styling */
.pitch-controls {
    margin: 10px 0;
    clear: both;
}

.pitch-btn {
    font-size: 0.85rem;
    padding: 3px 8px;
    margin-right: 3px;
    margin-bottom: 5px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}

.pitch-btn.active {
    font-weight: bold;
    background-color: #669966;
    color: white;
}

.pitch-mode {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Responsive table for smaller screens */
@media (max-width: 767.98px) { /* Bootstrap's default breakpoint for small devices */
    .table-responsive-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    }

    .table-responsive-scroll table {
        width: 100%;
        max-width: 100%;
        display: block;
    }
}

.container {
    max-width: 1800px; /* Set a maximum width for the container */
    margin: 0 auto; /* Center the container */
    padding-left: 10px; /* Add some padding */
    padding-right: 10px;
}

/* Styles for the "More Information" dropdown */
.dropdown-menu {
    min-width: 250px; /* Ensure dropdown has a decent width */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-header {
    font-size: 0.9rem;
    font-weight: bold;
    color: #0056b3; /* Match heading color */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.dropdown-item {
    font-size: 0.9rem;
    color: #333;
    padding: 8px 15px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #e9ecef; /* Light hover background */
    color: #0056b3; /* Darker blue on hover */
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Styles for the Information Panel */
.info-panel {
     width: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
    padding: 0 20px 20px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     box-sizing: border-box; /* Include padding and border in the element's total width and height */
    margin-bottom: 2em;
}

/* Style for when the panel is visible */
.info-panel.visible {
    display: block !important; /* Added to ensure it's visible */
}

.info-panel-content {
    max-width: 1200px; /* Limit content width */
    margin: 0 auto; /* Center the content */
    text-align: left; /* Center text */
}

.info-panel-content h2 {
    color: #0056b3; /* Heading color */
    margin-bottom: 15px;
}

.info-panel-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.5em;
}

.info-panel-content h3 {
    color: #0056b3;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-panel-content ul {
    list-style: disc inside;
    padding: 0;
}

.info-panel-content li {
    font-size: 1em;
}

.info-panel-content li strong {
    color: #0056b3; /* Highlight tier names */
}

.info-panel-content button {
    margin-top: 10px;
}

.tab-content { 
    padding-top: 1em !important;
}

/* Disabled audio player styling */
.audio-player-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Disabled button styling for audio controls */
button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Ensure disabled buttons maintain their outline style but appear greyed out */
.btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
