body {
  font-family: "Roboto", sans-serif;
	background: #20145a;
  min-width: min-content;
	margin: 0;
  padding: 0;
}
a.discord:hover {
	border-color: #7289da !important;
}
#main-nav::after {
  width: auto;
}
#main-nav {
  flex-wrap: wrap;
  min-width: min-content;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	margin-bottom: 1rem;
	background: #20145a;
	opacity: 0.9;
}
#main-nav ul {
	display: flex;
}
#main-nav li {
	padding: 1rem;
  list-style: none;
}
#main-nav p {
	/* margin-bottom: 0.25rem; */
	/* margin-top: 0.25rem; */
	font-size: 1.3rem;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	border-bottom: 3px transparent solid;
}
#main-nav a {
	display: inline-block;
	text-decoration: none;
	font-weight: bold;
	padding: 0.25rem;
	font-size: 1.3rem;
	color: #fff;
	text-transform: uppercase;
	border-bottom: 3px transparent solid;
}
#main-nav a:hover {
	border-color: gold;
}
#main-nav a.current {
	border-color: gold;
}

#mapBG {
  background-image: url('./gfx/default_bg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  top: -5vmax;
  left: -5vmax;
  right: -5vmax;
  bottom: -5vmax;
  filter: blur(0.5vmax) contrast(0.75) brightness(1);
  z-index: -1;
}

#recordContainer {
  overflow: visible;
  display: flex;
  max-width: 980px;
  /* padding: 0 20px; */
  min-width: min-content;
  display: flex;
  flex-wrap: wrap;
  flex-basis: 0;
  justify-content: center;
	grid-column: span 5;
  margin-left: auto;
  margin-right: auto;
}

#timeAttack {
  /* background-color: red; */
  opacity: 0.9;
  margin: 1rem 0;
}

#attackButton {
  color: white;
}

#disclaimer {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: row;
	margin: .5rem;
	flex-direction: column;
	align-items: center;
}
#dismiss-btn {
  font-weight: bold;
  font-size: 16px
}
.hidden {
    display: none;
}
#index-header {
	text-align: center;
	margin: 1rem 0;
	padding: 0.5rem 1rem;
	background: #f4f4f4;
	width: 70%;
	color: #333;
	opacity: 0.9;
	border-radius: 5px;
}
.index-header a {
	display: inline-block;
	padding: 0;
	margin: 0;
	color: #7289da;
}

.btn {
  width: 80px;
  height: 80px;
  margin: auto;
  appearance: none;
  /* background-image: url('cups/K_ITSPB.png'); */
  background-position: 10px 6px;
  background-size: 50px 50px;
  background-color: #212121;
  background-repeat: no-repeat;
}

select {
  font-weight: bold;
  font-size: 16px
}

.dropdown {
  height: 40px;
  margin: auto;
  margin-right: 10px;
}

#search {
  height: 40px;
  margin: auto;
  margin-right: 10px;
  font-weight: bold;
  font-size: 18px
}
.searchHighlight {
  color:#dd9900;
  /* text-decoration: underline; */
}

.recordBanner {
  /* width: 60%; */
  /* height: 64px; */
  /* text-align: center; */
  /* font-size: 48px; */
  /* /1* color: white; *1/ */
  /* display: flex; */
  /* justify-content: space-evenly; */

/* } */
/* .item-title-sneakerless { */
  min-width: min-content;
  width: 100%;
  display: flex;
	padding: 1rem;
	/* text-transform: uppercase; */
	font-size: 1.75rem;
	color: #fff;
	background: #4682b4;
	grid-column: span 5;
	border-radius: 5px;
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
}

#txt {
  font-weight: bold;
  flex-grow: 2;
  padding: 1rem;
}


#records {
  width: 100%;
  min-width: min-content;
  text-align: center;
  border-spacing: 0 5px;
  /* background-color: #212121; */
}


.playerRow {
  height: 84px;
  /* background-color: #ddd;
  color: #212121; */
  opacity: 0.9;
  margin: 5px;
}

.playerRow > td {
  padding: 0 10px;
}
.playerName {
  white-space: nowrap;
}
.userMaps {
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
.userMaps a img{
  height: 64px;
  padding: 0 5px;
}

#header {
  background-color: #212121;
  height: 32px;
  color: #ffffff;
}

.dateRow {
  background-color: #212121;
  height: 24px;
  color: #ffffff;
  opacity: 0.9;
}

