/*
Theme Name: Harry Ainlay High School
Theme URI: http://ainlay.ca/
Description: Theme for <a href="http://ainlay.ca/">Ainlay.ca</a> by <a href="http://ranek.org/">Ranek Kiil</a>.
Author: Ranek Kiil
Author URI: http://ranek.org/

Theme for Harry Ainlay High School in Edmonton, Alberta, Canada.
Copyright 2008-2010 Ranek Kiil, All Rights Reserved.

*/

body{
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
		/* I love Lucida Grande, but I'm not sure about using LSU on PCs before Verdana. With anti-aliasing off, it really isn't quite as readable. */
	margin: 0;
	min-width: 960px; /* don't break on small screens */
	font-size: 14px;
text-rendering: optimizeLegibility;
}

a{
	color: #048;
	outline: none; /* firefox */
}

a img{
	border: none;
}
/* do we need a:visited styles? I'm not sure which colour to use here. 
a:visited{
}
#leftnav a:visited{
}

*/

/*
--------------------------------------------------------------------------------
	Header
--------------------------------------------------------------------------------
*/

#header{
	height: 140px;
	background: #048;
	margin: 0;
	padding: 0px;
	position: relative; /* to allow for absolutely positioned image replacement */
}

#header h1, #header #address, #header a{
	color: #fff;
	margin: 0 auto;
	padding: 0;
	width: 796px; /* crudely position text as is in banner */
}

#header h1{
	font-size: 30px;
	text-transform: uppercase;
}
#header #address{
	font-size: 12px;
}
#header .emaillink{
	display: block;
	position: absolute;
	width: 95px;
	height: 15px;
	top: 55px;
	left: 50%;
	margin-left: -122px;
	background: transparent url(images/email_link.png) left;
}
#header .emaillink:hover{
	background-position: right;
}
#header .logolink{ /* this is ugly. */
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -460px;
	width: 300px;
	height: 100px;
}

#banner{ /* lay image on top of header text when possible */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(images/headerbg.jpg) no-repeat top;
}

/*
--------------------------------------------------------------------------------
	Global Navigation Tabs
--------------------------------------------------------------------------------
*/

#globalnav{ /* ul which contains all the tabs */
	list-style: none;
	width: 960px;
	margin: 0 auto;
	position: relative;
	margin-top: -30px;
	padding: 0;
	height: 30px; /* optional */
}

#globalnav li{
	/* IE needs the li floated, but other styles need to be on a for :hover */
	float: left;
}
#globalnav a{ /* a contained in each li links to section */
	float: left;
	text-decoration: none;
	color: #000;
	width: 160px;
	margin: 0 10px;
	text-align: center;
	text-transform: uppercase;
	display: block;
	height: 18px; /* 18 + 6 + 6 = 30 px */
	line-height: 20px;
	font-size: 16px;
	padding: 6px 0;
	background: #9bd url(images/ainlay_tabs.png) no-repeat top right;
}

#globalnav a:hover{ /* mouseover styles for tabs */
	background:#cde url(images/ainlay_tabs.png) no-repeat top center;
}
	
#globalnav .current_page_ancestor a, #globalnav .current_page_item a{
	/* styles for current global navigation tab */
	font-weight: bold;
	background: #fff url(images/ainlay_tabs.png) no-repeat top left;
}

/*
--------------------------------------------------------------------------------
	Second Level Navigation List
--------------------------------------------------------------------------------
*/

#leftnav{
	width: 160px; /* 220, 280 is also valid */
	margin: 0 10px;
	float: left;
	margin-bottom: 20px;
}
	
#leftnav ul{
		list-style: none;
		margin: 0;
		padding: 0;
		margin-bottom: 10px;
		background: #cde;
}
#leftnav li a{
	display: block;
	padding: 5px;
	color: #048;
	font-size: 14px;
	height: 1%; /* IE hasLayout */
}

