
body, input, textarea, td {
    font-size: 11pt;
    font-weight: normal;
    font-family: sans-serif, arial;
    color: #000;
}

body {
    background: #fefefe url(../static/images/light-texture.jpg);
    margin: 0em 4em 3em 4em;
    padding: 0;
    line-height: 1.6em;
}

a {
    color: #8d3700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

acronym {
    border-bottom: 1px dotted #579;
    cursor: help;
}

legend {
    font-weight: bold;
    padding: 0.2em;
}

img {
    border: 0;
}

q {
    font-style: italic;
}

q:before, q:after {
    content: "";
}

p.quote {
    background: url(/static/images/q.gif) no-repeat 0 0;
    padding: 0.5em 28px;
    clear: left;
}

pre, code, .pre {
    background: #eee;
    font-family: monospace;
    font-size: 9pt;
    line-height: 1.3em;
    border: 1px solid #ccc;
}

h1, h2, h3 {
    font-weight: bold;
    margin: 0.8em 0;
}

h1 a, h2 a, h3 a {
    color: #000;
    line-height: 1.2em;
}

h1 {
    font-size: 2.0em;
}

h2 {
    font-size 1.6em;
}

h3 {
    font-size: 1.3em;
}

pre {
    font-size: 10pt;
    background: #fafafa;
    border: 1px solid #eee;
    padding: 0.3em;
}

blockquote {
    font-style: italic;
    margin: 0.5em 1em;
    padding: 0;
}

p {
    margin: 0.5em 0em;
    padding: 0;
}

.clear-content {
    clear: both;
    height: 1px;
    overflow: hidden;
}

.help {
    cursor: help;
}

.comment {
    background: url(/static/images/q.gif) no-repeat 0 0;
    padding: 0.5em 28px;
    clear: left;
    font-size: 0.9em;
    font-style: italic;
}

.icon img, .icon {
    border: 0;
}

.nodisplay {
    display: none;
}

.fortune {
    color: #444;
    font-size: 0.8em;
}

.error,
.error-dialog {
    background: #dD8750;
    font-weight: bold;
    border: 2px dotted #000;
    padding: 0.5em;
    margin: 1.5em 0;
}

.status-dialog {
    background: #87d050;
    font-weight: bold;
    border: 2px dotted #000;
    padding: 0.5em;
    margin: 1.5em 0;
}

form label {
    float: left;
    display: block;
    width: 10em;
    padding-right: 1em;
    text-align: right;
}

form .submit-bar {
    padding: 1em 0em 1em 11em;
    clear: left;
}

form.contact-form input[type=text],
form.contact-form textarea {
    width: 30em;
}

form.config-generator input[type=text] {
    width: 30em;
}

form.config-generator textarea {
    font-family: monospace;
    font-size: 0.9em;
    width: 33.3em;
    height: 20em;
    white-space: nowrap;
}

table {
    width: 100%;
}

table th {
    border-bottom: 1px solid #999;
}

table td,
table th {
    text-align: left;
}

table th a {
    color: #000;
}

/*
 * Lists
 */

.list {
    margin: 0;
    margin: 0.5em 0;
    padding: 0;
}
 
.list table,
.list li {
    list-style: none;
    margin: 0.1em 0;
    padding: 0 0.5em;
    border-left: 0.4em solid #ddd;
    border-right: 0.2em solid #ddd;
    overflow: hidden;
}

.list li.active,
.list tr.active td {
    background: #eee;
}

.list li.active {
    border-color: #333;
}

.list tr:hover td,
.list li:hover {
    background: #dde;
    border-color: #555;
}

.list td.active {
    background: #dde;
}

.list li a.filename {
    text-align: left;
    text-decoration: none;
    display: block;
    float: left;
    max-width: 44em;
}

.list li div {
    text-align: right;
    clear: left;
}

#wrapper {
    background: #333 url(../static/images/coffee-texture.jpg);
    width: 58em;
    margin: 0 auto;
}

#header {
    background: url(../static/images/coffee-cup.jpg) no-repeat 0 0;
    height: 210px;
}

