/* --------------------------------------------------
CSS Document For Leaves v1.0 - Anthonyy @ OSWD.org
-------------------------------------------------- */

body {
	background-image: url(tile.png); 
	background-repeat: repeat;
}

/* CONTAINER */
		#container {
			width: 850px;
			margin: 0 auto;
			padding: 10px;
			padding-top: 0px;
			font-family: Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; /* Lucida Grande for the Macs, Tahoma for the PCs */
			font-size: 11px;
			line-height: 1.6em;
			color: #0D0D0D; /*#666;*/
			/*background: #fff url(leftside.gif) repeat-y left top;*/
			background-color: #FFF;
		}
		
/* GENERAL MOJO AND MULA */
		
		h1 {
			font-family: Arial, Helvetica, sans-serif;
			font-weight: normal;
			font-size: 32px;
			color: #8C030E;
			margin-bottom: 30px;
			background-color: #FFF;
			line-height: 1.1em;
		}
		
		h2 {
			color: #8C030E;
			font-size: 16px;
			font-family: Arial, Helvetica, sans-serif;
			background-color: #FFF;
		}
		
		a {
			color:#8C030E;
			text-decoration: none;
		}

		a:hover {
			color:#8C030E;
			background-color: #F5F5F5;
		}
		
		table {
			border-collapse: collapse;
			margin: auto;
			margin-bottom: 10px;
			padding: 5px;
			/*margin: 15px 10px;*/		
		}
		
		th {
			border: 1px solid black;
			background-color: #C0C0C0;
		}
		
		td {
			border: 1px solid black;
			padding: 5px 5px;
		}
		
		tr.odd {
			/*color: black;*/
			background: #E5E5E5;
		}
		
		/*		
		form {
			float:right;
			margin-top: -45px;
			font-size: 9px;
			padding: 5px;
		}
		*/
		
		.field_required {
			color: red;
		}
		
		.itsme {
			font-weight: bolder;
			text-decoration: underline;
			/*font-size: larger;*/
			color: red;
		}
		
		input {
			background-color: #FFF;
			color: #0D0D0D;
			border: 1px solid #CCC;
			font-size: 11px;
			padding: 3px;
		}
		
		.button {
			padding: 2px;
		}
		
		textarea {
			margin: auto;
		}
		
		form.null {
			border: none;
			padding: 0px;
			margin: auto;
			color: inherit;
		}
		input.null {
			/*border: none;*/
			margin: auto;
			color: inherit;
		}
		
		select {
			width: 150px;
		}
		
		textarea.null {
			border: none;
			padding: 0px;
			margin: 0px;
			color: inherit;
		}

/* HEADER ELEMENTS */

		#header {
			border-bottom: 1px solid #262626;
			padding-top: 5px;
			clear: both;
			margin-bottom: 10px;
		}
		
		/* the slogan */
		#header p { 
			margin-top: -20px;
			margin-left: 30px;
			color: #262626;
		}

/* NAVIGATION ELEMENTS */
	
#leftbar {
			margin-left: 0;
			padding-left: 0;
			margin-bottom: 10px;
			padding-bottom: 10px;
			list-style-type: none;			
			float: left; /*left;*/
			width: 150px;
			padding-right: 10px;
			border-right: 1px solid #DDDDDD;
}
		 #navigation ul {
			margin-left: 0;
			padding-left: 0;
			list-style-type: none;			
			float: left; /*left;*/
			width: 140px;
			padding-right: 15px;
			border-right: 1px solid #DDDDDD;
		}

		#navigation a {
			display: block;
			padding: 5px;
			width: 140px;
			border-bottom: 1px solid #CCC;
		}

		#navigation a:link, #navlist a:visited {
			color:#8C030E;
			text-decoration: none;
		}
		
		#navigation a:hover {
			background: #000000 url(arrow.gif) 96% 50% no-repeat;
			background-color: #F5F5F5;
			color:#8C030E;
		}
		
		#navigation a:hover.null {
			background-color: #FFFFFF;
		}
		
		#navigation a.null {
			border-bottom: 0px;
		}

/* THE SMALL BOX BELOW NAV */

		#navigation p {
			margin-top: 40px;
			padding: 5px;
			border-bottom: 1px dotted #CCC;
			border-top: 1px dotted #CCC;
		}
		
