@charset "UTF-8";
/* CSS Document */
/* The main YSA Melbourne style sheet, and used in preference  
** to the Simple Machines style sheets
*/

/* To do:
** - please note at present, #mena a, adding a background colour.
** - for the hover imag2, consider making something to preload 
**   the imag2. http://www.netmechanic.com/news/vol6/css_no18.htm
*/

body {
	margin: 0;
	background-color: #000033;
	background-image: url(imag2/background2.jpg);
	background-repeat: repeat-x;
	padding-top: 6px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 6px;
}
/* paragraph and text sizes */
h1, h2 {
	text-align: center;
}
h1 {
	color: #000000;
}
#wrapper #mainbody #maintable #sidebar div div div div h3 {
	text-align: center;
}
/* our footers */
h6 {
	font-size: 10px;
}
.date {
	font-style: italic;
	color: #FF3300;
}
#menu a {
	color: #000000;
	display: block; /* want the whole button */
	text-decoration: none;
	/* SERIOUSLY consider putting a background colour here, similar to the button.
	** This would prevent it from looking too weird with enlarged text.
	*/
}
#menu a:hover {
	color: #990000;
}
#wrapper #header h2 {
	font-size: 16px;
}
#wrapper #footer p {
	font-size: 10px;
	font-weight: normal;
}
#footer a:link, #footer a:visited {
	color: #CCCCCC;
}
#footer a:hover {
	color: orange;
}
#footer a:active {
	color: yellow;
}


/* layout */
#wrapper #mainbody #maintable #sidebar #navbar #menu li {
	margin-top: 4px;
	padding: 4px;
	text-align: center;
}
#wrapper #mainbody #maintable #sidebar #navbar #menu li {
	background: url(imag2/button.png) no-repeat;
}
#wrapper #mainbody #maintable #sidebar #navbar #menu li:hover {
	background: url(imag2/button_hover.png) no-repeat;
}
#wrapper {
	background-color: #6699CC;
	padding: 5px;
	background-image: url(imag2/nearbanner_r1_c1.png);
	background-repeat: repeat-x;
}
#header {
	text-align: center;
	padding: 4px;
}
#toppaddin {
	height: 7px;
	background-image: url(imag2/padding_r1_c4.png);
	font-size: 10px;
}
#toppaddin #upperleft {
	clear: left;
	float: left;
	width: 7px;
	background-image: url(imag2/padding_r1_c1.png);
	height: 7px;
}
#toppaddin #upperright {
	clear: right;
	float: right;
	width: 7px;
	background-image: url(imag2/padding_r1_c6.png);
	height: 7px;
}
#lowerpaddin {
	height: 7px;
	background-image: url(imag2/padding_r3_c3.png);
	font-size: 10px;
}
#lowerpaddin #lowerleft {
	clear: left;
	float: left;
	width: 7px;
	background-image: url(imag2/padding_r3_c1.png);
	height: 7px;
}
#lowerpaddin #lowerright {
	clear: right;
	float: right;
	width: 7px;
	background-image: url(imag2/padding_r3_c6.png);
	height: 7px;
}



#mainbody {
	background-color: #9CF; 
	padding: 0px;
	height: 100%;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	clear: none;
	float: none;
	width: 100%;
}
#sidebartable {
	width: 152px;
}
#sidebar {
	padding-top: 0px;
	padding-right: 4px;
	padding-bottom: 0px;
	padding-left: 1px;
	width: 152px;
	background-position: top;
	vertical-align: top;
	top: 0px;
}
#navbar {
	padding-top: 0px;
}
/* stolen code from Perth */
#sidebar div {
	width: 152px;
	background: transparent url(imag2/module_middle.jpg) left repeat-y;
	margin-bottom: 0px;
}
#sidebar div div {
	width: 152px;
	background: transparent url(imag2/module_top.jpg) top left no-repeat;
}
#sidebar div div div {
	width: 152px;
	background: transparent url(imag2/module_bottom.jpg) bottom left no-repeat;
}
#sidebar div div div div {
	width: 137px;
	padding-left: 5px;
	padding-right: 10px;
	padding-top: 10px;
	background: transparent;
	padding-bottom: 10px;
}
#sidebar div div div div div {
	padding: 0px;
	margin: 0px;
}
/* end stolen code */

#sidebar div#news div div div p {
	font-size: 11px;
}
#sidebar div#news div div div h4 {
	padding-top: .8ex;
	text-align: center;
}
#menu {
	list-style-type: none;
}
#loginform {
	padding-top: 0px;
}
#footer {
	width: 100%;
	clear: both;
	float: none;
	text-align: center;
	padding: 4px;
}
.sidebarspacer {
	font-size: 7px;
}
#maintable {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	padding: 2px;
	margin-top: 0px;
	margin-right: 2px;
	margin-bottom: 0px;
	margin-left: 2px;
}
.mainbox {
	background: white;
	clear: none;
	float: none;
	overflow: visible;
	padding: 0px;
	margin-right: 5px;
}
.maintoppad {
	background: white;
	margin: 0px;
	padding: 0px;
}
.mainbotpad {
	background: white;
	margin: 0px;
	padding: 0px;
	height: 7px;
}
.mainpadtopleft, .mainpadbotleft {
	margin: 0px;
	padding: 0px;
	clear: left;
	float: left;
	height: 7px;
	width: 7px;
}
.mainpadtopleft {
	background: url(imag2/padding_main_r1_c1.png);
}
.mainpadbotleft {
	background: url(imag2/padding_main_r3_c1.png);
}
.mainpadtopright, .mainpadbotright {
	margin: 0px;
	padding: 0px;
	clear: right;
	float: right;
	height: 7px;
	width: 7px;
}
.mainpadtopright {
	background: url(imag2/padding_main_r1_c6.png);
}
.mainpadbotright {
	background: url(imag2/padding_main_r3_c6.png);
}
.maincont {
	background: #FFFFFF;
	padding: 2px 5px 0px;
}
.maincont ol {
	margin-left: 27px;
}
.mainspacer {
	font-size: 7px;
}

.imageholder {
	float: left;
	margin: 0px 9px 0px 0px;
}

.textimagebox {
	clear: both;
}

