* { margin: 0; padding: 0; outline: 0 }

body {
	background: #ACAC95;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;
	color: #333;
	text-align: center;
	margin: 15px 0;
}

/* ------------------------------ LINKS -------------------------------- */

a, a:visited {
	color: #00f;
	background: inherit;
	text-decoration: none;
}
a:hover {
	color: #88ac0b;
	background: inherit;
	text-decoration: underline;
}

/* ------------------------ GENERIC CLASSES ---------------------------- */

.floatright {
  	float:right;
  	margin: .5em 3em;
}

.clearline {
	clear: both;
}

.italic {
	font-style:italic;
}

.bold {
	font-weight:bold;
}

/* ---------------------------- HEADERS -------------------------------- */

h1, h2, h3 {
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	font-weight: Bold;
}

h3 {
	font-size: 130%;
	font-style: italic;
}

h1, h2, h3, p {
	padding: 10px;
	margin: 0;
}
h1 {
	font-size: 2.2em;
	font-weight: normal;
	text-align:center;
	border-bottom:1px solid #ccc;
	margin-bottom:1em;
}

h2 {
	font-size: 1.5em;
	font-weight: normal;
	text-align:center;
	margin-bottom:1em;
}

h4 {
	font-size: 110%;
	font-style: italic;
	text-align:center;	
}

h1.noline {
	border-bottom:none;
	margin-bottom:0em;
}

h1.subtitle {
	font-size:1.5em;
	border-bottom:1px solid #ccc;
	padding-top:0;
	margin-bottom:1em;
}

/* -------------------------- IMAGE STYLING ---------------------------- */

img.portrait {
	float:right;
	margin:1em 3em 1em 3em;
}

img.bordered {
	background-color:#fff;
	padding:3px;
	border: 1px solid #666;
}

/* ------------------------ FORM ELEMENTS ------------------------------ */

input, select {
	width:200px;
	text-align:left;
	padding:2px;
	margin:2px 10px;
	border:1px solid #ccc;
	font: normal 1em Verdana, sans-serif;
	color:#555;
}

select {
	width: 150px;
}

textarea {
	width:350px;
	margin:2px 10px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #ccc;
	height:100px;
	display:block;
	color:#555;
}

input:focus, textarea:focus{
	background-color: #ff9;
}

input.click {
	font: bold 12px Arial, Sans-serif;
	height: 24px;
	margin: 0;
	padding: 2px 3px;
	color: #555;
	background: #8EB50C url(gfx/menu_hover.gif) 0 60px;
	border:1px solid #ccc;
	text-align:center;
}

/* -------------------------- PAGE LAYOUT ------------------------------ */

#wrap {
	position: relative;
	width: 910px;
	margin: 0 auto;
	text-align: left;
}

#header-photo {
	position:relative;
	clear: both;
	height: 157px;
	width: 912px;
	margin: 0 auto;
	background: url(gfx/banner2.jpg) no-repeat top center;
}

/* --------------------- HORIZONTAL NAV BAR STYLING -------------------- */

#menu {
	width: 912px;
	height: 60px;
	background:url(gfx/menu.jpg);
}

#menu ul {
	list-style: none;
	margin: 0;
	padding-top:10px;
	padding-left:28px;
}

#menu li {
	display: inline;
}

#menu a {
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	display: block;
	float: left;
	height: 43px;
	line-height:43px;
	padding: 0;
	text-decoration: none;
	font-size: 1.3em;
	letter-spacing:.05em;
	color: #E0E453;
	text-align:center;
	border-right:1px solid #666;
	border-left:1px solid #999;
}

#menu a:hover {
	background:url(gfx/menu_hover.gif) 0 60px;
	color:#000;
}

#menu a#homepage { width:128px; border-left:none; }
#menu a#name { width:118px; }
#menu a#services { width:118px; }
#menu a#about { width:146px; }
#menu a#moodle { width:108px; }
#menu a#learning { width:118px; }
#menu a#contact{ width:108px; border-right:none; }


#main {
	position: relative;
	clear: both;
	float: left;
	width: 832px;
	padding: 20px 40px;
	padding-bottom:4em;
	background: url("gfx/page.jpg") repeat-y top center;
	display: inline;
}

#main p {
	text-align:left;
	margin-left:40px;
}
#main p.centered {
	margin:0;
	text-align:center;
}

#main h3 {
	margin-left:40px;
	text-decoration:underline;
}
#main ul li.tick {
	list-style-image: url(gfx/tick.png);
	padding-bottom:5px;
}
#main ul li.error {
	list-style-image: url(gfx/cross.png);
	padding-bottom:5px;
}

#main ul {
	margin: 5px 80px;
	padding: 0 20px;
}


/* ------------------------- FOOTER STYLING ---------------------------- */

#footer-wrap {
	clear: both;
	margin:0 auto;
	width: 912px;
	height: 66px;
	font-size: 95%;
	padding: 0;
	background: url("gfx/footer.jpg") no-repeat bottom center;
}

#footer-content {
	width:860px;
	margin:0 auto;
	padding-top:2px;
	padding-bottom:5px;
 	border-top:2px solid #999;
}

#footer-wrap a {
	text-decoration: none;
	color: #666666;
	font-weight: bold;
}
#footer-wrap a:hover {
	color: #000;
}

#footer-wrap p {
	padding:10px 0;
	text-align:center;
}

/* ------------------------- CONTACT FORM - ---------------------------- */

#contact_form {
	background-color:white;
	border:1px solid #ccc;
}

table#contact_form th {
	text-align:right;
	color:#000;
	margin:0;
	padding:10px 5px;
	border-bottom:5px solid #ccc;
}

table#contact_form tr {
	background:url(gfx/form.gif) repeat-x;
}

table#contact_form tr.formerror {
	background:url(gfx/menu_hover.gif) repeat-x;
}

table#contact_form td, table#contact_form th {
	padding:10px 5px;
	border-bottom:1px solid #ccc;
}

/* ------------------------- RSS FEEDS BOX ----------------------------- */

#box_right_container {
	float:right;
	width:310px;
	background-color:#feffe0;
}

#box_right {
	float:right;
	width:250px;
	margin:10px 0 10px 50px;
	padding:1px 1px 1px 1px;
	border:1px solid #999;
	background-color:#fff;
}

#box_right h1 {
	font-size:1.5em;
	margin-bottom:2em;
}

#box_right ul {
	padding-left: 10px;
	padding-right:0;
	margin: 10px;
}

#box_right ul li {
	padding:0 0 5px 3px;
}

#box_right ul li a {
	background:none;
}

#box_right h6 {
	font-size:1.0em;
	color: #fff;
	padding: 1px 5px;
	margin:20px 0 10px 0;
	background:gray;
	
}