@font-face {
    font-family: 'Sofia Sans';
    src: url('assets/sofia-sans-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Sans';
    src: url('assets/sofia-sans-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia Sans';
    src: url('assets/sofia-sans-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

*, *:before, *:after {
    box-sizing: inherit;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

p {
    margin: 0;
    line-height: 1.5;
}

p:not(:last-child) {
    margin-bottom: 10px;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    padding: 0;
    line-height: 1;
    color: inherit;
    background: none;
    cursor: pointer;
}

b, strong {
    font-weight: 700;
}

.hidden {
    display: none !important;
}

.disabled {
    cursor: default;
    opacity: 0.25 !important;
}

html {
    box-sizing: border-box;
    height: 100%;
}

body {
    height: 100%;
    font-size: 14px;
    line-height: 1;
    font-family: 'Sofia Sans', sans-serif;
    color: #252525;
}

#sidebar {
    display: flex;
    flex-direction: column;
    float: left;
    width: 450px;
    height: 100%;
    position: relative;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.15);
}

#sidebar .header {
    display: flex;
    align-items: center;
    padding: 50px 25px;
    color: #FFFFFF;
    background: #4040D1;
}

#sidebar .header .organization {
    text-align: right;
}

#sidebar .header .organization > img {
    height: 50px;
}

#sidebar .header .organization > h2 {
    margin-top: 5px;
    text-transform: uppercase;
    font-size: 14px;
}

#sidebar .header .separator {
    flex: 0 0 auto;
    width: 3px;
    height: 100%;
    margin: 0 10px;
    background: #FFFFFF;
}

#sidebar .header .title > h1 {
    line-height: 25px;
    text-transform: uppercase;
}

#sidebar .intro {
    flex: 1;
    padding: 50px 25px;
    overflow-y: auto;
}

#sidebar .intro p {
    text-indent: 5px;
    font-size: 16px;
}

#sidebar .intro .button-group {
    margin-top: 25px;
    text-align: right;
}

#sidebar .intro .button {
    padding: 15px 25px;
    text-transform: uppercase;
    font-weight: 700;
}

#sidebar .intro .button-tryout {
    background: #F3F3F3;
}

#sidebar .map-feature-name {
    padding: 25px;
    line-height: 1.3;
    background: #F3F3F3;
}

#sidebar .map-feature-data {
    flex: 1;
    overflow-y: auto;
}

#sidebar .map-feature-data .tooltip-marker {
    margin-left: -6px;
    padding: 10px;
}

#sidebar .map-feature-data .tooltip-marker > i {
    display: inline;
}

#sidebar .map-feature-data .group {
    width: 408px;
}

#sidebar .map-feature-data .group:not(:last-child) {
    margin-bottom: 1px;
    position: relative;
}

#sidebar .map-feature-data .group:not(:last-child)::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -1px;
    left: 0;
    background: #EAEAEA;
}

#sidebar .map-feature-data .group-name {
    width: 100%;
    padding: 15px 0 15px 25px;
    position: relative;
    text-align: left;
    font-size: 16px;
}

#sidebar .map-feature-data .group-name > i {
    position: absolute;
    right: 10px;
}

#sidebar .map-feature-data .group-content {
    margin-top: 1px;
    padding: 10px 0 10px 25px;
    position: relative;
    line-height: 1.5;
}

#sidebar .map-feature-data .group-content::before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: -1px;
    left: 0;
    background: #EAEAEA;
}

#sidebar .map-feature-data .subgroup:not(:last-child) {
    margin-bottom: 10px;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 10px;
}

#sidebar .map-feature-data .subgroup-name {
    margin-bottom: 5px;
}

#sidebar .map-feature-data .subgroup-name + .subgroup-content {
    margin-left: 10px;
}

#sidebar .map-feature-data .chart {
    margin-bottom: 5px;
}

#sidebar .map-feature-data .chart > svg {
    display: block;
}

#sidebar .map-feature-data .chart .ct-bar {
    stroke-width: 20px;
}

#sidebar .map-feature-data .chart .ct-chart-line .ct-line {
    stroke: #AAAAAA;
}

#sidebar .map-feature-data .chart .ct-chart-line .ct-area {
    fill: #252525;
}

#sidebar .map-feature-data .list {
    font-weight: 300;
    list-style-type: none;
}

#sidebar .map-feature-data .chart + .list {
    margin-left: 10px;
}

#sidebar .map-feature-data .chart-feature-marker {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    vertical-align: middle;
}

#sidebar .map-feature-data .chart-feature-marker.for-missing-feature {
    border: 1px solid #EAEAEA;
    background: transparent;
}

#sidebar .footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #EAEAEA;
    padding: 10px 25px;
}

#sidebar .footer .button {
    padding: 10px;
    font-size: 20px;
}

#map {
    height: 100%;
}

#map .leaflet-control-zoom {
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.15);
}

#map .leaflet-control-zoom a {
    border-radius: 0;
    color: inherit;
}

#map .leaflet-control-zoom a:hover {
    color: inherit;
}

#sidebar-tooltip {
    max-width: 350px;
    padding: 25px;
    position: fixed;
    bottom: 0;
    left: 450px;
    z-index: 999;
    line-height: 1.5;
    background: #F3F3F3;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.15);
}

#sidebar-tooltip-pointer {
    position: fixed;
    z-index: 1001;
    bottom: 20px;
    left: 435px;
    border-width: 12.5px 21.7px 12.5px 0;;
    border-style: solid;
    border-color: transparent #F3F3F3 transparent transparent;
}