@font-face {
  font-family: "Century 725 W03 Bd";
  src: url("https://db.onlinewebfonts.com/t/70bd3d2d6fdd069e0ad2105ea790a5f1.eot");
  src: url("https://db.onlinewebfonts.com/t/70bd3d2d6fdd069e0ad2105ea790a5f1.eot?#iefix")format("embedded-opentype"), url("https://db.onlinewebfonts.com/t/70bd3d2d6fdd069e0ad2105ea790a5f1.woff2")format("woff2"), url("https://db.onlinewebfonts.com/t/70bd3d2d6fdd069e0ad2105ea790a5f1.woff")format("woff"), url("https://db.onlinewebfonts.com/t/70bd3d2d6fdd069e0ad2105ea790a5f1.ttf")format("truetype"), url("https://db.onlinewebfonts.com/t/70bd3d2d6fdd069e0ad2105ea790a5f1.svg#Century 725 W03 Bd")format("svg");
  font-display: swap; 
}
a:any-link {
text-decoration: none !important;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
padding-left: 0!important;
padding-right: 0!important;
}
dl, ol, ul{
padding: 0!important
}
li {
list-style-image: none!important
}
section{
padding-bottom: 0!important;
margin-bottom: 0!important;
}

.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-lg,
.navbar > .container-md,
.navbar > .container-sm,
.navbar > .container-xl,
.navbar > .container-xxl {
justify-content: left !important;
}
.collapse {
&:not(.show) {
display: none;
}
}

.collapsing {
height: 0;
overflow: hidden;
@include transition($transition-collapse);

&.collapse-horizontal {
width: 0;
height: auto;
@include transition($transition-collapse-width);
}
}
.nav-dark {
padding: 0 24px !important;
position: fixed;
text-align: left;
}

.navbar img {
height: 30px !important;
}

.btn-warning {
background-color: #ffe832 !important;
border-radius: 8px;
font-weight: bold;
padding: 4px 12px;
float: right !important;
}

.container-fluid {
display: table-cell !important;
}

.jumbotron {
  text-align: center;
  min-height: 400px;
  padding-top: 130px;
  background-color: #f2f2f2;
  margin-bottom: 0 !important;
  padding-bottom: 0px !important;
}

.jumbotron h1 {
font-family: "Century 725 W03 Bd" !important;
font-weight: bold;
font-size: 2.5em!important;
}

.jumbotron p {
font-family: "Noticia Text", serif;
font-weight: normal;
font-size: 1em;
text-align: center;
}

.jumbotron ul {
margin-bottom: 5px !important;
padding-left: 0 !important;
}

.jumbotron li {
display: inline-block;
margin: 0 6px !important;
padding: 0 !important;
list-style-image: none !important;
}

#wa {
display: none !important;
}
@media only screen and (max-width: 600px) {
#wa {
  display: inline-block!important;
}
}
#corte {
background-color: #1b499f;
width: 100%;
max-width: 100%;
margin: 10px auto 0 auto!important;
padding:8px 8px 8px!important;
text-align: center!important;
font-family: "Open Sans", sans-serif!important;
color: #fff!important;
font-size: 0.85em!important;
margin-top: 45px!important;
position: fixed;
z-index: 120;
vertical-align: top!important
}

#corte p {
width: 90%;
margin: auto;
font-family: "Open Sans", sans-serif!important;
font-size: 0.9em;
}

#corte img {
background-color: #1b499f!important;
margin-right: 5px!important;
margin-top: -1px!important
}

#bar {
margin: 0;
padding: 0;
padding: 12px;
margin: -30px auto 0 auto!important;
text-align: center;
}

#bar li {
display: inline-block;
}

@media only screen and (max-width: 600px) {
#bar {
  margin-top: -31px!important;
  margin-bottom: 30px!important
}
}

.nav {
padding: 0 !important;
padding-bottom: 0px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
background-color: #f2f2f2!important;
border: none!important
}

#home-tab {
background-image: url(../img/ui/btn-candidato-over.svg);
height: 50px;
width: 200px;
background-color: #f2f2f2!important;
}

#diputados-tab {
background-image: url(../img/ui/btn-diputaciones-over.svg);
height: 50px;
width: 200px;
}

