/* Additions by JCBeatty are marked by the comment "JCB" */
/* Additions by TAVaskor are marked by the comment "TAV" */


/* TAV: Ordering change of A rules, similarity factoring, 
   addition of change in underlining only when child of navbar,
   changes to colours (including making them valid). */
a {
   font-family: Verdana, Geneva, Arial, sans-serif;
   text-decoration: underline;
}
#nav-bar a {
   text-decoration: none;
}
a:link {
   color: #4500D7;
}
a:visited {
   color : #A70045;
}
a:hover	{
   text-decoration: underline;
   color : #E30044;
}
a:active {
   color: #F02;
}

blockquote  { /* JCB */
   margin-top: 5px; 
   margin-bottom: 5px; 
   margin-left: 30px;
}

body.assignment { /* JCB */
   font-family: Verdana, Geneva, Arial, sans-serif;
   font-size: 11pt;
   color: black;
   line-height: 15pt; 
}

dl	{  /* JCB */
   text-decoration: none;
   font-family: Verdana, Geneva, Arial, sans-serif;
   color: black;
   margin-top: 5px;
   margin-bottom: 5px;
}

.correction {  /* JCB */
   background-color: rgb(216,247,255); 
}

dd	{ /* JCB */
   text-decoration: none;
   font-family: Verdana, Geneva, Arial, sans-serif;
   color: black;
   list-style-type : square;
   margin-top: 5px; /* JCB */
   margin-bottom: 5px; /* JCB */
   margin-left: 25px;  /* JCB */ 
}

ol	{ /* JCB */
   text-decoration: none;
   font-family: Verdana, Geneva, Arial, sans-serif;
   color: black;
   margin-top: 5px; /* JCB */
   margin-bottom: 5px; /* JCB */ 
   list-style-type: decimal; /* TAV */
}

ol ol { /* TAV */
   list-style-type: lower-roman;
}

ol ol ol { /* TAV */
   list-style-type: lower-alpha;
}

ul	{
   text-decoration: none;
   font-family: Verdana, Geneva, Arial, sans-serif;
   color: black;
   list-style-type : square;
   margin-top: 5px; /* JCB */
   margin-bottom: 5px; /* JCB */ 
}

ul ul { /* TAV */
   list-style: disc;
}

ul ul ul { /* TAV */
   list-style: circle;
}

li { /* JCB */
   color: black;
   margin-top: 5px; 
   margin-bottom: 5px; 
}


/* The filelist class should be used for a list of files;
 * for example, files for an assignment, or multiple
 * versions of a handout
 */
ul.linklist { /* TAV */
   list-style: none;
   display: block;
   padding-left: 0.75em;
}

ul.linklist li { /* TAV */
   display: inline;
   padding-right: 0.75em;
}

ul.linklist li:before { /* TAV */
   content: "\2022 \0020";
   color: #4500D7;
}

p { /* JCB */
   margin-top: 10px;
   margin-bottom: 10px; 
}

p.bottomLeadingOnly { /* JCB */
   margin-top: 0px;
   margin-bottom: 10px;
}

p.topLeadingOnly { /* JCB */
   margin-top: 10px;
   margin-bottom: 0px;
}

.sub { /* JCB */
   vertical-align: sub; 
}

td {
	padding:5px 10px;
	font-family: Verdana, Geneva, Arial, sans-serif; 
	font-size: 10pt;
}

table { 
   border-spacing: 0pt 0pt;
}


img.border {  /* JCB */
   border: 1px solid;
   color: #000000;
}

h1 {
   font-weight: bold; 
   font-family: Verdana, Geneva, Arial, sans-serif;
   font-size: 16pt;
   color:#990033;
   margin-top: 15px; /* JCB */
   margin-bottom: 5px; /* JCB */
}

h2 {
   font-weight: bold; 
   font-family: Verdana, Geneva, Arial, sans-serif;
   font-size: 14pt; 
   color:#990033;
   margin-top: 10px; /* JCB */
   margin-bottom: 5px;  /* JCB */
}

