/*Main*/

body {
background-color: #transparent;

/*background-image: url(buttons/bg-gradient-2.gif); /* IAC-Added */
/*background-repeat: repeat-x; /* IAC-Added */

background-image: url(buttons/kingsbackground.gif);
background-repeat:no-repeat;
background-position: top right; /* IAC-Added */
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 84%;
/*margin: 0em;*/
}

p {
font-size: 1.0em;
line-height: 1.4em;}

ul {
font-size: 1.0em;
line-height: 1.4em;}

ol {
font-size: 1.0em;
line-height: 1.4em;
list-style-type: decimal;}

ol ol {
font-size: 1.0em;
list-style-type: lower-alpha;}

ol ol ol {
font-size: 1.0em;
list-style-type: lower-roman;}

ol ul {
font-size: 1.0em;}

ul ul {
font-size: 1.0em;}

ul ol {
font-size: 1.0em;}

h1 {
font-size: 2em;}

h2 {
font-family: "KingsBureauGrot ThreeSeven","Arial Narrow", Arial, Helvetica, sans-serif;
font-size: 2em; /* IAC-Changed: default was 1.375em */
font-weight: normal; /* IAC-Added */
padding-bottom: 6px; /* IAC-Added */
color: #463D72; /* IAC-Added */
padding-top: 6px; /* IAC-Added */
border-top: 0; /* IAC-Added: NOTE: This is where the hack to add some space above the main body text title could be added (#ffffff 1.5em solid) - but not used on this version as there is a gradiated background image used */
border-bottom: #463D72 1px solid; /* IAC-Added  adds line under text*/
background-color: transparent; /* IAC-Added */}

h3 {
font-size: 1.3em;
color: #463D72;}

h4 {
font-size: 1.2em;
color: #777777;
}

h5 {
font-size: 1.0em;}

h6 {
font-size: 0.875em;}

/*img {
vertical-align: middle;

}*/

img.leftalign {
float: left;
position: relative;
padding-right: 15px;}

img.rightalign {
float: right;
position: relative;
padding-left: 15px;}

/*Links*/

a:link {
color: #3399cc;
text-decoration: none; /* IAC-Added */
} 

a:visited {
color: #9966cc;
text-decoration: none;
}

a:hover {
/*background-color: #dedede;*/
color: #333399;
text-decoration: underline;
}

a:active {
color: #cc0000;
text-decoration: underline; /* IAC-Added */
}

p.caption {
color: #666699;
font-weight: bold;}

span.mediacaption {
color: #666699;
font-weight: bold;} 

/*Tables*/

table {
/*table fix to allow for Quirks mode in WebCT - do not delete*/
background-color: transparent;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
}

table.unbordered {
padding: 2px;}

table.unbordered th {
padding: 2px;}

table.unbordered td {
padding: 2px;}

table.bordered {
border: 1px #cccccc solid;
border-collapse: collapse;
padding: 2px;}

table.bordered th {
border: 1px #cccccc solid;
background-color: #dedede;
padding: 2px;}

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

.page { /* IAC-note: This style added - not present in orig CG stylesheet but style is referenced in the navigation panel added by CG; */
font-size: 1em;
}

/*Display Formats*/

div.boxtext {
border: 2px #F4F3EE solid;
padding-left: 1em;
padding-right: 1em;
margin-bottom: 0.5em;
margin-top: 0.5em;

}

div.paneltext {
background-color: #F4F3EE;
padding-left: 1em;
padding-right: 1em;
margin-bottom: 0.5em;
margin-top: 0.5em;
border: 1px #EAE6DD solid;}

div.quotetext {
font-style: italic;
margin-left: 1em;
margin-right: 1em;
border: 1px #E0DCEB solid;
background-color: #EFEEF4;
}

div.definition {
border: 1px #F4F3EE solid;
padding-left: 1em;
padding-right: 1em;
margin-bottom: 0.5em;
margin-top: 0.5em;
background-color: #EAE6DD;}

div.definition h3 {
font-size: 1.0em;
font-weight: bold;}

div.definition p {
font-size: 1.0em;}

pre.literal {
font-size: 1.0em;}

/*Questions*/

table.question {
font-family: Arial, Helvetica, sans-serif;
width: 95%;
padding: 4px;}

td.qnum {
background-color: #EAE6DD; /*#E1DEE9 question number colour*/
font-size: 2em;
color: #666699;
text-align: left;
width: 0.7em;}

td.qbody {
/*font-size: 1em;*/ /*colour of the background of the question*/
background-color:#F4F3EE ; /*#F4EEF4;*/

}

table.qinput {
width: 100%;
padding: 8px;
font-size: 1em;
line-height: 1.4em;}

#feedback {
margin: 8px;
padding: 8px;
position: static;
font-family:Arial, Helvetica, sans-serif;
font-size: 1em;
line-height: 1.2em;
position: static;}

#feedback p, #feedback ul, #feedback ol , #feedback table {
font-size: 1em;}

.Qfeedbackgeneric {
display: none;
background-color: #F7F0FF;
border: 1px #666666 solid;
line-height: 1.2em;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;}

.Qfeedbackcorrect {
display: none;
background-color: #c1e8bd;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
border: 1px #666666 solid;
line-height: 1.2em;}

.Qfeedbackincorrect {
display: none;
background-color: #ffcccc;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
border: 1px #666666 solid;
line-height: 1.2em;}

.Qfeedbackcorrect-chb2 {
display: none;
background-color: #c1e8bd;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
line-height: 1.2em;}

.Qfeedbackincorrect-chb2 {
display: none;
background-color: #ffcccc;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
line-height: 1.2em;}

.Qfeedbacksaved {
display: none;
background-color: #ffcc99;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 6px;
padding-right: 6px;
border: 1px #666666 solid;
line-height: 1.2em;}

#feedback TABLE {
font-size: 1em}

