html,body {
	margin:0;
	padding:0;
	height:100%; /* needed for container min-height 100% de alto*/
	
	font-family:arial,sans-serif;
	font-size: 12px;
	text-align: justify;
	background-color:#777777;
	color:#000000; /* negro */
	background-image:url(fondo.jpg);
}

table {
	text-align:left;
	margin:0px;
	background-color:#FFFFFF;
	border:none;
	border-width:0px;
	border-collapse:collapse;
}	

td {
	vertical-align:top;
}

form {
	display:inline;
}

img {
	margin:0px;
	border:none;
	border-width:0px;
}

input {
	font-size:12px;
	vertical-align:middle;
	background:white;
	border: 1px solid #000000;
}

/* FIN DEFINICIONES GENERALES */

/* ESTILOS para tener una pagina de 100% de alto con encabezado, pie y contenido */
div#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:726px;
	background:white;
	border:0px;
	
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/

	min-height:100%; /* real browsers */
}

div#header {
	margin-left:15px;
	margin-right:15px;
/*	margin-top:10px;*/
	padding-top:5px;
}
	div#header table {
		margin-bottom:4px;
		border-width:0;
		border:none;
		border-collapse:collapse;
	}
	
	div#header td {
		font-size:11px;
		font-weight:bold;
		text-align:right;
	}
	


div#content {
	margin-left:30px;
	margin-right:30px;
	margin-top:15px;
	margin-bottom:15px;
	padding-bottom:3em; /* bottom padding for footer */
}
	div#content p {
		margin-top:0;
		text-align:justify;
		vertical-align:middle;
	}

div#footer {
	position:absolute;
	width:100%;
	bottom:0px; /* stick to bottom */
	margin-top: 15px;
	margin-bottom:3px;
}

	div#footer table {
		width:696px;
		margin-left:15px;
	}

	div#footer td {
		font-size:10px;
	}

	div#footer a {
		text-decoration: none;
		font-weight:bold;
		color:#FF4400;
	}

	div#footer a:hover {
		color:#666666;
	}

/* FIN tres apartados */

input.boton {
	vertical-align:middle;
	font-size:10px;
	/*display:compact;*/
	border: 1px solid #000000;
	margin-left:1px;
	padding-left:1em;
	padding-right:1em;
	padding-top:0.15em;
	padding-bottom:0.15em;
	background:#CCCCCC;
}

table.loginBorde {
	width:260px;
	border:2px #E3DFDF solid;
}

table.login {
	margin:10px;
	border:0px;
	text-align:left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}


p.loginEntrada {
	color: #FF3300;
	background:#E3DFDF;
	padding-top: 2px;
	padding-right: 0px;
	padding-bottom: 2px;
	padding-left: 10px;
}

td.loginCampos {
	font-size: 10px;
	font-weight: bold;
	color: #666666;
	padding: 0px;
	vertical-align:bottom;
}

td.loginBoton {
	vertical-align:bottom;
	text-align:left;
}

input.loginBoton {
	background-color:#FF3300;
	color:#FFFFFF;
	font-weight:bold;
	border:none;
	margin-left:3px;
}

table.tre {
	width:550px;
}

tr.tre0{
	background-color:#EEEEEE;
}

tr.tre1{
	background-color:#E0E0E0;
}

td.tre {
	text-align:center;
	vertical-align:middle;
}

td.treI {
	text-align:left;
	vertical-align:middle;
}

td.treD {
	text-align:right;
	vertical-align:middle;
}

table.preIndex {
	font-size:18px;
	width:500px;
	margin-left:45px;
	margin-top:30px;
}

td.preIndex {
	text-align:center;
	padding:15px;
}

table.presup {
	width:98%;
	border:solid;
	border-width:5px;
	border-color:#EEEEEE;
}

th.presup {
	font-size:14px;
	background-color:#EEEEEE;
	font-weight:bold;
}

td.presup {
	vertical-align:middle;
	background-color:#EEEEEE;
}

table.adm {
	text-align: center;
	font-size:10px;
	vertical-align: middle;
/*	background-color:#E3CEC1;*/
/*	margin: 10px; */
/*	height: 500px;*/
	width: 100%; 
	border: 1px solid #666666;
}

td.adm {
/*	white-space:nowrap;*/
	vertical-align:middle;
	border-bottom:1px solid #666666;
	padding:5px;
}

td.admI {
/*	white-space:nowrap;*/
	text-align:left;
	border: 1px solid #663300;
	padding:5px;
}

