/* 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: #0e447c;
}

#header-h{
position: relative;
top: 0px;
height: 140px;
background-image: url(../images/header-home.gif);
background-repeat: no-repeat;
}
#header{
height: 140px;
background-image: url(../images/header.gif);
background-repeat: no-repeat;
border: none;
}

/* #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-h{
margin: 0px auto;
width: 982px;
position: relative;
top: 0px;
border-bottom: solid 5px #fff;
}

#container{
margin: 0px auto;
width: 982px;
position: relative;
background-image: url(../images/slither.gif);
background-repeat: repeat-y;
border-bottom: solid 5px #fff;
}

#container2{
position: relative;
background: url(../images/pagebg.gif);
background-repeat: no-repeat;
background-position: 0px 140px;
}

#container2-h{

background: url(../images/homebg.gif);
background-position: 0px 140px;
background-repeat: no-repeat;
}

/* #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: 110px;
left: 10px;
width: 193px;
margin: 0px;
padding: 0px;
padding-top: 10px;

}


#col-two{ 
position: relative;
margin:  -25px 30px 20px 220px;
padding: 0px 0px 0px 0px;
min-height: 390px;
}

#col-two-h{ 
position: relative;
top: 0px;
margin:  0px 30px 0px 160px;
padding: 0px;
height: 420px;}


#footer{
height: 10px;
clear: both;
background-image: url(../images/footer.gif); 
background-repeat: no-repeat;
background-position: bottom;
margin-top: 0px;
padding-top: 0px;
}



/* 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_slideshow{
background: url(../images/titles/editslideshow.gif) no-repeat;
}

#title_slideshow2{
background: url(../images/titles/editslideshow.gif) no-repeat;
}

#title_brainbuilders{
background: url(../images/titles/brain.gif) no-repeat;
}
#title_calendar{
background: url(../images/titles/calendar.gif) no-repeat;
}
#title_classpages{
background: url(../images/titles/smoodle.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_english{
background: url(../images/titles/english.gif) no-repeat;
}
#title_gallery{
background: url(../images/titles/gallery.gif) no-repeat;
}
#title_games{
background: url(../images/titles/games.gif) no-repeat;
}
#title_history{
background: url(../images/titles/history.gif) no-repeat;
}
#title_keyinformation{
background: url(../images/titles/key-info.gif) no-repeat;
}
#title_kidszone{
background: url(../images/titles/kids.gif) no-repeat;
}
#title_ks1links{
background: url(../images/titles/fun3-7.gif) no-repeat;
}
#title_ks2links{
background: url(../images/titles/fun7-11.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.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_welcome{
background: url(../images/titles/welcome.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_slideshow,
#title_slideshow2,
#title_calendar,
#title_classpages,
#title_slideshow,
#title_clubs,
#title_contact,
#title_english,
#title_gallery,
#title_games,
#title_history,
#title_keyinformation,
#title_kidszone,
#title_ks1links,
#title_ks2links,
#title_letters,
#title_maths,
#title_news,
#title_parents,
#title_pta,
#title_science,
#title_welcome
{height: 26px; 
text-align: left; 
width: 200px; 
margin-top: 30px;
text-indent: -5000px;}

#title_access {
background: url(../images/titles/access.gif) no-repeat;
}
#title_priv {
background: url(../images/titles/priv.gif) no-repeat;
}
#title_discl {
background: url(../images/titles/discl.gif) no-repeat;
}
#title_prot {
background: url(../images/titles/prot.gif) no-repeat;
}
#title_map {
background: url(../images/titles/sitemap.gif) no-repeat;
}


#title_access,
#title_priv,
#title_discl,
#title_prot,
#title_map
{height: 30px; 
text-align: left; 
width: 240px; 
margin-top: 20px;
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: 10px;
}

/* .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:focus{
color:#0066FF;
text-decoration: none;
border: none;
}
a:hover{
color: #FF6600;
text-decoration: underline;
}
a:active{
color: #FF6600;
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: #fff;
list-style-type: none;
display: inline;
height: 2em;
padding: 5px;
}
#bottomlinks a{
text-decoration: none;
color: #fff;
border-bottom: 1px solid #fff;
}
#bottomlinks a:hover{
color: #FFD11B;
text-decoration: underline;
}


/* (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: 292px;
top: 3px;
width: 261px;
height: 410px;
overflow: hidden;
}


/* #newsbox acts as a container for the news */
#newsbox{
position: absolute;
top: 40px;
left: 585px;
background-image: url(../images/newsbox.gif);
background-repeat: no-repeat;
width: 200px;
height: 200px;
color: #000000;
text-align: left;
}