#leftnav li a:hover{
	background: #9bd;
}

#leftnav ul li ul{
	margin-left: 1em;
}

#leftnav li.current_page_item a, #leftnav .secondary_list li.current_page_parent a{
	background: #024;
	color: #fff;
	background: #024 url(images/nav_gradients.png) no-repeat top left;
}

#leftnav li.current_page_item a:hover, #leftnav .secondary_list li.current_page_parent a:hover{

	background: #036 url(images/nav_gradients.png) no-repeat top center;
}
/*
--------------------------------------------------------------------------------
	Basic Page Styles
--------------------------------------------------------------------------------
*/
#content{
	width: 960px;
	margin: 20px auto;
}

#narrow_content, #innerContent, #wide_content{
}
#narrow_content, #innerContent{
	margin-left: 190px;
	width: 760px;
}


#wide_content{

}
table{
width: 100%;
border-collapse: collapse;
}
td, th{
border: 1px solid #ccc;
padding: 0.5ex;
}
th{
background: #eee;
}
.todo{
	margin: 1ex 0;
	padding: 1ex;
	background: #fc6;
}
.edit_link a{
	margin: 10px;
	padding: 10px;
	background: #9f9;
	clear: both;
	display: block;
}

a img{
	border: none;
}
h2{
	text-align: center;
	line-height: 40px;
	margin: 10px 0;
	font-size: 24px;
}
h3{
	color: #048;
	line-height: 20px;
	margin: 20px 0;
	font-size: 16px;
}
h4{
	line-height: 20px;
}
p{
	line-height: 20px;
	margin: 20px 0;
}
li{
	line-height: 20px;
}

.blurb{
	background-color: #cde;
	padding: 1ex;
	text-align: center;
}
.letter_message{
	padding: 1ex;
	background: #eee;
	border: 1px outset #ccc;
}
.aligncenter, .blockimage{
	margin: 0 auto;
	display: block;
	border: 1px solid #ccc;
	padding: 2px;
}

.alignright{
	float: right;
}
#whatsnew{
	border: 1px solid #05a;
	padding: 0.5ex;
}

.floating_image{
	float: left;
	margin: 0 10px;
}
.alignleft{
	float: left;
}
.downloadlink{
	float: left;
	width: 100%;
	height: 150px;
	margin-bottom: 20px;
}

dt{
	font-weight: bold;
	margin-top: 1ex;
	margin-bottom: 0.5ex;
}

.ib_notice{
	font-weight: bold;
}

.course_info{
	border: 1px solid #ccc;
	padding: 0 1ex;
	margin: 1ex 0
}
.course_info h4{
	color: #012;
	margin: 1ex 0;
}
.course_info .credits-prerequisites{
	color: #666;
}
.course_info p{
	margin: 1ex 0;
}

.reminders{
	background-color: #cde;
	border: 2px solid #05a;
	float: right;
	padding: 8px;
	width: 380px;
	margin-left: 10px;
}
.reminders h3{
text-align: center;
}

.reminders ol{
padding-left: 0;
}
/*
--------------------------------------------------------------------------------
	Team Selector for Athletics Pages
--------------------------------------------------------------------------------
*/
.team_selector{
	list-style: none;
	margin: 0 auto; /* center it */
	padding: 0;
	display: block;
}
.team_selector li{
	width: 520px;
	margin: 10px auto;
	display: block;
}

.team_selector li a{
	display: block;
	width: 100%;
	padding: 10px;
	font-size: x-large;
	text-decoration: none;
	color: #036;
	background: #eee;
}

.team_selector li img{
	float: left;
	margin: -0.5ex 1ex 0.5ex 0.5ex;
	border: 3px solid #fff;
}
.team_selector li a:hover{
	background: #036; /* arrow image was here */
	color: #fff;
}

