/*-- The Body --*/

body {background-repeat:repeat-y;
font-size: 120%;
}

/*-- Selectors --*/
p {padding-top: 0; margin-top:0; padding-right:3%;}
a{text-decoration:none;}
h1, h2, h3 {font-family: comic sans ms;  clear:both; margin-bottom:5px;}
h1 {font-style:italic;}

/*-- Sentences aligned right --*/
.updated{ text-align: right;}
.updated p{border-bottom:0; margin-bottom:0;}

/*-- Format of link to a person --*/
.RS  {font-family: comic sans ms; }
.updated a.RS {font-size:80%;}
a.RS:hover {text-decoration:underline;}
#Head .updated a.RS{color:white;}

/*-- The class of the div following most h2 --*/
.Sheets{width: 40%; padding: 6px 6px 6px 4px; margin: 15px 0 15px 10%; }
.Sheets h2{margin-bottom:5px; margin-top:15px; padding-top:5px;}


/*-- .OneButton is the class of div following most other h2 --*/
/*.OneButton*/ a.NoteButton{width: 5cm; -moz-border-radius: 10px;
border-radius: 10px;}
.OneButton .Sheets{ padding-right:7px; width:40em;}


/*-- The Header --*/
#Head{ border-bottom:6px ridge #CCCCCC; width:101.5%; clear:both; margin: -55px 0 15px -7px; padding-top:45px;}

#HeadTitle {text-align: center;  margin: 0 0 15px 0; padding: 0 0 0 0; width: 100%;} 
#HeadTitle h1 { font-size:420%;  margin-bottom: 0; margin-top:20px; padding: 0 0 -15px 0;}
#HeadTitle h2 { font-size:240%; margin-top: 0; padding: -15px 0 0 0;}
#HeadList { font-size:70%;}
#HeadList .QuestionList a {height:33px; margin:0; padding-left:5px; font-family:comic sans ms; text-align:center;}
#HeadList .QuestionList li{width:8em;}

/*-- Table for exams--*/
table.tableexams {width:auto; border-collapse:collapse; }

.tableexams td{vertical-align:top;}

/*-- Table of Notes --*/
table {border-collapse:collapse; text-align: justify;  width: 80%; margin-bottom:15px; margin-left:12.5%;  border: 1px solid black;}
td  { padding: 10px 10px 10px 5px; border-top: none; border-left: 1px solid black; border-bottom: 1px solid black;  }
th { padding: 5px 10px 10px 5px; border: 1px solid black;}
th{ text-align:center;}
col#notes {width: 8.5em;}
.LectureNotes{font-size:90%; vertical-align:top;}
.LectureNotes .title {font-weight:bold;}
table.size td {font-size: 70%; font-family:comic sans ms; text-align:left;}
.cellwidth{vertical-align:top;}


td.bottom {border-bottom: none;}




/*-- Table of lecture timess --*/
colgroup#times{width: 9%;}


/*-- Format for other course names --*/
#CA {font-family: comic sans ms;}

/*-- A trick for making backgrounds be behind lists --*/
br.clear{clear: both;}

/*-- Horizontal lists --*/
ul.QuestionList{
margin:0;
padding:0;
list-style:none;
border-left: 1px dashed #999999;
}

.QuestionList li {
float:left;
width:10em; 
}
.QuestionList {
clear: both;
}


/*-- NoteButton is the class of button in the table for lectures --*/

.QuestionList a,  a.NoteButton{

font-size:80%;
font-weight:bold;
text-transform:uppercase;
text-decoration:none;
text-align: center;
padding: 3px 5px 3px 11px;
display:block;
}



/*table.QuestionList {border-collapse:collapse; text-align: justify;  width: 50%; margin-bottom:15px; margin-left:12.5%}*/


/*.QuestionList td, th { padding: 0 0 0 0;} */

/*-- Button borders --*/
 .QuestionList a, a.NoteButton{color: #000000;
background-repeat:repeat-x;
border-left: 2px solid white ;
border-top: 2px solid white ;
border-right: 2px solid black;
border-bottom: 2px solid black;
}

.QuestionList a:hover, a.NoteButton:hover {color:#FFFFFF;}

.QuestionList a:active, a.NoteButton:active {color: #4c4c4c;
background-position:0 -40px;	
border-bottom: 2px solid white ;
border-left: 2px solid black;
border-top: 2px solid black;
border-right: 2px solid white ;
}

/*Addresses*/
.Contact {font-size:80%;}

/*Maths*/
a.maths {font-style:italic;  letter-spacing: -1px;}
.maths sub, sup {font-size: 80%; letter-spacing: 0px; font-weight:bold;}

/* Image border */
.border { border-width: 3px; border-color: black; border-style: solid; } 









