body {
  background-color: rgb(34, 34, 34);
}

h1 {
  font-family: "Roboto", "Trebuchet Ms", "Helvetica", "Arial", sans-serif;
  font-size: 36px;
  color: white;
  padding: 0px;
  text-align: center;
  margin: 0px;
}

h2 {
  font-family: "Roboto", "Trebuchet Ms", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  color: white;
  padding: 0px;
  text-align: center;
  margin: 0px;
}

h3 {
  font-family: "Roboto", "Trebuchet Ms", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  color: white;
  padding: 0px;
  text-align: right;
  margin: 0px;
}

img {
  object-fit: contain;
}

input {
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}

select {
  width: 100%;
}

.settings {
  width: 200px;
  margin: auto;
}

.swiper-background {
  opacity: 0.1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pieChart {
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  max-height: 500px;
}

.chartContainer {
  max-width: 600px;
  max-height: 300px;
  margin: auto;
}

.swiper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.swiper-content {
  margin: 0;
  top: 50%;
  position: relative;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.ascent-type {
  display: inline-block;
  border-radius: 20px;
  padding: 1px 5px;
  font-size: 11px;
  color: #fff;
}

.ascent-type.onsight {
  background: #666;
}

.ascent-type.redpoint {
  background: #fa5c53;
}

.ascent-type.flash {
  background: #eaca35;
  color: black;
}

.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 2px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
}

.vertCenter {
  display: block;
  margin-top: auto;
  margin-bottom: auto;
  height: 50%;
}

.padRight {
  padding-right: 10px;
}

.hidden {
  display: none;
}

#map {
  height: 70vh;
  margin: 5px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: white;
  padding: 5px;
  text-align: center;
  border-radius: 6px;
  margin-left: -255px;
  position: absolute;
  z-index: 1;
}

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

.loader {
  margin-bottom: -5px;
  margin-top: 10px;
  width: 30px;
  height: 30px;
  border: 3px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

climbing-app {
  display: block;
  color: white;
  position: relative;
  min-height: 100vh;
}

.chart-bar-click-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  background: #2a2a2a;
  color: white;
  max-width: min(92vw, 440px);
  max-height: 75vh;
  font-family: "Roboto", "Trebuchet Ms", "Helvetica", "Arial", sans-serif;
}

.chart-bar-click-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.chart-bar-click-dialog-inner {
  padding: 1rem 1.1rem 1.1rem;
}

.chart-bar-click-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.chart-bar-click-title {
  font-size: 1rem;
  text-align: left;
  margin: 0;
  flex: 1;
  line-height: 1.35;
}

.chart-bar-click-close {
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid #666;
  border-radius: 8px;
  background: #3a3a3a;
  color: white;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}

.chart-bar-click-close:hover {
  background: #4a4a4a;
}

.chart-bar-click-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  overflow-y: auto;
  max-height: 55vh;
  text-align: left;
  font-size: 0.85rem;
}

.chart-bar-click-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #444;
  line-height: 1.35;
}

.chart-bar-click-list li.chart-bar-click-empty {
  border-bottom: none;
  color: #aaa;
  font-style: italic;
}
