

img.img-logo {
    margin-top: 20vh;
    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: -ms-flexbox;
    display: -webkit-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;
}

#radioMenuButton {
    background-color: rgb(221,179,0,0.5);
}

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

.radio-page {

    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: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
    box-sizing: inherit;
    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: visible;
    background-color: #111111;
    padding: 0.25rem 1rem 0.25rem 1rem; /* Large padding which will shrink on scroll (using JS) */
    transition: 0.4s linear; /* Adds a transition effect when the padding is decreased */
    position: fixed; /* Sticky/fixed navbar */
    width: 100%;
    top: 0; /* At the top */
    z-index: 99;
    border-radius: 0px 0px 15px 15px;
    
}

#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 {
    animation: glow 800ms ease-out infinite alternate;
	border-color: #F61;
	border-color: #F61;
	/* box-shadow: 0 0 5px rgba(255, 62, 14, 0.527), inset 0 0 5px rgba(255, 62, 14, 0.1), 0 2px 0 #000; */
}

.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;

}

.radio-body {

    flex: 1 1 auto;
    padding: 0rem 1rem 0rem 0rem;
}


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

#now-playing-full {
    min-width: 80vw !important;
}

#play-holder {
    padding-top: 0.5rem;
}

.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;
    max-lines: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#now-playing-song {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    max-lines: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

#qu-radio-player {
    max-width: 95vw;
    position: relative;
}

.radio-side-by-side{
    display: table-cell;
    height: 100%;
    vertical-align: top;
    white-space: nowrap;
    max-width: 70vw;
    
}

.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 {
    margin-top: 3.5rem;
    margin-bottom: 3rem;
    min-width: 6vw;
    max-height: 15vh;
  }

#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: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.social-icon:hover {
    background-color: #0056b3;
}


/* 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: 500px;
    height: 1000px;
    display: block;
    margin: 0;
    
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 50px;
}

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


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

#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: 0; /* Prevent the artwork from shrinking */
    width: 80px; /* CHANGE: Slightly reduced artwork width, adjust as needed */
    height: 80px; /* 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; /* Allows this element to grow and take remaining space */
    flex-shrink: 1; /* Allows it to shrink if needed (crucial for text) */
    min-width: 80px; /* Reduce this further if text still overflows */
    text-align: left;
    white-space: normal; /* Ensure text wraps normally within its container */
    word-break: break-word; /* Break long words if necessary to fit */
}
