html * {
    font-family: 'Share Tech Mono', monospace;
}

img.img-logo {
    max-height: 30vh;
    max-width: 70vw;
    margin-bottom: 2vh;
}

img.img-logo-stay-inside {
    max-height: 25vh;
    max-width: 65vw;
    margin-bottom: 5vh;
}

.img-logo-holder {
    text-align: center;
    width: 100%;
}

img.img-stay-inside {
    padding-bottom: 1rem;
    align-self: center;
}

.stay-inside-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
}

img.img-footer-logo {
    max-height: 5vh;
    max-width: 40vw;
    padding-bottom: 0.5rem;
}

button.rdio-button {
    border-radius: 5px;
    font-size: 14px;
    padding: 0.1rem 0.5rem;
    margin-bottom: 0.1rem;
    margin-left: 0.1rem;
}

.button-text {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 14px;
    color: ##9d8f8f;
}

#radioMenuButton {
    background-color: rgb(255, 156, 6);
}

.radio-holder {
    min-width: 75vw;
    max-width: 95vw;
}

.radio-page { /* This is also #radio-header */
    box-shadow: 0 0 4px 0 rgba(0,0,0,.14),0 3px 4px 0 rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: start;
    color: #e0e0e0;
    font-family: Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.4285;
    overflow: hidden;
    background-color: #111111;
    transition: 0.4s linear;
    width: 100%;
    top: 0;
    z-index: 99;
    border-radius: 0px 0px 5px 5px;
    min-height: auto;
    height: auto;
    text-overflow: ellipsis;
}

#radio-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.radio-body { /* This targets #radio-body directly */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Ensure content stacks from the top */
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
    padding: 0;
    min-height: auto;
    box-sizing: border-box;
    margin-bottom: 0;
}

#qu-radio-player {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 25px;
    min-height: 120px;
    flex-shrink: 0;
    margin-bottom: 0px; /* Reduced space below player, let button container control its own margin */
}

.tunein-button-container {
    width: 100%;
    text-align: left;
    flex-shrink: 0;
    flex-grow: 0;
    padding-bottom: 0;
}

.now-playing-text {
    width: 100%;
    text-align: left;
    margin-top: 5px; /* Adjusted to reduce space above the button */
    flex-shrink: 0;
    flex-grow: 0;
    padding-bottom: 0;
    padding left: 20px;
}


.rdio-button {
    padding: 8px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}
.rdio-button:hover {
    background-color: #333333;
    color: #FFFFFF;
    border-color: #FFFFFF;
}
.rdio-button .icon-download {
    font-size: 1.2em;
}

.radio-section-divider {
    height: 35px;
    background-color: rgb(255, 156, 6);
    width: 100%;
    margin-top: 5px;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    padding: 0;
}

#radio-iframe {
    min-width: 45vw;
}

#now-playing {
    transition: visibility 0.4s linear,opacity 0.4s linear;
    margin-bottom: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
}

.add-glow {
    filter: drop-shadow(0px 0px 12px rgba(255, 156, 6, 0.5));
    -webkit-filter: drop-shadow(0px 0px 12px rgba(255, 156, 6, 0.5));
    animation: animate 1s linear infinite alternate;
}

@keyframes animate {
	0% {
		filter: drop-shadow(0px 0px 0px rgba(255, 156, 6, 0.5));
	}
	100% {
        filter: drop-shadow(0px 0px 24px rgba(255, 156, 6, 0.5));

	}
}


.card {
    border-radius: 4px;
    background-color: #111111;
    box-shadow: 0 0 4px 0 rgba(0,0,0,.14),0 3px 4px 0 rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    word-wrap: break-word;
    box-sizing: inherit;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

#listeners-info {
    font-size: 1rem;
    margin-left: -0.75rem;
    text-align: right;
}

#now-playing-full {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 80px;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

#play-holder {
    padding-top: 0;
    max-width: 75vw;
}

.img-logo-radio {
    max-width: 3rem;
    display: block;
    margin-left: auto;
}

#radio-logo-holder {
    position: fixed;
    top: 2rem;
    right: 1em;
    align-items: right;
    vertical-align: top;
}

@media only screen and (max-width: 600px) {
    #radio-logo-holder {
      display: none;
    }
}