#home-tab.active {
background-image: url(../img/ui/btn-candidato.svg);
background-repeat: no-repeat;
height: 50px;
width: 200px;
}

#diputados-tab.active {
background-image: url(../img/ui/btn-diputaciones.svg);
background-repeat: no-repeat;
height: 50px;
width: 200px;
}

@media only screen and (max-width: 600px) {
#home-tab {
  width: 150px!important;
  height: 35px!important;
}
}

@media only screen and (max-width: 600px) {
#diputados-tab {
  width: 150px!important;
  height: 35px!important;
}
}
.nav-tabs {
display: inline-block;
margin-top: -90px !important;
border: #fff !important;
padding-bottom: 0 !important
}
#votos{
margin: 0 auto;

background-size: 100%;
padding:24px;
font-family: "Open Sans", sans-serif;
}


.splide__list{
height: auto!important
}
.splide__slide{
text-align: center!important
}
.splide__slide img {
width: 150px;
background-color: none!important
}
.splide__slide {
font-size: 1.2em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: bold!important;
margin-bottom: 2px!important
}
.diputado-nombre {
font-size: 1.2em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: bold!important;
margin-bottom: 2px!important
}
.splide__slide {
font-size: 0.8em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 2px!important
}  

.diputado-partido {
font-size: 0.8em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 20px!important
}  
.splide__slide h3 {
font-size: 1.6em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 800!important;
margin-top: 0!important
}   
.splide__slide h4 {
font-size: 0.8em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 2px!important;
text-transform: uppercase!important
}  
.splide__pagination__page {
display: none!important
}
@media only screen and (max-width: 600px) {
.splide__slide img{
width: 120px!important
}
.splide__slide h1{
font-size: 1em!important
}    
}
#mapa{
margin: 0 auto;
background-color: #f2f2f2;
background-repeat: no-repeat;
background-position: center top;
background-size: 100%;
font-family: "Open Sans", sans-serif;
overflow: hidden;
text-align: center;
padding: 0 0 24px 0;
min-height: 400px
}
#datosmapa{
max-width: 800px!important;
margin: auto!important;
text-align: center;
}
.btn-dark {
text-transform: uppercase !important;
font-size: 0.4rem !important;
font-weight: bold;
margin-bottom: 5px !important;
background-color: #fff !important;
color: #59585a;
padding: 8px 12px;
border-radius: 8px;
border: none;
font-size: 1.1em !important;
border: 2px solid #59585a;
box-shadow: 0px 8px 15px rgba(75, 72, 72, 0.1);
border: none !important;
width: 135px !important;
display: inline-block!important
}
.btn:hover{
background-color: #c4c4c4!important;
color: #fff
}
.btn:active{
background-color: #c4c4c4!important;
color: #fff
}
.btn:visited{
color: #000
}
#espacio-mapa img{
width: 96%;
max-width: 800px;
}
#dcandidatos {

