/* CSS Document */
/* includes ddmenu & tinybox */

hr { border: 0; color: #cccccc; background-color: #cccccc; height: 1px; width: 100%; }

html {
	height: 100%;
}

body {
	height: 100%;
	margin-bottom: 1px;
}

.clr {
	clear: both;
}

.outline {
  border: 1px solid #cccccc;
  background: #ffffff; 
	padding: 2px;
  background: url(../images/eaglebg.jpg) no-repeat; 
}

p {
	font: 12px Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
	color: #333333;
	text-align: Justify;
	line-height: 1.3em;
	padding: 5px;
}

#buttons_outer {
	width: 635px;
  	margin-bottom: 2px;
	margin-right: 2px;
	float: left;

}

#buttons_inner {
	border: 1px solid #cccccc;
	height: 21px !important;
	height: 23px;
}

#header-functions {
/*	position:absolute; */
	margin-top: -10px;
/*	right:0px; */
	padding-right: 0px;
	height: 0px;
	}

#date {
/*	position:absolute; */
	margin-top: 0px; 
/*	top:90px; */
/*	right:5px; */
	padding-right: 0px;
	padding-top: 1px;
	font: 10px Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
	color: #666666;
	}



#header_outer {
	text-align: left;
	border: 0px;
	margin: 0px;
}

#header {
	display: block;
	float: left;
	padding: 0px;
	padding-right: -1px;
	margin-right: 1px;
	padding-top: 2px;
	margin-bottom: 3px;
/*	width: 635px; */
	width: 798px; 
/*	height: 150px; */
	height: 105px;
	background: #ffffff url(../images/header.jpg) no-repeat;
  border: 1px solid #cccccc;
  overflow: hidden;
}

#pathway_text {
  overflow: hidden;
	display: block;
	height: 19px;
	line-height: 19px !important;
	line-height: 19px;
	padding-left: 4px;
	border: 1px solid #ccc;
	margin-top: 2px;
	margin-bottom: 0px;
	width: 798px;
	padding: 0px;
	padding-right: -1px;
	margin-right: 1px;
 	background: #ffffff;
	color: #666666;
	text-align: left;
	font-size: 12px;
	letter-spacing: 0px;
}

#pathway_text img {
	margin-left: 3px;
	margin-right: 3px;
	margin-top: 6px;
}

#tagline_text {
  overflow: hidden;
	display: block;
	float: center;
	height: 25px;
	line-height: 25px !important;
	margin-top: 20px;
	color: #666666;
	font-size: 12px;
	text-align: center;
	letter-spacing: 0.1px;
}

#quote_text {
  overflow: hidden;
	display: block;
	height: 19px;
	line-height: 19px !important;
	line-height: 19px;
	padding-left: 4px;
	border: 1px solid #ccc;
	margin-top: 0px;
	margin-bottom: 0px;
	width: 798px;
	padding: 0px;
	padding-top: 2px;
	padding-right: -1px;
	margin-right: 1px;
 	background: #ffffff;
	color: #666666;
	text-align: center;
	font-size: 11px;
	letter-spacing: 0.5px;
}

#top_outer {
	text-align: left;
	border: 0px;
	margin: 0px;
}

#top {
	display: block;
	float: center;
	margin: 0px;
	padding: 0px;
	padding-right: 0px;
	padding-left: 2px;
	margin-right: 0px;
	width: 798px; 
	height: 27px;
	background: #ffffff ;
  border-bottom: 1px solid #cccccc;
  overflow: hidden;
}


a.toplevel:link, a.toplevel:visited {
	display: block;
	background: url(../images/tab-grey.jpg) no-repeat;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #800000;
	text-align: center;
	padding-top: 8px;
	height: 30px !important;
	height: 30px;
	width: 132px;
	text-decoration: none;
}

a.toplevel:hover {
	background: url(../images/tab-white.jpg) no-repeat;
	text-decoration: none;
	color: #800000;
}

a.toplevel#active_menu {
	background: url(../images/tab-white.jpg) no-repeat;
	color:#800000;
	font-weight: bold;
}

a.toplevel#active_menu:hover {
	background: url(../images/tab-white.jpg) no-repeat;
	color: #800000;
}

