body {
  background: rgba(102, 51, 0, 1) url(/assets/images/background.gif) repeat-x;
  color: #663300;
  font-family: verdana, arial;
}
#main {
  margin: auto;
  width: 900px;
  min-height: 1000px;
  background: rgba(255, 204, 0, 1);
  font-family: arial;
  overflow: auto;
}

#main p {
  color: rgba(102, 51, 0, 1);
  font-size: 200%;
  width: 500px;
  background: rgba(255, 204, 0, 1);
  margin-left: 20px;
}

main {
  margin: auto;
  width: 900px;
  min-height: 1000px;
  background: rgba(255, 204, 0, 1);
  font-family: arial;
  overflow: auto;
}

main p {
  color: rgba(102, 51, 0, 1);
  font-size: 200%;
  width: 500px;
  background: rgba(255, 204, 0, 1);
  margin-left: 20px;
}

#text2 {
  margin-left: 220px;
  padding: 5px;
  color: rgba(102, 51, 0, 1);
}

.month p {
  color: rgba(102, 51, 0, 1);
  font-size: 75%;
  width: 500px;
  margin-left: 25px;
  border-bottom-style: solid;
  border-bottom-color: rgba(255, 255, 255, 1);
  border-bottom-width: 2px;
  border-right-style: solid;
  border-right-color: rgba(255, 255, 255, 1);
  border-right-width: 2px;
  padding: 5px;
}

#footer {
  color: rgba(255, 255, 255, 1);
  font-size: 90%;
  text-align: center;
  font-family: verdana, arial;
}

.filterbox {
  border: 2px solid rgba(102, 51, 0, 1);
}
.filterbox input {
  margin: 0.4vh 0.5vw;
}
.filterbox {
  display: block;
  margin: 1vh 1vw;
  font-size: 14px;
}

label {
  display: inline-block;
}
legend,
label {
  font-weight: 600;
}
legend {
  font-size: 15px;
  padding: 0.2em 0.5em;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

legend:before {
  position: absolute;
  content: "";
  height: 8px;
  border-right: 2px solid rgba(102, 51, 0, 1);
  left: 0px;
  top: 7px;
}

legend:after {
  position: absolute;
  content: "";
  height: 8px;
  border-right: 2px solid rgba(102, 51, 0, 1);
  right: 0px;
  top: 7px;
}

th {
  cursor: default;
}
th[data-active] {
  position: relative;
  cursor: pointer;
  min-width: 75px;
}

th[data-active="true"]:before,
th[data-active="true"]:after {
  position: absolute;
  display: block;
  content: "";
  width: 0;
  height: 0;
  top: 50%;
  right: 5px;
  color: rgba(0, 0, 0, 1);
  border: 4px solid transparent;
}

th[data-active="true"].ascending:before {
  border-bottom-color: #000;
  margin-top: -9px;
}

th[data-active="true"].descending:after {
  border-top-color: #000;
  margin-top: 1px;
}
#data-table td {
  padding: 2px 2px;
}
#data-table,
#data-table th,
#data-table td {
  border: 1px solid rgba(0, 0, 0, 1);
  font-size: 14px;
}

#data-table {
  margin: 1vh 1vw;
  width: calc(100% - 2vw);
}

.noselect {
  user-select: none;
}

.article-link {
  font-size: 1rem;
}
.leader-table {
  width: 200px;
  margin: 1rem auto;
  border-collapse: separate;
  border-spacing: 2px;
}
.leaders-table th,
.leaders-table td {
  padding: 3px;
}
.leaders-table thead th {
  font-weight: bold;
  text-align: left;
}
/* === Twitter follow row === */
.twitter-row th {
  text-align: center;
}

