﻿body {
    margin: 0px;
    font-family: Arial;
    font-size: 12px;
    background-color: #454545;
    background-image: url('design/body.png');
    background-repeat: no-repeat;
    background-position: center top;
}

/* ---------- PANEL ---------- */

#panel {
    background-image: url('design/panel.png');
    background-repeat: no-repeat;
    width: 910px;
    height: 70px;
    margin: 0px auto;
    margin-top: 10px;
}

#panel .pi {
    height: 5px;
}

#panel #items {
    margin-left: 10px;
}

#panel a {
    background-image: url('design/top-item.png');
    background-repeat: no-repeat;
    background-position: center top;
    display: block;
    width: 120px;
    height: 60px;
    float: left;
    text-align: center;
    line-height: 60px;
    text-decoration: none;
    color: #c0c0c0;
    font-weight: bold;
    border-left: solid 1px black;
}

#panel a:hover {
    color: #ffffff;
}

#panel a.selected {
    background-position: center bottom;
    border-left-color: transparent;
}

#panel #first {
    margin-left: 5px;
}

#panel #last {
    background-image: url('design/top-item-last.png');
}

/* ---------- PAGE ---------- */

#page {
    background-image: url('design/page.png');
    background-repeat: repeat-y;
    width: 910px;
    margin: 0px auto;
}

#page-in {
    width: 880px;
    margin: 0px auto;
    padding: 4px 0px 4px 0px;
    min-height: 55px;
}

#page-top {
    background-image: url('design/page-top.png');
    background-repeat: no-repeat;
    width: 910px;
    height: 11px;
    margin: 0px auto;
    margin-top: 10px;
}

#page-bottom {
    background-image: url('design/page-bottom.png');
    background-repeat: no-repeat;
    width: 910px;
    height: 10px;
    margin: 0px auto;
    margin-bottom: 10px;
}

/* ---------- CONTENT ---------- */

#content {
    margin-left: 210px;
}

#content h1 {
    border-bottom: solid 1px #c0c0c0;
    font-size: 18px;
}

#content h1.lower {
    margin-top: 20px;
}

#content p {
    padding-top: 5px;
}

#content h2 {
    font-size: 16px;
    margin-top: 5px;
}

#content h3 {
    font-size: 13px;
    margin-top: 5px;
}

#content .af {
    background-color: #e0e0e0;
    padding: 2px;
    margin-top: 5px;
    border-top: dotted 1px #b5b5b5;
    height: 15px;
    line-height: 15px;
}

#content .af a {
    text-decoration: none;
    font-weight: bold;
    font-size: 10px;
    color: #000000;
    float: right;
}

#content .af a:hover {
    text-decoration: underline;
}

#content .af span {
    font-weight: bold;
    font-size: 10px;
    color: #505050;
}

#content .category {
    background-image: url('design/category.png');
    background-repeat: no-repeat;
    width: 670px;
    height: 30px;
    line-height: 30px;
    text-indent: 15px;
    color: #dddddd;
    font-weight: bold;
}

#content .category span {
    float: right;
    margin-right: 15px;
    color: #858585;
    font-size: 10px;
}

#content .category span a {
    color: inherit;
    font-style: italic;
}

#content .ci {
    padding: 0px 10px 0px 5px;
}

#content .ci p {
    text-align: justify;
}

#content .ci img {
    margin: 0px 5px 0px 0px;
}

#content .category.lower {
    margin-top: 10px;
}

#content #tags {
    background-image: url('design/tags.png');
    background-repeat: no-repeat;
    background-position: left center;
    height: 21px;
    line-height: 21px;
    text-indent: 24px;
    margin-top: 20px;
    color: #202020;
}

#content .inf {
    padding-top: 5px;
    margin-top: 3px;
    border-top: solid 1px #454545;
    font-style: italic;
    color: #454545;
}

#content .inf span {
    float: right;
}

#content #tagstable {
    margin: 0px auto;
    margin-top: 20px;
}

#content #tagstable th {
    background-image: url('design/header.png');
    background-repeat: repeat-x;
    height: 20px;
    line-height: 20px;
    width: 250px;
    color: #e9e9e9;
}

#content #tagstable td {
    background-color: #e5e5e5;
    height: 20px;
    text-indent: 5px;
}

#content #tagstable td a, #content #taglist td a, #content #projects td.link a {
    color: #000000;
}

#content #tagstable td.space {
    background-color: inherit;
    width: 20px;
}

#content #taglist {
    width: 100%;
}

