    /* 
    Document   : screen
    Created on : May 17, 2010, 2:33:21 PM
    Author     : Alvin
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   The six ways of controlling markup
1- by using the id (e.g. #header)
2- by using an element (e.g. body)
3- by using a context selector (e.g. #aside>div)
4- using a pseudo class (e.g. #nav a:link)
5- use an attribute selector (e.g. #nav a(title~=home)}
*/


root { 
    display: block;
}

#content h1 {
    font-family: Helvetica;
    font-size: x-large;
    margin-top: 0;
}

body {  font-family: monaco; 
}

#content #captcha{
    float: left;
    margin-right: 1em;
}

#content input [type=radio]{
    display: block;
}

#content label{
    font-weight: bold;
/*    width: 6em;*/
    margin-right: 1em;
    float: left;
    text-align: right;
}

body{
    background-color: white;
    padding: 0;
}

#header{
    background-color: white;

}

#headerlogo{
    text-align: center;
    border: none;
    outline: none;
}

#mainouter{
    position: relative;
    overflow: auto;
    background-color: black;
}

#aside{
    width: 10%;
    float: left;
}

#maininner{
    width: 80%;
    float: left
}

#rightbar{
    width: 10%;
    float: left;
}

#nav{
    background-color: white;
}

#nav ul {
    margin: 0;
    padding: 0;
    font: bold medium "Palatino Linotype", "Book Antiquq", Palatino, serif;
}

#nav li{
    padding: 0;
    margin: 0;
    display: inline;
    text-align: center;
}

#nav a{
    display: inline-block;
    width:7em;
    padding: 3px .5em 0 .5em;
    margin: 0 0 0 3px;
    border: 1px solid black;
    background-color: gray;
    text-decoration: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-redius-topleft: 5px;
    -moz-border-redius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -o-border-top-left-radius: 5px;
    -o-border-top-right-radius: 5px;
}

#nav a:link{
    color: white
}

#nav a:visited{
    color: white;
    outline: none;
    border: none;
}

#nav a:hover, 
#nav a:focus{
    color: gray;
    background-color: white;
    border-bottom: 1px solid white;
}

.home #nav a[title~=home],
.local #nav a[title~=local],
.upcoming #nav a[title~=upcoming],
.reviews #nav a[title~=reviews],
.links #nav a[title~=links],
.about #nav a[title~=about],
.assignments #nav a[title~=assignments]{
    color: gray;
    background-color: white;
    border-bottom: 1px solid white;
}

#navall {
    text-align: center;
}

#content{
    background-color: white;
}

#footer{
    background-color: white;
}

#logreg{
    text-align: right;
}

#registration label.error{
    color: red;
    position: absolute;
    padding-left: 50px;
}


