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

/* 
Six ways of controlling xhtml using css
1- the first way is to declare an element nam(e.g body)
2- declare an id (e.g #header)
1- declare a class (e.g. .classname example .home)
4- declare context selector (e.g #nav ul)
5- declare a psuedo class selector (e.g. a:link)
6- Use an attribute selector (e.g. a[title~=home])
*/

root { 
    display: block;
}

body {
height: 100px;
background-color: black;
margin-left:  1in;
margin-right: 1in;
}

#header{
height: 100px;
background-color: blue;

}

#center{
 position: relative; /* */
 overflow: auto;
 
}

#subnav{
 width: 10%;
 float: left;
}

#centerright{
width: 90%;
float: left;
}

#centerright>div{
border-left: 1px solid #000;
}

#nav{
background-color: #FBF789;
}

#nav ul {
    margin: 0;
    padding: 0 2px 0 0;
    font: bold medium "Palatino 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 nav bar */
    #nav ul li a {
        display: inline-block;
        width: 7em;
        padding: 3px .5em 0 .5em;
        margin-left: 8px;
        border:  1px solid #000;
        background-color: #fff;
        text-decoration: none;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        -moz-border-radius-top-right: 4px;
        -moz-border-radius-top-lef: 4px;
        -webkit-border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        -o-border-top-left-radius: 4px;
        -o-border-top-right-radius: 4px;

}

#nav a:link{
    color: #000;
}

#nav a:visited{
    color: gray;
    outline: none;
}

#nav a:hover,
#nav a:focus{
    color: #fff;
    background-color: #000;
    border-color: #fff;
    border-bottom: 1px solid #fff;
}

.home #nav a[title~=home],
.education #nav a[title~=education],
.assignments #nav a[title~=assignments],
.pictures #nav a[title~=pictures],
.aboutme #nav a[title~=aboutme]{
        color: #fff;
    background-color: #000;
    border-color: #fff;
    border-bottom: 1px solid #fff;

}


#content{
background-color: white;
}

#content h1{
    margin-top: 0;
}

#content>div{
    padding: 10px;
}

#content fieldset{
    border: none;
}

#content label{
    font-weight: bold;
    width: 6em;
    margin-right:  1em;
    float: left;
    text-align: right;
}

#content #captcha{
    float:left;
margin-left: 1em;

}

#content #submitmessage{
clear: left;
margin-right: 1em;
}


#content .ul.gallery{
    margin: 0;
    padding: 0;
    position: relative;
}

#content .ul.gallery li{
    margin: 5px;
    padding: 0;
    list-style: none;
    float: left;
    display: inline;
}

#content .ul.gallery li img{
    border: none;
}

#footer{
background-color: #FBF789;
}

#footer ul{
    margin: 0;
    padding: 0 2px 0 0;
    font: bold medium "Palatino Linotype","Book Antiqua", Palatino, serif;
}

#footer li{
    display: inline;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
    }

    /* style the links in the nav bar */
    #footer ul li a {
        display: inline-block;
        width: 7em;
       
        margin-left: 8px;
        border:  none;
        text-decoration: none;
}




