﻿.election-elements #loading.hidden, .layer_mensagem {
    opacity: 0;
    pointer-events: none
}

.dropdown, .election-elements, .election-page #map, .election-page .display {
    position: relative
}

.election-page img {
    display: block;
    text-align: center
}

.election-page svg {
    fill: #ECECEC80
}

.election-page main.ink-grid.content.election-page {
    display: grid;
    grid-template-areas: "election-menu" "election-status" "election-content";
    gap: 10px;
    width: 100%
}

    .election-page .search-reset-container, .election-page main.ink-grid.content.election-page.election-content {
        display: flex;
        flex-direction: column;
        gap: 10px
    }

.election-page {
    padding: 1% 5% 0
}

.layer {
    text-align: center
}

.election-page .center-img, .election-page p {
    margin: 0 auto
}

.election-page .card, .election-page .election-map {
    border-radius: 12px
}

.election-elements #loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 1;
    transition: opacity .6s
}

#conteudo, #icon-previous-election-year, #shareButton, .election-page #reset, .election-page .col-3, .election-page .col-4, .election-page .col-5, .election-page .col-6, .election-page .desktop, .election-page .election-menu .button-group .last-button, .election-pub-billboard {
    display: none
}

.loading video {
    display: block;
    width: 200px;
    height: 200px;
    margin-bottom: 1rem
}

.layer_mensagem {
    width: 100%;
    height: 100%;
    transition: opacity .8s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

    .layer_mensagem.show {
        opacity: 1;
        pointer-events: auto
    }

.loading img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem
}

#mensagem-antes {
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('https://rrsite-images.azureedge.net/img/autarquicas/icones/image_mobile.jpg')
}

.election-page .election-menu .top-row .last-button, .election-pub.card {
    background-color: #fff
}

.election-page .current-election, .election-page .election-menu, .election-page .previous-election {
    display: flex;
    flex-direction: column
}

    .election-page .election-menu .top-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end
    }

    .election-page .election-menu .logo-name {
        font-size: .7rem;
        color: #0000004D
    }

    .election-page .election-menu h1 {
        font-family: 'Roboto ',sans-serif !important;
        font-size: 1.2rem;
        margin: 0
    }

.election-page .logo {
    display: flex;
    align-content: space-around;
    align-items: baseline;
    gap: 4%
}

    .election-page .logo span {
        font-size: 1.5rem;
        color: #00e4bf
    }

.election-page .desktop, .election-page .election-menu .mobile {
    border-top: 6px solid #00e4bf
}

.election-page .election-menu .button-group .menu-button {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 6px 12px;
    background: #eee;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0
}

.election-page .election-menu .menu-button .icon img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 8px
}

.election-page .election-menu .icon {
    width: 20px
}

.election-page .election-menu .button-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 4%
}

.election-page .election-menu a {
    border-radius: 15px;
    padding: 0 4%
}

.election-page .election-menu .last-button {
    display: inline-block;
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 4px 8px;
    line-height: 0;
    cursor: pointer
}

.election-page .election-menu .button-group a {
    border: 1px solid transparent
}

.election-page .election-menu .menu-button .label {
    display: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #00000080
}

.election-page .election-menu .button-group .active-button {
    display: flex;
    gap: 1px;
    align-items: flex-end;
    background-color: #00e4bf;
    color: #1362d8;
    font-size: 14px
}

.dropdown {
    display: inline-block;
    z-index: 999
}

.election-page .election-menu #shareButtonMobile {
    display: flex
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-top: 90px;
    padding: 30%;
    background-color: #f9f9f9;
    left: 50px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.2)
}

.dropdown-content-mobile {
    display: none;
    position: absolute;
    background-color: #fff;
    width: 45px;
    border: 1px solid silver;
    padding: 10px 5px;
    border-radius: 15px;
    right: -5px;
    top: 56px
}

    .dropdown-content a, .dropdown-content-mobile a {
        display: block;
        text-align: center;
        padding: 6px 0
    }

.dropbtn {
    background-color: #4caf50;
    color: #fff;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer
}

.dropdown-content a {
    color: #000;
    text-decoration: none;
    display: block;
    border: none
}

    .dropdown-content a:active {
        background-color: #f1f1f1
    }

.dropdown {
    background: 0 0 !important
}

.election-page .election-status .card {
    background: #fff;
    border: 1px solid #ccc;
    padding: 2% 4%;
    overflow: hidden;
    box-sizing: border-box
}

