/* PrimarySchool CSS v1.3 */

/* 
(c) 2006 Robert Willie.
April 8th 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			Line 27
2.	Accesability				Line 128
3.	General Navigation			Line 187
4.	For the Main Navigation		Line 221
5.	Home page elements			Line 278
6.	Kids' Zone					Line 390
7.	Classpages 					Line 501



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/*(1)  Main Page layout */


				/* General notes on background images 
				
				This CSS relies on a lot of background images for decrative purposes. You will need to change the properties of 
				the respective element to accomodate 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:x-small;
				color: #1C008D;
				background-color:#C0C0C0;
			}


			#header{
				 height: 178px;
				 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.
				For example, if you would like to have an image at the bottom of the page which extends further than the footer.
				http://www.westfield-inf.leics.sch.uk/ uses this for the bear's head at the base of the navigation . */
				

			#container{
				margin: 0px auto;
				background-color:#FFFFFF;
				background-repeat: repeat-y;
                background-image:url(images/bg.gif);
				width: 775px;
				position:relative;
				top: 0px;
			}

			#container2{
				margin: 0px auto;
				width: 775px;
				position:relative;
				top: 0px;
			}

				/* #Col-one acts as the main navigation box. It is used  with #col-two.
				#col-one and #col-two are the main content areas. #col-one is used to provide a smaller box, 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 right-margin on #col-two is greater than 100px */
			
			#col-one{
				position: absolute;
				top: 170px;
				left: 15px;
				width: 145px;
				margin: 0px 0px 0px 0px;
				padding: 0px;
				padding-top: 10px;
				height: 441px;
				z-index:10;
		 	}

			#col-two{  /* For Mozilla etc */
				 margin: 0px 15px 20px 168px;
				 padding: 10px 0px 0px 10px;
				 position :relative;
				 min-height: 460px; /* IE doesn't understand min-height, but other browsers do */
			 }
			
			* html #col-two{   /* IE ignores the * html so sees this as #right-col */
				 margin: 0px 15px 20px 168px;
				 padding: 10px 0px 0px 10px;
				 position :relative;
				 height: 460px;  /* IE thinks height means min-height */
			 }

			#footer {
				height: 46px;
				background-image:url(images/footer.jpg);
				clear:both;
				color:#000000;
			}

			
				/* 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;
			}
			
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


/* (2) Accesability */
				/* These elements are used to help make the site
				accesable. 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 invisiable we need to provide the visitor with this information as text. */
				
			
				/* .hiddentext is used to hide items. For accesability 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 visable. */
				
			.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 on 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 */

			a {
				text-decoration:none;
				color:#CC3300;
			}
			
			a:hover {
				text-decoration:none;
				color:#FFCC00;
			}

				/* Styles for links at the bottom of the page - not strictly needed if main navigation is text based */
			
			#bottomlinks {
				color:#B20000;
				font-weight:bold;
			}
			
			
			#bottomlinks a{
				text-decoration:none;
				color:#B20000;
				padding-left: 15px;
			}
					
			#bottomlinks a:hover{
				text-decoration:none;
				color:#7C7A7B;
			}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (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 0;
				margin-bottom: 1em;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size:small;
				font-weight:bold;
				}

			* html #nav {
				width: 100px;
				padding: 0 0 1em 0;
				margin-bottom: 1em;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size:small;
				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: 5px 0px 5px 3em;
				color: #FFFFFF;
				font-weight: bold;
				text-decoration: none;
				width: 100%;
				}
		
			html>body #nav li a {
				width: auto;
				}
		
			#nav li a:hover {
				color:#FFCC00;
				background-image:url(images/fenistar.gif);
				background-repeat:no-repeat;
				background-position:top left;
				}
			
			
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (5) Home page elements */

				/* #fader is used for the fading image slideshow */

		#fader {
			position:absolute;
			left: 300px;
			top: 7px;
			width: 252px;
			height: 253px;
			z-index: 5;
			}

				/* #newsbox acts as a container for the news */
				
		#newsbox {
			position:absolute;
			background-image:url(images/newbox.gif);
			background-repeat:no-repeat;
			top: 259px;
			left: 300px;
			width: 251px;
			height: 132px;
			z-index: 0;
			}

				/* #hometext is where the main copy text goes */
				
		#hometext {
			width: 260px;
			font-size:small;
			font-weight:bold;
			}


				/* #teasers is a container for all the teaser elements */
				
		#teasers {
			position: absolute;
			width: 235px;
			height: 291px;
			top: 154px;
			left: 4px;
			}

				/* Teaser Rollover images 
				
				I really like these - Rollovers without Javascript. Create an image, on the left hand side place your 
				normal state, on the right hand side place your over state. On the actiual item, set it so that only the
				left hand side is seen.Nb if the image is 400px wide, set the container to 200px. 
				
				On the hover property, just change the background position so that the right hand side of the
				image is shown. Nb if the image is 400px wide, and the container is 200px wide, set the background 
				image to -200px. 
				
				In the xhtml this appears as a text link - so just hide the link with the .hiddentext class above.
				
				NB in xHTML:
				
				<div id="galleryhome">
					<a href="gallery.asp" title="Gallery Button"><span class="hiddentext">Gallery</span></a>
				</div>
				
				This technique is used for all rollover images throughout the site.
				*/
				
				
		div#tourhome a {
		    width: 232px;
		    height: 103px;
		    display: block;
		    background: url(images/tourhome.gif) no-repeat;
		    overflow: hidden;
			}
			
		div#tourhome a:hover {
		    background-position: -232px 0;
			} 
	

		div#galleryhome a {
		    width: 232px;
		    height: 78px;
		    display: block;
		    background: url(images/galleryhome.gif) no-repeat;
		    overflow: hidden;
			}
			
		div#galleryhome a:hover {
		    background-position: -232px 0;
			} 


		div#kidszonehome a {
		    width: 232px;
		    height: 91px;
		    display: block;
		    background: url(images/kidszonehome.gif) no-repeat;
		    overflow: hidden;
			}
			
		div#kidszonehome a:hover {
		    background-position: -232px 0;
			} 


		#hitcountbox {
			position: absolute;
			width: 589px;
			height: 25px;
			left: -4px;
			top: 431px;
			}
			
			
		
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (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 accesability, and aesthetics! :-) */

		.ktext{
			font-weight: bold;
			font-size: medium;
			padding-top: 153px;
			z-index:2;
			}

		.kidszonebox {
			margin: 0 auto;
			width: 475px;
			}

		.kidszonebox2 {
			margin: 0 auto;
			width: 380px;
			}


		div#kgames a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/games.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
		
		div#kgames a:hover {
		    background-position: -150px 0;
			} 

		div#ks1 a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/funweblinks.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		div#ks1 a:hover {
		    background-position: -150px 0;
			} 

		div#ks2 a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/funweblinks.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		div#ks2 a:hover {
		    background-position: -150px 0;
			} 

		div#english a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/english.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		div#english a:hover {
		    background-position: -150px 0;
			} 

		div#history a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/history.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		div#history a:hover {
		    background-position: -150px 0;
			} 

		div#science a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/science.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		div#science a:hover {
		    background-position: -150px 0;
			} 

		div#maths a {
		    width: 143px;
		    height: 50px;
		    display: block;
		    background: url(images/kidszoneimages/maths.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		div#maths a:hover {
		    background-position: -150px 0;
			} 
			
			h2.red {color: #AC1818;}
			
			

			/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (7) Classpages */

			/* .Again, these are used to provide rollovers for the classs / yeargroup pages. The techniquie is the same as above
			but this time we use a single image for all rollovers, and these images sit in a class called .flaotleft so that we can get
			them to sit in the page properly */

		.classbox {
			margin: 0 auto;
			width: 420px;
			}

		.classfloatleft {
			float: left;
			padding-left: 2px;
			padding-right: 2px;
			height: 120px;
			
			}

		.classicon1 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon1 a:hover {
		    background-position: -90px 0;
			} 

		.classicontext{
			font-weight: bold;
			font-size: medium;
			padding-top: 98px;
			z-index:2;
			}



		.classicon2 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon2.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			margin-left: 20px;
			margin-right: 20px;
			}
			
		.classicon2 a:hover {
		    background-position: -90px 0;
			}

		.classicon3 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon3.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			margin-left: 20px;
			margin-right: 20px;
			}
			
		.classicon3 a:hover {
		    background-position: -90px 0;
			}
			
			
			
			
			
			.classicon4 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon4.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			margin-left: 20px;
			margin-right: 20px;
			}
			
		.classicon4 a:hover {
		    background-position: -90px 0;
			}
			
			
			.classicon5 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon5.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon5 a:hover {
		    background-position: -90px 0;
			}
			
			
			
			.classicon6 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon6.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon6 a:hover {
		    background-position: -90px 0;
			}
			
			
			
			
			.classicon7 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon7.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon7 a:hover {
		    background-position: -90px 0;
			}
			
			
			.classicon8 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon8.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon8 a:hover {
		    background-position: -90px 0;
			}
			
			
			/* GUESTBOOK COLOURS */




/* STYLES FOR CALENDAR DATES ON HOMEPAGE */


#termevents .latesthomepage {
}
#termevents .datehome {
 margin-left: 10px;
 font-size: small;
 color: #000000;
 font-weight: bold;
}
#termevents .eventhome {
 margin-left: 10px;
 font-size: small;
 font-weight: normal;
}



/* SECTION HEADING COLOUR */



.sectionheading {
	color: #009900;
}


#Guestbook {
border: #AC1818 solid 2px;
}

#Guestbook .sort{
background-color: #CC0000;
}
#Guestbook .sort a{
color: #FFFF00;
}
#Guestbook .sort a:hover{
color:#FFFFFF;
}
#Guestbook .allowdeny {
color: #c00;
background-color: #efefef;
}
#Guestbook .allowdeny a{
color: #c00;
}
#Guestbook .allowdeny a:hover{
color:#000;
}
#Guestbook .guest {
background-color: #CCCCCC;
}
#Guestbook .message {
background-color: #FFFFFF;
}


.MediaFloat{width: 194px;}
