/*Theme Name: Papatoetoe Central School
Theme URI: http://www.designcollective.co.nz/
Description: Created for Papatoetoe Central School
Author: Adam & Vanessa Griffths of Design Collective.
Version: 1.0
License: Closed
Tags:
*/

@font-face {
    font-family: 'Adventor';
    src: url('fonts/texgyreadventor-regular-webfont.eot');
    src: url('fonts/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/texgyreadventor-regular-webfont.woff') format('woff'),
         url('fonts/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('fonts/texgyreadventor-regular-webfont.svg#TeXGyreAdventorRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Harabara';
    src: url('fonts/harabara-bold-webfont.eot');
    src: url('fonts/harabara-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/harabara-bold-webfont.woff') format('woff'),
         url('fonts/harabara-bold-webfont.ttf') format('truetype'),
         url('fonts/harabara-bold-webfont.svg#HarabaraBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

*{
	margin:0;
	padding:0;
}

body{
	font:normal 13px Arial, Helvetica, sans-serif;
	color:#333333;
	background-color:#FFF;
	background-image:url(images/header_bg.jpg);
	background-repeat:repeat-x;
}

img{
	border:none;
}

h1{
	font:normal 26px 'Harabara', Arial, Helvetica, sans-serif;
	color:#002E60;
	border-bottom:1px solid #B3B3B3;
	padding-bottom:15px;
	margin-bottom:15px;
	letter-spacing:1px;
}

h2{
	font:normal 16px 'Adventor', Arial, Helvetica, sans-serif;
	color:#D21D2B;
	border-bottom:1px solid #B3B3B3;
	padding-bottom:15px;
	margin:20px 0 15px 0;
	clear:both;
}

p{
	margin:20px 0;
	line-height:18px;
}

a{
	color:#D21D2B;
}

a:hover{
	color:#042F5F;
	text-decoration:none;
}

#content_area ul, #content_area ol{
	margin:20px 40px 20px 20px;
	padding-left:15px;
}

#content_area li{
	margin:5px 0;
	font-size:13px;
}

#wrapper{
	width:984px;
	margin:0 auto;
}

#header{
	width:984px;
	height:100px;
	position:relative;
}

#logo{
	width:123px;
	height:130px;
	position:absolute;
	top:37px;
	right:-10px;
}

#site_title{
	width:350px;
	height:36px;
	position:absolute;
	top:45px;
	left:-2px;
}

#main_nav_wrapper{
	width:100%;
	height:31px;
	background-color:#E1E6E9;
	padding-top:10px;
}

#images_area{
	margin-top:30px;
	padding-top:15px;
	height:320px;
}

#content_area{
	margin-top:30px;
}

#content_left{
	float:left;
	width:232px;
}

#content_right{
	float:right;
	width:719px;
}

#content_left img{
	border:1px solid #B3B3B3;
}

#footer_wrapper{
	margin-top:40px;
	width:100%;
	background-color:#e1e6ea;
}

#footer_upper{
	width:984px;
	margin:0 auto;
	min-height:90px;
}

#footer_lower_wrapper{
	background-color:#FFF !important;
	background-image:url(images/footer_bg.jpg);
	background-position:top;
	background-repeat:repeat-x;
}

#footer_lower{
	width:984px;
	min-height:208px;
	margin:0 auto;
	font:normal 12px Arial, Helvetica, sans-serif;
	color:#7D929C;
}

#mission{
	font:normal 18px 'Harabara', Arial, Helvetica, sans-serif;
	letter-spacing:1px;
	color:#FFF;
	padding-top:5px;
}

#copyright{
	margin-top:130px;
	float:left;
	display:block;
}

#footer_lower ul{
	margin-top:130px;
	float:right;
}

#footer_lower li{
	display:block;
	float:left;
	border-right:1px solid #7D929C;
	padding-left:10px;
}

#footer_lower ul a{
	color:#7D929C;
	text-decoration:none;
	padding-right:10px;
}

