
html {
	height: 100%;
	/* font-size: 100%; */
}

body {
	height: 100%;
	/* font-size: 100%; */
	margin-bottom: 1px;
}

.clr {
	clear: both;
}

.outline {
  border: 0px;
	padding: 2px;
}

/* Selwyn MCR backgrounds */

.darkGold { background : #b8860b; }

.lessDarkGold { background : #daa520 ; }

.gold { background : #fdd700; }

#buttons_outer {
	width: 635px;
  	margin-bottom: 2px;
	margin-right: 2px;
	float: left;

}

#buttons_inner {
	border: 1px solid #660000;
	height: 21px !important;
	height: 23px;
}

#pathway_text {
  overflow: hidden;
	text-align: left;
	font-size: 0.8em;
	font-weight: bold;
	color: #ffcd00;
	display: block;
	height: 1.8em;
	line-height: 2em !important;
	line-height: 2em;
	padding-left: 4px;
	margin-bottom: 2px;
	background: url(../images/selwyn_subhead_bg.png) repeat-x #a5674d;
}

a.pathway:link, a.pathway:visited {
	color: #ffcd00;
}

a.pathway:hover {
	text-decoration:underline;
}

span.pathway a:link, span.pathway a:visited {
	color: #ffcd00;
}

span.pathway a:hover {
	text-decoration:underline;
}


div.pathway a.pathway {
	    background: none;
	    color: #333333;
}

div.pathway a.pathway:hover {
	text-decoration: underline;
}

#pathway_text img {
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 6px;
	background: #fafad2;
}

#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: 0.9em;
	line-height: 21px;
	white-space: nowrap;
}

ul#mainlevel-nav li a
{
	display: block;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	color: #000000;
	background: transparent;
}

#buttons>ul#mainlevel-nav li a { width: auto; }

	ul#mainlevel-nav li a:hover
{
	color: #fff;
	background: #c64934;
}


#search_outer {
	float: left;
	width: 165px;
}

#search_inner {
	background: url(../images/selwyn_crest.png) no-repeat;
  	border: 1px solid #660000;
	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: arial, helvetica, sans-serif;
	font-size: 0.9em;
	color: #c64934;
}

#header_outer {
	border-bottom: 2px solid #ffcd00;
	text-align: center;
	width: 100%;
        height: 100px;
        line-height: 100px;
	overflow: hidden;
}

#header {
	vertical-align: top;
	/* font-size: 1em; */
	font-weight: bold;
	color: #fffff0;	
	width: 100%;
	height: 100px;
	line-height: 100%;
	background: #660000;
}

#headertext {
	vertical-align: 120%;
	font-size: 2.3em;
	font-weight: bold;
color: #ffcd00;
}

a#headertext:hover {
	background: #660000;
	text-decoration: none;
}

#top_outer {
	float: left;
	width: 165px;
}

#top_inner {
	padding: 2px;
  height: 144px !important;
  height: 150px;
  overflow: hidden;
  float: none !important;
  float: left;
}

#left_outer {
  	float: left;
	margin-top: 0px;
	width: 100%;
}

#left_inner {
	float: none !important;
	float: left;
}

#content_outer {
	padding: 0px;
	margin-top: 0px;
	margin-left: 0px;
	float: left;
	width: 100%;
}

#content_inner {
  float: none !important;
  float: left;
  padding: 0;
  padding-top: 0px;
  margin: 0;
}

table {
	/* font-size: 1em; */
}

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: 0px;
	width: 165px;
}

#right_inner {
  float: none !important;
  float: left;
  padding-left: 0px;
  width: 100%;
}


.user1_inner {
  float: none !important;
  float: left;
	margin: 0px;
	padding: 2px;
}

.user2_inner {
  float: none !important;
  float: left;
	margin: 0px;
	padding: 2px;
}

table td.body_outer {
	padding-left: 0.5em;
	padding-right: 0.5em;
	background: #fafad2;
}

.maintitle {
	color: #ffffff;
	/* font-size: 3em; */
	padding-left: 15px;
	padding-top: 20px;
}