#buttons {
	float: left;
	margin: 0px;
	padding: 0px;
	width: auto;
}


ul#mainlevel-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
}

ul#mainlevel-nav li
{
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	font-size: 11px;
	line-height: 21px;
	white-space: nowrap;
	border-right: 1px solid #cccccc;
}

ul#mainlevel-nav li a
{
	display: block;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	color: #333333;
	background: transparent;
}

#buttons>ul#mainlevel-nav li a { width: auto; }

	ul#mainlevel-nav li a:hover
{
	color: #fff;
	background: #800000;
}


#search_outer {
	float: left;
	width: 165px;
}

#search_inner {
  border: 1px solid #cccccc;
	padding: 0px;
  height: 21px !important;
  height: 23px;
  overflow: hidden;
}

#search_inner form {
  padding: 0;
  margin: 0;
}

#search_inner .inputbox {
	border: 0px;
	padding: 3px 3px 3px 5px;
	font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
	font-size: 11px;
	color: #800000;
}



#left_outer {
  float: left;
	margin-top: 2px;
	width: 165px;
  border: 1px solid #cccccc;
  background: #f0f0f0;
}

#left_inner {
	padding: 2px;
  float: none !important;
  float: left;
}

#content_outer {
	padding: 0px;
	margin-top: 0px;
	margin-left: 2px;
	/** border: 1px solid #cccccc; **/
	float: left;
	width: 632px;
  height: 100%;
}

#content_inner{
  float: none !important;
  float: left;
  padding: 0;
  padding-top: 2px;
  margin: 0;
  height: 100%;
}

table.content_table {
  width: 100%;
	padding: 0px;
	margin: 0px;
}

table.content_table td {
	padding: 0px;
	margin: 0px;
}


#banner_inner {
	float: left;
	padding: 0px;
	height: 70px;
}

#poweredby_inner {
	float: right;
	padding: 0px;
	margin-left: 0px;
	height: 70px;
}

#right_outer {
	margin-left: 2px;
	width: 165px;
  border: 1px solid #cccccc;
  background: #f0f0f0;
  height: 100%;
}

#right_inner {
  float: none !important;
  float: left;
  padding: 2px;
}


.user1_inner {
	border: 1px solid #cccccc;
  float: none !important;
  float: left;
	margin: 0px;
	margin-bottom: 2px;
	padding: 2px;
}

.user2_inner {
	border: 1px solid #cccccc;
  float: none !important;
  float: left;
	margin: 0px;
	margin-top: 2px;
	padding: 2px;
}

.user3_inner {
	border: 1px solid #cccccc;
  float: none !important;
  float: left;
	margin: 0px;
	margin-top: 2px;
	padding: 2px;
}

.user9_inner {
	border: 1px solid #cccccc;
  float: none !important;
  float: left;
	margin: 0px;
	margin-top: 2px;
	padding: 2px;
}

.bottom_outer_left {
	padding-top: 2px;
	padding-right: 2px;
}
.bottom_outer_middle {
	padding-top: 2px;
}
.bottom_outer_right {
	padding-top: 2px;
	padding-left: 2px;
	padding-right: 1px;
}

#bottom_inner {
  float: none !important;
  float: left;
  border: 1px solid #cccccc;
  background-color: #f0f0f0;
  padding: 2px;
}

#footer {
  overflow: hidden;
	display: block;
	line-height: 1.2em;
	padding: 2px;
	border: 1px solid #cccccc;
	margin-top: 2px;
	text-align: center;
	color: #808080;
	background: #ffffff ;
/*	background: #800001 url(http://www.stjohnsrc.org.uk/content/templates/stjohns/images/footer.gif) no-repeat; */
	font: 10px/10px Arial, Helvetica, Sans-Serif;
}

table td.body_outer {
	padding: 2px;
	border: 1px solid #cccccc;
}


.error {
  font-style: italic;
  text-transform: uppercase;
  padding: 5px;
  color: #cccccc;
  font-size: 14px;
  font-weight: bold;
}

/** old stuff **/

.back_button {
	float: right;
  text-align: center;
  font-size: 11px;
  font-weight: normal;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px;
  margin: 1px;
}