max-width: 300px;
margin-bottom: 30px    
}
.card-body {
    padding: 2px!important
}
.card {
display: inline-block !important;
margin: 0 auto!important;
border: none !important;
width: 90% !important;
text-align: left;
background-color: none !important;
text-align: center;
box-shadow: 0px 8px 15px rgba(75, 72, 72, 0.1);
border-radius: 8px !important; 
padding: 8px
}
.card h1 {
font-size: 1em !important;
font-family: "Open Sans", sans-serif !important;
font-weight: bold !important;
margin-bottom: 2px !important;
}
.card h2 {
font-size: 0.8em !important;
font-family: "Open Sans", sans-serif !important;
font-weight: 400 !important;
margin-top: 0 !important;
margin-bottom: 2px !important;
}
.card h3 {
font-size: 2em !important;
font-family: "Open Sans", sans-serif !important;
font-weight: 800 !important;
margin-top: 0 !important;  
margin-bottom: 0;    

}
.card h4 {
font-size: 0.8em !important;
font-family: "Open Sans", sans-serif !important;
font-weight: 400 !important;
margin-top: 0 !important;
margin-bottom: 2px !important;
text-transform: uppercase !important
}
.card img {
max-width: 150px!important
}
hr {
margin: 8px auto !important;
}
#mapa li {
max-width: 700px !important;
width: 100% !important;
display: inline-block !important;
vertical-align: top !important;
margin-top: 5px;
}
#general img, svg{
width: 100%!important;
max-width: 700px;
  
}
#mesa{
margin: 0 auto!important;
background-color: #fff;
background-repeat: no-repeat;
background-position: center top;
background-size: 100%;
font-family: "Open Sans", sans-serif;
overflow: hidden;
text-align: center;
padding: 0 0 24px 0;
min-height: 400px;
}
#mesa p {
font-family: "Open Sans", sans-serif!important;
}
#mesa h1 {
font-size: 1.2em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: bold!important;
margin-bottom: 2px!important
}
#mesa h2 {
font-size: 0.8em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 2px!important
}  
#mesa h3 {
font-size: 3em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 800!important;
margin-top: 0!important
}   
#mesa h4 {
font-size: 0.8em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 2px!important;
text-transform: uppercase!important
} 
#mesa img {
width: 150px
}
#mesa li{
max-width: 400px!important;
display: inline-block!important;
border: 1px solid #c4c4c4;
box-shadow: 0px 8px 15px rgba(75, 72, 72, 0.1);
margin: 24px auto;
border-radius: 8px
}
#mesa li .card{
width: 300px!important;
}
#mesa .card{
box-shadow: 0px 8px 15px rgba(75, 72, 72, 0.1);
margin-bottom: 35px
}
.field {
border: 0;
width: 75%;
height: 100%;
padding: 10px 20px;
background: white;
border-radius: 3px;
box-shadow: 0px 8px 15px rgba(75, 72, 72, 0.1);
transition: all 0.4s ease;
}
.field-container {
position: relative;
padding: 0;
margin: 0;
border: 0;
width: 330px;
height: 40px;
display: inline-block!important;
margin-bottom: 20px
}

.icons-container {
position: absolute;
top: 5px;
right: 50px;
width: 35px;
height: 35px;
overflow: hidden;
}

.icon-close {
position: absolute;
top: 2px;
left: 2px;
width: 75%;
height: 75%;
opacity: 0;
cursor: pointer;
transform: translateX(-200%);
border-radius: 50%;
transition: opacity 0.25s ease, transform 0.43s cubic-bezier(0.694, 0.048, 0.335, 1);
}
.icon-close:before {
content: "";
border-radius: 50%;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
border: 2px solid transparent;
border-top-color: #1b499f;
border-left-color: #1b499f;
border-bottom-color: #1b499f;
transition: opacity 0.2s ease;
}

