/* Minification failed. Returning unminified contents.
(2021,23): run-time error CSS1063: Expected calculation unit, found 'calc('
(2021,23): run-time error CSS1064: Expected calculation product, found 'calc('
(2021,23): run-time error CSS1019: Unexpected token, found 'calc('
(2021,23): run-time error CSS1042: Expected function, found 'calc('
(2021,41): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(2049,28): run-time error CSS1063: Expected calculation unit, found 'calc('
(2049,28): run-time error CSS1064: Expected calculation product, found 'calc('
(2049,28): run-time error CSS1019: Unexpected token, found 'calc('
(2049,28): run-time error CSS1042: Expected function, found 'calc('
(2049,47): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
 */
/*=================LOCALIDADES========================*/
.content-localidad{
    padding:0px 100px;
    max-width: 1300px;
    margin: 0 auto;
}
.content-localidad>div:first-child{
    padding:10px;
}
.content-localidad .frmBusqueda{
    /*margin-top:20px;*/
    height:0px;
    overflow:hidden;
    transition: height 2s;
    border: 1px solid #b3b3b3;
    border-top-color: #2d2d2d;
}
.content-localidad .frmBusqueda .grid{
    padding: 15px;
    box-sizing: content-box;
}
.cerrarBusquedaLocalidad{
    text-align: right;
    margin-bottom: 5px;
    font-size: 10px;
    cursor:pointer;
}
#gridBusquedaLocalidad tbody tr:hover {
    cursor: pointer;
}
.cabecera-datos-localidades{
    margin:20px 0px;
    width:100%;
    min-height:420px;
    height:auto;
}
.mapa{
    position:relative;
    float:left;
    width:340px;
    height:420px;
    /*background-color:#fff;
    box-shadow:0 0 5px 0px #2d2d2d;*/
    border:1px solid #c7c7c7;/*#a6a6a6;*/
    overflow:hidden;
}
.mapaHover{
    position:absolute;
    top:0;
    left:0;
    overflow:hidden;
    width:100%;
    height:0px;
    background-color:#2d2d2d;
    transition: height 1s;
}
.mapa img{
    width:100%;
    height:100%;
}
.datos-mapa{
    /*float:left;
    width:calc((100%) - 355px);
    height:100%;
    margin-left:15px;*/
    float: left;
    width: calc((100%) - 355px);
    height: 420px;
    max-height: 420px;
    background-color: #e5e6e8;
    margin-left: 15px;
    padding: 10px;
    border: 1px solid #c7c7c7;/*d7d8da*/
}
.datos-mapa h5{
    margin:0;
    position:relative;
}
#avisoPolitico {
    border: 1px solid #B12009;
    margin: 15px 0;
    padding-left: 10px;
    font-size: 11px;
    line-height: 37px;
    height: 37px;
    opacity: 1;
    transition: height 2s, opacity 2s;
    overflow: hidden;
}
/*-----------DATOS PERU----------*/
.datos-mapa .datos-peru{
    height:140px;
    font-size:11px;
    border-bottom: 1px solid #c7c7c7;
}
.circle-i{
    width: 13px;
    height: 13px;
    background-color: #000;
    line-height: 12px;
    border-radius: 50%;
    text-align: center;
    float: left;
    margin-top: 3px;
}
.circle-i + .title{
    font-size:13px;
}
.datos-peru .datos{
    height:50px;
    line-height:20px;
    padding:15px 0px;
}
.datos-peru .capital{
    width:calc((25%) - 1px);
    float:left;
}
.datos-peru .superficie,
.datos-peru .poblacion{
    width:calc((75%) / 2);
    float:left;
}
.datos-peru .superficie,
.datos-peru .capital{
    padding-right:10px;
}
.datos .etiqueta{
    background-color: #c7c7c7;/*#d6d5d5;*/
    padding: 1px 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    float: left;
    width: 85px;
    height: 22px;
    font-weight:600;
    color:#676767;
}
.datos .etiqueta2{
    background-color: #c7c7c7;/*#d6d5d5;*/
    padding: 4px 9px 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    width:140px;
    float:left;
    margin-bottom: 5px;
    font-weight:600;
    color:#676767;
}
.datos .etiqueta:before,
.datos .etiqueta2:before{
    content: '';
    position: absolute;
    border-color: transparent transparent transparent #c7c7c7;/*#d6d5d5;*/
    border-width: 5px;
    border-style: solid;
    top: 6px;
    left: 100%;
}
.datos .control{
    background-color: #fff;
    padding: 1px 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    width: calc((100%) - 85px);
    /*min-width:157px;*/
    text-align: center;
    height: 22px;
    border: 1px solid #c7c7c7;/*#d6d5d5;*/
}
.datos .control2{
    background-color: #fff;
    padding: 3px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    width: calc((100%) - 140px);
    text-align: center;
    border: 1px solid #c7c7c7;/*#d6d5d5;*/
    height: 23px;
}

.capital .etiqueta{
    width: 55px;
}
.capital .control{
    width: calc((100%) - 55px);
    min-width:102px;
}

