/*

Stylesheet that contains all elements used by the website AND by the Editor.
This is so that the way the site looks in the editor is the same as on the actual
content of the site. This stylesheet should not contain rogue classnames that are not
prefixed with a tag.

eg.

.myclass is invalid
p.myclass is valid

This is because when you right click on a tag in the editor, it only lists classes that relate to that tag.
If you place classes here without a prefix, they appear in every list of classes because the editor doesn't know
where to put them.

To include classes that you want the Editor to ignore, place them after this line.
--------------------------------------------------------------------------------*/


/*MAIN STATIC TEMPLATE
=======================================*/
		#operafix{
			height:1%;
		}
		
		#tpl_siteframe{
			width:90%;
			margin-right:auto;
			margin-left:auto;
			max-width:890px;
			min-width:600px;
			height:1%;
		}

		#tpl_siteframe_left{
			background-image:url("/images/canvas_bg_right.jpg");
			background-repeat:repeat-y;
			background-position:top right;
			height:1%;

		}

		#tpl_siteframe_right{
			background-image:url("/images/canvas_bg_left.jpg");
			background-repeat:repeat-y;
			background-position:top left;
			height:1%;
		}

		#tpl_siteframe_inner{
			color:#000000;
			background-color:#ffffff;
			margin:0px 38px 0px 38px;
			height:1%;
		}

		#tpl_topbar{
			color:#ffffff;
			background-color:#2C4F97;
			background-image:url("/images/tpl_topbar_bg.jpg");
			background-repeat:repeat-x;
			background-position:top left;
			height:124px;
		}
		#tpl_topbar .inner{
			background-image:url("/images/tpl_topbar_bg2.jpg");
			background-repeat:no-repeat;
			background-position:top right;
		}
			
		#tpl_topbar img{
			border:none;
			padding:0px;
		}

		#tpl_headerbar{
			color:#ffffff;
			background-color:#2C4F97;
			height:112px;
			border-width:1px 0px 1px 0px;
			border-style:solid;
			border-color:#ffffff;
			background-repeat:no-repeat;
			background-position:top right;
		}

		#tpl_breadcrumbs{
			color:#ffffff;
			background-color:#2C4F97;
			font-size:0.9em;
			padding:8px 10px 8px 10px;
		}

		#tpl_breadcrumbs a{
			color:#BDCCEC;
			background-color:inherit;
		}

		#tpl_breadcrumbs .todaysdate{
			/* floats right */
			color:#BDCCEC;
			background-color:inherit;
		}

		#tpl_maincontent{
			background-image:url("/images/page_bg.jpg");
			background-repeat:repeat-x;
			background-position:top left;
			padding-top:18px;
		}

		#tpl_page{
			padding:0px 3% 25px 4%;
			width:72%;
		}

		#tpl_leftbar{
			width:20%;
		}

		#tpl_bottombar{
			color:#ffffff;
			background-color:#2C4F97;
			padding:6px;
			border-bottom:1px solid #ffffff;
			text-align:right;
		}

		#tpl_bottombar a{
			color:#ffffff;
			background-color:inherit;
		}

		#tpl_bottom_left{
			background-image:url("/images/corner_bot_right.jpg");
			background-repeat:no-repeat;
			background-position:top right;
			color:#ffffff;
			background-color:#2C4F97;
		}

		#tpl_bottom_right{
			background-image:url("/images/corner_bot_left.jpg");
			background-repeat:no-repeat;
			background-position:top left;
		}

		#tpl_bottom_inner{
			color:#ffffff;
			background-color:inherit;
			background-image:url("/images/tpl_bottom_shadow.jpg");
			background-repeat:repeat-x;
			background-position:top left;
			margin:0px 38px 0px 38px;
			padding-top:5px;
			height:55px
		}
		#tpl_bottom_inner a{
			color:#BDCCEC;
			background-color:inherit;
		}
		#tpl_bottom_inner .w3c{
			/* floats left */
			font-size:0.95em;
			padding-left:10px;
		}

		#tpl_bottom_inner .inco{
			/* floats right */
			font-size:0.95em;
			padding-right:10px;
		}
		#tpl_bottom_inner .inco p,
		#tpl_bottom_inner .w3c p{
			margin-bottom:0px;
		}
			
			