.election-page .election-status-header {
    display: flex;
    gap: 5px;
    align-items: center
}

.election-page #abstencao-p, .election-page #branco-p, .election-page #nulos-p, .election-page #votantes-p, .election-page .election-latest-update {
    color: #0074ff
}

    .election-page .election-latest-update .date p:first-child {
        font-size: .75rem
    }

.election-page .date {
    margin-top: 1%
}

.election-page #time {
    padding-top: 3px;
    font-size: .7rem
}

.election-page .progress-bar {
    display: flex;
    flex-direction: row;
    gap: 5%;
    width: 100%;
    box-sizing: border-box;
    margin: 1% 0
}

    .election-page .progress-bar > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 50%;
        box-sizing: border-box
    }

        .election-page .progress-bar > div > p {
            margin: 0 0 6px;
            font-weight: 600;
            font-size: .8rem
        }

        .election-page .progress-bar > div > div {
            --w: 0%;
            --c: #0074FF;
            --track: #E9F2FF;
            position: relative;
            width: 100%;
            height: 18px;
            border-radius: 3px;
            background: #dddDDD80;
            overflow: hidden
        }

            .election-page .progress-bar > div > div::before {
                content: "";
                position: absolute;
                inset: 0 auto 0 0;
                width: var(--w);
                background: var(--c);
                border-radius: inherit;
                transition: width .6s
            }

.election-page #votantes {
    --c: #0074FF
}

.election-page #abstencao {
    --c: #0074FF99
}

.election-page #branco {
    --c: #7CB7FF
}

.election-page #nulos {
    --c: #AED3FF
}

.election-page .progress-bar > div.branco, .election-page .progress-bar > div.nulos {
    width: auto
}

.election-page .details {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3%
}

    .election-page .details > div {
        padding: 12px 10%;
        margin-bottom: 3%;
        border-radius: 12px;
        background: #eceCEC80
    }

.election-page .details-title {
    font-size: 15px;
    font-weight: 600;
    color: #7b7b7b
}

.election-page #name {
    font-family: 'Roboto Slab',serif;
    font-weight: 500;
    color: #7b7b7b;
    margin: 1rem 0
}

.election-page .details-current-value {
    font-size: 18px;
    font-weight: 600;
    color: #1362d8
}

.election-page .details-max-value, .election-page .previous-election-swing {
    font-size: 12px;
    font-weight: 400;
    color: #acacac
}

.election-page .details-container p {
    margin: 0 0 5%
}

.election-page .previous-election-year span {
    font-size: 10px
}

.election-page .details .details-container .previous-election .previous-election-year {
    display: inline-block;
    margin: 2% 35% 0 0;
    padding: 1px;
    text-align: center;
    font-size: .6rem;
    border-radius: 6px;
    background-color: #adadad;
    color: #fff
}

.election-page .previous-election-swing-div {
    display: inline-flex;
    margin-top: 8%
}

.election-page .previous-election-swing {
    margin: 0
}

.election-page #abstention-swing-circle, .election-page #blank-votes-swing-circle, .election-page #invalid-votes-swing-circle, .election-page .previous-election-votes-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 11px;
    margin: 0 3px;
    font-weight: 700
}

.election-page .election-map {
    display: flex;
    flex-direction: column;
    margin: 1rem 0
}

    .election-page .election-map .card {
        padding: 3%;
        font-size: .8rem
    }

    .election-page .election-map p {
        color: #7b7b7b
    }

.election-page .button-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: .3rem 0 .7rem;
    border: 1px solid #b3b3b3;
    border-radius: 10px
}

    .election-page .button-container button {
        padding: 2% 6%;
        border: none
    }

.election-page .selected-button {
    background-color: #1362d8;
    border: 0;
    color: #fff;
    border-radius: 10px
}

.button-container button:first-child::after, .button-container button:nth-child(3)::after {
    content: ""
}

.election-page input:focus {
    outline: 0
}

.election-page select {
    display: flex;
    flex: 1;
    padding: 2% 3%
}

.election-page .select {
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    gap: 2%
}

.election-page .display {
    margin: .3rem 0;
    padding: 7px .6rem;
    border: 1px solid #b3b3b3;
    border-radius: 10px;
    background: 0 0;
    color: #00000080;
    cursor: pointer;
    font-size: 12px
}

.election-page .arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    display: inline-block;
    border: solid #b3b3b3;
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(45deg);
    transition: transform .3s
}