.electores{
    height:60px;
    padding:5px;
    border-radius: 5px;
    background-color: #d6d5d5;
    border-bottom: 1px solid #c7c7c7;
    border-right: 1px solid #c7c7c7;
}
.electores .cantElectores{
    position:relative;
    width:85px;
    height:100%;
    background-color:#000;
    padding:10px;
    border-radius:5px;
    margin-right:10px;
    text-align:center;
    font-size:9px;
}
.electores .cantElectores:before{
    content:'';
    position:absolute;
    top:20px;
    left:100%;
    border-style:solid;
    border-color:transparent transparent transparent #000;
    border-width:5px;
}
.electores .cantElectores>span{
    font-size:13px;
}
.electores .fa-male,
.electores .fa-female{
    font-size:4.5em;
    float:left;
    margin:0px 10px;
    color:#000;
}
.electores .datos-progress{
    width:calc((100%) - 200px);
    margin-top:5px;
}
.datos-progress b{
    position:relative;
}
.datos-progress b:nth-child(-n+2):before{
    content:'';
    position:absolute;
    top:6px;
    border-style:solid;
    border-width:3px;
    border-color:transparent transparent transparent #F49600;
}
.datos-progress b:nth-child(2):before{
    border-color:transparent #B12009 transparent transparent;
    right:0px;
}
.datos-progress>div:nth-child(-n+2){
    width:50%;
    float:left;
}
.datos-progress>div:nth-child(3){
    width:100%;
    float:left;
    margin: 5px 0px;
}
.electores .leyenda{
    font-size: 8.5px;
    font-family: 'Exo 2';
}
.datos-mapa .autoridades{
    height:150px;
    font-size:11px;
    border-top:1px solid #fff;
    padding-top:8px;
}
.autoridades .autoridades-imagen{
    font-size:10px;
    margin-top:10px;
    margin-bottom:10px;
    box-shadow: 0px 1px 0px #fff;
    width:100%;
}
.autoridades .autoridades-imagen tr{
    margin-bottom:10px;
}
.autoridades .autoridades-imagen tr td{
    width:calc((100%) / 5);
    min-width: 20%;
}
.autoridades .autoridades-imagen tr td:nth-last-child(3){
    box-shadow: inset -1px 0px 0px #c7c7c7;
}
.autoridades .autoridades-imagen tr.datos td{
    vertical-align:middle;
    padding-top:5px;
    border-bottom: 1px solid #c7c7c7;
    padding-bottom: 10px;
}
.autoridades .autoridades-imagen tr.datos td div{
    margin:0 auto;
    max-width:100px;
}
.autoridad4{
    border-left: 1px solid #fff;
}
.autoridades-imagen img{
    width:60px;
    vertical-align:bottom;
    border: 1px solid #c7c7c7;
}
.autoridad4 img,
.autoridad5 img{
    width: 70px;
    border-width: 0px;
}
.autoridades-imagen .congreso img{
    width:70px;
    padding-top:15px;
}
.autoridades-imagen .politico img{
    padding-top:20px;
}
.autoridades-lista .datos>div{
    width:50%;
    float:left;
}
.autoridades-lista .datos>div:nth-child(1){
    padding-right:10px;
}
/*-----------DATOS REGIONALES------------*/
.datos-mapa .datos-regiones{
    height:160px;
    font-size:11px;
}
.datos-regiones>.datos{
    height:65px;
    text-align:center;
    padding-top:10px;
}
.datos-regiones>.datos div{
    width:50%;
    float:left;
    margin-bottom:5px;
}
.datos-regiones>.datos div:nth-child(even){
    padding-left:10px;
}
.datos-regiones .datos .etiqueta{
    /*background-color: #c7c7c7;/*#d6d5d5;*/
    padding: 4px 10px;
    /*border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    float:left;*/
    width:100px;
}
/*.datos-regiones .datos .etiqueta2{
    background-color: #c7c7c7;/*#d6d5d5;
    padding: 4px 10px 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    width:140px;
    float:left;
    margin-bottom: 5px;
}*/
.datos-regiones .datos .control{
    padding: 3px;
    /*background-color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    text-align: center;
    border: 1px solid #c7c7c7;/*#d6d5d5;*/
    width: calc((100%) - 100px);
}
/*.datos-regiones .datos .control2{
    background-color: #fff;
    padding: 3px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: left;
    width: calc((100%) - 140px);
    text-align: center;
    border: 1px solid #c7c7c7;/*#d6d5d5;/
}*/
.datos-regiones .autoridades-lista{
    height:63px;
    margin-top:5px;
    border-bottom:1px solid #c7c7c7;
}
.datos-regiones .autoridadesRegionales-electas{
    border-top:1px solid #fff;
    padding-top:8px;
}
.datos-regiones .grid{
    margin-top:10px;
}
.autoridadesRegionales-electas .fixed-table-body::-webkit-scrollbar,
.autoridadesProvinciales-electas .fixed-table-body::-webkit-scrollbar,
.autoridadesDistritales-electas .fixed-table-body::-webkit-scrollbar{
    width: 12px;
}
.autoridadesRegionales-electas .fixed-table-body::-webkit-scrollbar-track,
.autoridadesProvinciales-electas .fixed-table-body::-webkit-scrollbar-track,
.autoridadesDistritales-electas .fixed-table-body::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}
.autoridadesRegionales-electas .fixed-table-body::-webkit-scrollbar-thumb,
.autoridadesProvinciales-electas .fixed-table-body::-webkit-scrollbar-thumb,
.autoridadesDistritales-electas .fixed-table-body::-webkit-scrollbar-thumb{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

/*.autoridades-electas .fixed-table-container{
    height:154px;
}*/
#gridAutoridadesRegionales tbody tr td:nth-child(n+2):hover{
    cursor: alias;
    text-decoration:underline;
}
/*-----------DATOS PROVINCIALES------------*/
.datos-mapa .datos-provinciales{
    height:177px;
    font-size:11px;
}
.datos-provinciales>.datos{
    height:65px;
    text-align:center;
    padding-top:10px;
}
.datos-provinciales>.datos div{
    width:50%;
    float:left;
    margin-bottom:5px;
}

.datos-provinciales>.datos div:nth-child(even){
    padding-left:10px;
}

