.plantilla {
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 990px;
    min-height: 90vh;
    margin: auto;
    background-color: #fff
}
.plantilla * {
    font-family: 'Lato', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: none;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
.modulo {
    position: relative;
    margin-bottom: 40px;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}
.modulo-tab-list {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
    border-top: 2px solid #000;
    border-bottom: 1px dotted #e2e2e2;
    background-color: #fff;
    text-align: left;
    font-size: 0;
    line-height: 1rem
}
.modulo-tab-list-item {
    position: relative;
    display: inline-block;
    border-right: 1px dotted #e2e2e2;
    border-bottom: 3px solid #fff;
    cursor: pointer;
    font-size: .875rem
}
.modulo-tab-list-item:not(.modulo-tab-list-item--static).is-activado,
.modulo-tab-list-item:not(.modulo-tab-list-item--static):hover {
    border-bottom: 3px solid #333;
    background-color: #fff
}
.modulo-tab-list-item:not(.modulo-tab-list-item--static).is-activado {
    font-weight: 700
}
.modulo-tab-list-item--static {
    display: none;
    padding: 15px 15px 10px 0;
    cursor: initial;
    font-size: 1.25rem;
    font-weight: 900
}
@media (min-width: 768px) {
    .modulo-tab-list-item--static {
        display: inline-block
    }
}
.modulo-tab-list-item:last-child {
    border-right: 0
}
.modulo-tab-list-link {
    display: block;
    padding: 15px 14px 10px 14px;
    color: #000;
    text-decoration: none
}
.modulo-tab-list-link:hover {
    text-decoration: none
}
.breadcrumb-list {
    margin-bottom: 10px;
    padding-left: 0;
}
.breadcrumb-list-item {
    display: inline-block
}
.breadcrumb-list-item:after {
    position: relative;
    display: inline-block;
    border: solid #218fcd;
    border-width: 0 1px 1px 0;
    content: '';
    padding: 2px;
    margin-right: 5px;
    transform: rotate(-45deg)
}
.breadcrumb-list-item:last-child:after {
    content: inherit;
    content: initial
}
.breadcrumb-list-link {
    display: inline-block;
    font-size: .75rem !important;
    line-height: .75rem;
    color: #326891 !important;
}
.breadcrumb-list-span {
    display: inline-block;
    font-size: .75rem;
    line-height: .75rem
}
.heading {
    text-align: left;
    color: #000
}
.heading--h2 {
    margin: 0 auto;
    padding-bottom: 15px;
    border-bottom: 1px dotted #dcdcdc;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.7rem;
    min-height: 1.7rem;
}
@media (min-width: 768px) {
    .heading--h2 {
        font-size: 3rem;
        line-height: 3rem;
        min-height: 3rem;
    }
}
.heading--h3 {
    margin: 0 auto 20px;
    padding-top: 15px;
    border-top: 1px dotted #dcdcdc;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5rem
}

.heading--h3 > span {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5rem  
}

@media (min-width: 768px) {
    .heading--h3 {
        margin-bottom: 30px !important;
        font-size: 2rem;
        line-height: 2rem
    }
    .heading--h3 > span {
        font-size: 2rem;
        line-height: 2rem
    }
}
.heading--h5 {
    color: #999;
    margin: 0 auto 5px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1rem
}
@media (min-width: 768px) {
    .heading--h5 {
        font-size: 1.3rem;
        line-height: 1.3rem
    }
}
.heading--no-border {
    padding-top: 0;
    border-top: 0
}

@media (min-width: 768px) {
    .plantilla {
        width: 100%
    }
}
.plantilla-wrapper {
    display: flex;
    flex-direction: column
}
@media (min-width: 768px) {
    .plantilla-wrapper {
        flex-direction: row;
        justify-content: space-between
    }
}
.plantilla-content {
    width: 100%;
    max-width: 655px;
    margin: 0
}
.scrutiny-info {
    position: relative;
    margin-bottom: 20px
}
@media (min-width: 768px) {
    .scrutiny-info {
        position: absolute;
        top: 15px;
        right: 0;
        margin-bottom: 0
    }
}
.scrutiny-info-icon {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    border: 2px solid #218fcd;
    border-radius: 50%;
    vertical-align: middle
}
.scrutiny-info-icon:after {
    position: absolute;
    top: 1px;
    right: 1px;
    left: 1px;
    content: '';
    display: block;
    border-radius: 50%;
    bottom: 1px;
    background-color: #e3e7f2
}
.scrutiny-info-icon.is-activado:after {
    animation: stretch 1.7s ease infinite
}
.scrutiny-info-text {
    font-weight: 700;
    font-size: .75rem
}
.table {
    table-layout: fixed;
    display: table;
    width: 100%;
    margin: 0 auto 20px;
    border-collapse: collapse;
    overflow-x: auto
}
@media (min-width: 768px) {
    .table--mid {
        display: inline-table;
        width: 49%
    }
}
.table-th {
    padding: 5px 20px;
    vertical-align: middle;
    font-size: .75rem;
    font-weight: 900;
    line-height: 1.1rem;
    letter-spacing: .125rem;
    text-transform: uppercase;
    text-align: center
}
.table-th--bg {
    padding: 10px 0px;
    border-right: 3px solid #fff;
    background-color: #ededed;
    font-weight: 900
}
@media (min-width: 768px) {
    .table-th--bg {
        padding: 10px 20px
    }
}
@media (min-width: 768px) {
    .table-th--partys {
        padding-left: 40px;
        text-align: left
    }
}
.table-th--small {
    width: 50px;
    padding: 10px 0
}
@media (min-width: 768px) {
    .table-th--small {
        width: 100px
    }
}
@media (min-width: 768px) {
    .table-th {
        font-size: .8125rem
    }
}
.table-td {
    padding: 10px 5px;
    white-space: nowrap;
    vertical-align: middle;
    font-size: .75rem;
    line-height: 1.1rem;
    text-align: center
}
.table-td--bg {
    width: 90px;
    border-bottom: 2px solid white;
    background-color: #ededed;
    font-weight: 700
}
.table-td--partys {
    padding-left: 0;
    overflow: hidden;
    font-weight: 700;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap
}
@media (min-width: 768px) {
    .table-td {
        font-size: .8125rem
    }
}
.table-td-span {
    display: none
}
@media (min-width: 768px) {
    .table-td-span {
        display: inline-block;
        width: 25px;
        height: 25px;
        margin-right: 10px;
        vertical-align: middle;
        opacity: .8;
        background-color: #739299
    }
}
.table-tr {
    border-bottom: 1px solid #e2e2e2
}
.table-tr:last-child {
    border-bottom: 0
}
.table-tr--dotted {
    border-bottom: 1px dotted #e2e2e2
}
.modulo-tab-btn {
    position: relative;
    display: flex;
    width: 100%;
    margin-bottom: 20px
}
.modulo-tab-btn-button {
    position: relative;
    width: 50%;
    max-width: 110px;
    margin-right: 1px;
    padding: 10px 20px;
    border: 0;
    background-color: #dcdcdc;
    cursor: pointer;
    font-size: .8125rem;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
}
.modulo-tab-btn-button.is-activado {
    background-color: #ededed;
    border-bottom: 4px solid #000;
    font-weight: 700
}
.modulo-tab-btn-button:hover {
    background-color: #ededed;
    text-decoration: none
}
.modulo-tab-btn-button:focus {
    outline: 1px solid #ededed;
    outline-offset: -4px
}
.modulo-tab-btn-button:active {
    transform: scale(0.99)
}
@keyframes stretch {
    0% {
        background-color: #e3e7f2
    }

    100% {
        background-color: #218fcd
    }
}
.result-list {
    min-height: 50px;
    column-count: 2;
    padding: 0;
    list-style: none;
}
@media (min-width: 768px) {
    .result-list {
        column-count:4
    }
}
.hide {
  display: none;
}
.leaflet-popup-content-wrapper {
    border-radius: 0px !important;
    background: #fbfbfb !important;
}
.leaflet-popup-content {
    margin: 10px !important;
    min-width: 270px;    
}
div#mapa-provincia .leaflet-popup-content {
    min-width: 270px;
}
.leaflet-popup-content h5 {
    border-bottom: 1px dotted #999;
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700
}
.leaflet-popup-content:firts-child {
    margin-top: 5px !important;
    margin-bottom: 0px !important;
}
.leaflet-popup-content table {
    width: 100%;
}
.leaflet-popup-content tr {
    font-size: .625rem;
    line-height: 18px;
    margin-bottom: 3px
}
.leaflet-popup-content tr:first-child {
    font-size: .875rem;
}
.leaflet-popup-content tr:first-child td {
    font-weight: bold;
}
.leaflet-popup-content tr > td {
    text-align: right;
    color: #000;   
}
.leaflet-popup-content tr > td:first-child {
    text-align: left;
    max-width: 100px;
    min-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.leaflet-popup-content p.escrutado {
    display: block;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    text-align: right;
    font-size: .75rem;
    margin-top: 5px;
    padding-top: 5px;
    margin-bottom: 5px;
    border-top: 1px dotted #999;    
}
.leaflet-popup-content p.ver-datos {
    display: block;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.modulo-hemicycle {
    width: 75%;
    margin-left: 12%;
}
.modulo-text {
    position: absolute;
    display: inline-block;
    padding: 10px 20px;
    background-color: #ededed;
    color: #000;
    font-size: 1.125rem;
    font-weight: 400;
    left: 0;
    top: 60px;
}
#mayoria-wrapper {
    position: absolute;
    bottom: 125px;
    text-align: center;
    width: 75%;
}
span.mayoria-num,
span.mayoria-text {
    clear: both;
    display: block;
}
span.mayoria-bar {
    height: 50%;
    position: absolute;
    bottom: 165px;
    text-align: center;
    width: 75%;
    pointer-events: none;
}
span.mayoria-bar > span.bar {
    position: relative;
    padding-left: 50%;
    width: 2px;
    display: block;
    height: 100%;
    background-image: linear-gradient(#727272 33%, rgba(255,255,255,0) 0%);
    background-position: right;
    background-size: 3px 5px;
    background-repeat: repeat-y;
    pointer-events: none;
}
@media (max-width: 768px) {
    .modulo-hemicycle {
        width: 100%;
        margin-left: 0;
    }
    span.mayoria-bar,
    #mayoria-wrapper,
    span.mayoria-bar {
        width: 100%;
    }
    #mayoria-wrapper{
        bottom: 145px; 
    }
    span.mayoria-bar {
        height: 35%;
        bottom: 190px;
    }
     div.modulo-hemicycle > div.modulo-text {
        right: 0;
        top: 8px;  
    }
    div.modulo-hemicycle > div.modulo-tooltip-wrapper {
        margin-top: 45px;
    }
    select {
        width: 100%;
    }
}

a.result-list-link {
    color: #326891 !important;
    font-size: .875rem !important;
    line-height: 1rem;
    text-decoration: underline;
}
.pactometer-info-text {
    display: block;
    margin-bottom: 20px;
    font-size: .6875rem;
}
.pactometer-partys {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 30px;
}
.pactometer-seats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 2rem;
}
.pactometer-bar {
    position: relative;
    background-color: #ededed;
    display: flex;
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
}
.pactometer-majority-line {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    content: '';
    width: 2px;
    height: 55px;
    margin: auto;
    background-color: #000;
}
.pactometer-info {
    display: block;
}
.pactometer-info-text--secondary {
    color: #999;
    font-size: .875rem;
    text-align: center;
}
.pactometer-btn {
    position: relative;
    width: 56px;
    height: 56px;
    margin-right: 4px;
    margin-bottom: 5px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background-color: #ccc;
    transition: all .5s ease;
    color: #fff;
    font-size: 0.6rem;
    word-break: break-all;
}
.pactometer-seats-label {
    font-size: 1rem;
}
div.party-bar-box {
    display: contents;
    width: 100%;
}