body, input, textarea {
    color: #505050;
    font: 13px arial;
}
body {
    margin: 15px 0;
    padding: 0;
}
p {
    margin: 15px 0;
    padding: 0;
}
em {
    font-style: normal;
    color: #FF0000;
}
img {
    border-color: #D0D0D0;
}
a {
    color: #0033FF;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.visited a:visited {
    color: #999999;
}
h1 {
    margin: 0;
    padding: 0;
    font: 24px verdana;
}
h2 {
    margin: 0;
    padding: 4px;
    color: #000000;
    background-color: #F8F8F8;
    font: bold 13px verdana;
    text-align: center;
}
h4 {
    margin: 0;
    padding: 0;
    font: bold 16px arial;
}
ul {
    list-style-type: square;
}
.arrow {
    padding-left: 25px;
    background: url(/graphics/sarrow1.gif) no-repeat left center;
}
input.flat {
    color: #000000;
    background: #F8F8F8;
    border: 1px solid #505050;
}

.table {
    width: 100%;
    border-collapse: collapse;
}
h3, .table th {
    margin: 0;
    padding: 1px;
    color: #000000;
    background: #D8D8D8;
    font: 10px arial;
    border-left: 1px solid #FFFFFF;
    text-align: center;
}
.table td {
    padding: 1px;
    border-bottom: 1px dotted #D0D0D0;
}
.table td.blank {
    border-bottom-color: #FFFFFF;
}

#counter {
    position: absolute;
    top: 0;
    left: 0;
}

/* HEADER & FOOTER */

#header, #main, #footer {
    width: 720px;
    margin: 15px auto;
}

#header {
    padding-top: 50px;
    background: url(/graphics/tgplibrary.gif) no-repeat left top;
}

#bookmark {
    padding-right: 10px;
    text-align: right;
}

#footer {
    padding-top: 15px;
    border-top: 1px solid #D0D0D0;
}
#footer .link {
    float: right;
    padding-left: 30px;
}

/* LIBRARY */

#vghd {
    display: block;
    position: fixed;
    z-index: 100;
    bottom: 0;
    right: 40px;
    outline: none;
}

#update {
    float: left;
    padding-left: 10px;
}

#block1 {
    width: 200px;
    float: left;
    margin-bottom: 15px;
    text-align: center;
}
#block1 div {
    padding-top: 5px;
}

#top1, #block2 {
    width: 505px;
    float: right;
    margin-bottom: 15px;
}
#top1 .num {
    width: 7%;
    text-align: center;
}
#top1 .link {
    width: 26.33%;
    border-right: 8px solid #FFFFFF;
}

#block2 div {
    width: 49.9%;
    float: left;
    text-align: center;
}

#block3 {
    width: 375px;
    float: left;
    margin-bottom: 15px;
}

#block4 {
    width: 330px;
    float: right;
    margin-bottom: 15px;
}

#block4 img {
    float: left;
    padding-right: 7px;
}
#block4 h4 {
    padding-top: 15px;
    margin-bottom: 10px;
    font-size: 13px;
}
#block4 .link {
    margin-top: 10px;
    text-align: right;
}

#library #galleries {
    width: 410px;
    float: left;
    margin-bottom: 15px;
}
#galleries .pics {
    width: 40px;
    text-align: center;
    font-weight: bold;
}
#galleries .category {
    width: 95px;
}
#galleries .movies {
    padding-left: 16px;
    background: url(/graphics/film.gif) no-repeat left center;
}
#galleries .removed {
    font-size: 11px;
}

#library #cats {
    width: 295px;
    float: right;
    margin-bottom: 15px;
}
#cats .glrs {
    width: 100px;
}
#cats .pics {
    width: 70px;
}
#cats .title {
    padding-left: 15px;
    font: bold 16px arial;
    color: #FF0000;
    border-bottom: 1px solid #D0D0D0;
}

#search {
    width: 295px;
    float: right;
    margin-bottom: 30px;
    text-align: center;
    border: 1px dotted #D0D0D0;
}
#search div, #search form {
    margin: 5px auto;
}
#search .flat {
    width: 210px;
}