#content #taglist td {
    background-image: url('design/tags.png');
    background-repeat: no-repeat;
    background-position: left center;
    height: 21px;
    line-height: 21px;
    text-indent: 24px;
    width: 25%;
}

#content table.projects {
    margin-top: 10px;
}

#content table.projects td {
    vertical-align: top;
}

#content table.projects td.space {
    height: 20px;
}


#content table.projects td.image {
    height: 200px;
}

#content table.projects td.description {
    height: 150px;
}

#content table.projects td.link, #content table.projects td.work {
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: 24px;
    vertical-align: middle;
}

#content table.projects td.link {
    background-image: url('design/external.png');
}


#content table.projects td.work {
    background-image: url('design/work.png');
}

#content table.projects td.work {
    font-style: italic;
}

#content a {
    text-decoration: none;
    color: #2a6bba;
}

#content a:hover {
    text-decoration: underline;
}

#content #albums {
    width: 100%;
}

#content #albums td {
    width: 50%;
}

#content #albums td.space {
    height: 5px;
}

#content #albums td div.album {
    background-image: url('design/album.png');
    background-repeat: no-repeat;
    background-position: center top;
    width: 314px;
    height: 314px;
    position: absolute;
}

#content #albums td div.album div.title {
    width: 300px;
    height: 25px;
    margin: 282px 0px 0px 7px;
    line-height: 25px;
    text-indent: 5px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
}

#content #albums td div.album div.photos {
   float: right;
   margin: 7px 7px 0px 0px;
   width: 90px;
   height: 25px;
   line-height: 25px;
   color: #ffffff;
   font-weight: bold;
   text-align: center;
   letter-spacing: 1px;
   visibility: hidden;
}

#content #albums td img {
    margin: 7px 0px 0px 7px;
}

#content #albums td a:hover div.album {
    background-position: center bottom;
}

#content #albums td a:hover div.photos {
    visibility: visible;
}

#content #gallery {
    margin: 0px auto;
    margin-top: 10px;
}

#content #gallery #gf {
    background-image: url('design/gallery.png');
    background-repeat: no-repeat;
    width: 574px;
    height: 364px;
    position: absolute;
    margin-left: 8px;
}

#content #gallery #photo {
    width: 590px;
    height: 364px;
    vertical-align: top;
}

#content #gallery #photo img {
    margin-top: 7px;
}

#content #gallery #prev {
    background-image: url('design/gallery-prev.png');
}

#content #gallery #next {
    background-image: url('design/gallery-next.png');
}

#content #gallery #prev, #content #gallery #next {
    background-repeat: no-repeat;
    background-position: left center;
    width: 29px;
    cursor: pointer;
}

#content #gallery #prev:hover, #content #gallery #next:hover {
    background-position: right center;
}

#content #pd {
    text-align: center;
    padding-top: 10px;
}

#content #pn {
    text-align: center;
    padding-top: 3px;
    font-weight: bold;
}

#content #newest {
    height: 329px;
    margin-left: 20px;
}

#content #newest div.gfn {
    background-image: url('design/newest.png');
    background-repeat: no-repeat;
    background-position: center top;
    width: 294px;
    height: 189px;
}

#content #newest div {
    position: absolute;
}

#content #newest a:hover div.gfn {
    background-position: center bottom;    
}

#content #newest img {
    margin: 7px 0px 0px 7px;
}

#content #newest #new1 {
    z-index: 4;
    margin-top: 10px;
}

#content #newest #new2 {
    z-index: 3;
    margin-top: 120px;
    margin-left: 50px;
}

#content #newest #new3 {
    z-index: 2;
    margin-top: 30px;
    margin-left: 260px;
}

#content #newest #new4 {
    z-index: 1;
    margin-top: 140px;
    margin-left: 300px;
}

#content a img {
    border: none;
}

#content #author {
    width: 100%;
}

#content #author td {
    vertical-align: top;
}

#content #author td.space {
    width: 10%;
}

#content #author td.column {
    width: 45%;
}

/* ---------- MENU ---------- */

#menu {
    width: 200px;
    float: left;
    color: #e0e0e0;
}

#menu h1 {
    font-size: 13px;
    font-weight: bold;
    color: #f6f6f6;
    text-align: center;
}

#menu a {
    text-decoration: none;
    display: block;
    height: 14px;
    color: #f6f6f6;
    font-size: 11px;
    padding: 2px;
}

#menu a:hover {
    background-color: #404040;
}

#menu .menu-top {
    background-image: url('design/menu-top.png');
    background-repeat: no-repeat;
    width: 200px;
    height: 10px;
}