.icon-close .x-up {
position: relative;
width: 100%;
height: 50%;
}
.icon-close .x-up:before {
content: "";
position: absolute;
bottom: 2px;
left: 3px;
width: 50%;
height: 2px;
background-color: #1b499f;
transform: rotate(45deg);
}
.icon-close .x-up:after {
content: "";
position: absolute;
bottom: 2px;
right: 0px;
width: 50%;
height: 2px;
background-color: #1b499f;
transform: rotate(-45deg);
}
.icon-close .x-down {
position: relative;
width: 100%;
height: 50%;
}
.icon-close .x-down:before {
content: "";
position: absolute;
top: 5px;
left: 4px;
width: 50%;
height: 2px;
background-color: #1b499f;
transform: rotate(-45deg);
}
.icon-close .x-down:after {
content: "";
position: absolute;
top: 5px;
right: 1px;
width: 50%;
height: 2px;
background-color: #1b499f;
transform: rotate(45deg);
}
.is-type .icon-close:before {
opacity: 1;
-webkit-animation: spin 0.85s infinite;
    animation: spin 0.85s infinite;
}
.is-type .icon-close .x-up:before, .is-type .icon-close .x-up:after {
-webkit-animation: color-1 0.85s infinite;
    animation: color-1 0.85s infinite;
}
.is-type .icon-close .x-up:after {
-webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.is-type .icon-close .x-down:before, .is-type .icon-close .x-down:after {
-webkit-animation: color-1 0.85s infinite;
    animation: color-1 0.85s infinite;
}
.is-type .icon-close .x-down:before {
-webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.is-type .icon-close .x-down:after {
-webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.icon-search {
position: relative;
top: 5px;
left: 8px;
width: 50%;
height: 50%;
opacity: 1;
border-radius: 50%;
border: 3px solid #1b499f;
transition: opacity 0.25s ease, transform 0.43s cubic-bezier(0.694, 0.048, 0.335, 1);
}
.icon-search:after {
content: "";
position: absolute;
bottom: -9px;
right: -2px;
width: 4px;
border-radius: 3px;
transform: rotate(-45deg);
height: 10px;
background-color: #1b499f;
}
#provincia{
margin:0 auto!important;
background-color: #f2f2f2;
background-repeat: no-repeat;
background-position: center top;
background-size: 100%;
background-size: 100%;
padding: 0 0 24px 0;
font-family: "Open Sans", sans-serif;
text-align: center;
padding-bottom: 35px!important
}
.dropdown {
display: inline-block;
margin:0 auto 30px auto
}
#provincia li {
list-style-image: none!important;
display: inline-block;
min-width: 280px!important;
width: 50%;
max-width: 600px
}

footer ul[data-host][data-keyword].footer-feed{
max-width: 900px;
margin:0 auto 12px auto!important
}
footer {
background-color: #666666;
padding-top: 0!important;
margin-top: -20px!important;
text-align: center;
background-size: contain;
background-repeat: no-repeat;
background-size: 100%;
background-position:center top!important;
overflow: hidden
}
footer p{
color: #ffffff;
margin: auto
}


footer li {
width: 300px;
height: 200px;
display: inline-block;
margin: 12px 24px;
vertical-align: top;margin-top: 24px
}

footer li img {
width: 250px
}
footer li p {
color: #ffffff;
text-align: left;
font-family: "Noto Serif", serif;
font-size: 1em;
margin-top: 10px;
font-weight: bold;
margin-bottom: 24px
}
footer li a {
text-decoration: none!important;
}
.creditos {
background-color: #191919!important;
background-image: url(../img/ui/creditos.svg);
background-size: 120%;
background-repeat: no-repeat;
background-position: top;
padding-top: 70px;
text-align: center;
color: #b9b9b9;
font-family:Arial, sans-serif!important;
font-size: 0.8em;
padding-bottom: 20px
}
.creditos p{
padding: 15px
}
#asamblead{
margin:0 auto!important;
background-repeat: no-repeat;
background-position:  top;
background-size: 100%;
padding: 0 0 24px 0;
font-family: "Open Sans", sans-serif;
}

#congreso h1 {
font-size: 1.4em!important;
font-family: "Century 725 W03 Bd" !important;
font-weight: bold!important;
margin-bottom: 2px!important;
text-align: center;
margin-top: 35px
}
#asamblead h2 {
font-size: 0.8em!important;
font-family: "Century 725 W03 Bd" !important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 2px!important;
text-align: center!important
}  
#asamblead h3 {
font-size: 3em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 800!important;
margin-top: 0!important
}   
#asamblead h4 {
font-size: 0.8em!important;
font-family: "Open Sans", sans-serif!important;
font-weight: 400!important;
margin-top: 0!important;
margin-bottom: 2px!important;
text-transform: uppercase!important
}
.switch {
position: relative;
display: inline-block;
width: 50px!important;
height: 22px;
background-color: #666666!important;
border-radius: 30px
}
#asamblea{
text-align: center;
margin: auto;
width: 100%
}
#legislatura{
margin: 35px auto 10px auto!important;
}
#bsw{
text-align: center;
width: 300px;
margin: 20px auto 20px auto;
}
#r1{
max-width: 100px!important;
display:inline-block
}
#r2{
max-width: 100px!important;
display:inline-block
}
#menu1 {
width: 100%;
text-align: center;
}
#menu2 {
width: 100%!important;
text-align: center!important;
}
#menu1 object{
max-width: 500px;
width: 100%
}
#menu2 object{
max-width: 500px;
width: 100%
}
/* Hide default HTML checkbox */

.switch input {
display: none;
}

/*The slider */

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-transition: .4s;
transition: .4s;
background-color: #1b499f!important;

}