/*Popups*/

#popup {
margin: 8px;
padding: 8px;
position: static;
font-family:Arial, Helvetica, sans-serif;
font-size: 1.0em;
line-height: 1.2em;}

/*Header*/

#header {
background-color: #D4D0C8;
padding-left: 1em;
padding-right: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 1.5em;
padding-top: 1em;
padding-bottom: 1em;
font-size: 1.4em;
font-weight: bold;
color: #463D72; /* title font colour*/
border-top: 0; /* IAC-Added */
border-bottom: 1px solid #cccccc; /* IAC-Added */
font-family:Arial, Helvetica, sans-serif; /*RT added*/
background-image: url(buttons/grid2.gif); /* IAC-Added */
background-repeat: repeat; /* IAC-Added */

}

#header h1 {
font-size: 1.25em;
display: inline;
font-weight: normal;
letter-spacing: 0.06em;}

#header a:link, #header a:hover, #header a:visited, #header a:active {
background:transparent;}

/*Logo*/

#logo {
position: relative;
padding-left: 4px;
padding-right: 4px;
}

/*Index*/

#index {
font-family: Arial, Helvetica, sans-serif;
padding-left: 12px;
width: 700px;
padding-top:0.5em;
padding-right: 20px;
padding-bottom:0.5em;
padding-left: 20px;
text-align:left; /* IAC-Added */
display:table; /* IAC-Added: Must put this in for FireFox. */
margin:auto; /* IAC-Added: for IE6 and Firfox centering */

}

#index a:link, #index a:visited {
color: #463D72;
/*background-color: #ffffff;*/
padding-top: 3px;
padding-bottom: 3px;
text-decoration: none;}

#index a:hover {
background-color: #463D72;
color:#FFFFFF;
font-weight:bold;
} 

#index h2 {
font-size: 1.5em; /*table of contents header font size*/
color: #463D72;}

#index ol {
line-height: 1.7em;}

#index ol.section {
line-height: 1.7em;
list-style-type: upper-alpha;}

#index ol.section ol {
list-style-type: decimal;}

/*Table of Contents*/

/
td#maintable-toc {
margin-top: 0; /* IAC-Added */
border-bottom: 0; 

/* IAC-Changed: was 1px #cccccc solid */
/*border-bottom: 1px #cccccc solid;*/}

td#maintable-content {
border-left: 0; /*1px #cccccc solid;*//*background behind main content*/
border-bottom: 0;

/*1px #cccccc solid;*/
}

#toc {
font-size: 1em;
padding-right: 0px;
font-family: Arial, Helvetica, sans-serif;
background-color: transparent; /* RT was ffffff*/

}

#toc h2 {
font-size: 1.5em;
text-align: center;
font-family: "KingsBureauGrot ThreeSeven","Arial Narrow", Arial, Helvetica, sans-serif;
}

#toc a:link, #toc a:visited {
display: block;
color: #463D72;
background-color: transparent; /*RT was ffffff*/
padding-top: 3px;
padding-bottom: 3px;
text-decoration: none;}

/*#toc a:hover {
background-color: #dedede;}*/

