body {
    margin: 0;
}

.content {
    padding: 8px;
    min-height: 400px;
}

* { 
    font-family: Verdana; 
    font-size: 13px;
}

h1 {
    text-align: center;
    font-size: 1.3em;
    border-bottom: 1px solid #ccc;
}

h2 {
    margin-top: 20px;
    text-align: center;
}

a:visited {
    color: blue;
}

.box {
    border: 1px solid black;
    width: 320px;
    margin: 120px auto;
}

.box h1 {
    text-align: center;
    font-size: 1.2em;
    margin: 2px;
    border: 0;
}

.box-head {
    border-bottom: 1px dotted #ccc;
}

.box-body {
    /* background: #c9c9c9 url(../images/header_bg.gif) top left repeat-x; */
    padding: 5px;
}

#login {
    width: 310px;
}

#advanced div {
    display: table-row;
    height: 2em;
}

#advanced label {
    display: table-cell;
    width: 3.5em;
    padding-left: 1.2em;
}

#login label {
    float: left;
    width: 120px;
}

#login input {
    width: 180px;
    margin: 2px;
}

input#submit { 
    width: 70px;
    margin-right: 5px;
}

.error, .flash {
    padding: 2px;
    text-align: center;
    margin: 5px;
}

.error {
    border: 1px solid maroon;
    background-color: pink;
}

.flash {
    color: green;
    border: 1px solid green;
    background-color: #efe;
}

.login-flash, .login-error {
    background-color: #666;
    color: white;
    text-align: center;
    padding: 2px;
    margin: 5px;
}

.error a, .flash a, .error a:visited, .flash a:visited {
    color: blue;
}

.files, #users {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 1px solid #ccc;
}

.files th {
    padding: 5px;
    border-bottom: 1px solid black;
}

.files td {
    text-align: center;
    padding: 2px;
}

.files td.first {
    text-align: left;
}

.files td.last {
    text-align: right;
}

.user-even, .file-even {
    background-color: #ccf;
}

.files tr {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.files .headers {
    border: none;
    border-bottom: 1px solid black;
}

.files .delete {
    text-decoration: none;
}

.user-even .delete, .file-even .delete {
    color: #aaf;
}

.user-odd .delete, .file-odd .delete {
    color: #ccc;
}

.files .delete:hover {
    color: maroon;
    font-weight: bold;
}

.header {
    text-align: right;
    padding: 10px 0;
    background-color: #eee;
}

.nav {
    background-color: #cfc;
    padding: 5px;
}

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

.nav li {
    display: inline;
    padding: 0 0 0 0;
}

.nav a, .nav a:visited {
    color: green;
    padding: 3px 8px;
}

.nav a:hover {
    background-color: #bfb;
}

.footer {
    margin-top: 10px;
    background-color: #c9c9c9;
    text-align: center;
    padding: 5px;
}

.footer ul {
    list-style: none;
    padding: 0; margin: 0;
    display: inline;
}

.footer li {
    display: inline;
    margin: 0 5px;
}

.footer a, .footer a:visited {
    color: #666;
}

.footer a:active {
    color: black;
}

#search {
    width: 250px;
}

#search-btn {
    width: 100px;
}

#advanced-link, #advanced-link:visited {
    font-size: 0.8em;
    color: #fff;
    padding: 0 10px 0 0;
}

#advanced a, #advanced a:visited {
    color: #ccc;
    text-decoration: none;
    width: 1em;
    font-size: 0.8em;
    text-align: center;
    font-weight: bold;
}

#advanced a:hover {
    color: black;
}

#advanced-wrapper {
    text-align: right;
    position: relative;
}

#advanced {
    text-align: left;
    background-color: white;
    padding: 10px;
    margin: 10px 0px 0 0px;
    border: 1px solid #888;
    display: none;
}

#upload, #create, #password {
    text-align: right;
}

#upload div, #create div, #password div, .center {
    margin: auto;
    width: 400px;
    margin-bottom: 5px;
    text-align: left;
}

#upload label, #create label, #password label {
    width: 140px;
    text-align: right;
    float: left;
    padding-right: 10px;
}

div#uploaddiv, div#creatediv, div#passdiv {
    text-align: right; 
    padding: 20px;
    margin-top: 40px;
}

.header {
    background: #c9c9c9 url(../images/header_bg.gif) top left repeat-x;
    padding: 10px;
}

* html .header {
}