.mini_team_selector{
	list-style: none;
	margin: 0;
	padding: 0;
	height: 30px;
	margin-top: 10px;
}
.mini_team_selector li{
	display: inline;
}
.mini_team_selector .parent_name{
	color: #666;
	text-transform: uppercase;
	margin-right: 0.5ex;
}
.mini_team_selector .parent_name a{
	text-decoration: none;
	color: #666;
}
.mini_team_selector .parent_name a:hover{
	text-decoration: underline;
	color: #333;
}
.mini_team_selector .page_item a{
	margin-left: 0.5ex;
	padding: 0.5ex 1ex;
	background: #eee;
	text-transform: none;
}
.mini_team_selector .current_page_item a{
	text-decoration: none;
}
.mini_team_selector .page_item a:hover{
	background: #cde;
}
/*
--------------------------------------------------------------------------------
	Boxes for Top Level Pages
--------------------------------------------------------------------------------
*/

.box_container{

	float: left;
	margin-top: 20px;
	width: 100%; /* IE hasLayout */
	margin-bottom: 20px;
}
.box{
	float: left;
	margin: 0 10px;
}
.quarter{
	width: 220px;
}
.upcoming{
	width: 280px;
}

.box.right{
	float: right;
	margin-right: 0;
	margin-bottom: 10px;
}
.box ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.box_header{
	background: #048 url(images/blue_bar.png) no-repeat top right;
}
.box h4{
	margin: 0;
	margin-right: 5px;
	padding: 4px 6px;
	color: #fff;
	font-size: 16px;
	background: #048 url(images/blue_bar.png) no-repeat top left;
}
.box .linkbox li a{
	padding: 2px 4px;
	border-bottom: 1px solid #ccc;
	display: block;
	font-size: 14px;
	height: 1%; /* IE hasLayout */
	line-height: 17px;
}
.box .linkbox li a:hover{
	background: #cde;
}

#home_image_links{
	clear: both;
	margin-bottom: 20px;
	float: left;
}

#home_image_links a{
	float: left;
	margin: 0 10px;
	width: 220px;
	height: 80px;
}
/*
--------------------------------------------------------------------------------
	Datestamps for upcoming and recent events
--------------------------------------------------------------------------------
*/

.datestamp{
	float: left;
	width: 55px;
	background: #fff url(images/datestamp.png) no-repeat bottom center;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	height: 48px;
	margin: 0px 5px 0 0px;
	clear: left;
	color: #333;
}
.month{
	font-size: 11px;
	text-transform: uppercase;
	line-height: 15px;
	padding-top: 2px;
	color: #fff;
	text-align: center;
	display: block;
	font-weight: normal;
	margin-bottom: 6px;
	height: 18px;
	background: #910 url(images/datestamp.png) no-repeat top center;
	
}
ul.event li{
	margin: 0;
	font-size: 14px;
	line-height: 15px;
	height: 48px;
	margin: 5px 0;
}
ul.event li .event_info{
	margin-left: 60px;

}
ul.event small{
	display: block;
	color: #333;
	font-size: 11px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.morelink{
	text-align: right;
	display: block;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2px 5px 0px;
	height: 20px;
}
.morelink:hover{
	background: #cde;
}


.index_selector{
	list-style: none;
	margin: 0;
	padding: 0;
}
.index_selector li{
	display: inline;
}
.index_selector a{
	margin-left: 0.5ex;
	padding: 0.5ex 1ex;
	background: #eee;
	text-transform: none;
}
.index_selector a:hover{
	background: #cde;
}


/* .calendar styles --------------------------------------------------------- */

.calendar{
	width: 100%;
	margin: 0 auto;
	border: 1px solid #ccc;
}

.calendar caption{
	font-size: large;
	color: #391;
	padding: 1ex;
}
.calendar th{
	background-color: #eee;
	border: 1px solid #ddd;
}
.calendar td{
	width:14%;
	border: 1px solid #eee;
	color: #036;
	text-align: right;
	vertical-align: top;
}
.calendar td ul{
	font-size: x-small;
	padding: 0;
	margin: 0;
	list-style: none;
	color: #000;
	text-align: center;
}
.calendar td ul li{
	background: #eee;
	margin: 0.5ex 0;
	padding: 0.5ex;
	line-height: 15px;
}
.eventhelp{
	text-align: center;
}
.eventinfo{
	display: none;
}

/* roster-ish styles ----------------------------------------------------------- */

.athletics-teamphoto {
	margin-bottom: 1em;
}

/*
--------------------------------------------------------------------------------
Library styles
--------------------------------------------------------------------------------
*/


#library_right{
	float: right;
}