.datos-provinciales .datos .etiqueta{
    /*background-color: #c7c7c7;/*#d6d5d5;*/
    padding: 4px 10px;
    /*border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    float:left;*/
    width:95px;
}
/*.datos-provinciales .datos .etiqueta2{
    background-color: #c7c7c7;/*#d6d5d5;
    padding: 4px 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    width:140px;
    float:left;
    margin-bottom: 5px;
}*/
.datos-provinciales .datos .control{
    padding: 3px;
    /*background-color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    text-align: center;
    border: 1px solid #c7c7c7;/*#d6d5d5;*/
    width: calc((100%) - 95px);
}
/*.datos-provinciales .datos .control2{
    background-color: #fff;
    padding: 3px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: left;
    width: calc((100%) - 140px);
    text-align: center;
    min-height: 22px;
    border: 1px solid #c7c7c7;/*#d6d5d5;/
}*/
.datos-provinciales .capital .etiqueta,
.datos-provinciales .poblacion .etiqueta{
    width: 65px !important;
}
.datos-provinciales .capital .control,
.datos-provinciales .poblacion .control{
    width: calc((100%) - 65px) !important;
}
.datos-provinciales .autoridades-lista{
    height:34px;
    margin-top:5px;
    border-bottom:1px solid #c7c7c7;
}
.datos-provinciales .autoridadesProvinciales-electas{
    border-top:1px solid #fff;
    padding-top:7px;
}
.datos-provinciales .grid{
    margin-top:6px;
}
/*.datos-provinciales .fixed-table-container{
    height:184px;
}*/
#gridAutoridadesProvinciales tbody tr td:nth-child(n+2):hover{
    cursor: alias;
    text-decoration:underline;
}
/*-----------DATOS DISTRITALES------------*/
.datos-mapa .datos-distritales{
    height:165px;
    font-size:11px;
    border-bottom:1px solid #c7c7c7;
}
.datos-distritales .superficie,
.datos-distritales .poblacion{
    padding-right:10px;
    width:31%;
    float:left;
}
.datos-distritales .pobreza{
    width:38%;
    float:left;
}
.datos-distritales>.datos{
    height:40px;
    text-align:center;
    padding-top:10px;
    line-height:20px;
}
.datos-distritales .datos .etiqueta{
    /*background-color: #c7c7c7;/*#d6d5d5;
    padding: 1px 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    font-size: 10px;
    float: left;
    height: 22px;*/
    width: 74px;
}
.datos-distritales .pobreza .etiqueta{
    width: 70px;
    padding: 1px 5px;
}
.datos-distritales .datos .control{
    /*background-color: #fff;
    padding: 1px 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    text-align: center;
    height: 22px;
    border: 1px solid #c7c7c7;/*#d6d5d5;*/
    width: calc((100%) - 74px);
}
.datos-distritales .pobreza .control{
    width: calc((100%) - 70px);
}
.datos-distritales .autoridades-lista{
    height:30px;
    margin-top:8px;
    /*border-bottom:1px solid #c7c7c7;*/
}
.autoridadesDistritales-electas .grid{
    margin-top:10px;
}
.autoridadesDistritales-electas{
    border-top: 1px solid #fff;
    padding-top: 12px;
    font-size: 11px;
}
/*.autoridadesDistritales-electas .fixed-table-container{
    height:225px;
}*/
#gridAutoridadesDistritales tbody tr td:nth-child(n+2):hover{
    cursor: alias;
    text-decoration:underline;
}
/*----------------------------------------------*/

.retorno{
    height:30px;
}
.btnRegresarLocalidad{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:pointer;
    padding: 4px 10px;
    border-radius: 5px;
}
#Parlamento .detail-view .etiqueta{
    width: 140px;
}
#Parlamento .detail-view .control{
    width: calc((100%) - 150px);
}
#Parlamento .detail-view .control:hover{
    cursor:alias;
    text-decoration:underline;
}
#gridParlamento tbody tr td:nth-child(-n+4):hover{
    cursor: alias;
    text-decoration:underline;
}
#gridParlamento tbody tr.detail-view td:hover {
    cursor: default;
    text-decoration: none;
}
/*--------------------------DETALLE PROCESO ELECTORAL----------------------*/

