body {
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
	font-family: "Trebuchet MS", Arial;
	font-size: 9pt;
	color: white;
	line-height: 1.4em;
	letter-spacing: 0.1em;
	text-align: justify;
	overflow-y: scroll;
}

body.background {
	background-color: black;
    background-image: url(pics/background.jpg);	
}

h1 {
	background-image: url(pics/header1.gif);
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 40px;
	padding-top: 15px;
	margin-top: 1em;
	margin-bottom: 1em;
	color: #53abe9;
	letter-spacing: 2px;
}

h2 {
	background-image: url(pics/header2.gif);
	background-repeat: no-repeat;
	background-position: center left;
	padding-left: 40px;
	padding-top: 5px;
	margin-top: 1em;
	margin-bottom: 1em;
	color: #fcc800;
}

h3 {
	color: #ff8;
	font-size: 14px;
}

a {
	color: #ff2020;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #fccc00;
	text-decoration: underline;	
}

pre {
	font-family: Courier;
	color: #bbbbbb;
	margin: 0.1em;
	padding: 0.4em;
	background: #111122;
	border: dotted 1px #296496;
}

div {
	margin-left: 10%;
	margin-right: 10%;
	display: none;	
}

table {
	border: solid 1px white;
	background-color: #111;	
}

th {
	background-color: #296496;	
	color: white;
	font-weight: bold;
	padding: 0.3em;
}

td {
	color: #dddddd;
	font-size: 0.9em;
	padding: 0.3em;
	vertical-align: top;
}

em {
	color: #bbf;	
}

li {
	color: #bbb;
}

div#logo {
	display: block;
	text-align: center;
	padding-top: 40px;
}

div.img {
	display: block;
}
div.img img {
	padding: 0.2em;	
}

/* menu */
div#menu {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

div#menu ul {
	text-align: center;
	list-style: none;
	padding: 0;
	padding-top: 10px;
	padding-bottom: 20px;
}

div#menu ul li {
	display: inline;
	position: relative;
	margin-bottom: 25px;
	margin-left: 2px;
	margin-right: 2px;
	padding-left: 2em;
	padding-right: 2em;
	border: solid 1px #9e0101;
	background: #790000;
}

div#menu ul li a {
	font-weight: bold;
	color: white;
	text-decoration: none;
}

div#menu ul li.selected {
	border: solid 1px #cb9e00;
	background: #957e00;
}

div#menu ul li:hover {
	background-color: #e4b600;
	border: solid 1px #fcd100;
}

/* specific pages */
div#home {
	display: block;
}

div#credits ul {
	list-style: none;
}

div#screens p.screens {
	text-align: center;	
}

div#screens p a img {
	border: dotted 1px #aaa;
	margin: 2em;
}

div#screens p a img:hover {
	border: solid 1px white;
}

div#zoom {
	position: absolute;
	height: 480px;
	width: 640px;
	top: 240px;
	left: 10%;
	border: solid 1px white;
	background: #222 url(pics/spinner.gif) no-repeat center center;
	cursor: pointer;
	z-index: 1;
}


/* footer elements */
div#footer {
	display: block;
	text-align: center;
	color: gray;
	font-size: 7pt;
	letter-spacing: 0.2em;
	margin-top: 4em;
}

div#footer a {
	color: #ccc;
	text-decoration: none;
}

div#footer a:hover {
	color: white;
	text-decoration: underline;	
}

/* Hiscore tables */
div#hiscores {
	width: 847px;
	height: 2200px;
}

div#hiscores iframe {
	height: 2100px;
	width: 840px;
	border: 0;
}

div#content {
	background: transparent;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

div#content table {
	width: 100%;
}
/* webring */
div#webring {
    text-align: left;
    display: block;
    margin: 0;
    width: 100%;
    line-height: 1em;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: normal;
}

div#webring ul.topnav {
    height: 20px;
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
}
div#webring ul.topnav li {
    width: 12%;
    margin: 0;
    padding: 0;
    display: block;
    float: left;
}
div#webring ul.topnav li a {
    font-size: 11px;
    display: block;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

div#webring ul.topnav { 
    background: #024086; 
}
div#webring ul.topnav li a {
    font-size: 11px;
    color: #fff;
}
div#webring ul.topnav li a:hover {
    color: #000;
    background: #fff;
}