#header h1 {
    font-weight: bold;
    font-size: 2.2em;
    letter-spacing: -1px;
    color: #fff;
    border-left: 0.2em solid #fff;
    padding: 40px;
    padding-bottom: 0;
    margin: 0 0.7em 0 0;
    height: 70px;
    width: 16em;
    overflow: hidden;
    white-space: nowrap;
}

#header h1 a {
    color: #dD8750;
}

#header p {
    height: 70px;
    padding: 40px;
    padding-top: 0;
    margin: 0;
    border-left: 0.4em solid #fff;
}

#header h1,
#header p,
#menu {
    margin-left: 213px;
    font-weight: bold;
}

#menu a,
#header a,
#header p {
    color: #fff;
}

#menu {
    font-size: 1.2em;
    margin-top: -2.8em;
    padding-left: 45px;
    height: 2.8em;
    position: relative;
    z-index: 10;
}

#menu a {
    margin-right: 1em;
    padding-top: 0.2em;
    display: block;
    float: left;
    text-decoration: underline;
    height: 1.8em;
}

#menu a:hover {
    color: #dD8750;
}

#header h1 a:hover {
    text-decoration: none;
}

#content {
    background: #fff;
    padding: 2em 20px;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-bottom: 0.4em solid #444;
}

#footer {
    background: #fefefe url(../static/images/light-texture.jpg);
    padding: 0.2em 20px;
    font-size: 0.9em;
    clear: both;
}

#disqus_thread {
    margin-top: 3em;
    border-top: 1px solid #ddd;
}

#disqus_thread #dsq-post-add-iframe {
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
}

#metacontent {
    float: right;
    text-align: right;
    width: 10em;
}

#metacontent img {
    margin: 0.3em 0;
}

#metacontent ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#metacontent li {
    padding: 0.1em 0;
    margin: 0;
    border-top: 1px solid #dde;
}
 
#metacontent li a {
    color: #333;
    text-decoration: none;
    display: block;
}

/*
 * Audio player
 */

#audio_player {
    position: relative;
}

#audio_player a {
    background: none;
    background-position: 50% 0;
    background-repeat: no-repeat;
    padding: 0;
    position: absolute;
    top: 0;
    left: 40px;
}

#audio_player a:active,
#audio_player a:focus {
    outline: 0;
}

#audio_player a.ui-previous,
#audio_player a.ui-play,
#audio_player a.ui-pause,
#audio_player a.ui-next,
#audio_player .ui-volume {
    background-image: url(/static/images/muz/control.png);
    width: 22px;
    height: 22px;
}

#audio_player a.ui-previous {
    background-position: 50%   -18px;
    left: 42px;
}
#audio_player a.ui-play {
    background-position: 50%  -77px;
    left: 72px;
}
#audio_player a.ui-pause {
    background-position: 50% -136px;
    left: 72px;
}
#audio_player a.ui-next {
    background-position: 50% -195px;
    left: 101px;
}

#audio_player .ui-volume {
    background-image: url(/static/images/muz/volume.png);
    background-position: 50% -254px;
    left: 150px;
    display: none;
}

#audio_player .ui-slider {
    background: #456;
    width: 200px;
    height: 3px;
    display: block;
    position: absolute;
    left: 138px;
    top: 11px;
}

#audio_player .ui-slider a {
    left: 0;
}

#audio_player .ui-slider-handle {
    background-image: url(/static/images/muz/slider.png);
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    margin-left: 0px;
    margin-top: -4px;
}

#audio_player .ui-status {
    left: 350px;
}

#audio_player_title {
    font-size: 0.8em;
}

@media print {
    #heading {
        height: auto;
        width: auto;
        margin: 0;
        padding: 0;
    }
    #heading h1,
    #heading h1 a,
    #footer a,
    #footer {
        color: #aaa;
        font-size: 10pt;
        font-weight: normal;
        font-style: normal;
        text-decoration: none;
        padding: 0;
    }
    #heading,
    #footer {
        border: 0 solid #999;
    }
    #heading {
        border-bottom-width: 1px;
    }
    #footer {
        border-top-width: 1px;
    }
    #menu {
        display: none;
    }
    #metacontent {
        display: none;
    }
    #content, #maincontent {
        width: auto;
        padding: 0;
        margin: 0;
    }
    h1 {
        font-size: 1.6em;
    }
    h2 {
        font-size: 1.4em;
    }
    h3, h4 {
        font-size: 1.2em;
    }
}


