/* CS1 Background and text colours
-------------------------------------------------------------*/
/* Фон форума */
html {
    background: #918b85 url(https://forumstatic.ru/files/001b/47/67/23001.jpg) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#pun-title table {
    background: url(https://forumstatic.ru/files/001b/47/67/23581.png) no-repeat top center;
    height: 480px;
    width: 1030px;
    margin-left: -30px;
}

/* Тело форума */
#pun {
    background-color: #f1f1f1;
 }

/* Фон и цвет текста на форуме */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {
    background-color: transparent;
    color: #000000;
    font-weight: normal;
    font-style: normal;
}

#pun-admain .adformal, #pun-admain .adcontainer {
    border: none;
    border-color: transparent;
}

/* Заголовок */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
    background-color: transparent;
    text-align: center;
}

/* Заголовок подфорума */
#pun-index .tcl h3 a {
    font-size: 15px;
 }

/* Категория */
#pun-main .category h2 {
    width: 483px;
    margin-left: 517px;
    height: auto;
    text-align: left;
    border-bottom: solid 2px #f8962e;
}

/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #e9e9e9;
    border: solid 1px #cdcbcb;
    border-radius: 6px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-color: #dbdbd7;
}

#pun-reputation .tcl {
    border: none;
    width: 24%;
}

#pun-reputation h1 {
    margin-left: 143px !important;
}

#pun-redirect h1 {
    display: none;
}

#pun-graffiti-rusff h1 {
    display: none;
}

#tags .container {
    padding: 5px;
    background-color: #e1bd98;
    border: 1px solid #ddaa60;
    border-radius: 3px;
}

/* Кнопки */
.button {
    margin: 0 5px 0 11px;
    padding: 3px 7px;
    color: #e7e9eb;
    background-color: #f8962e;
    box-shadow: 0 0 3px #30383e;
    border-color: transparent;
    border-radius: 13px;
    font-family: 'century gothic' !important;
}

/* Ссылки */

.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited, #pun-navlinks a, #pun-ulinks a {
    color: #f8962e;
    text-decoration: none;
}

.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active,  #pun-ulinks a:focus, #pun-ulinks a:active {
    color: #b9aa9e;
    transition-duration: 1s;
}

#pun-navlinks a {
    font-size: 1.6em;
    text-decoration: none;
    color: #f1f1f1;
}

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
    color: #b9aa9e;
    font-style: normal;
    text-decoration: none;
}

#pun-pagelinks a:active, #pun-pagelinks a:focus {
    background-color: #333;
    color: #fff;
}

#pun-ulinks a {
    font-size: 10px;
}

#pun-ulinks a:hover {
    text-decoration: none;
    color: #363636;
 }

/* Скрыть Заявки на роль */
#pun-ulinks #Rz {display:none}

#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}

/* Скрыть "редактировано" и "награды" */
li#navawards, .lastedit {display: none;}

#main-reply {
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

::selection {
    background: #db954b;
    color: #000000!important;
}

/* Иконки */

.punbb tbody.hasicon td.tcl {
    margin: 0;
}

 Div.icon {
    position: absolute;
    margin-top: -4px;
    left: -30px;
    height: 64px;
    width: 73px;
    background: url(https://forumstatic.ru/files/001b/47/67/16748.png) no-repeat;
}

TR.inew Div.icon {
    position: absolute;
    margin-top: -4px;
    left: -30px;
    height: 64px;
    width: 73px;
    background: url(https://forumstatic.ru/files/001b/47/67/69952.png) no-repeat;
}

#pun-viewforum table Div.icon, #pun-searchtopics table Div.icon {
    margin-top: 3px;
    left: 36px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a5a5a5;
    border: solid 1px #c1bebe;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    margin-top: 3px;
    left: 36px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f8962e;
    border: solid 1px #c1bebe;
}

#pun-messages table Div.icon {
    margin-top: -3px;
    left: 310px;
}

#pun-main div.catleft, #pun-main div.catright {
display: none;
}

#pun-main .post-author ul {
    text-align: center;
    margin: 0;
}

ul.post-ul-Sp, .post-img-Sp {
text-align: center;
}

#pun th, #pun-main h2 {
text-align: center;
}

#pun td .modlist {
display: none;
}

.lastedit {
display: none;
}

#pun-announcement h2 {
display: none;
}

#pun-navlinks #navawards {
display: none;
}

.post-content td {
border: transparent !important;
}

#pun-title TD.title-logo-tdr {
  display: none;
}

.topic a.sharelink {
  display: none;
}

