 /* for XHTML */

body{
	margin: 0;
	padding: 0;
	background-color: #f0f8ff; /* #f0f8ff; - change footer background colour and make sure kehys is transparent aswell otherwise it will be different*/
	/* background-image: url('../images/bg.gif'); removes the two vertical lines that are the boundary to the page */ 
	background-position: top center;
	background-repeat: repeat-y;
	text-align: left; /* your wysiwyg editor will use this in editing mode */
		
	font-family: Arial;
	color: #626262;	
}

/* container div */
#main{
	position: absolute;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: transparent;
	width: 100%;
	text-align:center;
	height: 100%;
}

#kehys{
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	width: 780px; /* changing this to 800px or 750px (from 930px) while boxes at a higher value means this is not visible and since boxes starts at the left of kehys it makes boxes appear off centre */
	height: 100%;
	background-color: transparent; /* was transparent; - behind boxes - when changing background from blue to pink this value made no difference to the blue section behind the footer except on the contact page*/
}

/* area for different parts */
#boxes{
	width: 780px; /* was 930px) */
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #FFFFFF;
	/* height: 100%; */
}

#header{
	padding-top: 18px;
	width: 780px; /* was 900px */
	height: 86px;
}

/* logo div, change width , if you want to change wider logo picture to your template */

#logo{
	width: 405px;
	margin-left: auto;
	margin-right: auto;
	text-align:left;
	height: 47px;
background-color: #FFFFFF;
}

/* CURRENTLY NOT USED - small navigation at the top right corner of the template */

#othernavi{
	/* width: 600px; */ 
	float: left;
	text-align:left;
	margin-top: 55px;
	/* padding-left: 20px; */ 
	height: 13px;
	line-height: 13px;

	font-family: Arial;
	font-size: 30px;
	 
}

/* main navigation top of the page (which used to have with blue background) */

#mainnavi{
	/*background-image: url('../images/navibg1.gif'); /* the big black bar under the logo */ 
	background-position: top left;
	background-repeat: no-repeat;
	
	/* width: 100px;  was 900px  removing this made the main navi links on IE on vista fall into place like the other browsers*/ 
	height: 27px;
	text-align: center;
	line-height: 27px;
}

#navi{
	float: left;
	margin-left: 0px;
	/* margin-right: auto;	*/
	width: 870px; /* used to be 716px */
	text-align: left;
	background-color: transparent;  /* made this transparent as was showing a colour behind the main navigation links in IE only */
	
}

/* pathaway part, breadcrumbs - just below the horizontal black bar showing you where you are on the website */

#crumbs{
	height: 27px;
	line-height:27px;
	text-align:left;
	background-color: #ffffff;
	
	font-family: Arial;
	font-size: 11px;
	color: #7f7f7f;
	padding-left: 22px;
}

/* div dearch box module */
#search{
	float: right;
	width: 184px;
	text-align: left;
	line-height: 27px;
	height: 23px;
	margin-top: 4px;
}

/* footer div */ 
#footer{
	height: 40px;
	border-top: 1px solid #dfe3e6;
	clear:both;
	background-color: #f0f8ff;
}

/* left footer */

#footerleft{
	height: 43px;
	width: 600px; /* 633px */ 
	text-align: left;
	float: left;
	padding-top: 11px;
	padding-left: 17px;
	
	color: #626262;
	font-size: 11px;
}

/* right footer */

#footerright{
	height: 43px;
	width: 760px; /* 238px */ 
	text-align: right;
	float: right;
	padding-top: 11px;
	padding-right: 12px;
	
	color: #626262;
	font-size: 11px;
}

/* left column of the template */

#left{
	float: left;
	width: 780px; /* was 200px */
	text-align:center;
	margin-bottom: 30px;
	background-color: #f0f8ff;
	padding-top: 13px;
}

/* place for mainbody and components, different layouts have different widths. Change them. */

#story{
	float: left;
	width: 780px; /* was 480 px */ 
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 30px;
	background-color: #f2f2f2;
}

#story1{
	float: right;
	width: 780px; /* widyh of static content other than front page */ 
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 30px;
	background-color: #ff0000;
}

#story2{
	float: left;
	width: 780px;
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 30px;
	background-color: #00ff00;
}

#story3{
	float: left;
	width: 760px;
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 30px;
	font-size: 15px;
	/* background-color: #ff00ff; with no left menu this is were the static content is*/
}

/* right column of the template */

#right{
	float: right;
	width: 100px;
	text-align: center;
	margin-bottom: 30px;
	background-color: transparent;
	padding-top: 13px;
}

/* layout for frontpage text and image */

#frontpage{
	float: left;
	text-align: left;
	width: 770px; /* this is the width of the static content area on the front page linked to some of the below */ 
	padding-left: 10px;
	background-color: #ffffff;   
	
}

