body { 	
background-color: #E6E6E6;
}

h1 {
color: #6699FF;
font-family: Arial, Helvetica, sans-serif;
font-weight:bold;
font-size: medium;
margin: 0 0 10px 8px;
padding:0;
}

img {
border: 0;
}

form {
margin: 0;
padding: 0;
}

.tooltip {
  display: block;
  position: relative;
  cursor: help;
}

.tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  max-width: 800px;
  background: #222;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  line-height: 1.4;
  position: absolute;
  top: 50%;
  margin-left: 10%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  line-height: 1.4;
  z-index: 20;
  white-space: normal;
}

.tooltip:hover .tooltip-text, .tooltip.open .tooltip-text {
  visibility: visible;
  opacity: 1;
}
/*
.tooltip.open .tooltip-text {
  visibility: visible;
  opacity: 1;
}*/

p {
padding: 0 10px;
}

/* Minimal additions for modal audio player */

.audio-modal-backdrop {
  display: none;
  position: fixed;
  /*inset: 0; changed 10 Mar 26*/
  top: 0; /* Added 10 Mar 26 */
  left: 0; /* Added 10 Mar 26 */
  width: 100%; /* Added 10 Mar 26 */
  height: 100%; /* Added 10 Mar 26 */
  background: rgba(0,0,0,0.65); 
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.audio-modal {
  background: #fff;
  padding: 1em 1.5em;/* was 1em 1.5em */
  width: 420px; /* was 90% */
  max-width: 90%; /* was 30em */
  border-radius: 6px; /* Added 10 Mar 26 */
  box-shadow: 0 0 20px rgba(0,0,0,0.4); /* 0 0.5em 1.5em rgba(0,0,0,0.4); */
  font-family: Arial, sans-serif; /* Added 10 Mar 26 */
}
.audio-modal-header {
  display: flex;
  justify-content: space-between;
  /*align-items: center; removed 10 Mar 26 */
  font-weight: bold; /* Added 10 Mar 26 */
  font-size: 1.1em; /* Added 10 Mar 26 */
  margin-bottom: 0.5em;
}
.audio-modal-close {
  cursor: pointer;
  /* font-weight: bold; removed 10 Mar 26 */
  font-size: 1.3em; /* Added 10 Mar 26 */
  line-height: 1em; /* Added 10 Mar 26 */
}
.audio-modal-filename {
  font-size: 0.9em;
  margin-bottom: 0.5em; /* Added 10 Mar 26 */
  word-break: break-all;
}
.play-button {
    background: #4a148c;
    color: #fff;
    border: none;
    padding: 6px 6px; /* 6px 10px */
    margin-right: -4px; /* 6px */
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.75em;
}

.play-button:hover {
  background: #6a1bb3;
  color: yellow;
}

.play-all-button {
  background: #4a148c;
    color: #fff;
    border: none;
    padding: 6px 10px;
    margin-right: 6px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85em;
}

.play-all-button:hover {
  background: #6a1bb3;
  color: yellow;
}

.zipjob-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.zipjob-popup {
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    width: 420px;
    max-width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    font-family: Arial, sans-serif;
}

.zipjob-popup h3 {
    margin-top: 0;
}

.zipjob-options label {
    display: block;
    margin: 8px 0;
}

.zipjob-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zipjob-link {
    text-decoration: underline;
    cursor: pointer;
    color: #0077cc;
}

.download-set-icon {
    width: 25px;
    height: auto;
    cursor: pointer;
    margin-left: -2px;
    vertical-align: middle;
}

.download-set-icon2 {
    width: 18px;
    height: auto;
    cursor: pointer;
    margin-left: 0px;
    vertical-align: middle;
}
#zip-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;      /* ← this keeps buttons inside the viewport */
    background: #eee;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    box-sizing: border-box; /* ← ensures padding doesn’t push content out */
}

#zip-progress-controls {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

#zip-progress-container {
    display: none; /* hidden until a ZIP starts */
}

#zip-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f8f8f8;
    padding: 10px;
    border-top: 1px solid #ccc;
    z-index: 9999;
}

#progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