#newsbox a{
color: #194e85;
}
#newsbox a:hover{
color: #194e85;
}


/* #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: 260px;
left: 60px;
width: 200px;
height: 200px;
}


#hitcountbox{
position: absolute;
width: 140px;
height: 25px;
background: url(../images/hitcount.gif) no-repeat;
left: -150px;
top: 395px;
text-indent: 55px;
}


#email {text-indent: -5000px;}

#email a {
width: 210px;
height: 16px;
background: url(../images/email.gif) no-repeat;
position: absolute;
top: 382px;
left: 586px;
}

#email a:hover {background-position: -210px;}


/* Teasers */

#teaserbox {position: absolute; top: 75px; }

#teaserbox ul li { display: inline; padding: 0; list-style-type: none;}

li.keyinfohome a{
position: relative;
width: 200px;
height: 52px;
display: block;
background: url(../images/teasers/keyinfo.gif) no-repeat;
overflow: hidden;
left: 30px;
top: -160px;
text-indent: -5000px;
}
li.keyinfohome a:hover{
background-position: -200px 0;
} 


li.lettershome a{
position: relative;
width: 183px;
height: 52px;
display: block;
background: url(../images/teasers/letters.gif) no-repeat;
overflow: hidden;
left: 25px;
top: -50px;
text-indent: -5000px;
}
li.lettershome a:hover{
background-position: -202px 0;
} 

li.kidszonehome a{
position: relative;
width: 183px;
height: 52px;
display: block;
background: url(../images/teasers/kids.gif) no-repeat;
overflow: hidden;
left: 25px;
top: 60px;
text-indent: -5000px;
}

li.kidszonehome a:hover{
background-position: -200px 0;
} 


/* (5) Kids' Zone */

/* To style "back to" text */
.back_to{
text-align: left;
font-weight: bold;
padding-top: 5px;
padding-bottom: 5px;
}

#kidsbgbox {position: absolute; top: 0px; width: 600px; height: 300px;}

#kidsbgbox ul li { display: inline; padding: 0; list-style-type: none;}

li.kgames a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/games.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 50px;
top: 120px;
text-indent: -5000px;
}
li.kgames a:hover{
background-position: 0px;
} 

li.ks1links a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/ks1-links.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 200px;
top: 120px;
text-indent: -5000px;
}
li.ks1links a:hover{
background-position: 0px;
} 

li.ks2links a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/ks2-links.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 350px;
top: 120px;
text-indent: -5000px;
}
li.ks2links a:hover{
background-position: 0px;
} 

li.english a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/english.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 50px;
top: 270px;
text-indent: -5000px;
}
li.english a:hover{
background-position: 0px;
} 

li.history a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/history.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 500px;
top: 270px;
text-indent: -5000px;
}
li.history a:hover{
background-position: 0px;
} 

li.science a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/science.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 350px;
top: 270px;
text-indent: -5000px;
}
li.science a:hover{
background-position: 0px;
} 

li.maths a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/maths.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 200px;
top: 270px;
text-indent: -5000px;
}
li.maths a:hover{
background-position: 0px;
} 

li.brain a{
position: absolute;
width: 111px;
height: 111px;
display: block;
background: url(../images/kidszoneimages/brain-builders.gif) no-repeat -111px;
overflow: hidden;
font-weight: bold;
left: 500px;
top: 120px;
text-indent: -5000px;
}
li.brain a:hover{
background-position: 0px;
}


