/* Reset CSS */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
html,body {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
q:before,q:after {content:'';}
abbr,acronym {border:0;}
body{
	background:#FFF;
	background-image: url(../graficos/fondo2026_blanco.jpg); 
	background-repeat:repeat; 
	font-family:fortheenas, julius, Tahoma, Verdana, Arial, sans-serif;
	font-size:85%; color:#ccc;
}
.contenedorPrincipal{ 
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	text-align: center;
}
.header{
	width: 40%; min-width: 800px;
	height: 100px;
	float: left;
	padding: 5px;
	margin-top: 1em;
	margin-left: 1em;
	box-sizing: border-box;
	background-image:url(../graficos/translucidogris20.png);
}
.header img{
	width: 100%;
	height: auto;
}
.main{
	width: 50%; 
	float: left; clear: left;
	padding: 20px;
	box-sizing: border-box;
}
.main img{
	width: 100%;
}
.menu{
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
}
.piedepagina{
	width: 100%;
	margin: 0 auto;
	margin-top:10px;
	overflow: hidden;
	text-align: center;
	font-family: julius, "trebuchet ms", Tahoma, Verdana, Arial, sans-serif;
	font-size: 1em; color:#eee; font-weight:500;
	padding: 10px;
	background-image: url(../graficos/translucidogris20.png); 
}
#menuH{
	width: 796px; padding:0; margin: 0 0 0 -4px;

	}
#menu{
	list-style: none;
	margin: 0; padding: 0;
	font-family: julius, "trebuchet ms", Tahoma, Verdana, Arial, sans-serif;
	font-size: 0.9em;
	font-weight:200;
}
#menu li{
	margin: 0;
	padding: 0px;
	float: left;
}
#menu li a {
	display:block;
	width:90px; height: 20px;
	margin: 3px;
	padding:4px 6px; 
	text-decoration:none;
	text-align:left;
	color:#ddd;
	text-shadow: 1px 1px 2px #000;	
	background-image:url(../graficos/menudegradado0.png);
	background-repeat: repeat-y;

}
#menu li a:hover {
	color:#fff;
	background-image:url(../graficos/menudegradado.png);
	background-repeat: repeat-y;
}
.menu a span {
	display: none;
	transition:display 3s linear;
	-webkit-transition: display 3s linear; /* Chrome y Safari */
	-o-transition: display 3s linear; /* Opera */
	-moz-transition: display 3s linear; /* Mozilla Firefox */
	-ms-transition: display 3s linear; /* Internet Explorer */;	
}
.menu a:hover span {
	display: block;
	position: relative;
	top: 35; margin-top: 20px; margin-left: -8px;
	left: 0;
	width: 310px;	
	padding: 5px 10px;
	color: #eee;
	font-size: .9em; line-height: 1.5em;
	text-shadow: 1px 1px 2px #000;
	background-image: url(../graficos/fondoDegradado300.png);
	background-repeat: repeat-y;
	text-align: left;

	}
#botonMenu{visibility: hidden;}
#menuV{visibility: hidden;}

/* Capa oscura que cubre el 100% en Chrome, Firefox y Edge */
.capa-advertencia {
    display: none; /* Se activa por JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.60); /* Aumentamos la opacidad por si Chrome falla con el blur */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Obligatorio para motores basados en WebKit (Chrome/Edge/Safari) */
}

/* El cuadro blanco centrado matemáticamente con coordenadas */
.contenido-advertencia {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto sin depender de Flexbox */
    background-color: #ffffff;
    color: #1a1a1a;
    width: 90%;
    max-width: 420px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: sans-serif;
    box-sizing: border-box;
}

/* Icono de advertencia */
.icono-advertencia {
    width: 70px;
    height: auto;
    margin-bottom: 15px;
    display: inline-block;
}

.contenido-advertencia h2 {
    margin-top: 0;
    color: #d9534f;
}

/* Botón */
.boton-advertencia {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}
.boton-advertencia:hover {
    background-color: #d9534f;
}


@media screen and (max-width: 800px){
	.contenedorPrincipal{ 
		width: 100%; min-width: 400px;
		margin: 0 auto;
		margin-top:0;
		overflow: hidden;
		text-align: center;
	}
	.header{
		width: 100%; min-width: 400px; text-align:left; height: 70px;
		float: left;
		padding: 2px;
		margin-top: 0; margin-left: 0;
		box-sizing: border-box;
		}
	.header img{
		width: 90%;
		height: auto;
	}
	.main{
		width: 100%; 
		float: left;
		padding: 20px;
		margin-top: 0px;
		box-sizing: border-box;
	}
	.piedepagina{
		width: 100%;
		margin: 0 auto;
		margin-top:2px;
		overflow: hidden;
		text-align: center;
		font-family:"trebuchet ms", Tahoma, Verdana, Arial, sans-serif;
		font-size: 12px; color:#666; font-weight:900;
		padding: 0px;
	}
	#menuH{visibility: hidden;}
	#botonMenu{ 
		position:absolute; top: 4px; right:0px;
		width: 10px; height: auto; 
		z-index:210;
		visibility:visible;
		}
	#botonMenu img { width:50%; height:auto}
	#menuV{
		position:absolute; top:5px; left: -200px;
		width: 190px; height:auto;
		background-image: none;
		height: 20px; margin-top:0px; 
		z-index:190;
		visibility:visible;	
		}
	.menu{
	padding: 0;
	}
	#menu{
		font-size: 1.3em;
		font-weight:100;
	}
	#menu li{
		margin: 2px;
		padding:0px;
		float: none;
	}
	#menu li a {
		display:block; background-color: #000;
		width:190px; height: 30px;
		margin: -1px;
		padding:4px;
		text-align: left;	
	}
	#menu li a:hover {
		background-color: #333;
		color:#fff;
	}
	.menu a span {
		display: none;
		transition:display 3s linear;
		-webkit-transition: display 3s linear; /* Chrome y Safari */
		-o-transition: display 3s linear; /* Opera */
		-moz-transition: display 3s linear; /* Mozilla Firefox */
		-ms-transition: display 3s linear; /* Internet Explorer */;	
	}
	.menu a:hover span {
		display: block;
		position: relative;
		top: 35; margin-top: 30px; margin-left: -8px;
		left: 0;
		width: 190px;	
		padding: 5px 10px;
		color: #eee;
		font-size: 1.2em; line-height: 1.5em;
		text-shadow: 1px 1px 2px #000;
		background-image: url(../graficos/fondoDegradado300.png);
		background-repeat: repeat-y;
		text-align: left;
	}
	.piedepagina{
		position: absolute;	top: 1000px;
		margin: 0 auto;
		font-family: julius, "trebuchet ms", Tahoma, Verdana, Arial, sans-serif;
		font-size: 0.7em; color:#eee; font-weight:500;
	}
}
