/*Grad spdw*/
body {
	position: static;
	color: #666;
	background: #FFF url("images/bg.gif") repeat-x fixed top left;
	text-decoration: none;
	width: 100%;
	margin: 0;
	padding: 0;
	font: normal normal 75% verdana,arial,geneva,helvetica,sans-serif;
}

#canvas {
	position: relative;
	width: 100%;
	max-width: 960px;
	height: auto;
	min-height: 100%;
	padding: 0;
	margin: 0 auto -3.5em;
	background: #FFF url("images/menu.gif") repeat-y fixed top left;
}

#header {
	color: #FFF;
	background: #D7E9EF url("images/header.gif") repeat-x center;
	margin: 0;
	padding: 0;
}

#header img {
	position: static;
	float: right;
	margin: 0;
	padding: 0;
}

#header p.title {
	font-weight: bold;
	margin: 0;
	font-size: 25px;
	font-style: italic;
	text-align: left;
	padding: 10px 10px 11px 20px;
}

#header p.title a {
	text-decoration: none;
	color: #FFF;
	background: transparent;
}

#header p.title a:hover {
	color: #039;
	background: transparent;
}

#header p.title img {
	float: none;
	margin-top: 0;
}

#header p {
	font-size: 15px;
	text-align: left;
	padding: 10px 10px 10px 20px;
}

#header p img {
	float: none;
}

#socialmedia {
	position: absolute;
	top: 20px;
	right: 200px;
}

#menubar {
	position: relative;
	top: 0;
	width: 99.9%;
	color: #039;
	background: #FFF;
	border-bottom: solid 1px #039;
	clear: both;
	height: 15px;
	z-index: 10;
}

#content {
	position: relative;
	width: auto;
	min-width: 120px;
	overflow: visible;
	clear: both;
	margin-right: 0;
	padding: 10px 10px 4.5em;
	text-align: justify;
}

#content p {
	line-height: 145%;
}

#footer {
	position: relative;
	height: 0;
	width: auto;
	padding: 0 10px;
	border-top: 1px solid #096;
	margin-top: -3.5em !important;
	background: transparent;
}

#footer p {
	color: #096;
	font-size: 0.8em;
	text-align: center;
	background: transparent;
}

#content,
#footer {
	margin-left: 220px;
}

#leftb {
	position: absolute;
	bottom: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 220px;
}

#leftb h4 {
	text-align: center;
}

#fright,
#right {
	color: #000;
	background: #E8E8E8;
	border-color: #2D67B1;
	padding: 0 0 10px;
}

#right {
	position: absolute;
	z-index: 1;
}

#fright h2,
#right h2 {
	color: #000;
	background: #C6E1F1;
	text-align: center;
	border-bottom: 1px solid #2D67B1;
	margin-bottom: 10px;
	padding: 5px;
}

#fright p {
	padding: 0 5px;
}

#fleft,
#left {
	color: #039;
	background: #FFF;
	padding: 0;
	border-right: 1px solid;
	border-left: 1px solid;
	border-bottom: 1px solid;
	border-top: none;
	border-color: #039;
}

#left {
	position: absolute;
	z-index: 1;
}

#fleft h2,
#left h2 {
	color: #FFF;
	background: #08F url("images/header.gif") repeat-x center;
	text-align: center;
	padding: 3px 10px;
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: #039;
}

#left ul {
	font-size: 1em;
	line-height: 15px;
	margin: 0;
	padding: 5px;
	font-family: Arial,sans-serif;
}

#right {
	width: 170px;
	right: 10px;
	padding: 0;
	border-width: 1px;
}

#right {
	top: 150px;
}

#left {
	width: 170px;
	left: 23px;
	padding: 0;
}

#left {
	top: 150px;
}

p {
	letter-spacing: 0;
	margin: 0;
	padding: 0 0 8px;
	text-align: left;
}

table p {
	text-align: justify;
}

.colour {
	color: #00F;
	background: transparent;
	font-weight: bold;
}

.small {
	font-size: 0.85em;
}

.large {
	font-size: 1.3em;
}

.warning {
	color: #900;
	font-size: 0.85em;
	padding: 3px 0;
	text-align: center;
	background: transparent;
}

blockquote {
	font-style: italic;
	font-size: 0.9em;
	margin: 0 5%;
	padding: 0 0 8px;
	text-align: center;
}

kbd {
	font: normal normal 100% verdana,arial,geneva,helvetica,sans-serif;
}
/*SELECTABLE STYLES - END*/
marquee {
	width: 50%;
}

h1,
h2,
h3 {
	text-align: left;
}

h4,
h5,
h6 {
	text-align: left;
}

h1 {
	color: #039;
	font-size: 1.5em;
	padding: 0.5em 0 1em;
	background: transparent;
}

h2 {
	color: #039;
	font-size: 1.1em;
	padding: 0 0 3px;
	background: transparent;
}

h3,
h4 {
	color: #777;
	font-size: 1.2em;
	padding: 5px;
	background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	border: none;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	text-decoration: none;
	vertical-align: middle;
}

h5 {
	font-size: 1em;
	color: #900;
	background: #FFF;
	padding: 0 0 8px;
}

h6 {
	font-size: 1em;
	color: #039;
	background: #EEE;
	padding: 0 0 8px;
	font-style: normal;
	font-weight: normal;
}

input.form,
select.form,
textarea.form {
	border: 1px solid #096;
	color: #039;
	background: transparent;
}

div.form {
	color: #000;
	background: #FFF;
	font-weight: normal;
	text-align: left;
	border: 1px solid #096;
	margin: 10px auto 0;
	max-width: 700px;
	padding: 10px;
	width: 100%;
}