/* (7) Primarysite CMS specific styles */

.sectionheading {
color: #009900;
}

#Guestbook {
border: #42A0FF solid 5px;
}
#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;}


.latesthomepage .eventhome a {
color: #194e85 !important;
font-weight: bold !important;
}

.latesthomepage .eventhome {
padding-bottom: 10px; }

.latesthomepage .eventhome a:hover {
text-decoration: underline !important;
}

.latesthomepage .datehome {
color: #8a2777;
font-weight: bold;
padding-bottom: 0px;
}

#CONTENT {margin-left: 60px;}


.FileInfo {
display:none;
}

/* CSS changes needed due to upgrade to 3+ final */
.newstitlehome, .eventhome{margin:0;font-weight:bold}
#termeventslatest .latesttitle , #termevents .latesttitle {color: #000000;background-color: #FFD11B;}
#termeventslatest .latest , #termevents .latest {background-color: #FEF6D9;}
#termeventslatest .termheader , #termevents .termheader {background-color: #164779;}
#termeventslatest .eventarea , #termevents .eventarea {background-color: #D1E7FD;}




/* EDITABLE SLIDESHOW */

#faderbox {
position: relative;
overflow: hidden;
width: 261px;
height: 180px;
left: 291px;
top: -15px;
margin-bottom: 100px;
}

.faderImages {
position: relative;
width: 261px;
height: 180px;
margin: 0 30px 30px 0;
float: left;
overflow: hidden;

}


/* Fading Images */
.faderImages .image {
position: absolute;
width: 661px;  /* width of fader plus 400px (200 each side) */
margin-left: -200px;  /* pull to left to enable horizontal centering of images */
/*height and margin-top need changing in IE stylesheet as vertical align doesn't work in IE6 */
height: 580px;	/* height of fader plus 400px (200 each side) */
margin-top: -200px;  /* pull upwards to enable vertical centering of images */
line-height: 580px;	/* same as height */
text-align: center;
}

.faderImages .image  img { vertical-align: middle; }
.faderImages .image  img.portrait { width: 250px; }  /* width and height of window area */
.faderImages .image  img.landscape { height: 180px; } 


/* Mask - Delete if not needed */
#fadermask{
position: absolute;
width: 261px;
height: 195px;
left: 0px;
top: 0px;
background-image: url(../images/mask.png);
z-index: 20;
}

/* Edit Button */
#EditSlideButton { position: absolute; left: 0px; top: 0px; z-index: 30; }

































/* EDITABLE SLIDESHOW 2 */

#faderbox2 {
position: relative;
overflow: hidden;
width: 262px;
height: 168px;
left: 291px;
top: -71px;
margin-bottom: 100px;
}

.faderImages2 {
position: relative;
width: 262px;
height: 168px;
margin: 0 30px 30px 0;
float: left;
overflow: hidden;

}


/* Fading Images */
.faderImages2 .image2 {
position: absolute;
width: 662px;  /* width of fader plus 400px (200 each side) */
margin-left: -200px;  /* pull to left to enable horizontal centering of images */
/*height and margin-top need changing in IE stylesheet as vertical align doesn't work in IE6 */
height: 568px;	/* height of fader plus 400px (200 each side) */
margin-top: -200px;  /* pull upwards to enable vertical centering of images */
line-height: 568px;	/* same as height */
text-align: center;
}

.faderImages .image2  img { vertical-align: middle; }
.faderImages .image2  img.portrait { width: 262px; }  /* width and height of window area */
.faderImages .image2  img.landscape { height: 168px; } 


/* Mask - Delete if not needed */
#fadermask2{
position: absolute;
width: 262px;
height: 168px;
left: 0px;
top: 0px;
background-image: url(../images/mask2.png);
z-index: 20;
}

/* Edit Button */
#EditSlideButton { position: absolute; left: 0px; top: 0px; z-index: 30; }