#crest_outer {
	border-bottom: 2px solid #ffcd00;
	width: 100%;
	height: 100px;
	text-align: center;
	line-height:100%;
}

#crest_inner {
	width: 100%;
	height: 100px;
	background: #660000;
	text-align: center;
	
}

#scmcr_outer {
	border-bottom: 2px solid #ffcd00;
	width: 100%;
	height: 100px;
	text-align: center;
}

#scmcr_inner {
	width: 100%;
	height: 100px;
	background: #660000;
	text-align: center;
}

.error {
  font-style: italic;
  text-transform: uppercase;
  padding: 5px;
  color: #660000;
  font-size: 1.2em;
  font-weight: bold;
}

/** old stuff **/

.back_button {
	float: left;
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  border: 3px double #660000;
  width: auto;
  background: url(../images/selwyn_button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px;
  margin: 1px;
}

.pagenav {
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  border: 3px double #660000;
  width: auto;
  background: url(../images/selwyn_button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px;
  margin: 1px;
}

.pagenavbar {
	margin-right: 10px;
	float: right;
}

#footer {
	text-align: center;
	padding: 3px;
}

ul
{
margin: 0;
padding: 0;
list-style: none;
height: 1%;
}

li
{
/* font-size: 1em; */
/*height: 18px;*/
/*overflow: hidden;*/
/*padding-top: 0px;
padding-left: 2px;*/
}

td {
	text-align: left;
	/* font-size: 1em; */
	font-weight: normal;
	padding-left: 0px;
}



body {
	margin: 0px;
	height: 100%;
	padding: 0px;
	font-family: verdana, arial, Sans Serif;
/*	line-height: 100%;*/
	font-size: 0.9em;
	color: #333333;
	background: #fafad2;
	border: 0pt none;
}

.footer {
	font-size: 0.8em;
	color: #000000;
}
/*
a.footer:link, a.footer:visited {
	color: #b22222;
}

a.footer:hover {
	color: #660000;
}
*/
/* Joomla core stuff */


a:link, a:visited
{ color:#660000;
  font-weight:normal;
  text-decoration:none;
}

a:hover {
	/*background: #ffcd00;*/
	text-decoration: underline;
}

a.category:link, a.category:visited {
  font-size: 1.5em;
 margin: 0.5em 0 0 0;
}

table.contentpaneopen {
	width: 100%;
	padding: 0em 0.25em 0em 0.25em;
	margin: 0px;
	background: #fafad2;
}

.contentpaneopen td {
   padding-right: 5px;
	background: #fafad2;
	font-size: 0.9em;
}

table.contentpaneopen td.componentheading {
	padding-left: 4px;
	background: #eee8aa;
}



table.contentpane {
  width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
	background: #fafad2;
}

table.contentpane td {
	margin: 0px;
	padding: 0px 0px 0.25em;
}

table.contentpane a {
  font-size: 1em;
}

table.contentpane td.componentheading {
	padding-left: 4px;
        color: #660000;
}

table.contentpaneopen fieldset {
	border: 0px;
	border-bottom: 1px solid #eee;
}

select button {
  background: #fafad2;
}

select option {
  background: #fafad2;
}

.button {
  color: #660000;
  font-family: verdana, arial, sans-serif;
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  border: 3px double #660000;
  width: auto;
  background: url(../images/selwyn_button_bg.png) repeat-x;
  padding: 0px 5px;
  line-height: 18px !important;
  line-height: 16px;
  height: 26px !important;
  height: 24px;
  margin: 1px;
}

.button:hover {
	color: #b22222;
}

.inputbox {
	padding: 2px;
	border:solid 1px #660000;
	background-color: #ffffff;
}

.componentheading {
	color: #660000;
	text-align: left;
	padding-top: 0.8em;
	padding-bottom: 0.4em;
	padding-left: 0px;
	font-weight: bold;
	/* font-size: 2em; */
	text-transform: uppercase;

}

.contentcolumn {
	padding-right: 5px;
}

.contentheading {
	height: 2em;
	color: #660000;
	font-weight: normal;
	font-size: 2.5em;
	white-space: nowrap;
}

td.contentheading {
	vertical-align: middle;
	height: 2em;
	font-weight: bold;
	font-size: 1.8em;
}

.contentpagetitle {
	font-size: 1.1em;
	font-weight: bold;
	color: #660000;
	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;
}


table.moduletablemenu {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
	background: #eee8aa;
}


div.moduletablemenu {
	padding: 0;
        background: #eee8aa;
}

div.moduleseparator {
	height: 0.25em;
        border-bottom: 0.1em solid #660000;
	background-color: #eed982;
}

div.moduletable {
 padding: 0;
        background: #eed982;
}

.main_menu {
	padding: 0;
        background: #eee8aa;
}

table.main_menu {
	background: #eee8aa;

}

table.moduletable th, div.moduletable h3 {
	background: url(../images/selwyn_subhead_bg.png) repeat-x #a5674d;
	color: #ffcd00;
	text-align: left;
	padding-left: 4px;
	height: 1.8em;
	line-height: 2em;
	font-weight: bold;
	font-size: 0.8em;
	text-transform: uppercase;
 overflow: hidden;
	margin: 0 0 2px 0;
}

table.moduletable td {
	font-size: 0.9em;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}


table.moduletablemenu th, div.moduletablemenu h3 {
	background: url(../images/selwyn_subhead_bg.png) repeat-x #a5674d;
	color: #ffcd00;
	text-align: left;
	padding-left: 4px;
  	height: 1.8em;
  	line-height: 2em;
	font-weight: bold;
	 font-size: 0.8em;
	text-transform: uppercase;
	margin: 0 0 0 0;
 overflow: hidden;
}

table.moduletablemenu td {
	font-size: 0.9em;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}


table.pollstableborder td {
  padding: 2px;
}

.sectiontableheader {
  background: url(../images/selwyn_subhead_bg.png) repeat-x #a5674d;
  color: #ffcd00;
  text-align: left;
  padding-top: 2px;
  padding-left: 4px;
  height: 2em;
  font-weight: bold;
  font-size: 0.9em;
  font-weight: bold;
  padding: 4px;
}

.sectiontablefooter {

}

/* These two bits do alternate entries in a poll */

.sectiontableentry1 {
	background-color : #fafad2;
}

.sectiontableentry2 {
	background-color : #eee8aa;
}

.small {
	color: #999999;
	font-size: 0.9em;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #333333;
	font-size: 0.9em;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #999999;
	font-size: 0.9em;
}

table.contenttoc {
  border: 1px solid #660000;
  padding: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
}

table.contenttoc td {
  padding: 2px;
}

table.contenttoc th {
  background: url(../images/selwyn_subhead_bg.png) repeat-x #a5674d;
  color: #eee8aa;
	text-align: left;
	padding-top: 2px;
	padding-left: 4px;
	height: 2em;
	font-weight: bold;
	font-size: 0.9em;
	text-transform: uppercase;
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
        overflow: hidden;
	background: #eed982;
	vertical-align: middle;
	font-size: 0.9em;
	font-weight: normal;
	color: #660000;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 4px;
	padding-left: 2px;
/*	height: 20px !important;*/
	height: 1.2em;
/*	line-height: 20px !important;*/
/*	line-height: 25px;*/
/*	width: 100%;*/
	text-decoration: none;
}

a.mainlevel:hover {
	text-decoration: none;
  /*	color: #ffffff;*/
	background: #ffcd00;
}

a.mainlevel#active_menu {
	color:#660000;
	font-weight: normal;
	height: 1.2em;
}