#menu .menu {
    background-image: url('design/menu.png');
    background-repeat: repeat-y;
    width: 200px;
}

#menu .menu-in {
    padding: 0px 10px 0px 10px;
}

#menu .menu-bottom {
    background-image: url('design/menu-bottom.png');
    background-repeat: no-repeat;
    width: 200px;
    height: 10px;
}

/* ---------- FOOTER ---------- */

#footer {
    background-image: url('design/footer.png');
    background-repeat: no-repeat;
    width: 910px;
    height: 40px;
    margin: 0px auto;
    margin-bottom: 10px;
}

#footer .fi {
    height: 5px;
}

#footer div.upper {
    width: 500px;
    height: 17px;
    margin: 0px auto;
    font-size: 10px;
    line-height: 17px;
    color: #c0c0c0;
    text-align: center;
}

#footer div.lower {
    width: 500px;
    height: 13px;
    margin: 0px auto;
    font-size: 9px;  
    color: #808080;
    text-align: center;
    font-weight: bold;
}

#footer .next {
    background-image: url('design/next.png');
    background-repeat: no-repeat;
    background-position: center top;
    width: 19px;
    height: 19px;
    float: right;
    cursor: pointer;
    margin: 10px 10px 0px 0px;
}

#footer .prev {
    background-image: url('design/prev.png');
    background-repeat: no-repeat;
    background-position: center top;
    width: 19px;
    height: 19px;
    float: right;
    cursor: pointer;
    margin: 10px 5px 0px 0px;
}

#footer #rss {
    background-image: url('design/rss.png');
    background-repeat: no-repeat;
    background-position: center top;
    width: 19px;
    height: 19px;
    float: left;
    margin: 10px 0px 0px 10px;
}

#footer #rss:hover {
    background-position: center bottom;
}

#footer .next:hover, #footer .prev:hover {
    background-position: center center;
}

#footer .next.blocked, #footer .prev.blocked {
    background-position: center bottom;
    cursor: default;
}

/* ---------- OTHER ---------- */

h1, h2, h3 {
    margin: 0px;
    padding: 0px;
}

p {
    margin: 0px;
}

span.code {
    font-family: 'Lucida Console', Monospace;
}

span.color {
    color: #2a6bba;
}

#spot {
    width: 120px;
    float: right;
    margin-left: 10px;
}

#spot .item {
    border-bottom: solid 1px #808080; 
    margin-bottom: 10px;
}

#spot .header {
    height: 20px;
    background-image: url('design/header.png');
    background-repeat: repeat-x;
    line-height: 20px;
    color: #e9e9e9;
    text-indent: 10px;
}

#spot a {
    text-decoration: none;
    display: block;
    height: 18px;
    line-height: 18px;
    border-top: solid 1px #808080;
    border-left: solid 1px #808080;
    border-right: solid 1px #808080;
    text-indent: 5px;
    font-weight: bold;
    font-size: 10px;
    color: #000000;
    background-color: #ebebeb;
}

#spot a.first {
    border-top: none;
}

#spot a:hover {
    background-color: #4f4f4f;
    color: #ffffff;
    border-left: none;
    border-right: none;
    text-decoration: none;
}

p {
    text-align: justify;
}

p.preview {
    font-style: italic;
    color: #454545;
}

div.warning {
    background-image: url('design/warning.png');
    background-repeat: no-repeat;
    background-position: left center;
    height: 31px;
    line-height: 31px;
    text-indent: 35px;
}

div.screens {
    margin: 0px auto;
    text-align: center;
    margin-top: 10px;
}

div.screens div {
    height: 20px;
    font-weight: bold;
}

div.screens img {
    margin-bottom: 10px;
}

code {
    display: block;
    margin-top: 10px;
    background-color: #e5e5e5;
    border: solid 1px #c3c3c3;
    padding: 5px;
}

a {
    outline-style: none;
}

/* ---------- CLANKY ---------- */

.arti-words {
    width: 200px;
    padding: 4px;
    border: solid 1px #404040;
    float: left;
    margin: 10px 20px 10px 0px;
}

.justify {
    text-align: justify;
}

/* ---------- FOUNDED ---------- */

#founded div.digit {
    width: 13px;
    height: 17px;
    background-image: url('design/digits.png');
    float: left;
    margin-top: 7px;
}

#founded td {
    background-image: url('design/digits-border.png');
    background-repeat: repeat-x;
}

#founded td div.padding {
    padding: 0px 4px 0px 4px;
}

#founded td div.background {
    background-image: url('design/digits-background.png');
    background-repeat: repeat-x;
    height: 31px;
    margin: 1px;
}
