html {
    height: 100%; /* Important for some browsers */
}

body {
    /* Keep all your original font, padding, etc. styles */
    font-family: arial, helvetica, serif;
    font-size: 80%;
    padding: 2em;
    margin: 0;
    
    /* We no longer set a background or height here. */
    /* Ensure the body remains a positioning context for the pseudo-element. */
    position: relative; 
}

body::before {
    /* This pseudo-element will be our new background layer */
    content: '';
    position: fixed; /* Fixed position relative to the viewport */
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1; /* Place it behind all other content */

    /* Apply the background image styles here */
    background: url(../media/graphics/new_bg.jpg) no-repeat center center;
    background-size: cover;
}

table.bordered-table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 90%;
  margin: 1em auto;
}

/* This selector now includes all possible case variations */
table.bordered-table th,
table.bordered-table td,
table.bordered-table TH,
table.bordered-table TD,
table.bordered-table Td { /* Added the Td typo here */
  border: 1px solid #555555;
  padding: 5px;
}

table.summary-table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Style the cells with less padding and smaller font */
table.summary-table th,
table.summary-table td,
table.summary-table TH,
table.summary-table TD {
  border: 1px solid #555555;
  padding: 2px 3px;  /* Reduce padding significantly */
  font-size: 0.9em;  /* Make the font slightly smaller */
  text-align: left;
}

#wrapper {
	width: 1000px;
	margin: 0;
	text-align: left;
	#background: #000000;
	#background-color: black;
}

#content {
	width: 900px;
	height: 100%;
	#background-color: black;
	padding: 10px 10px;
	#border: 2px double #000000;
	color: white;
	margin: auto;
	voice-family: "\"}\""; 
	voice-family:inherit;
}

#content_main {
	z-index: 0;
	width: 640px;
	#background-color: black;
	padding: 2px 2px;
	color: white;
	margin: 1;
	align: left;
	voice-family: "\"}\""; 
	voice-family:inherit;
}

a {
	text-decoration: none;
}

a:link, a:visited {
	color: #00ff00;
}


#content_main a:link,
#content_main a:visited {
    color: #00ff00;
}

a:active {
	color: red;
}

a:hover {
	text-decoration: underline;
}

h1#left {
	text-align: left;
	padding: 0 0 0.25em 0;
	margin: 0;
}

h1#right {
	text-align: right;
	padding: 0 0 0.25em 0;
	margin: 0;
}


ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav a {
	font-weight: bold;
	color: green;
}

#nav a {
	text-decoration: none;
}

#nav li li a {
	display: block;
	font-weight: normal;
	color: #060;
	padding: 0.2em 10px;
}

#nav li li a:hover {
	padding: 0.2em 5px;
	border: 5px solid #00ff00;
	border-width: 0 5px;
}

li {
	float: left;
	position: relative;
	width: 146px;
	text-align: center;
	cursor: default;
	background-color: white;
	border: 1px solid #00ff00;
	border-width: 1px 0;
}

li#first {
	border-left-width: .5em;
}

li#last {
	border-right-width: .5em;
}

li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	font-weight: normal;
	background-color: white;
	padding: 0.1em 0 1em 0;
}

li>ul {
	top: auto;
	left: auto;
}

li li {
	display: block;
	float: none;
	background-color: transparent;
	border: 0;
}

li:hover ul, li.over ul {
	display: block;
}

ul#new {
	display: block;
	}
li#new {
	display: block;
	font-weight: normal;
	color: #ffffff;
	}

hr {
	display: none;
}

p#crow {
	clear: left;
	/* Adjust the two numbers after the URL to move the image */
	/* 1st number: horizontal (right), 2nd number: vertical (down) */
	background: url(../media/graphics/menu_crow2.gif) 20px 30px no-repeat;
	padding: 2em 0 0 140px;
	margin: 0;
	font-size: 1em;
}

#rightbox { 
	width: 225px;
	float: right;
	font-size: 0.8em;
	text-align: center;
	color: #7d6340;
	padding: 10px 15px 5px 10px;
	display: block;
	margin: 10px 3px;
}

#searchbox {
	z-index: 1;
	width: 225px;
	font-size: 0.8em;
	text-align: center;
	color: #7d6340;
	display: block;
	border: 2px solid #7d6340;
}

#miscbox {
	z-index: 2;
	font-size: 1.25em;
	text-align: justify;
	color: #ffffff;
	display: block;
}

#rss1 {
	font-size: .7em;
	text-align: left;
	color: #ffffff;
	display: block;
}

#rss2 {
	font-size: .8em;
	text-align: left;
	color: #ffffff;
	display: block;
}

#loading {
	font-size: .75em;
	text-align: center;
	color: #00ff00;
	#background: #000000;
	}

