/*  
    Cascading Style Sheet for http://www.knowlhill.org.uk
    Copyright [c] 2007 - Knowl Hill
    By Fenwick Walker @ Grafmix Limited - http://www.grafmix.co.uk
*/

/* GLOBAL STYLES */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: verdana, sans-serif;
  font-size: 0.9em;
  background: #fff;
  color: #000;
}

#slapWrap {
  width: 740px;
  margin: 0 auto;
  background: #3499cb url("../img/global/wrapBG.gif") top left repeat-y;
  color: #fff;
}

#headBand {
  width: 740px;
  height: 160px;
  background: #3499cb url("../img/global/pageHeaderBG.jpg") top left no-repeat;
}

#headBand h1 {
  text-indent: -9999em;
  width: 482px;
  height: 160px;
  margin: 0 0 0 150px;
}

#headBand h1 span {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/global/pageHeader.gif") 0 35px no-repeat;
}

#nav {
  width: 141px;
  float: left;
  background: url("../img/global/menuBG.jpg") 0 0 no-repeat;
}

#nav h2 {
  text-indent: -9999em;
  width: 134px;
  height: 55px;
  margin: 3px 0 0 5px;
  border-right: 1px solid #8bceeb;
  border-bottom: 1px solid #8bceeb;
}

#nav h2 span {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/global/menuHeader.gif") 15px 10px no-repeat;
}

#nav ul {
  margin: 0 0 0 5px;
  list-style-type: none;
  font-size: 0.9em;
}

#nav ul li {
  width: 134px;
  border: 1px solid #8bceeb;
  border-left: none;
  border-top: none;
  text-indent: 3px;
}

#nav ul a {
  background: transparent;
  color: #fff;
  display: block;
  text-decoration: none;
  width: 126px;
  padding: 5px 0;
  border-left: 8px solid #3399cc;
}

#nav ul a:hover {
  background: #b7dbea url("../img/global/navHover.jpg") top left repeat-y;
  color: #1a7499;
}

#nav ul a.current {
  background: #55add1 url("../img/global/navCurrent.jpg") top left no-repeat;
  color: #fff;
  border-left: 8px solid #c8e3f5;
}

#nav ul li ul {
  margin: 0;
  list-style-type: none;
}

#nav ul li ul li {
  border: none;
  width: auto;
  border-left: none;
  border-top: none;
  text-indent: 10px;
}

#nav ul li ul li a {
  background: #b7dbea url("../img/global/navHover.jpg") top left repeat-y;
  border: none;
  width: auto;
  height: auto;
}

#nav ul li ul li a:hover, #nav ul li ul li a.current {
  background: #b7dbea url("../img/global/navHover.jpg") top left repeat-y;
  border: none;
  color: #1a7499;
}

#content ul#memberNav {
  list-style-type: none;
  text-align: center;
  margin: 1em 0;
  padding: 0 2em;
  font-size: .9em;
}



ul#memberNav li {
  display: inline;
}

ul#memberNav a {
  color: #336699;
  text-decoration: underline;
}

#memberNav a:hover {
  text-decoration: none;
}

/*content formatting*/
#content {
  width: 598px;
  color: #336699;
  background: url("../img/global/contentHeader.jpg") 0 0 no-repeat;
  float: left;
}

#content img {
  border: 1px solid #fff;
  margin: 10px 20px 10px 20px;
}

#content p {
  text-align: justify;
  margin: 10px 20px 10px 10px;
}

#content a {
  color: #3a466d;
}

#content a:hover {
  text-decoration: none;
}

#content h3 {
  font-size: 1em;
  margin: 10px;
  clear: both;
}

#content h4 {
  font-size: .9em;
  margin: 1em 0 0 1em;
}

#content ul {
  margin: 0 0 0 2em;
}

#content ul li {
  list-style-type: square;
}

/* Site Messages - confusingly titled notices - don't confuse with noticeboard. */

#content div.notice {
  background: url("../img/global/noticeFoot.png") bottom left no-repeat;
  width: 429px;
  margin: 10px auto 0;
  padding: 0 0 32px 0;
  clear: both;
}

.notice h5 {
  width: 429px;
  height: 42px;
}

.notice h5 span {
  text-indent: -999em;
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/global/noticeHead.png") top left no-repeat;
}

#content div.notice p.ok, #content div.notice p.err {
  background: url("../img/global/noticeBody.png") top left repeat-y;
  width: 329px;
  margin: 0;
  text-align: center;
  padding: 0 50px 0 50px;
}

