/* Generic Default CSS

SCHOOL NAME

PrimarySchool CSS v 2.2
Basic CSS Framework

(c) 2007 Robert Willie.
27 Feb 2007.
All Rights Reserved
This CSS cannot be resold, redistributed or reused without express permission.
Contact: rob@primarysite.net
Author: Robert Willie

BEST VIEWED IN NOTEPAD ++  		http://notepad-plus.sourceforge.net/

Table of Contents 	

1. 	General page layout		
2.	Page Titles		
3.	Accessibility and General Navigation		
4.	Home page elements	
5.	Kids' Zone			
6.	Classpages
7.	Primarysite CMS specific styles
	
Tip: To quickly jump to a section, search for the section number in brackets. Nb. To jump to Page Titles, search for (2).


/* Navigation Styles 

Firstly we need to link to our nav type :-)
Delete the link to stylesheet that is not required - Edit the stylesheet that is required. */



@import url(../styles/list_nav.css);



/*(1)  General Page layout */ 

html,body{
margin: 0;
padding: 0;
font-family: Verdana, sans-serif;
font-size: small;
color:#000000;
background-color: #fcb448;
}

#header{
height: 234px;
background-image: url(../images/header.jpg);
background-repeat: no-repeat;
}

/* #container and #container2 are wrappers that contain col-one and col-two.

#container is for the main horizontal graphic that goes down the page (Y axis). 
The other containers are available so that you can place additional graphics such as a watermark, or an image at the bottom of the page that 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.
More containers can be added for extra background images, but the basic framework caters for 2.*/

#container{
margin: 0px auto;
width: 762px;
position: relative;
top: 0px;
background-image: url(../images/slither.jpg);
background-repeat: repeat-y;
}

#container2{
margin: 0px auto;
width: 762px;
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 for content.
#col-one has absolute positioning, while #col-two is relative to the document, sitting below the head and above the footer.
 
The only key thing to know about their usage is that the margins on #col-two need to be set with #col-one in mind. Also, the min-hight of #col-two dictates the overall basic height of the page.

So, if #col-one is positioned on the left, and 200px wide, then the left margin of #col-two will need to be at least 200px, else it will go under #col-one. You may also need to adjust the min-height of #col-two in order to accomodate the height of #col-one.

For some designs, you may also need to place a background image in #col-one.
*/

#col-one{
position: absolute;
top: 100px;
left: 1px;
margin: 0px 0px 0px 0px;
padding: 0px;
width: 160px;
min-height: 550px;
height: 530px;
line-height: 1.8em
}

#col-two{ 
top: -20px;
margin:  0px 14px 0px 175px;
padding: 0px 0px 0px 0px;
position: relative;
min-height: 384px;  
}

#col-two_home{ 
top: 0px;
margin:  0px 15px 0px 165px;
padding: 0px 0px 0px 0px;
position: relative;
min-height: 371px;
}

#col-two_kids{ 
top: -20px;
margin:  0px 14px 0px 163px;
padding: 0px 0px 0px 0px;
position: relative;
min-height: 350px; 
}

#footer{
height: 59px;
clear: both;
background-image: url(../images/footer.jpg); 
background-repeat: no-repeat;
}

#footer_home{
height: 59px;
clear: both;
background-image: url(../images/footer_home.jpg); 
background-repeat: no-repeat;
}


/* Randoms is the container for an "on refresh" image generator. 
It's not used on many sites, but is often placed in the header. 

An include file is used:  
 #include file="../special_includes/randoms.asp" 

so to change the images used, please edit randoms.asp */

#randoms{
z-index: 100;
}

/* (2) Page Titles */
#title_aboutus,
#title_brainbuilders,
#title_calendar,
#title_classpages,
#title_clubs,
#title_contact,
#title_curriculum,
#title_english,
#title_friendsreunion,
#title_gallery,
#title_games,
#title_governors,
#title_guestbook,
#title_history,
#title_keyinformation,
#title_kidszone,
#title_ks1links,
#title_ks2links,
#title_letters,
#title_maths,
#title_news,
#title_newsletters,
#title_parents,
#title_pta,
#title_science,
#title_staff,
#title_tour,
#title_welcome,
#title_whoswho,
#title_reading
{height: 50px;    
margin: 0px 5px;}



