/* CSS Document for Bickley Park School http://www.bickleyparkschool.co.uk */

html, body, ul, ol, li, p, blockquote, q, h1, h2, h3, h4, h5, h6, form, fieldset, a, div, img {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	font-size: 90%;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	/* MSIE 5 doesn't center based on auto left/right margins, 
    but 'text-align:center' does center top-level divs: */
	text-align: center;
  	/* Specify a min-width for the body as wide as the 'wrapper'
    element itself. This prevents negative (i.e. inaccessible)
    left-margins in narrow browser windows when using 
    Navigator 6+/Mozilla on Win32: */
  	min-width: 950px;
	background-color: #660099;
	margin: 0;
	padding: 0;
}

#wrapper {
	vertical-align: top;
	text-align: left;
	width: 950px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/wrapper-bg.jpg) repeat-y left top;
}

#header {
	width: 950px;
	height: 100px;
	background: url(../images/header-bg.jpg) no-repeat left top;
	float: left;
	display: inline;
}

#address {
	padding: 50px 0 0 130px;
}

#address p {
	color: #A3995D;
	line-height: 1.4em;
}

#address a {
	color: #A3995D;
}

#address a:hover {
	text-decoration: none;
}

#nav-wrapper {
	float: left;
	display: inline;
	background: url(../images/wrapper-bg.jpg) repeat-y left top;
}

#nav {
	width: 930px;
	height: 35px;
	margin: 0 10px;
	background: url(../images/nav-bg.jpg) repeat-x left top;
	float: left;
	display: inline;
}

#nav ul {
	list-style-type: none;
	padding: 0 0 0 40px;
}

#nav li {
	float: left;
	display: inline;
}

#nav li a {
	width: 125px;
	height: 28px;
	padding: 7px 0 0 0;
	background: transparent url(../images/nav-link-sprite.jpg) 0 0 no-repeat;
	color: #fff;
	float: left;
	display: inline;
	text-decoration: none;
	text-align: center;
}

#nav li a:hover {
	background: transparent url(../images/nav-link-sprite.jpg) 0 -35px no-repeat;
}

#nav a.daddy {
	background: transparent url(../images/nav-daddy-bg-sprite.png) 0 0 no-repeat;
}

#nav a.daddy:hover {
	background: transparent url(../images/nav-daddy-bg-sprite.png) 0 -25px no-repeat;
}

#nav li ul {
	position: absolute;
	width: 170px;
	left: -999em;
	padding: 0 0 20px 0;
	margin: 35px 0 0 -10px;
	background: transparent url(../images/nav-sub-base.png) no-repeat left bottom;
}

#nav li ul li {
	display:block;
	left: auto;
}

#nav li ul li a {
	width: 155px;
	height: 20px;
	padding: 5px 0 0 15px;
	margin: 0;
	background: transparent url(../images/nav-sub-bg-sprite.png) 0 0 no-repeat;
	color: #555;
	text-align: left;
	font-size: .9em;
}

#nav li:hover, #menu li.over {
position: static; /* make menus not sticky in ie7 */
} 

#nav li ul li a:hover {
	background: transparent url(../images/nav-sub-bg-sprite.png) 0 -25px no-repeat;
	color: #fff;
}


#nav li ul ul {
	margin: 0 0 0 150px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul, #nav li.sfhover ul ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul, #nav li li li li.sfhover ul {
	left: auto;
}

#search {
	float: right;
	padding: 5px 20px 0 0;
}

#search .search-box {
	width: 150px;
	border: 1px solid #555;
	text-align: center;
	font-size: 0.9em;
	padding: 3px 2px 3px 2px;
	color: #555;
}

#search .search-button {
	border: 1px solid #fff;
	font-size: 0.9em;
	padding: 2px;
	color: #fff;
	background-color: #866F44;
}

#logo {
	display: none;
}

#banner {
	width: 930px;
	padding: 0 10px;
	float:left;
	display: inline;
	background: url(../images/wrapper-bg.jpg) repeat-y left top;
}

#content {
	width: 865px;
	padding: 20px 35px 25px 50px;
	float:left;
	display: inline;
	background: url(../images/wrapper-bg.jpg) repeat-y left top;
}

#content h1,h2,h3,h4,h5,h6 {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #847248;
}


#content h1 {
	margin-bottom: .3em;
	font-size: 1.6em;
}

#content h2 {
	margin-bottom: .1em;
	font-size: 1.3em;
}

#content h3 {
	margin-bottom: .1em;
	font-size: 1.1em;
}

#content a {
	color: #555;
}

#content a:hover {
	color: #847248;
	text-decoration: none;
}

#content p {
	font-size: 1em;
	line-height: 1.5em;
	color: #555;
	margin-bottom: .5em;
}

#content ul {
	font-size: 1em;
	line-height: 1.5em;
	color: #555;
	margin-bottom: .5em;
	list-style-type: square;
	list-style-position: inside;
}

#content ol {
	font-size: 1em;
	line-height: 1.5em;
	color: #555;
	margin-bottom: .5em;
	list-style-position: inside;
	list-style-type: lower-alpha;
}

