/* Generic Default CSS */

/* TITLE OF SCHOOL GOES IN HERE */

/* PrimarySchool CSS v1.91 */
/* Basic CSS Framework */

/* 
(c) 2006 Robert Willie.
30 November 2006.
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
	

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* Navigation Styles 

Firstly we need to link to our nav type :-)

Delete link to stylesheet that is not required - Edit stylesheet that is required. */

@import url(../styles/popup_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-repeat: repeat-x;
background-image: url(images/bg_body.gif);
background-color: #006cff;
}

#header{
height: 128px;
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;
background-color: #fce68f;
width: 784px;
position: relative;
top: 0px;
background-image: url(../images/container_bg.gif);
background-repeat: repeat-y;
}

#container2{
margin: 0px auto;
width: 784px;
position: relative;
background-image: url(../images/watermark.gif); 
background-repeat: no-repeat;
background-position: top left;
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: 105px;
left: 3px;
width: 130px;
margin: 0px 0px 0px 0px;
padding: 0px;
padding-top: 10px;
height: 154px;
z-index:10;
}

#col-two{ 
top: 0px;
margin:  0px 15px 20px 145px;
padding: 0px 0px 0px 0px;
position: relative;
min-height: 325px; 
}

#footer{
clear: both;
height: 15px;
background-image: url(../images/footer.gif);
background-repeat:no-repeat;
background-color: #006cff;
}

#awards{
margin: 0 auto;
background-image:url(../images/awards.gif);
background-repeat:no-repeat;
width: 605px;
height: 93px;
}


/* 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/brainbuilders.gif) no-repeat;
}
#title_calendar{
background: url(../images/titles/calendar.gif) no-repeat;
}
#title_classpages{
background: url(../images/titles/classpages.gif) no-repeat;
}
#title_clubs{
background: url(../images/titles/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/keyinformation.gif) no-repeat;
}
#title_kidszone{
background: url(../images/titles/kidszone.gif) no-repeat;
}
#title_ks1links{
background: url(../images/titles/ks1links.gif) no-repeat;
}
#title_ks2links{
background: url(../images/titles/ks2links.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/news.gif) no-repeat;
}
#title_newsletters{
background: url(../images/titles/newsletters.gif) no-repeat;
}
#title_parents{
background: url(../images/titles/parents.gif) no-repeat;
}
#title_parentgroups{
background: url(../images/titles/parentgroups.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_seal{
background: url(../images/titles/seal.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_yeargroups{
background: url(../images/titles/yeargroups.gif) no-repeat;
}
#title_international{
background: url(../images/titles/internationalschools.gif) no-repeat;
}
#title_eco{
background: url(../images/titles/eco.gif) no-repeat;
}
#title_kinghistory{
background: url(../images/titles/kinghistory.gif) no-repeat;
}
#title_Attendance{
background: url(../images/titles/attendance.gif) no-repeat;
}
#title_Investors{
background: url(../images/titles/investors.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 as we want this to be in the middle of the box,
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_Attendance,
#title_eco,
#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_Investors,
#title_keyinformation,
#title_kidszone,
#title_kinghistory,
#title_ks1links,
#title_ks2links,
#title_letters,
#title_maths,
#title_news,
#title_newsletters,
#title_parents,
#title_parentgroups,
#title_pta,
#title_science,
#title_staff,
#title_seal,
#title_tour,
#title_welcome,
#title_whoswho,
#title_yeargroups,
#title_international
{height: 50px; 
text-align:center; 
width: 252px; 
margin: 0 auto; 
text-indent: -5000px;}

#title_kinghistory {
width:446px;
}

#title_seal{
height: 65px;
width: 446px;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (3)  Accessibility and General Navigation 

I'm not an accesssibility expert, but here are some styles which are used in conjunction with the alternative style sheets for accessibility purposes.
All edits made in here affect how things look in the standard view. However, these styles come into their own in the accessible views.

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. 

Display none has been known to remove content from screen readers..

.hidden_item is used to remove items from display in the normal view, but these items will show up in the "accessible" views.
*/

.hidden_item{
display:none;
}

.hiddenheadtext{
display: none;
}

#loginbox{
text-align:center;
padding: 5px;
}

/* .accesstext is used to style the accesskey text. For example, we can hide the accesskey text from the normal view, but show it the alternative views */

