set * { margin: 0; padding: 0; }

body {
   margin: 0px;
   padding: 0px;
   background-color: #fff;
   font-family: 'Trebuchet MS', 'DejaVu Sans', sans-serif;
   min-width: 750px;
}

#page {
   margin: 0px auto;
   /*padding: 25px;*/
   background-color: #fff;
}

#top {
}

#header {
   float: left;
}

#header h1 {
   color: #006;
   font-style: italic;
}

#banner { height: 100px; width: 100%; background: #BBBCBE url(../img/banner-bg.png) repeat-x 0 0; }

#middle {
   /*border-top: 1px solid #666;*/
   /*padding-top: 15px;*/
   clear: both;
}

.colmask {
		position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	    clear:both;
	    float:left;
        width:100%;				/* width of whole page */
		overflow:hidden;		/* This chops off any overhanging divs */
	}
.colmid {
        float:left;
        width:200%;
        margin-left:-190px; 	/* Width of right column */
        position:relative;
        right:100%;
    }
.colleft {
        float:left;
        width:100%;
        margin-left:-50%;
        position:relative;
        left:440px;         	/* Left column width + right column width */
        background-color: #F0F0F0;
    }
.col1wrap {
        float:left;
	    width:50%;
	    position:relative;
	    right:250px;        	/* Width of left column */
	    padding-bottom:1em; 	/* Centre column bottom padding. Leave it out if it's zero */
	}
#content {
        padding-top: 15px;
        margin:0 205px 0 265px;     	/* Centre column side padding:
                            	Left padding = left column width + centre column left padding width
                            	Right padding = right column width + centre column right padding width */
        position:relative;
	    left:200%;
	    overflow:hidden;
	}
#navbar {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:220px;        	/* Width of left column content (left column width minus left and right padding) */
        position:relative;
        right:15px;         	/* Width of the left-had side padding on the left column */
        /*text-align:center;*/
    }
#sidebar {
        padding-top: 15px;
        float:left;
        float:right;			/* This overrides the float:left above */
        width:160px;        	/* Width of right column content (right column width minus left and right padding) */
        margin-right:45px;  	/* Width of right column right-hand padding + left column left and right padding */
        position:relative;
        left:50%;
        text-align:center;
    }


#navbar ul {
   margin: 0px; padding: 0px;
   list-style-type: none;
}
#navbar ul ul {
   margin: 0px; padding-left: 30px;
   text-indent: -15px;
   list-style-type: none;
}

#navbar li {
   font-size: 80%;
   margin: 0px 0px;
   /*line-height: 25px;*/
}

#navbar a[href] {
   text-decoration: none;
}

#navbar a[href]:not(.inline) {
   display: block;
   padding-top: 3px; padding-bottom: 3px;
}

#footer {
   border-top: 1px solid #666;
   clear: both;
   font-size: 75%;
   line-height: 0.5em;
   text-align: center;
}

a[href]:hover {
   color: #f00;
}

p.error {
   color: #f00;
}

dt {
   font-weight: bold;
   line-height: 2.0em;
}

dd p {
   margin-top: 0em;
}

table.form td {
   padding: 10px 10px 0px 0px;
   vertical-align: top;
}

table.form tr:first-child td {
   padding-top: 0px;
}

table.form td:first-child {
   text-align: right;
}

table.form td[colspan="2"] {
   text-align: center;
}


table.sortable thead {
    background-color: #ccc;
    font-weight: bold;
    cursor: pointer;
}

table.sortable th, table.sortable td {
   padding: 5px;
   text-align: center;
}

table.sortable td:first-child {
   text-align: left;
}

table.data thead, table.data tfoot {
    background-color: #ccc;
    font-weight: bold;
}

table.data th, table.data td {
   padding: 5px;
   text-align: center;
}

table.data td:first-child {
   text-align: left;
}

li {
   line-height: 2.0em;
}

.correct {
   color: #070;
}

.incorrect {
   color: #f00;
}

.hidden {
   color: #fff;
}

.floatright {
   float: right;
}

.footnote {
   font-size: 80%
}

.alert {
   font-weight: bold;
   color: #f00;
}

ul.threecol li {
   float: left;
   width: 33.3%;
}

img.tex { vertical-align: middle; }
