/* 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/popup_nav.css);



/*(1)  General Page layout */ 

html,body{
margin: 0 auto;
padding: 0px;
font-family: Tahoma, Trebuchet MS, Arial, Helvetica, sans-serif;
font-size: medium;
color:#333333;
background-color: #FFFFFF;
}

#header{
position: relative;
top: 0px;
margin: 0 auto;
padding: 0px;
height: 319px;
z-index: 10;
}
/*
#inner-header{
position: absolute;
top: 0px;
left: 0px;
margin: 0 auto;
padding: 0;
height: 100px;
z-index: 100; 
}
*/
#inner-header{
display: none;
}

#green-bar {
position: relative;
top: 250px;
left: 6px;
margin: 0 auto;
padding: 0;
height: 100px;
background-image: url(../images/green-bar.gif);
background-repeat: no-repeat;
}

#pceb { /*Page content edit button for header image*/
position: absolute;
top: 38px;
margin: 0 auto;
padding: 0;
left: -9px;
height: 16px;
width: 16px;
z-index: 100;
}



#pci { /* Page Content editable Header image*/
position: absolute;
top: 5px;
left: 9px;
margin: 0 auto;
padding: 0;
height: 240px;
width: 853px;
overflow: hidden;
background: url(../images/headermask.png) no-repeat;
z-index: 500;}

#pci-inner { /* Page Content editable Header image*/
position: absolute;
top: 10px;
left: 14px;
margin: 0 auto;
padding: 0;
height: 230px;
width: 843px;
overflow: hidden;
}

#pci-inner p {padding: 0; margin: 0;}



#adi{
	position: relative;
	top: 17px;
	left: 10px;
	background-image: none;
	background-repeat: no-repeat;
	width: 500px;
	color: #333333;
	text-align: left;
	font-size:  small;
}

#adi a{
color: #333333;
}
#adi a:hover{
color: #FF6600;
}

/* #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: 870px;
position: relative;
top: 0px;
}

#container2{
margin: 0px auto;
width: 870px;
position: relative;
top: 5px;
border: 1px solid #b7cfe5;
}

/* #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: 324px;
left: 34px;
width: 870px;
margin: 0 auto;
padding: 0px;
height: 39px;
z-index: 100
}

#col-two{ 
top: 0px;
margin:  60px 65px 20px 100px;
padding: 0px;
position: relative;
min-height: 250px; 
}


#footer{
height: 110px;
clear: both;
padding: 0;
}



#title_projects{
background: url(../images/titles/projects.gif) no-repeat;
}
#title_community{
background: url(../images/titles/community.gif) no-repeat;
}
#title_vacancies{
background: url(../images/titles/vacancies.gif) no-repeat;
}
#title_access{
background: url(../images/titles/access.gif) no-repeat;
}
#title_sitemap{
background: url(../images/titles/sitemap.gif) no-repeat;
}
#title_childprotection{
background: url(../images/titles/protection.gif) no-repeat;
}
#title_disclaimer{
background: url(../images/titles/disclaimer.gif) no-repeat;
}
#title_siteprivacy{
background: url(../images/titles/privacy.gif) no-repeat;
}
#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_pta{
background: url(../images/titles/pta.gif) no-repeat;
}
#title_privategovernors{
background: url(../images/titles/privategovernors.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_vacancies,

#title_community,
#title_access,
#title_sitemap,

#title_disclaimer,
#title_siteprivacy,
#title_brainbuilders,
#title_calendar,
#title_classpages,
#title_clubs,
#title_contact,
#title_curriculum,
#title_english,
#title_gallery,
#title_games,
#title_governors,
#title_guestbook,
#title_history,
#title_keyinformation,
#title_kidszone,
#title_ks1links,
#title_ks2links,
#title_letters,
#title_maths,
#title_newsletters,
#title_parents,
#title_pta,
#title_privategovernors,
#title_science,
#title_staff,
#title_tour,
#title_welcome,
#title_whoswho
{height: 33px; 
text-align: left; 
width: 260px; 
height: 55px;
margin: 0 0; 
top: 0px;
left: 0px;
position: relative;
text-indent: -5000px;}

#title_childprotection,
#title_projects,
#title_friendsreunion,
#title_news
{height: 33px; 
text-align: left; 
width: 295px; 
height: 55px;
margin: 0 0; 
top: 0px;
left: 0px;
position: relative;
text-indent: -5000px;}

/* (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: #ED4214;
text-decoration: none;
}
a:visited {
color:#ED4214;
text-decoration: none;
}

a:hover{
color: #2A43B0;
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: #3399FF;
list-style-type: none;
display: inline;
height: 2em;
padding: 5px;
}
#bottomlinks a{
text-decoration: none;
color: #3399FF;
border-bottom: 2px dotted;
}

#bottomlinks a:hover{
color: #FF6600;
}

.privitegovlink{
position: absolute;
background: url(../images/privategov2.jpg);
background-repeat: no-repeat;
width: 160px;
height: 42px;
text-indent: -5000px;
left:-5px;
}

:hover.privitegovlink {
background-position: -161px;

}


/* (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: 0px;
top: 0px;
width: 266px;
height: 194px;
overflow: hidden;
}

/* #newsbox acts as a container for the news */
#newsbox{
position: absolute;
top: 18px;
left: 470px;
background: url(../images/news-home.gif) center top no-repeat;
padding-top: 45px;
width: 245px;
height: 189px;
color: #000000;
text-align: center;
}