#content div.notice p.err {
  color: #cc3300;
}

/*forms*/

#content form {
  font-size: .8em;
  border: 1px solid #99cccc;
  background: #fff;
  width: 418px;
  margin: 1em auto;
  padding: 1em;
}

#content form fieldset {
  margin: 0;
  border: none;
}

#content form div {
  width: 100%;
  margin: 10px 0;
}

#content form .check {
  margin: 0;
}

#content form legend {
  color: #336699;
  margin-bottom: 1em;
}

#content label {
  display: block;
  margin: 2px 0;
}

#content form .required {
  color: #ff3300;
}


#content input.text, #content select, #content textarea {
  width: 300px;
  display: block;
  margin: 0 4px 0 0;
  padding: 4px 2px;
  border: 1px solid #666;
  background: #f9f9f9;
  font-size: 1em;
  font-family: verdana, helvetica, sans-serif;
}

#content select {
  width: 200px;
}

#content textarea {
 width: 414px;
 height: 200px;
}

#content input.radioButton {
  display: block;
}

#content input.button {
  margin: 10px 5px 0 0;
  padding: 4px;
  border: 1px solid #666;
  background: #f4f4f4;
  color: #336699;
}

#content div.buttons {
  width: 100%;
}

#content input.button:hover, #content input.fieldSelect {
  background: #fdf292;
}

/*footer*/

#footer {
  width: 740px;
  padding: 18px 0 0 0;
  margin: 0;
  color: #336699;
  background: #fff url("../img/global/footer.gif") 0 0 no-repeat;
  text-align: center;
  font-size: 0.8em;
  clear: both;
}

/*Guy Additions*/

/*Images*/

#content img.center {
  border: 1px solid #fff;
  margin: 0 20px 10px 10px;
}

#content img.left {
  float: left;
  border: 1px solid #fff;
  margin: 10px 20px 10px 10px;
}

#content img.right {
  float: right;
  border: 1px solid #fff;
  margin: 10px 10px 10px 20px;
}

/*Noticeboard content*/

#content .noticeBlock {
  width: 500px;
  background: #fff;
  border: 1px solid #99cccc;
  padding: 10px;
  margin: 5px auto;
}

#content .noticeBlock p {
  font-size: .8em;
  border-bottom: 1px solid #99cccc;
  padding: 10px 0;
  margin: 0;
}

#content .noticeBlock h3 {
  font-size: 1.2em;
  color: #336699;
  border-bottom: 1px solid #99cccc;
  padding: 0 0 10px 0;
  margin: 0;
}

#content .noticeBlock .footNote {
  font-style: italic;
  border: none;
  padding: 10px 0 0 0;
}

#content p.noticeNav {
  width: 520px;
  margin: 10px auto;
  padding: 0;
}

#content p.noticeNav a {
  background: #f4f4f4;
  padding: 2px 4px;
  text-decoration: none;
  border: 1px solid #666;
}

#content p.noticeNav a:hover {
  background: #fdf292;
}

/* Admin / Member specific */

#content p.loggedIn {
  margin: 0;
  text-align: right;
  padding: 10px 20px 0 0;
  font-size: .8em;
}

#content ul.adminTools {
  margin: 0 0 .5em .5em;
  clear: both;
  float: left;
}

#content ul.adminTools li {
  text-indent: -999em;
  list-style: none;
  display: block;
  float: left;
}

#content ul.adminTools li a {
  display: block;
  width: 136px;
  height: 51px;
  margin: 0;
  outline: none;
}

ul.adminTools li a.memberAdd {
  background: url("../img/teachers/memberAdd.png") 0 0 no-repeat;
}

ul.adminTools li a.memberEdit {
  background: url("../img/teachers/memberEdit.png") 0 0 no-repeat;
}

ul.adminTools li a.noticeAdd {
  background: url("../img/teachers/noticeAdd.png") 0 0 no-repeat;
}

ul.adminTools li a.noticeEdit {
  background: url("../img/teachers/noticeEdit.png") 0 0 no-repeat;
}

ul.adminTools li a.messageNew {
  background: url("../img/teachers/messageNew.png") 0 0 no-repeat;
}

ul.adminTools li a.messageInbox {
  background: url("../img/teachers/messageInbox.png") 0 0 no-repeat;
}

ul.adminTools li a.galleryUpload {
  background: url("../img/teachers/imageUpload.png") 0 0 no-repeat;
}

