@font-face {
    font-family: "SkolarSans";
    src: url("https://docs.rferl.org/Infographics/sources/fonts/SkolarSansLatnCyrl-RG.woff");
}

@font-face {
    font-family: "Skolar";
    src: url("https://docs.rferl.org/Infographics/sources/fonts/SkolarLatnCyrl-Lt.woff");
}

@font-face {
    font-family: "SkolarSansLight";
    src: url("https://docs.rferl.org/Infographics/sources/fonts/SkolarSansLatnCyrl-El.woff");
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "SkolarSansLight", "Arial", sans-serif;
  font-size: 16px;
}

.container_elections {
    position: relative;
    margin: auto;
    max-width: 640px;
    width: 100%;
}
.container_scroll {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    overflow-x: auto;
    z-index: 50;
}
.gradient_aside {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.8));
    z-index: 80;
    display: none;
}
.gradient_aside.active{
    display: block;
}

.menu_years {
    position: relative;
    width: 100%;
    z-index: 90;
}
.menu_year {
    box-sizing: border-box;
    float: left;
    width: 25%;
    padding: 2px;
}
.menu_inside {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    padding: 8px 16px;
    background-color: #7C858D;
    cursor: pointer;
}
.menu_inside:hover {
    opacity: 0.8;
    transition: opacity .3s;
}
.menu_year.active .menu_inside {
    background-color: #EA6903;
}

.table {
    opacity: 0;
    display: none;
}
.table.activeTable {
    opacity: 1;
    transition: opacity .5s;
    display: block;
}
table {
    width: 100%;
    border-spacing: 2px;
    border-collapse: separate;
}
@media(max-width:420px){
    table{
        font-size: 15px;
    }
}
@media(max-width: 380px){
    table {
        font-size: 13px;
    }
}
table tr td:first-child {
    text-align: left;
}
table td{
    text-align: center;
    background: #FBE1CD;
    padding:10px 5px;
    border-width:0px;
    overflow:hidden;
    word-break:normal;
}
table th{
    background: #49525A;
    color: white;
    padding:10px 5px;
    border-width:0px;
    overflow:hidden;
    word-break:normal;
    text-align: center;
    font-weight: 700;
}
table th span {
    font-size: 15px;
}
table th span:nth-child(1) {
    display: inline;
}
table th span:nth-child(2) {
    display: none;
}
@media(max-width: 380px){
    table td{
        padding: 10px 2px;
    }
    table th {
        padding: 10px 2px;
    }
}
@media(max-width: 480px){
    table th span {
        font-size: 14px;
    }
    table th span:nth-child(1) {
        display: none;
    }
    table th span:nth-child(2) {
        display: inline;
    }
}
@media(max-width: 420px){
    table th span {
        font-size: 13px;
    }
    tr td:nth-child(2){
        font-size: 13px;
    }
}
@media(max-width: 380px){
    tr td:nth-child(2){
        font-size: 11px;
    }
}
table a {
    color: black;
}
table a:hover {
    color: #EA6903;
    transition: .3s color;
}

.textLeft{
    text-align: left;
}
