﻿.region-link {
    color: white;
    background-color: #E77F38;
    opacity: 0.6;
    border-radius: 14px;
    text-decoration: none;
    min-width: 50px;
    font-size: 10px;
}

.region-link:active, .region-link:hover {
    color: white;
}

.region-link-active {
    opacity: 1;
}

.general-data {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    background-color: rgba(255,255,255, 0.3);
}

.general-data div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.general-data p {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    margin-right: auto;
    margin-left: auto;
}

.general-data-value {
    color: #E77F38;
}

#general-data-divider1, #general-data-divider2 {
    position: absolute;
    content: "";
    width: 1px;
    height: 80%;
    background-color: white;
    top: 10%;
}

#general-data-divider1 {
    left: 33.333333%;
}

#general-data-divider2 {
    left: 66.666666%;
}

.leaderboard {
    display: flex;
    background-color: white;
    position: relative;
}

.leaderboard p {
    margin: 0;
}

.progress {
    height: 0.3rem;
    width: 80%;
}

.percentage {
    font-weight: bold;
    font-size: 10px;
}

#leader-percent {
    color: #21D292;
}

#leader-progress {
    background-color: #21D292;
}

#average-percent {
    color: #FDC16B;
}

#average-progress {
    background-color: #FDC16B;
}

#attention-percent {
    color: #FE4844;
}

#attention-progress {
    background-color: #FE4844;
}

.leaderboard-esg {
    color: #6D7490;
    font-size: 8px;
}

@media screen and (min-width: 576px) {

    .leaderboard-esg {
        font-size: 16px;
    }

    .percentage {
        font-size: 18px;
    }
}

#leaderboard-divider-1, #leaderboard-divider-2 {
    content: "";
    background-color: #D8D8D8;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
}

#leaderboard-divider-1 {
    left: 33.333333%;
}

#leaderboard-divider-2 {
    left: 66.666666%;
}

.industries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 14px;
    grid-row-gap: 10px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 14px;
    grid-row-gap: 10px;
}

.categories .nav-button:nth-child(2n+1) {
    background-color: #CFB697;
}

.categories .nav-button:nth-child(2n) {
    background-color: #DD973B;
}

.industries .nav-button:nth-child(3n+1) {
    background-color: #CFB697;
}

.industries .nav-button:nth-child(3n+2) {
    background-color: #DD973B;
}

.industries .nav-button:nth-child(3n) {
    background-color: #E77F38;
}

.industries a, .categories a {
    text-decoration: none;
    color: white;
}

.industries p, .categories p {
    margin: 0;
}

.industries a {
    min-width: calc(33.33333% - 28px);
    min-height: 85px;
}

.categories a {
    min-width: calc(50% - 14px);
    min-height: 100px;
}

.nav-button-value {
    font-weight: bold;
    font-size: 20px;
}

.nav-button-title {
    font-size: 12px;
}

.breadcrumb-elem {
    background-color: #E77F38;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 100%;
}

.breadcrumb-elem p {
    padding-right: .5rem;
    color: white;
    font-size: 10px;
}

.breadcrumb-elem img {
    width: 6px;
    height: 100%;
}

#top-3-breadcrumb {
    background-color: #21D292;
}

#top-3-breadcrumb p {
    padding-right: 0;
}

.top-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    position: relative;
}

.top-3-info-text {
    margin-top: 3rem;
    margin-bottom : 1rem;
    font-weight: bolder;
    font-size: 18px;
}

.map-bg {
    overflow: hidden;
    width: 100vw;
    max-height: 70vh;
    position: absolute;
    z-index: -1;
}

.map-bg img {
    position: relative;
    z-index: -1;
    width: 100%;
    object-fit: cover;
}

.top-3-content {
    background-color: #21D292;
    font-weight: bold;
    position: relative;
}

.top-3-data {
    display: grid;
    grid-template-columns: 18px auto 50px;
    align-items: center;
    grid-row-gap: 10px;
    grid-column-gap: 5px;
}

.top-3-data p {
    margin: 0;
    text-overflow: ellipsis;
}

.top-3-data .company-title {
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}