/* Generic Default CSS */


/* PrimarySchool CSS v1.5 */
/* Basic CSS Framework */

/* 
(c) 2006 Robert Willie.
26 July 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 accommodated.
				*/
				
			html,body
			{
				margin: 0;
				padding: 0;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size: small;
				color:#006600;
				background-color: #ffff84;
			}

			#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
				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-image: url(images/bg_container.gif);
				background-repeat: repeat-y;
				width: 780px;
				position: relative;
				top: 0px;
			}
			
			
			
			#container_home{
				margin: 0px auto;
				background-image: url(images/homebg.jpg);
				background-repeat:no-repeat; 				
				width: 780px;
				height: 550px;
				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: 150px;
				left: 8px;
				width: 118px;
				margin: 0px 0px 0px 0px;
				padding: 0px;
				padding-top: 10px;
				z-index:10;
		 	}
			
			
			#col-one_home{
				position: absolute;
				top: 148px;
				left: 431px;
				width: 118px;
				margin: 0px 0px 0px 0px;
				padding: 0px;
				padding-top: 10px;
				z-index:10;
		 	}
			
			
			
			

			#col-two{  /* For Mozilla etc */
				 top: -100px;
				 margin:  0px 25px -20px 160px;
				 padding: 0px 0px 0px 10px;
				 position :relative;
				 min-height: 298px; /* IE doesn't understand min-height, but other browsers do */
			 }
			
			* html #col-two{   /* IE ignores the * html so sees this as #right-col */
				 top: -85px;
				 margin:  0px 25px -20px 160px;
				 padding: 0px 0px 0px 10px;
				 position :relative;
				 height: 300px;  /* IE thinks height means min-height */
			 }

*:first-child+html #col-two{   /* IE ignores the * html so sees this as #right-col */
				 top: -85px;
				 margin:  0px 25px -20px 160px;
				 padding: 0px 0px 0px 10px;
				 position: relative;
				 min-height: 300px;  /* IE thinks height means min-height */
			 }


			#footer {
				height: 29px;
				background-image:url(images/footer.jpg);
				background-repeat:no-repeat;
				clear:both;
			}
			
			
			
			#randoms {z-index:100;} /* Container in which on refresh image generator sits */

				/* Styles for Page Title Images. */
			
			.indent_title {text-indent: -5000px; } /* To force text off screen, leaving image behind */
			.title_wrapper {margin-left: 25%; margin-bottom: -15px;} /* To try and pull titles into the centre of the page and control the space between title and body text */
			
				#title_calendar
			{
				height: 50px;
				background: url(images/titles/calendar.gif) no-repeat;
			}
			
				#title_classpages
			{
				height: 50px;
				background: url(images/titles/classpages.gif) no-repeat;
			}
			
				#title_clubs
			{
				height: 50px;
				background: url(images/titles/clubs.gif) no-repeat;
			}
			
				#title_contact
			{
				height: 50px;
				background: url(images/titles/contact.gif) no-repeat;
			}
			
				#title_curriculum
			{
				height: 50px;
				background: url(images/titles/curriculum.gif) no-repeat;
			}
			
				#title_gallery
			{
				height: 50px;
				background: url(images/titles/gallery.gif) no-repeat;
			}
			
				#title_governors
			{
				height: 50px;
				background: url(images/titles/governors.gif) no-repeat;
			}
			
				#title_guestbook
			{
				height: 50px;
				background: url(images/titles/guestbook.gif) no-repeat;
			}
			
				#title_keyinfo
			{
				height: 50px;
				background: url(images/titles/keyinfo.gif) no-repeat;
			}
			
				#title_kidszone
			{
				height: 50px;
				background: url(images/titles/kidszone.gif) no-repeat;
			}
			
				#title_letters
			{
				height: 50px;
				background: url(images/titles/letters.gif) no-repeat;
			}
			
				#title_news
			{
				height: 50px;
				background: url(images/titles/news.gif) no-repeat;
			}
			
				#title_newsletters
			{
				height: 50px;
				background: url(images/titles/news.gif) no-repeat;
			}
			
				#title_parents
			{
				height: 50px;
				background: url(images/titles/parents.gif) no-repeat;
			}
			
				#title_pta
			{
				height: 50px;
				background: url(images/titles/pta.gif) no-repeat;
			}
			
				#title_staff
			{
				height: 50px;
				background: url(images/titles/staff.gif) no-repeat;
			}
			
				#title_tour
			{
				height: 50px;
				background: url(images/titles/tour.gif) no-repeat;
			}
			
				#title_welcome 
			{
				height: 50px;
				background: url(images/titles/welcome.gif) no-repeat;
			}
			
				#title_whoswho
			{
				height: 50px;
				background: url(images/titles/whoswho.gif) no-repeat;
			}
			
				#title_yeargroups
			{
				height: 50px;
				background: url(images/titles/yeargroups.gif) no-repeat;
			}
			
			
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