td.admD {
/*	white-space:nowrap;*/
	text-align:right;
	border: 1px solid #663300;
	padding:5px;
}

td.admP {
	white-space:normal;
	vertical-align:middle;
	text-align:left;
	border: 1px solid #663300;
	padding:5px;
	width:600px;
}

td.admE {
/*	white-space:nowrap;*/
	vertical-align:middle;
	text-align:center;
	background-color:#805000;
	color:white;
	border: 1px solid #663300;
	padding:5px;
}

td.admEI {
/*	white-space:nowrap;*/
	vertical-align:middle;
	text-align:left;
	background-color:#805000;
	color:white;
	border: 1px solid #663300;
	padding:5px;
}

td.admED {
/*	white-space:nowrap;*/
	vertical-align:middle;
	text-align:right;
	background-color:#805000;
	color:white;
	border: 1px solid #663300;
	padding:5px;
}

th.adm {
/*	white-space:nowrap;*/
	background-color:#EEEEEE;
	color:black;
	padding-left:5px;
	padding-top:5px;
	padding-right:5px;
	padding-bottom:5px;
	border-bottom:1px solid #666666;
}

th.admT {
/*	white-space:nowrap;*/
	background-color:#EEEEEE;
	padding-left:5px;
	padding-top:5px;
	padding-right:5px;
	padding-bottom:5px;
	font-size:15px;
	text-align:center;
}

input.adm {
	font-size:10px;
}

td.imprimir {
	text-align:right;
}

.error {
  color:#CC0000;
  font-weight:bold;
}

table.error {
	text-align: left;
	vertical-align: middle;
/*	background-color: #FFFFFF;*/
	margin-top:5px;
/*    margin: 50px; 
	height: 500px;
	width: 500px; */
/*	border: 2px solid #999999; 
	border-collapse: collapse; */
}

th.error {
  color:#CC0000;
  font-size:14px;
  font-weight:bold;
  padding:5px;	
}

td.error {
  color:#CC0000;
  font-weight:bold;
  padding:5px;  
}

a:link, a:active    {
	text-decoration: none;
	font-weight:bold;
	color:#666666;
}

/* quan ha estat visitat */
a:visited {
	text-decoration: none;
	font-weight:bold;
	color:#666666;
}
/* efecte OnMouseOver */
a:hover {
	color:#FF4400;
}

.etiqueta {
	text-align:left;
	text-decoration: none;
	background-color:#CCCCCC;
	color: #000000;
	padding-left:0.5em;
	padding-right:0.5em;
	padding-top:2px;
	padding-bottom:2px;
/*	display:compact;*/
	vertical-align:middle;
/*	border: 1px solid #000000;*/
}	

/* CSS del MENU, usado en menu.php */

/*==============================================================================

	GRC multi-level script-free pure-CSS menuing system stylesheet.
   This code is hereby placed into the public domain by its author
   Steve Gibson. It may be freely used for any purpose whatsoever.

	Computed Geometries:	with a default 12px font, 1.0em == 12px and
	1px == 0.08333em.
	Thus, our 98px wide Freeware & Research buttons are 8.166666em wide.

==============================================================================*/

/*====== GLOBAL OVERRIDES FOR MAJOR ITEMS AND DIFFERING BROWSER DEFAULTS =====*/
/*
body { color:#009; background:#fff; font-family: verdana, tahoma, arial, helvetica, sans-serif, MS Sans Serif; }
body, table, img, button, iframe, ul, li  { margin:0; padding:0; border:0; }
table { text-align:left; }*/
iframe { width:0; height:0 }

ul { margin-left:20px; }       /* kill default 50px left padding and set 20px */
li { margin-bottom:1em; }          /* set default inter-item vertical spacing */

 /*================= STYLES FOR THE GRC MASTHEAD & CONTROLS ==================*/

.menuminwidth0 {             /* for all browsers (non-IE) that obey min-width */
	position:relative;
	border:0;
	margin:0;
	padding:0;
	width:697px;
	height:1em;/* 36px masthead height + 18px button height + 1px lower border*/
	min-width:560px;
}

/* suppress our whole menu when not an interactive mode (when printing, etc.) */
@media print, projection { .menuminwidth0 { d\isplay:none; } }

* html .menuminwidth1 { /* this allows IE5/6 to simulate min-width capability */
	position:relative;  /* we can simulate a minimum width by creating a large */
	float:left;          /* border in this first div, then placing our content */
	height: 1px;          /* into a second nested div (see 2nd nested div next */
	border-left:560px solid #fff;    /* CSS box-model borders are a fixed size */
}

