* {
    box-sizing: border-box;
}

:root {
  --seaColor: #EFF2FF;
  --linkColor: #0273A9;
  --inPersonColor: #3858E9;
  --onlineColor: #E26F56;
  --textColor: #1C2024;
  --whiteColor: #FFFFFF;
  font-family: 'Inter', sans-serif;
}

@supports (font-variation-settings: normal) {
  :root { font-family: 'Inter var', sans-serif; }
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-size: 1.1em;
  line-height: 135%;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--textColor);
  margin: 0;
  padding: 0;
	background: var(--seaColor);
}

a {
  color: var(--textColor);
  text-decoration: none;
}

button {
  -webkit-appearance: none;
  appearance: none;
  border: none;
}

#map {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	z-index: 0;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
  visibility: hidden;
}

#map.is-visible {
  opacity: 1;
  visibility: visible;
}

.Header,
.Footer {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 40px;
  z-index: 100;
}

.Header {
  left: 0;
  top: 0;
  align-items: flex-start;
}

.Header__title {
  width: 200px;
  text-align: left;
  font-size: 2em;
  line-height: 120%;
  text-transform: uppercase;
  font-weight: bold;
}

.Header__title span.is-highlighted {
  color: var(--inPersonColor);
}

.Header__info {
  display: flex;
  flex-direction: column;
  font-size: 1.4em;
  text-transform: uppercase;
  font-weight: bold;
}

.Header__events {
  color: var(--inPersonColor);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-in-out;
}

.Header__events.is-visible {
  opacity: 1;
  visibility: visible;
}

.Header__info > div {
  text-align: right;
  margin: 0 0 0.4em;
}

.Header__covid {
  padding: 0.2em;
  opacity: 0;
  visibility: hidden;
  background: var(--onlineColor);
  color: var(--whiteColor);
  border-radius: 2px;
  font-size: 0.8em;
  transition: opacity 250ms ease-in-out;
}

.Header__covid.is-visible {
  opacity: 1;
  visibility: visible;
}

.Footer {
  left: 0;
  bottom: 0;
  align-items: flex-end;
}

.Footer__slider {
  display: flex;
  align-items: center;
  margin: 0 0 1em;
}

.Footer__legend {
  list-style: none;
  padding: 0;
  margin: 0;
  width: auto;
  display: flex;
}

.Footer__legendItem {
  margin: 0 1em 0 0;
  display: flex;
  align-items: center;
}

.Footer__legendItem:before {
  content: '';
  display: inline-block;
  position: relative;
  margin: 0 4px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 100%;
}

.Footer__legendItemInPerson:before {
  background: var(--inPersonColor);
}

.Footer__legendItemOnline:before {
  background: var(--onlineColor);
}

.Footer__legendItem {
  margin: 0 1em 0 0;
  display: flex;
  align-items: center;
}

.Footer__URL {
  text-decoration: none;
}

.Play {
  display: inline-block;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0 0.4em 0 0;
	background: url(/assets/img/Play__play.svg);
	background-repeat: no-repeat;
  cursor: pointer;
}

.Play.is-paused {
	background: url(/assets/img/Play__pause.svg);
}

/********** Range Input Styles **********/

/*Range Reset*/
input[type="range"] {
   -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 15rem;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/***** Chrome, Safari, Opera and Edge Chromium styles *****/

/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
   background-color: var(--whiteColor);
   border-radius: 20px;
   height: 24px;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
   appearance: none;

   background-color: var(--inPersonColor);
   height: 24px;
   width: 32px;
   border-radius: 20px;
}

input[type="range"]:focus::-webkit-slider-thumb {
   background-color: var(--inPersonColor);
}

/******** Firefox styles ********/
/* slider track */
input[type="range"]::-moz-range-track {
   background-color: var(--whiteColor);
   border-radius: 20px;
   height: 24px;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
   border: none; /*Removes extra border that FF applies*/
   border-radius: 0; /*Removes default border-radius that FF applies*/

   background-color: var(--inPersonColor);
   height: 24px;
   width: 32px;
   border-radius: 20px;
}

input[type="range"]:focus::-moz-range-thumb {
   background-color: var(--inPersonColor);
}