/* Прокрутка */
::-webkit-scrollbar {width: 5px; height: 5px;}  
::-webkit-scrollbar-track {background-color: #eeedf0;}
::-webkit-scrollbar-thumb {background-color: #5c5d5d;}
::-webkit-scrollbar-thumb:active {background: #5c5d5d;}

#pun-viewforum .punbb div.icon {
  margin-top: 3px !important;
}

/*скрыть строку «форум – тем – соо – последнее»*/
.category .container thead, #pun-viewforum .container thead, .forum .container thead, #pun-userlist .container thead {
display: none;
}

#pun-index .category table {
   border-spacing: 0 40px;
}

#pun-index .category table tr {
    position: relative;
    width: 100%;
}

#pun-viewforum td.tcr a {
  text-transform: none;
}

#pun-viewforum .tcr {
  background-color: transparent;
  overflow: hidden;
  text-align: left;
  line-height: 16px;
  width: 30%;
}

#pun-viewforum .tcl {
  padding-left: 50px;
  width: 39%;
}

.punbb .user-avatar .avatar-image {
    height: 30px !important;
    width: 30px !important;
    opacity: 0.85;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: solid 2px #f3922a;
}

/* Отключение улучшенного аккаунта */
#pun-status .item4 {
display: none;
}

li.pa-ua {
    margin-top: 0.7em;
    display: none !important;
    justify-content: center;
}

/* Профиль */
    li.pa-author {
    width: 214px;
    margin-left: -9px;
    font-weight: 600;
    font-family: 'century gothic';
    background-color: #f8962e;
    border-bottom: solid 1px #cdcbcb;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
    
li.pa-author a {
    color: #28282a!important;
}

li.pa-title {
    margin: 6px;
    width: 181px;
}

li.pa-avatar img {
    text-align: center;
    max-height: 180px;
    max-width: 180px;
}

.pa-posts, .pa-respect, .pa-fld3, .pa-fld4 {
    width: 80px;
    padding: 2px 0!important;
    display: inline-block;
    text-align: center;
    font-size: 0.8em;
}

.pa-awards {
    margin-top: 12px !important;
    margin-bottom: -10px !important;
    height: 20px;
}

li.pa-online {
    line-height: 0.8em;
    margin-left: -8px;
    padding: 7px 0!important;
    width: 212px;
    color: #686767;
    border-top: solid 1px #cdcbcb;
    font-size: 10px;
}

.pa-fld1 .fld-name, .pa-fld2 .fld-name {display: none;}

/*.pa-fld1 {
    margin: 4px 0 4px 6px !important;
    padding: 5px !important;
    width: 169px;
    font-family: 'PT Sans';
    font-style: italic;
    font-size: 1.3em;
    border: solid 1px #d0c3d7;
    box-shadow: 1px 1px 1px #d7cde5;
}

.pa-fld2 {
    margin-left: 6px !important;
    padding: 10px !important;
    width: 161px;
    line-height: 153%;
    font-family: 'PT Sans';
    font-style: italic;
    text-align: justify;
}*/

.lz1 {
    margin: 14px 0 0 -9px !important;
    padding: 1px 15px;
    font-size: 14px;
    background-color: #f8962e;
    border-bottom: solid 1px #cdcbcb;
    border-top: solid 1px #cdcbcb;
    width: 184px;
}

.lz1 a {
    color: #28282a !important;
}

.lz2 {
    margin-left: -8px !important;
    padding: 10px 17px !important;
    width: 178px;
    line-height: 153%;
    text-align: justify;
    background-color: #dddada;
    border-bottom: solid 1px #cdcbcb;
}

.forum-text {
    padding: 15px 32px 10px 30px;
}

/* Вверх и вниз */

.go-up, .go-down {
    margin-left: 1060px;
    cursor: pointer;
    height: 50px;
    position: fixed;
    z-index: 9999;
    width: 10px;
    box-shadow: 0 0 1px #f1f1f1;
}

.go-up span, .go-down span {
    display: block;
    text-align: center;
}

.go-up {
    top: 378px;
    width: 40px;
    height: 10px;
    background-color: #f5932b;
}

.go-down {
    top: 400px;
    width: 40px;
    height: 10px;
    background-color: #dbdbd7;
}

/*Таблица в шапке*/

.table-left {
    position: absolute;
    top: 92px;
    left: 100px;
    text-align: justify;
}

.table-left span {
    padding: 0 10px;
    margin-right: 10px;
    background-color: #dbdbd796;
}

.table-left a {
    color: #f1f1f1!important;
}

.table-admin {
    margin: 8px 0;
    font-weight: 600;
    padding: 0 10px;
    color: #f1f1f1;
}

.table-right {
    position: absolute;
    top: 70px;
    right: 50px;
    width: 300px;
    text-align: justify;
}