/*
Theme Name: St Bedes College
Theme URI: http://www.stbedescollege.co.uk/
Description: Custom theme for St Bede's College
Version: 1.0.0
Author: Design by Chris Hibbert, coding by <a href="http://zed1.com/">Mike Little</a>
Author URI: http://zed1.com
*/

/* mac hide\*/
html, body {height:100%}
/* end hide */

* {
  margin: 0;
  padding: 0;
}

body {
  padding:0;
  margin:0;
  text-align:center;
  min-width:760px;/* for mozilla*/
  font-family: "Arial";
  font-size: small;
  text-align: center;
  background: #e9e9e9; /*#ECE8E9;*/
  color: #222;
}
html>body #outer { height:auto; } /*for mozilla as IE treats height as min-height anyway*/

#outer{
  height:100%;
  min-height:100%;
  text-align:center;
  position:relative;
  background: url(images/promo.gif) top left repeat-x;
  border-left:1px solid #ccc;
  border-right:1px solid #ccc;
  color: #222;
  line-height:1.5;
}

p a {}

div, p  { margin-top:0 }/*clear top margin for mozilla*/

h1 {
  margin-bottom: 1em;
  font-size: 150%;
  color: #144988;
  font-weight: bold;
}

h2 {
  margin-bottom: 0.75em;
  font-size: 135%;
  color: #144988;
  line-height: 1.2;
}
/* Text formatting */
p {
  padding: 0 0 0px 0;
  /*line-height: 1.7em;*/
  margin-bottom: 1.5em;
}

h3 {
  margin: 0.75em 0;
  padding: 0 0 00px 0;
  font-size: 115%;
  color: #144988;
}

h5 {
  color: #3f94cd;
  padding-bottom: 10px;
}

img { margin: 3px; }
a img { border: 0; }

a:link, a:hover, a:active {
  text-decoration:underline;
  color: #144988;
}
a:visited {
  color:#144988;
}
a:hover {
  text-decoration:underline;
}





#outer2{
  height:100%;
  min-height:100%;
  width:758px;
  border-left:1px solid #ccc;
  border-right:1px solid #ccc;
  text-align:left;
  margin:auto;
  position:relative;
  position:relative;
  background : #fff url(images/sidebar-bg.gif) top left repeat-y;
}

#bar {
  text-align:right;
  padding-right: 10px;
  height: 20px;
  padding-bottom: 8px;
}

#bar label { font-size: 80%; }
#bar input { font-size: 80%; }
#bar input#s { width: 116px; }

#innerwrap {
  float:left;
  width:562px;
}

.wide #innerwrap {
  width:712px;
}

.front-page #outer2 {
  background-image: none;
}

#header{
  left:-1px;
  width:758px;
  margin: 0 auto;
  overflow:hidden;
  z-index:100;
  background-color:#fff;
  color: #000;
}
#left {
  position:relative;/*ie needs this to show float */
  float:left;
  padding-bottom:12px;/* needed to make room for footer */
  width: 130px;
  background-color:#144988;
  color: #fff;
  padding-left: 12px;
  padding-right: 10px;
}

.front-page #left {
  width:190px;
  background-color:#fff;
  color: #222;
  padding-left: 12px;
  padding-right: 10px;
}

#centrecontent {
  width: 386px;
  float:right;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom:12px;/* needed to make room for footer */
  position:relative;/*ie needs this to show float */
}

.front-page #centrecontent {
  padding-left: 12px;
  padding-right: 12px;
  width:314px;
  padding-bottom:12px;/* needed to make room for footer */
}

.wide #centrecontent {
  width: 536px;
}

.full #centrecontent {
  width: 526px;
}

.full #outer2 {
  background-image: none;
}
.full #left {
  background-color: #fff;
}
#centrecontent p, #centrecontent li {
  text-align:justify;
}

#centrecontent li p {
  margin-bottom: 0.5em;
}
#centrecontent li ul {
  margin-bottom: 0.5em;
}

