/* PrimarySchool CSS v1.3 */
/* Basic CSS Framework */

/* 
(c) 2006 Robert Willie.
July 10th 2006.
All Rights Reserved
This CSS cannot be resold, redistributed or reused without express permission.
Contact: robert_willie@hotmail.com
Author: Robert Willie

BEST VIEWED IN NOTEPAD ++  		http://notepad-plus.sourceforge.net/

Table of Contents 		

1. 	Main page layout			
2.	Accesability				
3.	General Navigation			
4.	For the Main Navigation		
5.	Home page elements			
6.	Kids' Zone					
7.	Classpages 					

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/*(1)  Main Page layout */


				/* General notes on background images 
				
				This CSS relies on a lot of background images for decorative purposes. You will need to change the properties of 
				the respective element to accommodate your own images.
				For example, if your image is 200px wide, by 100px high, you will need to change the width and height of the element so that
				this image can be accomodated.
				*/
				
			html,body
			{
				margin: 0;
				padding: 0;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size: small;
				color: #000066;
				background-repeat: repeat-x;
				background-image: url(images/bg_body.jpg);
				background-color: #FFFF99;
			}


			#header{
				 height: 181px;
				 background-image: url(images/header.jpg);
				 background-repeat: no-repeat;
			 }

				/* #container and #container 2 are wrappers that contain col-one and col-two.
				#container contains the main graphics for the Y axis, while #container 2 allows you to position an additional graphic
				elsewhere on the page - for example a watermark, or image at the bottom of the page which extends under the footer.
				http://www.westfield-inf.leics.sch.uk/ uses this technique for the bear's head at the base of the navigation . 
				If so inclined add additional containers to position extra images at the top, and sides, and so on*/
				

			#container{
				margin: 0px auto;
				background-color: #FFFFFF;
                background-image: url(images/bg_container.jpg);
				background-repeat: repeat-y;
				width: 807px;
				position: relative;
				top: 0px;
			}

			#container2{
				margin: 0px auto;
				background-image: url(images/watermark.jpg); 
				background-repeat: no-repeat;
				background-position: top left;
				width: 807px;
				position: relative;
				top: 0px;
			}

				/* #col-one and #col-two are the main content areas. #col-one is used to provide a smaller box (for navigation), while #col-two is used to provide
				a bigger one. #col-one has absolute positioning, while #col-two is relative to the document. The only key thing to know about their
				usage is that the right margin on #col-two needs to be set with the width of #col-one in mind.
				For example:  #col-one is 100px wide, you will need to ensure that the left-margin on #col-two is greater than 100px */
			
			#col-one{
				position: absolute;
				top: 181px;
				left: 10px;
				width: 165px;
				margin: 0px;
				padding: 0px;
				height: 336px;
				z-index: 10;
		 	}

			#col-two {
				margin: 0 27px 10px 175px;
				min-height: 385px;
				padding: 0;
				position: relative;
			}
			
			* html #col-two{   /* IE ignores the * html so sees this as #col-two */
				 margin: 0px 27px 10px 175px;
				 padding: 0px 0px 0px 0px;
				 position: relative;
				 height: 385px;  /* IE thinks height means min-height */
			 }

			#footer {
				height: 102px;
				background-image: url(images/footer.jpg);
				background-repeat: no-repeat;
				clear: both;
			}


				/* Styles for Page Title Images
				This sits in #col-two . Change the padding to increase or decrease white space 
				between your title image and content */

			#titleimage {
				padding-bottom: 0px;
				text-align: center;
			}

			
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