#block5 {
    width: 295px;
    float: right;
    margin-bottom: 15px;
    text-align: center;
}
#block5 div {
    padding-top: 5px;
}

#top2 {
    clear: both;
    margin-bottom: 15px;
}
#top2 .num {
    width: 5%;
    font-weight: bold;
    text-align: center;
}
#top2 .link {
    width: 38%;
}
#top2 .clicks {
    width: 7%;
    text-align: center;
    font-size: 11px;
    border-right: 10px solid #FFFFFF;
}

#info {
    margin-top: 15px;
    font-size: 11px;
}

/* ARCHIVE */

#archive #main {
    width: 520px;
}

.pages {
    margin: 15px auto;
    text-align: center; 
}

#galleries .posted {
    width: 80px;
    text-align: center;
}

#ablock1, #ablock2 {
    border: 1px dotted #D0D0D0;
    margin-bottom: 30px;
}
#ablock1 .pic {
    margin: 10px 0;
    text-align: center;
}
#ablock1 h4 {
    margin: 10px;
    text-align: center;
}
#ablock1 ul {
    margin: 10px;
    padding-left: 50px;
}

#ablock2 img {
    float: left;
    padding: 10px;
}
#ablock2 h4 {
    padding-top: 60px;
}
#ablock2 p {
    margin: 20px 10px;
}
#ablock2 .link {
    margin-right: 20px;
    text-align: right;
    font-size: 16px;
}

/* INDEX */

#index #header, #index #main, #index #footer {
    width: 610px;
}
#index #header {
    margin-bottom: 30px;
    padding-top: 65px;
    background: url(/graphics/tgpliblogo3.gif) no-repeat left top;
    text-align: center;
}
#index #footer {
    margin-top: 30px;
}

#index #main {
    text-align: center;
}

#index h1 {
    margin-bottom: 15px;
    color: #FF0000;
}
#index strong {
    display: block;
    text-align: justify;
}

#index #continue {
    width: 480px;
    margin: 0 auto;
}
#index #enter, #index #exit {
    width: 200px;
    margin: 30px 0;
    padding: 10px;
    text-align: center;
    font: 24px verdana;
    background-color: #F8F8F8;
    border: 1px dotted #D0D0D0;
}
#index #enter {
    float: left;
}
#index #exit {
    float: right;
}

#index #links {
    clear: both;
}

/* 404 */

#error {
    width: 400px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    border: 1px dotted #D0D0D0;
}
#error h1 {
    margin-bottom: 15px;
}

/* SUBMIT */

#submit #header, #submit #main, #submit #footer {
    width: 610px;
}
#submit #header {
    padding-top: 65px;
    background: url(/graphics/tgpliblogo3.gif) no-repeat left top;
    text-align: center;
}

#traffic {
    margin-bottom: 15px;
    text-align: center;
}

#sponsors {
    margin-bottom: 15px;
}
#sponsors .img {
    display: block;
    padding: 10px 5px;
}
#sponsors .link {
    display: block;
    float: left;
    padding: 10px 20px;
    font-size: 20px;
}

#rules {
    margin-bottom: 15px;
}
#rules ul {
    padding: 0;
    margin: 5px 0 0 100px;
}

#copyrights, #closed {
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    border: 1px dotted #D0D0D0;
}
#copyrights {
    color: red;
}
#closed h4 {
    margin-bottom: 10px;
    color: red;
}

#submit #form {
    margin-bottom: 15px;
}
#submit form {
    width: 450px;
    margin: 5px auto 0 auto;
}
#submit .flat {
    width: 330px;
}
#submit #cat_updated {
    font-size: 11px;
    color: red;
}
#submit #desc {
    width: 285px;
}
#submit #desc_len {
    width: 35px;
    color: white;
    background-color: #FF3300;
    border: 0px;
}
#submit #code {
    width: 80px;
}
#submit #button {
    margin-top: 15px;
    text-align: center;
}

#update_link {
    margin-bottom: 30px;
    text-align: center;
}

#friends {
    text-align: center;
}