#sidemenu ul {
  list-style:none;
  padding:0;
  margin:0;
}
#sidemenu li { }

#sidemenu a, #sidemenu a:link, #navigation a:visited {
  font-weight:bold;
  text-decoration: none;
  color: #ffffff;
}

#sidemenu a:hover {
  color: #ffffff;
  text-decoration:underline;
}

#sidemenu ul ul {
  padding-left: 8px;
}

#sidemenu li.current_page_item a { font-weight: bold; text-decoration:underline; }
#sidemenu li.current_page_item li a { font-weight: bold; text-decoration:none;  }

#sidebar {
  position:relative;/*ie needs this to show float */
  float:right;
  padding-bottom:12px;/* needed to make room for footer */
  width: 175px;
  float: left;
  background-color:#fff;
  padding-left:10px;
  /*height:700px;*/
  /*border-bottom:solid 1px #ccc;*/
}

#footer {
  width:758px;
  clear:both;
  height:50px;
  text-align:center;
  left:0;
  bottom:0;
  position: absolute;
  background-color: #fff;
  color: #000;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top-color: #ccc;
  border-bottom-color: #ccc;
}
* html #footer {/*only ie gets this style*/
\height:52px;/* for ie5 */
he\ight:50px;/* for ie6 */
}

#clearfooter { width:100%; height:52px; clear:both} /* to clear footer */

.centre {
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

/* Captions */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float:right;
  margin-left: 8px;
}
.alignleft {
  float:left;
  margin-right: 8px;
}

.wp-caption {
  background-color:#fcfcfc;
  border:1px solid #DDDDDD;
  margin:4px;
  padding-top:4px;
  text-align:center;
}


p.wp-caption-text {
  font-weight: bold;
  font-size: 95%;
  color:#144988;
  border-top: 1px solid #ccc;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  text-align:center;
  clear:both;
}

p.wp-caption-text a {
  text-decoration: none;
}
p.wp-caption-text a:hover, p.wp-caption-text a:active {
  text-decoration: underline;
}

.wp-caption img {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  padding: 0 4px 5px;
  margin: 0;
}
/* End captions */

/* from Chris Hibbert's design */
#navbar {
  background: #ffffff;
  border-bottom: 1px solid #fff;
  width: 100%;
}

#navinner {
  width: 100%;
  margin: 0 auto;
  height: 21px;
  border-top: 1px solid #FFFFFF;
  padding-top: 5px;
}

#navbar ul li a { }
#navbar ul, #footer ul {
  text-align:center;
}

#navbar ul li, #footer ul li {
  display: inline;
  list-style-type: none;
}

#navbar ul li a,
#navbar ul li a:link,
#navbar ul li a:visited,
#footer ul li a,
#footer ul li a:link,
#footer ul li a:visited {
  margin: 0 0px 20px 0;
  padding: 10px 0 10px 0;
  float: none;
  padding-left:0px;
  color: #666666;
  text-decoration: none;
}

#navbar ul li a:hover,
#navbar ul li.active a,
#navbar ul li.active a:link,
#navbar ul li.active a:active,
#navbar ul li.active a:visited,
#footer ul li a:hover,
#footer ul li.active a,
#footer ul li.active a:link,
#foooter ul li.active a:active,
#footer ul li.active a:visited {
  /*padding-left: 0;*/
  color: #144988;
}



/* Front features and sidebar */


/* Front header */
#promocase { }

#promo {
  margin: 0 auto;
  text-align: left;
  text-align: left;
  background-color: #fff;
}

#promo h1 {
  margin-left: 15px;
  padding-top: 2px;
}

#promo #telephone {
  margin-left: 496px;
  margin-top: -35px;
  margin-right: 10px;
}

#promoimages {
  width: 758px;
  margin: 0 auto;
  padding: 0;
  height: 183px;
  background-color: #fff;
}