a.mainlevel#active_menu:hover {
	color: #660000;
}

a.sublevel:link, a.sublevel:visited {
	display: block;
/*        overflow: hidden;*/
	padding-left: 1em;
	vertical-align: bottom;
	font-size: 0.9em;
	height: 1em;
	font-weight: bold;
	color: #660000;
	text-align: left;
        background: #eed982;
	z-index: 30;
	height: 100%;
}

a.sublevel:hover {
	color: #660000;
	text-decoration: none;
	background: #ffcd00;
}

a.sublevel#active_menu {
	color: #660000;
}

a.sublevel#active_menu:hover {
        color: #b22222;
}

.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 #660000;
  margin: 5px
}

.mosimage_caption {
  margin-top: 2px;
  background: #efefef;
  padding: 1px 2px;
  color: #666;
  font-size: 0.8em;
  border-top: 1px solid #660000;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}

/* tooltip code due to http://psacake.com/web/jl.asp */
/* to use: <a class="info" href="#">MCR<span>MCR</span> */

a.info {
    position:relative;
    z-index:24;
    border-color: #660000;
    border-bottom-width: 1px;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    border-style: dotted;
}

a.info:hover {z-index:32; text-decoration: none;}

a.info span {display: block;}

a.info:hover span {
    display:block;
    position:absolute;
    top:2em; left:2em; width:15em;
    border:1px solid #660000;
    background-color:#eed982;
    text-align: center}



div.popupmenu div {
	display: block;
}

div.menu li:hover > div {
	/* font-size: 2em; */
}

li.menu a:link, li.menu a:visited {
	display: block;
        overflow: hidden;
	background: #eed982;
	vertical-align: middle;
	font-size: 0.9em;
	font-weight: normal;
	color: #660000;
	text-align: left;
	padding-top: 0px;
	padding-left: 2px;
	height: 100%;
	/*width: 100%;*/
	text-decoration: none;
}

.main_menu ul li {
	height: 100%;
	background-image: none;
	background: #eed982;
	padding-left: 0px;
}

.main_menu ul li ul li {
	position: relative;
	_margin-bottom: -5px;
	height: 100%;
	width: 100%;
}

.main_menu ul li ul.active_menu li {
	padding: 0px;
	margin: 0px;
	height: 1%;
}

.main_menu ul li li a {
	   height: 1em;
}

.main_menu ul li li ul {
	position: absolute;
	z-index: 30;
	top: 0;
	left: 100%;
	width: 100%;
	height: 100%;
	display: none;
}

.main_menu ul li li ul.active_menu {
	   display: block;
	   position: relative;
	   left: 0;
	   height: 100%;
	   margin-bottom: 5px;
}

.main_menu ul li li:hover ul{
	display: block;
}

.main_menu ul li li:hover a{
background:#ffcd00;
}

.main_menu ul li li:hover a.mainlevel:hover {
background:#ffcd00;
}
/*
.main_menu ul li li:hover a.mainlevel + ul.active_menu {
background:#eed982;
}
*/
.main_menu ul li li:hover ul a {
background:#eed982;
}

.main_menu ul li li:hover a:hover {
background:#ffcd00;
  /*color:#ffffff;*/
}

.moduletable ul li {
overflow: hidden;
}

ul li a{
font-size: 0.9em;
}

/* Newsfeed - same as moduletable */

table.moduletablenewsfeed {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletablenewsfeed {
 padding: 0;
        background: #eed982;
}

table.moduletablenewsfeed th, div.moduletablenewsfeed h3 {
	background: url(../images/selwyn_subhead_bg.png) repeat-x #a5674d;
	color: #ffcd00;
	text-align: left;
	padding-left: 4px;
	height: 1.8em;
	line-height: 2em;
	font-weight: bold;
	font-size: 0.8em;
	text-transform: uppercase;
 overflow: hidden;
	margin: 0 0 2px 0;
}

table.moduletablenewsfeed td {
	font-size: 0.9em;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

.moduletablenewsfeed ul li {
 height: 1em;
 padding-bottom: 0.2em;
 font-size: 0.8em;
overflow: hidden;
 list-style-type: disc;
 list-style-position: inside;
 color: #660000;
}
/*
.moduletablenewsfeed ul li:hover {
 height: 100%;
 padding-bottom: 0.2em;
 font-size: 1em;
overflow: hidden;
 z-index: 32;
}
*/

ul.newsfeednewsfeed li a {
  font-size: 1em;
 height: 1em;
  /* overflow: hidden;*/
}