.election-page .autocomplete-list, .election-page .options {
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0,0,0,.1);
    border-top: none
}

    .election-page .autocomplete-item, .election-page .options li {
        font-size: 12px;
        white-space: normal;
        word-break: keep-all;
        line-height: 1.5;
        transition: background .2s;
        color: #00000080;
        cursor: pointer
    }

.election-page .custom-select.open .arrow {
    transform: translateY(-50%) rotate(-135deg)
}

.election-page .options {
    border-radius: 7px;
    max-width: 500px;
    display: none;
    max-height: 400px;
    z-index: 10;
    padding: 0;
    margin: 0;
    list-style: none
}

.election-page .custom-select.open .options {
    display: block
}

.election-page .options li {
    padding: 0 2%
}

    .election-page .options li:hover {
        background: #dddDDD80
    }

.election-page .options::-webkit-scrollbar {
    width: 6px
}

.election-page .options::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px
}

.election-page input {
    padding: 7px 3% 3% 30px;
    border: 1px solid #b3b3b3;
    border-radius: 10px;
    color: #00000080;
    width: 100%;
    margin-top: 2%;
    font-size: .7rem;
    background: 0 0;
    color: #00000080
}

.election-page .search-wrapper {
    position: relative;
    width: 100%
}

.election-page .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px
}

.election-page button {
    padding: 2% 5%;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    font-size: .75rem;
    background-color: transparent;
    color: #7b7b7b
}

.election-page .autocomplete-list {
    position: absolute;
    max-height: 260px;
    width: 100%;
    overflow-x: hidden;
    border-radius: 7px;
    z-index: 999
}

    .election-page .autocomplete-list::-webkit-scrollbar {
        width: 5px
    }

    .election-page .autocomplete-list::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.25);
        border-radius: 8px
    }

.election-page .autocomplete-group {
    padding: 6px 8px;
    font-weight: 700;
    background: #f0f0f0;
    color: #00000080
}

.election-page .autocomplete-item {
    padding: 8px
}

.autocomplete-item.active, .autocomplete-item:hover {
    background: #dddDDD80;
    color: #00000080
}

.election-page #reset, .election-page #reset-mobile {
    background-color: #7b7b7b;
    color: #fff
}

.election-page #toggle-map {
    display: flex;
    align-items: center;
    gap: 10px
}

    .election-page #toggle-map img {
        padding-right: 5px
    }

.election-page .search-reset-mobile-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px
}

.election-page .legend {
    margin: 2% 0;
    display: flex
}

    .election-page .legend p {
        font-size: .75rem;
        color: #4d4d4d;
        margin: 0
    }

.election-page p.no-results {
    margin: 2%;
    font-weight: 700
}

.election-page .election-details {
    color: #7b7b7b;
    font-size: .8rem
}

.election-page table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed
}

.election-page th {
    font-size: 13px;
    border: none;
    background-color: transparent
}

.election-page tr + tr td {
    border-top: 3px solid #fff
}

.election-page td {
    text-align: center;
    background-color: #eceCEC80;
    border: none
}

.election-page .rounded-right, .election-page tr td:nth-child(7), .election-page tr th:nth-child(7) {
    border-radius: 0 10px 10px 0
}

.election-page .my-table-th th {
    padding: .1rem !important;
    border-radius: 10px
}

.election-page .inline-btn {
    background: 0 0;
    border: none;
    font-size: 16px;
    margin: 0 4px;
    cursor: pointer;
    vertical-align: middle
}

.election-page .col-1, .election-page .col-2 {
    display: table-cell;
    color: #fff;
    font-weight: 900
}

.election-page .mobile-visible {
    display: table-cell !important
}

.election-page .col-1 {
    text-align: left;
    width: 20%;
    padding-left: 1%
}

.election-page .col-2 {
    width: 20%
}

.election-page .cell-wrapper {
    display: flex;
    align-items: center;
    height: 2.5rem;
    max-width: 71px
}

.election-page .ellipsis-cell {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.2;
    height: calc(1.2em * 2);
    max-width: 60px;
    word-break: break-word
}

.election-page .col-2 .bottom-number {
    color: #fffFFF99
}

    .election-page .col-2 .bottom-number span {
        color: #fff
    }

.election-page .th-bar, .election-page td.bar-cell {
    width: 30%
}

.election-page .bar {
    background-color: #ff4671;
    border-radius: 0 10px 10px 0;
    border-left: 2px solid #ececec;
    height: 43px
}

