﻿body {
	margin: 0;
	overflow-x: hidden;
}

.limpio {
	clear: both;
}

.AvisoCookies {
	background-color: #e5e5e5;
	bottom: 0;
	box-shadow: 0 10px 4px 10px #e5e5e5;
	box-sizing: border-box;
	font-size: 90%;
	padding: 10px;
	position: fixed;
	z-index: 2;
	width: 100%;
}

#botonesCookies {
	text-align: center;
	margin: 1em auto;
}

body.ConAviso {
	padding-bottom: 40px;
}

/* buscador */

form {
	margin: 0;
}

.buscadorDiv {
	margin: 1px 10px 0 0;
}


.botones {
	clear: both;
	float: right;
	margin: 12px auto 0;
}

.navegacion-enlaces {
	margin-top: 14px;
	vertical-align: middle;
}

.navegacion-enlaces a {
	text-decoration: none;
}

.navegacion-enlaces:hover a {
	text-decoration: underline;
}

.navegacion-enlaces svg {
	fill: #036;
	height: 22px;
	position: relative;
	top: -1px;
	vertical-align: middle;
	width: 22px;
}

.navegacion-noenlace {
	opacity: 0.6;
}

.navegacion-noenlace svg {
	fill: #333;
}

.navegacion-anterior {
	margin-right: 1.3em;
}

/*referentes de búsquedas*/

.hilite1 {
	background-color: #ff0;
}

.hilite2 {
	background-color: #f0f;
}

.hilite3 {
	background-color: #0ff;
}

.hilite4 {
	background-color: #0f0;
}

.hilite5 {
	background-color: #f00;
}

.hilite6 {
	background-color: #00f;
}

.aviso {
	border: 1px solid red;
	margin: 1em 20px;
	padding: 0.8em;
}

/* ventana de noticias */
#simple {
	background: #FFF;
	border-top: 0;
}

#simple .parrafo {
	margin: 2em 1em 0;
}

#dEnviar {
	margin: 1em auto 0;
	text-align: center;
}

/* Nuevas reglas */
#simple #enlaceLogo {
	position: static;
	display: inline;
}

#simple #logo {
	margin: 1em auto;
	display: block;
}

#simple #layout {
	padding-top: 0;
}

#simple .links {
	display: none;
}

#simple .creditos {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

#simple main {
	padding-top: 0;
}

#simple .noticia {
	box-shadow: none;
	padding: 0;
	margin-top: 0;
}

#simple h2, #simple h3, #simple h4 {
	line-height: 1.5;
	margin-top: 10px;
}

#simple footer {
	margin-top: 2em;
}

/*#cabecera img {
	height: auto;
	max-width: 100%;
}*/

.BloqueAgenda img,
aside img {
	max-width: 100%;
	height: auto;
}

#layout {
	background-color: #fff;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1000px;
	min-height: 100vh;
}

#cabecera {
	position: relative;
	padding-top: 180px;
}

nav {
	background: #fff;
	box-sizing: border-box;
	color: #777;
	font-family: "Roboto",sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	margin: 0 auto;
	padding: 5px 0 0;
	position: absolute;
	text-align: center;
	top: 135px;
	width: 980px;
	z-index: 1;
}

.fijo {
	position: fixed;
	top: 0;
	padding-left: 30px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.fijo #enlaceLogo {
	top: 2px;
	left: 5px;
	margin-left: 0;
	background: #fff;
	overflow: hidden;
	width: 30px;
	height: 30px;
	transform: none;
	padding: 0;
}

.fijo #logo {
	height: 50px;
	position: relative;
	left: -45px;
}

nav svg {
	fill: #777;
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

.MnuSecc1 {
	font-weight: 600;
	padding-bottom: 6px;
	text-transform: uppercase;
}

.EnEdicion nav {
	top: 140px;
}

.EnEdicion .fijo {
	top: 29px;
}

#enlaceLogo {
	left: 50%;
	position: absolute;
	top: -125px;
	transform: translateX(-50%);
}

