
/*
    There are six ways of controlling the web page
* blue-property  black-value
        1- declare an elment(ex. body)
        2- declare an id (ex. #header)
        3- declare a class (ex. .home)
        4- declare a context selector (ex. #parent>child or #nav ul)
        5- declare a pseudo class 
            *this is to change the links states (ex. a:link, a:visited, a:hover, a:a:active)
        6- use an attribute selector (ex. a[title~=key word])
*/
root{
    display: block;
}
body{
    background-image: url(/images/darkstars.jpg);
    background-color:#000016;
    color: #1D103E;
    margin: 0;
    padding: 0;
    background-attachment: fixed;
}
a:link{
    color:#884600;
    text-decoration: none;
}
a:visited{
    color: #884600;
    outline:none;
    text-decoration: none;
}
a:hover, a:focus{
    color: #d646e6;
}
a:active{
    color: #d646e6;
}

#header{
    position: relative;
    padding: 5px;
    background-image: url(/images/largerstars.jpg);
    background-repeat:no-repeat;
    height: 150px;
    margin-top: 3px;
    background-position: center;
}

#header h1{
    width: 50%;
    display: inline;
}
#header #tools{
    width: 250px;
    position: absolute;
    top: 0;
    right: 0;
}
#header #right{
    width: 125px;
    height: 25px;
    position: absolute;
    top: 165px;
    right: 3%;
    text-align: center;
    background-color:#FFDFED;
    -webkit-box-shadow: -5px -5px 0 #9C5E9D;
    -webkit-border-radius: 5px;
    -moz-box-shadow: -5px -5px 0 #9C5E9D;
    -moz-border-radius: 5px;
    box-shadow: -5px -5px 0 #9C5E9D;
    border-radius: 5px;
}
#header #rightIN{
    width: 300px;
    height: 25px;
    position: absolute;
    top: 165px;
    right: 3%;
    text-align: center;
    background-color:#FFDFED;
    -webkit-box-shadow: -5px -5px 0 #9C5E9D;
    -webkit-border-radius: 5px;
    -moz-box-shadow: -5px -5px 0 #9C5E9D;
    -moz-border-radius: 5px;
    box-shadow: -5px -5px 0 #9C5E9D;
    border-radius: 5px;
}

/*#right{
    position: relative;
}*/
#loginb{
    float: left;
    width: 70px;
    text-align: center;
    position: relative;
    color: #884600;
}

#rightIN #logout{
    float: right;
    padding-right: 5px;
}
#rightIN #mid{
    float: left;
    width: 55px;
    text-align: center;
    position: relative;
    color: #884600;
}

#members #loginb:hover,
#members #mid:hover{
    color: #d646e6;
}
#right #reg{
    float: left;
}

#members .menu{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left: 0;
    z-index: 1;
    display: block;
    cursor: pointer;
}


#loginform{
    width: 340px;
    height: 155px;
    position: absolute;
    top: 151px;
    right: 0;
    z-index: 3;
    padding: 6px;
    background-color:#FFDFED;
    -webkit-box-shadow: -5px -5px 0 #9C5E9D;
    -webkit-border-radius: 5px;
    -moz-box-shadow: -5px -5px 0 #9C5E9D;
    -moz-border-radius: 5px;
    box-shadow: -5px -5px 0 #9C5E9D;
    border-radius: 5px;
}
#loginform li{
    padding: 0px;
    margin: 0px;
    list-style: none;
}
#close{
/*    float: left;*/
    font-weight: bold;
    padding-left: 325px;
    height: 15px;
    color: #884600;
}

#nav{
    padding-left:5px;
    text-align: center;
    margin-top: 50px;
}

#nav ul{
    margin:0px;
    padding: 0px 0px 0px 2px;
    font: bold medium Palatino, Georgia, serif;
}

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

#nav li a{
    display:inline-block;
    width: 110px;
    height: 35px;
    padding: 3px .5em 0px .5em;
    margin-left: 5px;
    border: 1px solid #000;
    background-color: #E27CED;
    text-decoration: none;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

#nav a:link{
    color:#611a26;
}
#nav a:visited{
    color: #611a26;
    outline:none;
}
#nav a:hover,#nav a:focus{
    color: #d646e6;
    background-color: #2f0d12;
    border-bottom:1px solid #2f0d12;
}
.home #nav a[title~=Home],
.assignment #nav a[title~=Assignment],
.site #nav a[title~=Site-Info],
.kolob #nav a[title~=About],
.family #nav a[title~=Family]{
    color: #d646e6;
    background-color: #2f0d12;
    border-bottom:1px solid #2f0d12;
}

#mainwrapper {
    overflow: auto;
    position: relative;
    margin: 0 auto 0 auto;
    background-color:#FFDFED;
    width: 710px;
    min-height: 250px;
    -moz-box-shadow: -10px -10px 0 #9C5E9D;
    -moz-border-radius: 5px;
    -webkit-box-shadow: -10px -10px 0 #9C5E9D;
    -webkit-border-radius: 5px;
    box-shadow: -10px -10px 0 #9C5E9D;
    border-radius: 5px;
}

#title{
    padding-left:10px;
    padding-top: 10px;
    text-align: center;
    text-transform: capitalize;
    font: bold x-large Arial, sans-serif;
}

#subnav{
    overflow: auto;
    float: left;
    width:150px;
    margin-left: 5px;
    font: bold smaller Palatino, Georgia, serif;
}

#subnav>div{
    padding: 10px;
    border: 3px outset #9C5E9D;
    min-height: 55px;
}

#subnav p{
    padding: 0px;
    padding-bottom: 2px;
    padding-top: 2px;
    margin: 0px;
}

#subnav ul, #subnav .ul{
    padding: 2px 0px 2px 0;
    margin: 0 0 0 5px;
    list-style: none;
}

#mid{
    float: left;
    overflow: auto;
    width: 75%;
}

#mid>div{
    padding-left: 10px;
}

#content{
    padding:10px;
    font: medium Georgia, serif;
}

#content p q{
    text-align: center;
    font-style: italic;
}

#contact label{
    font-weight: bold;
    width: 77px;
    /*margin-right: 1em;*/
    float: left;
    /*text-align: right;*/
}

#registration ul{
    margin:0px;
    padding: 0px 0px 0px 2px;
}

#registration li{
    padding: 0px;
    margin: 0px;
    list-style: none;
}

table{
    border: 0;
    border-collapse: collapse;
}

td{
    padding: 3px;
    border: 0px;
    text-align: center;
}

#Add li{
    padding: 0px;
    margin: 0px;
    list-style: none;
}

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

#date{
    position: relative;
    top:10px;
    width: 270px;
    margin-left: auto;
    margin-right: auto;
    font-size: 11px;
    color: #E27CED;
}

#footer{
    position: relative;
    float: right;
    background-color:#FFDFED;
    width: 255px;
    height: 60px;
    margin: 30px 20px 10px 0;
    -webkit-box-shadow: -10px -10px 0 #9C5E9D;
    -webkit-border-radius: 5px;
    -moz-box-shadow: -10px -10px 0 #9C5E9D;
    -moz-border-radius: 5px;
    box-shadow: -10px -10px 0 #9C5E9D;
    border-radius: 5px;
}

#footer p{
    text-align: center;
    padding: 2px 0 2px 0;
    margin: 0px;
    font-size: 14px;
}