/* (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 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; 
			 } 

			#wai_logo img {border:none;} /* To remove border from WAI logo */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (3) General Navigation */

				/* Styles for hyperlinks */

			a {
				text-decoration: none;
				color:#CC0000;
			}
			
			a:hover {
				text-decoration: none;
				color:#3366CC;
			}
			
				/* Styles for links at the bottom of the page  */
			
			#bottomlinks {
				color:#006600;
				font-weight: bold;
			}
			
			
			#bottomlinks a{
				text-decoration: none;
				color:#006600;
				padding-left: 5px;
				border-left: 2px solid #006600;
			}
					
			#bottomlinks a:hover{
				text-decoration: none;
				color:#3300FF;
			}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (4) For the Main Navigation */

				/* Two generic styles are provided. The 1st is for a straight list, the second is for a list based on pop up menus.
				Please comment out the styles you do not wish to use.
				
				1. 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
				*/	
				
			#col-one #nav {
				padding: 0 0 1em 0;
				margin-bottom: 1em;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size: 10px;
				font-weight: bold;
				}

			* html #col-one #nav {
				width: 146px;
				padding: 0 0 1em 0;
				margin-bottom: 1em;
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size: 10px;
				font-weight: bold;
				}
				
		
		#col-one #nav ul {
				list-style: none;
				margin: 0;
				padding: 0;
				}
				
			#col-one #nav li {
				margin: 0;
				margin-bottom:-5px;
				padding-right: 3px;
				}

			#col-one #nav li a {
				display: block;
				padding: 9px 0px 9px 10px;
				color: #FFFFFF;
				text-align:center;		
				background-image: url(images/up.gif);
				background-repeat: no-repeat;
				background-position: left;
				font-weight: bold;
				text-decoration: none;
				width: 137px;
				}
		
			
		
			#col-one #nav li a:hover {
				background-image: url(images/over.gif);
				background-repeat: no-repeat;
				background-position: left;
				}
				
			#col-one .navhide {visibility: hidden;}
			
			
			/* For the homepage */
				
			#col-one_home #nav {
				padding: 0 0 1em 0;
				margin-bottom: 1em;
				font-family:comic sans ms, arial, Verdana, helvetica, sans-serif;
				font-size: 12px;
				font-weight: bold;
				}

			
				
		#col-one_home #nav ul {
				list-style: none;
				margin: 0;
				padding: 0;
				}
				
			#col-one_home #nav li {
				margin: 0;
				margin-bottom:-5px;
				}

			#col-one_home #nav li a {
				display: block;
				padding: 9px 0px 9px 2em;
				color: #006600;
				text-align:center;		
				background-position: left;
				font-weight: bold;
				text-decoration: none;
				width: 100%;
				}
		
			html>body #col-one_home #nav li a {
				width: auto;
				}
		
			#col-one_home #nav li a:hover {
				color:#FF0000;
				}
				
			#col-one_home .navhide {visibility: hidden;}