footer {
	overflow: auto;
}



/* menu */
.MNivel2 img {
	margin-right: 5px;
}


nav ul {
	margin: 0;
	padding: 0;
}

nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	position: relative;
	top: 0;
	transition: all 0.35s ease-out;
}

.menu .MNivel1 > a::before {
	border-top: 0;
	content: "";
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	transition: all 0.35s ease-out;
}

.menu .MNivel1:hover > a::before {
	border-top: 5px solid #e96615;
	top: -10px;
}

nav li:last-child {
	border-right: 0;
}

nav li:last-child a {
	margin-right: 0;
}

nav li li {
	padding: 0.1em 0;
	border: 0;
}


.menu {
	display: inline-block;
	vertical-align: bottom;
}

nav a {
	color: #777;
	display: block;
	font-size: 100%;
	padding: 0 10px;
	text-decoration: none;
	white-space: pre;
}

nav a:hover {
	text-decoration: none;
}

/*efecto*/
.menu ul {
	display: block;
	left: -999em;
	min-width: 100%;
	position: absolute;
	z-index: 1;
}

.menu li li {
	background-color: rgba(64, 64, 64, 0.8);
	border: 0;
	box-sizing: border-box;
	display: block;
}

.menu li:hover > ul, .menu li.sfhover > ul {
	left: auto;
}

.abierto1, .abierto2, .abierto3, .abierto4 {
	font-weight: bold;
}

/* SUBMENU */
.menu ul {
	border: 1px solid #999 \9;
	border-top: 0;
	padding: 0;
	padding-top: 10px;
}

.menu > li {
	text-align: left;
}

.menu .MNivel2:hover {
	background-color: rgba(64,64,64, 0.95);
}

.menu .MNivel3:hover {
	background-color: rgba(32,32,32, 0.95);
}

.menu ul a {
	color: #eee;
	font-size: 100%;
	padding: 3px 0.4em;
	text-align: left;
}

/* submenus */
.menu .MNivel3 {
	background-color: rgba(64,64,64, 0.95);
	padding: 0.1em 0 0.1em 0.5em;
}


.menu li:hover ul ul,
.menu .sfhover ul ul {
	left: -999em;
	display: inline-block;
}

.menu ul li:hover ul,
.menu ul .sfhover ul {
	left: 100px;
	margin-left: 0;
	margin-top: 0;
	padding: 0;
	top: 0;
}

.menu .MNivel2:hover > ul {
	padding-top: 0;
	top: 0;
	left: 100%;
}

.menu .padre2 {
	/*display: inline-block;*/
	padding-right: 20px;
}

.padre2::after {
	content: " ";
	right: 2px;
	position: absolute;
	top: 9px;
	width: 10px;
	height: 10px;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnICB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIGZpbGw9JyNFRUVFRUUnIHZpZXdCb3g9JzAgMCAyNCAyNCc+PHBhdGggZD0nTTggNXYxNGwxMS03eicvPjwvc3ZnPg==");
	background-repeat: no-repeat;
}

.mnNoticiasNav .MnuSecc2 {
	max-width: 260px;
	min-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: pre;
}

.MNivel1 > ul {
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
	padding-top: 0;
}

nav .MNivel2 > ul {
	box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.mnNoticiasNav .MNivel3:first-child {
	padding-top: 0.5em;
}

.mnNoticiasNav .MNivel3:last-child {
	padding-bottom: 0.5em;
}

.buscador {
	position: absolute;
	background: #fff;
	white-space: pre;
	padding: 0 1px 1px;
	right: 0;
}
/*#q {
	margin-right:5px;
}*/
.oculto {
	display: none;
}
/* /menu */

.datos {
	pointer-events: none;
}



footer {
	border-top: 1px solid #ddd;
	clear: both;
	font-size: 89%;
	margin-top: 3em;
	padding: 10px;
}

.links {
	color: #5E3915;
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	padding-left: 20px;
	width: 90%;
}

footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	vertical-align: top;
	flex: 1;
	flex-basis: 140px;
	margin-bottom: 1em;
}