.slider:before {
position: absolute;
content: "";
height: 15px;
width: 15px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked+.slider {
background-color: #666666!important;
}

input:focus+.slider {
box-shadow: 0 0 1px #666666;
}

input:checked+.slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
#diputado-partido {
color: #000;
font-family: "Open Sans", sans-serif!important;
line-height: 14px;
position: relative;
left: 0;
right: 0;
bottom: 29px;
margin: 0 auto 0 auto!important;
width: 100%;
height: 20px;
text-align: center

}
.close-button {
position: absolute;
top: 12px;
right: 12px;
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNLjcuN2wxOCAxOG0tMTggMGwxOC0xOCIvPjwvc3ZnPg==) no-repeat center center transparent;
background-color: #000;
border: none;
width: 40px;
height: 40px;
padding: 0;
cursor: pointer;
z-index: 5;
text-indent: -9999px;
overflow: hidden;
}
/* Rounded sliders */

.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}


/*TOOLTIP*/
svg {
max-width: 100%;
height: auto;
display: block;

g {
transform-origin: 50% 50%;

path, circle {
fill: #ccc;
transition: background-color 200ms ease-in;


}

circle {
stroke: white;
}

&:hover {
cursor: pointer;
}

}
}

#tooltip {
position: absolute;
background-color: white;
border: 1px solid #ccc;
padding: 10px;
font-size: 14px;
}
h2 {
margin: 0;
font-size: 20px;
}
}
body.modal-open .modal {
display: flex !important;
height: 100%;
} 

body.modal-open .modal .modal-dialog {
margin: auto;
  min-width: 400px!important

}
.interaccion{
margin: 0 auto 15px auto!important;
display: inline-block;
text-align: center;
width: 100%;
margin-bottom: 55px!important
}
#electos{
background-size: 100%;
background-repeat: no-repeat;
background-position: top;
text-align: center!important;
margin: auto;
padding-top: 120px;
background-color: #f2f2f2;
position: relative;
  z-index: 1
  
}
#electos .nav{
text-align: center!important;
display: -webkit-box!important;
padding-bottom: -5px!important;
max-width: 700px;
margin:-150px auto 20px auto!important;
  overflow-x: auto;
white-space: nowrap;

}
.nav-pills .nav-link{
width: 160px;
margin: 0  !important;
font-family: "Open Sans", sans-serif!important;
color: #666666;
font-weight: bold;
text-transform: uppercase;  
font-size: 0.8em;
max-width: 140px;
line-height: 15px;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
width: 160px;
background-image: url(../img/ui/f-botones.svg);
background-repeat: no-repeat;
background-size: 100%;
margin: 0 !important;
font-family: "Open Sans", sans-serif!important;
color: #000;
font-weight: bold;
text-transform: uppercase; 
max-width: 140px;
line-height: 15px;
width: 30em;
background-color: #fff
}
#mm p{
font-family: "Open Sans", sans-serif!important;
color: #000;
font-weight: bold;
margin-top: 12px;
line-height: 1em!important;
font-size: 1.2em;

}
.slide-container {
padding: 20px;
}
.splide__track{
padding-bottom: 40px!important;
margin: 0 auto 30px auto!importnt;
}
/* Alternar colores de fondo usando nth-child */
.slide-container:nth-child(odd) {
background-color: #ffffff;
}
.slide-container:nth-child(even) {
background-color: #f2f2f2;
}
/* SOLO para el tab "Por provincia" */
#provinciab #splide1,
#provinciab #splide3,
#provinciab #splide5,
#provinciab #splide7 {
  background-color: #fff;
}

#provinciab #splide2,
#provinciab #splide4,
#provinciab #splide6 {
  background-color: #f2f2f2;
}

/* En el tab "Por partido" dejamos que el JS pinte todo */
#partido .splide {
  background-color: transparent;
}
.splide p{
margin-top:5px 
}
@media only screen and (max-width: 575px) {
#electos {
  padding-top: 80px
}
}
@media only screen and (max-width: 575px) {
#bsw {
  margin-top: 0!important;
}
}
@media only screen and (max-width: 575px) {
#bar {
  margin-bottom: 0!important;
}
}


