div.contactform  label {
   width: 12em;
   display: block;
   padding-top: 0.5em;
}

div.contactform div {
  margin-left: 2em;
}

div.bookingform label {
  width: 12em;
  text-align: right;
  margin-right: 0.5em;
  display: inline-block;
}

div.bookingform .check label {
  width: 40em;
  text-align: left;
}  

div.bookingform .wide_label label {
  width: 20em;
}  


div.bookingform .submit input {
  margin-left: 12.5em;
  margin-top: 2em;
}

div.bookingform .submit textarea {
  margin-left: 20.5em;
}

div.bookingform h2 {
  margin-top: 20px;
  text-align: center;
}

div.bookingform h3 {
  margin-top: 20px;
  font-weight: bold;
}
/* Stylesheet: stjohns_form Modified On 2013-02-24 16:16:46 */
/* Footer trick from http://fortysevenmedia.com/blog/archives/making_your_footer_stay_put_with_css/ */


* { 
  margin: 0; 
  padding: 0;
}


html,body {
  height: 100%;
}

body {
  font-size: 90%;
  /*font-family:  Gill sans,  Calibri, Arial, Helvetica, sans-serif;*/
  /*font-family:  "Gill Sans", "Gill Sans MT", "trebuchet ms", sans-serif;*/
  font-family:  "trebuchet ms", "Arial", "Helvetica", sans-serif;
  background: white;
  color: #444;
  line-height: 1.4;
}


#main {
  min-width: 500px;
  max-width: 45em;
  min-height: 400px;
  margin: 0 20px -30px 200px;
  padding: 0 20px 0 20px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

/* Main text styling */

h1,h2,h3 {
  color: #0066aa;
  font-weight: normal;
  letter-spacing: 0.07em;
  padding-bottom: 0.5em;
  text-align: left;
}

h1 {
  font-size: 200%;
  text-align: center;
}

h2 {
  font-size: 150%;
}

h3 {
  font-size: 100%;
}

p {
  padding-bottom: 1em;
  text-align: justify;
}

a, a:visited {
  color: #0066aa;
  text-decoration: none;
}

a:hover {
  color: #0099ff;
}

ul {
  padding-bottom: 1em;
}

li {
  margin-left: 2em;
}

.clear {
  clear: both;
}

blockquote {
  padding: 0 5em 1em 5em;
  font-style: italic;
}

/* Images */

img {
  float: left;
  border: 1px solid #ccc;
  background: white;
  padding: 3px;
  margin: 5px 15px 15px 0;
}

.right {
  float: right;
  margin: 5px 0 15px 15px;
}

img.centre {
  float: none;
  display: block;
  margin: 1em auto 2em auto;
}

img.noborder {
  float: left;
  border: 0px;
  background: white;
  padding: 3px;
  margin: 5px 8px 5px 0;
}

img.noborder_right {
  float: right;
  border: 0px;
  background: white;
  padding: 3px;
  margin: 5px 0px 5px 8px;
}

div.imageright {
   float: right;
   margin: 0 0 0 20px; 
}

div.imageright p {
  margin: 0 10px;
}

div.imageright img {
   float: none;
   margin: 0;
   padding: 0;
}

/* Tables */

table {
  margin: 5px auto 15px;
  border: none;
}

table caption {
  color: #0066aa;
  text-align: center;
  font-weight: bold;
}

th {
  color: #0066aa;
  text-align: center;
}

th.left {
  text-align: left;
 padding: 0 0.5em 0 0.5em;
}

table .right {
  text-align: right;
}

td {
  padding: 0 0.5em 0 0.5em;
}

td.indent {
  padding-left: 3em;
}


/* Special classes */

.biog {
  overflow: auto;
  height: 100%;
  margin: 1em 0 1.5em 0;
  background: #ccc;
  padding: 1em;
  margin-top: 1em;
}

.biog p {
   margin-left: 150px;
   padding: 0;
   margin-bottom: 1em;
}


.biog h2 {
   margin-left: 150px;
   padding: 0;
  font-size: 120%;
}

.biog img {
  float: left;
  padding: 5px;
  background: white;
  margin: 0;
}


ul.links {
  list-style: none;
  margin: 0px auto;
}

ul.links li {
  float: left;
  text-align: center;
  margin: 1px;
}

