/* 
CSS file for ergro.co.uk
Author: Mark Stewart
*/


/*
	-	layout -
*/

body{
	
}

#page {

	width:800px;
	margin-left:auto;
	margin-right:auto;
	margin-top: 0 !important;
	background:url(../images/image001back.jpg) #ffffff top left repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size:80%;
	overflow:hidden;
}

#main {
	background:url(../images/image001.jpg) top left no-repeat  ;
	height:200px;
}

#top {
	width:inherit;
}

#startcontent {
	padding-top:156px;
}
#top-menu{
	width:100%;
	text-align:right;
	height:31px;
	border:1px solid #fed595;
}

#center {
	width:inherit;
	margin-top:-180px;
	font-size:inherit;
}

#bottom {
	width:inherit;
	margin-top:-1px;
}

#top-left {
	width:20px;
	height:20px;
	background:url(../images/topleft.gif) no-repeat;
	float:left;
	margin-right: 0 !important;
	margin-right: -4px;	
}

#top-center {
	width:auto;
	height:20px;
	background: url(../images/top.gif) repeat-x top left ;
	overflow:visible;
}

#top-right {
	width:20px;
	height:20px;
	background: url(../images/topright.gif) no-repeat;
	float:right;
	margin-left: 0 !important;
	margin-left: -4px;		
}

#bottom .bottom-left {
	width:20px;
	height:20px;
	background: url(../images/bottomleft.gif) no-repeat;
	float:left;
	margin-right: 0 !important;
	margin-right: -4px;		
}

#bottom {
	background:#ffffff;
}

#bottom .bottom {
	width:auto;
	height:20px;
	background: url(../images/bottom.gif) repeat-x;
	margin-right:15px;
	margin-left:15px;
}

#bottom .bottom-right {
	width:20px;
	height:20px;
	background:  url(../images/bottomright.gif) no-repeat;
	float:right;
	margin-left: 0 !important;
	margin-left: -4px;		
}

#left {
	height:inherit;
	width:20px;
	background:url(../images/left.gif) top left repeat-y;
	float:left;
	/*padding-bottom:0 !important;
	margin-bottom: 0	!important;*/
	padding-bottom: 20000px;
	margin-bottom: -20000px;
}

#right {
	height:inherit;
	width:20px;
	background:url(../images/right.gif) top left repeat-y;
	float:right;
	/*padding-bottom:0 !important;
	margin-bottom: 0	!important;*/
	padding-bottom: 20000px;
	margin-bottom: -20000px;
	font-size:inherit;
}

#content {
	padding-top:20px;
	padding-bottom:10px;
	margin-bottom: 10px;
	/*padding-bottom: 2000px;
	margin-bottom: -2000px;	*/
	width:auto;
	overflow:hidden;
	clear:right;
}

#topmenulinks {
	float: left;
	margin: 0px;
	padding: 0px;
	width: 40%;
}

#searchtool{
	width:180px;
	margin-right:20px;
	margin-left:5px;
}

#content .topbar{
	
	margin-right:5px;
	margin-top:0px;
	margin-bottom:10px;
	width:inherit;
	font-size:80%;
}

#center-front {
	background:transparent;
	/*margin:10px;*/
	padding-left:10px;
	padding-right:10px;
	padding-top:10px;	
}



#banner {
	margin-top:10px;
	margin-bottom:10px;
	margin-right:225px;
}

#banner .content {
	width:468px;
	margin-left:auto;
	margin-right:auto;	
}

#mainbody {
	width:auto;
	margin-right:225px;
	padding-top:10px;
	margin-left: 5px;
}

#rightmenu {
	width:200px;
	float:right;
	margin-top: 1px;
	margin-right:5px;
	background:transparent;
	padding-left:10px;	
	margin-left:20px;
}

#contentblock {
	text-decoration:none;
	/*I don't think this is necessary: border-right:1px groove #FFDAA3 ;*/
	padding-right:10px;
	width:auto;
	height:auto;
}

#accessibility {
	height:21px;
	float:right;	
	width:auto;
	margin-right:10px;
	margin-top:5px;
	clear:both;
}