@media only screen and (max-width: 575px) {
#mapa {
  min-height: 360px!important
}
}
@media only screen and (max-width: 575px) {
.jumbotron ul {
  padding-bottom: 0px!important;
  
}
}
@media only screen and (max-width: 575px) {
#votos {
  margin: 0 auto!important;
  
}
}
@media only screen and (max-width: 575px) {
#electos .nav {
  margin-top: -110px!important;
  
}
}
@media only screen and (min-width: 1280px) {
#bsw{
margin: 0 auto 20px auto;
}
  
}
}
@media only screen and (max-width: 600px) {
section {
  background-size: 200%!important;
}
}
@media only screen and (max-width: 600px) {
#mm p {
  font-size:1.15em!important;
}
}
@media only screen and (max-width: 800px) {
#mm {
  background-size: 250%!important;
  font-size: 0.8em
}
}

@media only screen and (min-width: 1280px) {
#mm {
 margin-bottom: 20px!important;
}
}
@media only screen and (max-width: 600px) {
.creditos {
  background-size: 200%!important;
}
}
@media only screen and (max-width: 600px) {
.nav-tabs {
  margin-top:-130px!important;
}
}

@media only screen and (max-width: 600px) {
.dropdown {
  margin: 5px auto!important;
  font-size: 0.8em;!important
  
}
}
@media only screen and (max-width: 600px) {
.btn-dark {
  margin: 5px;
  width: 120px
  
}
}
@media only screen and (max-width: 600px) {
#r1 {
  max-width: 100px!important;

}
}
@media only screen and (max-width: 600px) {
#r2 {
  max-width: 100px!important;

}
}

.hidden-asamblea{
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  position:absolute;
  inset:0;
}

#menu1, #menu2{ will-change: opacity; }


#menu1, #menu2 { min-height: 200px!important; }

/* Etiqueta de partido junto al mapa */
#diputado-partido{
  display: flex;                 /* fuerza columna */
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  white-space: normal;           /* evita una sola línea */
}

/* Estados visuales del switch como en style.css */
#switch-asamblea .slider { background: #c7c9cc !important; }          /* OFF = gris */
#switch-asamblea > input:checked + .slider { background: #0d6efd !important; } /* ON = azul */
#switch-asamblea .slider::before { transform: translateX(0); }
#switch-asamblea > input:checked + .slider::before { transform: translateX(22px); }

/* Contenedor vertical y centrado */
#congreso .container {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centra horizontal */
}

/* Fila del switch centrada */
#congreso #bsw {
  width: 100%;
  display: flex;
  justify-content: center;  /* centra los 3 bloques */
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: 0  
}

/* Si tienes inline styles en r1/r2 que alinean a la derecha/izquierda, los neutralizamos */
#congreso #r1, #congreso #r2 {
  text-align: center !important;
}

/* Centrar los objetos SVG y limitar ancho */
#congreso #menu1,
#congreso #menu2,
#congreso #diputado-partido {
  width: 100%;
  max-width: 1100px;      /* ajusta a tu gusto */
  margin-inline: auto;    /* centra el bloque */
}

#congreso .emb {
  display: block;
  margin: 0 auto;         /* centra el <object> */
  width: 100%;
}

/* Centrar la zona de interacción */
#congreso .interaccion {
  display: flex;
  justify-content: center;
}
#congreso h2 {
  font-size: 1.4em!important;
  font-family: "Century 725 W03 Bd" !important;
  font-weight: bold!important;
  margin-bottom: 2px!important;
  text-align: center;
  margin-top: 35px
  }
  .splide__arrow[disabled] {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    /* Para que el bloque no quede escondido bajo el header fijo (si aplica) */
#provinciab .splide,
#edad .splide,
#partido .splide,
#genero .splide {
  scroll-margin-top: 80px; /* ajusta según tu header */
}

/* Highlight solo al nombre de la provincia */
.provincia-highlight,
.edad-highlight {
  animation: provinciaHighlight 1.5s ease-out;
  border-radius: 6px;
  padding: 4px 8px;

}

.edad-highlight {
  animation: provinciaHighlight 1.5s ease-out;
}

@keyframes provinciaHighlight {
  0% {
    background-color: rgb(194, 188, 188);
    color: #000;
  }
  40% {
    background-color: rgb(194, 188, 188);
  }
  100% {
    background-color: transparent;
  }
}

