/* 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;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
background-image: url(../images/page_bg.gif);
background-repeat: repeat-x;
color:#286C23;
background-color: #F12A2A;
}

#header{
height: 149px;
background-image: url(../images/header.jpg);
background-repeat: no-repeat;
}

#headerhome{
height: 149px;
background-image: url(../images/headerhome.gif);
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: 784px;
position: relative;
top: 0px;
background-image: url(../images/container_bg.gif);
background-repeat: repeat-y;
}

#homecontainer{
margin: 0px auto;
width: 784px;
position: relative;
top: 0px;
background-image: url(../images/homecontainer_bg.gif);
background-repeat: none;
}

#container2{
margin: 0px auto;
width: 784px;
position: relative;
background-image: url(../images/watermark.gif); 
background-repeat: no-repeat;
background-position: top right;
top: 0px;
}

#container2{
margin: 0px auto;
width: 784px;
position: relative;
background-image: url(../images/watermark.gif); 
background-repeat: no-repeat;
background-position: top right;
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: 0px;
left: 0px;
width: 167px;
margin: 0px 0px 0px 0px;
background-image: url(../images/nav_bg.gif);
background-repeat: none;
padding: 0px;
padding-top: 230px;
height: 220px;
}

#homecol-one{
position: absolute;
top: 0px;
left: 0px;
width: 167px;
margin: 0px 0px 0px 0px;
background-image: none;
background-repeat: none;
padding: 0px;
padding-left: 0px;
padding-top: 230px;
height: 350px;
}

#col-two{ 
top: 0px;
margin:  0px 15px 20px 181px;
padding: 10px 0px 0px 0px;
position: relative;
min-height: 300px; 
}


#homecol-two{ 
top: 10px;
margin:  0px 15px 20px 181px;
padding: 10px 0px 0px 0px;
position: relative;
min-height: 360px; 
}

#footer{
height: 64px;
clear: both;
background-image: url(../images/footer.gif); 
background-repeat: no-repeat;
}

#homefooter{
height: 27px;
clear: both;
background-image: none; 
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:  
<MM:BeginLock translatorClass="MM_SSI" type="ssi_comment" orig="%3C!-- #include file=%22../special_includes/randoms.asp%22 --%3E" fileRef="../special_includes/randoms.asp" depFiles="file:///C|/Documents and Settings/rossoliver/My Documents/oldpc/schoolsites/localsites/widcombe/special_includes/randoms.asp"><div id="randoms" class="hide_access">
<%
RANDOMIZE
Small = 1
High = 6
RandomNumber = INT((High-Small+1)*Rnd+Small)
SELECT CASE RandomNumber
CASE "1"%>
<img src="../images/randoms/1.jpg" alt="Anytown Primary School" title="Anytown Primary School"/>
<%CASE "2"%>
<img src="../images/randoms/2.jpg" alt="Anytown Primary School" title="Anytown Primary School"/>
<%CASE "3"%>
<img src="../images/randoms/3.jpg" alt="Anytown Primary School" title="Anytown Primary School"/>
<%CASE "4"%>
<img src="../images/randoms/4.jpg" alt="Anytown Primary School" title="A
*/

#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_council{
background: url(../images/titles/council.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_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_english-cur{
background: url(../images/titles/english_curric.gif) no-repeat;
}
#title_maths-cur{
background: url(../images/titles/maths_curric.gif) no-repeat;
}
#title_science-cur{
background: url(../images/titles/science_curric.gif) no-repeat;
}
#title_geography-cur{
background: url(../images/titles/geography_curric.gif) no-repeat;
}
#title_history-cur{
background: url(../images/titles/history_curric.gif) no-repeat;
}
#title_art-cur{
background: url(../images/titles/art_curric.gif) no-repeat;
}
#title_dt-cur{
background: url(../images/titles/dt_curric.gif) no-repeat;
}
#title_music-cur{
background: url(../images/titles/music_curric.gif) no-repeat;
}
#title_ict-cur{
background: url(../images/titles/ict_curric.gif) no-repeat;
}
#title_pe-cur{
background: url(../images/titles/pe_curric.gif) no-repeat;
}
#title_french-cur{
background: url(../images/titles/french_curric.gif) no-repeat;
}
#title_re-cur{
background: url(../images/titles/re_curric.gif) no-repeat;
}
#title_pshe-cur{
background: url(../images/titles/pshe_curric.gif) no-repeat;
}
#title_houses{
background: url(../images/titles/houses.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_houses,
#title_brainbuilders,
#title_calendar,
#title_classpages,
#title_clubs,
#title_contact,
#title_council,
#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_english-cur,
#title_maths-cur,
#title_science-cur,
#title_geography-cur,
#title_history-cur,
#title_art-cur,
#title_dt-cur,
#title_music-cur,
#title_ict-cur,
#title_pe-cur,
#title_french-cur,
#title_re-cur,
#title_pshe-cur
{height: 39px; 
text-align: left; 
width: 448px; 
margin: 0px 2px 0px -5px; 
padding: 0px 0px 0px 0px;
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: #0066FF;
text-decoration: none;
}
a:visited {
color:#0066FF;
text-decoration: none;
}
a:hover{
color: #A61010;
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: #FEEA8E;
list-style-type: none;
display: inline;
height: 2em;
}
#bottomlinks a{
text-decoration: none;
color: #FEEA8E;
border-bottom: none;
}
#bottomlinks a:hover{
color: #A61010;
border-bottom: 2px dotted;
}



