/* 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, Arial, Helvetica, sans-serif;
font-size: small;
color:#000000;
background-color: #ffffff;
}

#header{
position: relative;
margin: 0 auto;
top: 0px;
height: 173px;
background-image: url(../images/header.jpg);
background-repeat: no-repeat;
}

#header_home{
position: relative;
margin: 0 auto;
height: 173px;
}

/* #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: 785px;
position: relative;
top: 0px;
background-image: url(../images/slither.jpg);
background-repeat: repeat-y;
}

#container2{
margin: 0px auto;
width: 785px;
position: relative;
top: 0px;
}

#container_home{
margin: 0px auto;
width: 785px;
position: relative;
top: 0px;
background-image: url(../images/home-back.jpg);
background-repeat:no-repeat;
height:550px;
}

#container2_home{
margin: 0px auto;
width: 785px;
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: 129px;
left: 3px;
width: 175px;
height: 439px;
margin: 0 auto;
background-image: url(../images/nav-back.jpg); 
background-repeat: no-repeat;
}

#col-one_home{
position: absolute;
top: 129px;
left: 3px;
width: 171px;
height: 440px;
margin: 0 auto;
background-image: url(../images/nav-back_home.jpg);
background-repeat: no-repeat;
}

#col-two{ 
top: -40px;
margin:  0px 38px -40px 180px;
position: relative;
min-height: 400px; 
}

#col-two_home{ 
top: -40px;
margin:  0px 38px -40px 180px;
position: relative;

}

#footer{
height: 59px;
clear: both;
background-image: url(../images/footer.jpg); 
background-repeat: no-repeat;
}

#footer_home{
height: 9px;
clear: both;
}

/* 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 

I've created styles for the basic set of pages. For additional page titles, please add to these styles, following the same syntax.
Firstly we declare the images that each title will use - I've kept it alphabetical so they are easy to find */

#title_brainbuilders{
background: url(../images/titles/brain_builders.gif) no-repeat;
}
#title_calendar{
background: url(../images/titles/calendar.gif) no-repeat;
}
#title_classpages{
background: url(../images/titles/class_pages.gif) no-repeat;
}
#title_clubs{
background: url(../images/titles/school_clubs.gif) no-repeat;
}
#title_contact{
background: url(../images/titles/contact.gif) no-repeat;
}
#title_curriculum{
background: url(../images/titles/curriculum.gif) no-repeat;
}
#title_english{
background: url(../images/titles/english.gif) no-repeat;
}
#title_friendsreunion{
background: url(../images/titles/friendsreunion.gif) no-repeat;
}
#title_gallery{
background: url(../images/titles/gallery.gif) no-repeat;
}
#title_games{
background: url(../images/titles/games.gif) no-repeat;
}
#title_governors{
background: url(../images/titles/governors.gif) no-repeat;
}
#title_guestbook{
background: url(../images/titles/guestbook.gif) no-repeat;
}
#title_history{
background: url(../images/titles/history.gif) no-repeat;
}
#title_keyinformation{
background: url(../images/titles/key_information.gif) no-repeat;
}
#title_kidszone{
background: url(../images/titles/kidszone.gif) no-repeat;
}
#title_ks1links{
background: url(../images/titles/funlinks3-7s.gif) no-repeat;
}
#title_ks2links{
background: url(../images/titles/funlinks7-11s.gif) no-repeat;
}
#title_letters{
background: url(../images/titles/letters.gif) no-repeat;
}
#title_maths{
background: url(../images/titles/maths.gif) no-repeat;
}
#title_news{
background: url(../images/titles/latest_news.gif) no-repeat;
}
#title_newsletters{
background: url(../images/titles/newsletters.gif) no-repeat;
}
#title_parents{
background: url(../images/titles/linksfor_parents.gif) no-repeat;
}
#title_pta{
background: url(../images/titles/pta.gif) no-repeat;
}
#title_science{
background: url(../images/titles/science.gif) no-repeat;
}
#title_staff{
background: url(../images/titles/staff.gif) no-repeat;
}
#title_tour{
background: url(../images/titles/tour.gif) no-repeat;
}
#title_welcome{
background: url(../images/titles/welcome.gif) no-repeat;
}
#title_whoswho{
background: url(../images/titles/whoswho.gif) no-repeat;
}

#title_afterschoolclubs{
background: url(../images/titles/afterschoolclubs.gif) no-repeat;
}