.versionBadge {
  position: relative;
  text-align: center;
  background-color: #d7bb43;
  border-radius: 10px;
  display: inline;
  padding: 3px;
}

.playerCharacter {
  position: relative;
  margin-top: 4px;
}

.playerTime {
  position: relative;
  margin-top: 4px;
}

.playerCharacter > a > img {
  width: 64px;
  height: 64px;
}

.playerCategory {
  position: relative;
  width: 8ch;
}
.playerCategory > img {
  height: 30px;
  image-rendering: pixelated;
}

.playerCategory:hover > img {
  display: none;
}
.playerCategory > a {
  display: none;
}
.playerCategory:hover > a {
  display: block;
}

.playerMap {
  position: relative;
}

.playerMap > a > img {
  height: 64px;
}

.playerCharacter .playerStats {
  visibility: hidden;
  /* width: 120px; */
  white-space: nowrap;
  background-color: black;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  pointer-events: none;
}

.playerCharacter:hover .playerStats {
  visibility: visible;
}

.playerMap .mapName {
  visibility: hidden;
  /* width: 220px; */
  white-space: nowrap;
  background-color: black;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  pointer-events: none;
}

.playerMap:hover .mapName {
  visibility: visible;
}

.playerCategory .submissionStats {
  visibility: hidden;
  /* width: 220px; */
  white-space: nowrap;
  background-color: black;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  pointer-events: none;
}

.playerCategory:hover .submissionStats {
  visibility: visible;
}

/* Disable hover effects on touch devices */
@media (pointer: coarse) {
  .playerCategory:hover .submissionStats {
    visibility: hidden;
    opacity: 0;
  }
  .playerMap:hover .mapName {
    visibility: hidden;
  }
  .playerCharacter:hover .playerStats {
    visibility: hidden;
  }
  #statGraph td:hover {
    background-color: none;
  }
  #statGraph td:hover .graphTime {
    visibility: hidden;
  }
  #statGraph td.highlight:hover {
    background-color: none;
  }
  #statGraph td.highlight:hover .graphTime {
    visibility: hidden;
  }
}

tr {
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
}

table tr + tr {
  margin: 5px;
}

#mapList {
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  /* justify-content: space-evenly; */
}

/* Uncomment this to pull in the sides */
/*
@media (min-width:825px) {
  #mapList {
    margin-left: calc((100% - 810px) / 2);
    margin-right: calc((100% - 810px) / 2);
  }
}

@media (max-width:824px) and (min-width:555px) {
  #mapList {
    margin-left: calc((100% - 540px) / 2);
    margin-right: calc((100% - 540px) / 2);
  }
}

@media (max-width:554px) {
  #mapList {
    justify-content: center;
  }
}
*/

/* Uncomment this to space out the map tiles */
@media (min-width:825px) {
  #mapList .mapTile {
    margin-left: calc((100% - 810px) / 6);
    margin-right: calc((100% - 810px) / 6);
  }
}

@media (max-width:824px) and (min-width:555px) {
  #mapList .mapTile {
    margin-left: calc((100% - 540px) / 4);
    margin-right: calc((100% - 540px) / 4);
  }
}

@media (max-width:554px) {
  #mapList {
    justify-content: center;
  }
}

.mapTile {
  padding: 5px;
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
  font-weight:bold;
  text-align:center;
  margin: 5px;
  margin-bottom:10px;
}

.mapTile img {
  width: 250px;
}

.noruns {
  opacity: 0.6;
}

.mapHeader {
  background-color: #212121;
  height: 24px;
  width: 100%;
  color: #ffffff;
  opacity: 0.9;
  font-weight:bold;
  line-height:24px;
  text-align:center;
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
  margin: 10px 0;
}