#col-one_home .n1 {
				display: none;
				}
				
				#col-one_home .n2 {
	position: absolute;
	left: 119px;
	_left: 79px;
	top: 229px;
				}
				
				#col-one_home .n3 {
	position: absolute;
	left: -86px;
	_left: -96px;
	top: 60px;
				}
				
				#col-one_home .n4 {
	position: absolute;
	left: 182px;
	_left: 162px;
	top: 84px;
				}
				
				#col-one_home .n5 {
	position: absolute;
	left: -66px;
	_left: -86px;
	top: -2px;
				}
				
				#col-one_home .n6 {
	position: absolute;
	left: -137px;
	_left: -157px;
	top: 142px;
				}
				
				#col-one_home .n7 {
	position: absolute;
	left: 210px;
	_left: 175px;
	top: 20px;
				}
				
				#col-one_home .n8 {
	position: absolute;
	left: 224px;
	_left: 180px;
	top: 145px;
	_top: 155px;
				}
				
				#col-one_home .n9 {
	position: absolute;
	left: 42px;
	_left: 2px;
	top: -19px;
				}
				
				#col-one_home .n10 {
	position: absolute;
	left: 146px;
	_left: 106px;
	top: -26px;
	_top: -16px;
				}
				
				#col-one_home .n11 {
	position: absolute;
	left: -37px;
	_left: -64px;
	top: 179px;
				}
				
				#col-one_home .n12 {
	position: absolute;
	top: 265px;
	left: -26px;
	_left: -66px;
				}
				
		
				
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (5) Home page elements */


		/* #fader is used for the fading image slideshow */
		#fader {
			position: absolute;
			left: 204px;
			top: 8px;
			width: 426px;
			height: 281px;
			z-index: 5;
			}
			
			#hitcountbox {padding-top: 50px;}
			
		/* #newsbox acts as a container for the news */
		#newsbox {
			position: absolute;
			top: 420px;
			_top: 435px;   /* for IE6 */
			left: 42px;
			width: 266px;
			height: 91px;
			z-index: 0;
			text-align:center;
			}
			
			
			:first-child+html #newsbox {
			top: 435px;  /* for IE7 */ 
			}
			
		
			
			
			
		/* #diarydatesbox acts as a container for the calendar */
		#diarydatesbox {
			position: absolute;
			top: 40px;
			left: 161px;
			width: 243px;
			height: 91px;
			z-index: 0;
			}

		/* #hometext is where the main copy text goes */
		
		#hometext {
	position: absolute;
	width: 208px;
	text-align:center;
	font-family:Comic Sans MS, Verdana, arial, helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	height: 112px;
	left: 146px;
	top: 118px;
			}
			
			#hometext h3 { margin-bottom: 0px;}


				/* #teasers is a container for all the teaser elements */
				
		#teasers {
			position: absolute;
			width: 10px;
			height: 10px;
			top: 278px;
			left: -56px;
			z-index: 6;
			}

				/* 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.
				*/
				
				
					.htext{
						font-weight: bold;
						font-size: medium;
						display:none;
						z-index:0;
					}
				
					div#newshome a {
						position:absolute;
						width: 131px;
						height: 131px;
						display: block;
						background: url(images/newshome.gif) no-repeat;
						overflow: hidden;
						left: 38px;
						top: 34px;
								}
			
					div#newshome a:hover {
						background-position: -131px 0;
						} 
							
							
					div#tourhome a {
						position:absolute;
						width: 143px;
						height: 165px;
						display: block;
						background: url(images/tourhome.gif) no-repeat;
						overflow: hidden;
						left: 182px;
						top: -9px;
						}
			
					div#tourhome a:hover {
						background-position: -143px 0;
						} 
	

					div#galleryhome a {
						position:absolute;
						width: 163px;
						height: 68px;
						display: block;
						background: url(images/galleryhome.gif) no-repeat;
						overflow: hidden;
						left: 340px;
						top: 64px;
						}
			
					div#galleryhome a:hover {
						background-position: -163px 0;
						} 


					div#kidszonehome a {
						position:absolute;
						width: 110px;
						height: 106px;
						display: block;
						background: url(images/kidszonehome.gif) no-repeat;
						overflow: hidden;
						left: 552px;
						top: 21px;
						}
			
					div#kidszonehome a:hover {
						background-position: -110px 0;
						} 


					#hitcountbox {
						position: absolute;
						width: 141px;
						height: 25px;
						left: -159px;
						top: 356px;
						}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (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! :-) */

	
