html, body
{
    font-family: sans-serif;
    font-size: 0.9em;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

img
{
    border: none;
}

/* ---- Areas ---- */

div#wrapper
{
    width: 750px;
    margin: 0px auto;
    border-left: 1px #3E2F4C solid;
    border-right: 1px #3E2F4C solid;
}

div#menu
{
    float: left;
    width: 150px;
}

div#menu ul
{
    padding: 0px;
    margin: 0px;
    list-style: none;
    margin-top: 10px;
}

div#menu ul li
{
    padding: 0px;
    margin: 0px;
    padding: 5px;
    padding-left: 20px;
    /*background-color: #765B8C;*/
    margin-top: 3px;
}

div#menu ul li:hover
{
    background-color: #8D6DA7;
}

div#menu ul li a
{
    color: white;
    text-decoration: none;
}

div#header
{
    border-bottom: 1px #3E2F4C solid;
    text-align: center;
    padding: 30px;
}

div#content
{
    border-left: 150px #3E2F4C solid;
    padding: 15px;
}

div#footer
{
    clear: both;
    background-color: #3E2F4C;
    color: white;
    padding: 10px;
}

div#footer a
{
    color: white;
    text-decoration: none;
}

div#footer a:hover
{
    text-decoration: underline;
}

/* ---- Forms ---- */

label
{
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

button
{
    display: block;
    margin-top: 10px;
}

/* ---- Titles ---- */
h2
{
    font-size: 1.2em;
    width: 565px;
    border-bottom: 1px gray solid;
    margin-top: 0px;
}

fieldset
{
    margin-top: 10px;
    border: 2px #3E2F4C solid;
}

legend
{
    font-weight: bold;
    padding: 5px 10px;
    background-color: #3E2F4C;
    color: white;
}

input.text
{
    border: 1px black solid;
    width: 250px;
}

textarea
{
    border: 1px black solid;
    width: 250px;
    height: 100px;
}

input.text
{
    font-size: 0.9em;
    padding: 2px;
}

textarea
{
    padding: 2px;
    font-size: 1.2em;
}

select
{
    border: 1px black solid;
    width: 250px;
}

button
{
    background-color:#8D6DA7;
    border: 2px #3E2F4C solid;
    margin-left: 2px;
    font-weight: bold;
    color: white;
    letter-spacing: 0.1em;
    padding: 3px;
}

div#errors, div#message
{
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 0.9em;
}

div#errors
{
    background-color: #FFBBBC;
    border: 2px #FF0004 solid;
    color: #C20003;
}

div#message
{
    background-color: #C3FFB7;
    border: 2px #01D81A solid;
    color: #0C9300;
}

table
{
    width: 100%;
}

td
{
  padding: 2px 10px;  
}

th
{
    padding: 5px;
    color: white;
    background-color: #3E2F4C;
    margin: 0px;
}

td
{
    color: white;
    text-align: center;
}

tr
{
    background-color: #8D6DA7;
}

tr:hover
{
    background-color: #D4A3FB;
}

/* ---- Button links ---- */
a.button_link
{
    text-decoration: none;
    letter-spacing: 0.1em;
    padding: 3px;
    background-color:#8D6DA7;
    border: 2px #3E2F4C solid;
    color: white;
    font-weight: bold;
}

a.button_link img
{
    vertical-align: middle;
    margin-right: 5px;
}