
/* SET UP ems RIGHT AWAY */
body {

}

/* LAYOUT */

/***** DEFAULT LAYOUT *********************************************************
 *
 * +-----------------------  BODY --------------------------------------------+
 * |##########################################################################|
 * |##                                                                      ##|
 * |##  +---- #page -----------------------------------------------------+  ##|
 * |##  |                                                                |  ##|
 * |##  |  +------- #header ------------------------------------------+  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |  <h1>BASIC</h1>                                          |  |  ##|
 * |##  |  |  <h3>A simple example heading</h3>                       |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  +------- #nav ---------------------------------------------+  |  ##|
 * |##  |  |                               <ul><li></li><li></li></ul>|  |  ##|
 * |##  |  +------- #body --------------------------------------------+  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  |                                                          |  |  ##|
 * |##  |  +----------------------------------------------------------+  |  ##|
 * |##  +---- #footer ---------------------------------------------------+  ##|
 * |##  +            * designed to look like it is part of #page         +  ##|
 * |##  +----------------------------------------------------------------+  ##|
 * |##  +---- #copyright ------------------------------------------------+  ##|
 * |##  +            * designed to look like it is below #page           +  ##|
 * |##  +----------------------------------------------------------------+  ##|
 * |##                                                                      ##|
 * |##########################################################################|
 * +--------------------------------------------------------------------------+
 */

body {
    margin: 0px;
    padding: 15px;
}

#page {
    min-height: 600px;
    padding-bottom: 0em;
}

#page, #footer {
    display: block;
    height:auto;
    margin-left:auto;
    margin-right:auto;
    min-width: 750px;
    width: 85%;
}

#footer {
    padding-top: 5em;
    text-align: center;
}

#header {
    width: auto;
    padding: 1em 4em 2em 4em;
}

#nav {
    width: 100%;
	white-space: nowrap;
    height: 2.1em;
}

#body {
    padding: 1.4em;
}

#nav ul {
    margin: 0em;
    padding: 0em;
    list-style: none;
	height: 100%;
}

#nav li {
	float: right;
	margin: 0em;
    padding: 0.4em 1em 0.4em 1em;
}

.errorMessage, .warningMessage, .goyMessage, .infoMessage {
    font-weight: bold;
}

.errorMessage {
    background-color: #ee0000;
    color: white;
    padding: 0.3em 1em 0.4em 1em
}

.infoMessage {
    background-color: #756699;
    color: #eeddff;
    padding: 0.3em 1em 0.4em 1em
}

.warningMessage {
    background-color: ;
    color: #992211;
}

.goyMessage {
    background-color: #cc5100;
    color: blue;
    text-decoration: blink;
}

/* PRESENTATION - COLOURS, BORDERS ETC. */

body {
    /* text styles */
    font-family: Arial, Helvetica, sans-serif;
    color: ;

    /* window background */
	background: gray;
}

#page {
    border: 1px solid #493d63;
    border-bottom: 0px;
    background: #f5f3f8;
}

#header {
    border-bottom: 1px solid #eeeeee;
    background: white;
    color: white;
}

#header h1, #header h2, #header h3 {
    color: white;
}

#nav {
    border-bottom: 1px solid #eeeeee;
    background-color: #493d63;
}

#nav a:link, #nav a:visited {
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

#nav #current a:link, #nav #current a:visited {
    color: #cac2da;
    text-decoration: overline;
}

#nav a:hover {
    color: #cac2da;
}

.infoMessage, .errorMessage, .warningMessage, .goyMessage, #body {
    font-size: 1.0em;
}

#footer {
    font-size: 1em;
    background-color: #f5f3f8;
    border: 1px solid #493d63;
    border-top: 0px;
    color: gray;
}

#copyright {
    color: #cccccc;
    text-align: center;
}

/* HTML Elements */
h1, h2, h3, h4, h5, h6 {
	color: #493d63;
	font-family:  Arial, Helvetica, sans-serif;
}

hr {
    border: 1px solid #eeeeee;
}

/* Custom classes */
.highlight {
    border: 1px solid #eeeeee;
    background-color: #f7f7f7;
    color: black;
    padding: 1em;
}

.important {
    border: 1px solid #eeeeee;
    background-color: #ccff44;
    color: black;
    padding: 1em;
}

.summary {
    background-color: #cac2da;
    font-size: 0.8em;
}

.summary a:link, .summary a:visited {
    color: #493d63;
    text-decoration: none;
}

.summary a:hover {
    color: black;
}

#nav a:link, #nav a:visited {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

#nav a:hover {
    color: #cac2da;
}