h3 {
   font-weight: bold;
   font-family: Verdana, Geneva, Arial, sans-serif;
   font-size: 12pt;
   color: #990033;
   margin-top: 19px; /* JCB */
   margin-bottom: 5px;  /* JCB */
}

h4 {
   font-weight: bold;
   font-family: Verdana, Geneva, Arial, sans-serif;
   color: #990033;
   margin-top: 7px; /* JCB */
   margin-bottom: 5px;  /* JCB */
}

P.lastModified { 
   color: #808080;
   font-size: 8pt;
   font-family: Verdana, Geneva, Arial, sans-serif;
}

pre  { /* JCB */
   margin-top: 5px; 
   margin-bottom: 5px; 
   font-family: Courier;
}

object { /* TAV */
   min-height: 45ex;
   min-width: 100%;
   border: thin solid #4500D7
}

code { /* BWB */
   font-family: Courier;
}

tt { /* BWB */
   font-family: Courier;
}

.author { /* TAV */
   float: right;
}

.assign_edit { /* TAV */
   color : #E30044;
   font-weight: bold; 
   border: thin ridge #966;
   padding: 0.3em;
}

/* Images take up a maximum amount of real-estate, and float on the right side
 * of the screen */
.picstep img {
   float: right;
   /* padding-bottom: .5ex;
   padding-left: 2em; */
   max-width: 456px; 
}

/* Subsequent elements (such as list elements) should clear the float so the
 * image floats in a proper location */
.picstep > * {
   clear: right;
   padding-bottom: .5ex;
}





/* Add the validator images to the bottom of the screen
 * and make sure they are flush to the top of their
 * containing element.
 */
.validator { /* TAV */ 
   padding: 5px;
   float: right;
}

.validator img { /* TAV */
   vertical-align: top;
}

/* Added since links will be images, and this should
 * force there not to be an underline placed 
 * between/under the images themselves.
 */
.validator a { /* TAV */
   text-decoration: none;
}

#main{
   border-top: thin ridge #966;
   border-bottom: thin ridge #966; /* TAV */
   width: 100%; /* TAV */
}

#nav-bar {
   font-family: Verdana, Geneva, Arial, sans-serif;
   font-size: 9pt;
   text-align: left;

   /* TAV: Added so the nav-bar can use a proper
    * list instead of individual paragraphs
    */
   list-style: none;
   margin-left: 0;
   padding-left: 0.5em;
}

/* TAV (This allows nicely formatted submenus) */
#nav-bar ul {
   list-style: none;
   margin-left: 0;
   padding-left: 1.5em;
}

#nav-box {
   vertical-align: text-top;
   border-right: thin ridge #966;
   padding : 10pt 20pt 10pt 0pt; /* TAV (bottom, right pads) */
   width: 20%;  /* TAV (remove obsolete HTML) */
}

#main-box {
   vertical-align: text-top;
   padding : 10pt 10pt 10pt 20pt; /* TAV (bottom pad) */
   width: 80%;  /* TAV (remove obsolete HTML) */
}

.exam-table th {
    width: 6em;
    text-align: left;
    vertical-align: top;
}

.exam-table th, .exam-table td {
    padding: 3px 5px;
}

.exam-table ul {
    margin-bottom: 14px;
}

.exam-table .review th, .exam-table .review td {
    background: #eee;
}

/* The following entries are used for the beta marks page */
.header .sign:after{ 
    content:'+';
    display:inline-block;
} 

.header.expand .sign:after{
    content:'-';
}

#grades tr.assignment {
	background: #D3D3D3;
	font-weight: bold;
}

#grades tr.question {
	display: none;
}

#grades tr.markUp {
	background: #CCFFCC;
}

#grades tr.markDown {
	background: #EDCACC;
}

#grades th, #grades td {
	text-align: center;
	white-space: nowrap;
}
