div.forum { margin: 0 5px }
/*                              Внешний вид оглавления форума */

.forum_category thead{
    background: url(../../img/forum/forumcat.png) repeat-x top;
}
.forum_category h4{
    font-size: 11px;
}
.forum_category td {
    border: 1px solid #E5F0FB;
    height: 50px;
    padding: 10px;
}
.forum_category th, .forum_category th a {
    color: white !important;
    font-size: 10px;
    text-decoration: none;
}
.forum_category th{
    border: 1px solid #194370;
    height: 30px;
    padding: 0;
}
.forum_category th a{
    border: none;
}
.forum_category .empty td {
    height: 20px;
    border-bottom: 1px solid #194370;
    border-left: none;
    border-right: none;
    border-top: 1px solid #E5F0FB;
}
.post_link a.topic_link{
    font-weight:bold;
    text-decoration: none;
    display: block;
    float: left;
}

.forum_link h4 {
    padding: 0;
    margin: 0;
}

/*                      Ширины столбцов и таблицы   **/
.forum_category { width: 700px; margin-bottom:10px }
th.first_td     { width: 35px }
th.forum_link   { width: 330px }
th.post_link    { width: 390px }
th.topic_count  { width: 50px }
th.post_count   { width: 70px }
th.updated      { width: 165px }
th.forum_link, th.post_link, th.updated{
    padding: 0 10px;
}

/*                      Выравнивания столбцов форума*/
td.forum_link, td.post_link{
    vertical-align: top;
}
.forum_link, .post_link{
    text-align: left;
}
.topic_count{
    text-align: center;
}
.post_count{
    text-align: center;
}
.updated{
    text-align: left;
}

/*                      Иконки статусов */
td.first_td{
    background: transparent url(../../img/forum/normal.gif) center no-repeat;
}
.stickly td.first_td{
    background: transparent url(../../img/forum/stick.gif) center no-repeat;    
}
.closed td.first_td{
    background: transparent url(../../img/forum/lock.gif) center no-repeat;    
}
.unread td.first_td{
    background: transparent url(../../img/forum/new.gif) center no-repeat;    
}
.unread_stickly td.first_td{
    background: transparent url(../../img/forum/new_stick.gif) center no-repeat;    
}
.unread_closed td.first_td{
    background: transparent url(../../img/forum/new_lock.gif) center no-repeat;    
}

/*                      Сообщения */
.forum_post{
    width: 685px;
    margin: 5px auto;
    border: 1px solid #194370;
    background: #F3F6F9;
}
.forum_post .post_headers{
    vertical-align: top;
    width: 145px;
    padding: 7px;
    border-right: 1px solid #194370;
}
.forum_post .post_content{
    vertical-align: top;
    padding: 7px;
    width: 535px;
    border-left: 1px solid #194370;
}
/*.post_content{
    padding: 7px 0 !important;
}*/
a.avatar, a.avatar:hover{
    display: block;
    padding: 1px;
    text-decoration: none;
    margin-top: 3px;
}
a.avatar img{
    border: 1px solid #666666;
}
a.author{
    padding-right: 20px;
    font-size: 13px;
    font-weight: bold;
    color: black;
    text-decoration: none;
}
.sex1{
    background: transparent url(../../img/forum/male.gif) top right no-repeat;
}
.sex2{
    background: transparent url(../../img/forum/female.gif) top right no-repeat;    
}
.post_content_headers{
    font-size: 0.8em;
    margin-bottom: 5px;
}
.signature{
    margin: 10px 0 0 10px;
    padding-top: 5px;
    border-top: 1px solid #AAA;
}

/*                                      Пагинация */
.post_link .pagination{
    display: block;
    float: right;
    height:16px !important;
}
.post_link .author{
    clear: both;
}
.post_link .pagination li a, .post_link .pagination li span{
    margin: 0px 1px;
}
.post_link .pagination .first_in_pagination{
    height: 16px;
}

/*                              Кнопки */
.controls{
    float: right;
    text-align: right;
    /*text-transform: uppercase;
    font-weight: bold;*/
    padding: 2px 2px 5px 20px;
}

.updated-message{
    text-align: right;
    font-weight: bold;
    font-size: 0.8em;
    margin: 5px 0 0 10px;
    color: #aaa;
}
.real_post_content a{
    white-space: nowrap;
}
.real_post_content, .signature{
    overflow: visible;
}
.real_post_content img, .signature img{
    max-width: 500px !important;
}