/* Master Page Layout and Formatting */
/* By Charlie Kivi */

body 
{
/*	background-image: url('../pics/bgmain.jpg');  */

	margin:20px 0px;
    	padding:0px;
	text-align:center; /* Hack for IE5/Win */
	background-color: #ADC2D6;
	margin-right: auto;
	margin-left: auto;
}

#border 
{
	width:904px;
	margin:0px auto;
	text-align:left; /* Counteract to IE5/Win Hack */
	padding:2px;
	background-color: #5A0303;
}

/* Frame cannot be larger than border width minus padding!!! */

#frame {
	width:900px;
	margin:0px auto;	
}


/* Local Navigation - Controls the menu bar */

#local-nav
{
	text-align:center;
/*	background-image: url('../pics/bgmenu.png');  */
	background-color: #5A0303;  
	margin: 5px;
	font-family: verdana;
	font-size: 12pt;
}

#local-nav ul {
	padding: 0; 
	margin: 0; 
	list-style-type: none;
	padding-top:3px; 
	padding-bottom:3px; 
}

#local-nav li {display: inline;}

#local-nav a:link, #local-nav a:visited 
{	
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	padding: 10px;
	text-decoration: none;
	font-weight: bold;
	color: #FFFDD0;
}

#local-nav a:hover, ul#local-nav a:active, ul#local-nav a:focus {
	text-decoration: underline;
 	color: #3399FF;
	background-color: #990000;
}

/* Correction for standards compliant browsers */
html>body ul#local-nav li > a { height: auto; min-height:1em; width: auto; }

/* End of navigation codes */


/* Body Text */

#contents
{	
	padding: 10px;
	background-color: rgb(204, 204, 204);
	font-family: verdana; 
	font-size: 11pt;
	color: rgb(153, 0, 0);
}

#contents h1
{
	font-family: verdana; 
	font-size: 20pt;
	color: rgb(153, 0, 0);
}

#contents h2
{
	font-family: verdana; 
	font-size: 15pt;
	color: rgb(153, 0, 0);
}

#contents table td
{
	font-family: verdana; 
	font-size: 10pt;
	color: rgb(153, 0, 0);
}	

#contents a:link, #contents a:visited, #contents a:active 
{
	text-decoration:none;
}

#contents a:hover
{
	text-decoration:underline;
}

#contents a:link img, #contents a:visited img, #contents a:active img 
{
	border: 2px solid black;
	margin: 4px;
}

#contents a:hover img
{
	border: 2px solid purple;
	margin: 4px;
}

#contents ul
{
	list-style-type: circle; 
	text-align: left; 
	margin-left: 60px; 
	margin-right: 60px;
}


#contents img
{
	border-color: black;
	border-width: 1px;
	border-style: solid;
}

/* End of Body Text */

/* Footer - Controls the menu bar footer */

#footer
{
	text-align: center;
/*	background-image: url('../pics/bgmenu.png');  */
/*	background-color: #5A0303;	*/
/*	margin: 5px;	*/
}

#footer ul {
	padding: 0; 
	margin: 0; 
	list-style-type: none;
	padding-top:3px; 
	padding-bottom:3px; 
}

#footer li {display: inline;}

#footer a:link, #local-nav a:visited 
{	
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	padding: 5px;
	text-decoration: none;
	font-weight: bold;
	color: #FFFDD0;
}

#footer table td
{
	vertical-align: middle;
	background-color: rgb(192, 192, 192);
	text-align: center;
	font-size: 11pt;
	font-family: Veranda;
	padding: 0px 10px 0px 10px;
}

#footer a:hover, ul#local-nav a:active, ul#local-nav a:focus {
	text-decoration: underline;
 	color: #3399FF;
	background-color: #990000;
}

/* Correction for standards compliant browsers */
html>body ul#footer li > a { height: auto; min-height:1em; width: auto; }

/* End of footer codes */

/* Picture Galleries Codes */

#pic
{
	padding: 10px 20px 10px 20px; 
	background-color:white; 
	margin:auto; 
	text-align:center;
}

#pic td
{
	padding: 5px 10px 5px 10px;
}

#pic img
{	
	border-color: red;
	width: 289px;
	border-width: 10px;
	border-style: solid;
}

/* End of Galleries Code */

/* Miscellaneous code */

#table a:link 
{	color:#16166B;
	display:block;
	background-color:#91A3B0;
}     

#table a:visited 
{	color:#16166B; 
	display:block; 
	background-color:#91A3B0;
}

#table a:hover 
{	color:blue; 
	text-decoration:none; 
	display:block; 
	background-color:#E5E4E2;
}

#table a:active 
{	color:blue; 
	text-decoration:none; 
	display:block; 
	background-color:#E5E4E2;
} 
		
#table table
{	width: 100%; 
	height:65px; 
	text-align:center; 
	font-family:verdana; 
	font-size: 10pt; 
/*	font-weight: bold;	*/
	vertical-align: top;
}	

#table td
{
	color:grey;
}