/* 
    Document   : screen
    Created on : May 17, 2010, 9:54:08 AM
    Author     : owner
    Description:
        Purpose of the stylesheet follows.
*/

/* 
Six ways of controlling xhtml using css
1- declare an element name (e.g. body)
2- declare an id (e.g. #header)
3- declare a class(e.g. .home)
4- declare a context selector (e.g. #nav ul)
5- declare a pseudo-class selector (always have to be attacheted to an element e.g. a:link)
6- Use an attribute selector (e.g. a[title~=home])
> means direct child, space means it doesn't matter
*/

root { 
    display: block;
}
body{
    margin: 0;
    padding: 0;
    color: #000;
    background-color: #00bf32;
}
h1 {
    font-size: xx-large;
    font-family: Helvetica,Arial,sans-serif;
    margin: 0;
    azimuth: center;
}
h2 {
    font-size: large;
    font-family: Helvetica,Arial,sans-serif;
    margin-top: 0;
}
h6 {
    text-align: center;
}

p {
    font-family: Helvetica,Arial,sans-serif;
}

img {
    border-style: none;
    azimuth: center;
}
#logo {
    width: 80px;
    height: 100px;
    float: left;
}

#wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}
#header {
    background-color: #00bf32;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    height: 135px;
    background-image: url("/images/header_bg.jpg");
    background-position: left bottom;
    height: 100px;
    position: relative;
}
#header h1{
    margin: 0;
}
#header img[src="/images/header_bg.jpg"]{
    position: absolute;
    right: 0;
    top: 0;
}
#adminmenu{
    list-style-type: none;
    text-align: right;
}
#nav {
    background-color: #00bf32;
    margin: 0;
    padding: 0;
    position: absolute;
    padding-right: 51px;
    padding-left: 50px;
}
#nav ul {
    margin: 0;
    padding: 0;
    font: bold small "Palitino Linotype", "Book Antiqua", Palatino, serif;
}
#nav li {
    display: inline;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
}
/* style the links in the navigation bar*/
#nav ul li a {
    display: inline-block;
    width: 6em;
    padding: 2px .5em 0 .5em;
    margin-left: 4px;
    border: 1px solid #BF4030;
    background-color: white;
    text-decoration: none;
    border-radius: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    -o-border-radius: 10px;
}
#nav a:link {
    color: #000;
}
#nav a:visited {
    color: green;
    outline: none;
}
#nav a:focus{
    border-bottom: 1px solid #fff;
}
#nav a:hover {
    color: red;
    background-color: black;
}

.videos #nav a[title~=Videos],
.pictures #nav a[title~=Pictures],
.news #nav a[title~=News],
.stuff #nav a[title~=stuff],
.contact #nav a[title~=Contact],
.assignments #nav a[title~=Assignments],
.about #nav a[title~=About],
.home #nav a[title~=Home],
.justinsthoughts #nav a[title~=JustinsThoughts],
.aboutjustin #nav a[title~=AboutJustin],
.technews #nav a[title~=TechNews] {
    color: red;
    background-color: black;
}
#cassaraspage{
    text-align: left;
}
#leftcol {
    float: left;
}
#rightcol {
    float: right;
}
#content{
    background-color: #ffffff;
    border-bottom: 0;
    min-height: 100%;
    padding-top: 30px;
}
#center{
    padding: 10px;
}
#content label{
    font-weight: bold;
    width: 6em;
    margin-right: 1em;
    float: left;
    text-align: right;
}
#content fieldset{
    border: none;
}
#content #submitmessage{
    clear: left;
}
#leftcol{
    float: left;
    max-width: 50px;
    background-image: url(/images/piranhamanleft.jpg);
    background-color: blue;
    padding: 0;
    margin: 0;
}
#center{
    float: none;
    min-width: 500px;
}
#rightcol{
    float: right;
    max-width: 50px;
    background-image: url(/images/piranhamanright.jpg);
    background-color: blue;
    padding: 0;
    margin: 0;
}

#footer{
    background-color: #00bf32;
    border-top: 3px solid black;
    height: 60px;
    margin: 0;
    padding: 0;
    text-align: center;
}
#footer ul {
    padding: 15px 10px 0 0;
    margin: 0;
    font-size: small;
    color: black;
}
#footer li {
    display: inline;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
    color: black;
}
#footer a:hover {
    color: red;
}
#assignments ul li{
    list-style-type: none;
}

