@import "reset.css";

body {
    background: #fff;
    color: #444;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-size: 12px;
    padding: 20px;
}

a {
    color: #3bacdc;
}

a:hover {
    color: #00db00;
}

p {
    line-height: 1.5em;
    margin: 1em 0;
}

/* =Index
----------------------------------------------- */

body.index #header {
    margin-top: 80px;
}

body.index #header #logo {
    background: url(/static/img/logo.gif) no-repeat;
    height: 96px;
    margin: 0px auto 20px auto;
    text-indent: -9999px;
    width: 200px;
}

body.index #header form {
    text-align: center;
}

body.index #header #query {
    border: 1px solid #999;
    font-size: 20px;
    width: 400px;
    vertical-align: middle;
}

body.index #header #submit {
    background: url(/static/img/btn_go.gif) no-repeat left top;
    border: none;
    height: 35px;
    vertical-align: middle;
    text-indent: -9999px;
    width: 35px;
}

body.index #header #submit:hover {
    background-position: left bottom;
}

/* =Results
----------------------------------------------- */

body.results #header {
    display: inline;
    float: left;
    margin-bottom: 10px;
}

body.results #header:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

body.results #header #logo {
    background: url(/static/img/logo_small.gif) no-repeat;
    float: left;
    height: 60px;
    margin: 0 10px 0 0;
    text-indent: -9999px;
    width: 127px;
}

body.results #header #logo a {
    display: block;
    height: 60px;
    width: 127px;
}

body.results #header form {
    float: left;
    height: 60px;
}

body.results #header form p {
    line-height: 60px;
    margin: 0;
}

body.results #header #query {
    border: 1px solid #999;
    font-size: 14px;
    width: 300px;
    vertical-align: middle;
}

body.results #header #submit {
    background: url(/static/img/btn_go_small.gif) no-repeat left top;
    border: none;
    height: 25px;
    vertical-align: middle;
    text-indent: -9999px;
    width: 25px;
}

body.results #header #submit:hover {
    background-position: left bottom;
}

#content {
    clear: left;
}

body.results #content h1 {
    margin: 0 0 25px 0;
    padding-top: 30px;
    font-size: 26px;
    font-weight: bold;
}

#content-body {
    margin-right: 270px;
    max-width: 800px;
    width: expression(document.body.clientWidth > 800 ? "800px" : "auto");
}

#sidebar {
    float: right;
    width: 250px;
}

#footer {
    clear: both;
    color: #999;
    font-size: 10px;
    margin-top: 100px;
    text-align: center;
}

body.results #footer {
    margin-right: 270px;
    max-width: 800px;
    width: expression(document.body.clientWidth > 800 ? "800px" : "auto");
}

p.results {
    height: 18px;
    margin-bottom: 24px;
}

div.paging {
    float: right;
    width: 150px;
}

div.paging p {
    margin: 0;
}

p.next {
    float: right;
    width: 60px;
}

p.next a {
    background: url(/static/img/btn_next.gif) no-repeat right top;
    display: block;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    padding-right: 30px;
    text-decoration: none;
}

p.next a:hover {
    background-position: right bottom;
}

p.prev {
    float: left;
    width: 60px;
}

p.prev a {
    background: url(/static/img/btn_prev.gif) no-repeat left top;
    display: block;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    padding-left: 30px;
    text-decoration: none;
}

p.prev a:hover {
    background-position: left bottom;
}

/* =Tables
----------------------------------------------- */

table {
    margin-bottom: 24px;
    width: 100%;
}

caption {
    background-color: #ccc;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 3px;
    text-align: left;
}

th {
    background-color: #ffffcc;
    font-weight: bold;
    text-align: left;
}

th, td {
    border-bottom: 1px solid #eee;
    padding: 5px;
}

td.desc {
    line-height: 1.5em;
}

table.one th {
    width: 100px;
}

table.one td p {
    margin-top: 0;
}

table.one td p:last-child {
    margin-bottom: 0;
}

table.multi td.make {
    width: 100px;
}

table.multi td.desc {
    width: 75%;
}