ul.adminTools li a.galleryEdit {
  background: url("../img/teachers/imageEdit.png") 0 0 no-repeat;
}

ul.adminTools li a:hover {
  background-position: 0 -51px; 
}

a.return {
  clear: both;
  padding: 0 0 0 30px;
  background: url("../img/members/return.png") 0 3px no-repeat;
  color: #3a466d;
  font-size: .9em;
}

a.return:hover {
  text-decoration: none;
  background-position: 0 -41px;
}

.memberList {
  background: #fff;
  width: 90%;
  margin: .5em auto;
  border: 1px solid #99cccc;
}

.memberList ul {
  padding: .5em 0;
}

.memberList ul li a {
  color: #3a466d;
}

.memberList ul li a:hover {
  text-decoration: none;
}

#inbox {
  width: 500px;
  margin: .5em auto;
  background: #fff;
}

#inbox th {
  text-align: left;
}

#inbox tr.row1 {
  background: #f4f4f4;
}

#inbox td, #inbox th {
  padding: 4px;
}

/*messaging*/
div#msgRead {
  width: 500px;
  background: #fff;
  border: 1px solid #99cccc;
  margin: 20px auto;
  padding: 10px;
}

p#msgCreds {
  padding: 0 0 4px 0;
  border-bottom: 1px solid #99cccc;
}

p#msgBody {
  border-bottom: 1px solid #99cccc;
  padding-bottom: 8px;
}

ul#msgTools {
  margin: 0;
  padding: 0;
  text-indent: 0;
  width: 100%;
  height: 2em;
  clear: both;
}

ul#msgTools li {
  list-style: none;
  display: block;
  float: left;
  margin: 0 0 0 10px;
}

ul#msgTools li a {
  padding: 4px;
  display: block;
  text-decoration: none;
  border: 1px solid #666;
  background: #f4f4f4;
}

ul#msgTools li a:hover {
  background: #fdf292;
}

/*galleries*/

#content li.activities {
	clear: both;
	overflow: hidden;
	margin: 0 0 10px -18px;
  list-style: none;
}

#content li.activities a {
	display: block;
	height: 70px;
	width: 566px;
	text-indent: -9999em;
	background-repeat: no-repeat;
  border: 1px solid #99cccc;
}

#content li.activities a:hover{
  border: 1px solid #fdf292;
}

#content li.activities a.classroom {
	background: url("../img/activities/classroom.jpg");
}

#content li.activities a.work {
	background: url("../img/activities/work.jpg");
}

#content li.activities a.outings {
	background: url("../img/activities/outings.jpg");
}

#content img#imgGalMain {
display: block;
margin: 20px auto;
}

#content p.imgGalAdminTools {
  font-size: .7em;
  width: 490px;
  margin: -10px auto 20px;
  padding: 5px;
  border: 1px solid #fff;
  background: #f4f4f4;
  text-align: right;
}

#content p.imgGalCapt {
  width: 480px;
  margin: -20px auto 10px;
  padding: 10px;
  border: 1px solid #fff;
  background: #fff;
  text-align: center;
}

#content ul#imgGalThumbs {
  display: block;
  width: 488px;
  margin: 0 0 20px 64px;
  clear: both;
}

#content ul#imgGalThumbs li {
  list-style: none;
  float: left;
}

#content ul#imgGalThumbs li a img {
  margin: 0;
}

#content ul#imgGalThumbs li a {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 20px 10px 0;
}

/* Contact Page */
#content ul#contactButtons {
  width: 50%;
  margin: 0 auto;
  text-align: center;
  list-style: none;
}

#content ul#contactButtons li {
  list-style: none;
  margin: 4px 0;
  border: 1px solid #99cccc;
}

#content ul#contactButtons li a {
  display: block;
  text-decoration: none;
  background: #fff;
  padding: 4px;
}

#content ul#contactButtons li a:hover, #content ul#contactButtons li a.active {
  background: #fdf292;
}

#content div#contactDetails {
  border: 1px solid #99cccc;
  background: #fff;
  width: 418px;
  margin: 1em 0 1em 80px;
  padding: 1em;
  float: left;
  clear: both;
}

#content div#contactDetails div {
  clear: both;
}

#content div#contactDetails div h4 {
  width: 40%;
  float: left;
  margin: 4px 0 0 10px;
  padding: 0;
}

#content div#contactDetails div p {
  width: 45%;
  float: left;
  margin: 4px;
  padding: 0;
}