.election-page .vote-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px
}

    .election-page .vote-info .previous-election-votes-circle {
        font-size: 13px;
        color: #fff;
        margin: 0
    }

.election-page .up-number {
    font-size: .7rem;
    font-weight: 800
}

.election-page .bottom-number {
    font-size: .7rem;
    font-weight: 300
}

.election-page .vote-bottom-number {
    padding-left: 20%
}

.election-page .bottom-table {
    padding: 10px 0;
    background: #7b7b7b;
    color: #fff
}

.election-page .table-title p {
    font-family: 'Roboto Slab',serif;
    text-align: left;
    font-size: .6rem;
    color: #7b7b7b
}

.election-page .th-col-3 {
    display: flex;
    justify-content: center;
    align-items: center
}

.election-page .my-table-th {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1%
}

.election-page .th-text {
    margin-top: 4%;
    text-align: center;
    line-height: 1;
    font-size: .6rem;
    font-weight: 400
}

.election-page .election-details .previous-election-year {
    display: inline-block;
    margin: 5% 0 0;
    padding: 1px 4px;
    text-align: center;
    font-size: .6rem;
    border-radius: 6px;
    background-color: #adadad;
    color: #fff
}

.election-page th .my-table-th {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 5px;
    text-align: center
}

    .election-page th .my-table-th img.center-img {
        display: block;
        margin: 0 auto 4px
    }

.election-page .arrow-icon {
    margin: 0;
    object-fit: contain;
    width: 25px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.election-page #btn-next, .election-page #btn-next-2, .election-page #btn-prev, .election-page #btn-prev-2 {
    border: none;
    background: 0 0;
    padding: 0
}

.election-page #map-name {
    font-family: 'Roboto Slab',serif;
    font-weight: 500;
    color: #7b7b7b;
    margin: 0;
    width: 30%
}

.election-page .map-content {
    display: flex;
    justify-content: space-between
}

.election-page #map-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start
}

    .election-page #map-buttons button {
        padding: 0;
        border: none;
        background-color: transparent
    }

.election-page .my-map {
    width: 100%;
    height: 400px;
    display: block
}

.election-page #map-container path, .election-page #map-container polygon {
    stroke: #fff;
    cursor: pointer;
    transition: fill .2s
}

.election-page .title-island {
    font-family: Roboto,serif;
    font-size: 2rem;
    fill: #7B7B7B
}

.election-page .no-border-radius-top {
    border-radius: 0 0 12px 12px !important
}

.election-page #tooltip {
    display: none;
    position: fixed;
    background-color: #fff;
    color: #000000B2;
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
    font-weight: 200;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    white-space: nowrap
}

.election-page #loading, .election-page #loading-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    color: #555;
    z-index: 1000
}

.election-page .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: 1s linear infinite spin;
    margin-bottom: 1rem
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.election-page .zoom-container {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    touch-action: none
}

.election-page .zoom-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 9999;
    background: #fff;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    cursor: pointer
}

.election-page #legend-map {
    display: none;
    gap: 1rem;
    margin: 0 0 4%
}

    .election-page #legend-map .legend-col {
        display: flex;
        flex-direction: column;
        gap: .25rem
    }

    .election-page #legend-map p {
        font-size: .7rem;
        margin: 0
    }