/* (2) Accesability */

				/* These elements are used to help make the site
				accessible. These are used to provide additional textual information for screen readers 
				and non css browsers etc. Nb where images can't really be used to their full effect, or get messed 
				up, or are invisible we need to provide the visitor with this information as text. */
				
			
				/* .hiddentext is used to hide items. For accessibility purposes we may need to include items which spoil the design.
				For example, we can use it to hide text links from within visuals. Visitors can still click on these visuals to navigate 
				to the page in question, but will not see the text link. For those who have turned off visuals, or disabled CSS this
				text will become visable, so people will still be able to navigate the site */

			.hiddentext{
			display: none;
			}

				/* This is used to hide access key information from visitors. There is an access information page to inform visitors
				of the accesskeys which the site uses. However, for those with screen readers these keys will become visible. */
				
			.accesstext {
			display: none;
			}

				/* If you wish to display access key information as part of the link, please use this style. */
			
			.accesskeyline {
			text-decoration: underline;
			}

				/* Hides the title from within the header, so that those with a text reader
				can still know what the page is about */
				
			.hiddenheadtext {
			display: none;
			}

				/* Hidden skip button. This is used to style a link that will skip the navigation, going straight to the main content. 
				Visable on text readers etc, but not apparent when viewing normally */
				
			#skip a, #skip a:hover, #skip a:visited  { 
			 position: absolute; 
			 left: 0px; 
			 top: -500px; 
			 width: 1px; 
			 height: 1px; 
			 overflow: hidden;
			 } 
			  
			 #skip a: active { 
			 position: static; 
			 width: auto; 
			 height: auto; 
			 } 

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (3) General Navigation */

				/* Styles for hyperlinks */

			a {
				text-decoration:none;
				color: #009900;
			}
			
			a:hover {
				text-decoration:none;
				color: #FFC106;
			}

				/* Styles for links at the bottom of the page - not strictly needed if main navigation is text based */
			
			#bottomlinks a{
				text-decoration: none;
				color: #000066;
				padding-left: 5px;
			}
					
			#bottomlinks a:hover{
				text-decoration:none;
				color: #009966;
			}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (4) For the Main Navigation */

				/*This is used to style the main navigation 
				It utilises a list, and has a background image which is positioned to the left of the text.
				*/
				
			#nav {
				padding: 0 0 1em 1em;
				margin-bottom: 1em;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size:13px;
				font-weight:bold;
				}

			* html #nav {
				width: 133px;
				padding: 0 0 1em 1em;
				margin-bottom: 1em;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size:13px;
				font-weight:bold;
				}
		
			#nav ul {
				list-style: none;
				margin: 0;
				padding: 0;
				}
				
			#nav li {
				margin: 0;
				margin-top: 2px;
				}

			#nav li a {
				display: block;
				padding: 2px 0px 2px 7px;
				color: #FFFFFF;				
				font-weight: bold;
				text-decoration: none;
				width: 100%;
				}
				
				#nav li#oclubs a {
					padding: 0px 0 2px 6px;
				}
				

		
			html>body #nav li a {
				width: auto;
				}
				
			#nhome {
			    background: url(images/nav/nhome.gif) no-repeat;
				}

		#nwelcome {
			    background: url(images/nav/nwelcome.gif) no-repeat;
				}

#nkeyinfo {
			    background: url(images/nav/nkeyinfo.gif) no-repeat;
				}

#nnews {
			    background: url(images/nav/nnews.gif) no-repeat;
				}

#nnewsletters {
			    background: url(images/nav/nnewsletters.gif) no-repeat;
				}

#nletters {
			    background: url(images/nav/nletters.gif) no-repeat;
				}

#ncalendar {
			    background: url(images/nav/ncalendar.gif) no-repeat;
				}

#ngallery {
			    background: url(images/nav/ngallery.gif) no-repeat;
				}

#nyeargroups {
			    background: url(images/nav/nyeargroups.gif) no-repeat;
				}

#nclubs {
			    background: url(images/nav/nclubs.gif) no-repeat;
				}
				

#oclubs {
    background: url("images/nav/oclubs.gif") no-repeat scroll 0 0 transparent;
    height: 33px;
    left: -1px;
    position: relative;
    width: 110px;
}

#ngovernors {
			    background: url(images/nav/ngovernors.gif) no-repeat;
				}

#npta {
			    background: url(images/nav/npta.gif) no-repeat;
				}

#nkidszone {
			    background: url(images/nav/nkidszone.gif) no-repeat;
				}
#nstaff {
			    background: url(images/nav/nkidszone.gif) no-repeat;
				}

#nparents {
			    background: url(images/nav/nparents.gif) no-repeat;
				}
