html, body{
    background: #000;
    color: #525252;
    text-shadow: 0 1px rgba(255, 255, 255, 0.05);
}

a{
    text-decoration: none;
    color: #777;
}

#title {
    /* Заголовок страницы */
    text-align: center;
    font-size: 110%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 5px;
    background-color: #101010;    
    border-bottom: 1px solid #000;
}

#adt_top, #adt_bottom{
    text-align: center;
    margin-bottom: 20px;
}

#adt_top a, #adt_bottom a{
    display: block;
    margin: 5px;
}

#adt_top{
    border-radius: 5px;
}

#navigation_user {
    padding: 10px 15px;
    text-align: right;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 5px 6px -4px #000;
}

#navigation_user  a{
    margin: 3px;
    display: inline-block;
    padding: 0 10px;
    background-color: #222;
    border-radius: 5px;
    border: 1px solid;
    border-color: #262626 #1D1D1D #161616 #262626;
    box-shadow: 0 0 1px #000, 0 0 0 2px #555;
    text-decoration: none;
    line-height: 38px;
    height: 40px;
    color: #BB8E00;
}

#navigation_user  a:active{
    background-color: #1D1D1D;
}

#messages > div{
    margin: 5px auto;
    padding: 5px 2%;
    min-width: 50%;
    text-align: center;
}

#messages > .message{
    color: #008000;
}

#messages > .error{
    color: #990000;
}

#content{
    padding: 3px 0;
    position: relative;
    overflow: hidden;
}

.form{
    margin: 0 10px;
    margin-bottom: 10px;
    padding: 5px;
    position: relative;
    background-color: #0C0C0C;
    border-radius: 2px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.54), 0 0 0 3px #222;
    border: 1px solid;
    border-color: #151515 #0D0D0D #0D0D0D #151515;
}

.form .title{
    margin-top: 10px;
    display: inline-block;
}

.form .refresh{
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
}


.form input[type="submit"],
.form input[type="file"],
.form select{
    margin: 3px;
    display: inline-block;
    padding: 0 10px;
    background-color: #222;
    border-radius: 5px;
    border: 1px solid;
    border-color: #262626 #1D1D1D #161616 #262626;
    box-shadow: 0 0 1px #000, 0 0 0 2px #555;
    color: #777;
    text-decoration: none;
    line-height: 38px;
    height: 40px;
    text-shadow: 0 -1px 0px #161616;
    color: #BB8E00;
    font-size: 100%;
    text-shadow: 0 1px #332300;
}

.form div.file{
    display: inline-block;
    width: 100%;
    padding: 3px;
}

.form input[type="file"]{
    margin: 0;
    padding: 0;
}

.form input[type="text"],
.form input[type="password"],
.form input[type="number"],
.form textarea{
    background-color: #222;
    border-radius: 5px;
    border: 1px solid;
    border-color: #262626 #1D1D1D #1A1A1A #262626;
    box-shadow: 0 0 0 2px #555, inset 0 3px 10px -2px #000;
    color: #707070;
    text-shadow: 0 1px 2px #000;
}


.form input[type="text"],
.form input[type="password"],
.form input[type="number"]{
    margin: 3px;
    display: inline-block;
    padding: 0 10px;
    height: 40px;
}

.form div.textarea{
    padding: 3px;
    display: inline-block;
    width: 100%;
}

.form textarea{
    width: 100%;
    height: 60px;
    padding: 6px;
    resize: none;
}

.form label.checkbox{
    display: inline-block;
    margin: 3px;
    min-height: 40px;
    vertical-align: middle;
    padding: 10px 0;
}

.listing{
    margin: 0 10px;
    margin-bottom: 10px;
    background-color: #0C0C0C;
    border-radius: 2px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.54), 0 0 0 3px #222;
    border: 1px solid;
    border-color: #151515 #0D0D0D #0D0D0D #151515;
}

.listing .listing{
    margin: 5px;
}

.post > table{
    padding: 5px;
    min-height: 40px;
}

.post{
    display: block;
    border-top: 1px solid #1A1A1A;
    border-bottom: 1px solid #090909;
}

.post:first-child{
    border-top: none;
}

.post:last-child{
    border-bottom: none;
}

.post td{
    padding: 2px;
    vertical-align: middle;
}
.post td.icon{
    width: 21px;
    text-align: center;
}
.post td.icon img{
    display: inline-block;
    vertical-align: middle;
}

.post td.image{
    width: 48px;
}
.post td.title{
    padding-top: 5px;
    text-shadow: 0 1px #000;
}

.post td input[type="checkbox"]{
    margin-top: 6px;
    vertical-align: middle;
}

