@media (max-width: 600px) {
    #categorySelectorWrapper {
        display: block !important;
    }
    #indicatorsSelectorWrapper {
        display: block !important;
    }
    #yearsSelectorWrapper {
        display: block !important;
    }
    #countriesSelectorWrapper {
        display: block !important;
        margin-bottom: 25px !important;
    }
    #legend_block {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    #downloadButton {
        width: 80vw !important;
        margin: auto !important;
    }
}

body {
    width: 95%;
    justify-content: center;
    margin: auto;
}

#totalBoby {
    width: 100%;
    margin-top: 25px;
}

#countriesSelectorWrapper {
    display: grid;
    align-items: center;
    grid-template-columns: 15% 85%;
}

#countriesSelectorWrapper p {
    /* font: 14px 'sansBold'; */
    color: #444444;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

#forAfter {
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    margin-top: 5px;
}

.dropbtn {
    background-color: white;
    /* font: 14px 'serifRegular'; */
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #444444;
    cursor: pointer;
    width: 100%;
    height: 30px;
    border: none;
    border-radius: 0.3125rem;
    justify-content: space-between;
    text-align: start;
}

.dropbtn:hover {
    background-color: #a7cc33;
}


/* .dropdown {
    position: relative;
    display: inline-block;
} */

.dropdown-content {
    margin-left: 1vw;
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 80%;
}

.show {
    display: block;
}

#checkSvg {
    position: absolute;
    height: 12px;
    margin-top: 10px;
    margin-left: -25px;
}

#countriesSelectorWrapper {
    width: 100%;
}

#countriesSelector {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    margin-left: 1vw;
    max-height: 250px;
    height: 250px;
    overflow: scroll;
    overflow-y: scroll;
    overflow-x: hidden;
    grid-column: 2;
    grid-row-start: 2;
    grid-row-end: 6;
    /* font: 14px 'serifRegular'; */
    color: #444444;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

#countriesSelector div label {
    /* font: 14px 'serifRegular'; */
    color: #444444;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

#selectedButtons {
    margin-top: 10px;
}

.selectButtons {
    background-color: #fff;
    height: 30px;
    margin-left: 1vw;
    margin-right: 1vw;
    border-radius: 5px;
    border: solid 1px #ccc;
    margin-bottom: 1% !important;
    width: 30%;
}

.selectButtons:active {
    background-color: #a7cc33;
}

#categorySelectorWrapper {
    display: grid;
    grid-column: 1;
    grid-row: 4;
    align-items: center;
    grid-template-columns: 15% 85%;
}

#categorySelectorWrapper p {
    grid-column: 1;
    grid-row: 1;
    /* font: 14px 'sansBold'; */
    color: #444444;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

#categorySelector {
    border-radius: 5px;
    width: 100%;
    height: fit-content;
    min-height: 25px;
    grid-column: 2;
    border: 1px solid #ccc;
}

#indicatorsSelectorWrapper {
    display: grid;
    grid-column: 1;
    grid-row: 3;
    align-items: center;
    grid-template-columns: 15% 85%;
}

#indicatorsSelectorWrapper p {
    grid-column: 1;
    grid-row: 1;
    /* font: 14px 'sansBold'; */
    color: #444444;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

#indicatorsSelector {
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    height: fit-content;
    min-height: 25px;
    grid-column: 2;
}

#yearsSelectorWrapper {
    display: grid;
    grid-column: 1;
    grid-row: 3;
    align-items: center;
    grid-template-columns: 15% 85%;
}

#yearsSelectorWrapper p {
    grid-column: 1;
    grid-row: 1;
    /* font: 14px 'sansBold'; */
    color: #444444;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

#yearsSelector {
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    height: fit-content;
    min-height: 25px;
    grid-column: 2;
}

#yearPlaceholder {
    font: 14px;
    font-family: 'Montserrat', sans-serif;
}

#mapTooltip {
    background-color: #fff;
    font: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #444444;
    justify-content: center;
}

#barBlockWrapper {
    margin-bottom: 25px;
}

#barBlock {
    height: 500px;
    margin-bottom: 25px;
}

#addIndicatorsSelectorBlock {
    margin-top: 15px;
}

#addCategorySelector {
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#addIndicatorsSelector {
    border-radius: 5px;
    border: 1px solid #ccc;
}

#scatterBlock {
    width: 100%;
    height: 400px;
    position: relative;
}

#scatterBlock .tooltip {
    position: absolute;
}

#lineBlock {
    margin-top: 25px;
    position: relative;
    height: 500px;
    width: 100%;
}

#lineBlock .circle {
    pointer-events: none;
    border-radius: 3px;
}

#lineBlock .tooltip {
    pointer-events: none;
    position: absolute;
}

#lineBlock .line {
    pointer-events: none;
    width: 5px;
}

#legend_block {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-flow: row;
    margin-bottom: 1vh;
    width: fit-content;
    align-self: center;
    align-items: center;
}

#legend_block div {
    margin-bottom: 0px;
}

#legend_block div p {
    font: 10px;
    font-family: 'Montserrat', sans-serif;
}

#downloadButtonDiv {
    margin-top: 50px;
}

#downloadButton {
    background-color: #fff;
    width: 25vw;
    height: 40px;
    margin-left: 40;
    border-radius: 5px;
    border: solid 1px #ccc;
    justify-content: center;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

#downloadButton:active {
    background-color: #a7cc33;
}

#downloadButton:hover {
    background-color: #a7cc33;
}