/* layout
----------------------------------------------- */

#accessibility-links {
position: absolute;
top: -10000px;
}

#container { width:61.54em;*width:60.06em;min-width:800px;max-width:800px; margin:auto; text-align:left; }

#container {
   padding-bottom: 1.0em;
}

body {
   margin-bottom: 1.0em;
}

#custom-doc {
   padding: 0em 2.5em 1.0em 2.5em;
 }

#custom-doc {
   min-height: 61.54em;
}

#masthead.two-col .yui-gf .yui-u.first { 
     width: 28%; 
} 

#masthead.two-col .yui-gf .yui-u.last { 
     width: 70.0%; 
}

#main-content {
   background-repeat: repeat-y;
   background-position: 28% 0;
}

#primary-content {
   background-repeat: repeat-y;
   background-position: 48.5% 0;
}

#hd {
   background-repeat: no-repeat;
   background-position: 97.5% 0;
   position: relative;
   height: 131px;
   min-height: 131px;
   max-height: 131px;
}

#hd h1 {
   position:absolute;
   top:50%;
   margin-top:-0.55em;
}

#masthead-quote {
   height: 216px;
   max-height: 216px;
}

#main-content {
   margin-top: 1.0em;
}

#primary-content p, #primary-content li, #primary-content table {
   margin-bottom: 1.0em;
   padding-right: 2.0em;
}

#primary-content td,  #primary-content th { 
   padding-right: 1.0em;
}

#primary-content th { 
   font-weight: bold;
}

#primary-content .event-summary p,
#primary-content .news-summary p,
#primary-content .home-page-extract p {
   margin-bottom: 0;
}

#primary-content .event-summary,
#primary-content .news-summary,
#primary-content .home-page-extract {
   margin-bottom: 1.0em;
}

#primary-content em {
   font-style: italic;
}

#primary-content cite {
   font-style: italic;
}

#primary-content strong {
   font-weight: bold;
}


/* quaker web ring */
#main-content-grid {
   position: relative;
}

#webring {
   position: absolute;
   left: 0;
   bottom: 0.8em;
}

#webring img {
   margin-right: 0.5em;
   float: left;
   border-style: none;
}

/* meetings page */

#find-meeting-intro {
   margin-bottom: 1em;
}

#s-meetings-in-london dd {
   margin-bottom: 1em;
}

#s-meetings-in-london dd strong {
   font-weight: bold;
}

/* meetings table */

#primary-content #meeting-list th,
#primary-content #meeting-list td {
   vertical-align: top;
}

#primary-content #meeting-list #col-postcode {
   width: 15%
}

#primary-content #meeting-list {
   margin-top: 1em;
}

#primary-content #meeting-list td {
   padding: 0.38em;
}

#primary-content #meeting-list thead td {
   font-weight: bold;
   border-width: 0.15em;
   border-style: solid;
}

#primary-content #meeting-list a.sortheader {
   text-decoration: none;
   display: block;
   padding-right: 1em;
}
	
#primary-content #meeting-list a.sortheader {
   position:relative;
}
	
#primary-content #meeting-list span.sortarrow {
   float:right;
   position:absolute;
   top:0;
   right:0;
}

#primary-content p#update-meeting-info {
   padding-top: 1.0em;
}

/* contact page form */

#s-contact .zemContactForm label,
#s-contact .zemContactForm select {
}

/* accessibility page */

#theme-switcher, #fsize-switcher {
   margin-top: 1em;
}

#theme-switcher li a {
   display: block;
   width: 9em;
   padding: 5px;
   border-width: 1px;
   border-style: solid;
}

/* viewing options link */

#viewing-options {
   float: left;
}

#viewing-options a:link,
#viewing-options a:visited, 
#viewing-options a:hover {
   padding: 3px 10px 3px 10px;
   border-style: solid;
   border-top-style: none;
   border-width: 1px;
   display:block;
   text-decoration: none;
}

/* footer
----------------------------------------------- */

#ft {
   padding: 1.0em 0 0.5em;
   text-align: right;
   font-size: 85%;
}

#ft a:link,
#ft a:hover,
#ft a:visited {
   color: #AAAAAA;
}

/* base styles
----------------------------------------------- */

a:link, a:visited {
   text-decoration: none;
}

a:hover {
   text-decoration: underline;
}

/* headings 
----------------------------------------------- */

h4, h5 {
   font-weight: bold;
}

.event-summary h5,
.news-summary h5 {
   padding-left: 1.4em;
   background-repeat: no-repeat;
   background-position: 0 0.25em;
}

#s-default .event-summary h5,
#s-default .news-summary h5 {
   background-position: 0 0.25em;
}

#s-news .news-summary h5,
#s-events .event-summary h5 {
   background-position: 0 0.25em;
}

#s-events #primary-content form,
#s-news #primary-content form {
   float:right;
   padding-left: 1em;
   padding-bottom: 1em;
}

#s-events #primary-content p.adj-select-box {
  width: 25.0em;
}

#s-news #primary-content p.adj-select-box {
  width: 25.0em;
}

#s-events #extra-nav,
#s-news #extra-nav {
   float:right;
   width: 10em;
   padding-right: 2.0em;
}

#s-news #extra-nav {
   padding-right: 0;
}


/* text sizes
----------------------------------------------- */

h1 {
   font-size: 3.5em;
}

h2 {
   font-size: 1.6em;
}

h3 {
   font-size: 1.4em;
}

#masthead p {
   font-size: 1.4em;
}



/* default colours and navigation stripe 
----------------------------------------------- */

body, html {
   background-color: #D2DFEF;
}

h2, h3 {
   color: #5C8BC3;
}

#custom-doc {
   background-color: #FFF;
}

#main-content {
   background-image: url(http://londonquakers.org.uk/images/11.gif);
}

a:link, a:visited {
   color: #5C8BC3;
}

#webring p {
   color: #5C8BC3; 
}

#viewing-options a:link, #viewing-options a:visited {
   border-color: #D2DFEF;
   color: #000000;
}

#viewing-options a:hover {
   background-color: #D2DFEF;
}

/* meetings table */

#primary-content #meeting-list thead td {
   background-color: #808C43;
   color: #FFFFFF;
   border-color: #808C43;
}

#primary-content #meeting-list a.sortheader {
   color: #FFFFFF;
}

#primary-content #meeting-list thead td.heading-hover {
   background-color: #99A577;   
}

#primary-content #meeting-list.striped tbody tr.even td {
   background-color: #E4ECF5;
}