/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
outline: none;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1.5em;
}

/*
set font size for all divs,
this overrides some body rules
*/

div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link, 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #A53840; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #4D1A1E                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #A53840;
}

/*****************
basic layout 
*****************/
body {
   
   background: #E18D51 url(http://www.merrilands.school.nz/images/template/bg.jpg) top right; 
   color: #333;
}

.intro
{color:#000;
text-align:center;
font-size:0.8em;}

div#pagewrapper {
    color: black;
    margin: 0 auto;
    position: relative;
    top: -9px;
    width: 960px;
    z-index: 1;

   background: #fff url(http://www.merrilands.school.nz/images/template/page.png) top left repeat-x; 
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height:116px;    /* adjust according your image size */

position:relative;
z-index:1;
   background:  url(http://www.merrilands.school.nz/images/template/header.png) top left ; 
}

div#header #logo a {
/* you can set your own image here */
   background: url(http://www.merrilands.school.nz/images/template/logo.png) no-repeat left top; 
   display: block;
   height: 112px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   font-size:0px;
   line-height:0px;
width:960px;
margin:0 auto;
}

div#content {
   margin: 0em auto 2em 0;   /* some air above and under menu and content */
padding-top:1.5em;
}

#Rightsidebar
{float:right;width:250px;margin-bottom:-40px;}


div#main {
float:left;
width:540px;
}

div#main.full
{
width:785px;}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 160px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
clear:both;
color:#fff;
width:960px;
margin:0 auto;
}

#contact
{background:  url(http://www.merrilands.school.nz/images/template/footer.png) right top repeat-x; 
color:#F2ECAC;
padding:12px 0;
text-align:center;
width:960px;
margin:0 auto;
position:relative;
top:-9px;
}


#contact a,
#contact a:link, 
#contact a:active,
#contact a:visited,
#contact a:hover {
   text-decoration: none;
   color:#F2ECAC;
}




div#footer {
font-size:0.8em;
padding:1.5em;
text-align:center;
padding-top:0px;
}
div#footer p a {
color:#fff;
}
.footertable
{vertical-align:top;}

.footertable a, .footertable a:visited 
{text-decoration:none;
background-color:transparent;
color:#fff;}

.footertable a:hover
{text-decoration:underline;
background-color:transparent;
color:#fff;}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
  font-size:0.7em;
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  font-size:0.7em;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
font-family: 'Patrick Hand', cursive;
font-family: 'Comic Sans MS', cursive;
	color: #336600; 
	font-size: 	1.846em; 
	text-align: left; 
	padding-bottom: 1px;
        line-height: 1.5em;
        margin: 0 0 0.5em 0;
}
div#content h2 {
font-family: 'Comic Sans MS', cursive;
	color: #336600; 
	font-size: 1.4em; 
	padding-bottom: 1px;
        line-height: 1.5em;
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #336600; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #336600; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #336600; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #336600; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}



/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

.hidden
{display:none;}

.image
{padding:5px;}


/* END LISTS */
/* Stylesheet: Layout: Left sidebar + 1 column Modified On 2014-07-29 08:55:42 */
/********************
MENU
*********************/
#menu_vert {
   padding-left: 0;
   margin-left: 0em;
text-transform:uppercase;
font-size:0.9em;
font-weight:bold;
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
    background: url("http://www.merrilands.school.nz/images/template/button.png") no-repeat scroll left top transparent;
    color: #FFFFFF;
    display: block;
    min-height: 1em;
    padding: 0.7em 0.5em 1em 1.3em;
    text-decoration: none;
}

div#menu_vert a.menuactive {

    background: url("http://www.merrilands.school.nz/images/template/button.png") no-repeat scroll  -172px 0 transparent;
}
/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 90%;
   padding: 0.5em 0.5em 0.5em 2.8em;
   background-position: 1.5em center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(http://www.merrilands.school.nz/images/cms/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {

 background: url("http://www.merrilands.school.nz/images/template/button.png") no-repeat scroll  -172px 0 transparent;
}
div#menu_vert a.activeparent:hover {
   color: #18507C;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   background: url(http://www.merrilands.school.nz/images/template/arrow-down.gif) no-repeat 0.4em center; 
   background-color: #385C72;
   color: #fff;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #18507C;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   background: url(http://www.merrilands.school.nz/images/template/arrow-right-active.gif) no-repeat 0.4em center;
   background-color: #385C72;
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   color: #fff;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 90%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #000;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(http://www.merrilands.school.nz/images/template/arrow-right-active.gif) no-repeat 2.7em center; 
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}
/* Stylesheet: Navigation: Simple - Vertical Modified On 2014-07-29 08:56:06 */
div#newsInner {
    background: url("http://www.merrilands.school.nz/images/template/news.png") repeat-y scroll center top transparent;
    padding: 0 17px;
height:350px;
}

marquee
{height:345px;}

div#newsTop{
height:156px;
position:relative;
	background: url(http://www.merrilands.school.nz/images/template/news_top.png) top center no-repeat;
}

div#newsBottom{
height:51px;

	background: url(http://www.merrilands.school.nz/images/template/news_bottom.png) bottom center no-repeat;
}


div#OuterNews
{position:Relative;
top:-50px;
z-index:100;}


div#news h2 {
position:relative;
top:117px;
text-align:center;
	line-height: 2em;
	color: #F2ECAC;
	border: none;
