html, body {
    padding: 0;
    margin: 0;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header {
    display: flex;
    border-bottom: 1px solid #CCC;
    flex-grow: 0;
    height: 50px;
    padding: 5px;
    width: 100%;
}

.leaflet-container {
    height: 100%;
    flex-grow: 1;
}

.logo {
    flex-grow: 1;
}

.main-container {
    height: 100%;
}

.main-container--row {
    height: 100%;
}

.left-container {
    padding: 1px !important;
}

.login-container, .register-container {
    left: 50%;
    position: absolute !important;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
}

.map {
    border: 1px solid gray;
    border-radius: 5px;
}

.right-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1px !important;
}

.chart-container {
    flex-grow: 0;
    height: 300px;
    border: 1px solid black;
    border-radius: 5px;
    margin: 1px;
}

.display-small {
    display: none;
}

.gray {
    filter: grayscale(100%);
}

.alert__important {
    border-left: 0.25em solid #8250DF;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

.alert__important--title {
    color: #8250DF;
}

.alert__important--body {
    margin-bottom: 0;
}

.spin {
    animation: rotation 2s infinite linear;
}

.map-tooltip {
    background: white;
    border: 1px solid gray;
    font-size: 10px;
    padding: 3px;
    width: max-content;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@media (min-width: 576px) {
    .display-small {
        display: initial;
    }
}