a {
	text-decoration: none;
}

a:link {
	color: #00F;
	background: transparent;
}

a:visited {
	color: #00F;
	background: transparent;
}

a:hover {
	color: #000;
	text-decoration: underline;
	background: transparent;
}

a:active {
	color: #00F;
	background: transparent;
}

hr {
	color: #096;
	height: 1px;
	margin: 0;
	padding: 0;
	width: 100%;
	background: transparent;
}

ul {
	list-style: none;
	height: auto;
}

ol,
ul {
	letter-spacing: 0;
	text-align: left;
	margin: 0 10px 5px;
	padding: 0 0 8px 15px;
}

ul > li {
	font-size: 1em;
	color: #666;
	background-color: transparent;
	background: url("images/bullet.gif") no-repeat 0 3px;
	line-height: 20px;
	margin: 0;
	padding: 0 0 0 20px;
}

xol > li {
	background-image: none;
	font-size: 1em;
	margin: 0;
	padding: 2px;
	line-height: 100%;
}

ol > li {
	background-image: none;
	margin: 0 10px 3px 15px;
	padding: 0;
	line-height: 1.2em;
}

ol ol ol {
	list-style-type: lower-roman;
}

ol ol {
	list-style-type: lower-alpha;
}

ul li a {
	padding-left: 20px;
}

dd,
dl,
dt {
	color: #669;
	background: transparent;
	font-weight: normal;
	letter-spacing: 0;
	margin: 0;
	padding: 5px 10px 0;
	text-decoration: none;
}

dt {
	list-style: url("images/bullet.gif");
}

dd {
	padding: 5px 20px 0;
}
/*NAVIGATION - HORIZONTAL*/
#menu ul,
#menu ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 130%;
	background: none;
	width: inherit;
}

#menu ul li {
	display: inline;
}

#menu ul li a {
	float: left;
	color: #039;
	background: transparent;
	border: none;
	text-decoration: none;
	padding-left: 0.5em;
	padding-right: 0.5em;
	margin-left: auto;
	margin-right: auto;
	white-space: normal;
}

#menu ul li a:hover {
	display: list-item;
	color: #FFF;
	background: #039 url("images/menbg.gif") repeat-x;
}

#menu ul li a span {
	display: none;
	text-align: center;
	font-weight: bold;
}

#menu ul li a:hover span {
	position: absolute;
	left: 10px;
	top: 2em;
	display: block;
	width: 200px;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	color: #039;
	background: #FFF;
	z-index: 10;
}
/*NAVIGATION - VERTICAL SUBMENU*/
#menu ul ul {
	position: absolute;
	top: 5em;
	left: 0;
	width: 220px;
	text-align: center;
	z-index: 10;
	font-family: verdana,arial,geneva,helvetica,sans-serif;
}

#menu ul ul li {
	list-style: none;
	display: list-item;
	float: none;
	text-align: center;
	padding: 0 0 5px;
	color: #777;
	background-color: transparent;
	background-image: none;
}

#menu ul ul li a {
	display: block;
	float: none;
	width: 120px;
	color: #777;
	background: #FFF;
	border: 1px solid #096;
	padding: 0 10px;
	margin-left: auto;
	margin-right: auto;
	white-space: normal;
}

#menu ul ul li a:hover {
	color: #FFF;
	background: #039 url("images/menbg.gif") repeat-x;
}

#menu ul ul li a:hover span {
	display: block;
	top: -3em;
	width: 180px;
	padding: 0 10px;
	margin-left: auto;
	margin-right: auto;
	color: #039;
	background: #FFF;
	font-weight: normal;
	z-index: 10;
}
/*EVENT TABLE*/
p.event,
p.eventl {
	text-align: left;
	padding: 3px 0 3px 5px;
}

p.eventr {
	text-align: right;
	padding: 3px 5px 3px 0;
}

table.events {
	width: 100%;
	font-size: 1em;
	border-left: 1px solid #03C;
	border-right: 1px solid #03C;
	border-top: none;
	border-bottom: none;
}

table.events h3,
table.events p.warning {
	color: #FFF;
	background: #08F url("images/header.gif") repeat-x center;
}

.event1,
.event2,
.event3,
.event4,
.eventfoot {
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: #03C;
}

.event1 {
	width: 15%;
}

.event2 {
	width: 35%;
}

.event3 {
	width: 25%;
}

.event4 {
	width: 25%;
}

.eventfoot {
	border-top: 1px solid;
	border-bottom: 1px solid;
}

.spelling {
	border: 1px solid #DFD;
}

#adv {
	width: auto;
	padding: 5px;
	margin: 5px;
	border: 1px solid #666;
	color: #666;
	background-color: #EEE;
	font-size: 0.8em;
}

#adv p {
	padding: 1px;
	line-height: 110%;
	height: 100%;
}

#adv a {
	color: #888;
	background-color: #EEE;
	text-decoration: none;
}

#adv a:hover {
	color: #555;
	background-color: #EEE;
}
@media only screen and (max-width:768px) and (max-aspect-ratio: 13/9) {
	#header {
		background-size: auto !important;
	}
}

pre.code {
	border: 1pt solid #AEBDCC;
	background-color: #F3F5F7;
	padding: 5pt;
	font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
	white-space: pre;
	/* begin css 3 or browser specific rules - do not remove!
  see: http://forums.techguy.org/archive/index.php/t-249849.html */
	white-space: pre-wrap;
	word-wrap: break-word;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	color: #170071 !important;
	/* end css 3 or browser specific rules */
}
