@charset "utf-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #ffffff; /* white */
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000; /* black */
}

/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/

/* DESIGN NOTES

The page layout is as follows

  DIV Class = container (46em)
       DIV ID = headbar1 (23em) (Floats left)
	   DIV ID = headbar2 (23em) (Floats right) 
	   (NOTE:  If something is needed between thes, reduce the the size of the headbars and create #headcontent)
       br Class = clearfloat
	   
       DIV ID = address
  
       DIV ID = navigation
	   
	   DIV ID = sidebar1 (11em) (Floats left)
	   DIV ID = sidebar2  (11em) (Floats right) ****NOT USED **** 
	   DIV ID = maincontent	*** Adjust right margin if Sidebar2 used *****
	   br Class = clearfloat
	   
	   DIV ID = footer 
  Close Container DIV
  
  There is a lot of formatting on all hyperlink buttons.  All highbuttons are exactly the same as their corresponding buttons except that the colour scheme for the highbutton is the same as the colour scheme for the hover in button
    
*/

.container { 
	width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes.   Use DIV class="container" for each element of the page.*/
	background: #ffffff; /* white */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 


/* The header container for Shefford Osteo contains two elements - the logo on the left side of the page and the 4 teatments offered, with links, on the righthand side of the page.  These are dealt with using the headbar1 and headbar2*/

 #headbar1 {
	float: left;
	width: 23em; /* since this element is floated, a width must be given.  As we want the header to consist of a right & left block, each header bar is given a size of half the overall container size */
	background: #ffffff; /* white */ /* the background color will be displayed for the length of the content in the column, but no further */
	padding-top: 1em; /* top and bottom padding create visual space within this div */
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

#headbar2 {
	float: right; 
	width: 23em; /* since this element is floated, a width must be given */
	background: #ffffff; /* white */ /* the background color will be displayed for the length of the content in the column, but no further */
	padding-top: .5em; /* top padding to create visual space at top of this div */
	padding-right: 0;
	padding-bottom:0;
	padding-left: 0;
}
 #headbar1 h3,  #headbar1 p {
	margin-left: .6em; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: .6em;
}
#headbar2 p,  #headbar2 h4 {
	margin-left: .6em; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: .6em;
	text-align: right;
	color: #999999; /* grey */
	line-height:.75em;
}

#headbar2 a, #headbar2 a:link, #headbar2 a:visited {
     text-decoration:none;
	 color: #999999; /* grey */
	 }
#headbar2 a:hover {
     color: #ffffff;/* white */
	 background:#005aaa; /*shefford blue */
	 }
	  
#address {
	width: 98.5%; /* This sorts right alignment with other DIVS */
	padding-top: 0; 
	padding-right: 0;
	padding-bottom: 0.25em;
	padding-left: 0;
	}

 #address h5 {
	margin: 0; /* zeroing the margin of the last element in the #address div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	text-align: center;
/* if you don't want centred text use padding instead of margin will allow you to keep the element away from the edges of the div */
	color: #005bab; /*mans body*/
	font-size: x-small;
	background: #dddddd; /* pale grey */
	border-top: .4em solid #dddddd; /* pale grey */
	border-bottom: .4em solid #dddddd; /* pale grey *//* top & bottom borders give spacing within the line*/
	}
	
#address a, #address a:link, #address a:visited {
     text-decoration:none;
	 color: #005bab; /*mans body*/
	 }
#address a:hover {
     color:#ffffff; /*	white */
	 background:#005aaa; /*shefford blue */
	 }
	 

 #navigation {
 	padding-top: 0; 
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0; 
    } 

 #navigation a, #navigation a:link, #navigation a:visited {
    display:block;
	width:11em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:2em; /* this sets up the size of the menu buttons */
	background: #d7e7ef; /* mans shadow */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #dddddd; /* pale grey */
	border-bottom:.25em solid #dddddd; /* pale grey */
	border-right: .25em solid #dddddd; /* pale grey */
	/* this border treatment makes it look like a button */
	margin-top:.1em; /* Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .6em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	margin-right: 0.25em;/*this turns the vertical set of buttons to a horizontal set */
	}
			
 #navigation a:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					   } 
#navigation a:active {color:#ffffff; /*	white */	}			   