#footer_lower ul a:hover{
	color:#D21D2B;
}

#images_area div{
	border:1px solid #042F5F;
	background-color:#1b4b80;
	float:left;
	overflow:hidden;
}

#image1{
	width:231px;
	height:298px;
	margin-right:17px;
}

#image2{
	width:482px;
	height:298px;
	margin-right:17px;
}

#image3{
	width:231px;
	height:138px;
	margin-bottom:20px;
}

#image4{
	width:231px;
	height:138px;
}

/* HOME OVERRIDES */

#upper_home{
	width:984px;
	margin:0 auto;
	margin-top:30px;
	padding-top:15px;
	height:320px;
}

#upper_left{
	width:480px;
	float:left;
}

#upper_right{
	width:470px;
	float:right;
	color:#FFF;
}

#upper_right h1{
	font-size:47px;
	color:#FFF;
	border:none;
	margin:0;
	padding:0;
	line-height:45px;
}

#upper_right p{
	margin:10px 0;
}
	
#hotbuttons{
	width:984px;
	margin:0 auto;
	height:240px;
	background-image:url(images/hotbuttons_bg.png);
	background-repeat:no-repeat;
	background-position:0px 14px;
}

.hb{
	width:230px;
	min-height:200px;
	float:left;
	margin:15px 20px 0 0;
}

#hotbuttons h2{
	font:normal 20px 'Harabara', Arial, Helvetica, sans-serif;
	text-transform:lowercase;
	margin:15px 0 10px 0;
	padding:0;
	color:#FFF;
	border:none;
}

#hotbuttons img{
	border:1px solid #FFF;
	margin:0;
	padding:0;
}

#hotbuttons p{
	margin:10px 0 0 0;
	padding:0;
	color:#FFF;
	line-height:16px;
	font:normal 12px Arial, Helvetica, sans-serif;
}

#hotbuttons a{
	color:#FFF;
	text-decoration:none;
}

#hotbuttons a:hover{
	color:#D21D2B;
	text-decoration:none;
}

#home_footer_wrapper{
	margin-top:40px;
	width:100%;
	background-color:#e1e6ea;
}

#home_footer_upper{
	width:984px;
	margin:0 auto;
}

#home_footer{
	background-image:url(images/home_lower_bg.png);
	min-height:90px;
}

#home_footer_left{
	float:left;
	width:477px;
	min-height:150px;
	padding-bottom:20px;
}

#home_footer_left img{
	border:1px solid #FFF;
	background-color:#1B4B80;
	float:right;
	margin:0 0 5px 15px;
}

#home_footer_right{
	float:right;
	width:477px;
	min-height:150px;
	padding-bottom:20px;
}

#home_footer h3{
	font:normal 20px 'Harabara', Arial, Helvetica, sans-serif;
	text-transform:lowercase;
	margin:15px 0 10px 0;
	padding:0;
	color:#002E60;
	border:none;
}

#home_footer .content h3{
	font:bold 12px Arial, Helvetica, sans-serif !important;
	text-transform:capitalize;
	margin:5px 0;
}

#news_left{
	float:left;
	width:223px;
}

#news_right{
	float:right;
	width:223px;
}

#home_footer_right .news_article{
	margin-bottom:15px;
}

#home_footer_right .title{
	color:#052F5F;
	margin-bottom:3px;
}

#home_footer_right .title a{
	color:#D21D2B;
	text-decoration:none;
}

#home_footer_right .title a:hover{
	color:#052F5F;
	text-decoration:none;
}

#home_footer_right .content{
	color:#052F5F;
	margin-bottom:3px;
}

#home_footer_right .date{
	color:#999999;
}

/* ARTICLES */

.article{
	margin-bottom:40px;
}

.article h2{
	font:normal 26px 'Harabara', Arial, Helvetica, sans-serif;
	color:#D21D2B;
	border-bottom:1px solid #B3B3B3;
	padding-bottom:15px;
	margin:0 15px 15px 0 !important;
	letter-spacing:1px;
}