@media (min-width:768px) and (max-width:1439px) {
    .election-page .election-menu .button-group {
        display: flex;
        gap: 10px;
        justify-content: flex-start
    }

    .election-page .election-menu #shareButtonMobile {
        display: flex
    }

    .election-page .election-menu .last-button {
        margin: 0 10px;
        padding: 0 8px
    }

    .election-page .election-menu .top-row {
        display: flex;
        justify-content: flex-start;
        gap: 2%
    }

    .election-page .election-status .election-latest-update-details .details .details-container {
        display: flex;
        justify-content: space-between
    }

        .election-page .election-status .election-latest-update-details .details .details-container p, .election-page .previous-election-swing, .election-page .previous-election-year {
            margin: 0
        }

    .election-page .previous-election {
        font-size: 10px;
        justify-content: end
    }

    .election-page .details .details-container .previous-election .previous-election-year {
        margin: 3% 75% 0 0
    }

    .election-page .previous-election-swing-div {
        justify-content: center;
        margin-top: 10%
    }

    .election-page .previous-election-year span, .election-page .up-number {
        font-size: 12px
    }

    .election-page .previous-election-swing {
        font-size: 1em
    }

    .election-page select {
        padding: 1%
    }

    .election-page .select {
        margin-top: 1%
    }

    .election-page .options {
        max-width: 100%
    }

    .election-page .button-container button {
        padding: 2% 1%;
        font-size: 12px
    }

    .election-page .button-container {
        display: flex;
        justify-content: center;
        width: 40%
    }

    .election-page input {
        margin-top: .3rem;
        padding: 10px 3% 10px 30px
    }

    .election-page .search-icon {
        top: 60%
    }

    .election-page button {
        padding: 1% 5%
    }

    .election-page th {
        text-align: center
    }

    .election-page .my-table-th {
        display: flex;
        justify-content: center
    }

    .election-page .col-3, .election-page .col-4, .election-page .col-5, .election-page .col-6, .election-page td.th-bar, .election-page th.th-bar {
        display: table-cell
    }

    .election-page .ellipsis-cell {
        max-width: 50px
    }

    .election-page .th-col-3 {
        display: flex;
        justify-content: end;
        margin-right: 25px
    }

    .election-page .col-3-wrapper {
        display: flex;
        align-items: center;
        gap: 8px
    }

    .election-page .vote-icon {
        margin-left: 15%
    }

    .election-page .vote-bottom-number {
        padding-left: 30%
    }

    .election-page .inline-btn {
        display: none
    }

    .election-page .th-text {
        margin-top: 10%
    }

    .election-page .bottom-table-bar {
        display: block;
        height: 40px;
        width: 100%
    }

    .election-page .bar-container {
        width: 100px
    }

    .election-page .bar {
        width: 40px;
        height: 43px;
        padding: 0;
        border-radius: 0 10px 10px 0;
        background-color: transparent
    }

    #mensagem-antes {
        height: 60vh;
        background-image: url('https://rrsite-images.azureedge.net/img/autarquicas/icones/image_desktop.jpg')
    }
}