/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the " #sidebar1 p" rule.
*/
 #sidebar1 {
	float: left; 
	width: 7.5em; /* since this element is floated, a width must be given.  Make sure leftt margin on #maincontent is at least this wide. */
	background: #ffffff; /*#d7e7ef;  mans shadow */ /* the background color will be displayed for the length of the content in the column, but no further */
	margin-top: .1em; /* this creates gap between sidebar1 and navigation */
	border-bottom: .25em solid #ffffff; /* To give space before footer DIV */
	}

#sidebar1 img {border: 0;}	
	
#sidebar1 a.button, #sidebar1 a.button:link, #sidebar1 a.button:visited {
    display:block;
	width:11em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:2.5em; /* this sets up the size of the menu buttons */
	background: #d7e7ef; /* mans shadow */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #dddddd; /* pale grey */
	border-bottom:.25em solid #dddddd; /* pale grey */
	border-right: .25em solid #dddddd; /* pale grey */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .6em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	}
			
 #sidebar1 a.button:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					   }
					   
#sidebar1 a.buttonleft, #sidebar1 a.buttonleft:link, #sidebar1 a.buttonleft:visited {
    display:block;
	width:11em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:1.5em; /* this sets up the size of the menu buttons */
	background: #d7e7ef; /* mans shadow */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #dddddd; /* pale grey */
	border-bottom:.25em solid #dddddd; /* pale grey */
	border-right: .25em solid #dddddd; /* pale grey */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .6em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	}
			
 #sidebar1 a.buttonleft:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					   } 					   

#sidebar1 a.buttonright, #sidebar1 a.buttonright:link, #sidebar1 a.buttonright:visited {
    display:block;
	width:9em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:1.25em; /* this sets up the size of the menu buttons */
	background: #dddddd; /* pale grey */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #6da9ca; /* darker mans shadow */
	border-bottom:.25em solid #6da9ca; /* darker mans shadow */
	border-right: .25em solid #6da9ca; /* darker mans shadow */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .4em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#005aaa; /* shefford blue */
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:right;
	}
			
 #sidebar1 a.buttonright:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					  }			
					  
 #sidebar1 a.mbuttonright, #sidebar1 a.mbuttonright:link, #sidebar1 a.mbuttonright:visited {
    display:block;
	width:9em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:2.25em; /* this sets up the size of the menu buttons */
	background: #dddddd; /* pale grey */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #6da9ca; /* darker mans shadow */
	border-bottom:.25em solid #6da9ca; /* darker mans shadow */
	border-right: .25em solid #6da9ca; /* darker mans shadow */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .4em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#005aaa; /* shefford blue */
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:right;
	}
			
 #sidebar1 a.mbuttonright:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					  }			
#sidebar1 a.imgbutton, #sidebar1 a.imgbutton:link, #sidebar1 a.imgbutton:visited {
    display:block;
	width:11em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:15em; /* this sets up the size of the menu buttons */
	background: #d7e7ef; /* mans shadow */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #dddddd; /* pale grey */
	border-bottom:.25em solid #dddddd; /* pale grey */
	border-right: .25em solid #dddddd; /* pale grey */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .6em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	}
			
 #sidebar1 a.imgbutton:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					   } 						   	
#sidebar1 h3 {
	margin-left: .5em; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: .5em;
	color: #005bab; /*mans body*/
}	
#sidebar1 p.spacer5 {margin-top: 5em;}
#sidebar1 p.spacer12 {margin-top: 12em;}
				 		
 					   
#sidebar1 a.lbuttonleft, #sidebar1 a.lbuttonleft:link, #sidebar1 a.lbuttonleft:visited {
    display:block;
	width:11em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:4em; /* this sets up the size of the menu buttons */
	background: #d7e7ef; /* mans shadow */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #dddddd; /* pale grey */
	border-bottom:.25em solid #dddddd; /* pale grey */
	border-right: .25em solid #dddddd; /* pale grey */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .6em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	}
			
 #sidebar1 a.lbuttonleft:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					   } 		
