body {
    background: black url(body.png);
    font-family: 'Droid Sans', 'Lucida Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a img {
    border: none;
}

p {
    margin: 15px 0;
}

div.header {
    background: #507581 url(header-low.png) repeat-x center top;
    height: 185px;
}

div.header ul.navigation {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1;
}

div.header ul.navigation li {
    float: left;
    padding: 0;
    margin: 0;
    font-size: 11px;
    line-height: 28px!important;
    height: 28px!important;
}

div.header ul.navigation li a {
    display: block;
    border: 0 solid transparent;
    border-left-width: 14px;
    border-right-width: 14px;
    line-height: 28px!important;
    height: 28px!important;
    color: #c6e6ed;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
}

div.header ul.navigation li a:hover {
    -moz-border-image: url(button.png) 0 14 0 14 stretch stretch;
    -webkit-border-image: url(button.png) 0 14 0 14 stretch stretch;
    color: white;
    text-decoration: underline;
}

div.header h1 {
    position: absolute;
    top: 40px;
    left: 50%;
    margin: 0 0 0 -213px;
    width: 426px;
    height: 120px;
    background: url(logo-small.png) no-repeat;
    border: none!important;
}

div.header h1 a {
    display: block;
    width: 100%;
    height: 100%;
}

div.large-header {
    height: 250px;
}

div.header p.subtitle {
    height: 44px!important;
    position: absolute;
    top: 155px;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    line-height: 1;
    text-indent: -999999px;
    background: url(header-cutout.png) repeat-x;
}

div.large-header p.subtitle {
    top: 220px;
}

div.header h1 span {
    display: none;
}

div.large-header h1 {
    background: url(logo.png) no-repeat;
    height: 220px;
    margin-left: -300px;
    width: 600px;
    height: 190px;
}

div.footer {
    background: url(footer.png) repeat-x center top;
    padding: 50px 20px 20px 20px;
    color: #555;
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    line-height: 1.4;
}

div.footer p {
    margin: 0;
}

div.footer a {
    color: #777;
}

div.footer a:hover {
    color: #fff;
}

h1, h2, h3, h4, h5 {
    background: url(headline.png);
    font-family: 'Nobile', sans-serif;
    color: #1b5e73;
    padding: 3px 10px 0 10px;
    border-bottom: 1px dotted #bddae3;
    text-shadow: 2px 2px 1px #fff;
    margin: 15px -10px 10px -10px;
}

h2, h3, h4, h5 {
    background-image: url(subheadline.png);
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    border: none!important;
}

h1 {
    margin-top: 0;
}

div.documentwrapper {
    background: white;
}

div.body {
    margin: 0 auto;
    padding: 10px 0;
    width: 700px;
}

div.body a {
    color: #1b5e73;
    text-decoration: none;
    border-bottom: 1px dotted #2e768d;
}

div.body a:hover {
    color: #0a323f;
    background: #e9f2f5 url(code.png);
}

div.body a.reference em {
    font-style: normal;
}

pre, code, tt {
    font-family: 'Consolas', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
    font-size: 0.9em;
}

pre {
    background: #f3f8f9 url(code.png)!important;
    border: 1px solid #d7eaed!important;
    padding: 3px 5px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
}

div.highlight {
    background: white;
}

img.align-center {
    display: block;
    margin: 10px auto;
}

img.align-right {
    float: right;
    margin: 10px;
}

/* slideshows */

div.pocoo-powered a {
    border: none;
    vertical-align: middle;
}

div.pocoo-powered img {
    padding: 5px 10px;
    vertical-align: middle;
}

div.pocoo-powered a:hover {
    background: white;
}

div.slideshow {
    position: relative;
    overflow: hidden;
    height: 110px;
    margin: 10px -7px;
}

div.slideshow div.items {
    position: absolute;
    width: 100000px;
    z-index: 500;
    clear: both;
}

div.slideshow img {
    padding: 0 20px;
    margin: 0;
}

div.slideshow:before,
div.slideshow:after {
    position: absolute;
    display: block;
    width: 20px;
    height: 110px;
    content: " ";
    z-index: 1000;
    background: url(slideshow-cutout.png) repeat-y;
}

div.slideshow:before {
    left: 0;
}

div.slideshow:after {
    right: 0;
    background-position: -20px 0;
}

/* twitter */

div.tweet {
    margin: 10px 0;
}

div.tweet span.username {
    font-weight: bold;
}

div.tweet a.time {
    color: #888;
    border-bottom-color: #888;
    font-size: 14px;
}

ul li p {
    margin: 0;
}

img.avatar {
    margin: 10px 0 10px 10px;
    padding: 0;
    float: right;
    box-shadow: 3px 3px 3px #cbe5ee;
    -moz-box-shadow: 3px 3px 3px #cbe5ee;
}