.accesstext{
display: none;
}

#accessie {
display: none;
}
/* This style is for IE to fix an issue with accesskeys and pop up menus (please see style sheet for information) . It's property is given in the IE specific style sheet, but set to display none here as we dont want it to show */

 
#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{
color: #660099;
text-decoration: none;
}


a:hover{
color: #660033;
text-decoration: underline;
}


/* 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: #FFFFFF;
font-weight: bold;
padding: 5px;
list-style-type: none;
display: inline;
}
#bottomlinks a{
text-decoration: none;
color: #FFFFFF;
padding-left: 5px;
border-left: 2px solid #FFFFFF;
}
#bottomlinks a:hover{
text-decoration: none;
color:#990000;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (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: -3px;
top: -12px;
width: 350px;
height: 350px;
z-index: 0;
}

/* #newsbox acts as a container for the news */
#newsbox{
position: absolute;
top: 158px;
left: 341px;
background-image: url(../images/newsbox.gif);
background-repeat: no-repeat;
width: 270px;
height: 158px;
z-index: 10;
color: #0c9100;
text-align: left;
padding-top: 45px;
padding-left: 10px;
padding-right: 30px;
}

#newsbox a{
color: #0c9100;
}
#newsbox a:hover{
color: #0099CC;
}

/* #hometext is where the main copy text goes */
#hometext{
	position: absolute;
	left: 340px;
	background-image:url(../images/hometext.gif);
	background-repeat:no-repeat;
	top: 1px;
	width: 285px;
	text-align: center;
	height: 157px;
	z-index: 9;
}

/* #diarydatesbox acts as a container for the calendar */
#diarydatesbox{
position: absolute;
top: 40px;
left: 161px;
width: 243px;
height: 91px;
z-index: 0;
}

#hitcountbox{
position: absolute;
width: 134px;
height: 88px;
left: -141px;
top: 250px;
text-align:center;
background-image:url(../counter_images/visits.gif);
background-repeat:no-repeat;
padding-top: 20px;
}

/* The following is a rather cool way to do hoverable links. Please see the info.doc, and read the bit about "cool image hovers" */

#teaserbox ul li { display: inline; padding: 0; list-style-type: none;}

li.classpageshome a{
position: absolute;
width: 140px;
height: 110px;
display: block;
background: url(../images/teasers/classpages.gif) no-repeat;
overflow: hidden;
left: 8px;
top: 214px;
text-indent: -5000px;
}
li.classpageshome a:hover{
background-position: -140px 0;
} 

li.tourhome a{
position: absolute;
width: 150px;
height: 115px;
display: block;
background: url(../images/teasers/tour.gif) no-repeat;
overflow: hidden;
left: 319px;
top: 218px;
text-indent: -5000px;
}
li.tourhome a:hover{
background-position: -150px 0;
} 

li.galleryhome a{
position: absolute;
width: 163px;
height: 68px;
display: block;
background: url(../images/teasers/galleryhome.gif) no-repeat;
overflow: hidden;
left: 340px;
top: 64px;
text-indent: -5000px;
}
li.galleryhome a:hover{
background-position: -163px 0;
} 

li.kidszonehome a{
position: absolute;
width: 150px;
height: 115px;
display: block;
background: url(../images/teasers/kidszone.gif) no-repeat;
overflow: hidden;
left: 158px;
top: 219px;
text-indent: -5000px;
}

li.kidszonehome a:hover{
background-position: -150px 0;
} 



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (5) Kids' Zone */


.back_to{
text-align:left;
font-weight:bold;
padding-top:10px;
} /* To style "back to" text */


#kidsbgbox{
background-image: url(../images/kidszoneimages/kidszonebg.gif); 
background-repeat: no-repeat; 
width: 500px;
height: 300px; 
margin: 0 auto;
}

#kidsbgbox ul li { display: inline; padding: 0; list-style-type: none;}