/* (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*/
#image{
position: absolute;
left: 289px;
top: -11px;
background-image: url(../images/homeimage.jpg);
background-repeat: no-repeat;
width: 314px;
height: 402px;
overflow: hidden;
}

/* #newsbox acts as a container for the news */
#newsbox{
position: absolute;
top: 130px;
left: 10px;
background-image: url(../images/newsbox.gif);
background-repeat: no-repeat;
width: 250px;
height: 77px;
color: #000000;
text-align: left;
}

#newsbox a{
color: #990000;
}
#newsbox a:hover{
color: #990000;
}

/* #hometext contains the welcome message */
#hometext{
	position: absolute;
	left: -5px;
	top: 20px;
	width: 300px;
	text-align: left;
	color: #FFFFFF;
	font-weight: bold;
}

#tourtext{
	position: absolute;
	left: 10px;
	top: 250px;
	width: 300px;
	text-align: left;
	color: #FFFFFF;
	font-weight: normal;
	z-index: 100;
}

#contacttext{
	position: absolute;
	left: 10px;
	top: 310px;
	width: 200px;
	text-align: left;
	color: #FFFFFF;
	font-weight: normal;
}

/* #diarydatesbox acts as a 
container for the homepage calendar */
#diarydatesbox{
position: absolute;
top: 0px;
left: 0px;
width: 300px;
height: 300px;
}

#hitcountbox{
position: absolute;
width: 145px;
height: 44px;
left: -167px;
top: 365px;
text-align: center;
}
#hitcountbox img{
margin-left: -2px;
}

/* 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: 249px;
height: 69px;
display: block;
background: url(../images/teasers/tour.gif) no-repeat;
overflow: hidden;
left: 0px;
top: 223px;
text-indent: -5000px;
}
li.tourhome a:hover{
background-position: -249px 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.jpg); 
background-repeat: no-repeat; 
width: 550px;
height: 600px; 
margin: 0 auto;
}

#kidsbgbox ul li { display: inline; padding: 0; list-style-type: none;}

li.kgames a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/games.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 385px;
top: 260px;
text-indent: -5000px;
}
li.kgames a:hover{
background-position: -100px 0;
} 

li.ks1links a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/ks1links1.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 0px;
top: 0px;
text-indent: -5000px;
}
li.ks1links a:hover{
background-position: -100px 0;
} 

li.ks2links a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/ks2links.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 420px;
top: 135px;
text-indent: -5000px;
}
li.ks2links a:hover{
background-position: -100px 0;
} 

li.english a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/english.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 165px;
top: 145px;
text-indent: -5000px;
}
li.english a:hover{
background-position: -100px 0;
} 

li.history a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/history.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 110px;
top: 230px;
text-indent: -5000px;
}
li.history a:hover{
background-position: -100px 0;
} 

li.science a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/science.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 30px;
top: 110px;
text-indent: -5000px;
}
li.science a:hover{
background-position: -100px 0;
} 

li.maths a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/maths.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 290px;
top: 120px;
text-indent: -5000px;
}
li.maths a:hover{
background-position: -100px 0;
} 

li.brain a{
position: absolute;
width: 100px;
height: 100px;
display: block;
background: url(../images/kidszoneimages/brain.gif) no-repeat;
overflow: hidden;
font-weight: bold;
left: 260px;
top: 250px;
text-indent: -5000px;
}
li.brain a:hover{
background-position: -100px 0;
}



/* (6)  Classpages and Year Groups */



#classbgbox {
position: relative;
display: block;
height: 500px;
width: 530px;
background: url(../images/classpages/class-bg.gif) no-repeat;
margin: 0 auto;
} 


#classbgbox ul li { display: inline; padding: 0; list-style-type: none; text-align: center; font-weight: bold;}



li.yr3 a {
width: 180px;
height: 160px;
display: block;
background: url(../images/classpages/year3.gif) no-repeat;
overflow: hidden;
position: absolute;
left: 70px;
top: 60px;
text-indent: -5000px;
}
li.yr3 a:hover {
background-position: -180px 0;
}

li.yr4 a {
width: 180px;
height: 160px;
display: block;
background: url(../images/classpages/year4.gif) no-repeat;
overflow: hidden;
position: absolute;
left: 300px;
top: 90px;
text-indent: -5000px;
}
li.yr4 a:hover {
background-position: -180px 0;
}

li.yr5 a {
width: 180px;
height: 160px;
display: block;
background: url(../images/classpages/year5.gif) no-repeat;
overflow: hidden;
position: absolute;
left: 50px;
top: 260px;
text-indent: -5000px;
}
li.yr5 a:hover {
background-position: -180px 0;
}


li.yr6 a {
width: 180px;
height: 160px;
display: block;
background: url(../images/classpages/year6.gif) no-repeat;
overflow: hidden;
position: absolute;
left: 290px;
top: 300px;
text-indent: -5000px;
}
li.yr6 a:hover {
background-position: -180px 0;
}


/* (7) Primarysite CMS specific styles */

.sectionheading {
color: #009900;
}

#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;

