﻿@charset "utf-8";

body {
	background-attachment: fixed;
	background-color: #fff;
	background-image: url("/images/fondo.jpg");
	background-position: center -310px;
	padding: 0;
}

body#simple {
	background-image: none;
	max-width: 1000px;
}

body.EnEdicion {
	background-position: center -310px;
}

#layout {
	max-width: 1000px;
	margin: 0 auto;
	background-color: #FFF;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

header {
	position: relative;
	margin: 0 10px;
}

main {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	padding-top: 2px;
}

#enlaceLogo {
	z-index: 1;
	position: relative;
	margin-left: 5px;
}

#logo {
	vertical-align: top;
	height: 136px;
}

#logo, .btn-navbar {
	transition: all .35s ease-out;
}

.cabecera-titulo {
	font-size: 200%;
	left: 120px;
	position: absolute;
	top: 30px;
	color: #1C5555;
}

.cabecera-titulo-navarra {
	font-size: 60%;
	display: block;
}

nav {
	background-color: #1C5555;
	box-sizing: border-box;
	padding-bottom: 7px;
	padding-right: 5px;
	padding-top: 7px;
	position: absolute;
	text-align: right;
	top: 91px;
	vertical-align: text-bottom;
	width: 100%;
}

nav ul {
	margin: 0;
	padding: 0;
}

nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
	position: relative;
	top: 0;
	transition: all .35s ease-out;
	border-right: 1px solid #FFF;
}

.menu .MNivel1 > a::before {
	border-top: 0px solid #333;
	content: "";
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	transition: all .35s ease-out;
}

nav li:last-child {
	border-right: 0;
}

nav li:last-child a {
	margin-right: 0;
}

nav li li {
	padding: .1em 0;
	border: 0;
}

.menu {
	padding: 0;
	vertical-align: bottom;
}

nav a {
	display: block;
	padding: 0px 10px;
	text-decoration: none;
	font-size: 100%;
	color: #FFF;
	white-space: pre;
}

nav a:hover {
	text-decoration: none;
}

/*efecto*/
.menu ul {
	position: absolute;
	left: -999em;
	z-index: 1;
	display: block;
	min-width: 100%;
}

.menu li li {
	border: 0 none;
	box-sizing: border-box;
	display: block;
}

@media all and (min-width: 820px) {
	.menu .MNivel1:hover > a::before {
		border-top: 5px solid #1C5555;
		top: -10px;
	}

	.menu li:hover ul, .menu .sfhover ul {
		left: auto;
	}

	.menu li:hover > a, .menu .sfhover > a {
		color: #FFF;
	}

	.MNivel1:hover {
		background-color: rgba(64, 64, 64, .8);
	}

	.menu .MNivel2:hover {
		background-color: rgba(64, 64, 64, .95);
	}
}

.abierto1, .abierto2 {
	font-weight: bold;
}

/* SUBMENU */
.menu ul {
	background-color: rgba(64, 64, 64, .8);
	border: 1px solid #999;
	border-top: 0;
	padding: 0;
	padding-top: 10px;
}

.menu ul a {
	color: #eee;
	padding: 3px .4em;
	font-size: 100%;
	text-align: left;
}

.contenido {
	box-sizing: border-box;
	min-height: 400px;
	vertical-align: top;
	flex: 1;
	margin: .6em 29px 1em 1em;
}

.contenido a {
	text-decoration: underline;
}

#simple .contenido {
	display: block;
	margin: 1em;
	max-width: none;
	padding-left: 0;
	width: auto;
}

#simple header {
	height: auto;
	min-height: 60px;
}

#simple #logo {
	max-height: 100px;
}

#simple footer {
	max-width: none;
}

.head2 {
	display: none;
}

#avisos {
	max-width: 230px;
	margin-left: 10px;
	margin-right: 19px;
	box-sizing: border-box;
}

.encabezado-lateral {
	color: #1C5555;
	font-size: 140%;
	font-weight: normal;
	margin-bottom: 5px;
	padding: 1px 5px;
	font-style: normal;
}

.empresas .bn {
	border: 1px solid #1C5555;
	margin-bottom: 10px;
	padding: 2px;
}

.noticia {
	overflow: auto;
}

.botones {
	text-align: right;
	clear: both;
}

.AvisoCookies {
	background-color: #e5e5e5;
	border-top: 1px solid #ddd \9;
	bottom: 0;
	box-shadow: 0 10px 4px 10px #e5e5e5;
	box-sizing: border-box;
	font-size: 90%;
	left: 0;
	padding: 10px 170px 10px 10px;
	position: fixed;
	width: 100%;
	z-index: 2;
}

#aceptarCookies {
	margin-top: -.7em;
	position: absolute;
	right: 10px;
	top: 50%;
}

body.ConAviso {
	padding-bottom: 90px;
}

.ConAviso footer {
	bottom: 45px;
}

.Carrusel .textos {
	display: block;
	position: absolute;
	width: 100%;
	bottom: 0px;
	background-color: rgba(32, 32, 32, .6);
	line-height: 1;
	min-height: 55px;
}