#gridLocalidadProcesosElectorales tbody tr:hover {
    cursor: pointer;
}
#btnRegresarProcesos{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:pointer;
}
#detalleProcesoElectoral .breadcrumbs .title{
    background-color: #2d2d2d;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px 0px 0px 5px;
    position: relative;
}
#detalleProcesoElectoral .breadcrumbs .title:before{
    content: '';
    position: absolute;
    border-color: transparent transparent transparent #2d2d2d;
    border-width: 5px;
    border-style: solid;
    top: 7px;
    left: 100%;
}
#detalleProcesoElectoral .breadcrumbs>span{
    padding: 4px 10px;
    border-radius: 5px;
}
#detalleProcesoElectoral .breadcrumbs>span:nth-child(2){
    width: calc((100%) - 180px);
}
#detalleProcesoElectoral .cabecera{
    height:170px;
}
#detalleProcesoElectoral .cabecera .imagen{
    width: 150px;
    height: 170px;
    background-image: url(/Images/sprite_icon.svg);
    /*background-size: 1200px 150px;*/
    background-size: 1500px 150px;
    background-position: -450px 10px;
    background-repeat:no-repeat;
}
#detalleProcesoElectoral .cabecera .imagen.anulada{
    background-position: -1350px 10px;
}
#detalleProcesoElectoral .cabecera .texto{
    width:calc((100%) - 150px);
    height:100%;
    padding:20px 0px 20px 20px;
}
#detalleProcesoElectoral .texto .eleccion{
    font-size:20px;
    font-weight:600;
    min-height:45px;
    line-height: 1.1;
}
#detalleProcesoElectoral .texto .eleccion a:hover{
    cursor:alias;
    text-decoration:underline;
}
#detalleProcesoElectoral .texto .datos,
#detalleProcesoElectoral .texto .barra{
    width:50%;
    height:100px;
    margin-top:10px;
}
#detalleProcesoElectoral .texto .datos{
    width:calc((50%) - 10px);
    margin-right:10px;
}
#detalleProcesoElectoral .barra .participacion{
    border-radius:5px;
    background-color:#fff;
    height:75px;
    /*margin: 0px 0px 5px 5px;
    padding: 5px;*/
    border:1px solid #d6d5d5;
}
#detalleProcesoElectoral .barra .participacion .title{
    height: 25px;
    background-color: #ccc;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    /*margin: -5px -5px 5px;*/
    line-height: 25px;
    font-weight: 600;
    color: #676767;
    width: 100%;
    text-align:center;
}
.participacion>div.izquierda, 
.participacion>div.derecha,
.participacion .datosParticipacion>div:nth-child(-n+2){
    width:50%;
    float:left;
    padding: 5px 5px 0px;
}
.participacion b {
    position: relative;
}
.participacion .izquierda b:before {
    content: '';
    position: absolute;
    top: 6px;
    border-style: solid;
    border-width: 3px;
    border-color: transparent transparent transparent #F49600;
}
.participacion .derecha b:before{
    content: '';
    position: absolute;
    top: 6px;
    border-style: solid;
    border-width: 3px;
    border-color: transparent #B12009 transparent transparent;
    right: 0px;
}
.participacion .cantParticipacion,
.participacion .cantAusentismo{
    width: calc((12%) - -5px);
    float: left;
    padding-left: 5px;
    padding-right: 5px;
}
.participacion .datosParticipacion>div:nth-child(5),
.participacion>div:nth-child(6) {
    width: calc((76%) - 10px);
    float: left;
    margin: 5px 0px;
}
#detalleProcesoElectoral .etiqueta {
    /* background-color: #d6d5d5; */
    /* color: #2d2d2d; */
    padding: 2px 10px;
    /* border-radius: 5px 0px 0px 5px; */
    /* position: relative; */
    margin-bottom: 5px;
    width: 130px;
    font-size: 12px;
}/*
#detalleProcesoElectoral .etiqueta:before{
    content: '';
    position: absolute;
    border-color: transparent transparent transparent #d6d5d5;
    border-width: 5px;
    border-style: solid;
    top: 6px;
    left: 100%;
}*/
#detalleProcesoElectoral .control{
    /*background-color: #fff;
    border:1px solid #d6d5d5;
    padding: 1px 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;*/
    width: calc((100%) - 130px);
    /*text-align: center;
    height: 22px;*/
    margin-bottom: 5px;
}
#detalleProcesoElectoral .botones{
    background-color: #2d2d2d;
    display: inline-block;
    float: left;
    padding: 5px 10px;
    width: 45%;
    margin-right: 5%;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    height: 44px;
    max-width: 240px;
    cursor:pointer;
}
#detalleProcesoElectoral .botones.activo,
#detalleProcesoElectoral .botones:hover{
    background-color: #B12009;
}
#detalleProcesoElectoral .botones:nth-child(2){
    line-height:30px;
}
#detalleProcesoElectoral hr.divisionFiltros {
    border-color: #9c9c9c;
    border-style: dotted;
    margin: 10px 5px;
}
.resultadoDistritoElectoral .datos .etiqueta {
    width: 110px !important;
}
.resultadoDistritoElectoral .datos .control {
    width: calc((100%) - 110px) !important;
}
#detalleProcesoElectoral .cabecera .imagen img{
    margin-top: 12px;
}
/*
#btnDistribucionPartidaria{
    height:21px;
    border:1px solid #ddd;
    border-radius: 5px;
    text-align:center;
    margin-left:5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:pointer;
}
#btnDistribucionPartidaria:hover{
    background-color:#ddd;
}*/
#detalleProcesoElectoral .cabecera .content-cabecera div{
    margin:10px 0px;
}
.filtroDistritoElectoral{
    margin: 0;
    background-color: #d6d5d5;
    border-top: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 80px;
    padding: 5px;
    transition: height 2s;
}
.filtroDistritoElectoral .title{
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 600;
}
.resultadoDistritoElectoral
{
    border: 1px solid #bfbfbf;
    padding: 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-width: 0px;
    transition: height 2s;
    /*overflow:hidden;*/
}
#detalleProcesoElectoral .grid{
    margin: 0px 15px;
}
#detalleProcesoElectoral .toolbar{
    margin-left:-15px;
}
.toolbar{
    height:25px;
}
#distribucionPartidaria,
#evolucionPadron{
    position:relative;
    width:100%;
    height:0px;
    opacity:0;
    margin-top:0px;
    border:1px solid #abacae;
    transition: height 2s, opacity 2s, margin 2s;
}
#distribucionPartidaria .cerrar,
#evolucionPadron .cerrar{
    position:absolute;
    top:-10px;
    right:-10px;
    width:22px;
    height:22px;
    border:2px solid #2d2d2d;
    background-color:#eee;
    border-radius: 50%;
    cursor:pointer;
}
ul.estadisticas li{
    display: inline-block;
    padding: 5px;
}
/*#gridResultadosElectorales tbody tr td:nth-child(-n+2):hover{
    cursor: alias;
    text-decoration:underline;
}*/
#gridResultadosElectorales tbody tr td:last-child{
    padding:0px;
}
#gridResultadosElectorales tbody tr td:last-child>div{
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    line-height:35px;
}
/*#gridResultadosElectorales tbody tr:nth-last-child(-n+2) td:hover {
    text-decoration: none;
    cursor: default;
}*/
/*#gridAutoridadesElectas tbody tr td:nth-child(-n+2):hover,
#gridAutoridadesElectas tbody tr td:nth-child(n+4):hover{
    cursor: alias;
    text-decoration:underline;
}
#gridResultadosRevocatoria tbody tr td:nth-child(2):hover,
#gridResultadosRevocatoria tbody tr td:nth-child(3):hover{
    cursor: alias;
    text-decoration:underline;
}*/
#gridListaCandidatos tbody tr td:nth-child(-n+2):hover{
    cursor: alias;
    text-decoration:underline;
}
.resultadoDistritoElectoral .datos{
    margin:15px 15px 0px;
}
.resultadoDistritoElectoral .datos:after {
    content: '';
    display: table;
    clear: both;
}
.resultadoDistritoElectoral .datos>div:nth-child(-n+2) {
    width: 20%;
}
.resultadoDistritoElectoral .etiquetaTop {
    background-color: #c7c7c7;
    margin-right: 15px;
    padding: 4px;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: 600;
    color: #676767;
}
.resultadoDistritoElectoral .controlBottom {
    border: 1px solid #c7c7c7;
    margin-right: 15px;
    padding: 3px;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 50px;
    line-height: 44px;
}
.resultadoDistritoElectoral .datos>div:nth-child(3) {
    width: 60%;
}
.resultadoDistritoElectoral .participacion .cantParticipacion, 
.resultadoDistritoElectoral .participacion .cantAusentismo {
    width: calc((12%) - -5px);
}
.resultadoDistritoElectoral .participacion>div:nth-child(-n+2){
    width: 50%;
    float: left;
}
.resultadoDistritoElectoral .participacion>div:nth-child(5) {
    width: calc((80%) - 10px);
    float: left;
    margin: 5px 0px;
}
/*---------------------------TAB ESTABILIDAD POLITICA -----------------*/
#EstabilidadPolitica .grid{
    margin-left:15px;
}
#EstabilidadPolitica .division{
    position:relative;
    height:40px;
    opacity:0.99;
}
#EstabilidadPolitica .division hr{
    position: absolute;
    left: -20px;
    z-index: 999;
    width: calc((100%) - -40px);
    border-top: 1px solid #B12009;
}/*
#gridEstabilidadSuspensiones tbody tr td:nth-child(2):hover,
#gridEstabilidadSuspensiones tbody tr td:nth-child(7):hover,
#gridEstabilidadVacancias tbody tr td:nth-child(2):hover,
#gridEstabilidadVacancias tbody tr td:nth-child(7):hover {
    cursor: alias;
    text-decoration:underline;
}
#gridEstabilidadProcesoRevocatorias  tbody tr td:nth-child(2):hover,
#gridEstabilidadProcesoRevocatorias  tbody tr td:nth-child(3):hover,
#gridEstabilidadProcesoRevocatorias  tbody tr td:nth-child(5):hover{
    cursor:alias;
    text-decoration:underline;
}*/
/*--------------------------DETALLE PROCESO REVOCATORIA----------------------*/
.fondoMapa{
    position: absolute;
    top: 0%;
    left: 0%;
    background-image:url('/Images/fondo.jpg');
    background-size:100%;
    width:100%;
    height:100%;
    z-index:-1;
}
.localidad{
    position: absolute;
    top: 7px;
    left: 18px;
    font-size: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.localidad li{
    color:#878787;
    cursor: pointer;
}
.localidad li:nth-child(n-1):hover{
    color:#000;
    font-weight: 600;
}
.localidad li:first-child{
    font-size: 32px;
    font-weight: 600;
    font-family:'Exo 2';
}
.localidad li:last-child{
    font-weight: 600;
    color:#000;
    cursor: default;
}
.localidad i{
    font-size:8px;
}
.localidad ul{
    line-height:1.2;
}
#titleMap,
#titleMapCapital{
    position: fixed;
    background-color: #000;
    width: auto;
    height: 25px;
    border-radius: 6px;
    text-align: center;
    visibility: hidden;
    padding: 4px 5px;
    color: #fff;
    font-family: 'Exo 2';
    font-size: 12px;
    z-index:998;
}
#titleMapCapital{
    background-color: #B12009;
}
.mascara{
    position:relative;
    width:340px;
    height:420px;
}
#divZoom{
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #6d6d6d;
    overflow: hidden;
    visibility:hidden;
    background-color: #fff;
}
#divZoom:before {
    content: '';
    background: linear-gradient(to left bottom, rgba(255, 255, 255, 0.5) 30%,transparent 60%);
    width: calc((100%) - 5px);
    height: calc((100%) - 5px);
    position: absolute;
    margin: 4px 1px;
    border-radius: 50%;
    box-shadow: 1px -1px 5px 0 rgb(221, 241, 255);
    
}
#divZoom svg{
    zoom: 250%;
    top: -55px;
    position: absolute;
    left: -30px;
}
.mapa path{
    fill:#E0E0E0;
    stroke:#666666;
    stroke-width:0.5;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-miterlimit:10;
}
path.distritoCapital {
    fill: #808080;
}
.departamento:hover{
    fill:#b2d337;
    cursor:pointer;
}
.provincia:hover{
    fill:#29D9E6;
    cursor:pointer;
}
.distrito:hover{
    fill:#ffdb00;
    cursor:pointer;
}
.activo path,
.activo path:hover{
    fill:#d0b305;
    cursor:default;
}
#marcadeagua{
    fill: none;
    stroke: #2d2d2d;
    stroke-miterlimit: 10;
    opacity: 0.3;
}
#marcadeagua path{
    fill:none;
}
#LUPA .gradiente{
    fill:url(#SVGID_1_);
}
#LUPA .circulo{
    fill:#FFF;
}
#LUPA .bordeCirculo{
    fill:#B3B3B3;
}
#btnZoom{
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: #6d6d6d;
    border-radius: 50%;
    background-image: url('/Images/lupa.png');
    background-size: 14px 16px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 3px 0px 0px #000;
    transition: all 100ms;
    cursor:pointer;
}
#btnZoom.activo{
    box-shadow: 0 1px 0px 0px #000;
    bottom:8px;
    background-color: #B12009;
}
/*==============TAB PARTIDOS POLITICO=================*/
#gridPartidosPoliticos tbody tr td.verMapa:nth-child(4):hover{
    cursor: pointer;
}
#gridPartidosPoliticos tbody tr td:nth-child(-n+2):hover{
    cursor: alias;
    text-decoration:underline;
}
#gridPartidosPoliticos tbody tr.detail-view td:hover{
    cursor: default;
    text-decoration:none;
}
table[id^="gridAutoridadesPartidarias"] thead tr:hover{
    background-color:#2d2d2d !important;
}/*
#gridPartidosPoliticos tr.detail-view tbody tr td:nth-child(-n+2):hover{
    cursor: alias !important;
    text-decoration:underline !important;
}*/
#PartidosPoliticos .filtros {
    /*height: 100px;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;*/
    height: 100px;
    padding: 0px 5px 5px;
    font-size: 14px;
    text-align: center;
    background-color: #e4e4e4;
    border-top: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#PartidosPoliticos .filtros .title{
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    background-color: #c7c7c7;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 25px;
    line-height: 24px;
    width: 500px;
    margin: 0 auto;
    margin-bottom: 10px;
}
#PartidosPoliticos .botones{
    height: 45px;
    background-color: #b5b5b5;
    padding: 5px;
    margin: 5px;
    font-size: 12px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