footer li {
	margin: 0;
	font-size: 90%;
}

footer a {
	color: #5E3915;
	text-decoration: none;
}

footer li:first-child {
	font-weight: bold;
	border: 1px solid #ddd;
	border-width: 0 0 1px 0;
	margin-right: 12px;
	margin-bottom: 5px;
	padding-bottom: 1px;
	font-size: 100%;
}

.creditos {
	border-top: 1px solid #ddd;
	color: #5E3915;
	margin-top: 1em;
	padding-top: 0.5em;
}


.webmaster {
	float: right;
	margin-top: -17px;
}

.webmaster a {
	color: #ccc;
	text-decoration: underline;
}

.webmaster a:hover {
	color: gray;
	text-decoration: none;
}


main {
	padding-top: 18px;
}

.contenido {
	color: #333333;
}

.noticia {
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.32);
	margin-top: 10px;
	padding: 15px 20px 10px 50px;
}

.noticia:after {
	content: " ";
	display: block;
	clear: both;
}

.head2 {
	display: none;
}

#divLogin {
	box-sizing: border-box;
	color: #5E3915;
	font-size: 10pt;
	padding: 5px 10px 10px;
}

#divLogin .texto {
	font-size: 100%;
	padding: 1px 2px 0;
	width: 110px;
}

.pgRegistro form {
	border: 1px solid #369;
	width: 270px;
	margin: 0 auto;
}

.pgRegistro h3 {
	line-height: 1.5;
	font-weight: normal;
	border-bottom: 1px solid #369;
	margin: 10px 1em 0;
}

.cajaInput label, .cajaInput .label {
	display: inline-block;
	padding-right: 5px;
	text-align: left;
	width: 80px;
}

.modificar label, .modificar .label {
	width: 230px;
}

.infoWeb .label {
	display: inline-block;
	width: 80%;
}

#divLogin .cajaInput,
.cajaInput {
	margin: 7px 0;
}

.cajaInput .bloquetexto {
	background-color: #e5e5e5;
	border: 1px solid #ccc;
	box-sizing: border-box;
	display: inline-block;
	padding: 3px;
	width: 330px;
}

#iEntrar {
	margin: 8px;
}

#Modificar {
	font-size: 90%;
}

#Modificar .row {
	margin-bottom: 15px;
}

.row.nota {
	margin-top: 10px;
}

.nota a {
	color: #fff;
	font-size: 90%;
}

.infoWeb {
	margin: 0 auto;
	width: 95%;
}

.opciones {
	vertical-align: top;
}

#frmDatos {
	margin: 2em 0;
}

div.centered {
	text-align: center;
}

div.centered div, div.centered table, div.centered caption {
	margin: 0 auto;
}


.login {
	color: #aaa;
	font-size: 95%;
	position: absolute;
	right: 50px;
	top: 10px;
}

.login.identificado {
	right: 10px;
}

.login a {
	color: #aaa;
	display: inline;
	padding: 0;
}

.logout {
	margin-left: 15px;
}

.pgRegistro {
	margin: 0 auto 1em;
}

.btn {
	cursor: pointer;
}

.btn svg {
	display: block;
	width: 24px;
	height: 24px;
	vertical-align: top;
}

.navbar-inner {
	display: inline-block;
	position: relative;
}

.btn-navbar {
	display: none;
}

.btn:hover {
	text-decoration: none;
}

#enlaceLogoMovil,
#lupa-movil,
.mobile-only {
	display: none;
}

#bn1 {
	width: 1600px;
	left: -310px;
	position: relative;
}

ul.paging {
	left: 50%;
	transform: translateX(-50%);
}

.CarruselHolder img {
	max-width: 100%;
}