#sidebar1 a.mbuttonleft, #sidebar1 a.mbuttonleft:link, #sidebar1 a.mbuttonleft:visited {
    display:block;
	width:11em; /* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:3em; /* this sets up the size of the menu buttons */
	background: #d7e7ef; /* mans shadow */
	border-top:.25em solid #ffffff; 
	border-left:.25em solid #dddddd; /* pale grey */
	border-bottom:.25em solid #dddddd; /* pale grey */
	border-right: .25em solid #dddddd; /* pale grey */
	/* this border treatment makes it look like a button */
	margin-top:.1em;  /*Use margin-top not margin-bottom as this can cause problems further down the line in Opera.  This spaces the buttons from the previous DIV */
	padding-top: .6em;  /* this spaces the button text vertically within the button */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	}
			
 #sidebar1 a.mbuttonleft:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:.25em solid #dddddd; /* pale grey */
	                  border-left:.25em solid #000000; /* black */
	                  border-bottom:.25em solid #000000; /* black */
					  border-right:.25em solid #000000; /* black */
					   } 		
					 					 	
#sidebar2 {
	float: right; 
	width: 7.5em; /* since this element is floated, a width must be given.  Make sure leftt margin on #maincontent is at least this wide. */
	background: #d7e7ef; /* mans shadow */ /* the background color will be displayed for the length of the content in the column, but no further */
	margin-top: .25em; /* this creates gap between sidebar1 and navigation */
	border-right: .7em solid #ffffff; /* This sorts right visual alignment out - use border rather than margin */
	border-bottom: .25em solid #ffffff; /* To give space before footer DIV */
	}
	
#sidebar2 h3 {
	margin-left: .5em; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: .5em;
	color: #005bab; /*mans body*/
}

#sidebar2 p {
	margin-left: .5em; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: .5em;
	margin-bottom: .5em;
	color: #005bab; /*mans body*/
	font-size:small;
}

#sidebar2 p.spacer {margin-top: 43.75em;}	

	

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
 #mainContent {
/* Do not set width for this - it is within a DIV of 46em, so it's width is determined by the sidebars, ie 46em less the sidebars */ 	
 	margin-top: 0;
	margin-left: 8.5em;
	margin-bottom: 0;
	margin-right: .25em;  /*the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
/*  margin-right: 8.5em; use this right margin if using sidebar2 */
} 
 
#mainContent h1{
     font-size: 1.5em;
	 color:#005aaa; /*shefford blue */
	 }
#mainContent h2{
     font-size: 1em;
	 } 
#mainContent h3{
     font-size: .85em;
	 }	 
#mainContent p{
 	font-size: .85em;
	}	
#mainContent a, #maincontent a:link, #maincontent a:visited{
     text-decoration:none;
	 color: #005aaa; /*shefford blue */
	 background: #ffffff;/* white */
	 }
#mainContent a:hover {
     color: #ffffff;/* white */
	 background:#005aaa; /*shefford blue */
	 }
#mainContent p.return{
     font-size: small;
	 text-align:right;
	 margin-right: .75em;
	 }
	 
#mainContent tr{border:#000000; /* black */
                border-style:dashed;}
	 
#mainContent th.level1{
     color: #ffffff;/* white */
	 background:#005aaa; /*shefford blue */
	 font-size: 1em;
	 }
	 
#mainContent a.level1, #mainContent a.level1:link, #mainContent a.level1:visited{
     color: #ffffff;/* white */
	 background:#005aaa; /*shefford blue */
	 font-size: 1em;
	 }	
	 
#mainContent a.level1:hover{
     color: #005aaa; /*shefford blue */
	 background:#d7e7ef; /* mans shadow */
	 font-size: 1em;
	 }
#mainContent td.level1{
     color: #ffffff;/* white */
	 background:#005aaa; /*shefford blue */
	 font-size: 1em;
	 text-align: center;  
	 }	

#mainContent th.level2{
     color: #ffffff;/* white */
	 background:#6da9ca; /* darker mans shadow */
	 font-size:.9em;
	 }

#mainContent td.level2{
     color: #ffffff;/* white */
	 background:#6da9ca; /* darker mans shadow */
	 font-size:.9em;
	 text-align: center; 
	 }

#mainContent a.level2, #mainContent a.level2:link, #mainContent a.level2:visited{
     color: #ffffff;/* white */
	 background:#6da9ca; /* darker mans shadow */
	 font-size:.9em;
	 }	
	 
#mainContent a.level2:hover{
     color: #005aaa; /*shefford blue */
	 background:#d7e7ef; /* mans shadow */
	 font-size: .9em;
	 }	
	 	 
#mainContent th.level3{
     color: #d7e7ef; /* mans shadow */
	 background:#999999; /* dark gray */
	 font-size:.8em;
	 }
	 