.Carrusel .titulo {
	color: #fff;
	display: block;
	font-size: 150%;
	padding: 4px 0 0 10px;
}

.Carrusel .extra {
	padding: 5px 10px 0;
	color: #fdfdfd;
	font-size: 100%;
	display: block;
	font-style: italic;
}

.Carrusel .paging {
	left: auto;
	right: 5px;
	top: auto;
	bottom: 10px;
}

/* para cuando no hay imagen de cabecera en una sección, que no se solape el contenido con el menú */
.EspaciadoVacio {
	height: 80px;
}

.menu-icon svg,
.search-icon svg {
	width: 24px;
	height: 24px;
	fill: #507839;
	vertical-align: middle;
}

.bn > img {
	display: block;
	height: auto;
	width: 100%;
}

#bn1 {
	margin-bottom: 1em;
}

.btn {
	cursor: pointer;
}

.navbar-inner {
	position: relative;
	display: inline-block;
}

.btn-navbar {
	display: none;
}

.btn:hover {
	text-decoration: none;
}

form.buscador.mobile-only {
	flex: 100%;
}

.InputAddOn {
	display: flex;
	width: 100%;
}

.InputAddOn-field {
	flex: 1 1 0;
}

.InputAddOn-field:not(:first-child) {
	border-left: 0 none;
}

.InputAddOn-field:not(:last-child) {
	border-right: 0 none;
}

.InputAddOn-item {
	background-color: rgba(147, 128, 108, .1);
	color: #666;
	font-weight: 400;
}

.InputAddOn-field, .InputAddOn-item {
	border: 1px solid rgba(147, 128, 108, .25);
	padding: .5em .75em;
}

.InputAddOn-field:first-child, .InputAddOn-item:first-child {
	border-radius: 2px 0 0 2px;
}

.InputAddOn-field:last-child, .InputAddOn-item:last-child {
	border-radius: 0 2px 2px 0;
}

#q {
	min-width: 200px;
}

.buscador {
	display: inline-block;
	float: right;
	margin-top: 56px;
}

::-webkit-input-placeholder { /* WebKit browsers */
	color: #999;
	font-size: 95%;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #999;
	font-size: 95%;
}

input:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: #999;
	font-size: 95%;
}

.CarruselHolder img {
	width: 100%;
}

.PS {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .16), 0 1px 5px 0 rgba(0, 0, 0, .12);
	margin: 1.3em 1em;
	overflow: auto;
	padding: 10px;
}

.fecha {
	display: block;
	color: #555;
	font-size: 90%;
}

.PS .resumen-texto {
	font-size: 120%;
	margin-bottom: 0;
}

.PS .Media-figure img {
	max-width: 240px;
}

.mobile-only {
	display: none;
}

.navegacion-enlaces {
	margin-top: 14px;
	vertical-align: middle;
}

.navegacion-enlaces a {
	text-decoration: none;
}

.navegacion-enlaces:hover a {
	text-decoration: underline;
}

.navegacion-enlaces svg {
	width: 18px;
	height: 18px;
	vertical-align: middle;
	fill: #036;
}

.navegacion-noenlace {
	opacity: .6;
}

.navegacion-noenlace svg {
	fill: #333;
}

.navegacion-anterior {
	margin-right: 1.3em;
}

.fb_iframe_widget {
	top: -3px;
}

footer {
	border-top: 1px solid #e5e5e5;
	color: #666;
	font-size: 90%;
	clear: both;
	padding: 10px 15px;
	margin-top: 10px;
}

#pie-left {
	margin: 10px auto;
}

#pie-left2 {
	font-size: 10px;
}

.logos-patr {
	margin-right: 15px;
	display: inline-block;
}

.pie-right {
	margin: -1em 0 0;
	float: right;
	font-size: 11px;
}

.pie-right a {
	color: #666;
	text-decoration: none;
}

.pie-right:hover a {
	text-decoration: underline;
}

.contact {
	float: right;
	font-size: 85%;
}

.txtcontact {
	color: #333;
}

a.txtcontact:hover {
	text-decoration: underline;
}

.bnaviso-grupo {
	display: inline-block;
	position: relative;
}

.bnaviso-grupo img {
	display: block;
}

.bnaviso-texto {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	box-sizing: border-box;
	text-align: center;
	background: rgba(255, 255, 255, .85);
	padding: 4px 5px 5px;
}

.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: 1024px) {
	body {
		background-image: none;
	}

	div.CarruselHolder {
		overflow: hidden;
		top: 0;
	}

	div.Carrusel {
		max-height: none;
		width: auto;
	}

	.CarruselHolder img {
		width: 100%;
	}

	.contenido {
		min-height: 0;
	}

	article {
		margin: 0 10px;
	}
}

@media all and (max-width: 980px) {
	#avisos {
		margin-right: 2px;
	}
}