* html .menuminwidth2 {    /* used to simulate min-width capability for IE5/6 */
	position:relative;
	margin-left:-560px;
	height: 1px;
}


 /*========================= TOP OF THE MENU CASCADE =========================*/

.menu {
	position:relative;        /* establish a menu-relative positioning context */
	float:left;                                     /* play nicely with others */
	margin:0;
	padding:0;
	border:0;
	height:18px;                                  /* the menu's overall height */
	width:100%;         /* we always want our menu to fill the available space */
	background:#E3DFDF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;         /* this (and also below) sets the menu's font size */
	border-bottom:1px solid #E3DFDF;        /* give us a black border underneath */
}

.menu img {
	vertical-align: top;      /* prevent images from being pushed down by text */
}

.menu ul {
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;          /* we don't want to view the list as a list */
	line-height:1.5em;           /* globally set the menu's item spacing. note */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

.menu li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin:0;
}

.menu ul li table {
	margin:-1px 0;              /* IE5 needs -1px top and bottom table margins */
	m\argin:0;               /* re-zero the table margins for everyone but IE5 */
	border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
	font-size:11px;        /* this sets the base font size for our entire menu */
}

.drop {
	display:block;
	padding:0px 0.33em;	       /* this sets the l/r margins for our menu item */
	margin:0;
	text-align:right;   /* this right alignment goes with the float:left below */
	cursor:pointer;      /* IE tries to switch back to an I-beam, don't let it */
/*	cursor:hand;           /* IE5 only knows about "hand", so set it both ways */
}

.drop span {        /* this simultaneously left and right aligns the text and */
	float:left;       /* the >> in the drop-down menus which link to sub-menus */
}


/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

.menu ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	padding:1px;                               /* this is our box border width */
}

.menu ul li a,
.menu ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
	text-decoration:none;
	height:18px;
	width:12em; /* ancho de los menus principales */
}

.menu ul li:hover a,
.menu ul li a:hover {                        /* selected top-level menu items */
/*	border-top:1px solid #000;    /* these 2 lines create the push-in illusion */
/*	height:16px; */
	background-color:#CCCCCC;
	width:12em; /* ancho de los menus principales */
}

/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

.menu ul li:hover ul,
.menu ul li a:hover ul {                           /* 2nd level drop-down box */
	display:block;
	position:absolute;
	margin:0;
	top:18px;              /* place us just up underneath the top-level images */
	left:-1px;       /* left-align our drop-down to the previous button border */
	height:auto;      /* the drop-down height will be determiend by line count */
	width:12em;     /* ancho de los menus secundarios */
	color:black;                        /* this sets the unselected-text color */
	background:#CCCCCC;         /* this sets our menu's effective "border" color */
}

.menu ul li:hover ul.leftbutton,
.menu ul li a:hover ul.leftbutton {/* our first dropdown should not be skewed */
	left:0px;
}

.menu ul li:hover ,
.menu ul li a:hover {             /* 2nd level drop-down box */
	width:12em;   /* debe ser el mismo ancho que los menus de primer nivel para evitar efectos */
}


.menu ul li:hover ul li a,
.menu ul li a:hover ul li a {                   /* 2nd level unselected items */
	border:0;
	margin:0;
	padding:0;
	height:auto;
/*	color:#666666;               /* this sets the unselected drop-down text color */
	background:#E3DFDF;       /* this sets the drop-down menu background color */
	width:12em;
}

.menu ul li:hover ul li:hover a,
.menu ul li a:hover ul li a:hover {                /* 2nd level selected item */
/*	color:red;*/
	background:#CCCCCC;
}

.menu ul li:hover li a,
.menu ul li a:hover li a,
.menu ul li:hover li a:hover,
.menu ul li a:hover li a:hover {     /* 2nd level un+selected items */
	width:12em;  	                 /* debe ser igual al ancho de los menus secundario 
						                si es inferior o superior hace efectos */
}

/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/

.menu ul li:hover ul li ul,
.menu ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}
     
.menu ul li:hover ul li:hover ul,
.menu ul li a:hover ul li a:hover ul {             /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;
	left:12em;  /* tiene que se el mismo que el ancho del menu secundario */
	width:10em;
}

.menu ul li:hover ul li:hover ul li a,
.menu ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:10em;
	background:#d8d8d8;
}

.menu ul li:hover ul li:hover ul li a:hover,
.menu ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:10em;
	background:#CCCCCC;
}

/* FIN MENU DESPLEGLABLE */