li.kgames a{
position: absolute;
width: 129px;
height: 147px;
display: block;
background: url(../images/kidszoneimages/games.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 63px;
top: 63px;
text-indent: -5000px
}
li.kgames a:hover{
background-position: -130px 0;
} 

li.ks1links a{
position: absolute;
width: 128px;
height: 152px;
display: block;
background: url(../images/kidszoneimages/ks1links.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 70px;
top: 210px;
text-indent: -5000px
}
li.ks1links a:hover{
background-position: -128px 0;
} 

li.ks2links a{
position: absolute;
width: 140px;
height: 134px;
display: block;
background: url(../images/kidszoneimages/ks2links.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 200px;
top: 215px;
text-indent: -5000px
}
li.ks2links a:hover{
background-position: -140px 0;
} 

li.english a{
position: absolute;
width: 130px;
height: 147px;
display: block;
background: url(../images/kidszoneimages/english.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 193px;
top: 70px;
text-indent: -5000px
}
li.english a:hover{
background-position: -130px 0;
} 

li.history a{
position: absolute;
width: 115px;
height: 153px;
display: block;
background: url(../images/kidszoneimages/history.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 447px;
top: 63px;
text-indent: -5000px
}
li.history a:hover{
background-position: -115px 0;
} 

li.science a{
position: absolute;
width: 107px;
height: 140px;
display: block;
background: url(../images/kidszoneimages/science.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 453px;
top: 213px;
text-indent: -5000px
}
li.science a:hover{
background-position: -107px 0;
} 

li.maths a{
position: absolute;
width: 109px;
height: 152px;
display: block;
background: url(../images/kidszoneimages/maths.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 332px;
top: 63px;
text-indent: -5000px
}
li.maths a:hover{
background-position: -114px 0;
} 

li.brain a{
position: absolute;
width: 110px;
height: 133px;
display: block;
background-image: url(../images/kidszoneimages/brain.gif);
background-repeat:no-repeat;
overflow: hidden;
font-weight: bold;
left: 341px;
top: 215px;
text-indent: -5000px
}
li.brain a:hover{
background-position: -110px 0;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (6)  Classpages and Year Groups */


#classbox ul li { display: inline; padding: 0; list-style-type: none;}


.classicontext{
font-weight: bold;
font-size: x-small;
padding-top: 90px;
z-index:2;
text-align: center;
}

li.foundation a {
width: 154px;
display: block;
background: url(../images/classpages/foundation.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 367px;
top: 66px;
}
li.foundation a:hover {
background-position: -147px 0;
} 

li.nursery a {
width: 147px;
display: block;
background: url(../images/classpages/nursery.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 81px;
top: 55px;
}
li.nursery a:hover {
background-position: -147px 0;
}

li.reception a {
width: 147px;
display: block;
background: url(../images/classpages/reception.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 367px;
top: 66px;
}
li.reception a:hover {
background-position: -147px 0;
}

li.year1 a {
width: 147px;
display: block;
background: url(../images/classpages/year1.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 236px;
top: 56px;
}
li.year1 a:hover {
background-position: -147px 0;
} 

li.year2 a {
width: 147px;
display: block;
background: url(../images/classpages/year2.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 311px;
top: 56px;
}
li.year2 a:hover {
background-position: -147px 0;
} 

li.year3 a {
width: 147px;
display: block;
background: url(../images/classpages/year3.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 392px;
top: 57px;
}
li.year3 a:hover {
background-position: -147px 0;
}

li.year4 a {
width: 147px;
display: block;
background: url(../images/classpages/year4.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 156px;
top: 192px;
}
li.year4 a:hover {
background-position: -147px 0;
}
li.year5 a {
width: 147px;
display: block;
background: url(../images/classpages/year5.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 314px;
top: 192px;
}
li.year5 a:hover {
background-position: -147px 0;
}

li.year6 a {
width: 147px;
display: block;
background: url(../images/classpages/year6.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 471px;
top: 193px;
}
li.year6 a:hover {
background-position: -147px 0;
}

li.year7 a {
width: 147px;
display: block;
background: url(../images/classpages/year7.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 1px;
top: 190px;
}
li.year7 a:hover {
background-position: -147px 0;
}

li.year8 a {
width: 147px;
display: block;
background: url(../images/classpages/year8.gif) no-repeat;
overflow: hidden;
font-weight: bold;
position: absolute;
left: 367px;
top: 66px;
}
li.year8 a:hover {
background-position: -147px 0;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* (7) Primarysite CMS specific styles */

.sectionheading {
color: #FF0000;
}

#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;
}


#bottomlinks a {
color: #FFFFFF;
}
#bottomlinks a:hover {
color: #FFFF00;
}