@media (min-width:1440px) {
    .election-content {
        display: grid;
        grid-template-areas: "election-details election-map";
        grid-template-columns: 63% 37%;
        gap: 10px;
        z-index: -999
    }

    .election-details {
        order: initial;
        grid-area: election-details;
        max-height: auto;
        grid-column: 1;
        grid-row: 1/3
    }

    .election-map {
        grid-column: 2;
        grid-row: 1;
        order: initial;
        grid-area: election-map;
        max-height: auto
    }

    .election-pub {
        grid-column: 2;
        grid-row: 2;
        background: #eceCEC80
    }

    .loading video {
        width: 400px;
        height: 400px
    }

    #mensagem-antes {
        background-image: url('https://rrsite-images.azureedge.net/img/autarquicas/icones/image_desktop.jpg')
    }

    .election-page .election-menu {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
        gap: 10px
    }

        .election-page #reset-mobile, .election-page #toggle-map, .election-page .election-menu .top-row .last-button, .election-page .inline-btn, .election-page .mobile-hr, .election-pub-billboard, .options {
            display: none
        }

    .dropdown-content {
        top: 96%;
        left: 28%;
        right: 0;
        margin-top: 10px;
        padding: 12%
    }

    .election-page .election-menu a {
        border-radius: 33px
    }

    .election-page .election-menu .button-group::after {
        content: "";
        display: inline-block;
        width: 0;
        height: 0
    }

    .election-page .election-menu .button-group {
        gap: 2%;
        width: 30%
    }

        .election-page .election-menu .button-group .menu-button {
            padding: 0 11px
        }

        .election-page .election-menu .button-group .active-button {
            align-items: center
        }

        .election-page .election-menu .button-group .label {
            display: inline-block;
            font-size: 13px;
            padding-left: 5px
        }

        .election-page .election-menu .button-group .last-button {
            display: block;
            border: 1px solid #ccc;
            background-color: #fff
        }

        .election-page .election-menu .button-group .menu-button .label {
            display: inline
        }

    .custom-select.open .options, .election-page .desktop {
        display: block
    }

    .election-page .election-status {
        display: grid;
        grid-template-areas: "election-latest-update election-latest-update-details";
        grid-template-columns: 25% 75%;
        gap: 10px;
        margin-bottom: 1%
    }

    .election-page .election-latest-update {
        grid-area: election-latest-update
    }

    .election-page .election-latest-update-details {
        grid-area: election-latest-update-details
    }

    .election-page .details {
        grid-template-columns: repeat(auto-fit,minmax(0,1fr));
        max-width: 1440px;
        gap: 1%
    }

    .election-page #name {
        margin: .5rem 0
    }

    .election-page .details > div {
        padding: 12px 2%
    }

    .election-page .details .details-title, .election-page .table-title p {
        font-size: .7rem
    }

    .election-page .details .details-current-value {
        margin: 0;
        font-size: 1.2rem
    }

    .election-page .details .details-max-value {
        font-size: .7rem;
        margin: 0
    }

    .election-page .button-container, .election-page .details .details-container {
        display: flex;
        justify-content: space-between
    }

        .election-page .details .details-container .previous-election {
            font-size: 10px;
            justify-content: end
        }

    .election-page .previous-election-year span {
        font-size: 12px
    }

    .election-page .details .details-container .previous-election .previous-election-swing, .election-page .details .details-container .previous-election .previous-election-year {
        margin: 0
    }

    .election-page .previous-election-swing-div {
        justify-content: center;
        margin-top: 10%
    }

    .election-page .previous-election-swing {
        font-size: 1em
    }

    .election-page .election-map {
        margin: 0;
        padding: 0
    }

    .election-page .button-container button {
        padding: 7px;
        font-size: 12px
    }

    .election-page .button-padding, .election-page .first-button {
        padding: 2% 3% !important
    }

    .election-page .third-button {
        padding: 2% !important
    }

    .election-page select {
        display: flex;
        flex: 1;
        padding: 2% 3%
    }

    .election-page .select {
        display: flex;
        flex-direction: row;
        margin-top: 1%;
        gap: 2%
    }

    .election-page .display {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90px
    }

    .election-page .options {
        position: absolute;
        top: 100%;
        left: -380px;
        width: 500px;
        max-height: 260px;
        overflow-y: auto
    }

        .election-page .options li {
            padding: 1% 0 1% 3%
        }

    .election-page .autocomplete-list {
        z-index: 0
    }

    .election-page .search-reset-container {
        flex-direction: row;
        align-items: center;
        gap: 10px
    }

    .election-page .search-wrapper {
        flex: 1
    }

    .election-page .search-icon {
        top: 60%
    }

    .election-page #reset {
        display: inline-block;
        margin-top: 2%
    }

    .custom-select {
        position: relative;
        width: 220px
    }

        .custom-select[data-disabled=true] {
            opacity: .5;
            pointer-events: none
        }

    .election-page .election-details {
        padding: 2% 1%
    }

    .election-page th {
        text-align: center
    }

        .election-page .col-3, .election-page .col-4, .election-page .col-5, .election-page .col-6, .election-page td.th-bar, .election-page th.th-bar {
            display: table-cell
        }

    .election-page .col-1, .election-page .col-2 {
        width: 10%
    }

    .election-page .th-col-3 {
        display: flex;
        justify-content: end;
        margin-right: 25px
    }

    .election-page .my-table-th {
        display: flex;
        justify-content: center;
        padding: 5%
    }

    .election-page .cell-wrapper {
        max-width: 60px
    }

    .election-page .vote-icon {
        margin-right: 15%
    }

    .election-page .col-3-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px
    }

    .election-page .th-text {
        margin-top: 10%;
        font-size: .7rem
    }

    .election-page .up-number {
        font-size: .7rem;
        font-weight: 600
    }

    .election-page .bottom-number {
        font-size: .7rem;
        font-weight: 300
    }

    .election-page .vote-bottom-number {
        text-align: right
    }

    .election-page .bottom-table-bar {
        display: block;
        height: 40px;
        width: 100%;
        border-top: 1px solid #fff
    }

    .election-page .bar-container {
        width: 100px
    }

    .election-page .bar {
        width: 40px;
        height: 43px;
        padding: 0;
        border-radius: 0 10px 10px 0;
        background-color: transparent
    }

    .election-page #map-name {
        width: 100%;
        margin: 0;
        font-size: .8rem
    }

    .election-page .map {
        display: block !important
    }

    .election-page .election-map .card {
        padding: 1% 3%;
        border-radius: 0 12px
    }

    .election-page #map-container {
        display: block !important;
        height: auto
    }

    .election-page .my-map {
        height: 600px
    }

    .election-page .no-border-radius-bottom {
        border-radius: 12px 12px 0 0 !important
    }

    .election-page .no-border-radius-top {
        border-radius: 0 0 12px 12px !important
    }

    .election-page #map {
        position: static
    }

    .election-pub.card img {
        margin: 0 auto
    }

    .election-page .last-news {
        padding-left: 1%
    }
}
