body {
  font-family: Arial, sans-serif;
}
#map {
  height: 100vh;
  width: 100vw;
}
.info-window-content {
  font-size: 1.3rem;
}
.value-rank {
  font-size: 0.7rem;
}
.value-guess {
  font-size: 1rem;
}
.target-heading {
  font-size: 1rem;
  font-weight: bold;
}
.target-link a {
  color: #0c7696;
  font-size: 1rem;
}
.target-image {
  margin-top: 1rem;
}
.target-image img {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
}
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#results-pane {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.8);
  top: 0;
  height: 100vh;
  width: 400px;
  left: 100vw;
  transition: transform 1s;
  padding: 30px;
  box-sizing: border-box;
}
#results-pane.expanded {
  transform: translateX(calc(-400px));
}
#results-pane .pane-control {
  position: absolute;
  top: 75px;
  left: 0;
  transform: translateX(-30px);
}
.pane-control {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0 5px 0 0;
  text-align: right;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  height: 50px;
  width: 30px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  cursor: pointer;
}
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}
.pane-control .arrow {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transition: transform 1s;
}
.expanded .pane-control .arrow {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.results-content {
  height: 100%;
  overflow-y: auto;
}

/* Bootstrap accessibility classes */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

#results-table table {
  border-collapse: collapse;
  width: 100%;
}
#results-table tr {
  cursor: pointer;
  background: white;
}

#results-table td,
#results-table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#results-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#results-table tr:hover {
  background-color: #ddd;
}

#results-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #5a8127;
  color: white;
}
#results-table .col-team {
  text-align: left;
  padding-left: 16px;
}
#results-table .col-rank {
  text-align: center;
}
#results-table .col-distance {
  text-align: right;
  padding-right: 16px;
}

#results-link {
  padding: 1rem 0;
}
#results-link a {
  color: #0c7696;
}

#results-image {
  width: 100%;
  text-align: center;
}

#results-image img {
  width: 100%;
  max-width: 100%;
  max-height: 400px;
  margin: 1rem auto 0;
  cursor: pointer;
}