/* (3)  Accessibility and General Navigation 

Here are some styles which are used in conjunction with the alternative style sheets for accessibility purposes.
Something to note:
visibility: hidden will hide content (it will still take up the same space, just wont be visible), while, display: none, will remove it from the flow. 
*/

.hide {visibility: hidden;} /* To hide something from all views */
.hide_default {display: none;} /* To hide something from default view */

#loginbox{
text-align: center;
padding: 5px;
}

/* .key is used to style the accesskey text.*/

.key{
display: none;
}


#wai_logo img {border: none;} /* If you're satisfied that the site conforms to WAI standards, drop in a link , 
and remove the image border with this. */



/* For links to work as link, visited, focus, and hover , they must be in this order.. please change the colours to suit */

a:link{
color:#CC0000;
text-decoration: none;
}
a:visited {
color:#CC0000;
text-decoration: none;
}
a:focus{
color:#CC0000;
text-decoration: none;
border: none;
}
a:hover{
color:#000099;
text-decoration: underline;
}
a:active{
color:#CC0000;
text-decoration: none;
}

/* Styles for links at the bottom of the page */

#bottomlinks {text-align:center;} /* Because we want these to be in the middle */

#bottomlinks ul li{
color:#000000;
list-style-type: none;
display: inline;
height: 2em;
padding: 5px;
}
#bottomlinks a{
text-decoration: none;
color:#000000;
border-bottom: 1px solid #000000;
}
#bottomlinks a:hover{
color:#CC0000;
}


/* (4)  Home page elements */

/* #fader is a container for the fading image slideshow. 
Please make it the width and height of your images. For info on how to use the fader please see the documentation*/


#EditSlideButton {position: absolute; z-index: 500; top: 70px; left: 10px;}

#fader{
position: absolute;
left: 35px;
top: 70px;
width: 260px;
height: 158px;
overflow: hidden;
}

#fader img {width: 100%;}

/* #newsbox acts as a container for the news */
#newsbox{
position: relative;
top: 50px;
margin:0 auto;
width: 236px;
height: 150px;
color: #000000;
text-align: center;
}

#newsbox a{
color: #ffffff;
}
#newsbox a:hover{
color:#FFFF00;
}

#newsbox-outer{
position: absolute;
top: 61px;
left: 315px;
background-image: url(../images/newsbox.gif);
background-repeat: no-repeat;
width: 276px;
height: 216px;
text-align: center;
}


/* #hometext contains the welcome message */
#hometext{
position: absolute;
left: 7px;
top: -35px;
width: 580px;
text-align: left;
font-size:1.3em;
font-weight:bold;
line-height:1.3em;
}

/* #diarydatesbox acts as a 
container for the homepage calendar */
#diarydatesbox{
position: absolute;
top: 0px;
left: 0px;
width: 300px;
height: 300px;
}

#hitcountbox{
position: relative;
width: 160px;
height: 27px;
left: 2px;
top: 10px;
}

#primarysite {
position:absolute;
font-size:0.9em;
font-weight:bold;
color:#333333;
top:280px;
left:370px;
width:200px;
height:30px;
}

/* Teasers */

#teaserbox ul li { display: inline; padding: 0; list-style-type: none;}


li.classpageshome a{
position: absolute;
width: 86px;
height: 83px;
display: block;
background: url(../images/teasers/classpages.jpg) no-repeat;
overflow: hidden;
left: 225px;
top: 235px;
text-indent: -5000px;
}
li.classpageshome a:hover{
background-position: 0 -83px;
} 


li.lettershome a{
position: absolute;
width: 86px;
height: 83px;
display: block;
background: url(../images/teasers/lettershome.jpg) no-repeat;
overflow: hidden;
left: 120px;
top: 235px;
text-indent: -5000px;

}
li.lettershome a:hover{
background-position: 0 -83px;
} 

