html {
    height: 100%;
    margin-bottom: 1px;
}

body {
	/* appply background image */
	background-image: url(../images/background.png);
	background-repeat: repeat-x;
	margin:0;
	padding:0;
	min-width:877px;
	}

table#db_table {
	font: 300 0.8em verdana, arial, sans-serif;
	margin: 0px;
	padding: 0px;
	border-spacing:0px;
}

table#db_table th {
	background-color: #cccc30;
	padding: 3px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #3E1800;
	border-bottom-color: #3E1800;
}

table#db_table td:hover {
	background-color: #FFF5D5;
}

/*table#db_table td {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #3E1800;	
}*/

table#inner_table {
	font: 300 1em verdana, arial, sans-serif;
	margin: 2px;
	padding: 5px;
	border-spacing:0px;
}

table#inner_table:hover {
	background-color: #FFF5D5;
}

table#inner_table td {	
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #3E1800;	
}

table#enlaces_table {
	font: 300 1.0em verdana, arial, sans-serif;
	margin: 10px;
	padding: 0px;
	border-spacing:0px;
}

table#enlaces_table td {
}

#wrap {
    margin:0 auto;
    width:877px;
}

#header {
	background-image: url(../images/header.png);
	height: 118px;
}
	
#menu {	
	background-image: url(../images/menu.png);
	height: 28px;
}

#submenu {
	background-image: url(../images/submenu.png);
	background-repeat: repeat-y;
	height: 24px;
}

#main {
	background-image: url(../images/body.png);
	background-repeat: repeat-y;
	margin: 0px;
	padding: 20px;
	font: 400 0.9em verdana, arial, sans-serif;
	line-height: 150%;
	color: #6b6b00;	
}

#main ul li {
	list-style-image: url(../images/bullet.gif);
	padding-top: 3px;
}

#main h1 {
	font-size: 20px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #8f2200;
}

#main h2 {
	font-size: 14px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #a69318;
	background-color: #e0cc32;
	border-bottom-style: dashed;
	line-height: 0.9em;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 8px;
	border-bottom-width: 1px;
	border-bottom-color: #C67200;
	margin-top: 3px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 10px;
}

#main h3 {
	font-size: 15px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #6b6b00;
}

#main a:visited {text-decoration:none; color:#dc8e09;}
#main a:hover {background-color: #FFE6B0;}
#main a:link {text-decoration:none; color:#dc8e09;}

#footer {
	background-image: url(../images/footer.png);
	background-repeat: repeat-x;
	height: 50px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #ffffff;
	text-align: center;
	padding-top: 4px;
}

#footer a:visited {text-decoration:none; color:#fef261;}
#footer a:hover {text-decoration: underline;}
#footer a:link {text-decoration:none; color:#fef261;}

#menu ul{
	list-style: none;
	padding-top: 4px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 11px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 1px;
}

#menu ul li {
	 float: left; /* this aligns li's horizontally*/
	 padding-left: 0px;
	 padding-right: 0px;
	 
}
	
#menu ul li a {
	height: 22px;
	line-height: 22px;
	float: left;
	width: 9em;
	display: block;
	color: #383000;
	text-decoration: none;
	text-align: center;
	background-color:#a8a826;
	border: 1px solid #646417;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
}
	
#menu ul li a:hover {
	background-color:#cccc30;
	color: #ffffff;	
}
	
#menu ul li a.selected {
	background-color:#cccc30;
	color: #ffffff;	
}

#menu .admin {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: none;
} 
#menu a:visited.admin {text-decoration:none; color:#FFFFFF;}
#menu a:hover.admin  {text-decoration: underline;}
#menu a:link.admin {text-decoration:none; color:#FFFFFF;}

#submenu ul{
	list-style: none;
	padding-top: 0px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 11px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 3px;
	padding-top: 2px;
}

#submenu ul li {
	 float: left; /* this aligns li's horizontally*/
	 padding-left: 0px;
	 padding-right: 0px;
}

#submenu ul li a {
	height: 18px;
	line-height: 18px;
	float: left;
	display: block;
	color: #383000;
	background-color: #cccc30;
	text-decoration: none;
	text-align: center;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid #9d6b17;
	padding: 0 1em;
	font-weight: bold;
}
	
#submenu ul li a:hover {
	background-color:#cccc30;
	color: #FFFFFF;
}
	
#submenu ul li a.subselected {
	background-color:#cccc30;
	color: #ffffff;	
}
