﻿@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 {
	padding-left: 10px;
	padding-top: 2px;
	display: block;
}

#enlaceLogo {
	z-index: 1;
	position: relative;
	margin-left: 5px;
}

#logo {
	vertical-align: top;
	height: 136px;
}

#logo, .btn-navbar {
	transition: all .35s ease-out;
}

#Encabezado {
	font-size: min(29pt, 4vw);
	margin-left: 20px;
	transform: translateY(20px);
	display: inline-block;
}

nav {
	background-color: #7ABC32;
	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;
}

.menu .MNivel1:hover > a::before {
	border-top: 5px solid #1a5931;
	top: -10px;
}

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;
}

.menu li:hover ul, .menu .sfhover ul {
	left: auto;
}


.menu li:hover > a, .menu .sfhover > a {
	color: #FFF;
}

.abierto1, .abierto2 {
	font-weight: bold;
}

.MNivel1:hover {
	background-color: rgba(64,64,64, 0.8);
}

/* SUBMENU */
.menu ul {
	background-color: rgba(64,64,64, 0.8);
	border: 1px solid #999 \9;
	border-top: 0;
	padding: 0;
	padding-top: 10px;
}

.menu .MNivel2:hover {
	background-color: rgba(64,64,64, 0.95);
}

.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;
	max-width: 700px;
	display: inline-block;
	width: 100%;
	margin: 0.6em 29px 1em 1em;
}

#simple .contenido {
	display: block;
	margin: 1em;
	max-width: none;
	padding-left: 0;
	width: auto;
}

#simple header {
	height: auto;
	position: relative;
	padding: 10px 10px 0;
	min-height: 60px;
}

#simple #soluciones {
	left: 270px;
	top: 49px;
}

#simple footer {
	max-width: none;
}

.head2 {
	display: none;
}


footer {
	border-top: 1px solid #e5e5e5;
	box-sizing: border-box;
	color: #666;
	font-size: 90%;
	margin-top: 2em;
	padding: 5px 10px;
	overflow: auto;
	clear: both;
}

footer p {
	margin: 0;
	text-align: center;
}

.webmaster {
	opacity: 0.6;
	float: right;
}

#avisos {
	max-width: 230px;
	display: inline-block;
	margin-left: 10px;
	box-sizing: border-box;
}

.encabezado-lateral {
    color: #690;
	font-size: 140%;
	font-weight: normal;
	margin-bottom: 5px;
	padding: 1px 5px;
	font-style: normal;
}

.empresas .bn {
	border: 1px solid #5a9971;
	margin-bottom: 10px;
	padding: 2px;
}

.noticia {
	overflow: auto;
}

.botones {
	text-align: right;
	clear: both;
}

.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;
}

.bn > img {
	display: block;
	height: auto;
	width: 100%;
}


@font-face {
	font-family: 'fontello';
	src: url('/apariencia/fonts/fontello.eot');
	src: url('/apariencia/fonts/fontello.eot?#iefix') format('embedded-opentype'), url('/apariencia/fonts/fontello.woff') format('woff'), url('/apariencia/fonts/fontello.ttf') format('truetype'), url('/apariencia/fonts/fontello.svg#fontello') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	/* opacity: .8; */
	/* For safety - reset parent styles, that can break glyph codes*/
	font-variant: normal;
	text-transform: none;
	/* fix buttons height, for twitter bootstrap */
	line-height: 1em;
	/* Animation center compensation - margins should be symmetric */
	/* remove if not needed */
	margin-left: .2em;
	/* you can be more comfortable with increased icons size */
	font-size: 130%;
	/* Uncomment for 3D effect */
	/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-menu:before {
	content: '\e810';
}

.icon-ok:before {
	content: '\e804';
}
/* '' */
.icon-ok-circled:before {
	content: '\e805';
}
/* '' */
.icon-cancel:before {
	content: '\e806';
}
/* '' */
.icon-cancel-circled:before {
	content: '\e807';
}
/* '' */

.icon-trash:before {
	content: '\e811';
}

.icon-trash {
	color: #666;
}

.icon-trash:hover {
	color: #600;
}

.btn {
	cursor: pointer;
}

.navbar-inner {
	position: relative;
	display: inline-block;
}

.btn-navbar {
	display: none;
}

.btn:hover {
	text-decoration: none;
}


.InputAddOn {
	display: flex;
}

.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;
	position: absolute;
	right: 0;
	bottom: 50px;
}