#container {
  max-width: 60em;
  margin: 0 auto;
  border: 1px solid #CCCCCC;
  padding: 0px;
  background-color:#FFFFFF;
}

#contribute {
color: red;
font-family: Arial, Helvetica, sans-serif;
font-size:14px;
}

/* color and font of the word 'home' */
#breadcrumbs {
color: #6699FF;
font-family: Arial, Helvetica, sans-serif;
font-size:small;
margin: 0 0 8px 8px;
}

/* color and link decoration for the word 'home' */
#breadcrumbs a, #breadcrumbs a:visited,
#breadcrumbs a:link, #breadcrumbs a:active {
color: #6699FF;
text-decoration:none;
}

/* what happens to the word 'home' when the mouse hovers over it */
#breadcrumbs a:hover {
text-decoration:underline;
}

/* color of the hash lines around the container or box */
#listingcontainer {
background-image:url(bg.gif);
padding: 10px;
background-color:#E0DEDE;
}

/* color, style and font of the words at the top of the container - File, Size and Last Modified */
#listingheader {
color: #476BB3;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
font-size:small;
text-align:right;
}

/* color and text decoration of words at the top of the container - File, Size and Last Modified */
#listingheader a, #listingheader a:active, #listingheader a:visited,
#listingheader a:link {
text-decoration: none;
color: #476BB3;
}

/* what happens to the words File, Size and Last Modified when mouse hovers over them */
#listingheader a:hover {
text-decoration: underline;
color: #476BB3;
}

/* placement of the word File in the column header - clear cache to see changes */
#headerfile {
text-align:center;
float: left;
width: 520px;
}

/* placement of the word Size in the column header - clear cache to see changes */
#headersize {
text-align:center;
width: 140px;
float: left;
}

/* placement of the words Last Modified in the column header - clear cache to see changes */
#headermodified {
text-align:center;
width: 217px;
float: left;
}

/* the color of the line around the container */
#listing {
border: 1px solid #A7C5FF;
}

/* the color, font and style of the filenames */
#listing a {
display:block;
padding: 6px 5px;
font-size:small;
color: #6285CA;
font-family:Arial, Helvetica, sans-serif;
text-decoration:none;
width:930px;
text-align:right;
}

/* the color change of the item line when the mouse is hovered over an item */
#listing a:hover {
background-color:#DBE6FE;
}

#listing a img {
float:left;
margin-right: 4px;
}

#listing a strong {
width: 555px;
float:left;
cursor:hand;
cursor:pointer;
text-align:left;
white-space: nowrap; /* Added to truncate the file names*/
overflow: hidden; /* Added to truncate the file names*/
text-overflow: ellipsis; /* Added to truncate the file names*/
}

#listing a em {
float: left;
width:75px;
text-align:left;
cursor:hand;
cursor:pointer;
}

#listing a span {
position: absolute;
margin-left: -151px;
margin-top: -2px;
}

#listing a span img {
width: 150px;
background-color:#CCCCCC;
visibility: hidden;
}

#listing a:hover span img {
border: 1px solid #666666;
visibility: visible;
}

#upload {
border: 1px solid #A7C5FF;
display:block;
margin-top: 10px;
font-size:small;
color: #6285CA;
font-family:Arial, Helvetica, sans-serif;
text-decoration:none;
width:568px;
background-color: #E9F0FF;
}

#uploadtitle {
background-color: #DBE6FE;
padding: 2px 5px 2px 5px;
border-bottom: 1px solid #A7C5FF;
}

#uploadcontent {
padding: 2px 5px 2px 5px;
}

#copy {
width: 600px;
margin-left:auto;
margin-right:auto;
text-align:center;
font-size:x-small;
color: #666666;
font-family:Arial, Helvetica, sans-serif;
}

#copy a {
text-decoration: underline;
color: #666666;
}

.b {
background-color: #E9F0FF;
}

.w {
background-color:#FFFFFF;
}

.mod {
float:right;
}

.size {
float:right;
}

.upload-error {
padding:2px 0;
}

.upload-error strong {
color:#993333;
}

.statcounter {
 display: none;
}
@media (max-width: 768px) {
  #container {
    max-width: 98%;
  }
}