.textos {
	position: absolute;
	text-align: center;
	background-color: rgba(32, 32, 32, 0.6);
	width: 100%;
	color: #fff;
	font-size: 160%;
	bottom: 0;
	white-space: pre;
}


.onoffswitch {
	position: relative;
	width: 90px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.onoffswitch-checkbox {
	display: none;
}

.onoffswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #999;
	border-radius: 20px;
}

.onoffswitch-inner {
	display: block;
	width: 200%;
	margin-left: -100%;
	transition: margin .3s ease-in 0s;
}

.onoffswitch-inner::before, .onoffswitch-inner::after {
	display: block;
	float: left;
	width: 50%;
	height: 30px;
	padding: 0;
	line-height: 30px;
	font-size: 14px;
	color: white;
	font-family: Trebuchet, Arial, sans-serif;
	font-weight: bold;
	box-sizing: border-box;
}

.onoffswitch-inner::before {
	content: "SÍ";
	padding-left: 10px;
	background-color: #8da67e;
	color: #FFF;
}

.onoffswitch-inner::after {
	content: "NO";
	padding-right: 10px;
	background-color: #EEE;
	color: #999;
	text-align: right;
}

.onoffswitch-switch {
	display: block;
	width: 18px;
	margin: 6px;
	background: #FFF;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 56px;
	border: 2px solid #999;
	border-radius: 20px;
	transition: all .3s ease-in 0s;
}

.cambiandoestado {
	opacity: .5;
	pointer-events: none;
	cursor: wait;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
	margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
	right: 0;
}

.gdpr-cookiesopcionales {
	max-width: 800px;
	margin: 0 auto;
}

#mensaje-iframe.dialogo-gdpr dialog {
	width: 750px;
	padding: 0 10px;
	max-height: 640px;
}

@media all and (max-width: 1000px) {
	#bn1 {
		width: 100%;
		left: 0;
		position: static;
	}
}