#PartidosPoliticos .botones.activo,
#PartidosPoliticos .botones:hover {
    background-color: #B12009;
}
#PartidosPoliticos .resultadosFiltro{
    padding: 15px;
    border: 1px solid #bfbfbf;
}
/*#PartidosPoliticos .etiqueta {
    /*background-color: #eaeaea;
    padding: 1px 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: relative;
    float: left;
    width: 140px;
    height: 22px;
    line-height: 20px;
    margin-bottom: 5px;/
    width: calc((16.66666667%) - 5px);
    height:23px;
    overflow:hidden;
}*/
/*#PartidosPoliticos .etiqueta:before{
    content: '';
    position: absolute;
    border-color: transparent transparent transparent #eaeaea;
    border-width: 5px;
    border-style: solid;
    top: 6px;
    left: 100%;
}*/
/*
#PartidosPoliticos .control {
    /*background-color: #fff;
    padding: 1px 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    width: calc((100%) - 140px);
    height: 22px;
    border: 1px solid #eaeaea;
    margin-bottom: 5px;/
    width: calc((33.33333333%) - 5px);
}*/
#PartidosPoliticos .titleModal{
    text-align: center;
    background-color: #2d2d2d;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 25px;
    line-height: 25px;
    color: #fff;
}
#PartidosPoliticos .grid .leyenda {
    font-size: 10.5px;
    font-weight: 600;
}
/*==============PADRON ELECTORAL=======================*/
#PadronElectoral .contentPadron {
    width: 100%;
    height: 35px;
    background-color: #2d2d2d;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    font-size: 15px;
    padding: 6px;
    color: #fff;
}
#chartPadron{
    min-width: 100%;
    height: 500px;
    border: 1px solid #d5d5d5;
    margin-bottom: 20px;
}
#PadronElectoral i.circleArrowDown {
    width: 20px;
    float: left;
    background-color: #EDC24F;
    border-radius: 50%;
    height: 20px;
    line-height: 20px;
    color: #fff;
}
#PadronElectoral i.circleArrowUp {
    width: 20px;
    float: left;
    background-color: #0094B0;
    border-radius: 50%;
    height: 20px;
    line-height: 20px;
    color: #fff;
}
#PadronElectoral i.circleArrowDown+div,
#PadronElectoral i.circleArrowUp+div {
    width: calc((100%) - 75px);
    float: left;
    line-height: 20px;
}
/*#gridPadronElectoral tr td:nth-child(2):hover{
    cursor: alias !important;
    text-decoration:underline !important;
}*/

