body {
	margin: 0;
	padding: 0;
	color: black;
	background: #e7dfc2;
	font-family: serif;
}

a:link {
	color: #397239;
}

a:visited {
	color: #524e33;
}

#headermenu {
	background: #708e70 url(../images/header-background.jpg) no-repeat;
}

#header {
	font-size: 400%;
	margin: 0;
	padding: 0 0.25em;
}

#menu {
	list-style-type: none;
	margin: 0 0 0 -0.4em; /* margin-left = -#menu a's padding-left/right. */
	padding: 0.2em 1em; /* padding-top/bottom = #menu a's padding-top/bottom.*/
	border-bottom: 0.05em solid #395239;
}

#menu li {
	display: inline;
}

#menu a {
	padding: 0.2em 0.4em;
	color: #072807;
}

#menu a:visited {
	color: #212107;
}

#menu a:hover {
	background: #d5e0d5;
}

#shadow {
	position: absolute;
	width: 100%;
	height: 7px;
	background: url(/~sabry/images/header-shadow.jpg) repeat-x;
}

#content {
	padding: 1em;
	max-width: 40em;
}

#content *:first-child {
	margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin-bottom: 0;
}

p, ul, ol {
	margin-top: 0;
}

table {
	margin-bottom: 1em;
}

table.requirements {
	border-collapse: collapse;
}

table.requirements th {
	border: 0.05em solid #395239;
	background-color: #e7d0c0;
	text-align: left;
}

table.requirements td {
	border: 0.05em solid #395239;
	vertical-align: baseline;
}

table.requirements td.cellhi {
	background-color: #d0d0d3;
}

table.gradingMethods td.grade {
	text-align: center;
}

table.directory {
	border-collapse: collapse;
}

table.directory tr {
	border-bottom: 0.05em solid #e0d0b0;
}

table.directory .filename {
	text-align: left;
	padding-left: 0;
	padding-right: 0.5em;
}

table.directory .fileicon {
	float: left;
	width: 16px;
	height: 16px;
	background: url(/~sabry/images/filetypes/file.gif) no-repeat;
	padding-right: 2px;
	/* ie 6 does not set the cursor to pointer by default. */
	cursor: pointer;
}

table.directory tr.filetype-folder .fileicon {
	background-image: url(/~sabry/images/filetypes/directory.gif);
}

table.directory tr.filetype_doc .fileicon {
	background-image: url(/~sabry/images/filetypes/doc.gif);
}

table.directory tr.filetype_xls .fileicon {
	background-image: url(/~sabry/images/filetypes/xls.gif);
}

table.directory tr.filetype_ppt .fileicon {
	background-image: url(/~sabry/images/filetypes/ppt.gif);
}

table.directory tr.filetype_pdf .fileicon {
	background-image: url(/~sabry/images/filetypes/pdf.gif);
}

table.directory tr.filetype_txt .fileicon {
	background-image: url(/~sabry/images/filetypes/txt.gif);
}

table.directory .filesize {
	text-align: right;
	padding-left: 0.5em;
	padding-right: 0.5em;
	white-space: nowrap;
}

table.directory .filetype {
	text-align: left;
	padding-left: 0.5em;
	padding-right: 0;
}