/*
 * Gallery
 */

#gallery ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#gallery .glist {
    display: none;
}

#gallery .glist ul {
    height: 95px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 8;
}

#gallery li {
    font-size: 10pt;
    font-weight: normal;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
}

#gallery ul a {
    position: relative;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    display: block;
    width: 76px;
    height: 86px;
    padding: 2px;
}

#gallery ul a span,
#gallery ul a img {
    background: #f9f9f9;
    border: 3px solid #eee;
    display: block;
    width: 70px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
}

#gallery .glist ul a img {
}

#gallery .glist ul a.dir {
    display: none;
}

#gallery .glist a.glist-active {
    top: -5px;
    padding-bottom: 5px;
}

#gallery .glist .glist-pointer {
    background: url(/static/images/arr-up.png) no-repeat 50% 100%;
    height: 12px;
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
}

#gallery ul a:hover {
    margin: -4px;
    width: 84px;
    height: 94px;
    z-index: 200;
}

#gallery ul a:hover img,
#gallery ul a:hover span {
    background: #fff;
    border-color: #000;
    width: 78px;
    height: 88px;
}

/*
 * Glist static
 */

.glist {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.glist-menu {
    border-bottom: 2px solid #444;
    height: 10pt;
    margin-bottom: 1em;
    padding-top: 7px;
    position: relative;
    height: 1.3em;
}

.glist-menu a {
    color: #8d3700;
    font-size: 9pt;
    display: block;
    float: left;
    padding-right: 1em;
    text-decoration: none;
}

.glist-menu .glist-download-link,
.glist-menu .glist-open-zoom-link,
.glist-menu .glist-close-link {
    position: absolute;
    padding: 0;
}

.glist-menu .glist-info-link {
}

.glist-menu .glist-download-link {
    right: 4em;
}

.glist-menu .glist-open-zoom-link {
    right: 10em;
}

.glist-menu .glist-next-link {
}

.glist-menu .glist-previous-link {
}

.glist-menu .glist-close-link {
    right: 0;
}

.glist-bigimage,
.glist-bigimage:hover {
    font-size: 9pt;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    height: 450px;
    width: 100%;
    position: absolute;
    top: 2.5em;
    left: 50%;
}

.glist-bigimage img {
    height: 100%;
    width: 100%;
}

.glist-bigimage span {
    background: #eee;
    border-top: 1px solid #333;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.glist-zoombox {
    background: #fff;
    border: 2px solid #333;
    height: 550px;
    width: 98%;
    display: block;
    overflow: auto;
    position: absolute;
    top: 2em;
    left: 1%;
    z-index: 40;
}

.glist-zoombox img {
    cursor: move;
}

.glist-slide-left,  .glist-slide-left:hover, 
.glist-slide-right, .glist-slide-right:hover {
    background: #333 url(../static/images/coffee-texture.jpg);
    font-size: 80px;
    line-height: 90px;
    color: #eee;
    text-decoration: none;
    height: 90px;
    width: 50px;
    position: absolute;
    bottom: 7px;
    z-index: 10;
}

.glist-slide-left {
    left: 0px;
    cursor: w-resize;
}

.glist-slide-right {
    right: 0px;
    cursor: e-resize;
}

.glist-loader {
    background: url(/static/images/loader.gif) 50% 50% no-repeat;
    height: 500px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.glist-hide {
    display: none;
}

@media print {
    .glist-menu a,
    .glist-slide-left,
    .glist-slide-right,
    .glist ul {
        display: none;
    }
    .glist {
        height: auto;
    }
    .glist-menu a.glist-info-link {
        display: block;
    }
    .glist-bigimage {
        position: relative;
        top: 0.5em;
        padding-top: 1em;
    }
    .glist-bigimage img {
        height: auto;
        width: 100%;
    }
    .glist-bigimage span {
        border: 0;
        position: absolute;
        top: 0;
        left: 0;
        bottom: auto;
        right: auto;
        display: block;
    }
}