/*==============CONFLICTOS ELECTORALES=================*/
#RiesgosElectorales .filtros{
    background-color: #d6d5d5;
    border-top: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 95px;
    padding: 10px;
}
#RiesgosElectorales .filtros .title {
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 600;
}
#RiesgosElectorales .resultadoFiltro {
    padding: 15px;
    border: 1px solid #ccc;
}
.resultadoFiltro>.mensaje {
    padding: 5px;
    border: 1px solid #ccc;
}
.resultadoFiltro>.title {
    padding: 4px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.detalleConflictosFormatter {
    padding: 5px;
    background-color: #fff;
}
.detalleConflictosFormatter .detalle {
    /*border-bottom: 1px solid #b5b5b5;*/
    margin: 0px 10px;
    /*padding-bottom: 10px;*/
}
.cabeceraTitle>.title {
    width: auto;
    padding: 3px 15px;
    background-color: #B12009;
    color: #fff;
    display: inline-block;
}
.detalle .texto {
    text-align: justify;
    padding: 5px 5px 0px 20px;
    font-size: 12px;
}
.causas,
.actores{
    padding: 10px 10px 0px 10px;
}
.grid .items,
.causas .items,
.actores .items {
    padding: 5px 5px 5px 20px;
}
.items ul {
    list-style-type: initial;
    margin: 0;
}
/* ================================
   LOCALIDAD - RESPONSIVE
   Debe cargar DESPUÉS de Localidad.css
================================ */

/* Base */
@media (max-width: 1024px) {
    .content-localidad {
        padding: 0 32px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-title {
        padding-left: 32px !important;
        padding-right: 32px !important;
        box-sizing: border-box !important;
    }

        .page-title .btn,
        .page-title a.btn,
        .page-title button.btn {
            margin-right: 10px !important;
        }
}

@media (max-width: 768px) {
    .content-localidad {
        padding: 0 16px !important;
    }

    .page-title h1 {
        font-size: 28px !important;
        line-height: 1.15 !important;
    }

    .page-title .btn,
    .page-title a.btn,
    .page-title button.btn {
        float: none !important;
        display: inline-block !important;
        margin-top: 8px !important;
        margin-right: 6px !important;
    }
}

/* ================================
   LOCALIDAD - BUSCADOR
================================ */

@media (max-width: 768px) {
    .content-localidad .frmBusqueda {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

        .content-localidad .frmBusqueda .grid {
            padding: 12px !important;
            box-sizing: border-box !important;
        }

        .content-localidad .frmBusqueda .row {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .content-localidad .frmBusqueda [class*="col-xs-"],
        .content-localidad .frmBusqueda [class*="col-sm-"],
        .content-localidad .frmBusqueda [class*="col-md-"] {
            width: 100% !important;
            float: none !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
        }

        .content-localidad .frmBusqueda input,
        .content-localidad .frmBusqueda select,
        .content-localidad .frmBusqueda .form-control,
        .content-localidad .frmBusqueda .selection.ui.dropdown {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
}

/* ================================
   LOCALIDAD - CABECERA MAPA
================================ */

@media (max-width: 900px) {
    .cabecera-datos-localidades {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 16px 0 !important;
        gap: 16px !important;
    }

    .mapa {
        float: none !important;
        width: 100% !important;
        max-width: 340px !important;
        height: 420px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .mascara {
        width: 100% !important;
        max-width: 340px !important;
        height: 420px !important;
    }

    .mapa img,
    .mapa svg {
        width: 100% !important;
        height: 100% !important;
    }

    .datos-mapa {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin-left: 0 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
}

@media (max-width: 420px) {
    .mapa,
    .mascara {
        max-width: 300px !important;
        height: 370px !important;
    }
}

/* ================================
   LOCALIDAD - DATOS MAPA
================================ */

@media (max-width: 768px) {
    .datos-mapa .datos-peru,
    .datos-mapa .datos-regiones,
    .datos-mapa .datos-provinciales,
    .datos-mapa .datos-distritales,
    .datos-mapa .autoridades {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 12px !important;
    }

    .datos-peru .datos,
    .datos-regiones > .datos,
    .datos-provinciales > .datos,
    .datos-distritales > .datos {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 0 !important;
        line-height: 1.3 !important;
    }

        .datos-peru .capital,
        .datos-peru .superficie,
        .datos-peru .poblacion,
        .datos-regiones > .datos div,
        .datos-provinciales > .datos div,
        .datos-distritales .superficie,
        .datos-distritales .poblacion,
        .datos-distritales .pobreza,
        .autoridades-lista .datos > div {
            width: 100% !important;
            float: none !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-bottom: 6px !important;
            box-sizing: border-box !important;
        }

    .content-localidad .datos .etiqueta,
    .content-localidad .datos .etiqueta2,
    .content-localidad .datos .control,
    .content-localidad .datos .control2 {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 24px;
        margin: 0 0 4px 0 !important;
        padding: 6px 10px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .content-localidad .datos .etiqueta,
    .content-localidad .datos .etiqueta2 {
        border-radius: 5px 5px 0 0 !important;
    }

        .content-localidad .datos .etiqueta::before,
        .content-localidad .datos .etiqueta2::before {
            display: none !important;
        }

    .content-localidad .datos .control,
    .content-localidad .datos .control2 {
        border-radius: 0 0 5px 5px !important;
    }
}

/* ================================
   LOCALIDAD - ELECTORES
================================ */

@media (max-width: 768px) {
    .electores {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

        .electores .cantElectores {
            float: none !important;
            width: 100% !important;
            height: auto !important;
            margin: 0 0 10px 0 !important;
            box-sizing: border-box !important;
        }

            .electores .cantElectores::before {
                display: none !important;
            }

        .electores .fa-male,
        .electores .fa-female {
            float: none !important;
            display: inline-block !important;
            font-size: 3.5em !important;
            margin: 0 8px !important;
        }

        .electores .datos-progress {
            float: none !important;
            width: 100% !important;
            margin-top: 10px !important;
        }

    .datos-progress > div {
        box-sizing: border-box !important;
    }

        .datos-progress > div:nth-child(-n+2),
        .datos-progress > div:nth-child(3),
        .datos-progress > div:nth-child(4),
        .datos-progress > div:nth-child(5) {
            width: 100% !important;
            float: none !important;
            margin: 6px 0 !important;
            text-align: center !important;
        }

    .electores .leyenda {
        top: 0 !important;
        font-size: 10px !important;
        text-align: center !important;
    }
}

/* ================================
   LOCALIDAD - AUTORIDADES
================================ */

@media (max-width: 768px) {
    .autoridades .autoridades-imagen {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

        .autoridades .autoridades-imagen table,
        .autoridades-imagen {
            min-width: 0 !important;
        }

            .autoridades-imagen img {
                max-width: 60px !important;
                height: auto !important;
            }

            .autoridad4 img,
            .autoridad5 img,
            .autoridades-imagen .congreso img {
                max-width: 70px !important;
            }

    .autoridades-lista {
        height: auto !important;
        overflow: visible !important;
    }

        .autoridades-lista .datos {
            height: auto !important;
        }
}

/* ================================
   LOCALIDAD - TABS
================================ */

@media (max-width: 900px) {
    .tabLocalidad .igobTab ul,
    .content-localidad .igobTab ul {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        .tabLocalidad .igobTab ul li,
        .content-localidad .igobTab ul li {
            float: none !important;
            width: 50% !important;
            height: 44px !important;
            margin: 0 !important;
            display: flex !important;
        }

            .tabLocalidad .igobTab ul li a,
            .content-localidad .igobTab ul li a {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                width: 100% !important;
                height: 100% !important;
                padding: 4px 6px !important;
                font-size: 10px !important;
                line-height: 1.1 !important;
                text-align: center !important;
            }
}

@media (max-width: 480px) {
    .tabLocalidad .igobTab ul li,
    .content-localidad .igobTab ul li {
        width: 100% !important;
    }
}

/* ================================
   LOCALIDAD - TABLAS RESPONSIVE
================================ */

@media (max-width: 768px) {
    .content-localidad .grid,
    .content-localidad .bootstrap-table,
    .content-localidad .fixed-table-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .content-localidad .fixed-table-body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .content-localidad table {
        min-width: 720px !important;
        width: 720px !important;
        max-width: none !important;
        table-layout: auto !important;
    }

    .content-localidad th,
    .content-localidad td {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    .content-localidad .fixed-table-toolbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

        .content-localidad .fixed-table-toolbar .bs-bars,
        .content-localidad .fixed-table-toolbar .search,
        .content-localidad .fixed-table-pagination .pagination-detail,
        .content-localidad .fixed-table-pagination .pagination {
            float: none !important;
            width: 100% !important;
            text-align: center !important;
        }

            .content-localidad .fixed-table-toolbar .search input {
                width: 100% !important;
                box-sizing: border-box !important;
            }
}

/* ================================
   LOCALIDAD - DETALLE PROCESO ELECTORAL
================================ */

@media (max-width: 768px) {
    #detalleProcesoElectoral .breadcrumbs {
        display: block !important;
        line-height: 1.4 !important;
    }

        #detalleProcesoElectoral .breadcrumbs .title,
        #detalleProcesoElectoral .breadcrumbs > span {
            display: block !important;
            width: 100% !important;
            margin-bottom: 4px !important;
            box-sizing: border-box !important;
            border-radius: 5px !important;
        }

            #detalleProcesoElectoral .breadcrumbs .title::before {
                display: none !important;
            }

    #detalleProcesoElectoral .cabecera {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

        #detalleProcesoElectoral .cabecera .imagen,
        #detalleProcesoElectoral .cabecera .texto {
            float: none !important;
            width: 100% !important;
            height: auto !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }

        #detalleProcesoElectoral .cabecera .imagen {
            width: 150px !important;
            height: 170px !important;
        }

    #detalleProcesoElectoral .texto .eleccion {
        font-size: 18px !important;
        text-align: center !important;
    }

    #detalleProcesoElectoral .texto .datos,
    #detalleProcesoElectoral .texto .barra {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 10px 0 !important;
    }

    #detalleProcesoElectoral .etiqueta,
    #detalleProcesoElectoral .control {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 28px;
        margin: 0 0 4px 0 !important;
        padding: 6px 10px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }

    #detalleProcesoElectoral .botones {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 42px;
        margin: 6px 0 !important;
        padding: 8px 10px !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
    }
}

/* ================================
   LOCALIDAD - FILTROS Y RESULTADOS
================================ */

@media (max-width: 768px) {
    .filtroDistritoElectoral,
    .resultadoDistritoElectoral,
    #PartidosPoliticos .filtros,
    #PartidosPoliticos .resultadosFiltro,
    #RiesgosElectorales .filtros,
    #RiesgosElectorales .resultadoFiltro {
        height: auto !important;
        min-height: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

        .filtroDistritoElectoral .row,
        .resultadoDistritoElectoral .row,
        #PartidosPoliticos .row,
        #RiesgosElectorales .row {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .filtroDistritoElectoral [class*="col-xs-"],
        .resultadoDistritoElectoral [class*="col-xs-"],
        #PartidosPoliticos [class*="col-xs-"],
        #RiesgosElectorales [class*="col-xs-"] {
            width: 100% !important;
            float: none !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
        }

        .filtroDistritoElectoral .title,
        #PartidosPoliticos .filtros .title,
        #RiesgosElectorales .filtros .title {
            width: 100% !important;
            height: auto !important;
            min-height: 28px;
            line-height: 1.25 !important;
            padding: 6px 10px !important;
            box-sizing: border-box !important;
            white-space: normal !important;
        }

        .resultadoDistritoElectoral .datos {
            margin: 12px 0 0 !important;
        }

            .resultadoDistritoElectoral .datos > div,
            .resultadoDistritoElectoral .datos > div:nth-child(-n+2),
            .resultadoDistritoElectoral .datos > div:nth-child(3) {
                width: 100% !important;
                float: none !important;
                margin-bottom: 8px !important;
            }

        .resultadoDistritoElectoral .etiquetaTop,
        .resultadoDistritoElectoral .controlBottom {
            margin-right: 0 !important;
            height: auto !important;
            min-height: 34px;
            line-height: 1.3 !important;
            padding: 7px 10px !important;
            box-sizing: border-box !important;
        }
}

/* ================================
   LOCALIDAD - GRÁFICOS
================================ */

@media (max-width: 768px) {
    #chartPadron,
    #chartAfiliaciones,
    #distribucionPartidaria,
    #evolucionPadron {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 360px !important;
        box-sizing: border-box !important;
    }

    #distribucionPartidaria,
    #evolucionPadron {
        overflow: auto !important;
    }

    ul.estadisticas li {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 6px !important;
    }
}

