@import url('cleanup.css');
@import url('structure.css' );
/* ### BASICS ### */

.select-albumicon a img {
    padding: 2px;
    border: 2px solid black;
}

.select-albumicon a.selected img {
    border: 2px solid white;
}

.hidden { display: none; }
.separator { visibility: hidden; }
hr.separator { clear: both; }
a { text-decoration: none; }
.small-thumb { max-width: 50px; max-height: 50px; }
.paging { clear: both }
h2,h3,h4,h5,h6 { clear: both; }

dt,
#main-menu ul
{ font-weight: bold; }

#main-menu li li {
    border-left: 1px solid black;
    padding-left: 0.5em;
    
}

.prev-next-navi { margin: 0; padding: 0; }
.prev-next-navi .prev { float: left; }
.prev-next-navi .next { float: right; }

.info,
.error { border: 1px solid #888; margin: 0 1em 1em 1em; }
.info { background-color: #FF8; color: #000;  }
.error { background-color: #F66; color: #000;  }

p { margin: 1em 0; }
p#new-messages { margin: 0; }

.tiny-userlink-container {
    padding-bottom: 1em;
}

.comment-box .userlink-tiny {
    float: left;
}

#footer {
    text-align: center;
    padding: 24px;
    border-top: 1px dashed #AAF; 
    margin: auto;
    margin-top: 12px;
    line-height: 200%;
    color: gray;
}

.inline-block {
    display: block;
    height: 130px;
    width: 165px;
}

.offline, 
.online
{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;

    padding-left: 10px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: 0px 4px;
}

.online { background-image: url( "gfx/online.png" ); }
.offline { background-image: url( "gfx/offline.png" ); }

.online   span,
.offline  span
{ display: none; }

.paging { text-align: center; }
.paging u { text-decoration: none; font-weight: bold; }

/* ## FORMS ## */

#primary-content label {
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 120px;
}

#primary-content label.after-checkbox {
    display: inline;
    width: auto;
}

fieldset {
    border: 1px solid #888;
    background-color: #444;
    margin: 4px;
    padding-bottom: 4px;
}

fieldset * {
    margin: 1px 4px;
}

fieldset h1,
fieldset h2,
fieldset h3,
fieldset h4,
fieldset h5,
fieldset h6 {
    background-color: #666;
    margin: 0 0 4px 0;
}

h1 label,
h2 label,
h3 label,
h4 label,
h5 label,
h6 label {
    margin: 0;
    padding: 0;
}

#login-form * {
    font-size: 10px;
    margin: 0;
    padding: 0;
}

#login-form fieldset {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

#login-form button {
    margin-left: 12px;
}


/* ## COMMENT-RATING ## */
.comment-rating { float: right; }

.big-user-list .userlink {
}

.tiny-userlink-container p {
    text-align: center;
}

#header li a,
#header li u
{
    text-decoration: none;
    font-size: 11px;
    font-family:Verdana, sans-serif;
}
/* ## INFO-BOXES ## */


.containerx { margin-bottom: 1em; }

hr { visibility: hidden; clear: both; }

.containerx .pic-info-box, 
.containerx .video-info-box, 
.containerx .blogpost-info-box
{
    width: 110px;
}

.containerx .album-info-box
{
    width: 170px;
    height: 100px;
    margin-top: 1em;
    margin-bottom: 1em;
}

.containerx .pic-info-box, 
.containerx .video-info-box, 
.containerx .blogpost-info-box,
.containerx .album-info-box,
.big-user-list .userlink
{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
}

.comment-box,
.pic-info-box,
.video-info-box,
.blogpost-info-box {
    margin: 4px 23px 0 0;
    padding-bottom: 24px;
}

.pic-info-box,
.video-info-box,
.album-info-box
{
    height: 120px;
}
.comment-box .small-thumb 
{ 
    float: left; 
    margin-right: 12px;
}

.comment-box    img,
.pic-info-box   img,
.video-info-box img,
.blogpost-info-box  img
{ margin: 0; }

.comment-box    hr,
.pic-info-box   hr,
.video-info-box hr,
.blogpost-info-box  hr
{
    clear: both;
    visibility: hidden;
    margin: 0;
    padding: 0;
}

.userlink {
  display: block;
  width: 80px;
  margin: 12px;
  margin-right: 25px;
  white-space: nowrap;
  overflow: visible;
  background-position: top left;
}

.userlink-tiny img { margin: 5px; }

.userlink img { 
    display: block; 
    margin: 0;
}

/* ### RATING STARS ### */

.rating {
    background-repeat: no-repeat;

    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    height: 16px;

}

.rating span { display: none; }

.r0, .r1, .r2, .r3, .r4, .r5 { padding-left: 80px; }

.r0 { background-image: url( "gfx/rating-0.png" ); } 
.r1 { background-image: url( "gfx/rating-1.png" ); }
.r2 { background-image: url( "gfx/rating-2.png" ); }
.r3 { background-image: url( "gfx/rating-3.png" ); }
.r4 { background-image: url( "gfx/rating-4.png" ); }
.r5 { background-image: url( "gfx/rating-5.png" ); }

.rating, .user-rating 
{ white-space: nowrap; }

span.user-rating a u {
    display: none;
}

.ratelink-f {
}

.ratelink-0,
.ratelink-1
{
    padding-left: 12px;
    background-repeat: no-repeat;
}
.ratelink-0 { background-image: url( "gfx/star-0.png" ); }
.ratelink-1 { background-image: url( "gfx/star-1.png" ); }


span.user-rating:hover a.ratelink-0, 
span.user-rating:hover a.ratelink-1
{ background-image: url( "gfx/star-0.png" ); }

span.user-rating span:hover > a.ratelink-0, 
span.user-rating span:hover > a.ratelink-1 
{ background-image: url( "gfx/star-1.png" ); }

span.user-rating span:hover span:hover > a.ratelink-0, 
span.user-rating span:hover span:hover > a.ratelink-1
{ background-image: url( "gfx/star-1.png" ); }

table.structure {
    width: 100%;
}

table.structure td {
    vertical-align: top;
}

table.sales td, table.sales th {
    padding: 0.25em 1em;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

tr.sum td {
    text-align: right;
    border: 1px solid gray;
}

table.sales td { background-color: black; }
table.sales th { background-color: #224; border: 1px solid gray; }

table.messages {
}

table.messages td.selection-col {
    text-align: center;
    white-space: nowrap;
}

table.messages tr td {
    border-bottom: 1px solid #222;
}

table.messages td.selection-col em {
    font-size: 150%;
    font-style: normal;
}

em.readed {}
em.unread { color: orange; }
em.sent{}

table.messages td {
    padding: 0.25em 1em;
    vertical-align: middle;
}

table.messages tr.sent {
    color: gray;
}

table.messages td.avatars,
table.messages td.usernames {
    white-space: nowrap;
}

table.messages td.avatars em {
    vertical-align: super;
    font-size: 150%;
    font-style: normal;
}

option.sep {
    padding-bottom: 2px;
    margin-bottom: 2px;
    border-bottom: 1px solid silver;
}

option.note { color: #44F; }
option.warn { color: #F44; }