#user1{
	float: left;
	/* width:200px;  was 683px */ 
	text-align: left;
	background-color: #ffffff; 
}

#mainbody{
	float: left;
	width:760px; /* was 683px */ 
	text-align: left;
	padding-top: 0px;
	background-color: #ffffff;
}

#frontleft{
	padding-top: 10px;
	float: left;
	width: 0px; /* was 340px */ 
	text-align:left;
	background-color: #ffffff; 
}

#frontright{
	padding-top: 10px;
	float: right;
	width: 200px; /* was 340px */ 
	text-align: left;
	background-color: #ff00ff;
}

#frontpage div{
	text-align: left;
}

/* Joomla styles */

/* top navigation */
ul#mainlevel-nav{
	list-style: none;
	padding: 0px;
	padding-left: 0px; /* of the menu as a whole */
	margin: 0;
	float: left; /* moves the top menu */ /*didn't seem to make a difference*/
	background: none
}

ul#mainlevel-nav li{
	padding-left: 0px; /* of each item in menu */
	padding-right: 0px;
	float: left; /*didn't seem to make a difference*/
	margin: 0;
	font-size: 15px; /* text size on top menu */ 
	line-height: 27px;
	white-space: nowrap;
	/*border-right: 1px solid #646464; this is the little dividing lines between menu items*/
	background: transparent;
}

ul#mainlevel-nav li a{
	/* display: block; */
	padding-left: 10px; /* padding on top menu */ 
	padding-right: 15px;
        /* align: center;	 added this but didn't seem to make a difference*/
        text-decoration: none;
	color: #646464;
	background: transparent;
}

ul#mainlevel-nav li a:hover{
	color: #646464;
	text-decoration: underline;
}

/* for mainmenu flat list on the blue bg */
ul#mainlevel-menu{
	list-style: none;
	padding: 0;
	margin: 0;
	float: left; /*didn't seem to make a difference*/
	background: transparent;
}

ul#mainlevel-menu li{
	padding-left: 0px;
	padding-right: 0px;
	float: left; /*didn't seem to make a difference*/
	margin: 0;
	font-size: 30px; /* was 13px - chaning made no change*/ 
	line-height: 27px;
	white-space: nowrap;
	
	/* use this, if you don't want to use images */
	/* border-right: 1px solid #4077b2; */
	background: none;
	/* background-image: url('../images/line.gif'); */
	background-position: top right;
	background-repeat: no-repeat;
	
	font-weight: bold;
}

ul#mainlevel-menu li a{
	display: block;
	padding-left: 14px;
	padding-right: 14px;
	text-decoration: none;
	color: #ccccff;
	background: transparent;
}

ul#mainlevel-menu li a:hover{
	color: #ffffff;  /* hover attributes on top menu */ 
	text-decoration: underline;
}

/* active page navigation style*/
ul#mainlevel-menu li #active_menu-menu{
	background-image: url('../images/activebg.gif');
	background-position: top left;
	background-repeat:repeat-x;
	
	color: #444444;
}

/* for includes/footer.php styles */
#footerleft div{
	padding-right: 5px;
	text-align:left;
}

/* for search box on the top right of the page */
#mod_search_searchword{
	overflow: hidden;
	width: 176px;
	border: none;
	background: transparent;
	margin-bottom: 2px;
	color: #d5d5d5;
	font-size: 10px;
}

/* basic links on the site */

a:link, a:visited {
	color: #e2292c; /*  red - colour of hyperlinks */ 
	text-decoration: underline;
	font-weight: normal;
}

a:hover {
	color: red;	/* red; - colour of hyperlinks on hover */ 
	text-decoration: underline;
	font-weight: normal;
}

a.footer:link, a.footer:visited {
	color: #626262; text-decoration: none;
	font-weight: normal;
}

a.footer:hover {
	color: #626262;	text-decoration: underline;
}

a.pathway:link, a.pathway:visited{
	color: #7f7f7f;
}

a.pathway:hover{
	color: #7f7f7f;
	text-decoration: underline;
}

a.toclink:link, a.toclink:visited{
	font-size: 11px;
}

a.toclink:hover{
	font-size: 11px;
	text-decoration: underline;
}

table.contentpaneopen {
  	width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
	font-size: 15px; /* change size of text that is in a table here */  
	line-height: 1.5em;
}

table.contentpaneopen td {
	padding-right: 5px;
	line-height: 1.5em;
}