@media all and (max-width: 980px) {
	.fijo {
		padding: 0;
		top: 55px;
	}

	#enlaceLogoMovil {
		display: block;
		position: absolute;
		top: 5px;
		z-index: 2;
	}

	#enlaceLogo {
		display: none;
	}

	.nav-dcha {
		float: none;
	}

	#lupa-movil {
		display: block;
		position: absolute;
		right: 70px;
		top: -35px;
	}

	.MNivel1.lupa {
		display: none;
	}

	.btn-navbar {
		display: block;
		position: absolute;
		right: 10px;
		top: 10px;
		font-size: 140%;
		border: 1px solid #e2e2e2;
		border-radius: 3px;
		background: #FFF;
		border-bottom-color: #cecece;
		box-shadow: 0 3px 2px 0 rgba(0,0,0,0.06), inset -1px -1px 1px 0 rgba(0,0,0,0.02);
		padding: 0 2px 0;
	}

	nav {
		position: fixed;
		left: -100%;
		transition: background-color 0.35s, left 0.01s linear 0.35s;
		background-color: rgba(128,128,128,0);
		width: 100%;
		overflow: scroll;
		font-size: 110%;
		height: 100%;
		padding: 0;
		z-index: 1;
		text-align: left;
		top: 55px;
		padding-bottom: 55px;
	}

	.MnuSecc1 {
		font-size: 120%;
		text-transform: capitalize;
	}

	a.MnuSecc2 {
		padding: 4px 0;
	}

	nav a {
		color: #999;
		white-space: normal;
	}

	.MNivel1 > ul,
	.MNivel2 > ul {
		box-shadow: none;
	}

	.menu .MNivel2:hover {
		background: #FFF;
	}

	.menu .MNivel1:hover > a::before {
		border-top: 0;
	}

	.ConMenu {
		position: fixed;
		width: 100%;
	}

	.ConMenu nav {
		left: 0%;
		background-color: rgba(128,128,128,.8);
		transition-delay: initial;
	}

	.contenidoNav {
		background-color: #fff;
		min-width: 55%;
		display: inline-block;
		box-shadow: 5px 0 5px #ccc;
		box-sizing: border-box;
		position: relative;
		left: -100%;
		padding: 1px;
		transition: left 0.35s ease-out;
	}

	.login {
		padding-right: 10px;
		position: static;
		text-align: right;
	}

	.menu {
		display: block;
	}

	.ConMenu .contenidoNav {
		left: 0%;
	}


	.MNivel1 {
		display: block;
		border-right: 0;
		margin: 15px 0;
	}

	/*.menu li:hover > ul, .menu li.sfhover > ul {
		padding-top: 10px;
	}*/

	.abierto > ul,
	.menu li:hover > ul, .menu li.sfhover > ul {
		left: auto;
		display: block;
		position: static;
	}

	.menu ul {
		background-color: transparent;
		border-right: 0;
		margin-top: -6px;
		margin-bottom: 5px;
	}

	.menu ul a {
		text-align: left;
		padding-left: 20px;
		margin: 0 5px;
		color: #999;
	}
	/*
	header, #simple header {
		height: 77px;
	}
	*/
	nav li li {
		padding: 5px 0;
	}

	.menu li li,
	.mnNoticiasNav .MNivel3 {
		background-color: #fff;
	}

	.nav-dcha {
		float: none;
	}

	.MNivel2 > ul {
		margin: 0;
		padding: 0;
	}

	nav li li li {
		font-size: 90%;
		padding: 3px 0;
	}

	.menu .MnuSecc3 {
		box-sizing: border-box;
		padding-left: 30px;
	}

	.mnNoticiasNav .MnuSecc2 {
		max-width: none;
		white-space: normal;
	}
	/*
	.abierto .MNivel3 ul {
		display: none;
	}
	*/
	/* sin 3 nivel en móvil
	.MNivel4.abierto ul,
	.menu li:hover ul ul ul,
	.menu li.sfhover ul ul ul{
		display: none;
	}
	 */
	.MNivel3.abierto .MnuSecc4,
	.MNivel3:hover .MnuSecc4,
	.MNivel3.sfhover .MnuSecc4 {
		padding: 2px 0 2px 50px;
	}

	.padre2::after {
		content: "";
	}

	nav .MNivel2 > ul {
		box-shadow: none;
	}

	#cabecera {
		padding-top: 50px;
	}
}

@media all and (max-width: 860px) {
	.links {
		width: auto;
	}

	.noticia {
		padding-left: 20px;
	}
}


@media all and (max-width: 800px) {
	.actividades {
		flex-basis: 100%;
		order: 2;
	}

	.actividades h2, .mnActividades {
		display: none;
	}
}

@media all and (max-width: 560px) {
	.webmaster {
		float: none;
		margin-top: 0;
	}

	.creditos {
		text-align: center;
	}

	.BloqueNoticias {
		flex-basis: 100%;
	}

	.no-mobile, .lateral.no-mobile {
		display: none;
	}

	.mobile-only {
		display: inherit;
	}

	img.dcha, img.izda {
		float: none;
		margin: 0 auto 5px;
		display: block;
	}

	.paging {
		display: none;
	}

	main {
		padding-top: 0;
	}
}

#FechaImpresion {
	display: none;
}

@media print {
	.noticia {
		box-shadow: none;
		padding-left: 20px;
		overflow: visible;
	}

	footer {
		border-top: 1px solid #999;
		background-color: #fff;
		margin-top: 1em;
	}

	.creditos, footer a {
		color: #666;
	}

	.webmaster, .enlaceLegal {
		display: none;
	}

	#enlaceLogo {
		display: block;
	}

	#FechaImpresion {
		display: block;
		position: absolute;
		top: 40px;
		right: 10px;
		font-size: 110%;
	}

	.noImprimir {
		display: none;
	}
}