li.kidszonehome a{
position: absolute;
width: 86px;
height: 83px;
display: block;
background: url(../images/teasers/kids.jpg) no-repeat;
overflow: hidden;
left: 15px;
top: 235px;
text-indent: -5000px;
}

li.kidszonehome a:hover{
background-position: 0 -83px;
} 

/* (5) Kids' Zone */

/* To style "back to" text */
.back_to{
text-align: left;
font-weight: bold;
padding-top: 5px;
margin-left: 10px;
padding-bottom: 5px;
} 

#kidsbgbox{
width: 454px;
height: 342px; 
margin: 0 auto;
}

#kidsbgbox ul li { display: inline; padding: 0; list-style-type: none;}

li.kgames a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/gamesBtn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 51px;
	top: 110px;
	text-indent: -5000px;
}
li.kgames a:hover{
background-position:1px -115px;
} 

li.ks1links a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/weblinks2Btn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 370px;
	top: 110px;
	text-indent: -5000px;
}
li.ks1links a:hover{
background-position:1px -115px;
} 
 

li.english a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/englishBtn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 51px;
	top: 229px;
	text-indent: -5000px;
}
li.english a:hover{
background-position:1px -115px;
} 

li.history a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/historyBtn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 211px;
	top: 348px;
	text-indent: -5000px;
}
li.history a:hover{
background-position:1px -115px;
} 

li.science a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/scienceBtn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 370px;
	top: 229px;
	text-indent: -5000px;
}
li.science a:hover{
background-position:1px -115px;
} 

li.maths a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/mathsBtn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 211px;
	top: 229px;
	text-indent: -5000px;
}
li.maths a:hover{
background-position:1px -115px;
} 

li.brain a{
	position: absolute;
	width: 155px;
	height: 115px;
	display: block;
	background: url(../images/kidszoneimages/brainbuildersBtn.gif) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 211px;
	top: 110px;
	text-indent: -5000px;
}
li.brain a:hover{
background-position:0 -115px;
}

/* (6)  Classpages and Year Groups */


#classpages {width: 390px; margin: 0 auto; position: relative; top:0px; height:310px;}
#classpages ul {list-style:none;}

#redBtn1 a {
	position: absolute;
	top:0px;
	left: 0px;
	width: 195px;
	height: 60px;
	background: url(../images/classpages/red.gif) no-repeat;
	text-indent: -3000px;
	}

#redBtn1 a:hover {background-position: -195px 0;}
		
#purpleBtn1 a {
	position: absolute;
	top:0px; 
	left:200px;
	width: 195px;
	height: 60px;
	background: url(../images/classpages/purple.gif) no-repeat;
	text-indent: -3000px;
	}

#purpleBtn1 a:hover {background-position: -195px 0;}

#blueBtn1 a {
	position: absolute;
	top:70px;
	left:0px;	
	width: 195px;
	height: 60px;
	background: url(../images/classpages/blue.gif) no-repeat;
	text-indent: -3000px;
	}

#blueBtn1 a:hover {background-position: -195px 0;}

#yellowBtn1 a {
	position: absolute;
	top:70px;
	left:200px;
	width: 195px;
	height: 60px;
	background: url(../images/classpages/yellow.gif) no-repeat;
	text-indent: -3000px;
	}

#yellowBtn1 a:hover {background-position: -195px 0;}

#greenBtn1 a {
	position: absolute;
        left:0px;
        top:140px;
	width: 195px;
	height: 60px;
	background: url(../images/classpages/green.gif) no-repeat;
	text-indent: -3000px;
	}

#greenBtn1 a:hover {background-position: -195px 0;}

#orangeBtn1 a {
	position: absolute;
        left:200px;
        top:140px;
	width: 195px;
	height: 60px;
	background: url(../images/classpages/orange.gif) no-repeat;
	text-indent: -3000px;
	}

#orangeBtn1 a:hover {background-position: -195px 0;}