/* TOP NAVIGATION
========================================*/
		#tpl_nav{
			padding-left:10px;
		}

		#tpl_nav ul,
		#tpl_nav ul li{
			margin:0px;
			padding:0px;
		}

		#tpl_nav ul li{
			list-style-type:none;
		}

		/* level 1 */
		#tpl_nav ul li a{
			color:#666666;
			background-color:#ffffff;
			display:block;
			height:1%;
			font-weight:bold;
			padding:5px 2px 5px 0px;
			border-bottom:1px solid #f1f1f1;
		}
		#tpl_nav ul li a:hover{
			color:#2C4F97;
			background-color:#F3F5FC;
		}

		#tpl_nav ul li a.selected{
			color:#2C4F97;
			background-color:#ffffff;
			font-weight:bold;
			font-size:1.1em;
			border-bottom:1px solid #A6BBE3;
			padding-bottom:4px;
		}
		#tpl_nav ul li a.selected:hover{
			color:#2C4F97;
			background-color:#F3F5FC;
			text-decoration:none;
		}
		#tpl_nav ul li.selectedli{
			padding-bottom:0px;
			padding-top:1px;
			margin-bottom:0px;
			border-bottom:1px solid #A6BBE3;
		}

		/* level 2 */
		#tpl_nav ul li ul li{
			padding:0px;
		}
		#tpl_nav ul li ul li a{
			color:#2C4F97;
			background-color:#DEE6F5;
			padding-left:20px;
			margin-bottom:1px;
			background-image:url("/images/bullet02.gif");
			background-repeat:no-repeat;
			background-position:10px 0.8em;
			font-weight:normal;
			border-bottom:none;
		}
		#tpl_nav ul li ul li a:hover{
			color:#2C4F97;
			background-color:#ECF0F9;
		}

		#tpl_nav ul li ul li a.selected{
			color:#2C4F97;
			background-color:#ECF0F9;
			font-weight:bold;
			border-bottom:none;
			background-image:url("/images/bullet02.gif");
		}
		/* level 3 */
		#tpl_nav ul li ul li ul li a{
			font-size:0.9em;
			padding-left:30px;
			background-position:15px 0.8em;
			background-image:url("/images/bullet01.gif");
		}
		#tpl_nav ul li ul li ul li a.selected{
			font-size:0.9em;
		}

/* NEWS PREVIEW ON HOMEPAGE */
#newspreview{
	margin-top:20px;
	margin-left:15px;
	margin-bottom:15px;
}
#newspreview h2{
	margin-top:0px;
	margin-bottom:0px;
}
#newspreview ul{
	margin-left:0px;
	margin-top:5px;
}
#newspreview li{
	margin-bottom:2px;
	border-bottom:1px solid #dddddd;
	font-size:0.9em;
}

/* NEWS PREVIEW ON THE MAIN NEWS PAGE */
#news_mainpreview h2{
	margin-bottom:2px;
}
#news_mainpreview .date{
	font-size:0.95em;
	color:#777777;
	background-color:inherit;
	margin-top:0px;
}
#news_mainpreview p{
	margin-bottom:2px;
}
#news_mainpreview hr{
	margin:1px;
}

/*QUICKLINKS TOP
========================================*/
#qlinks_top li{
	display:inline;
}


/*COMMON CLASSES - Used for most sites
=======================================*/
		.clearleft		{clear:left;}
		.clearright		{clear:right;}
		.clear			{clear:both}
		.textright		{text-align:right;}
		.textleft		{text-align:left;}
		.textcenter		{text-align:center;}
		.hidden			{display:none;}
		.nobotgap		{padding-bottom:0px;margin-bottom:0px;}
		.notopgap		{padding-top:0px;margin-top:0px;}
		.nogaps			{padding:0px;margin:0px;}
		.nobullets li	{background-image:none;
						 list-style-type:none;}
		.width100percent{width:100%;}
		.width90percent	{width:90%;}
		.width80percent	{width:80%;}
		.width50percent	{width:50%;}
		.smalltext		{font-size:85%;}
		.relative_top-2	{position:relative;top:-2px;left:0px;}
		.icon			{vertical-align:middle;}
		.icon_border	{vertical-align:middle;border:1px solid #000000;margin:2px;}
		.mandatory		{color:red;font-weight:bold;background-color:#ffffff;}
		.printheader	{display:none;}



/*ERROR MESSAGES
=======================================*/

		#okmsg,
		#errormsg,
		#mysqlerror{
						margin-bottom:15px;}
		#okmsg h1{	
						color:#279876;
						background-color:#f5fff5;;
						font-weight:normal;}
		#errormsg h1{
						color:#cc0000;
						background-color:#fff5f5;
						font-weight:normal;}
		#mysqlerror	h1{	color:#0000cc;
						background-color:#f5f5ff;
						font-weight:normal;}
		#okmsg div{		border:1px solid #229922;
						color:#000000;
						background-color: #f5fff5;
						padding:5px;}
		#errormsg div{	border:1px solid #cc0000;
						color:#000000;
						background-color: #fff5f5;
						padding:5px;}
		#mysqlerror div{border:1px solid #0000cc;
						color:#000000;
						background-color: #f5f5ff;
						padding:5px;}
		#errormsg li,
		#errormsg ul,
		#okmsg li,
		#okmsg ul,
		#mysqlerror li,
		#mysqlerror ul{
						padding:0px;
						margin:0px;}	




/*--------------------------------------------------------------------------------
Styles above here will not be included in the editor.
This is because the CSS will be divided into 2 parts using the split tag below
*/
/*<SPLIT>*/



body	 {
	color:#ffffff;
	background-color:#2C4F97;
	font-family:Arial,"Trebuchet MS",Trebuchet,sans-serif;
	font-size:0.75em;
	margin:0px;
	padding:0px;
}