/* Then we add the positional declarations:

The syntax is as follows:

In the Xhtml:

<h2 id=title_welcome> Welcome </h2>

In the CSS:

height = height of your widest image,
width =  width of your largest image,
margin = 0 auto to center the box in which our title sits.
text-align = center / left / right etc depending on where you wish the text to show,
text-indent = -5000px if you want to push the text off the screen, and only have the image showing.
background-image = set this to none if you dont want background images to show (but dont forget to remove the text-indent else nothing will show up).
*/

#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_afterschoolclubs
{position: relative;
top: 13px;
height: 50px; 
text-align:left; 
width: 245px;  
text-indent: -5000px;
margin: 0;
}


/* (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:#FFFF00;
text-decoration: none;
}
a:visited {
color:#FFFF00;
text-decoration: none;
}
a:focus{
color:#FFFF00;
text-decoration: none;
border: none;
}
a:hover{
color:#FF0000;
text-decoration: underline;
}
a:active{
color:#FFFF00;
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: #330099;
list-style-type: none;
display: inline;
height: 2em;
padding: 5px;
}
#bottomlinks a{
text-decoration: none;
color: #3366CC;
border-bottom: 1px solid #330099;
}
#bottomlinks a:hover{
color: #FF0000;
}


/* (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*/
#fader{
position: absolute;
left: 6px;
top: 22px;
width: 413px;
height: 171px;
overflow: hidden;
}

/* #newsbox acts as a container for the news */
#newsbox{
position: absolute;
top: -85px;
left: 390px;
background-image: url(../images/newsbox.gif);
background-repeat: no-repeat;
width: 200px;
height: 115px;
overflow: hidden;
color: #000000;
text-align: center;
}

#newsbox a{
font-size: 0.9em;
color: #ffffff;
}
#newsbox a:hover{
font-size: 0.9em;
color: #ffff00;
}

/* #hometext contains the welcome message */
#hometext{
position: absolute;
left: 0px;
top: 0px;
width: 500px;
text-align: center;
}

/* #diarydatesbox acts as a 
container for the homepage calendar */
#diarydatesbox{
position: absolute;
top: 0px;
left: 0px;
width: 300px;
height: 300px;
}

#hitcountbox{
position: absolute;
width: 230px;
height: 45px;
left: 370px;
top: 240px;
text-align:center;
z-index:100;
}

#hitcountbox img{
margin-left: -3px;
}

/* Teasers */

#teaserbox ul li { display: inline; padding: 0; list-style-type: none;}

li.classpageshome a{
position: absolute;
width: 135px;
height: 133px;
display: block;
background: url(../images/teasers/classpages.jpg) no-repeat;
overflow: hidden;
left: 263px;
top: 253px;
text-indent: -5000px;
}
li.classpageshome a:hover{
background-position: -135px 0;
} 

li.galleryhome a{
position: absolute;
width: 133px;
height: 131px;
display: block;
background: url(../images/teasers/gallery.jpg) no-repeat;
overflow: hidden;
left: 135px;
top: 253px;
text-indent: -5000px;
}
li.galleryhome a:hover{
background-position: -131px 0;
} 

li.kidszonehome a{
position: absolute;
width: 128px;
height: 133px;
display: block;
background: url(../images/teasers/kidszone.jpg) no-repeat;
overflow: hidden;
left: -6px;
z-index: 5000;
top: 253px;
text-indent: -5000px;
}

li.kidszonehome a:hover{
background-position: -128px 0;
} 


/* (5) Kids' Zone */

/* To style "back to" text */
.back_to{
text-align: left;
font-weight: bold;
padding-top: 5px;
padding-bottom: 5px;
} 

#kidsbgbox{
width: 454px;
height: 322px; 
margin: 0 auto;
}

#kidsbgbox ul li { display: inline; padding: 0; list-style-type: none;}