/* (6.1)  Classpages 2 */

#classpages2 {width: 390px; margin: 0 auto; position: relative; top:25px; height:380px;}
#classpages2 ul {list-style:none;}

#redBtn2 a {
	position: absolute;
	top:-31px;
	left: 0px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages2/red.gif) no-repeat;
	text-indent: -3000px;
	}

#redBtn2 a:hover {background-position: -195px 0;}
		
#pinkBtn2 a {
	position: absolute;
	top:-31px;
	left:200px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages2/pink.gif) no-repeat;
	text-indent: -3000px;
	}

#pinkBtn2 a:hover {background-position: -195px 0;}

#blueBtn2 a {
	position: absolute;
	top:70px;
	left:0px;	
	width: 195px;
	height: 110px;
	background: url(../images/classpages2/blue.gif) no-repeat;
	text-indent: -3000px;
	}

#blueBtn2 a:hover {background-position: -195px 0;}

#yellowBtn2 a {
	position: absolute;
	top:70px;
	left:200px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages2/yellow.gif) no-repeat;
	text-indent: -3000px;
	}

#yellowBtn2 a:hover {background-position: -195px 0;}

#greenBtn2 a {
	position: absolute;
	left:0px;
	top:170px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages2/green.gif) no-repeat;
	text-indent: -3000px;
	}

#greenBtn2 a:hover {background-position: -195px 0;}

#orangeBtn2 a {
	position: absolute;
	left:200px;
	top:171px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages2/orange.gif) no-repeat;
	text-indent: -3000px;
	}

#orangeBtn2 a:hover {background-position: -195px 0;}


#foundation a {
	position: absolute;
	left:100px;
	top:0px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages/foundation.gif) no-repeat;
	text-indent: -3000px;
	}

#foundation a:hover {background-position: -195px 0;}



#year1 a {
	position: absolute;
	left:100px;
	top:60px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages/year1.gif) no-repeat;
	text-indent: -3000px;
	}

#year1 a:hover {background-position: -195px 0;}


#year2 a {
	position: absolute;
	left:100px;
	top:120px;
	width: 195px;
	height: 110px;
	background: url(../images/classpages/year2.gif) no-repeat;
	text-indent: -3000px;
	}

#year2 a:hover {background-position: -195px 0;}

/* (7) Primarysite CMS specific styles */

.sectionheading {
color:#000099;
}

#Guestbook {
border: #42A0FF solid thick;
}
#Guestbook .sort{
background-color: #42A0FF;
}
#Guestbook .sort a{
color: #FFFF00;
}
#Guestbook .sort a:hover{
color:#FFFFFF;
}
#Guestbook .allowdeny {
color: #FFFF00;
background-color: #42A0FF;
}
#Guestbook .allowdeny a{
color: #FFFF00;
}
#Guestbook .allowdeny a:hover{
color:#FFFFFF;
}
#Guestbook .guest {
background-color: #FFED6F;
}
#Guestbook .message {
background-color: #FFFFFF;
}

/* For the SiteMap */
#sitemap ul li a {font-weight: normal; background-image: none; text-indent: 0px; position: relative; width: 100%; height: 100% !important;}

/*	SCHOOL COUNCIL  */	

#sch-council a{
position:absolute;
top:50px;
left:70px;
background-image:url(../images/sch-council.jpg);
width: 185px;
height: 187px;
text-indent:-5000px;
}

#sch-council a:hover {background-position:-185px;}

#eco-council a{
position:absolute;
top:50px;
left:320px;
background-image:url(../images/eco-council.jpg);
width: 185px;
height: 187px;
text-indent:-5000px;
}

#eco-council a:hover {background-position:-185px;}



#archivebox2 {position: absolute; top: 265px; left: 70px; width: 100%;}
#archivebox {position: absolute; top: 185px; left: 0px; width: 100%;text-align:center}


#homepageaddress {font-weight: bold; position: relative; top: 55px;}
.homeemaillink a {color: #fff;}

