body {
  background-color: #1d2229;
  color: #eee;
  display: flex;
  flex-direction: column;
  margin: 0px;
}

select{
  width: 100%;
  height: 32px;
  background-color: #464d5a;
  border: 0px solid #AAA;
  color: #eee;
  padding: 8px;
}

.show-regular .ranked-leaderboard {
  display: none;
}

.show-ranked .regular-leaderboard {
  display: none;
}

.oxanium-bold {
  font-family: "Oxanium", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.flex-body{
  display: flex;
  flex: 1;
  margin: 8px;
}

.sidebar {
  width: 25%;
  margin-right: 1rem;
  padding: 16px;
  border-radius: 8px;
}

.sidebar-item {
  margin-top: 8px;
}

.main {
  width: 75%;
  border-radius: 8px;
}

.content-margin {
  margin: 8px;
  margin-bottom: 0px;
}

.dark {
  background-color: #363d4a;
}

.table-head {
  background-color: #464d5a;
  border-radius: 8px 8px 0px 0px;
}

#leaderboard .table-row:nth-child(even of .table-legit){
  background-color: #3a4452;
}

#leaderboard .table-row:nth-child(odd of .table-legit){
  background-color: #313c45;
}

.table-cheater {
  background-color: #6a3c3c !important;
  padding: 16px;
  display: none;
}

.show-cheaters .table-cheater {
  display: block;
}

.table-row {
  padding: 16px;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}

.table-grid div {
  display: flex;
  align-items: flex-end;
  height: 18pt;
}

.flex-col {
  flex-direction: column;
}

.full-width {
  width: 100%;
}

.tooltip-underline {
  margin-top: 8px;
  border-bottom: 1px #ffffff40 solid;
}

.footer {
  min-height: 32px;
  line-height: 32px;
  text-align: center;
  background: #262d30;
}

.span-3 {
  grid-column: span 3;
}

.small-text {
  font-size: 8pt;
}

.span-2 {
  grid-column: span 2;
}

.clickable {
  cursor: pointer;
}

.left-spacer {
  margin-left: 8px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #000000B0;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  width: 100%;
  top: 100%;
  font-size: 11pt;
  height: auto;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.info-tooltip {
  font-size: .8em;
  margin-left: 4px;
  cursor: help;
  position: relative;
  display: inline-block;
}

.info-tooltip .tooltiptext {
  visibility: hidden;
  background-color: #000000D0;
  color: #fff;
  text-align: left;
  position: absolute;
  z-index: 1;
  width: 228px;
  height: 106px;
  top: 100%;
  font-size: 11pt;
  padding: 8px;
  white-space: pre-line
}

.table-grid .tooltip .tooltip-top-override {
  top: unset;
}

.info-tooltip:hover .tooltiptext {
  visibility: visible;
}

.rondo-winner {
    background: linear-gradient(120deg, #50a0ff,#ffffff,#a080ff );
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(#000000b0 1px 1px 2px);
}

.main-dev {
  background: linear-gradient(120deg,#5bcefa,#5bcefa,#f5a9b8,#f5a9b8,#fff,#f5a9b8,#f5a9b8,#5bcefa,#5bcefa);
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(#000000b0 1px 1px 2px);
}

.dev-span {
  margin-right: 8px;
  color: #187ea8;
}

@media (max-aspect-ratio: 1/1){
  .flex-body {
    flex-direction: column;
  }
  .sidebar {
    flex-direction: row;
    display: flex;
    margin-right: 0;
    margin-bottom: 1rem;
    align-self: stretch;
    width: unset;
  }
  .sidebar div {
    display: none;
  }
  .sidebar select {
    flex: 1;
    margin: 1px;
  }
  .main {
    width: unset;
  }
}


.centered-text {
  width: 100%;
  text-align: center;
}

#advanced_search {
  width: 100%;
  height: 32px;
  background: #464d5a;
  border: 0px;
  color: white;
}

.hidden {
  display: none !important;
}

#advanced_search:hover {
  background: #565d6a;
}

#advanced_search_box {
  width: 100%;
  background: #000000d0;
  display: flex;  
}

#advanced_search_box_inner {
  margin: 16px;
  background: #45465a;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#advanced_search_columns {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.advanced_search_column {
  overflow: scroll;
  flex: 1;
}