table.contentpaneopen td.componentheading {
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

table.contentpaneopen div{
	
}

ul{
	margin: 0;
	padding: 0px 0px 10px 0px;
	list-style: none;
}

li{
	list-style-type: none;
	margin: 0;
	padding: 0px 0px 0px 10px;
	background-image: url('../images/bullet.gif');
	background-position: top left;
	background-repeat: no-repeat;
}

ol{
	margin: 0;
	padding: 0;
	list-style-type: decimal;
}

ol li{
	background: none;
}

table.contentpane{
  	width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
	font-size: 15px; /* contact form font size*/ 
}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

table.contentpane table{
	
}

table.contentpane td.componentheading {
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

table.contentpaneopen fieldset {
	border: 0px;
	border-bottom: 1px solid #eee;
}

.button {
  color: #e2292c;
  font-family: Arial;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #646464;
  width: auto;
  padding: 0px 5px;
  line-height: 18px !important;
  line-height: 16px;
  height: 26px !important;
  height: 24px; 
  margin: 1px;
}

.inputbox {
	padding: 2px;
	border:solid 1px #cccccc;
	background-color: #ffffff;
}

.componentheading{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

div.componentheading{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

.contentcolumn{
	padding-right: 5px;
}

.contentheading{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

.contentpagetitle {
	font-size: 13px;
	font-weight: bold;
	color: #cccccc;
	text-align:left;
}

table.searchinto {
	width: 100%;
}

table.searchintro td {
	font-weight: normal;
	font-size: 11px;
}

table.moduletable {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletable{
	margin:auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	
	padding: 0;
	margin-bottom: 27px;
	width: 170px;
	
	color: #646464;
	text-align:left;
	
	font-size: 11px;
}

div.moduletable table{
	font-family: Arial;
	font-size: 11px;
	color: #646464;
}

table.moduletable th, div.moduletable h3 {
	background-image: url('../images/moduletablebg_h3.gif');
	background-position:top left;
	background-repeat: no-repeat;
	
	
	height: 28px;
	line-height: 28px;
	
	color: #4a4a4a;
	text-align: left;
	padding-left: 28px;
	padding-bottom: 10px;
	
	font-weight: bold;
	font-size: 12px;
	margin: 0;
}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

table.pollstableborder td {
  padding: 2px;
}

.blogsection a{
	font-size: 11px;
}

.latestnews a{
	font-size: 11px;
}

div.back_button{
	font-size: 11px;
}

.pagenav_prev{
	font-size: 11px;
}

.pagenav_next{
	font-size: 11px;
}

span.pathway{
	height: 27px;
	line-height: 27px;
	color: #7f7f7f;
}

span.pathway a{
	height: 27px;
	line-height: 27px;
	color: #7f7f7f;
}

div.syndicate{
	text-align: left;
	padding-top: 10px;
}

div.blog_more{
	font-size: 11px;
}

table.blog table td{
	padding-right: 10px;
}

.sectiontableheader {
  font-weight: bold;
  /*  background: #f0f0f0; commented out trying to remove grey background from logo in IE */
  padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
	background-color : #ffffff;
}

.sectiontableentry2 {
	/* background-color : #f2f2f2; commented out trying to remove grey background from logo in IE */
}

.small {
	color: #c6c6c6;
	font-size: 10px;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #c6c6c6;
	font-size: 10px;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #c6c6c6;
	font-size: 10px;
}

table.contenttoc {
  border: 1px solid #c6c6c6;
  padding: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
}

table.contenttoc td {
  padding: 2px;
}

table.contenttoc th {
    color: #666666;
	text-align: left;
	padding-top: 2px;
	padding-left: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 10px;
	text-transform: uppercase;
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #646464;
	text-align: left;
	padding-top: 5px;
	
	height: 20px !important;
	height: 25px;
	width: 100%;
	text-decoration: none;
}

a.mainlevel:hover {
	text-decoration: underline;
	color: #646464;
}

a.mainlevel#active_menu {
	text-decoration: underline;
	color:#646464;
}

a.mainlevel#active_menu:hover {
	text-decoration: underline;
	color: #646464;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 2px;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #e2292c;
	text-align: left;
}

a.sublevel:hover {
	color: #900;
	text-decoration: none;
}

a.sublevel#active_menu {
	color: #333;
}

.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0;
}

.code {
	/* background-color: #ddd; commented out trying to remove grey background from logo in IE */
	border: 1px solid #999999;
}

form {
/* removes space below form elements */
	margin: 0;
 	padding: 0;
}

div.mosimage {
  border: 1px solid #999999;
}

.mosimage {
  border: 1px solid #999999;
  margin: 5px
}

.mosimage_caption {
  margin-top: 2px;
  background: transparent;
  padding: 1px 2px;
  color: #666;
  font-size: 10px;
  border-top: 1px solid #999999;
}

span.article_seperator {
	/* display: block; */ 
	/* height: 1.5em; */ 
}

h1{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

h2{
	color: #e2292c;
	font-family: Arial;
	font-size: 17px;
	font-weight: normal;
}

h3{
	color: #e2292c;
	font-family: Arial;
	font-size: 15px;
	font-weight: normal;
}