@media all and (max-width: 820px) {

	.btn-navbar {
		display: block;
		position: absolute;
		right: 10px;
		top: 25px;
		font-size: 140%;
		border: 1px solid #e2e2e2;
		border-radius: 3px;
		background: #FFF;
		border-bottom-color: #cecece;
		box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .06), inset -1px -1px 1px 0px rgba(0, 0, 0, .02);
		padding: 4px 0 3px;
	}

	nav {
		position: fixed;
		left: -100%;
		transition: background-color .35s, left .01s linear .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: 130px;
		padding-bottom: 130px;
	}

	.MnuSecc1 {
		font-size: 120%;
		text-transform: capitalize;
	}

	a.MnuSecc2 {
		padding: 4px 0;
	}

	nav a {
		color: #999;
	}

	.ConMenu {
		position: fixed;
		width: 100%;
	}

	.ConMenu nav {
		left: 0%;
		background-color: rgba(128, 128, 128, .8);
		transition-delay: initial;
	}

	.menu {
		min-width: 55%;
		display: inline-block;
		position: relative;
		left: -100%;
		background-color: #FFF; /*rgba(255,255,255,0.85);*/
		padding: 1px;
		box-shadow: 5px 0 5px #ccc;
		transition: left .35s ease-out;
		box-sizing: border-box;
	}

	.ConMenu .menu {
		left: 0%;
	}

	.MNivel1 {
		display: block;
		border-right: 0;
		margin: 15px 0;
	}

	.abierto ul,
	.menu li:hover ul, .menu li.sfhover ul {
		left: auto;
		display: block;
		position: static;
	}

	.menu ul {
		background-color: transparent;
		border: 0;
		margin-top: -6px;
		margin-bottom: 5px;
	}

	.menu ul a {
		text-align: left;
		padding-left: 20px;
		margin: 0 5px;
		color: #999;
	}

	nav li li {
		padding: 5px 0;
	}

	.buscador {
		margin-top: 96px;
		margin-right: 10px;
	}
}

/* tablet */
@media all and (max-width: 768px) {
	main {
		padding: 10px;
	}

	.contenido {
		margin: 0;
	}

	.noticia img {
		max-width: 100%;
		height: auto;
	}

	.PS {
		margin: 1.3em 0em;
	}

	.contenido img.dcha,
	.contenido img.izda {
		float: none;
		margin: 0 auto 1em;
		display: block;
	}
}

@media all and (max-width: 700px) {
	header {
		margin: 0;
	}

	.cabecera-titulo {
		top: 20px;
		left: 90px;
	}

	.buscador {
		margin-top: 75px;
	}

	body {
		padding-bottom: 0;
	}

	body.ConAviso {
		padding-bottom: 50px;
	}

	.ConAviso footer {
		bottom: auto;
	}

	#logo {
		height: 90px;
	}

	.contact {
		float: none;
		margin-bottom: 1em;
		text-align: right;
	}

	.pie-right {
		float: none;
		text-align: right;
		margin: 0;
	}

	nav {
		top: 108px;
		padding-bottom: 108px;
	}

}

/* movil */
@media all and (max-width: 590px) {
	#avisos {
		max-width: none;
		margin: 1em 0;
		text-align: center;
		flex: 100%;
	}

	#avisos .bn {
		display: inline-block;
		margin-left: 20px;
		vertical-align: top;
	}

	div.CarruselHolder {
		overflow: visible;
	}

	.Carrusel .paging {
		top: 5px;
		bottom: auto;
	}

	div.Resumen {
		display: block;
		width: 100%;
		margin-bottom: 10px;
		padding: 0 10px;
		box-sizing: border-box;
		flex-basis: 100%;
	}

	div.nSecundaria img {
		margin: 0 auto 10px;
		float: none;
	}

	div.Resumen + .Resumen {
		margin-left: 0px;
	}

	body aside.nota {
		float: none;
		max-width: none;
		margin: 0 1em 1em;
	}
}

@media all and (max-width: 510px) {
	#pie-left {
		text-align: center;
	}

	.contact {
		text-align: center;
	}

	.pie-right {
		text-align: center;
		margin-top: 1em;
	}

	nav {
		top: 60px;
		padding-bottom: 60px;
	}

	a.btn.btn-navbar {
		top: 12px;
	}

	#logo {
		height: 60px;
	}

	.cabecera-titulo {
		top: 5px;
		left: 70px;
	}

	.no-mobile, #avisos.no-mobile {
		display: none;
	}

	.mobile-only {
		display: inherit;
	}

	.buscador {
		margin-top: 5px;
	}

	#q {
		min-width: 100px;
		width: 100%;
	}

	div.Media {
		display: block;
	}
}

.Carrusel {
	max-width: 700px;
	margin: 0 auto;
	line-height: 0;
}

.slick-slide {
	position: relative;
	overflow: hidden;
}

.CarruselHolder img {
	height: 100% !important;
}

span.extra.slide-subtitulo {
	margin-top: .7em;
	display: block;
}

ul.slick-dots {
	top: 0;
	bottom: auto;
}

.CarruselHolder.slick-dotted.slick-slider {
	margin-bottom: 0;
}
