body {
  font: 400 15px/1.8 Lato, sans-serif;
  color: #777;
}

/* HEADER NUEVO */
.header{
	background-color: #FFDB00;
	padding-top: 10px;
} 

.header .logos-mir {
    text-align: left;
    margin-bottom: 0px !important;
	padding-bottom: 10px;
}

.header .menu-idiomas {
	background: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    margin-bottom: 0rem !important;
}

.header .menu-select {
    padding-right: 3px;
}

.header .search-item {
    font-size: 13px;
    margin-right: 5px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header .search-item a {
	color: rgb(29, 29, 27);
    text-decoration: none;
    font-size: 14px;
}

.header .search-item a span{
	border-left: 1px solid;
    padding-left: 10px;
}

.header .menu-idiomas .logo-mundo {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-right: 4px;
	margin-top: -8px;
    color: black;
}

.header .menu-idiomas .icono-buscar {
    height: 16px;
}

.header .menu-idiomas .logos-mir a {
	text-decoration: none !important;
}

.header .logos-mir .img-ministerio {
    height: 80px;
    padding: 5px;
}

.header .logos-mir .img-oar {
	height: 65px;
	padding: 5px;
}

.header .logos-mir .img-ue {
	height: 70px;
	padding: 5px;
}

.logos-mir{
	margin-bottom: 10px !important;
}

.header .search-form {
	display: none;
}

.header .menu-top {
	padding-top: 20px;
	margin-bottom: 0px !important;
}

.header .menu-top .nav-side {
    display: flex;
    flex-direction: initial;
    justify-content: end;
}

.header .menu-top .nav-side li  {
	padding-left: 20px;
}

.header .nav-side li.currentpage {
    color: black;
	font-weight: bold;
}

.header .nav-side li.currentpage>a:not(.btn) {
    background: 0 0;
    color: black !important;
}

.header .nav-side li {
    border-top: none !important;
}

.header .menu-top .nav-side li a {
	padding: 0px !important;
}

.header .menu-select select {
	word-wrap: normal;
    position: relative;
    display: block;
    width: 108px;
    font-size: 14px;
    text-align: right;
    color: #1d1d1b;
    background: 0 0;
    background-size: 7px 4px;
    background-repeat: no-repeat;
    background-position: 95% center;
    border: none;
    padding: 3px 10px 3px 5px;
    margin-right: 5px;
    box-sizing: border-box;
    z-index: 1;
    cursor: pointer;
    transition: background-color .5s ease;
}

.header .selector-responsive {
	display: none;
}
.header .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    color: black;
}


