
/* SET UP ems RIGHT AWAY */
body {
    font-size: 62.5%; /* from now on use em */
}

/* 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 {
    display: block;
    min-height: 600px;
    height:auto;
    margin-left:auto;
    margin-right:auto;
    min-width: 750px;
    width: 85%;
    padding-bottom: 0em;
}

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

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

#body {
    padding: 0em 2em 1em 2em;
}

#footer {
    min-width: 750px;
    width: 85%;
    padding-top: 5em;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
}

#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 {
    text-align: center;
    padding: 0.5em;
    border-bottom: 1px solid #84c6b7;
    font-weight: bold;
}

.errorMessage {
    background-color: #ee0000;
    color: white;
}

.infoMessage {
    background-color: #c4e4d9;
    color: black;
}

.warningMessage {
    background-color: #da0046;
    color: #fff;
}

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

/* PRESENTATION - COLOURS, BORDERS ETC. */

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

    /* window background */
	background: gray;
}

#page {
    border: 1px solid #000;
    border-bottom: 0px;
    background: white;
}

#header {
    border-bottom: 1px solid #84c6b7;
    background: white;
    color: black;
}

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

#nav {
    font-size: 1.2em;
    border-bottom: 1px solid #84c6b7;
    background-color: #f4faf9;
}

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

#nav a:hover {
    color: #84c6b7;
}

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

#footer {
    font-size: 1em;
    background-color: white;
    border: 1px solid #000;
    border-top: 0px;
    color: gray;
    background-color: white;
}

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

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

h1 { font-size: 3em; }
h2 { font-size: 2em; padding: 0px 0px 0px 0px; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1.13em; }
h6 { font-size: 1em; }

hr {
    border: 1px solid #84c6b7;
}

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

.important {
    border: 1px solid #84c6b7;
    background-color: #ffe7e7;
    color: black;
    padding: 1em;
}

.zig {
    background-color: #f4faf9;
}

.zag {
    background-color: #c0e8e2;
}

.summary {
    background-color: #84c6b7;
}

.summary th {
    padding: 2px 2px 2px 2px;
}

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

.summary a:hover {
    color: #000000;

}

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

a:hover {
    color: #84c6b7;
}