.partido-highlight {
  animation: provinciaHighlight 1.5s ease-out;
}

/* Los headers (#mm) pueden contener título + dots uno debajo del otro */
#provinciab #mm,
#partido #mm,
#genero #mm,
#edad #mm {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

/* Contenedor de los pres-dots: siempre centrado, con espacio hacia abajo */
.pres-dots {
display: flex;
justify-content: center;
gap: 4px;
margin-top: 6px;    /* separa los dots del texto del título */
margin-bottom: 4px; /* separa los dots del inicio del slider (en "Todos") */
}

/* Cada dot */
.pres-dot {
width: 8px;
height: 8px;
border-radius: 50%;
border: none;
background-color: rgba(0, 0, 0, 0.25);
padding: 0;
cursor: pointer;
}

/* Dot activo */
.pres-dot.active {
background-color: #000;
}

.diputado-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
}

.diputado-modal-overlay.is-visible {
opacity: 1;
pointer-events: auto;
}

.diputado-modal {
background: rgb(242, 242, 242);
max-width: 500px;
width: 90%;
border-radius: 8px;
padding: 20px 24px;
position: relative;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.diputado-modal-close {
position: absolute;
top: -20px;
right: -20px;
width: 40px!important;
height: 40px!important;
border: none;
padding: 6px!important;
cursor: pointer;
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNLjcuN2wxOCAxOG0tMTggMGwxOC0xOCIvPjwvc3ZnPg==) no-repeat center center transparent;
background-color: #000;
/* cuadrado, sin bordes redondeados */
border-radius: 50px;
text-indent: -9999px; /* oculta el carácter “×” pero lo deja para accesibilidad */
overflow: hidden;
}

.diputado-modal-body {
display: flex;
gap: 16px;
align-items: flex-start;
}

.diputado-modal-photo img {
width: 140px!important;
height: 140px!important;
object-fit: cover;
border-radius: 4px;
  min-height: 140px!important;
}

.diputado-modal-info h2 {
font-size: 1.3rem;
margin-bottom: 8px;
font-family: "Century 725 W03 Bd" !important;
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
}

.diputado-modal-info p {
margin: 2px 0;
font-size: 0.95rem;
  text-align: left
}

.diputado-modal-cv {
display: inline-block;
text-align: center;
text-decoration: none;
background-color: black !important;
color: #fff !important;
font-weight: bold;
font-size: 0.7em;
padding: 8px 16px;
margin: 10px 0;
border-radius: 4px;
border: none;
cursor: pointer;
max-width: 150px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 767px) {
.diputado-modal-body {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.diputado-modal-photo img {
  width: 120px;
}
  #congreso{
      max-height: 450px!important;
      margin-bottom: 0!important
  }
}
.asamblea-iframe-wrapper{
  height: 500px;
  position: 
}
@media screen and (max-width: 801px) {
#c2 {
  display: none!important;  
}
}
@media screen and (min-width: 800px) {
#c1 {
  display: none!important;   
}
}
@media screen and (max-width: 800px) {
#c2 {
  display: none!important;   
}
}
@media screen and (max-width: 800px) {
    #m3 {
        background-size: 200%!important
    }  
}
@media screen and (max-width: 800px) {
footer ul[data-host][data-keyword].footer-feed{
margin-top: 10px!important    
}
}
.col{
    padding-right: 0!important
}
.splide__arrow{
    top: 43%!important
}
.splide__arrow--next {
    right: 1em!important;
}
.splide__arrow--prev {
    left: 1em!important;
}
.splide__arrow--next {
    width: 1.5em!important;
    height: 1.5em!important
}
.splide__arrow--prev {
    width: 1.2em!important;
    height: 1.2em!important
}
.splide__arrow svg{
    width: 0.9em!important;
    height: 0.9em!important
}
.titulo-diputados  {
  font-family: "Century 725 W03 Bd" !important;
  font-weight: bold;
  font-size: 2.5em !important;
}

.titulo-diputados  {
  font-family: "Century 725 W03 Bd" !important;
  font-weight: bold;
  font-size: 2.5em !important;
}