.article h2 a{
	color:#002E60;
	text-decoration:none;
}

table.ec3_schedule{
	border:none !important;
	background-color:#1B4B80;
	margin:20px 10px 5px 0px !important;
	border-radius: 5px;
	float:none !important;
}

table.ec3_schedule td{
	padding:8px !important;
	color:#FFF !important;
	text-align:right;
}

a.more-link{
	text-decoration:none;
}

/* PAGINATION */

.pagination {
	clear:both;
	padding:10px 0;
	position:relative;
	font-size:11px;
	line-height:13px;
}
 
.pagination span, .pagination a {
	display:block;
	float:left;
	margin: 2px 2px 2px 0;
	padding:6px 9px 5px 9px;
	text-decoration:none;
	width:auto;
	color:#FFF;
	background: #D21D2B;
}
 
.pagination a:hover{
	color:#fff !important;
	background: #1B4B80;
}
 
.pagination .current{
	padding:6px 9px 5px 9px;
	background: #1B4B80;
}

/* SIDEBAR */

ul#widget_sidebar .widget{
	margin-bottom:20px;
}


ul#widget_sidebar{
	list-style-type:none;
	margin:0px;
	padding:0px;
}

ul#widget_sidebar h2{
	margin:0 0 10px 0;
	padding:0 0 5px 0;
	border-bottom:1px solid #FFF;
	color:#FFF;
	font-size:20px;
}

.widget_archive{
	background-color:#1B4B80;
	padding:15px;
}

.widget_archive ul{
	list-style-type:none;
	padding:0px !important;
	margin:0px !important;
}

.widget_archive a{
	font-size:14px;
	color:#FFF;
	text-decoration:none;
}

.widget_archive a:hover{
	color:#D21D2B;
}

.ec3_widget_cal{
	color:#FFF;
}

.ec3_widget_cal{
	background-color:#D21D2B;
	padding:15px;
}

.ec3_widget_cal a{
	color:#FFF;
	text-decoration:none;
}

.ec3_widget_cal a:hover{
	color:#FFCCCC;
}

.ec3_widget_cal caption{
	margin-bottom:5px;
	font-weight:bold;
}

#wp-calendar table td:hover, #wp-calendar table #today {
    border: none !important;
    padding: 0;
	background-color:#FFF;
	border-radius: 5px;
	color:#D21D2B;
}

.ec3_postday, .ec3_eventday {
	border: none !important;
    padding: 0;
	background-color:#FFCCCC;
	border-radius: 5px;
	color:#D21D2B;
}

.ec3_widget_cal .nav td:hover{
	background-color:#D21D2B !important;
}

ul.ec3_events{
	list-style-type:none !important;
	padding-left:10px;
}

ul.ec3_events li ul{
	margin:3px 0 20px 30px;
	margin-left:30px;
	margin-bottom:20px;
}

.ec3_list{
	color:#1B4B80 !important;
}

.ec3_list a{
	text-decoration:none;
}

.event_item{
	color:#1b4b80;
	font-size:20px;
}

.event_date{
	color:#d21d2b;
	font-size:18px;
}


#monFlash{
	float:right;
	margin:0 0 5px 20px;
}

/* HOME SLIDESHOW */

#slider{
	border:1px solid #042F5F;
	background-color:#1b4b80;
	margin-top:3px;
}

.nivoSlider {
    position:relative;
    width:480px; /* Change this to your images width */
    height:296px; /* Change this to your images height */
    background:url(images/loading.gif) no-repeat 50% 50%;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
.nivoSlider a {
    border:0;
    display:block;
}

/* MISC */

.side_image{
	margin-bottom:20px;
}

.alignright{
	border:1px solid #B3B3B3;
	float:right;
	margin:0 0 10px 20px;
}

.alignleft{
	border:1px solid #B3B3B3;
	float:left;
	margin:0 20px 10px 0;
}