.libside{
	float: none;
	margin-bottom: 20px;
}

.lib_resource_list{ /*image resource links on library page*/
	margin-top: 20px;
	list-style: none;
}
.lib_resource_list li{
	padding: 0;
	margin: 5px 0;

}
.lib_resource_list li a{
display: block;
margin: 0;
padding: 0;
}
.lib_resource_list img{
	display: block;
margin: 0;
padding: 0;
}

#library_left{
	width: 720px;
	margin-top: 20px;
}

.three_column_squares{
	list-style: none;
	margin: 0 -10px;
	padding: 0;
	display: block;
}
.three_column_squares li{
	float: left;
	width: 220px;
	margin: 10px;
	display: block;
}
.three_column_squares a{
	display: block;
	height: 200px;
	padding: 10px;
	border: 1px solid #ccc;
	text-align: center;
}
.three_column_squares img{
	display: block;
	margin: 0 auto;
	padding:0;
	border: none;
}
.three_column_squares a:hover{
	background: #eee;
}

.ainlay_slideshow { /* NGG adds its own stylesheet that breaks things if we use .slideshow */
	position: relative;
	overflow: hidden;
	display: block;
	margin: 0 10px;
}
.ainlay_slideshow img {
	position: absolute;
	display: block;
	left: 0;
	top: 0;
}
.ainlay_slideshow img:first-child{
		z-index: 100;
}

#library_slideshow, #library_slideshow img{
	width: 700px;
	height: 250px;
}
#home_slideshow{
	width: 640px;
	height: 320px;
	float: left;
	position: relative;
}
#athletics_slideshow{
	width: 660px;
	height: 320px;
	margin: 20px 50px;
	float: left;
	position: relative;
	left:10px;
}

.page_header.triprov{
	width: 760px;
	height: 160px;
	background: #fec url(triprov_header.png) no-repeat;
	position: relative;
}

.page_header ul{
	margin: 0;
	padding: 0;
	position: absolute;
	top: 120px;
	left: 175px;
	
}
.page_header h2{
	color: #f81;
	font-size: 48px;
	text-align: left;
	position: absolute;
	top: 15px;
	left: 180px;
}
.page_header .tagline{
	position: absolute;
	top: 50px;
	left: 240px;
	font-size: 18px;
	font-style: italic;
	font-weight: bold;
}
.page_header li{
	display: inline;
}
.page_header a{
	margin: 5px;
	padding: 5px;
	font-weight: bold;
}
.page_header a:hover{
	background: #fff;
}
.page_header .current_page_item a{
	background: #f81;
	color: #fff;
}

/*
--------------------------------------------------------------------------------
	Footer styles
--------------------------------------------------------------------------------
*/

#footer{
	font-size: xx-small;
	text-align: center;
	background: #048;
	color: #fff;
	padding: 1ex 0;
	clear: both;
	border-top: 1px solid #05a; /* a subtle bevel */
	border-bottom: 1px solid #048; 
	margin-top: 20px;
}
#footer a{
	color: #fff;
}

/* -----------------------------------------------------------------------------
Harry Ainlay High School Stylesheet
Copyright 2008-2010 Ranek Kiil (http://ranek.org)

Be happy! 
*/
