/* general */
a 
{
    color:#2A5DB0;
}


/* 	Secondary navigation - Issues IE5.01 padding on li's too big */
.yui-t2 .yui-b {
	margin-top:7px;
	width:182px;
	}

#nav-secondary { font-size: 0.85em; float: left; width: 182px; margin-bottom: 1em;}

#nav-secondary ul { font-size: 1em; margin: 0; padding: 0; }

#nav-secondary li { font-size: 1em;  }



/* Commented Backslash Hack \*/

#nav-secondary li{ overflow: hidden; } 

/* End IE5-Mac hack */



/* 	the line below that was new in v1.2 breaks rather than fixes IE6 so has been substituted for the original */

.XXXXXXnav-secondary-breadcrumb { list-style-type: none;  background-color: inherit; color: #663399; font-size: 1em; margin: 0 0 0.3em 0; /* Start IE6 hack */ _margin: 0 0 -0.3em 0; /* End IE6 hack */ padding: 0; }
.nav-secondary-breadcrumb { list-style-type: none;  background-color: inherit; color: #663399; font-size: 1em; margin: 0 0 0.3em 0; padding: 0; }

.nav-secondary-breadcrumb a,
.nav-secondary-breadcrumb span { /*list-style-type: none;*/ background: url("/images/template/sec_bullet_up.gif") no-repeat 4px 6px; border: 1px solid #cccccc; display: block; padding: 0.4em 0 0.5em 1.6em; text-decoration: none; }
.nav-secondary-breadcrumb a:active,
.nav-secondary-breadcrumb a:focus { background-color: #f5f5f5; border: 1px dotted #999999; }
.nav-secondary-breadcrumb a:hover { text-decoration: underline; }
.nav-secondary-sectionheader { list-style-type: none; background-color:#9A3267; border: none; color: #ffffff; margin: 1em 0 0 0; /* Start IE6 hack */ _margin: 0 0 0 0; /* End IE6 hack */ padding: 0; }
.nav-secondary-sectionheader a,
.nav-secondary-sectionheader span { background-color: inherit; color: #ffffff; display: block; padding: 0.4em 0.2em 0.5em 0.8em; text-decoration: none; }
.nav-secondary-sectionheader a:visited,
.nav-secondary-sectionheader a:active,
.nav-secondary-sectionheader a:focus { background-color: inherit; color: #ffffff; }
.nav-secondary-sectionheader a:hover { text-decoration: underline; }
.nav-secondary-sectionmenu { margin: 0; padding: 0; list-style-type: none; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; background-color: #ffffff; color: inherit; }
.nav-secondary-sectionmenu li { background: url("/images/template/sec_bullet_left.gif") no-repeat 3px 9px; border-top: 1px solid #cccccc; display: block; margin: 0 0.5em 0 0.5em; padding: 0.4em 0 0.4em 1.6em; }
.nav-secondary-sectionmenu li { background-color: inherit; color: #000000; }
.nav-secondary-sectionmenu li a,
.nav-secondary-sectionmenu li span { background-color: inherit; color: #663399; padding: 0; text-decoration: none; }
.nav-secondary-sectionmenu a:active, 
.nav-secondary-sectionmenu a:visited { background-color: inherit; color: #9966cc; }
.nav-secondary-sectionmenu li a:active,
.nav-secondary-sectionmenu li a:focus { color: #000; text-decoration: underline; background-color: #f5f5f5;  }
.nav-secondary-sectionmenu li a:hover { text-decoration: underline; }
.nav-secondary-sectionmenu li.selected { background: url("/images/template/sec_bullet_left.gif") no-repeat 8px 9px; background-color: #f5f5f5; color: inherit; margin: 0; padding: 0.4em 0.5em 0.4em 2.1em; }
.nav-secondary-relatedlinksheader { list-style-type: none; background-color:#999999; border: none; color: #ffffff; margin: 1em 0 0 0; padding: 0; }
.nav-secondary-relatedlinksheader span { background-color: inherit; color: #ffffff; display: block; margin: 0; padding: 0.4em 0.2em 0.5em 0.8em; }
.nav-secondary-relatedlinks { list-style-type: none; background-color: #ffffff; color: inherit; margin: 0; padding: 0;}
.nav-secondary-relatedlinks li { background: url("/images/template/bullet_666666.gif") no-repeat 4px 10px; display: block; margin: 0 0.5em 0 0.5em; padding: 0.5em 0 0 1.6em; }
.nav-secondary-relatedlinks li a { background-color: inherit; color: #663399; padding: 0; text-decoration: none; }
.nav-secondary-relatedlinks a:active,
.nav-secondary-relatedlinks a:focus 
.nav-secondary-relatedlinks li a:active,
.nav-secondary-relatedlinks li a:focus { color: #9966cc; text-decoration: underline; background-color: #f5f5f5; }
.nav-secondary-relatedlinks a:visited {color: #9966cc; background-color: inherit;}

/*
http://ryanfait.com/sticky-footer/
*/
body 
{
	margin-top:0;
	margin-bottom:0;
	color: #333333;
	font-family:verdana,"DejaVu Sans",arial,helvetica,sans-serif;
}
html, body, #doc4 {
	height: 100%;
}
#doc4 {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -141px 0; /* the bottom margin is the negative value of the footer's height */
}
.push {
    height:141px !important;
    clear: both;
}

/*
header and footer
*/

h1, h2, #hd-mahsc, #hd-mahsc a {color:#9A3267;}

#hd 
{
    padding-top:17px;
    border-bottom:solid 10px #9A3267;
}
#hd a 
{
    text-decoration:none;
}

/* http://www.wellstyled.com/css-replace-text-by-image.html */
#hd-mahsc
{
	display:inline-block;
	font-size:150%;
	width:332px;
	height:59px;
	margin-bottom:5px;
	overflow:hidden;
}
#hd-mahsc span {
	display:block;
	left:0;
	top:0;
	z-index:1;
	width:332px;
	height:59px;
	margin:0;
	padding:0;
	background:url("http://www.mahsc.ac.uk/images/template/mahsc-title.gif") top left no-repeat;
}

#hd-logos 
{
    position:absolute;
    left:772px;
    width:212px;
}
#hd-logos a, #hd-logos a img
{
    vertical-align:top;
    display:inline;
}

#bd 
{
    border-top:solid 10px #D1D2D4;
    margin-bottom:10px;
}

#ft 
{
	margin-left:0px;
	margin-right:auto;
	width:974px;
	height:141px !important;
	clear: both;
	background-color:#999999;
	background-image:url('http://www.mahsc.ac.uk/images/template/footer-image.jpg');
	background-position:top left;
	background-repeat:no-repeat;
	padding-bottom:0;
}
#ft-contact
{
	position:absolute;
	left:712px;
	margin-top:80px;
	width:262px;
	height:41px;
	background-color:#9A3267;
	
}
#ft-contact a {
	display:block;
	margin-left:7px;
	margin-top:7px;
	padding-top:5px;
	height:31px;
	background-image:url('http://www.mahsc.ac.uk/images/template/envelope.gif');
	background-position:top left;
	background-repeat:no-repeat;
	color:#ffffff;
	font-size:110%;
}

#ft-partners {
	color:#ffffff;
	text-align:left;
	margin-left:200px;
	padding-top:5px;
	font-size:12px;
	}
#ft-partners ul {
	margin:0 0 0 20px;
	}
#ft-partners li {
	list-style-type: disc; 
	}

#ft-partners a {
	color:#ffffff;
	text-decoration:none;
	}
#ft-partners a:hover, #ft-partners a:focus {
	text-decoration:underline;
	}

.yui-t2 #yui-main .yui-gc {
	margin-left:200px;
}

/* standard adverts are 170px wide. Home page adds are 270px wide */
#mahscContent {width:774px;}
.has-adverts #mahscContent {width:580px;}
#adverts {
	width:170px;
	margin-top:18px;
	border:solid 1px #999999;
}


/* Advert boxes for third column on content pages */
.boxadvert { background-color: #FFEFF8; width: 170px; }
.boxadvert h2 { background-color: #9A3267; color: #ffffff; font-size: 0.9em; font-weight: bold; margin: 0; padding: 0.5em 0.8em;}
.XXboxadvert img { border-top: 1px solid #000000; border-bottom: 1px solid #000000; }
.boxadvert-strapline { font-size: 0.85em; line-height: 1.3em; margin: 0; padding: 0.5em 1em 1.2em 1em; }


table { border: none; }
table {	font-size: 1em; } /* Fix required for ie5 font-size not inherited */ 
table tr { vertical-align: top; }
table td { padding: 0.2em; }
table td ul { margin: 0 0 1em 0; padding: 0; }
table td ul li { margin: 0 0 0 1.5em; }

/* override reset-fonts-grids.css */
th, td {border:1px solid #cccccc;}

/* IE hacks */
.datatable { word-wrap: break-word; table-layout: fixed; break-word: break-all; }

/* Standard data table */
.datatable { margin: 1em 0 0 0; padding: 0; overflow: auto; }
.datatable { border-top: 1px solid #cccccc !important; border-left: 1px solid #cccccc; background-color: #f5f5f5; color: #000000; overflow: auto; width: 98%; }
.datatable tr.odd { background-color: #ffffff; color: #000000; }
.datatable tr.even { background-color: #f5f5f5; color: #000000; }
.datatable th { background-color: #66cccc; color: #000000; }
.datatable th,
.datatable td { border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc; margin: 0; padding: 0.3em; text-align: left; }

.datatable .warning {background-color: #ff9999; color: inherit; }
.datatable .green {background-color: #99eebb; color: inherit; }
.datatable .pink {background-color: #ee99bb; color: inherit; }
.datatable .red {background-color: rgb(255,25,25); color: inherit; }
.datatable .amber {background-color: #FFD98F; color: inherit; }
.datatable .blue {background-color: #B4E3FF; color: inherit; }

.datatable tr.selected {background-color:#FEFFAF;}

body .datatable th { background-color: #9A3267; color: inherit; }


/* how messages are displayed */
.message-error, .message-notification, .message-information { display: block; margin: 10px 0; padding: 20px; }
.message-error { border-top: 1px solid #F00; border-bottom: 1px solid #F00; background-color: #FDD; }
.message-notification { border-top: 1px solid #3C3; border-bottom: 1px solid #3C3; background-color: #DFD; }
.message-information { border-top: 1px solid #CC0; border-bottom: 1px solid #CC0; background-color: #FEFFAF; }


/*
http://www.alistapart.com/articles/prettyaccessibleforms/
*/
#mahscContent fieldset 
{
    background:url(/images/template/fieldset-bg.gif) left top repeat-x;
    border:0px;
    border-top: solid 1px #9A3267;
    border-bottom: solid 1px #9A3267;
    margin-top:20px;
    margin-bottom:5px;
    padding:5px 10px 5px 10px;
    }
#mahscContent legend {  
    background-color:Transparent;
    font-size:1.2em;
    color:#000000;
    padding-left:5px;
    padding-right:5px;
    margin-top:5px;
    margin-bottom:5px;
    }
/* other */

#mahscContent label {display:block; margin-bottom:4px;font-size:116%;}

#mahscContent .RadioButtonList {display:block;}
#mahscContent .RadioButtonList label {display:inline;margin-left:1em;font-size:100%;}

#mahscContent .CheckboxList td {border:none;}
#mahscContent .CheckboxList label {display:inline;margin-left:1em;font-size:100%;}

#mahscContent input[type=submit] {padding:3px 9px;}

.pUpdate {margin-top:1.5em;}
    
#mahscContent ul li
{
    list-style-image:url('/images/template/bullet-red.gif');
}