.post.hightlight td.title{
    font-weight: bold;
}

a.post:hover{
    text-decoration: none !important;
}

.post td.right{
    width: 1px;
    white-space: nowrap;
    font-size: 80%;
}
.post td.content{
    font-size: 80%;
    word-break: break-word;
}

.post td.bottom{
    color: #444;
    text-align: right;
    font-size: 70%;
}

.post .actions a{
    padding: 2px;
    opacity: 0.7;
    margin-left: 10px;
}
.post .actions a:first-child{
    margin-left: 0;
}


.post .actions a:hover{
    opacity: 1;
}

.post .time{
    font-size: 70%;
}
.post .counter{
    white-space: nowrap;
    padding: 0px 4px;
    float: right;
    font-weight: bold;
    color: #BB8E00;
}

#actions, #returns{
    margin: 0 10px;
    margin-bottom: 15px;
    background-color: #0C0C0C;
    border-radius: 2px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.54), 0 0 0 3px #222;
    border: 1px solid;
    border-color: #151515 #0D0D0D #0D0D0D #151515;
}

#actions a, #returns a{
    display: block;
    padding: 10px;
    border-top: 1px solid #1A1A1A;
    border-bottom: 1px solid #090909;
}

#actions a:first-child,
#returns a:first-child{
    border-top: none;
}

#actions a:last-child,
#returns a:last-child{
    border-bottom: none;
}

#foot{
    font-size: 11px;
    text-align: right;
    padding-right: 10px;
}

#foot a{
    font-weight: bold;
}

.pages_wrapper{
    text-align: center;
    padding: 5px;
    overflow-x: auto;
    margin-bottom: 10px;
}

.pages{
    white-space: nowrap;
    display: inline-block;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.54), 0 0 0 3px #222;
    border: 1px solid;
    border-color: #151515 #0D0D0D #0D0D0D #151515;
    border-radius: 3px;
}

.pages > *{
    display: inline-block;
    padding: 5px 10px;
    font-size: 150%;
    height: 40px;
    min-width: 40px;
    border-right: 1px solid #0F0F0F;
    border-left: 1px solid #2C2C2C;
}

.pages > *:first-child{
    border-left: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pages > *:last-child{
    border-right: none;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pages > a{
    background-color: #222;
}

.pages > span{
    border-left: none;
    background-color: #111;
    text-shadow: 0 -1px #000;
    box-shadow: 0 -1px 0 1px rgba(0, 0, 0, 0.66);
}

.DCMS_photo {
    display: block;
    background-color: #111;
    margin: 0 auto;
    padding: 4px;
    border: 1px #222 solid;
}

.DCMS_nick_on {
    text-shadow: 0px 0px 4px #002C00;
    color: #1D5A27;
}


/* выделение в результатах поиска */
.DCMS_mark {
    font-weight: bold;
    color: #F6A21A;
}
.DCMS_quote {
    font-size: 90%;
    margin: 3px;
    padding: 3px;
    border-radius: 2px;
    border: 1px solid #222;
}
.DCMS_quote_title {
    font-weight: bold;
}


/* Голосования */
div.votes {
    margin: 0 10px;
    margin-bottom: 15px;
    background-color: #0C0C0C;
    border-radius: 2px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.54), 0 0 0 3px #222;
    border: 1px solid;
    border-color: #151515 #0D0D0D #0D0D0D #151515;
    padding: 4px;
}
div.votes a:hover {
    text-decoration: none;
}
div.votes_name {
    font-weight: bold;
    font-size: x-small;
    padding-bottom: 4px;
}

td.vote_title{
    padding-top: 10px;
    font-size: 80%;
}

td.vote_bar {
    border: 1px #222 solid;
    border-radius: 5px;
    box-shadow: inset 1px 2px 5px 2px #000;
    overflow: hidden;
}
td.vote_bar div.vote_bar {
    height: 36px;
    min-width: 40px;
    padding: 8px 6px;
    background-color: #BB8E00;
    box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2), inset 0 -15px 20px rgba(0, 0, 0, 0.25), 1px 1px 2px rgba(0, 0, 0, 0.5);
    border: 1px solid #271B00;
    border-radius: 4px;
    color: #222;
    text-shadow: 0 -1px rgba(255, 255, 255, 0.16);
}

td.vote_add {
    width: 30px;
}

td.vote_add a {
    text-align: center;
    display: block;
    width: 36px;
    height: 38px;
    margin: 0px 3px 0px 3px;
    padding: 9px;
    border: 1px solid;
    border-color: #777 #444 #444 #777;
    background-color: #555;
    box-shadow: inset 0 16px 13px rgba(255, 255, 255, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: #222;
}