/* ================================
   LOCALIDAD - MODALES
================================ */

.modal-dialog {
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 20px auto !important;
}

.modal-content {
    max-height: calc(100vh - 40px) !important;
    overflow: auto !important;
    box-sizing: border-box !important;
}

.modal-body {
    max-height: calc(100vh - 110px) !important;
    overflow: auto !important;
    box-sizing: border-box !important;
}

    .modal-body iframe,
    .modal-body object,
    .modal-body embed,
    .modal-body img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .modal-body iframe,
    .modal-body object,
    .modal-body embed {
        height: min(700px, calc(100vh - 150px)) !important;
    }

@media (max-width: 600px) {
    .modal-dialog {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin: 10px auto !important;
    }

    .modal-content {
        max-height: calc(100vh - 20px) !important;
    }

    .modal-body {
        max-height: calc(100vh - 90px) !important;
        padding: 10px !important;
    }

        .modal-body iframe,
        .modal-body object,
        .modal-body embed {
            height: calc(100vh - 120px) !important;
        }
}

/* ================================
   LOCALIDAD - AUTORIDADES IMAGEN FIX
   Corrige desborde en móvil
================================ */

@media (max-width: 768px) {
    .autoridades {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

        .autoridades .autoridades-imagen,
        table.autoridades-imagen {
            display: table !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            table-layout: fixed !important;
            margin: 0 auto !important;
            overflow: visible !important;
            box-sizing: border-box !important;
        }

            .autoridades .autoridades-imagen tbody,
            .autoridades .autoridades-imagen tr {
                width: 100% !important;
            }

            .autoridades .autoridades-imagen td {
                width: 33.333% !important;
                max-width: 33.333% !important;
                padding: 6px 4px !important;
                text-align: center !important;
                vertical-align: middle !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
            }

            .autoridades .autoridades-imagen img {
                width: auto !important;
                max-width: 54px !important;
                height: auto !important;
                display: inline-block !important;
                margin: 0 auto !important;
            }

            .autoridades .autoridades-imagen .autoridad4 img,
            .autoridades .autoridades-imagen .autoridad5 img {
                max-width: 56px !important;
            }

            .autoridades .autoridades-imagen .datos td,
            .autoridades-imagen tr.datos td {
                font-size: 9px !important;
                line-height: 1.15 !important;
                white-space: normal !important;
                overflow-wrap: anywhere !important;
                word-break: normal !important;
            }

                .autoridades .autoridades-imagen .datos td div,
                .autoridades .autoridades-imagen .datos td span,
                .autoridades-imagen tr.datos td div,
                .autoridades-imagen tr.datos td span {
                    display: block !important;
                    width: 100% !important;
                    max-width: 100% !important;
                    font-size: 9px !important;
                    line-height: 1.15 !important;
                    text-align: center !important;
                    white-space: normal !important;
                    overflow-wrap: anywhere !important;
                    box-sizing: border-box !important;
                }
}

@media (max-width: 420px) {
    .autoridades .autoridades-imagen td {
        padding: 5px 2px !important;
    }

    .autoridades .autoridades-imagen img {
        max-width: 46px !important;
    }

    .autoridades .autoridades-imagen .autoridad4 img,
    .autoridades .autoridades-imagen .autoridad5 img {
        max-width: 48px !important;
    }

    .autoridades .autoridades-imagen .datos td,
    .autoridades-imagen tr.datos td,
    .autoridades .autoridades-imagen .datos td div,
    .autoridades .autoridades-imagen .datos td span {
        font-size: 8px !important;
        line-height: 1.1 !important;
    }
}

/* ================================
   LOCALIDAD - BUSCADOR PRINCIPAL FIX
   Corrige input + botón buscar
================================ */

@media (max-width: 768px) {
    .content-localidad .frmBusqueda .fondo-negro {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

        .content-localidad .frmBusqueda .fondo-negro > .col-xs-10 {
            float: none !important;
            flex: 1 1 auto !important;
            width: auto !important;
            max-width: none !important;
            min-width: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
        }

        .content-localidad .frmBusqueda .fondo-negro > .col-xs-2 {
            float: none !important;
            flex: 0 0 auto !important;
            width: auto !important;
            max-width: none !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
        }

        .content-localidad .frmBusqueda .fondo-negro > .clear {
            display: none !important;
        }

    #txBuscarLocalidad {
        width: 100% !important;
        max-width: 100% !important;
        height: 34px !important;
        box-sizing: border-box !important;
    }

    #btnBuscarLocalidad {
        width: auto !important;
        min-width: 88px !important;
        max-width: 110px !important;
        height: 34px !important;
        padding: 6px 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
    }
}

@media (max-width: 360px) {
    #btnBuscarLocalidad {
        min-width: 42px !important;
        max-width: 42px !important;
        padding: 6px !important;
    }

        #btnBuscarLocalidad span {
            display: none !important;
        }
}

/* ================================
   LOCALIDAD - BUSCADOR PRINCIPAL FIX FINAL
================================ */

@media (max-width: 768px) {
    .frmBusqueda .fondo-negro {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 42px !important;
        column-gap: 6px !important;
        align-items: center !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

        .frmBusqueda .fondo-negro > .col-xs-10,
        .frmBusqueda .fondo-negro > .col-xs-2 {
            float: none !important;
            width: auto !important;
            max-width: none !important;
            min-width: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            box-sizing: border-box !important;
        }

        .frmBusqueda .fondo-negro > .clear {
            display: none !important;
        }

    #txBuscarLocalidad {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 34px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 11px !important;
        box-sizing: border-box !important;
    }

    #btnBuscarLocalidad {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

        #btnBuscarLocalidad i {
            margin: 0 !important;
            font-size: 13px !important;
        }

        #btnBuscarLocalidad span {
            display: none !important;
        }
}