h2.kz {
text-align: center;
margin-left: -150px;
}

	.BackTO {text-align:left; font-weight:bold; padding-top:10px; } /* To style "back to" text */
	#IframeHolder {padding-top: 20px;} /*To reposition kidszone iframe if needed */
	
	
	#kidsbgbox
	{background-image:url(images/kidszoneimages/kidszonebg.gif); background-repeat:no-repeat; width: 454px; height:322px; margin:0 auto;}
	
	
			.ktext{
				font-weight: bold;
				font-size: medium;
				display:none;
				z-index:0;
				}


		div#kgames a {
				position: absolute;
				width: 110px;
				height: 106px;
				display: block;
				background: url(images/kidszoneimages/games.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 177px;
				top: 186px;
				}
		
		 div#kgames a:hover {
				background-position: -110px 0;
				} 

		 div#ks1 a {
				position: absolute;
				width: 110px;
				height: 135px;
				display: block;
				background: url(images/kidszoneimages/ks1.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 298px;
				top: 178px;
				}
			
		 div#ks1 a:hover {
				background-position: -110px 0;
				} 

		 div#ks2 a {
				position: absolute;
				width: 166px;
				height: 106px;
				display: block;
				background: url(images/kidszoneimages/ks2.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 340px;
				top: 157px;
				}
			
		 div#ks2 a:hover {
				background-position: -166px 0;
				} 

		 div#english a {
				position: absolute;
				width: 114px;
				height: 86px;
				display: block;
				background: url(images/kidszoneimages/english.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 114px;
				top: 277px;
				}
			
		 div#english a:hover {
				background-position: -114px 0;
				} 

		 div#history a {
				position: absolute;
				width: 95px;
				height: 100px;
				display: block;
				background: url(images/kidszoneimages/history.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 78px;
				top: 122px;
				}
			
		 div#history a:hover {
				background-position: -95px 0;
				} 

		 div#science a {
				position: absolute;
				width: 103px;
				height: 83px;
				display: block;
				background: url(images/kidszoneimages/science.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 190px;
				top: 180px;
				}
			
		 div#science a:hover {
		    	background-position: -103px 0;
				} 

		 div#maths a {
				position: absolute;
				width: 169px;
				height: 74px;
				display: block;
				background: url(images/kidszoneimages/maths.gif) no-repeat;
				overflow: hidden;
				font-weight: bold;
				left: 78px;
				top: 45px;
				}
			
		 div#maths a:hover {
				background-position: -169px 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 {
			margin: 0 auto;
			width: 450px;
			}
			
			.classbox2 {
			margin: 0 auto;
			width: 250px;
			}

.classfloatleft {float: left;}


		.classicontext{
			font-weight: bold;
			font-size: small;
			z-index:2;
			}
			
		.classicon a {
		    width: 211px;
		    height: 232px;
		    display: block;
		    background: url(images/classicon.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon a:hover {
		    background-position: -211px 0;
			} 



/* Add more styles for however many classes you have  Nb */

		.classicon1 a {
		    width: 211px;
		    height: 232px;
		    display: block;
		    background: url(images/classicon1.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon1 a:hover {
		    background-position: -211px 0;
			} 
			
			
			
		.classicon2 a {
		    width: 211px;
		    height: 232px;
		    display: block;
		    background: url(images/classicon2.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon2 a:hover {
		    background-position: -211px 0;
			} 
			
			/* And so on.... */
			
		.classicon3 a {
		    width: 211px;
		    height: 232px;
		    display: block;
		    background: url(images/classicon3.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.classicon3 a:hover {
		    background-position: -211px 0;
			}

		.classicon4 a {
		    width: 90px;
		    height: 50px;
		    display: block;
		    background: url(images/classicon4.gif) no-repeat;
		    overflow: hidden;
			font-weight: bold;
			}
			
		.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;
			}
/*-------------------------------------------------- */
.sectionheading {
color: #FF9900;
}