#nvoce {
			    background: url(images/nav/nvoce.gif) no-repeat;
				}
			#nav li a:hover {
			color: #000066;
				}

				

			
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (5) Home page elements */

				/* #fader is used for the fading image slideshow */

		#fader {
			position:absolute;
			left: 150px;
			top: 10px;
			width: 315px;
			height: 375px;
			z-index: 1;
			text-align: center;
			}

				/* #newsbox acts as a container for the news */
				
		#newsandcalendarbox {
			position:absolute;
			top: 0px;
			left: 0px;
			width: 160px;
			z-index: 5;
			text-align: center;
			
			}
			
		#newsbg {
			background: url(images/latestnews_bg.gif) no-repeat;
			padding-top: 30px;
		}
		#calendarbg {
			background: url(images/calendar_bg.gif) no-repeat;
			padding-top: 30px;
		}
			
		#poll {
			position:absolute;
			top: 0px;
			left: 445px;
			width: 160px;
			z-index: 5;
			}
			
				/* #hometext is where the main copy text goes */
				




/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */





/* (6) Kids' Zone */

				/*These provide styles for the Kids' Zone Rollovers.
				
				However, in this instance we do not wish to hide the text links, as the the images do not
				contain any text themselves. So this time we use .ktext to position the text at the base of the
				image. This way we get accessibility, and aesthetics! :-) */
.BackTO {text-align:left; font-weight:bold; padding-top:50px; } /* To style "back to" text */
	
	
	#kidsbgbox
	{background-image:url(images/kidszoneimages/kidsbg.gif); background-repeat:no-repeat; width: 454px; height:2522px; margin:0 auto;}
	
			.ktext{
				font-weight: bold;
				font-size: medium;
				display:none;
				z-index:0;
				}
	div#kgames a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/games.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 217px;
				top: 270px;
				}		
		 div#kgames a:hover {
				background-position: -150px 0;
				} 

		div#kbrainbuilders a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/brainbuilders.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 36px;
				top: 131px;
				}		

 div#kbrainbuilders a:hover {
				background-position: -150px 0;
				} 
		
		 div#ks1 a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/ks1links.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 125px;
				top: 65px;
				}		
		 div#ks1 a:hover {
				background-position: -150px 0;
				} 
		 div#ks2 a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/ks2links.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 306px;
				top: 65px;
				}			
		 div#ks2 a:hover {
				background-position: -150px 0;
				} 
		 div#english a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/english.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 125px;
				top: 200px;
				}			
		 div#english a:hover {
				background-position: -150px 0;
				} 
		 div#history a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/history.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 306px;
				top: 200px;
				}			
		 div#history a:hover {
				background-position: -150px 0;
				} 
		 div#science a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/science.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 394px;
				top: 133px;
				}		
		 div#science a:hover {
		    	background-position: -150px 0;
				} 
		 div#maths a {
				position: absolute;
				width: 150px;
				height: 43px;
				display: block;
				background: url(images/kidszone/maths.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 217px;
				top: 132px;
				}		
		 div#maths a:hover {
				background-position: -150px 0;
	}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (7) Classpages */

			/* .Again, these are used to provide rollovers for the classs / yeargroup pages. 
			These images sit in a class called .flaotleft so that we can get
			them to sit in the page properly */

.classbox {
position:relative;
top:30px;
margin: 0 auto;
width: 500px;
height:400px;
}

.class1 a {
	position:absolute;
	top:0px;
	left:59px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon1.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class1 a:hover {
background-position:-120px 0;
}		
	
.class2 a {
	position:absolute;
	top:0px;
	left:189px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon2.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class2 a:hover {
background-position:-120px 0;
}				

.class3 a {
	position:absolute;
	top:0px;
	left:319px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon4.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class3 a:hover {
background-position:-120px 0;
}	

.class4 a {
	position:absolute;
	top:112px;
	left:130px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon5.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class4 a:hover {
background-position:-120px 0;
}

.class5 a {
	position:absolute;
	top:112px;
	left:260px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon7.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class5 a:hover {
background-position:-120px 0;
}

.class6 a {
	position:absolute;
	top:112px;
	left:319px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon11.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class6 a:hover {
background-position:-120px 0;
}

.class7 a {
	position:absolute;
	top:224px;
	left:130px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon8.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class7 a:hover {
background-position:-120px 0;
}

.class8 a {
	position:absolute;
	top:224px;
	left:260px;
	display:block;
	width:120px;
	height:105px;
	background-image:url(images/classicon10.gif);
	background-repeat:no-repeat;
	text-indent:-5000px;
}
	
.class8 a:hover {
background-position:-120px 0;
}
/*-------------------------------------------------- */


		.sectionheading {
		color: #9900FF;
		}

			