::-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%;
}


.social {
	float: right;
	margin-right: 15px;
	margin-top: 55px;
}


.CarruselHolder img {
	width: 100%;
}

.TS {
	text-transform: capitalize;

	text-align: left;
	font-size: 150%;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 10px;
	color: #999;
	border-bottom: 1px solid #dddddd;
}

.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;
}

.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;
}

@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: 1010px) {
	.contenido {
		margin-left: 0;
	}
}

@media all and (max-width: 980px) {
	main {
		max-width: 100%;
		padding: 2px 10px;
	}

	.contenido {
		max-width: 100%;
		margin: 0;
	}

	.contenido img.dcha, .contenido img.izda {
		float: none;
		margin: 0 auto 1em;
		display: block;
	}

	#avisos {
		display: block;
		margin: 0 10px;
		max-width: none;
	}

	#avisos .bn {
		display: inline-block;
		margin-left: 20px;
		vertical-align: top;
	}
}


@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: 88px;
		padding-bottom: 88px;
	}

	.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-right: 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 {
		bottom: 0px;
		margin-right: 10px;
	}

	.social {
		margin-top: 95px;
	}
}

/* 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;
	}
}

@media all and (max-width: 700px) {
	#avisos {
		max-width: none;
		margin: 1em 0;
		display: block;
		text-align: center;
	}

	header {
		margin: 0;
	}


	#Poblaciones {
		margin-left: 0;
		top: 35px;
		left: 90px;
	}

	.buscador, .social {
		bottom: -7px;
	}

	body {
		padding-bottom: 0;
	}

	body.ConAviso {
		padding-bottom: 50px;
	}

	.ConAviso footer {
		bottom: auto;
	}

	#logo {
		height: 90px;
	}
}

/* movil */
@media all and (max-width: 590px) {

	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) {
	#Poblaciones {
		margin-left: 0;
		position: static;
		display: block;
		clear: left;
		text-align: center;
	}

	nav {
		top: 60px;
		padding-bottom: 60px;
	}

	a.btn.btn-navbar {
		top: 12px;
	}

	#logo {
		height: 60px;
	}

	.no-mobile, #avisos.no-mobile {
		display: none;
	}

	.mobile-only {
		display: inherit;
	}


	.buscador, .social {
		margin-top: 5px;
	}

	.social {
		float: left;
	}

	#q {
		min-width: 100px;
		width: 100px;
		transition: width 0.35s ease-out;
	}

	#q:focus {
		width: 220px;
	}

	div.Media {
		display: block;
	}
}

@media all and (max-width: 375px) {
	div.foto {
		width: 23.87%;
	}
}
/* los iPhone que son chiquititos */
@media all and (max-width: 320px) {
	div.foto {
		width: 23.77%;
	}
}

.Carrusel {
	max-width: 700px;
	margin: 0 auto;
	line-height: 0;
}

.slick-slide {
	position: relative;
	overflow: hidden;
}

.CarruselHolder img {
	height: 100% !important;
}

ul.slick-dots {
	top: 0;
	bottom: auto;
}

.CarruselHolder.slick-dotted.slick-slider {
	margin-bottom: 0;
}


/*details soporte básico*/
details {
	display: block;
}

details > * {
	display: none;
}

details > summary {
	display: block;
}

details[open] > * {
	display: block;
}

details.open > * {
	display: block;
}

body .fake-summary:before {
	display: none;
}

body .fake-details > p,
body .fake-details > div {
	margin: 0;
}