#mainContent td.level3{
     color: #000000;/* black */
	 background:#999999; /* dark gray */
	 font-size:.8em;
	 text-align: center; 
	 }
	 	 
#mainContent a.level3, #mainContent a.level3:link, #mainContent a.level3:visited{
     color: #d7e7ef; /* mans shadow */
	 background:#999999; /* dark gray */
	 }	
	 
#mainContent a.level3:hover{
     color: #005aaa; /*shefford blue */
	 background:#dddddd; /* gray */
	 }	
	 	 
#mainContent th.level4{
     color: #005aaa; /*shefford blue */
	 background:#d7e7ef; /* mans shadow */
	 font-size:.7em;
	 }

#mainContent td.level4{
     color: #000000; /*black */
	 background:#d7e7ef; /* mans shadow */
	 font-size:.7em;
	 text-align: center; 
	 }
	 
#mainContent a.level4, #mainContent a.level4:link, #mainContent a.level4:visited{
     color: #005aaa; /*shefford blue */
	 background:#d7e7ef; /* mans shadow */
	 }	
	 
#mainContent a.level4:hover{
     color: #ffffff;/* white */
	 background:#dddddd; /* gray */
	 }	
	 	 
#mainContent th.level5{
     color: #005aaa; /*shefford blue */
	 background:#dddddd; /* gray */
	 font-size:.6em;
	 }

#mainContent td.level5{
     color: #005aaa; /*shefford blue */
	 background:#dddddd; /* gray */
	 font-size:.6em;
	 text-align: center; 
	 }
	 	 
#mainContent a.level5, #mainContent a.level5:link, #mainContent a.level5:visited{
     color: #005aaa; /*shefford blue */
	 background:#dddddd; /* gray */
	 }	
	 
#mainContent a.level5:hover{
     color: #dddddd; /* gray */
	 background:#005aaa; /*shefford blue */
	 }		 		 		 
	 	 
#mainContent ul, #mainContent li {
	font-size: .85em;
	}		 

#picnavbar {
 	padding-top: 0; 
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
    } 

#picnavbar img{
	border: 0;
	}

#picnavbar a, #picnavbar a:link, #picnavbar a:visited {
    display:block;
	 width:12em;/* watch this - in IE if it is too wide, it can throw just text from the last button so that it appears in both the button and outside */
	height:17em; /* this sets up the size of the menu buttons */
	background: #ffffff; /* white */
	border-top: 0;
	border-left: 0;
	border-bottom: 0;
	border-right:  0;
	margin-left: 1em;
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	overflow:hidden; /* move text to the vertical centre. Add overflow:hidden for IE if the text is large enough to cause IE to increase the vertical height of the button.*/
	float:left;
	margin-right: 0.25em;/*this is all that is needed to turn a vertical set of button to a horizontal set */
	}
			
 #picnavbar a:hover {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  border-top:0;
	                  border-left:0;
	                  border-bottom:0;
					  border-right:0;      
					  } 
					  
 #footer {
         width:98.5%; /*this sorts right alignment with DIVS above */
         background:#dddddd; /* pale gray */
		 /* In IE the width & background give a band of colour acroos the width of the container */
		 padding-top: .15em;
		 padding-bottom: .15em;
		 /* This gives some coloured space around the content of the footer */
		 
		
        }
 
 #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	text-align: center;
/* if you don't want centred text use padding instead of margin will allow you to keep the element away from the edges of the div */
     
    }


#footer a, #footer a:link, #footer a:visited {
    color: #005bab; /*mans body*/
	background:#dddddd; /* pale gray */
	margin-left: 1em;
	margin-right: 5.25em ;
	
	
	/* margin-top:2px; Use margin-top not margin-bottom as this can cause problems further down the line in Opera */
	text-align:center;
	text-decoration:none;
	font-size: x-small;
	font-weight: bold;
	color:#000000;
	line-height:1.5em;
	}
			
 #footer a:hover, a:active {color:#ffffff; /*	white */
                      background:#005aaa; /* shefford blue */
					  padding-top: .25em;
		              padding-bottom: .25em;
					   } 
					   
 
/* Miscellaneous classes for reuse */

.info { /* this class is used to give text a colour and dotted underline, generally for use with span and information boxes*/
        border-color: #005bab; /*mans body*/
		border-bottom-style:dotted;
		}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}