#newsbox a{
color: #FF6600;
}
#newsbox a:hover{
color: #990000;
}

/* #hometext contains the welcome message */
#hometext{
	position: absolute;
	left: -30px;
	top: 48px;
	width: 450px;
	text-align: left;
	font-weight: bold;
	color: #666666;
}
/* #diarydatesbox acts as a 
container for the homepage calendar */
#diarydatesbox{
position: absolute;
top: 0px;
left: 0px;
width: 300px;
height: 300px;
}

#hitcountbox{
position: relative;
margin: 0 auto;
width: 140px;
height: 27px;
top: 0px;
text-align: center;
}

/* Teasers */

#teaserbox ul li { display: inline; padding: 0; list-style-type: none;}

li.classpageshome a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/teasers/classpages.gif) no-repeat;
overflow: hidden;
left: 0px;
top: 0px;
text-indent: -5000px;
}
li.classpageshome a:hover{
background-position: -100px 0;
} 

li.tourhome a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/teasers/tour.gif) no-repeat;
overflow: hidden;
left: 0px;
top: 0px;
text-indent: -5000px;
}
li.tourhome a:hover{
background-position: -100px 0;
} 

li.galleryhome a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/teasers/gallery.gif) no-repeat;
overflow: hidden;
left: 0px;
top: 0px;
text-indent: -5000px;
}
li.galleryhome a:hover{
background-position: -100px 0;
} 

li.kidszonehome a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/teasers/kidszone.gif) no-repeat;
overflow: hidden;
left: 0px;
top: 0px;
text-indent: -5000px;
}

li.kidszonehome a:hover{
background-position: -100px 0;
} 


/* (5) Kids' Zone */

/* To style "back to" text */
.back_to{
text-align: left;
font-weight: bold;
padding-top: 5px;
padding-bottom: 5px;
} 

#kidsbgbox{
background-image: url(../images/kidszoneimages/kidszonebg.gif); 
background-repeat: no-repeat; 
width: 555px;
height: 570px; 
margin: 0 auto;
}

#kidsbgbox ul li { display: inline; padding: 0; list-style-type: none;}

li.kgames a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/games.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 430px;
top: 240px;
text-indent: -5000px;
}
li.kgames a:hover{
background-position: -143px 0;
} 


li.ks1links a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/ks1links.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 400px;
top: 330px;
text-indent: -5000px;
}
li.ks1links a:hover{
background-position: -143px 0;
} 