li.kgames a{
	position: absolute;
	width: 94px;
	height: 94px;
	display: block;
	background: url(../images/kidszoneimages/games.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 94px;
	top: 163px;
	text-indent: -5000px;
}
li.kgames a:hover{
background-position: -94px 0;
} 

 

li.ks2links a{
	position: absolute;
	width: 132px;
	height: 98px;
	display: block;
	background: url(../images/kidszoneimages/ks2links.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 314px;
	top: 161px;
	text-indent: -5000px;
}
li.ks2links a:hover{
background-position: -132px 0;
} 

li.english a{
	position: absolute;
	width: 113px;
	height: 93px;
	display: block;
	background: url(../images/kidszoneimages/english.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 27px;
	top: 269px;
	text-indent: -5000px;
}
li.english a:hover{
background-position: -113px 0;
} 

li.history a{
	position: absolute;
	width: 120px;
	height: 91px;
	display: block;
	background: url(../images/kidszoneimages/history.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 398px;
	top: 270px;
	text-indent: -5000px;
}
li.history a:hover{
background-position: -120px 0;
} 

li.science a{
	position: absolute;
	width: 124px;
	height: 96px;
	display: block;
	background: url(../images/kidszoneimages/science.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 261px;
	top: 268px;
	text-indent: -5000px;
}
li.science a:hover{
background-position: -124px 0;
} 

li.maths a{
	position: absolute;
	width: 99px;
	height: 91px;
	display: block;
	background: url(../images/kidszoneimages/maths.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 151px;
	top: 269px;
	text-indent: -5000px;
}
li.maths a:hover{
background-position: -99px 0;
} 

li.brain a{
	position: absolute;
	width: 111px;
	height: 97px;
	display: block;
	background: url(../images/kidszoneimages/brain.jpg) no-repeat;
	overflow: hidden;
	font-weight: bold;
	left: 197px;
	top: 159px;
	text-indent: -5000px;
}
li.brain a:hover{
background-position: -111px 0;
}

/* (6)  Classpages and Year Groups */


#classbgbox {position:relative; margin: 0; top: 0px; left: 0px;
height: 420px;} /* For classpage background image, and also used to force height on classpage */

#classbgbox ul li { display: inline; padding: 0; list-style-type: none; position: absolute; margin: 0; top: 0px; left: 0px;}


li.nursery a,
li.foundation a,
li.foundation1 a,
li.foundation2 a,
li.foundation3 a,
li.year1 a,
li.year2 a,
li.year3 a,
li.year4 a,
li.year5 a,
li.year6 a,
li.year7 a{
overflow: hidden;
position: absolute;
text-indent: -5000px;
width: 124px;
height: 95px;
display: block;
}



li.nursery a {
	background: url(../images/classpages/3k.gif) no-repeat;
	left: 40px;
	top: 0px;
}


li.foundation a {
	background: url(../images/classpages/3t.gif) no-repeat;
	left: 188px;
	top: 0px;
}

li.foundation1 a {
	background: url(../images/classpages/3r.gif) no-repeat;
	left: 340px;
	top: 4px;
}

li.foundation2 a {
	background: url(../images/classpages/4s.gif) no-repeat;
	left: 188px;
	top: 120px;
}

li.foundation3 a {
	background: url(../images/classpages/4t.gif) no-repeat;
	left: 32px;
	top: 115px;
}

li.year1 a {
	background: url(../images/classpages/4hs.gif) no-repeat;
	left: 340px;
	top: 120px;
}

li.year2 a {
	background: url(../images/classpages/5s.gif) no-repeat;
	left: 40px;
	top: 230px;
}
li.year3 a {
	background: url(../images/classpages/5l.gif) no-repeat;
	left: 340px;
	top: 230px;
}
li.year4 a {
	background: url(../images/classpages/5dr.gif) no-repeat;
	left: 193px;
	top: 232px;
}
li.year5 a {
	background: url(../images/classpages/6l.gif) no-repeat;
	left: 42px;
	top: 345px;
}
li.year6 a {
	background: url(../images/classpages/6o.gif) no-repeat;
	left: 338px;
	top: 345px;
}
li.year7 a {
	background: url(../images/classpages/6p.gif) no-repeat;
	left: 188px;
	top: 345px;
}


li.nursery a:hover,
li.foundation a:hover,
li.foundation1 a:hover,
li.foundation2 a:hover,
li.foundation3 a:hover,
li.year1 a:hover,
li.year2 a:hover,
li.year3 a:hover,
li.year4 a:hover,
li.year5 a:hover,
li.year6 a:hover,
li.year7 a:hover{
background-position: -124px 0;
}




/* (7) Primarysite CMS specific styles */

.sectionheading {
color:#000066;
}

#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;}

IFRAME{
position: relative;
left: -2px;
}