#video-bg-holder {
    z-index: 0;
    position: fixed;
    align-items: left;
    vertical-align: top;
}

.contact-sect {
    background-color: black !important;
}

#video-bg {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    display: block;
}

#video-bg-holder{
    width: 100vw;
    height: 100vh;
}

#listener-number {
    font-size: 0.75rem;
    vertical-align: super;
    font-family: 'Oswald', sans-serif;
}

#twitch-section {
    min-width: 90vw;
}

@keyframes glow {
    0% {
		box-shadow: 0 0 20px rgba(255, 62, 14,.2), inset 0 0 0px rgba(255, 62, 14,.1);
    }	
    100% {
		box-shadow: 0 0 40px rgba(255, 62, 14,.6), inset 0 0 0px rgba(255, 62, 14,.2);
    }
}

#now-playing-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 20px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

#now-playing-song {
    max-width: 60vw;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.title-text {
    font-family: 'Share Tech Mono', monospace;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}



@media only screen and (max-width: 600px) {
    #now-playing-title {
        font-size: 16px;
        white-space: normal;
    }
    #now-playing-song {
        white-space: normal;
    }
}


#play-pause-button {
    cursor: pointer;
    font-size: 36px;
    color: #ddb300;
    padding-right: 1rem;
}

#play-holder, #show-artwork-holder, #now-playing-full {
    flex-shrink: 0;
}



#radio-audio:hover, #radio-audio:focus, #radio-audio:active
{
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    transform: scale(1.01);
}

#radio-audio {
    transition:all 0.5s linear;
    -moz-border-radius:7px 7px 7px 7px ;
    -webkit-border-radius:7px 7px 7px 7px ;
    border-radius:7px 7px 7px 7px ;
    min-width: 1vw;
    max-width: 40vw;
    height: 40px;
    color-scheme: dark;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .radio-page {
        min-height: auto;
    }
    #qu-radio-player {
        flex-wrap: wrap;
        justify-content: center;
        min-height: auto;
        margin-bottom: 5px; /* Ensure consistent spacing */
    }
    #now-playing-full {
        min-width: auto;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding-left: 0;
        padding-right: 0;
    }
    #now-playing-title,
    #now-playing-song {
        white-space: normal;
        text-align: center;
    }
    .tunein-button-container {
        margin-top: 5px;/* Adjusted for smaller screens too */
    }
    .radio-section-divider {
        margin-top: 10px;
    }
}

.dropdown-menu {
    padding-right: 0rem !important;
    min-width: 5rem !important;
    font-size: 12px !important;
}

.volume-buttons {
    font-size: 18px;
    cursor: pointer;
    opacity: 0.5;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

#radio-volume {
    font-size: 14px;
    vertical-align: bottom;
    width: 5vw;
    padding-right: 0.5rem;
    display: table-cell;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    #radio-volume {
      width: 10vw;
    }
  }


  @media only screen and (min-width: 1200px) {
    #radio-volume {
      width: 3vw;
    }
  }



#volumes-stuff {
    margin-left: 1rem;
}

.mb-4{
    font-family: 'Share Tech Mono', monospace;
}

#livestream-link {
    height: 150px;
    width: 150px;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.footer-text {
    font-family: 'Share Tech Mono', monospace;
}

#qu-radio-player {
    padding-bottom: 0.5rem;
}

#archive-header {
    padding-top: 3rem;
}

.icon-film {
    min-width: 4vw;
    max-width: 20vw;
    max-height: 12vh;
}

#djsSection {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Keep the transition property */
    display: block; /* Ensure it's not display: none */
    padding: 0; /* No padding on the outer container, let inner content handle it */
}

/* The .open class is less critical for max-height now, but can be used for other styling */
#djsSection.open {
    /* max-height is now set by JS, so this line is effectively removed from CSS */
    /* display: block; is already on #djsSection */
    /* You could add a slight bottom margin if needed, but not padding */
    margin-bottom: 20px; /* Example: add some space below the open section */
}

/* Styles for the cards and titles within DJs.html content */
#djs-content-container {
    padding: 20px; /* Apply padding here to the content wrapper */
    box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
}

/* Ensure headings inside the accordion don't cause jumps */
#djs-content-container h2:first-of-type {
    margin-top: 0;
}

