body, html
{
    background-color: #FdFdFd;
    background-repeat: repeat-x;
    background-position: 0 38px;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue" , "Candara" , "Tahoma" , sans-serif;
    font-size: 12pt;
}

article, nav, section, aside, header, footer { display: block; }

header.site
{
    color: #FFF;
    background-color: #16607F;
    width: 100%;
    height: 38px;
    margin: 0;
}

section.session
{
    color: #efefef;
    float: right;
    width: 50%;
    text-align: right;
    height: 38px;
    vertical-align: top;
}

section.time
{
    display: inline-block;
    margin: 0;
    padding: 0;
}

section.time p
{
    margin: 0;
    padding: 0;
    margin-top: 0.2em;
    margin-right: 0.2em;
}

section.userbox
{
    float: right;
    padding-left: 0.8em;
    padding-bottom: 0.3em;
    padding-right: 0.8em;
    padding-top: 0.2em;
    border-left: 1px solid #439CC4;
    border-bottom: 1px solid #439CC4;
    border-bottom-left-radius: 5px;
    margin-left: 10px;
}

section.userbox a
{
    color: #efefef;
    text-decoration: none;
}

section.userbox a:hover
{
    color: #fff;
}

section.userbox a:active
{
    color: #fff;
}

h1#sitelogo
{
    margin-top: 0px;
    margin-bottom: 3px;
    margin-left: 3px;
    margin-right: 0;
    position: relative; /* allows child element to be placed positioned wrt this one */
    overflow: hidden; /* don’t let content leak beyond the header - not needed as height of anchor will cover whole header */
    padding: 0; /* needed to counter the reset/default styles */
    padding-top: 3px;
    padding-bottom: 3px;
    width: 151px;
}

h1#sitelogo a
{
    position: absolute; /* defaults to top:0, left:0 and so these can be left out */
    height: 0; /* hiding text, prevent it peaking out */
    width: 100%; /* 686px; fill the parent element */
    background-position: left top;
    background-repeat: no-repeat;
}

h1#sitelogo
{
    height: 32px; /* height of replacement image */
}

h1#sitelogo a
{
    padding-top: 32px; /* height of the replacement image */
    background-image: url('images/sitelogo.png'); /* the replacement image */
}

nav
{
    color: #eee;
    background-color: #439CC4;
    margin: 0;
    /*border-top: 1px solid #D0EBF7;*/
    border-bottom: 1px solid #D0EBF7;
    padding: 5px 10px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline;
    margin: 0;
    padding: 5px 0;
    font-size: 1.15em;
}

nav li a
{
    color: #eee;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid transparent;
}

nav li a:hover
{
    color: #fff;
    padding: 5px 10px;
    background: left bottom repeat-x url('images/tab_bg.png');
}

nav li a:active
{
    color: #ff0;
}

a.selected
{
    font-weight: bold;
    color: #fff;
}

div.container
{
    margin: 0;
    padding: 1.5em 1em 0 1em;
}

article, footer
{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

article
{
    background: #FdFdFd;
    margin-top: 0;
    margin-bottom: 0;
    border: 1px solid #ccc;
    -moz-box-shadow: 0 20px 40px #ccc;
    -webkit-box-shadow: 0 20px 40px #ccc;
    box-shadow: 0 20px 40px #ccc;
}

section.content, section.sidebar
{
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

section.content
{
    width: 65%;
    min-width: 300px;
    background: #F2F2F2;
    margin: 0.7em;
    border: 1px solid #439CC4;
    -moz-box-shadow: 0 0 10px #ccc;
    -webkit-box-shadow: 0 0 10px #ccc;
    box-shadow: 0 0 10px #ccc;
}

section.content header
{
    background-color: #439CC4;
    color: #fff;
    padding: 1px;
    padding: 10px;
}

section.content header h2
{
    margin: 0;
    padding: 2pt;
}

section.content p
{
    margin-left: 2em;
    margin-right: 2em;
}

section.content form p
{
    margin-left: 2em;
}

section.content form label
{
    display: inline-block;
    width: 10em;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    color: #16607F;
}

section.content form input[type='text'],input[type='password'],input[type='email']
{
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    width: 15em;
    border: #404040 solid 1px;
    padding: 0.2em;
    font-family: "Helvetica Neue" , "Candara" , "Tahoma" , sans-serif;
}

input:focus
{
    border: #16607F solid 1px;
    -moz-box-shadow: 0px 0px 4px 1px #16607F;
    -webkit-box-shadow: 0px 0px 4px 1px #16607F;
    box-shadow: 0px 0px 4px 1px #16607F;
}

section.actionbox
{
    width: 100%;
    background: #ccc;
    overflow: auto;
}

input.mainsubmit
{
    background: #16607F;
    color: #eee;
    border: #439CC4 solid 1px;
    -moz-box-shadow: 0px 0px 7px 2px #F2F2F2;
    -webkit-box-shadow: 0px 0px 7px 2px #F2F2F2;
    box-shadow: 0px 0px 7px 2px #F2F2F2;
    width: auto;
    padding: 5px 20px;
    margin: 10px;
    margin-right: 15px;
    float: right;
    overflow: hidden;
    font-size: 1.1em;
    font-family: "Helvetica Neue" , "Candara" , "Tahoma" , sans-serif;
    font-weight: bold;
}

input.mainsubmit:hover
{
    background: #439CC4;
    color: #fff;
    border: #16607F solid 1px;
    -moz-box-shadow: 0px 0px 7px 2px #F2F2F2;
    -webkit-box-shadow: 0px 0px 7px 2px #F2F2F2;
    box-shadow: 0px 0px 7px 2px #F2F2F2;  
}

input.mainsubmit:active
{
    padding: 6px 19px 4px 21px;
}

section.sidebar
{
    max-width: 30%;
    width: 30%;
    min-width: 150px;
}

aside
{
    padding: 5px;
    color: #999;
    margin-left: 10px;
}

aside.hidden
{
    display: none;
}

aside header
{
    background-color: #D0EBF7;
    color: #555;
    padding: 1px;
    padding-left: 0.5em;
    -moz-box-shadow: 0px 0px 4px #555;
    -webkit-box-shadow: 0px 0px 4px #555;
    box-shadow: 0px 0px 4px #555;
}

aside header h3
{
    margin: 0;
    padding: 2pt;
}

#helpinstruction
{
    text-align: center;
}

footer
{
    font-size: 0.8em;
    margin-top: 6em;
    color: #222;
}

footer a
{
    text-decoration: none;
}

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

footer a:active
{
    color: #f00;
}

footer section
{
    margin: 0;
    padding: 0;
    vertical-align: top;
}

#footerlogo
{
    float: left;
    margin-right: 1em;
}