#accessibility .image {
	float:left;
	height:17px;
	width:21px;	
	margin-top:1px;
	margin-right:1px;	
}

#footer {
 	height:25px;
 	text-align: right;
 	overflow:hidden;
	width:inherit;	
	/* TR: you need to 'clear' the floating sidebar */
	clear:both;
	vertical-align: middle;
}

#footer .content {	
	font-size:80%;
	text-align:right;
	/*text-indent: 40px;*/
	padding-top:5px;
	padding-right:55px;
	height:25px;
	color:white;
	text-decoration:none;
 	background: #ff9900 url(../images/footer.gif) top right no-repeat;
}

#searchtool .inputbox {
	background: none;
	width:195px;
	font:inherit;
	color:#FF6501;
	font-size:80%;
}

.componentheading{
	text-decoration:none;
	font-weight:bold;
	font-size: 18px;
	padding-bottom:10px;
	color:#003499;
	background:none;
	background-color: inherit;	
}


table.contentpaneopen {
  	width: inherit;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;

}

table.contentpaneopen td {
   padding-right: 5px;
}

table.contentpaneopen td.componentheading {
	padding-left: 4px;
}



table.contentpane {
  width: 90%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	padding: 0px;

}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

table.contentpane td.componentheading {
	padding-left: 4px;
}

table.contentpaneopen fieldset {
	border: 0px;
	border-bottom: 1px solid #eee;
}


/* 
	- module table styles -
*/
table.moduletable {
	margin-bottom: 15px;
	border-spacing: 0px;
	border-collapse: collapse;
	border:1px solid #ffefd8;
	padding:5px;
	margin-left:5px;
	width:200px;
}

table.moduletable th {
	color:#003499;
	text-align: left;
	padding-top: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 18px;
	text-transform: capitalize;
	background:none;
	background-color: inherit;		
}

table.moduletable td a{
	text-decoration:none;
	color:#003499;
	font-weight:600;
	font-size: 100%;
	background:none;
	background-color: inherit;	
}

table.moduletable td a:hover {
	color:#ff9900;
	text-decoration:none;
	background:none;
	background-color: inherit;		
}

table.moduletable td .mainlevel-imagemenu {
	margin-left:75px;
	margin-top:-65px;
	margin-bottom:25px;
	float:left;
	/*border-bottom:1px dotted #003499;*/
	padding-bottom:10px;
	text-align:left;
	height:auto;
	overflow:visible;
}

table.moduletable td .mainlevel-njsmenu {
	margin-left:75px;
	margin-top:-65px;
	margin-bottom:25px;
	float:left;
	padding-bottom:10px;
	text-align:left;
	height:auto;
	overflow:visible;
}

table.moduletable td .mainlevel {
	float:right;
	/*border-bottom:1px dotted #003499;*/
	
	text-align:left;
	height:25px;
	overflow:visible;
}

table.moduletable td a img {
	float:left;
	margin: 0 10px 10px 0;
	background:none;
	background-color: inherit;	
	color:inherit;	
}

table.moduletable input {
	background:#eee;
	color:inherit;
}

table.contentpane {
	float:left;
	width:inherit;
	background:none;
	background-color: inherit;	
	color:inherit;
}

table.contentpaneopen a{
	text-decoration:none;
	color:#003499;
	font-weight:200;
	background:none;
	background-color: inherit;	
}

table.contentpaneopen a:hover{
	text-decoration:none;
	color:#ff9900;
	background:none;
	background-color: inherit;	
}

table.contentpane a{
	text-decoration:none;
	color:#003499;
	font-weight:600;
	background:none;
	background-color: inherit;	
}

table.contentpane a:visited{
	text-decoration:none;
	color:#003499;
	background:none;
	background-color: inherit;	
}

table.contentpane a:hover{
	text-decoration:none;
	color:#ff9900;
	background:none;
	background-color: inherit;	
}

.sectiontableheader{
	color:#003499;
	border-bottom:1px solid #003499;
	text-align:left;	
	font-weight:bold;
	height:25px;
	margin-bottom:5px;
}

.sectiontableentry2 {
	background:#ffffff;
	padding:3px;
	text-align:left;
}