#promoimages img {
  border: 10px solid #e9e9e9;
  margin:0;
  padding: 0;
  border-color: #e9e9e9;
}




/* skin */

/* Front features and sidebar */



/* image replacement for logo */
#logo, #logo span {
  width: 188px;
  height: 76px;
  background: url(images/st-bedes-logo.gif) top left no-repeat;
}
#promo h1 a { text-decoration: none; }
#logo span { margin-bottom: -76px; }
/* code for all styled headers */
h1 span {
  display: block;
  position: relative; /* place the span on top */
  z-index: 1;
}
h1 { overflow: hidden; }

/* image replacement for telephone number */
#telephone, #telephone span {
  width: 252px;
  height: 20px;
  background: url(images/telephone.gif) top left no-repeat;
}

#telephone span { margin-bottom: -20px; }
/* code for all styled headers */
#telephone span {
  display: block;
  position: relative; /* place the span on top */
  z-index: 1;
  overflow: hidden;
}



/* contents */
#left p {
  padding-left:2px;
  padding-right:2px;
}

h2.entry-title {
  clear: both;
}
h2.entry-title a {
  text-decoration: none;
}
h2.entry-title a:hover , h2.entry-title a:active {
  text-decoration: underline;
}

#centrecontent p.postmetadata {
  color:#4f4f4f;
  margin-bottom: 0.25em;
  margin-top: -0.75em;
  text-align:right;
  clear: both;
}

p.postmetadata date {
  color:#4f4f4f;
}


#sidebar h2 {
  border-top: 4px solid #8b8b8b;
  border-bottom: 1px dotted #8b8b8b;
  padding: 3px 0;
  margin: 0 0 10px 0;
  position:relative;
}


#sidebar p {
  color: #4f4f4f;
  margin-bottom: 0px;
  padding-left:4px;
  padding-right:2px;
}

div#sidebar h3 {
  font-weight: bold;
  color: #4f4f4f;
  margin: 0 0 0.25em 0;
  font-size: 100%;
}

div#sidebar h3 a {
  font-weight: bold;
}

#sidebar #events h3 {
}
#sidebar #events h3 a {
  font-size: 100%;
}

#sidebar ul, #sidefeature ul {
  list-style: none;
  margin-bottom: 2em;
}

#sidebar ul li {
  margin-bottom: 0.25em;
}

#sidebar a, #navigation a:visited {
  font-weight:normal;
  text-decoration: none;
  color: #144988;
  line-height:1.5em;
}

#sidebar a:hover {
  color: #0e5ca5;
  text-decoration:underline;
}

#footer ul {
  margin-top: 1em;
}


/* ML */

div#logo { float:left;}

#staff-head td {
  width: 32%;
}

.post {
  margin-bottom: 3em;
}

th.subhead {
  text-align:left;
}


/* standard table */
table {
  font-family: Arial, sans-serif;
  margin: 0.5em auto;
  border-collapse:collapse;
  width: 99%;
  border: 1px #ccc solid;
}

table th {
  border: 1px #144988 solid;
  padding: 2px 6px;
  text-align: center;
  background-color:#144988;
  color: #fff;
}

table td {
  border: 1px #ccc solid;
  padding: 1px 4px;
  vertical-align: top;
}

table caption {
  margin-top: 2em;
  text-align: left;
  font-weight: bold;
}


table #welcome-table td {
  width: auto;
}
table#welcome-table {
  width: 483px;
}

table.results th.col1 { width: 24%; }
table.results th.col2 { width: 8%; }
table.results th.col3 { width: 8%; }
table.results th.col4 { width: 8%; }
table.results th.col5 { width: 8%; }
table.results th.col6 { width: 8%; }
table.results th.col7 { width: 8%; }
table.results th.col8 { width: 12%; }

table.results td { padding: 1px 4px 1px 2px;  text-align:right}
table.results td.sidehead { padding: 1px 4px 1px 2px;  text-align:left}

table.results.averages td { text-align:left}
table.results.passes td { text-align:left}
table.results.totals td { text-align:left}