.letterHeader {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #212121;
  height: 32px;
  width: 100%;
  color: #ffffff;
  /* opacity: 0.9; */
  font-weight:bold;
  line-height:32px;
  text-align:center;
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
  margin: 2px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.letterHeader a:link, .letterHeader a:visited {
  color: #FFFFFF;
  text-decoration: none;
  font-weight:bold;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.letterHeader a:hover {
  background-color: #313131;
}

.timeAttack {
  background-color: #ccdeed;
  color: #212121;
  /* animation: breatheTime 3s infinite ease-in-out; /1* Added easing *1/ */
}

.timeAttack.highlight {
  background-color: #eef3f8;
}

.timeAttack a:link, .timeAttack a:visited {
  color: #2185d8;
  text-decoration: none;
  font-weight:bold;
}

.spbAttackLight {
  background-color: #CACACA;
  color: #212121;
  /* animation: breatheSPB 3s infinite ease-in-out; /1* Added easing *1/ */
}

.spbAttackLight.highlight {
  background-color: #ededed;
}

.spbAttackLight a:link, .spbAttackLight a:visited {
  color: #212121;
  text-decoration: none;
  font-weight:bold;
}

.prisonBreak {
  background-color: #edcdcc;
  color: #212121;
  /* animation: breathePrisons 3s infinite ease-in-out; /1* Added easing *1/ */
}

.prisonBreak.highlight {
  background-color: #f6edeb;
}

.prisonBreak a:link, .prisonBreak a:visited {
  color: #da241d;
  text-decoration: none;
  font-weight:bold;
}

.sealedStar {
  background-color: #ceedcc;
  color: #212121;
  /* animation: breatheSpecial 3s infinite ease-in-out; /1* Added easing *1/ */
}

.sealedStar.highlight {
  background-color: #eff8ee;
}

.sealedStar a:link, .sealedStar a:visited {
  color: #00861f;
  text-decoration: none;
  font-weight:bold;
}

/* .spbAttack { */
/*   color: #ddd; */
/*   background-color: #212121; */
/* } */

/* .spbAttack a:link, .spbAttack a:visited { */
/*   color: #ccc; */
/*   text-decoration: none; */
/*   font-weight:bold; */
/* } */

.selectedId {
}

@keyframes breatheTime {
  0% {
    background-color: #cbdbeb;
  }
  50% {
    background-color: #eef3f8;
  }
  100% {
    background-color: #cbdbeb;
  }
}
@keyframes breathePrisons {
  0% {
    background-color: #e9cdc8;
  }
  50% {
    background-color: #f6edeb;
  }
  100% {
    background-color: #e9cdc8;
  }
}
@keyframes breatheSpecial {
  0% {
    background-color: #d0ecce;
  }
  50% {
    background-color: #eff8ee;
  }
  100% {
    background-color: #d0ecce;
  }
}
@keyframes breatheSPB {
  0% {
    background-color: #cccccc;
  }
  50% {
    background-color: #ededed;
  }
  100% {
    background-color: #cccccc;
  }
}

.tileName {
  font-weight: bold;
}

.mapTile hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  margin: 0.2em auto;
}

.runCounts .timeLabel {
  color: #404040;
  font-weight: 300;
  font-style: italic;
}

.runCounts {
  font-weight: 300;
  color: #404040;
  white-space: nowrap;
  text-align: center;
  margin-top: 0.2em;
}

.runCounts span {
  color: black;
  font-weight: 600;
  padding-left: 0.2em;
}

#statGraph {
  border-collapse: collapse;
  /* border: 2px solid #4682b4; */
  margin: auto;
  margin-right: 10px;
  table-layout: fixed; /* Ensure the table layout is fixed */
  min-width: 160px;
  min-height: 160px;
  /* border-spacing: 0 5px; */
}

#statGraph td {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  border: 1px solid #4682b4;
  text-align: center;
  vertical-align: middle;
  position: relative;
}
#statGraph td:hover {
  background-color: #0f7 !important;
}
#statGraph td.highlight {
  /* background-color: #8EF !important; */
  background-color: #0a5 !important;
}
#statGraph td.highlight:hover {
  background-color: #0f7 !important;
}

/* Thicker borders between rows 3 and 4, and 6 and 7 */
#statGraph tr:nth-child(3) td {
  border-bottom: 3px solid #4682b4;
}

#statGraph tr:nth-child(6) td {
  border-bottom: 3px solid #4682b4;
}

#statGraph tr:nth-child(9) td {
  border-bottom: 3px solid #4682b4;
}

/* Thicker borders between columns 3 and 4, and 6 and 7 */
#statGraph td:nth-child(3) {
  border-right: 3px solid #4682b4;
}

#statGraph td:nth-child(6) {
  border-right: 3px solid #4682b4;
}

#statGraph .graphTime {
  visibility: hidden;
  /* width: 220px; */
  white-space: nowrap;
  background-color: black;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  pointer-events: none;
  font-size: 16px
}

#statGraph td:hover .graphTime {
  visibility: visible;
}
