#zoomed-buttons {
    visibility: hidden;
}

#reset-zoom {
    position: absolute;
    float: right;
    right: 50px;
    top: 70px;
    cursor: pointer;
}

#show-details {
    position: absolute;
    float: right;
    right: 100px;
    top: 70px;
    cursor: pointer;
}

.container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

#map {
    position: relative;
}

#detail-screen {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    visibility: hidden;
    border: 2px solid gray;
    background: rgba(255, 255, 255, 0.9);
}

#detail-title {
    text-align: center;
}

.map-svg {
    border: 2px solid gray;
}

.tooltip {
    background-color: white;
    border: 2px solid;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    pointer-events: none;

    width: auto;
    height: auto;
    box-shadow: -3px 3px 15px #888888;
    font: 12px sans-serif;
}

.tooltip-country {
    text-align: center;
}

.tooltip-detail {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.subject-select {
    display: none;
}

.header {
    background-color: #e3f2fd;
}

#stacked-bar-chart-legend {
    display: flex;
    align-items: center;
    min-height: 33px;
}

.stacked-legend-columns,
.radar-legend-columns {
    width: 100%;
    column-width: 180px;
}

.radar-legend-columns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stacked-legend-item,
.radar-legend-item {
    break-inside: avoid;
    display: flex;
    align-items: center;
    padding-bottom: 1px;
}

.radar-legend-item {
    width: 240px;
}

.stacked-legend-label,
.radar-legend-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 15px - 0.5em);
}

.stacked-legend-swatch,
.radar-legend-swatch {
    width: 15px;
    height: 15px;
    margin: 0 0.5em 0 0;
}

.center {
    margin: auto;
    width: 50%;
    padding: 10px;
}

.border_img {
    border: 1px solid #555;
    margin-right: 8px;
    margin-top: -0.2em;
}