/* General card styles (adjust as per your theme) */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 100%; /* Ensures cards in a row have equal height */
}

.card-img-top {
    width: 100%;
    height: 200px; /* Or whatever fixed height makes sense for your images */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.card-body {
    padding: 15px;
}

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.social-icon {
    background-color: rgb(255, 156, 6);
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.social-icon:hover {
    background-color: rgb(255, 156, 6);
}


/* Basic Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Ensure it's on top */
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    position: relative;
    box-sizing: border-box; /* Include padding in width */
}

.modal-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.modal-body {
    margin-bottom: 15px;
}

.modal-label {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

.modal-input,
.modal-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.modal-textarea {
    min-height: 100px;
    resize: vertical; /* Allow vertical resizing */
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.modal-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button {
    background-color: #007bff; /* Blue */
    color: white;
}

.submit-button:hover {
    background-color: #0056b3;
}

.cancel-button {
    background-color: #dc3545; /* Red */
    color: white;
}

.cancel-button:hover {
    background-color: #c82333;
}

  /* Responsive adjustments */
@media (max-width: 600px) {
 .modal-content {
      padding: 15px;
  }
  .modal-header {
      font-size: 1.3em;
  }
  .modal-button {
      padding: 8px 15px;
      font-size: 0.9em;
  }
}


/* Styles for the donate options links */
.donate-option-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    padding: 10px 0;
    width: 100%;
    justify-content: center; /* Center the icon within its link */
}

.donate-option-link img {
    /* Increased size for icons */
    width: 200px;
    height: 80px;
    margin-right: 0; /* No text, so no right margin needed */
}

.donate-option-link:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}


#owncastembed {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-grow: 1;
}

.custom-video-column {
  flex: 3; /* Allows it to grow, shrink, and has a flexible base size */
  /* Ensure no fixed width or max-width here that restricts growth */
}

.custom-chat-column {
  flex: 1; /* Allows it to grow, shrink, and has a flexible base size */
  /* Ensure no fixed width or max-width here that restricts growth */
}

/* IMPORTANT: Ensure iframes fill their parent flex items */
.custom-video-column iframe,
.custom-chat-column iframe {
  width: 100%;
  height: 100%; /* Make iframe take full height of its flex parent */
  display: block; /* Remove any inline-block spacing issues */
}

html, body { height: 100%; }


/* For 5 equally spaced columns in Bootstrap's 12-column grid */
.col-md-2dot4 {
    flex: 0 0 20%;
    max-width: 20%;
}


#mastodon-feed-container iframe {
    width: 100%;
    max-width: 100vw;
    min-width: 10vw;
    height: 75vh;
    display: block;
    margin: 0;
    
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

#mastodon-feed-container {
    overflow-x: hidden; 
    overflow-y: auto; 
}


.radio-side-by-side {
    padding: 2px;
}

#qu-radio-player {
    display: flex;
    align-items: center; /* Vertically align items in the middle */
    justify-content: left; /* Keeps the entire group centered horizontally */
    width: 100%; /* Ensure it takes full available width */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    flex-wrap: nowrap; /* Prevent wrapping by default to keep on one line */
    gap: 15px; /* Space between items */
    padding: 0 10px; /* Add some padding to prevent content from touching the screen edges */
}

#play-holder {
    flex-shrink: 0; /* Prevent the player from shrinking smaller than its content */
    min-width: min-content; /* This makes the audio player take its natural minimum width */
}

#show-artwork-holder {
    flex-shrink: 1; /* Allow the artwork to shrink */
    width: 130px; /* CHANGE: Slightly reduced artwork width, adjust as needed */
    height: 130px; /* CHANGE: Slightly reduced artwork height, adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

#show-artwork {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: block;
    object-fit: contain;
}

#now-playing-full {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 120px; /* Adjust as needed, ensure enough space */
    max-height: 70px;
    text-align: left;
    white-space: normal; /* Ensure text wraps normally within its container */
    word-break: break-word; /* Break long words if necessary to fit */
    /* Add padding-right if text is too close to the edge of the now-playing-full div */
}

#right-sidebar {
    max-height: 100vh;
}

#gancioEvents {
    margin-right: 0px;
}