h1{
	color:#2C4F97;
	background-color:inherit;
	margin-top:0px;
	font-family:"Times New Roman",Arial,san-serif;
	font-size:2.2em;
	letter-spacing:-1px;
	font-weight:normal;
}
h2{
	color:#2C4F97;
	background-color:inherit;
	font-family:"Times New Roman",Arial,san-serif;
	font-size:1.4em;
	font-weight:bold;
}
h3{
	color:#444444;
	background-color:inherit;
	font-family:Arial,san-serif;
	font-size:1.3em;
	font-weight:bold;
}
h4{
	font-size:1.1em;
	font-weight:bold;
}

a,a:visited{
	color:#3966C4;
	background-color:inherit;
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}
hr{
			margin:0px;
			text-align:left;}

img		{	border:0px}
kbd		{	padding:0px 1px 0px 1px;
			border-width:1px 2px 2px 1px;
			border-style:solid;}
abbr	{	border-bottom:1px dashed #aaaaaa;
			cursor:help;}
acronym	{	border-bottom:1px dashed #aaaaaa;
			cursor:help;}
dfn		{	font-style:normal;
			border-bottom:1px dashed;
			cursor:help;}
code	{	font-family: courier, monospace;
			padding-left:1px;
			padding-right:1px;}
samp	{	font-family: courier, monospace;
			border:1px solid #cccccc;
			color:#000000;
			background-color:#ccffcc;
			padding-left:1px;
			padding-right:1px;}
blockquote{
			color:#000000;
			background-color:#eeeeee;
			border:1px solid #888888;
			padding:5px;}
table	{	border:1px solid #777777;}
th		{	font-weight:bold;
			padding:1px 3px 1px 3px;
			text-align:left;
			background-color:#f1f1f1;
			color:#000000;
			background-repeat:repeat-x;
			background-position:top left;
			border-bottom:1px solid #666666;}
td		{	border-color: #eeeeee #cccccc #cccccc #eeeeee;
			border-style:solid;
			border-width:1px;
			padding:1px 3px 1px 3px;
			text-align:left;}
ul		{	margin-top:0px;
			margin-bottom:0px;
			margin-left:10px;
			padding-left:0px;
			list-style-type:none;}
ul li		{	padding-left:14px;
			background-image:url("/images/bullet02.gif");
			background-repeat:no-repeat;
			background-position:0em 0.4em;
			list-style-type:none;}
select,input,textarea{
			font-family:Arial,Verdana,sans-serif;
			font-size:0.9em;}


/*CLASSES USED BY THE EDITOR*/

div.home_house{
	width:45%;
	margin-bottom:5px;
	margin-top:5px;
}

img.vertical_middle{	vertical-align:middle;}
img.noborder		{	border:none;}

p.blockbutton		{	width:10em;
						border:1px solid #999999;}
p.blockbutton a		{	color:#ffffff;
						background-color: #3c5dac;
						display:block;
						font-weight:bold;
						padding:5px;
						margin:1px;}
p.blockbutton a:hover{	color:#ffffff;
						background-color:#6281c8;}
div.left{text-align:left;}
div.right{text-align:right;}
div.center{text-align:center;}

p.left				{	text-align:left;}
p.center			{	text-align:center;}
p.right				{	text-align:right;}
span.underline		{	text-decoration:underline;}
span.strikethrough	{	text-decoration:line-through;}
span.highlight		{	color:green;
						background-color:inherit;
						text-decoration:underline;
						font-weight:bold;}
span.smalltext		{	font-size:0.9em;}
span.bigtext		{	font-size:1.3em;}
span.biggertext		{	font-size:1.7em;}
img					{	padding:1px;
						border:3px solid #B5C6EA;}

hr.clearall			{	clear:both;}

ul.square 			{	list-style-type:square;}
ul.circle			{	list-style-type:circle;}
ul.disc				{	list-style-type:disc;}
ol.lower-alpha		{	list-style-type:lower-alpha;}
ol.upper-alpha		{	list-style-type:upper-alpha;}
ol.lower-roman		{	list-style-type:lower-roman;}
ol.upper-roman		{	list-style-type:upper-roman;}
ol.numeric			{	list-style-type:decimal;}
ol.numeric_zeropad	{	list-style-type:decimal-leading-zero;}

li.alpha			{	list-style-type:lower-alpha;}
li.square			{	list-style-type:square;}
li.circle			{	list-style-type:circle;}
li.disc				{	list-style-type:disc;}
li.lower-alpha		{	list-style-type:lower-alpha;}
li.upper-alpha		{	list-style-type:upper-alpha;}
li.lower-roman		{	list-style-type:lower-roman;}
li.upper-roman		{	list-style-type:upper-roman;}
li.numeric			{	list-style-type:decimal;}
li.numeric_zeropad	{	list-style-type:decimal-leading-zero;}
li.alpha			{	list-style-type:lower-alpha;}