/* === Results Gallery === */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gallery img {
  width: 240px;
  height: auto;
  object-fit: cover;
  border: 1px solid #000;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}
.mainContent a,
.mainTable a {
  text-decoration: none;
  color: rgb(26, 39, 228);
}
.mainContent a:hover,
.mainTable a:hover {
  text-decoration: underline;
  color: rgb(20, 0, 199);
}
.mainTable {
  width: 100%;
  border: 1px solid black;
  border-collapse: collapse;
  border-spacing: 2px;
}
.mainTable td {
  border: 1px solid black;

  padding: 3px;
  text-align: left;
}
.mainTable th {
  padding: 3px;
  text-align: center;
  border: 1px solid black;
}
.mainTable th:nth-child(1) {
  width: 33%;
}
.mainTable th:nth-child(2) {
  width: 7%;
}
.mainTable th:nth-child(3) {
  width: 25%;
}
.mainTable th:nth-child(4) {
  width: 7%;
}
.mainTable th:nth-child(5) {
  width: 28%;
}

/* === Links === */
.link1 a {
  text-decoration: none;
  color: rgb(0, 64, 226);
}
.link1 a:hover {
  text-decoration: underline;
  color: rgb(0, 110, 255);
}
#title1 a {
  font-size: 0.5em;
}
/* === Leader  */
#right {
  float: right;
  color: rgba(102, 51, 0, 1);
  height: auto;
  font-size: 50%;
  width: 250px;
  background: rgba(230, 221, 139, 1) url(/assets/images/shadow1.gif) repeat-y;
  display: inline;
}
#leaderboard {
  border: 2px solid black;
  float: right;
  background: rgba(230, 221, 139, 1) url(/assets/images/shadow1.gif) repeat-y;
  width: 250px;
  display: inline;
}

#leaderboard table {
  width: 100%;
  column-span: 2;
  border-collapse: collapse;
}
#leaderboard td,
th {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 4px 5px 10px;
}

#leaderboard table + table {
  margin-top: 2rem;
}

.mainContentBlock {
  padding: 5px;
  color: rgba(102, 51, 0, 1);
  width: 625px;
}
.mainContentBlock ul li {
  padding: 5px 5px 5px 5px;
  list-style-type: disc;
}
.mainContentBlock ul li:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.bodyHeader1 {
  font-weight: bold;
}
#galleryContainer {
  position: relative;
  margin: 0rem;

  width: 100%;
  height: 400px;

  overflow: hidden;
  background: black;
}
#galleryTrack {
  display: flex;
  position: absolute;
  /* left: 50%; */
  top: 50%;
  transform: translate(0, -50%);
}
#galleryTrack > img {
  width: 60%;
  height: 200px;

  margin-right: 10px;
  background-color: lightgrey;
}
#galleryTrack > img:before {
  display: block;
  text-align: center;
  line-height: 200px;
}

.menu {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;

  display: flex;

  justify-content: space-between;
  background-color: rgb(88, 45, 1);
}
.menu li {
  list-style: none;
  /* min-width: 20px; */
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid goldenrod;
}
.menu li a {
  width: 90%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid black;
  white-space: nowrap;
  padding: 0 1rem;
  margin: 0 0.6rem;
  background-color: rgb(179, 126, 33);
  color: white;
  text-decoration: none;
}

.menu li a:hover {
  background-color: rgb(209, 164, 86);
  border: 3px solid black;
}

#trackTable {
  width: 100%;
  border: 1px solid black;
}

#trackTable table tr {
  border: 1px solid red;
}

#trackTable table td,
th {
  height: 2em;
  min-height: 1.2em;
}
#trackTable table th tr,
#trackTable table th {
  border: 2px solid rgb(0, 0, 0);
}

#trackTable table td {
  border: 1px solid rgb(66, 66, 66);
}
.noOverFlow {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
}

#trackEventLeaders th:nth-child(odd) {
  width: 150px;
}
#trackEventLeaders th:nth-child(even) {
  width: 70px;
}
img {
  display: block;
  margin: auto;
}
#seasonSchedule {
  border: 4px solid black;
  position: relative;
}
#seasonSchedule ul {
  border: 2px solid black;
}
.schedulePage {
  position: absolute;
  inset: 0;
}
.menu1 {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;

  display: flex;
  flex-wrap: wrap;
  height: max-content;

  justify-content: space-between;
  background-color: rgb(88, 45, 1);
}
.menu1 li {
  list-style: none;
  /* min-width: 20px; */
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid goldenrod;
}
.menu1 li a {
  width: 90%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid black;
  white-space: nowrap;
  padding: 0 1rem;
  margin: 0 0.6rem;
  background-color: rgb(179, 126, 33);
  color: white;
  text-decoration: none;
}

.menu1 li a:hover {
  background-color: rgb(209, 164, 86);
  border: 3px solid black;
}
