body {
    /* 3 * 16 + 170 + (650 + 2 * 16) */
    width: 900px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 11px;
    font-family: Verdana, Arial;
    background: black url(bg.jpg) no-repeat top center;
    color: white;
}

h1 {
    font-size: 18px;
    margin: 0 0 4px 0;
}

h2 {
    font-size: 14px;
    margin: 0 0 4px 0;
}

table {
    border-collapse: collapse;
}

a, em {
    text-decoration: none;
    font-style: normal;
    color: orange;
}

a {
    font-weight: bold;
}

img {
    border: 0;
}

.layout {
    border-collapse: separate;
}

.header {
    height: 70px;
}

.header .links {
    position: relative;
    top: 32px;
    height: 16px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: url(links-bg.png);
}

.header .links a {
    padding: 8px;
    color: gray;
}

.header .links a:hover,
.header .links .selected {
    color: white;
}

.side {
    vertical-align: top;
    width: 170px;
    padding: 16px 0 16px 0;
    margin: 0;
}

.side a {
    display: block;
    font-weight: bold;
    color: white;
    margin: 0 16px 2px 16px;
}

.side p {
    font-weight: bold;
    color: #c0c0ff;
    margin: 8px 16px 2px 16px;
}

.side .cat-links a {
    margin: 0 16px 2px 16px;
}

.side .cat-links .link-title {
    font-weight: bold;
    color: #c0c0ff;
    margin: 8px 16px 2px 16px;
}

.side a:hover,
.side .selected {
    color: orange;
}

.main {
    vertical-align: top;
    margin: 0;
    width: 650px;
    padding: 16px 16px 8px 16px;
    background: #383a73 url(page-bg2.jpg) no-repeat right top;
}

.main p {
    margin: 0 0 4px 0;
}

.main a:hover {
    color: white;
}

.table {
    border: 1px solid #7d7fa5;
    margin-top: 4px;
    margin-bottom: 12px;
}

.table td {
    padding: 2px 8px 2px 8px;
}

.table th {
    background: url(th-bg.png);
    color: black;
    height: 18px;
    padding: 0 8px 0 8px;
    border: 0;
}

.table img {
    float: left;
}

.row-0 {
    background: #2d2f62;
}

.row-1 {
    background: #424686;
}

.row-footer {
    background: white;
    color: black;
}

.table .infobox {
    padding: 0;
}

.infobox p {
    margin: 4px 8px 4px 8px;
}

.infobox img {
    margin: 0 8px 0 0;
}

.cat td {
    vertical-align: top;
    width: 128px;
}

.video-info {
    padding-right: 16px;
}

.details {
    width: 100%;
    margin-bottom: 8px;
}

.details td {
    padding-right: 4px;
}

.bbcode p {
    margin-top: 4px;
}

.vet {
    margin-bottom: 8px;
}

.screens {
    margin-top: 8px;
    margin-bottom: 32px;
}

.screens .big {
    width: 400px;
    height: 300px;
    border: 1px solid white;
    background: black;
    overflow: hidden;
}

.screens .big img {
    width: 400px;
}

.screens .thumbs {
    width: 180px;
    height: 302px;
    overflow: auto;
}

.screens .thumbs img {
    border: 1px solid white;
    width: 150px;
    margin: 0 0 4px 4px;
}

.paging {
    padding: 4px 8px 4px 8px;
    text-align: center;
}

.help {
    border-bottom: 1px dashed blue;
}

.box {
    margin: 4px;
    padding: 8px;
    border: 1px solid;
    background: #346699;
    border-color: #9accff;
}

.error {
    width: 500px;
    padding: 8px;
    background: #ffc080;
    border: 1px solid white;
    color: black;
    font-weight: bold;
}

.info {
    width: 500px;
    padding: 8px;
    background: #346699;
    border: 1px solid white;
    color: white;
    font-weight: bold;
}

.submit-input {
    color: white;
    background: #2c2f62;
    border: 1px solid #7d7fa5;
    font-size: 11px;
}

.text-input {
    border: 1px solid #346699;
    font-size: 11px;
}

.form-input input {
    width: 100%;
}

.form-head {
    padding-top: 4px;
}

.form-buttons {
    padding-top: 4px;
    text-align: right;
}

.stats {
    width: 100%;
    background: white;
}

.stats th,
.stats td {
    border: 1px solid black;
}

.stats th {
    color: black;
}

.stats td {
    text-align: right;
    color: white;
}

.table .ad-area {
    padding: 0;
    text-align: center;
    background: black;
}

.cat-icon {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    width: 150px;
    height: 160px;
}

.cat-icon img {
    display: block;
}