#toc a:hover {
color: #ffffff; /* IAC-Changed: was #006699 */
background-color: #463D72; /* RT-Changed: was transparent now purple */
/* IAC-Removed: padding-top: 3px; */
padding-right: 3px; /* IAC-Added */
/* IAC-Removed: padding-bottom: 3px; */
padding-left: 3px; /* IAC-Added */
line-height: 1.3em; /* RT-changed */
text-decoration:none;
}


#toc li {
font-weight: bold;
text-indent: 0px;
text-align: left;}

#toc #toc-title {
margin-top: 0; /* IAC-Added */
}

} #toc ol {
list-style-type: decimal;}

#toc ol ol {
list-style-type: lower-alpha;}

#toc ol.section {
list-style-type: upper-alpha;}

#toc ol.section ol {
list-style-type: decimal;}

li.currentpage {
/*font-weight: bold;*/
padding-right: 3px; /* IAC-Added */
padding-left: 3px; /* IAC-Added */
color: #ffffff; /*RT- subsection text colour*/
background-color: #D4D0C8;/* grey*/
text-decoration:underline;}

div.currentpage {
font-weight: bold;
color: #ffffff; /* RT- Main section text colour*/
background-color: #D4D0C8;
text-decoration:underline;
}

/*Main Content*/

#main-content-withtoc {
background-color: #ffffff;
width: 600px;
margin-left: 10px;
margin-right: 10px;
padding-left: 20px;
padding-right: 20px;
margin-bottom: 20px;
display:table; /* IAC-Added: Must put this in for FireFox. */
margin:auto;
border-top: 1px solid #999999; /* IAC-Added */
border-right: 1px solid #999999; /* IAC-Added */
border-bottom: 1px solid #999999; /* IAC-Added */
border-left: 1px solid #999999; /* IAC-Added */
}

#main-content-notoc {
background-color: #ffffff; 
margin-left: 10px;
margin-right: 10px;
padding-left: 5px;
padding-right: 20px;
margin-bottom: 20px;
width: 700px;
padding-top:0.5em;
padding-bottom:0.5em;
border-top: 1px solid #999999; /* IAC-Added */
border-right: 1px solid #999999; /* IAC-Added */
border-bottom: 1px solid #999999; /* IAC-Added */
border-left: 1px solid #999999; /* IAC-Added */
text-align: left; /* IAC-Added */
display:table; /* IAC-Added: Must put this in for FireFox. */
margin:auto; /* IAC-Added: for IE6 and Firfox centering */

}
/*Footer*/

#footer-withtoc {

padding-left: 6px;
padding-right: 6px;
margin-left: 280px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 4px;
padding-bottom: 4px;
font-size: 0.8em;
position: static;
text-align: center;
color:#777777

}
/* Hides from IE5-mac \*/
* html #footer-withtoc {height: 1%;}
/* End hide from IE5-mac */ 

#footer-notoc {
background-color:transparent;
width:600px;
padding-left: 20px;
padding-right: 20px;
padding-top: 0.5em;
padding-bottom: 0.5em;
font-size: 0.8em;
position: static;
text-align: center;
border-top: 1px #cccccc solid;
color: #777777; /*IAC-Added */
position: static;
display:table; /* IAC-Added: Must put this in for FireFox. */
margin:auto; 

}

#footer a:link, #footer-withtoc a:link, #header a:hover, #header a:visited, #header a:active {
background:transparent;}

#bottom-nav {
padding-left: 10px;
padding-top: 4px;
padding-bottom: 4px;
padding-right: 10px;
position: absolute;
right: 10px;
bottom: 0px;}

.floatright {
float: right;
margin-top: 10px;
margin-left: 10px;
display: inline;}

.floattopright {
float: right;
margin-top: 0px;
margin-left: 10px;
display: inline;}

/*Longdescriptions*/

#longdesc {
margin-top: 2em; /* IAC-Added: */
margin-right: 2em; /* IAC-Added: */
margin-bottom: 2em; /* IAC-Added: */
margin-left: 2em; /* IAC-Added: */
background-color: #ffffff; /* IAC-Added: */
width: auto; /* IAC-Added: */
padding-top:2.5em; /* IAC-Added: */
padding-right: 20px; /* IAC-Added: */
padding-bottom:0.5em; /* IAC-Added: */
padding-left: 20px; /* IAC-Added: */
border-top: 1px solid #666666; /* IAC-Added */
border-right: 1px solid #666666; /* IAC-Added */
border-bottom: 1px solid #666666; /* IAC-Added */
border-left: 1px solid #666666; /* IAC-Added */
text-align: left; /* IAC-Added */
display:table; /* IAC-Added: Must put this in for FireFox. */
}