ul.links li a {
  display: block;
  font-size: 90%;
  width: 112px;
  height: 3.5em;
  padding: 64px 4px 4px 4px;
  color: white;
  background-color:  #2f2e2e;
  background-position: right top;
  background-repeat: no-repeat;
}

ul.links li a#peace_and_justice {background-image: url('http://www.stjohns-edinburgh.org.uk/uploads/images/terrace_link_sprite.jpg'); }
ul.links li a#environment {background-image: url('http://www.stjohns-edinburgh.org.uk/uploads/images/tree_link_sprite.jpg'); }
ul.links li a#charities {background-image: url('http://www.stjohns-edinburgh.org.uk/uploads/images/money_link_sprite.jpg'); }
ul.links li a#development {background-image: url('http://www.stjohns-edinburgh.org.uk/uploads/images/development_link_sprite.jpg'); }

ul.links li a:hover {
  background-position: left top;
  color: #0066aa;
  background-color: #bcb8ad;
}

/* Top navigation bar */

#tabs {
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/header_bar.jpg') no-repeat black;
  min-width: 70em;
  margin-bottom: 20px;
}

#tabs ul {
  list-style: none;
  width: 70em;
  padding-top: 110px;
  padding-bottom: 6px;
}

#tabs li {
  display: inline;
  list-style: none;
  margin-left: 8px;
}

#tabs a {
  padding: 6px 6px;
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/inactive_tab_back.gif') repeat-x black;
  text-decoration: none;
  font-size: 110%;
  color: white;
  border: 1px solid #999;
  border-bottom: none;
}



#tabs li.menuactive a {
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/tab_back.gif') repeat-x #f0e9d9;
  color: #0066aa;
  padding-bottom: 8px;
}

#tabs a:hover {
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/hover_tab_back.gif') repeat-x #f0e9d9;
}

.contactform fieldset {
   padding: 10px 20px 20px 20px;
   border: none;
}

.contactform .submit {
  width: 160px;
  margin-left: 50px;
}

input[type="submit"] {
  width: 160px;
  height: 30px;
  border: none;
  color: white;
  font-size: 110%;
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/submit_button_sprite.gif') bottom;
}

input[type="submit"]:hover {
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/submit_button_sprite.gif') top;
}

.formbuilderform label {
  margin-right: 2em;
}

.formbuilderform div {
   margin-bottom: 0.5em;
}

/* Side bars */

#sidebar {
  float: left;
  width: 200px;
  margin-left: -220px;
  display: inline /* Fixes IE6 margin bug */
}

#section_pages {
  margin-top: 50px;
}

#section_pages h2 {
  color: #0066aa;
  padding: 0;
  font-size: 100%;
}

#section_pages ul {
  padding-left: 1.5em;
  list-style: none;
}

#section_pages li {
  display: inline; /* Fixes IE6 list spacing bug */
  padding: 0;
  margin: 0;
}

#section_pages a {
  display: block;
  text-decoration: none;
  color: #0066aa;
  padding: 0 16px 4px 16px;
  margin: 0 16px 4px 16px;
  border-bottom: 1px dashed #aaaaaa;
}

#sidebar a:hover {
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/box_link_back_active.gif') bottom #f0e9d9;
}

#sidebar .box {
   border: 1px solid #ccc;
   padding: 4px 8px;
   margin: 16px 10px 40px 10px;
}

#sidebar .box p {
  text-align: left;
  padding: 0;
  margin: 0 0 4px 0;
}

#sidebar .box a {
  display: inline-block;
  text-decoration: none;
  color: #0066aa;
}

div.box h2 {
  font-size: 100%;
}

div.box img {
  border: none;
  padding: 0;
  margin: 0;
}

#sidebar .highlightbox {
   background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/inactive_tab_back.gif') repeat-x #0066aa;
   color: white;
   padding: 4px 8px;
   margin: 24px 10px;
}

#sidebar .highlightbox p {
  text-align: center;
}

 #sidebar .highlightbox h2 {
  color: white;
  font-size: 100%;
  padding: 0 0 8px 0;
  font-weight: bold;
  letter-spacing: 0;
  text-align: center;
}





.sectionlink {
   border: 1px solid #ccc;
   padding: 1em;
   margin: 0 auto 8px auto;
}