.header .bandera{
	background: linear-gradient(to right,#ad1519 0,#ad1519 25%,#fabd00 25%,#fabd00 75%,#ad1519 75%,#ad1519) no-repeat;
    height: 8px !important;
}

.header .bandera .oc-container{
    display:none;
}

@media (min-width: 992px) {
    .header .boton-menu {
        display: none;
    }
	.header .navbar {
        display: none !important;
    }
	.header .menu-top {
		display: block;
	}
}

@media (max-width: 992px) {
    .header .boton-menu {
        display: block;
		margin-top: 10px;
    	text-align: center;
    }
	.header .navbar {
        display: block !important;
    }
	
	.header .menu-top {
		display: none;
	}
	.header .selector-responsive {
		display: none;
	}
	.header .logos-mir {
		text-align: center;
	}
	
	.header .logos-mir .img-oar {
		height: 50px;
		padding: 0px;
	}

	.header .logos-mir .img-ue {
		height: 45px;
		padding: 0px;
	}

	.header .logos-mir{
		margin-bottom: 0px !important;
		padding-top: 10px;
	}
	
	.header .boton-menu {
		margin-bottom: 0px !important;
	}
	
	.header .logos-mir .img-ministerio {
		height: 60px;
		padding: 0px 5px 0px 0px;
	}
}


/* FIN HEADER */


a:hover {
    color: #00497a !important;
}
.accordion h2 a:hover {
	color: #fff !important;
}
.textoBanner a:hover {
	color: #fff !important;
	text-decoration-color: #fff !important;
}

.footer-row{
	background-color: #154481
}

.sub-footer-row {
  background-color: black;
}
.login {
  background-color: #154481;
}

@media print {
    .header, .footer-row {
        background-color: #154481 !important;
        -webkit-print-color-adjust: exact; 
    }
	.sub-footer-row {
		background-color: #000 !important;
        -webkit-print-color-adjust: exact; 
	}
}


.header-infoelec img{
	width: 60%;
}
/*Ocultar titulos*/

.leaflet-control-attribution .leaflet-control{
	display:none;
}

/*.resultadosElectorales h2{
    display: none;
}*/
.img-interior h1{
	display: none;
}
.header-infoelec h1{
	display: none;
}

/*.banner h2{
	display: none;
}*/

.enlinea  {
	display: flex;
	flex-direction: column;
}

/* Estilos HEADER */


.styled-form .input.button button.btn {
	background-color: #ffc107;
	color: black;
}

.styled-form .input.button button.btn:hover {
	background-color: #dddddf;
	color: #154481;
}

.header-lenguages {
  display: flex;
  justify-content: flex-end;
  color: #fff !important;
  padding-top: 5px;
  margin-bottom: 0px !important;
}

.header-lenguages ul li {
  border-right: 1px solid #fff;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 14px;
  font-weight: bold;
  margin-right: 0px !important;
}

.header-lenguages ul li a {
color: #fff;
}

.header-lenguages ul li a span:hover, .header-lenguages ul li a:hover {
    color: #fff !important;
}


.header-lenguages :last-child {
  border: 0px;
}

.header-icons ul{
display: flex;
padding: 10px 0px 0px 0px;
}

.header-icons ul li{
padding-right: 15px;
list-style: none;
}


.header-infoelec {
  text-align: center;
}
.nav-first a {
  padding-left: 0px !important;
}
.nav-style{
    border-top:1px solid #fff;
    color: #fff !important;
}
 
.nav-style .container{
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.nav-desplegables {
    display: flex;
    justify-content: space-between;
    padding: 5px 0 5px 0;
    padding-left: 0px !important;
}

.nav-desplegables ul {
  justify-content: flex-start;
}

.nav-desplegables ul li {
}

.nav-desplegables ul li a{
  color: #fff !important;
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-desplegables ul li a:hover{
  text-decoration: underline white !important;
}

.nav-main-items>li[aria-expanded]>a::after{
  color:white !important;
}

.nav-desplegables ul li ul li a{
  color: #232323 !important;
}

.nav-desplegables :last-child {
  border: 0px;
}

.nav-desplegables ul li ul li a:hover{
  text-decoration: underline #232323 !important;
}

.nav-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0px !important;
}
.breadcrumbs{
  display:flex;
  background-color: #232323 !important;
  color:#ffcd00;
  margin-bottom:30px;
}

.nav-breadcrumbs ul{
  padding-top: 15px;
  color:#ffcd00
}
.nav-breadcrumbs>li {
  color: #ffcd00 !important;
}
.nav-breadcrumbs>li a{
  color: #fff !important;
  font-size:12px;
}


/* Estilos HEADER */
.search {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0px !important;
}
.searchSection {
  width: 15em;
  display: flex;
  justify-content: right;
}
.searchSection div{
    display: flex;
    padding-top: 0px !important;
}
.searchSection input{
  display: flex;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  /* border-radius: 0.25rem; */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.searchSection button{
  background-color: #ffcd00;
  width: 12%;
  display: flex;
  border: 1px solid #ced4da;
  border-top-right-radius: 0.25em;
  border-bottom-right-radius: 0.25em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sectionsNavItem{
  padding-right: 0.7em;
}

.sectionsNavbar {
  display:flex;
list-style:none;
padding-left: 0px;
}



/* Estilos MENU */
.menu {
  background-color: #154481 !important;
  border-top: 1px solid white;
  padding: 0px !important;
}

.menu a {
  color: white;
}
/* Estilos MENU */

/* Estilos BREADCRUM */
.menu-breadcrum {
  background-color: #232323 !important;
  padding: 0px !important;
}

.menu-breadcrum ul {
  padding: 9px !important;
  margin: 0px !important;
}

.menu-breadcrum ul li {
list-style: none
}

.menu-breadcrum ul li a{
color: #ffcd00;
  padding: 3px 8px;
  font-size: 14px;
}


.menu-breadcrum a {
  color: #ffcd00;
}

/*Estilos contenido*/

.contenido {
  padding-top: 20px;
}  

/* Estilos FOOTER*/
.otros-enlaces {
  color: #fff !important;
  padding-top: 20px;
}
.otros-enlaces ul li a span {
color: white;
}

.otros-enlaces-2 ul li a span {
color: white;
}
.links-black {
  margin-bottom: 0px !important;
}
.links-black ul li a span{
color: #fff ;
margin-bottom: 0px !important;
}

.otros-enlaces ul li a span:hover {
  text-decoration: underline;
}
.otros-enlaces h3 {
  color: #fff  !important;
  text-transform: uppercase;
}

.otros-enlaces-2{
  color: #fff;
  padding-top: 50px;
}

.otros-enlaces-2 ul li a span:hover {
  text-decoration: underline;
  text-decoration-color: white;
}


.footer-links {
  color: #fff !important;
  padding-top: 10px;
  padding-bottom: 10px;
}
.footer-links a span:hover{
  text-decoration: underline;
  text-decoration-color: white;
}

.footer-links ul li {
  border-right: 1px solid #fff;
  padding-right: 10px;
  padding-left: 10px;
  margin-right: 0rem !important; 
}

.footer-links ul li:first-child {
  padding-left: 0px;
}

.col-lg-5 {
  display: flex;
  justify-content: center;
}

.footer-links :last-child {
  border: 0px;
}

.logos-footer{
  display: flex;
  justify-content: flex-end;
}

.logos-footer img{
  padding-right: 0.5em;
}

.container-imgs {
display: flex;
justify-content: flex-end;
}

.container-imgs .col-lg-4:last-child {
  justify-content: flex-end;
}

.info-footer {
  margin-bottom: 0px !important;
}

.info-footer div {
display: flex;
justify-content: flex-end;
}


.info-footer div p{
color: #ffcd00 !important;

}
/*BODY*/
.body-style {
padding-top: 20px;
}
.iframe{
    height:100% !important;
}


/*ESTILOS ENCUESTA*/


.estilo-encuesta{
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  font-size: 16px;
  align-items: center;
}


.primer-texto-encuesta {
  color: #ffda47;
  padding-bottom: 0px;
  margin-bottom: 0px !important;
  padding-top: 10px;
}


.segundo-texto-encuesta {
  display: block;
  color: #fff;
  margin-bottom: 0px !important;
}

.textos a:hover {
	color: white !important;
}

.primer-texto {
	color: #ffda47;
	padding-bottom: 0px;
	margin-bottom: 0px !important;
	text-transform:uppercase;

}

.segundo-texto {
	color: #fff;
	margin-bottom: 0px !important;
	text-transform:uppercase;
}

.banner .textoBanner a, .only-visual .visual a{
	display: block;
}

.banner {
  background-color: #154481;
  padding: 20px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 160px;
}
.banner :last-child {
  color: #fff;
}

.imgBanner {
  display: flex;
  justify-content: flex-end;
  color: white;
}
.textoBanner {
  padding-top: 20px;
}

.textoBanner span {
  display: block;
  font-size: 14px;
  text-transform:uppercase;
  font-weight: bold;
}


/* MAPA PORTADA */

.mapaPortada {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../media/mapa-espana-provincias.png);
    min-height: 340px;
    display: flex;
    align-items: center;
}


.resultados {
    background: white;
    width: 100%;
	text-align:center;
}


.izquierda {
    display: flex;
    flex-direction: column;
}

.amarillo{
    color: #ffcd00;
    font-size: 40px;
    line-height: 35px;
}

.azul {
  	font-size: 40px;
    color: #0e2e58;
    line-height: 60px;
}

.derecha {
	width: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    /* border: 1px solid; */
    font-weight: bold;
    color: #0e2e58;
}

.derecha img {
    margin-left: 10px
}

.btnResultados {
    border: 2px solid #ffcd00;
    padding: 3px;
}

/*.img{
	color: white;
}*/

.btn .fa-search {
  font-size: 14px;
}

.select .form-control {
  height: auto !important;
}

.accordion .acco-header {
	font-size: 1.7rem !important;
}

/* ESTILOS DETALLES */
.btnData {
	font-size: 16px;
	font-weight: bold;
}

div.heading h2.piece-heading, .variant-accordion h2.heading, div.custom-icon h2.heading, .download-list h2.heading, .type-nav-side h2.heading{
	text-transform: uppercase;
	color: #154481;
	margin-bottom:25px;
}

div.heading h1, h1.heading {
	text-transform: uppercase;
	border-left: 6px solid #ffc107;
 	padding-left: 15px;
	color: #154481;
	margin-bottom:25px;
}


.text a {
	font-weight: 600;

}

.accordion .acco-toggle::after{
	color:#ffc107;
}
.accordion h2.acco-header a{
	color:#154481;
}
 .nav-side li.currentpage>a:not(.btn){
 font-weight:bold;
 	color: #144382 !important;
}
 .nav-side li >a{
	
	color:#070808 !important;

}

/*menu enlaces*/
.nav-menu>li>a{
	border:none !important; 
}

.nav-menu>li{
 border-bottom: 1px solid #dddddf;
}

.nav-menu>li.active>a{
background-color:white !important;
}
li.fa-link{
margin-top:10px;
margin-bottom:10px;
}

/* mapa web*/


.mapaWeb  ul.nav-side li:first-child{
	background-color:white !important;
	
}

.mapaWeb  ul.nav-side > li:first-child a{
	
	color:#144382 !important ;
	font-size:16px;
}
.mapaWeb  ul.nav-side li  {
	background-color:#144382;
	color:white !important;
	
	font-weight:bold;
}

.mapaWeb  ul.nav-side li a {
	padding-left:15px;
	}
.mapaWeb  ul.collapse li a {
	background-color:#efefef;
	color:#144382 !important;
}
.mapaWeb  ul.collapse li ul li a{
	background-color:white;
	padding-left: 25px;
	
}

.mapaWeb  ul.nav-side> li> a {

	color:white !important;
	font-size:16px;
}



.mapaWeb ul.nav-side> li> a:hover {

	color:#144382 !important;
	
}

.mapaWeb  .nav-side li > a[aria-expanded][aria-controls]::after{
	color:#ffc107;
	font-size:21px;
	font-weight:bold;

}
.mapaWeb ul.collapse li > a[aria-expanded][aria-controls]::after{
	color:#144382;
	

}
.mapaWeb ul.collapse > li > ul > li > ul > li a {
	font-weight:500;
	padding-left: 40px;
}

.mapaWeb .nav-side li > a:not(.btn):hover{
	background:#c8c8ce;
}
/*pagina buscar */

.type-search button, .type-search select, .input-group input{
	font-size:16px;
}
/*parrafos */
.body p, .body ol li{
	color:#070808;

}

/*SEARCH*/
.search-result-heading a:hover {
	color: #00497a;
    text-decoration: underline;
}

@media (min-width: 1013.98px){
 /*ESTILOS DIV VISITAS VIRTUALES*/
 
 
 .div-visitas .visitas {
    display: flex;
	flex-direction: column;
    align-items: center;
	text-align: center
 }
 
 .div-visitas .visitas img{
 	margin-bottom: 10px;
 }
 
 /*.nav-side li > a:not(.btn) {
    	color: #464040 !important;
	}*/
}


@media (max-width: 1013.98px) {

	.nav-main-container {
		display: contents;
	}
	
	.menu-idiomas{
		display: flex;
		vertical-align: middle;
	}
	
	.default-margin, .element, .subelement {
   		 margin-bottom: 1rem;
	}

	.styled-form .input.button {
		margin-top: 10px !important;
	}
	
	.menu-barras{
		display: inline-flex;
	}
	
	body .nav-main-container .nav-main-group {
		display: none;
	}

	.nav-desplegables {
		position: absolute !important;
		z-index: 10000;
		top: 0;
		margin-top: 40px !important;
		padding-bottom: 5px;
		padding: 8px !important;
		background-color: #154481 !important;
    }
	
	/* BOTÓN MENU RESPONSIVE */
	#nav-button{
		top: 0;
		left: 0;
	}
	#nav-button span,
	#nav-button span:after,
	#nav-button span:before {
	  transition: all 500ms ease-in-out;
	  border-radius: 1px;
	  height: 3px;
	  width: 21px;
	  position: absolute;
	  display: block;
	  content: "";
	  background: white;
	  z-index: 1;
	}
	#nav-button span:before {
	  top: -6px;
	}
	#nav-button span:after {
	  bottom: -6px;
	}
	#nav-button.active span {
	  background-color: transparent;
	}
	#nav-button.active span:before,
	#nav-button.active span:after {
	  top: 0;
	}
	#nav-button.active span:after {
	  transform: rotate(-45deg);
	}

	#nav-button.active span:before {
	  transform: rotate(45deg);
	}
	/* BOTÓN MENU RESPONSIVE */
	
	.nav-desplegables ul li a {
		padding-left: 15px !important;
	}
	
	.nav-desplegables ul li ul li a{
		color: white !important;
	}
	
	.nav-main-items li.active>a {
		color: #555 !important;
		font-weight: bold;
	}
	
	.nav-main-items li[aria-expanded=true]>a {
		color: #555 !important;
		font-weight: bold;
	}

	.img-interior {
		padding-top: 10px;
		height: 60px;
		display: flex;
		justify-content: center;
	}

	.info-footer div {
		color: #ffcd00;
		text-align: center;
		padding-bottom: 4px;
	}
	
	.mapaPortada{
		min-height: 221px;
	}
	
	.derecha {
		font-size: 16px;
		display: flex;
		align-items: center;
		/* border: 1px solid; */
		font-weight: bold;
		color: #0e2e58;
		margin-right: 10%;
	}
	
	.azul {
    	font-size: 23px;
    	color: #0e2e58;
    	line-height: 23px;
	}
	
	.estilo-encuesta {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		font-size: 16px;
		align-items: center;
	}
	
	.logos-footer {
		display: flex;
		justify-content: center;
	}
	
	.footer-links {
		text-align: center;
	}
	
	.banner {
		height: 170px;
	}
	
	.otros-enlaces {
		margin-bottom: 0px !important;	
	}
	
	.otros-enlaces h2 {
		text-align: center;
	}
	
	.otros-enlaces-2 {
		padding-top: 0px;
		margin-top:15px;
	}
	
	/*BANNERS VISITAS VITUALES*/
	.visitas {
		display: flex;
		align-items: center;
	}

	.div-visitas img{
		margin-right: 10px;
	}

	.textos {
		display: flex;
		font-size: 16px;
		padding-left: 15px;   
	}

	.textos a span{
		display: flex;
		color: white;
		font-weight: 500;
	}
	
	.resultados {
		flex-direction:column;
		align-items:center;
	}
}