.sectiontableentry1 {
	background:#ffffff;
	padding:3px;
	text-align:left;
}


.contentheading {
	text-decoration:none;
	font-weight:bold;
	font-size:18px;
	padding-bottom:10px;
	width:inherit;
	margin-right:220px;
	color:#003499;
	background:none;
	background-color: inherit;
}

h2	{
	text-decoration:none;
	font-weight:bold;
	font-size:20px;
	padding-bottom:10px;
	width:inherit;
	margin-right:220px;
	color:#003499;
	background:none;
	background-color: inherit;
}

h3	{
	text-decoration:none;
	font-weight:bold;
	font-size:18px;
	padding-bottom:10px;
	width:inherit;
	color:#003499;
	background:none;
	background-color: inherit;
}
.pagenav {
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px;
  margin: 1px;
}

.pagenavbar {
	margin-right: 10px;
	float: right;
}

a:link, a:visited {
	color: #003499; text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #003499;	text-decoration: none;
	font-weight: bold;
}


.pagenav_next{
	float: left;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #cccccc;
	width: auto;
	background: #f0f0f0;
	padding: 0px 10px;
	line-height: 20px;
	margin: 1px;
    text-decoration:none;
        
}

.pagenav_next a:link, .pagenav_next a:visited {
	color: #303030; text-decoration: none;
	font-weight: bold;
}

.pagenav_next a:hover {
	color: #ff9900;	text-decoration: none;
	font-weight: bold;
}

.pagenavbar a:link, .pagenavbar a:visited{
	color: #303030;	text-decoration: none;
	font-weight: bold;
	font-size:85%;	

}

.pagenavbar a:hover {
	color: #003499;	text-decoration: none;
	font-weight: bold;
}

.pagenav_prev{
	float: left;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #cccccc;
	width: auto;
	background: #f0f0f0;
	padding: 0px 10px;
	line-height: 20px;
	margin: 1px;
        text-decoration:none;
}

.pagenav_prev a:link, .pagenav_prev a:visited {
	color: #303030; text-decoration: none;
	font-weight: bold;
}

.pagenav_prev a:hover {
	color: #ff9900;	text-decoration: none;
	font-weight: bold;
}

.modifydate{
	font-size:80%;
	font-style:italic;
}

.createdate, .small {
	font-size:80%;
	font-style:italic;
	padding-bottom:5px;
}


.back_button{
	float: left;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #cccccc;
	width: auto;
	background: #f0f0f0;
	padding: 0px 10px;
	line-height: 20px;
	margin: 1px;
        text-decoration:none;
}

.button{
	
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 1px solid #cccccc;
	width: auto;
	background: #f0f0f0;
	padding: 0px 10px;
	line-height: 20px;
	margin: 1px;
        text-decoration:none;
}

.back_button a:link, .back_button a:visited {
	color: #303030; text-decoration: none;
	font-weight: bold;
}

.back_button a:hover {
	color: #ff9900;	text-decoration: none;
	font-weight: bold;
}

.contenttoc {
	border:1px solid #ccc;
	padding:5px;
}

.toclink {
	font-size:80%;
	font-weight:bold;
}

.pagenavcounter {
	padding-top:5px;
	font-size:90%;
	font-weight:bold;
}

#topmenupath {
	
}

.pathway {
	text-decoration:none;
	font-weight:normal;
	font-size:120%;
	margin-left: 5px;
}

#w3c{
	margin-top:5px;
	text-decoration:none;
	width:800px;
	margin-left:auto;
	margin-right:auto;		
}



#buttons {
	float: left;
	margin: 0px;
	padding: 0px;
	width: auto;
}


ul#mainlevel-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 1em;
}

ul#mainlevel-nav li
{
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	line-height: 31px;
	white-space: nowrap;
	border-right: 1px solid #aed595;
}

ul#mainlevel-nav li a
{
	display: block;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	color: #555555;
	background: transparent;
}

#buttons>ul#mainlevel-nav li a { width: auto; }

	ul#mainlevel-nav li a:hover
{
	color: #fff;
	background: #ff9900;
}