.sectionlink:hover {
   background: #ccc;
}

.sectionlink h2 {
  font-size: 100%;
  padding: 0;
}

.sectionlink p {
  color: #444;
  padding: 0;
}



div.feedheadlines ul {
  list-style: none;
  font-size: 85% ;
}

div.feedheadlines li {
  padding-left: 1em;
  margin-left: 0;
}

.tourlink td {
   padding: 1px;
}

.tourlink  a {
  display: block;
  background: #aaaaaa;
  padding: 2px;
  width: 30px;
  text-align: center;
}

.tourlink a:hover {
    background: #333333;
}



/* Footer */ 

.clearfooter {
  height: 30px;
  clear: both;
}

#footer {
  height: 30px;
  position: relative;
  background: black;
  color: white;
  font-size: 75%;
  margin-top: 40px;
}

#footer p {
  padding-top: 5px;
  text-align: center;
}




#gccalendar .next {
  float: right;
}

#gccalendar table {
  border-collapse:collapse;
}

#gccalendar td {
  border-top: 2px solid #0066aa;
}

#gccalendar .event_hr {
  color: #cccccc;
}

#gccalendar .gc_date {
  margin: 0.5em 0 0.5em 0;
  width: 6em;
  color: #0066aa;
  font-weight:bold;
}

div.gc_event_description {
  display: none;
}

#gccalendar #thismonth {
  font-weight:bold;
  width: 12em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* Stylesheet: stjohns_mar26 Modified On 2014-09-10 10:59:49 */
#main2 {
  width: 930px;
  margin: 20px;
}

.homeleft {
  float: left;
  width: 650px;
  margin: 0;
  padding: 0;
}

.homeright {
  width: 280px;
  float: right;
  margin: 0;
  padding: 0;
}

#homewelcome {
  width: 300px;
  float: left;
}

p.homecentre {
  float: left;
  width: 600px;
  display: block;
  text-align: center;
  font-weight: bold;
}  


h1 {
    padding-top: 50px;
    font-size: 150%;
}

img.noborder {
  float: left;
  border: 0px;
  background: white;
  margin: 40px 20px 40px 40px;
}

div.button_set {
  float: left;
  width: 540px;
  margin: 30px 0 0 50px;
}



.button_set div  {
  float: left;
  width: 160px;
  margin: 0 10px 20px 10px;
}

.button_set a {
  width: 160px;
  display: block;
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/button_sprite.gif')  bottom #0066aa;
  color: white;
  height: 40px;
  font-size: 140%;
  padding: 0;
  text-align: center;
  line-height: 40px;
}

.button_set p {
   margin-top: -12px;
   padding: 20px 15px 40px 15px;
   color: #666666;
   font-size: 80%;
   text-align: left;
}

.button_set a:hover {
  background: url('http://www.stjohns-edinburgh.org.uk/uploads/images/button_sprite.gif') top #aa7700;
  color: white;
}


div.notice {
   padding: 10px 10px;
   margin: 0px 40px 40px 40px ;
   border: 2px solid #0066aa;
   clear: both;
}

div.notice h2 {
  font-size: 120%;
  font-weight: bold;
}

div.notice img {
   float: left;
   margin-top: -10px;
  margin-right: 10px;
  margin-bottom: -10px;
  margin-left: -20px;
   padding: 0;
}

div #twitter {
  margin: 20px 0 10px 0;
}
/* Stylesheet: stjohns_home2 Modified On 2018-04-29 16:25:23 */
div #gc_thisweek {
  width: 270px;
  height: 350px;
  overflow-y: scroll;
  border: 1px solid #999999;
}


div #gc_thisweek table {
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  padding: 0;
}


.gc_date {
  color: white;
  color: #0066aa;
  font-size: 80%;
  font-weight: bold;
  padding: 5px 5px 0 5px;
  border-bottom: solid 1px #cccccc;
}

.gc_event {
  font-size: 80%;
  padding: 0;
  margin: 0;
}

div.gc_event_description {
  display: none;
}

.gc_event_time {
  padding: 0 10px 0 15px;
  font-size: 80%;
  text-align: right;
  vertical-align:top;
}
/* Stylesheet: googlecalendar_list Modified On 2012-07-01 20:14:41 */
