/*
leonroy.com Stylesheet
written by Leon Roy
*/

body
{
	padding: 0em;
	color: black;
	font-family: "Bitstream Vera Sans", sans-serif;
	background: #EAE0B6 url('star.png') no-repeat bottom right fixed;
	
	/*
	background-color: #EAE0B6;
	background-image: url('smiley.gif');
	background-repeat: no-repeat;
	background-attachment: fixed;
	*/
}

/* For the main content */
#content {
 position: absolute;
 top: 0;
 left: 7.8em;
 right: 0;
 padding: 0 1ex;
 z-index: 0;
}

#content h1 {
 background: #f8e0ba;
 border-bottom: thin solid black;
 padding: 0.2ex 0.8ex;
 margin: 0 -0.5ex;
 font-size: 2em;
 font-family: inherit;
}


/*
h1, h2, h3, h4, h5
{
	
	page-break-after: avoid;
}

h1
{
	border: thin solid black;
	padding: 0.2ex 0.8ex;
	margin: 0;
}

h1, h2, h3, h4
{
	border-left: thin solid black;
	letter-spacing: 0.3ex;
	max-width: none;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

h2, h3, h4, h5
{
}

h4, h5, h6
{
	font-style: oblique;
}

h4, h5, h6
{
	page-break-after: avoid;
}

*/


/* For the copyright notice */
#copyright
{
font-size: small;
font-style: italic;
//text-align: right;
position: fixed;
right: 0;
bottom: 0;
}
	

/* For the navigation bar */
#nav {
 position: fixed;
 top: 0;
 bottom: 0;
 left: 0;
 width: 7.95em;
 margin: 0;
 padding: 0;
 padding-top: 3.0em;
 list-style: none;
 background: #EAA758;
 border-right: 0.05em solid black;
}

#nav a {
 display: block;
 width: 5em;
 padding: 0 0.5em;

 font-variant: small-caps;
 color: black;
 font-weight: bold;
 text-decoration: none;
}



#nav a:first-child:last-child {
 //font-variant: normal;
}

#nav > a {
 display: block;
 font-weight: normal;
}

#nav ul {
 position: absolute;
 left: 7.95em;
 right: -9.05em;
 top: -0.05em;

 background: #EAA758;
 list-style: none;
 margin: 0;
 padding: 0;

 border: 0.05em solid black;
}

#nav li {
 position: relative;
 padding: 0.25ex 0;
}

#nav ul ul { background: #EAA758; }

#nav ul ul ul { background: #EAA758; }

#nav ul ul ul ul { background: #EAA758; }

#nav ul ul ul ul ul { background: #EAA758; }

#nav a:hover {
 background: #EAA758;
 color: #fff;
}

#nav li:hover > a {
 background: #EAA758;
 color: #fff;
}


#nav > ul, #nav * > ul 
{
visibility: hidden;
}

#nav li:hover > ul 
{
visibility: visible;
}

img.center, img.centre
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

a[href], a:link, a:visited {
  text-decoration: underline;
  border: none;
  color: black;
 }