/* CONTENT ELEMENTS */

		#content {
			width: 650px;/*462px;*/
			margin-left: 180px;
			/*margin-right: 200px;*/
		}
		
		#content p {
			padding-bottom: 10px;
			border-bottom: 1px solid #DDDDDD; /* A faint grey line below the text */
		}
	
		#content form {
			margin: 0px; /*20px 10px;*/ 
			margin-bottom: 10px;
			padding: 0px;/*15px 25px 25px 20px;*/ 
			/*border: 1px solid #EEE8E1;*/ 
			background: #FFFFFF; /*#FAF7F5;*/
			width: 100%;
			float: none;
		}
		
		#content td>form, th>form {
			border: none;
			padding: 0px;
			margin: 0px;
			color: inherit;
		}
		
		#content th>form {
			background: #C0C0C0;
		}

		#content form p {
			border-bottom: 1px solid #ECE5DD;
			padding: 12px 0 5px 0;	margin: 0;	
			color: #000000;
		}

		#content td>p {
			border-bottom: none;
			margin: auto;
		}
		
		#content .leaderboard {
			font-size: smaller;
		}

#captcha {
	border: none;
	padding: 0px;
	margin: 0px;
	color: inherit;
}

#captcha img {
	border: none;
	padding: 0px;
	margin: 0px;
	color: inherit;
}

/* SIDEBAR ELEMENTS */

		#sidebar {
			float: right; /*right;*/
			width: 160px; /*175px;*/
			padding-left: 5px;
			border-left: 1px solid #DDDDDD;
			display: inline;
		}
		
		#sidebar p {
			padding-bottom: 10px;
			border-bottom: 1px solid #DDDDDD;
		}

		 #sidebar ul {
			margin-left: 0;
			padding-left: 0;
			padding-top: 0px;
			margin-top: 0px;
			list-style-type: none;			
			float: left;
			width: 140px;
		}

		#sidebar a {
			display: block;
			padding: 5px;
			width: 140px;
			border-bottom: 1px solid #CCC;
		}

		#sidebar a:link, #navlist a:visited {
			color:#8C030E;
			text-decoration: none;
		}
		
		#sidebar a:hover {
			background: #000000 url(arrow.gif) 96% 50% no-repeat;
			background-color: #F5F5F5;
			color:#8C030E;
		}
		
		#sidebar a:hover.null {
			background-color: #FFFFFF;
		}
		
		#sidebar a.null {
			border-bottom: 0px;
		}
		
		#sidebar h3 {
			padding-bottom: 0px;
			margin-bottom: 0px;
		}

/* FOOTER ELEMENTS */

		/*
		#bottom {
			height: 60px;
			background: url(bottom.gif) no-repeat left bottom;
		}

		#bottom span {
			display: block;
			position: relative;
			height: 60px;
			background: url(bottom-right.gif) no-repeat right top;
		}
		*/

		#footer {
			margin-top: 20px;
			clear: both;
			background-color:#575352;
			padding: 0px 5px 0px 5px;
		}
		
		#footer p {
			text-align: center;
			color:#89817f;
			padding: 5px;
		}
		
		#footer p a {
			color: #89817f;
			border-bottom: 1px dotted #89817f;
		}
		
		#footer p a:hover {
			color: #FFFFFF;
			background-color:#575352;
		}
		
		/* And they lived happily ever after. The End. */
		
/* ADXmenus */
/* - - - ADxMenu: BASIC styles - - - */

.menu {
	width: 10em;/* VERY IMPORTANT! Set this to appropriate value, either here on down in the design section */
}

.menu, .menu ul {	/* remove all list stylings */
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}

.menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
}

.menu li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

.menu ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}

.menu li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	left: 100%;	/* and move them to the right of the item */
}

/* -- float.clear --
	force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
.menu, .menu ul {	/* IE7 float clear: */
	min-height: 0;
}
/* -- float.clear.END --  */

/* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.menu ul {
	background-image: url(empty.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 30px 30px 30px 10px;
	margin: -30px 0 0 -10px;
	/*background: #f00;*/	/* uncomment this if you want to see the "safe" area.
								you can also use to adjust the safe area to your requirement */
}


/* - - - ADxMenu: DESIGN styles - - - */

.menu, .menu ul li {
	color: #8C030E;
	background: white;
}

.menu {
	width: 14em;
}

.menu ul {
	width: 11em;
}

.menu a {
	text-decoration: none;
	color: #8C030E;
	padding: .4em 1em;
	display: block;
}

.menu a:hover, .menu li:hover>a {
	color: #8C030E; /*#fc3;*/
}

.menu li {	/* create borders around each item */
	border: 1px solid #ccc;
}
.menu>li + li, .menu ul>li + li {	/* and remove the top border on all but first item in the list */
	border-top: 0;
}

.menu li:hover>ul {	/* inset submenus, to show off overlapping */
	top: 5px;
	left: 90%;
}

/* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
	placed here to clarify the terminology I use when referencing submenus in posts */
.menu>li:first-child>a, .menu li + li + li li:first-child>a {
	color: #567;
	text-align: center;
	background-color: #F5F5F5;
}