@media (max-width: 740px)
.nav-desplegables {
    width: 70% !important;
}

@media (max-width: 500px)
.nav-desplegables {
    width: 100% !important;
}

@media (max-width: 1024px)
.nav-desplegables {
    width: 100% !important;
}

@media (max-width: 700px){
	.info-footer div {
	display: flex;
	justify-content: center;
	}
	.izquierda {
		margin-top:10px;
	}
	.derecha {
		margin-bottom:10px;
	}
}
@media (max-width: 361px){
	.textoBanner span {
		font-size: 12px;
	}
	.banner {
		padding:20px 20px 20px 10px;
	}
	.footer-container{
		font-size: 12px;
	}
	.btnResultados{
		padding: 3px;
		font-size: 15px;
	}
}

#cookieNotice .confirm:hover{
	color:white !important;
	text-decoration:underline !important;
}

#cookieNotice .learn-more:hover {
	color: black !important;
}

.calendario-electoral a:hover {
	color:white !important;
	text-decoration:underline !important;
}

/* Flecha menú */
.nav-side li> .arrow {
	color: #000000;
	height:	0px;
	position: absolute;
	top: 25px;
	right: 0px;
}
.nav-side li>span[aria-expanded][aria-controls]::after {
	position: absolute;
	display: inline-block;
	font-family: FontAwesome;
	right: 0;
	width: 40px;
	content: "\f107";
	font-weight: 400;
	text-align: center;
	transform: rotate(0) translate(0, 0);
	transition: transform .33s;
	cursor: pointer;
	margin-top: -20px;
}

/* Caption table */
caption {
    display: table-caption !important;
    caption-side: top !important;
}
