@media only screen and (max-width: 400px) {
   .accordionContent {
    max-width: 400px !important;
    width: calc(100% - 65%) !important;
   }
   #lightbox {
    max-width: 400px !important;
    width: calc(100% - 10%) !important;
   }
   .img {
    max-width: 400px !important;
    width: calc(100% - 10%) !important;
   }
 }

@media only screen and (max-width: 500px) {
  .accordionContent {
    max-width: 500px !important;
    width: calc(100% - 65%) !important;
  }
   #lightbox {
    max-width: 500px !important;
    width: calc(100% - 10%) !important;
   }
   .img {
    max-width: 400px !important;
    width: calc(100% - 10%) !important;
   }
}

audio {
  width: 80%;
  height: 20px;
}

.top-ten td {
  text-align: center;
}

.rb-title {
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3.4rem;
  padding-bottom: 30px;
}

.rb-intro {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.5rem;
  display: block;
  /* line-height: 1.2; */
  font-weight: 300;
  margin-bottom: 20px;
  margin-top: 20px;
  letter-spacing: 0.4px;
}


.search-and-top-10 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Center items vertically */
}

.search-container {
  position: relative;
  flex: 1;
  justify-content: flex-start;
  flex-direction: column;
  /* Align search box to the left */
  align-items: center;
  max-width: 40%;
  /* Set the maximum width as a percentage */
}

.table-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* Push table to the right */
  align-items: center;
  /* Center table vertically */
  max-width: 40%;
}

.table-container .ratings {
  max-width: 40%;
  /* Table width will be limited to the available space */
}

.table-container .ratings td {
  max-width: 200px;
  /* Set the maximum width you desire */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .search-and-top-10 {
    flex-direction: column;
    align-items: center;
    /* Center items horizontally */
  }

  .search-container {
    justify-content: center;
    /* Center search box horizontally */
    max-width: 100%;
    /* Set maximum width to occupy full width */
    margin-bottom: 10px;
    /* Add margin bottom for spacing */
  }

  .table-container {
    margin-left: 0;
    justify-content: center;
    /* Center table horizontally */
  }
}

.ratings td {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#slider {
    width: 765px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.scroll {
    height: 100%;
    width: 765px;
    max-width: 100%;
    overflow: auto;
    overflow-x: hidden;
    position: relative;
    overflow-y: scroll;
    clear: left;
}


.scrollContainer div.panel {
    height: 100%;
    width: 745px;
    /* max-width: calc(100% - 20px); */
    overflow-y: scroll;
}

#shade {
    background: #EDEDEC url(shade.jpg) no-repeat 0 0;
    height: 50px;
}

ul.navigation {
    list-style: none;
    width: 765px;
    max-width: calc(100% - 30px);
    margin: 0;
    padding-bottom: 10px;
    padding-top: 20px;
    font-family: monospace !important;
}

ul.navigation li {
    display: inline;
    margin-right: 10px;
}

ul.navigation a {
    padding: 4px;
    text-decoration: none;
    font-size: 16px;
}

ul.navigation a:hover {
  font-size: 16px;
	text-decoration: underline;
}

ul.navigation a.selected {
    text-decoration: underline;
    font-weight: bold;
}

ul.navigation a:focus {
    outline: none;
}

.scrollButtons {
    position: absolute;
    top: 150px;
    cursor: pointer;
}

.scrollButtons.left {
    left: -20px;
    width: 16px;
}

.scrollButtons.right {
    right: -20px;
    width: 16px;
}

.hide {
    display: none;
}


.images {
padding-left: 20px;
}

.imagenoborder {
border: 0px;
}



.notice {

color: red;
font-weight: bold;
}
.notice a{
  color: red;
  font-weight: bold;
}

#results-container li {
  display: inline-block;
  padding-right: 10px;
  font-family: monospace;
}

#wrapper {
	width: 745px;
  max-width: calc(100% - 20px);
	margin-left: auto;
	margin-right: auto;
	}

.accordionButton {
	width: 730px;
  max-width: calc(100% - 30px);
	float: left;
	_float: none;  /* Float works in all browsers but IE6 */
	cursor: pointer;
	font-size: 14px;
  font-family: monospace !important;
	}

.accordionContent {
	width: 700px;
  max-width: calc(100% - 75px);
	float: left;
  border: 1px solid;
	font-size: 14px;
  padding: 10px;
  font-family: monospace !important;
  display: block;
	}


.post {
  margin-top: 5px !important;
}

.post:last-child {
  border: 0;
}

.post-action {
  margin-top: 15px;
}



.ratings {
  border-collapse: collapse;
  font-family: monospace !important;
  width: 145px;
}

.ratings .header {
  font-weight: bold;
}

.ratings .top10 {
  font-size: 0.7em;
  border: 1px dashed;
  padding: 5px;
}

.ratings .heading {
  color: #980000;
  font-size: 100%;
  padding-bottom: 5px;
  font-weight: bold;
  text-align: center;
}

.heading tr td {
  font-size: 120%;
  padding-bottom: 5px;
  text-align: center;
  border: 1px dashed;
}