.pagenav {
  text-align: center;
  font-size: 10px;
/*  font-weight: bold;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px; */
  margin: 1px;
}

.pagenavbar {
  text-align: center;
	margin-right: 10px;
/*	float: right; */
	float: none;
}

th.pagenav_prev{
	text-align: center;
	padding: 3px;
	font-size: 10px;
	letter-spacing: 1px;
}
th.pagenav_next{
	text-align: center;
	padding: 3px;
	font-size: 10px;
	letter-spacing: 1px;
}


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

li
{
line-height: 15px;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png);
background-repeat: no-repeat;
background-position: 0px 2px;
}


td {
	text-align: Left;
	font-size: 11px;
}

body {
	margin: 15px;
	height: 100%;
	padding: 0px;
	font-family: Verdana, Tahoma, Arial, Helvetica, Sans Serif;
	line-height: 120%;
	font-size: 12px;
	color: #333333;
	text-align: Justify;
	background: #800000;
}

/* Joomla core stuff */
a:link, a:visited {
	color: #800000; text-decoration: none;
/*	font-weight: bold; */
}

a:hover {
	color: #800000;	text-decoration: underline;
/* 	font-weight: bold; */
}

table.contentpaneopen {
/*  width: 100%; */
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpaneopen td {
   padding-right: 0px;
}

table.contentpaneopen td.componentheading {
	padding-left: 4px;
}



table.contentpane {
/*  width: 100%; */
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

table.contentpane td.componentheading {
	padding-left: 4px;
}

table.contentpaneopen fieldset {
	border: 0px;
	border-bottom: 1px solid #eee;
}

.button {
  color: #800000;
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 11px;
  font-weight: normal;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 3px;
  line-height: 18px !important;
  line-height: 16px;
  height: 26px !important;
  height: 24px;
  margin: 1px;
}

.inputbox {
	padding: 2px;
	border:solid 1px #cccccc;
	background-color: #ffffff;
}

.componentheading {
	height: 20px;
	color: #800000;
	font-weight: bold;
	font-size: 14px;
	white-space: nowrap;
	border-bottom: 1px solid #ccc;
	padding: 0px;
	text-align: left;
	text-decoration: none;

}

.contentcolumn {
	padding-right: 5px;
}

.contentheading {
	height: 25px;
	color: #800000;
	font-weight: bold;
	font-size: 14px;
	white-space: nowrap;
	border-bottom: 1px solid #ccc;
	padding: 0px;
	text-align: left;
	text-decoration: none;
}


.contentpagetitle {
	font-size: 13px;
	font-weight: bold;
	color: #cccccc;
	text-align:left;
}

table.searchinto {
	width: 100%;
}

table.searchintro td {
	font-weight: bold;
}

table.moduletable {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletable {
	padding: 0px;
	margin: 0px;
}

table.moduletable th, div.moduletable h3 {
	background: url(../images/subhead_bg.png) repeat-x;
	color: #666666;
	text-align: left;
	padding-left: 4px;
	height: 21px;
	line-height: 21px;
	font-weight: bold;
	font-size: 10px;
/*	text-transform: uppercase; */
	margin: 0 0 2px 0;
}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

table.moduletable td.contentheading{
	font-size: 13px;
	padding: 0px;
	margin: 0px;
	font-weight: bold;
/*	border-bottom: 1px solid #ccc; */
	text-align: left;
}


table.pollstableborder td {
  padding: 2px;
}

.sectiontableheader {
  font-weight: bold;
  background: #f0f0f0;
  padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
	background-color : #ffffff;
}

.sectiontableentry2 {
	background-color : #f9f9f9;
}

.small {
	color: #999999;
	font-size: 11px;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #999999;
	font-size: 11px;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #999999;
	font-size: 11px;
}

table.contenttoc {
  border: 1px solid #cccccc;
  padding: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
}

table.contenttoc td {
  padding: 2px;
}

table.contenttoc th {
  background: url(../images/subhead_bg.png) repeat-x;
  color: #666666;
	text-align: left;
	padding-top: 2px;
	padding-left: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 10px;
/*	text-transform: uppercase; */
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
/*	background: url(http://www.stjohnsrc.org.uk/content/templates/stjohns/images/menu_bg.png) no-repeat; */
	vertical-align: middle;
	font-size: 11px;
	font-weight: normal;
	color: #800000;
	text-align: left;
	padding-top: 1px;
	padding-left: 2px;
	padding-bottom: 1px;
	height: 90%;
	width: 100%;
	text-decoration: none;
}

a.mainlevel:hover {
/*	background-position: 0px -25px; */
	text-decoration: underline;
	color: #800000;
}

a.mainlevel#active_menu {
	color:#800000;
	font-weight: bold;
}

a.mainlevel#active_menu:hover {
	color: #800000;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 1px;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #800000;
	text-align: left;
}

a.sublevel:hover {
	color: #900;
	text-decoration: none;
}

a.sublevel#active_menu {
	color: #333;
}