#content .column-wrapper {
	width: 875px;
	float: left;
	display: inline;
}

#content .left-column {
	width: 575px;
	float: left;
	display: inline;
}

#content .right-column {
	width: 275px;
	float: right;
	background: #333;
}

#content-base {
	float: left;
	display: inline;
	width: 950px;
	height: 30px;
	background: url(../images/content-base.jpg) no-repeat left top;
}

#footer {
	width: 850px;
	background-color: #660099;
	padding: 0 50px 20px 50px;
	float: left;
	display: inline;
}

#footer p {
	color: #fff;
}

#footer a {
	color: #fff;
	font-size: .9em;
}

#footer a:hover {
	text-decoration: none;
}

#footer-left {
	float: left;
	display: inline;
}

#footer-right {
	float: right;
	text-align: right;
}

#content .promo-wrapper {
	width: 275px;
	float: right;
	margin: 0 0 0 25px;
}

#content .promo {
	width: 265px;
	height: 100px;
	border: 1px dotted #847248;
	padding: 5px;
	margin: 0 0 .5em;
}

#content .promo h1 {
	font-size: 1.2em;
	margin: 0 0 .2em 0;
}

#content .promo h1 a {
	color: #847248;
}

#content .promo p {
	font-size: .9em;
	line-height: 1.2em;
}

#content .promo img {
	float: right;	
	margin: 0 0 1em 1em;
}

#staff-list table {
	table-layout: auto;
	margin-bottom: .5em;
}

#staff-list td {
	vertical-align: top;
	padding: 2px 5px;
	color: #555;
	font-weight: normal;
}

/* ----------------------------------------------------------------------------- */

/* FORMS - ALL CSS FOR FORMS AND FORM ELEMENTS BELOW */
#content form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  color:#555;
  margin: 0 0 1em 0;
  padding: 0;
  width: 580px;
}

#content form fieldset {
  /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  border-color: #847248;
  border-width: 1px;
  border-style: solid;
  padding: 10px;        /* padding in fieldset support spotty in IE */
  margin: 0 0 .5em 0;
}

#content form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 200px; 
	padding: 0; 
	margin: 5px 0 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}

/*form fieldset label:first-letter {  /* use first-letter pseudo-class to underline accesskey, note that */
/*	text-decoration:underline;    	/* Firefox 1.07 WIN and Explorer 5.2 Mac don't support first-letter */
                                    /* pseudo-class on legend elements, but do support it on label elements */
                                    /* you could instead underline first letter on each element and accesskey */
                                    /* each input but doing only legends lessens cognitive load */
									/* changed to label first letter, opera broke after first letter legend */
/*}*/

#content form fieldset legend {
	color:#847248;
	font-size:1.2em; /* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

#content form input, #content form textarea, #content form select {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	font-size: 1em;
	color:#555;
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
	width: 250px;
	border: 1px solid #847248;
}

#content form input#reset {
	margin-left:0px; /* set margin-left back to zero on reset button (set above) */
}

#content form textarea { 
	overflow: auto; 
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

#content form small {
	display: block;
	margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}

#content form .required{font-weight:bold;} /* uses class instead of div, more efficient */
#content form .button{width: 6em; background-color:#847248; color:#FFF;}

/*form br {
	clear:both;  setting clear on inputs didn't work consistently, so brs added for degrade
} */

hr {
	border: 0;	
	color: #660099;	
	background-color: #660099;	
	height: 1px;	
	margin-bottom: 1em;
}

.row-change:hover {
	background-color: #E0CCEB;
}

.school-day-table {
	width: 550px;
	margin: 0 0 1em;
	border: 1px solid #660099;
	table-layout: auto;
}

.school-day-table th {
	vertical-align: top;
	padding: 2px 5px;
	background-color: #660099;
	color: #fff;
}

.school-day-table td {
	vertical-align: top;
	color: #555;
	padding: 2px 5px;
}

.school-day-table tr:hover {
	background-color: #E0CCEB;
}

#bpsa-table {
	width: 200px;
	border: 1px solid #660099;
}

#bpsa-table th {
	background-color: #660099;
	color: #fff;
	padding: 2px 5px;
}

.video {
	width: 460px;
	height: 260px;
	float:left;
	margin: 0 1em 1em 0;
	background-color: #fff;
	display: inline;
	
}

#content .large {
	font-size: 1.2em;
	color: #847248;
	margin-bottom: .5em;
}

.top {
	background:  url("../images/top.gif") no-repeat left center;	
	padding-left: 1.5em;	
	font-size: 0.9em;
	display:block;
	float: left;
	display:inline;
	clear: both;
}

.floatimgleft {
	float:left;	
	margin: 0 1em 1.5em -40px;
	border-left: 20px solid #847248;
} 

.floatimgright {
	float: right;	
	margin: 0 -25px 1em 1em;
	border-right: 20px solid #847248;
}

.floatright {
	float: right;	
	margin: 0 0 1em 1em;
}


/* ----------------------------------------------------------------------------- */
/* CSS FOR ACCESSIBILITY */
#skiplink {display:none} 