/* pre-defined variants */
table.col3 td { width: 33%; }
table.col2 td { width: 50%; }

table.wrapper { border: 0; margin: 1em auto; }
table.wrapper td { padding: 0; vertical-align:top; }

table.inner { margin: 0; width:100%; }
table.halfwidth { width: 40%; margin: 1em auto; }

td.centre { text-align: center; }

#staff_heading {
  border: 0;
}
#staff_heading td {
  width: 32%;
  border: 0;
}

.entry-content ul {
  /*list-style: none;*/
  margin-left: 10px;
  margin-left: 2em;
  margin-bottom: 2em;
}
.entry-content ol {
  margin-left: 15px;
}

.entry-content li {
  padding-left: 1em;
}
.entry-content li li {}

.cform { width: 480px; }

.cform textarea, .cform input {
  width:250px;
}

label.cf-after span  {
  display:block;
  width:250px;
}

#centrecontent ol.cf-ol li.cf-box-title {
  font-weight: normal;
  text-align: left;
}

#centrecontent ol.cf-ol li.textonly {
  background:#f0f0f0 none repeat scroll 0 0 !important;
  letter-spacing:1px;
  margin:10px 0 !important;
  padding:5px 0;
  text-align:center;
}

#centrecontent blockquote {
  background: url(images/quotes.png) top left no-repeat;
  padding: 0px 10px;
}
table.calendar td { width: 50%; }

#post-9 table td.col1 { width: 33%; }
#post-9 table#SM td.col1 { width: 66%; }
#post-9 table { margin-bottom: 2.5em; }

#post-72 table.results th.col1 { width: 26%; }

#post-73 table.results.totals th.col1 { width: 10%; }
#post-73 table.results.totals th.col2 { width: 90%; }

#post-74 table.results.totals th.col1 { width: 37%; }
#post-74 table.results.totals th.col2 { width: 63%; }

#post-75 table.results.passes  { width: 60%; }
#post-75 table.results.totals  { width: 60%; }
#post-75 table.results.passes th.col1  { width: 25%; }
#post-75 table.results.totals th.col1  { width: 25%; }

#post-76 table.results.passes  { width: 60%; }
#post-76 table.results.totals  { width: 60%; }
#post-76 table.results.passes th.col1  { width: 25%; }
#post-76 table.results.totals th.col1  { width: 25%; }

#post-77 table.results.passes  { width: 60%; }
#post-77 table.results.totals  { width: 60%; }
#post-77 table.results.totals2  { width: 60%; }

#post-78 table.results.passes  { width: 60%; }
#post-78 table.results.totals  { width: 60%; }
#post-78 table.results.totals2  { width: 60%; }

#post-79 table.results.passes  { width: 60%; }
#post-79 table.results.totals  { width: 60%; }
#post-79 table.results.totals2  { width: 60%; }


table.results.passes  { width: 60%; }
table.results.totals  { width: 60%; }
table.results.totals2  { width: 60%; }


table  { margin-bottom: 2em; }

#st-bedes-news p { clear:both;}
p.continue { clear:both; }


#charity td.col2, #charity2 td.col2 { text-align: right; }


#sidefeature li.post {
  margin-bottom: 0.5em;
}

#sidefeature ul {
  margin: 0;
  padding: 0;
}

#senior-staff dt {
  font-weight: bold;
}

#senior-staff dd {
  text-indent: 1.5em;
}

tr.divider { height: 1em; }

/* adjustment for IE5 */
/* leave this at the bottom */
body {
  font-size: x-small; /* IE5 Win */
  voice-family: "\"}\"";
  voice-family: inherit;
  font-size: small;
}
html>body { /* be nice to Opera */
  font-size: small;
}

.front-page-sticky {
  border: #144988 2px solid;
  padding: 4px;
  margin-bottom: 2em;
}

.post.sticky {
  border: #144988  2px solid;
  padding: 4px;
}