@import url("http://yui.yahooapis.com/2.5.2/build/reset-fonts/reset-fonts.css");

html, body {
	background-color: gray;
}

#container {
	margin: 0 10px 10px 10px;
}

#header {
	background-color: rgb(111,19,20);
	background-image: url("headerbar.jpg");
	background-position: left top;
	background-repeat: no-repeat;
	height: 150px;
	position: relative;
}

#searchbox {
  text-align: right;
  padding: 1em 1em 0 0;
  opacity: 0.7;
}

#header #title {
	font-size: 400%;
	font-family: Tahoma, Arial, sans-serif;	
	position: absolute;
	top: 30px;
	right: 20px;
	color: white;
}

#title a, #title a:visited, #title a:hover, #title a:active {
  color: inherit;
  text-decoration: inherit;
}

#mainmenu {
	position: absolute;
	bottom: 0px;
	right: 10px;
}

#body {
	padding: 10px;
	background-color: white;
}

#adverts {
  text-align: center;
  border: 1px solid #6F1314;
  margin-bottom: 10px;
}

#adverts iframe {
	margin: 0 auto;
}

iframe.smallad {
  width: 126px;
  height: 126px;
  border: 0 none;
}

.button {
	margin: 5px 0 5px 0;
}

.button img {
	vertical-align: middle;
	margin-right: 5px;
}

#sidebar {
	float: right;
	margin-left: 10px;
	width: 180px;
	background-color: white;
}

.sidebox {
	border: 1px solid rgb(111,19,20);
	text-align: center;
	margin-bottom: 10px;
}

.sidebox h3 {
	background: rgb(111,19,20);
	color: white;
	font-weight: bold;
}

.sidebox h3 img {
  vertical-align: middle;
}

.sidebox .body {
	padding: 5px;
}

.sidebox a {
	text-decoration: underline;
	color: rgb(111,19,20);
}

.sidebox a:hover, .sidebox a:active {
	color: rgb(138,61,61);
}

.sidebox h3 a {
  color: white;
}

.sidebox h3 a:hover, .sidebox h3 a:active {
  color: white;
}

.sidebox ul {
}

.sidebox li {
}

#navigation {
  margin: 1em 0 1em 0;
  text-align: center;
}

#navigation a, #navigation a:visited {
  text-decoration: underline;
  color: rgb(111,19,20);
}

#navigation a:hover, #navigation a:active {
  text-decoration: underline;
  color: rgb(138,61,61);
}

#warningbar {
	text-align: center;
	padding: 2px;
	margin-bottom: 1em;
}

#warningbar.sidebar {
	margin-right: 160px;
}

#warningbar.warning {
	border: 1px solid #FFFF00;
	background-color: #FFFFC0;
}

#warningbar.alert {
	border: 1px solid rgb(111,19,20);
	background-color: rgb(138,61,61);
	color: white;
}

.contentbox {
	border: 1px solid rgb(138,61,61);
	margin-bottom: 10px;
}

.contentbox h4 {
	background-color: rgb(138,61,61);
	color: white !important;
  font-size: 100% !important;
	padding: 2px 10px 2px 10px;
}

.contentbox h4 a, .contentbox h4 a:visited {
	color: white !important;
}

.contentbox h4 a:hover, .contentbox h4 a:active {
	color: white !important;
}

.contentbox .body {
	padding: 0.5em;
}

#footer {
	font-size: 84%;
	text-align: center;
}

#footer a {
	text-decoration: underline;
	color: rgb(111,19,20);
}

#footer a:hover, #footer a:active {
	color: rgb(138,61,61);
}

@media print {
	body {
		background-color: transparent !important;
	}

	#container {
		width: auto !important;
		margin: 0 !important;
		background-color: transparent !important;
	}

	div#header {
		display: none;
	}
}

#content em {
  font-style: italic;
}

#content strong {
	font-weight: bold;
}

/* Indent uses this */
#content blockquote {
	margin-left: 20px;
}

/* Align text properly */
#content *[align="center"] {
  text-align: center;
}

#content *[align="left"] {
  text-align: left;
}

#content *[align="right"] {
  text-align: right;
}

/* float images */
#content img[align="left"] {
	float: left;
}

#content img[align="right"] {
	float: right;
}

#content h2 {	
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;	
	font-weight: bold;
	font-size: 185%;		
	color: rgb(111,19,20);
	margin-bottom: 0.5em;
}

#content h3 {	
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;	
	font-weight: bold;
	font-size: 140%;
	color: rgb(111,19,20);
	margin-bottom: 0.5em;
}

#content h4 {	
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;	
	font-weight: bold;
	font-size: 110%;
	color: rgb(111,19,20);
	margin-bottom: 0.5em;
}

#content p {
	font-family: Arial, Helvetica, sans-serif;	
	color: #000000;
	text-align: justify;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}

#content p.highlight {
	color: red;
}

#content blockquote {
	background-color: #E0E0E0;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 10px;
	padding-right: 10px;
	text-align: justify;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
}

#content pre {
	background-color: #E0E0E0;
	margin-bottom: 0;
	margin-top: 0;
	padding-left: 10px;
	padding-right: 10px;
	text-align: left;
	color: #000000;
	font-family: monospace;
}

#content li {
	font-family: Arial, Helvetica, sans-serif;	
	color: #000000;
	text-align: justify;
	margin-bottom: 0.2em;
}

#content ul,
#content ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 40px;
}

#content ol li {
	list-style-type: decimal;
	margin-bottom: 0.5em;
}

#content ul li {
	list-style-type: disc;
	margin-bottom: 0.5em;
}

#content sup {
  vertical-align: super;
}

#content sub {
  vertical-align: sub;
}

#content a, #content a:visited {
  text-decoration: underline;
  color: rgb(111,19,20);
}

#content a:hover, #content a:active {
  text-decoration: underline;
  color: rgb(138,61,61);
}

#content a img {
  border: 0;
}

#content img[align] {
  margin: 5px;
}

#content label {
	font-weight: bold;
}

#content table {
  border: 2px solid black;
}

#content th {
  border-bottom: 2px solid black;
  padding: 5px;
  font-weight: bold;
}

#content td {
  border: 1px solid black;
  padding: 5px;
}

#content table.invisible {
  border: 0px none;
}

#content table.invisible td {
  border: 0px none;
}