font-size:1.9em;
margin:0px;
line-height:1em;
}
.NewsSummary {
	padding: 0.5em 0.5em 1em;
	margin: 0 0.5em 0em 0.5em;
}
.NewsSummaryPostdate {
/* smaller than default text size */
	font-size: 90%;
/* bold to set it off from text */
	font-weight: bold;
}
.NewsSummaryLink {
/* bold to set it off from text */
	font-weight: bold;
/* little more room at top */
	padding-top: 0.2em;
}
.NewsSummaryCategory {
/* italic to set it off from text */
	font-style: italic;
	margin: 5px 0;
}
.NewsSummaryAuthor {
/* italic to set it off from text */
	font-style: italic;
	padding-bottom: 0.5em;
}
.NewsSummarySummary, .NewsSummaryContent {
/* larger than default text */
	line-height: 140%;
}
.NewsSummaryMorelink {
	padding-top: 0.5em;
}
#NewsPostDetailDate {
/* smaller text */
	font-size: 90%;
	margin-bottom: 5px;
/* bold to set it off from text */
	font-weight: bold;
}
#NewsPostDetailSummary {
/* larger than default text */
	line-height: 150%;
}
#NewsPostDetailCategory {
/* italic to set it off from text */
	font-style: italic;
	border-top: 1px solid #ccc;
	margin-top: 0.5em;
	padding: 0.2em 0;
}
#NewsPostDetailContent {
	margin-bottom: 15px;
/* larger than default text */
	line-height: 150%;
}
#NewsPostDetailAuthor {
	padding-bottom: 1.5em;
/* italic to set it off from text */
	font-style: italic;
}

.NewsSummaryLink {
text-transform:uppercase;
}
#NewsPostDetailHorizRule {
}
#NewsPostDetailPrintLink {
}
#NewsPostDetailReturnLink {
}
/* Stylesheet: Module: News Modified On 2014-07-29 08:56:19 */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(/images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(/images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(/images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* Stylesheet: Accessibility and cross-browser tools Modified On 2009-07-01 20:09:03 */
/* Sample FormBuilder CSS base */
	form {margin-top:0}
	form div {margin-bottom:0}
	fieldset div {
		margin-bottom:0.5em;
		margin-left:1em;
	}
	fieldset div div {
		margin-top:0.5em;
		margin-left:1em
	}
	fieldset {
		margin-bottom:1em;
		border:1px solid #F60;
		padding:0.5em
	}
	fieldset label {
		width:auto;
	}
	legend {
		color:#FFF;
		background:#F60;
		font-style:italic;
		font-size:1.2em;
		margin-bottom:0.5em;
		padding:0.2em;
		width:auto;
		border:1px solid #CCC
	}
	textarea {
		margin: 0.5em 0;
		width:180px;
		height: 6em
	}

	/* Apply this class to text/select input fields with shorter labels
		to help alignment */
	.short-label label {float:left; width:10em}
	.short-label fieldset div input, 
	.short-label fieldset div select {width:16em}

	/* Pretty up your Captcha image output */
	.captcha {
		margin:0.5em 0;
		width:200px;
		text-align:center
	}
	.graphic_captcha {border:1px solid #ccc; margin-bottom:0.5em;width:199px}
	.input_captcha {width:196px; margin-top:0.5em}

	/* Just a bit more room for the Submit button */
	.submit {margin-top:0.5em}

input#fbsubmit
{
}

.error, .error_message
{color:red;}

.formbuilderform
{width:174px;}

table#sendfriend
{width:60%;}

input.email, input.toname, input.name
{width:100%;}

.leftFriend
{width:45%;}

.formMessage
{font-weight:bold;
color:#de120d;}

.formError
{font-weight:bold;
color:#de120d;}

.center
{text-align:center;}
/* Stylesheet: FormBuilder Default Style Modified On 2010-06-15 12:40:18 */
/********************
MENU
*********************/

/* hack for Internet Explorer */
* html div#menu_class {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_class {
   width: 100%;
   margin: 0;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_class ul {
    height: 8.9em;
    margin: 0;
    padding: 0;
}


/* menu list items */
div#main div#menu_class ul li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0 ;
}


div#menu_class a {
    background: url("http://www.merrilands.school.nz/images/template/door.png") no-repeat scroll center top transparent;
  
    display: block;
    margin: 0;
    padding: 9.5em 2.7em 0 2.8em;
    text-decoration: none;
margin-bottom:2em;
}


/* hover state for links */
div#menu_class li a:hover {
}
div#menu_class a.activeparent:hover {
   color: #18507C;
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_class li.activeparent a {
   background: #385C72 url(http://www.merrilands.school.nz/images/template/arrow-down.gif) no-repeat 0.4em center; 
   color: #fff;
}

div#menu_class h3 {
   padding: .6em 1em .6em 1.4em; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   color: #fff;
   background: #385C72 url(http://www.merrilands.school.nz/images/template/arrow-right-active.gif) no-repeat 0.4em center; ;
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
}

/* Stylesheet: Nav Classrooms Modified On 2014-07-29 08:56:51 */
/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div.file_list ul {
    height: 8.9em;
    margin: 0;
    padding: 0;
}


/* menu list items */
div#main div.file_list ul li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0 ;
}


div.file_list a {
    background: url("http://www.merrilands.school.nz/images/template/note.png") no-repeat scroll center top transparent;
    color: #18507C;
    display: block;
    margin: 0 0 2em;
    padding: 3.5em 2.5em;
    text-decoration: none;
}


div#main div#newslettersArch ul li
{
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0 ;
}


div#newslettersArch a {
    display: block;
    margin: 0 0 2em;
    padding: 0em 0.5em;
    text-decoration: none;
border-right:1px solid #ccc;
}

div#newslettersArch a.menuactive
{color:#961F3F}



/* Stylesheet: Nav Newsletter  Modified On 2014-07-29 08:57:00 */