li.ks2links a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/ks2links.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 280px;
top: 250px;
text-indent: -5000px;
}
li.ks2links a:hover{
background-position: -143px 0;
} 

li.english a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/english.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 270px;
top: 150px;
text-indent: -5000px;
}
li.english a:hover{
background-position: -143px 0;
} 

li.history a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/history.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 140px;
top: 170px;
text-indent: -5000px;
}
li.history a:hover{
background-position: -143px 0;
} 

li.science a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/science.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 110px;
top: 240px;
text-indent: -5000px;
}
li.science a:hover{
background-position: -143px 0;
} 

li.maths a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/maths.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 160px;
top: 320px;
text-indent: -5000px;
}
li.maths a:hover{
background-position: -143px 0;
} 

li.brain a{
position: absolute;
width: 143px;
height: 55px;
display: block;
background: url(../images/kidszoneimages/brain.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 400px;
top: 165px;
text-indent: -5000px;
}
li.brain a:hover{
background-position: -143px 0;
}



#staffpages{
position: relative;
width: 500px;
height: 130px; 
margin: 0 auto;
}

#staffpages ul li { display: inline; padding: 0; list-style-type: none;}

#staffpages ul li a {
position: absolute;
width: 155px;
height: 36px;
display: block;
overflow: hidden;
font-weight: bold;
text-indent: -5000px;
}

#staffpages ul li a:hover {background-position: -155px 0;}

li.staffpol a{
background: url(../images/staff/staffpol.gif) no-repeat;
left: 0px; top: 0px;
}
li.staffprof a{
background: url(../images/staff/staffprof.gif) no-repeat;
left: 170px; top: 0px;
}
li.staffcomm a{
background: url(../images/staff/staffcomm.gif) no-repeat;
left: 340px; top: 0px;
}
li.stafflinks a{
background: url(../images/staff/stafflinks.gif) no-repeat;
left: 85px; top: 60px;
}
li.staffsoon a{
background: url(../images/staff/staffsoon.gif) no-repeat;
left: 255px; top: 60px;
}












/* (7) Primarysite CMS specific styles */

.sectionheading {
color: #009900;
}


#Guestbook {
border: #777777 solid thick;
}
#Guestbook .sort{
background-color: #777777;
}
#Guestbook .sort a{
color: #FFBA4F;
}
#Guestbook .sort a:hover{
color:#FFBA4F;
}
#Guestbook .allowdeny {
color: #FFBA4F;
background-color: #777777;
}
#Guestbook .allowdeny a{
color: #FFBA4F;
}
#Guestbook .allowdeny a:hover{
color:#FFBA4F;
}
#Guestbook .guest {
background-color: #DDDDDD;
}
#Guestbook .message {
background-color: #FFFFFF;
}

/* For the SiteMap */
#sitemap ul li {font-weight: bold;}
#sitemap ul li a {font-weight: normal; background-image: none; text-indent: 0px; position: relative; width: 100%; height: 100% !important;}
#classpages ul li {font-weight: bold;}
#classpages ul li a {font-weight: normal; background-image: none; text-indent: 0px; position: relative; width: 100%; height: 100% !important;}






#termeventslatest .latesttitle , #termevents .latesttitle { 
	color: #FFFFFF;
	background-color: #E96500;
}
#termeventslatest .latest , #termevents .latest { 
	background-color: #FFD98F;
}



#termeventslatest .termheader , #termevents .termheader { 
	color: #FFFFFF;
	background-color: #777777;
}
#termeventslatest .eventarea , #termevents .eventarea { 
	background-color: #DFDFDF;
}

 
#newsbox a {
font-weight: bold;
font-size: 12px;
margin: 0px;

}

#newsbox {
top :14;
}

p.newstitlehome {
margin :5px;}



div#ticker a#EditButton{z-index:100!important}/* Forces the ticker edit button above the text */
#ticker {
position: absolute;
top:240px;
left:-30px;
width:300px;
}