.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0;
}
.code {
	background-color: #ddd;
	border: 1px solid #bbb;
}

form {
/* removes space below form elements */
	margin: 0;
 	padding: 0;
}

div.mosimage {
  border: 1px solid #ccc;
}

.mosimage {
  border: 1px solid #cccccc;
  margin: 5px
}

.mosimage_caption {
  margin-top: 2px;
  background: #efefef;
  padding: 1px 2px;
  color: #666;
  font-size: 10px;
  border-top: 1px solid #cccccc;
}

span.article_seperator {
	display: block;
	height: 0.6em;
	font-size: 6px;
}

a.readon {color: #800000;display: block;float: right;line-height: 12px;background: url(../images/readon.gif) no-repeat left center;text-indent: 16px;text-decoration: none;}
a.readon:hover {color: #800000;display: block;float: right;line-height: 12px;background: url(../images/readon.gif) no-repeat left center;text-indent: 16px;text-decoration: underline;}

span.quoted {display: block; float: right; line-height: 12px; font-size: 11px; text-indent: 16px; text-decoration: none; white-space: nowrap;}

div.message {
	border-bottom: 1px solid #ccc;
	margin-bottom: 5px;
	font: 12px Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
	font-weight: bold;
	color: #666666;
	text-align: Center;
	line-height: 1.5em;
	padding: 5px;
	padding-right:140px;
}

div.notice {
	font: 14px Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
	text-align: Center;
	line-height: 120%;
	padding: 5px;
}


/* ddmenu */

#sddm
{	margin: 0;
	padding: 0;
	z-index: 30}

#sddm li
{	display: block;
	background: url(../images/tab-grey.jpg) no-repeat;
	margin: 0;
	padding: 0px;
	padding-top: 8px; 
	float: left;
	list-style: none;
	width: 133px;
	font: bold 11px Verdana;
	text-align: center;
}


#sddm li a
{	display: block;
	margin: 0 1px 0 0;
	padding: 3px 0px; 
	width: 133px;
	color: #800000;
	text-align: center;
	text-decoration: none;
}


#sddm li a:hover
{
	margin: 0;
	display: block;
	text-decoration: underline;
}

#sddm div
{	position: absolute;
	visibility: hidden;
	margin: 0;
	padding: 0;
	background: #ffffff;
	border: 1px solid #c3c3c3}

	#sddm div a
	{	position: relative;
		display: block;
		margin: 0px;
		padding: 5px 10px;
		width: 109px;
		white-space: nowrap;
		text-align: left;
		text-decoration: none;
		background: #f1f1f1;
		color: #800000;
		font: 11px arial}

	#sddm div a:hover
	{	background: #ffffff;
		color: #800000;
		text-decoration: underline;
}

/* tinybox */

#tinybox {position:absolute; display:none; margin:10px; padding:10px; background:#fff; border:1px solid #800000; z-index:2000}
#tinymask {position:absolute; display:none; top:0; left:0; height:100%; width:100%; background:#808080; z-index:1500}
#tinycontent {background:#fff}

.tinylink {color: #800000; text-decoration: none; cursor: pointer;}
.tinylink:hover {color: #800000; text-decoration: underline;}

#closex {position:absolute; top:2px; right:-12px; z-index:5000; background-image:url(http://www.stjohnsrc.org.uk/content/templates/stjohns/images/x.png); background-repeat:no-repeat; width:24px; height:24px; padding:0px; margin:0px;cursor: hand; cursor: pointer;}