* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.controls {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #fff;
    width: 284px;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.controls section {
    margin-bottom: 24px;
}

.days-filter {
    display: flex;
}

.days-filter > div {
    display: flex;
    flex-direction: column;
}

.days-filter label {
    margin: 0 16px 8px 0;
}

.search {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #fff;
    width: 284px;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);
}

.search-results {
    position: absolute;
    top: 60px;
    right: 16px;
    background-color: #fff;
    width: 284px;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);
    max-height: calc(50vh);
    overflow-y: auto;
}

mi-list-item-location {
    padding: 8px;
}


#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}

h1 {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 18px 0;
}

h2 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

input[type="range"] {
    width: 100%;
}

p {
    margin: 0;
}

.mi-label {
    margin-bottom: 4px;
}

.mi-label span {
    position: relative;
    top: -5px;
}

mi-search input[type="search"] {
    height: 40px;
    font-size: 16px;
}

/* TODO: Used? */
/* scale annotation */
.mapboxgl-ctrl.mapboxgl-ctrl-scale {
    border-color: #6e6e6e;
    background-color: white;
    color: #131516;
}

.location-popup {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#floor-selector-container {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 50px;
    transform: translateY(-50%);
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 16%), 0px 2px 2px rgb(0 0 0 / 18%), 0px 1px 1px rgb(0 0 0 / 20%);
    z-index: 300;
    padding: 4px;
    width: 50px;
    background: #ffffff;
    margin: 0;
    text-align: center;
    padding-top: 8px;
}

#floor-selector-container svg {
    fill: #2a844e;
}

#floor-selector-container .floor-selector {
    margin: 0;
    box-shadow: none;
    width: 100%;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    border-radius: 0;
}

#floor-selector-container a {
    transition: all .3s ease;
}

#floor-selector-container a.active {
    color: #fcfcfc;
    background-color: #2a844e;
}

#floor-selector-container a:hover {
    background-color: rgba(30, 32, 37, 0.08);
}

#floor-selector-container a.active:hover {
    background-color: #3ba064;
}