@font-face {
  font-family: 'Bebas';
  src: url('http://failures.hutt.ru/files/0017/f7/ee/81803.woff') format('woff');
  font-weight: normal;
}
@font-face {
  font-family: 'Bebas';
  src: url('http://failures.hutt.ru/files/0017/f7/ee/87392.woff') format('woff');
  font-weight: bold;
}

body, #pun-redirect {
    background: url('http://co.forum4.ru/files/0017/f7/ee/69183.png') !important;
}

a {
    color: #161616;
    text-decoration: none;
    cursor: pointer;
}

#pun {
	background: url('http://co.forum4.ru/files/0017/f7/ee/62464.png') top center repeat-x,
            url('http://co.forum4.ru/files/0017/f7/ee/60643.jpg') bottom center repeat-x;
	padding-top: 274px;
    padding-bottom: 64px;
}

.punbb {
    width: 900px;
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
    padding: 4px 0;
    border: solid 6px #606060;
    position: relative;
    box-shadow: 0 5px 10px 1px rgba(0,0,0,.6);
    font-family: Verdana, Arial, sans-serif;
    color: #161616;
    font-size: 10px;
    min-height: calc(100vh - 338px);
}

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
    border: solid 6px #606060;
    box-shadow: 0 5px 10px 1px rgba(0,0,0,.6) !important;
}

#post .fs-box .container {
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
}

#pun-navlinks {
    position: absolute;
    top: -29px;
    left: 0;
    font-family: 'Bebas', sans-serif;
    height: 21px;
    font-weight: bold;
}

#pun-navlinks a {
    color: #c7c7c7;
    text-decoration: none;
    transition: all .3s ease;
    line-height: 21px;
}
#pun-navlinks a:hover {
    color: #B53D25;
}

#pun-navlinks li.active a {
    color: #B53D25;
}

#pun-navlinks a span {
    font-size: 0;
}

#pun-navlinks a span:before {
    font-size: 27px;
    text-transform: uppercase;
    text-shadow: 1px 2px 3px rgba(0,0,0,.35);
}

li#navindex a span:before {
    content: 'Epic'
}

li#navuserlist a span:before {
    content: 'People'
}

li#navawards a span:before {
    content: 'Awards'
}

li#navsearch a span:before {
    content: 'Search'
}

li#navprofile a span:before {
    content: 'Profile'
}

li#navpm a span:before {
    content: 'Mail'
}

li#navadmin a span:before {
    content: 'Admin'
}

li#navlogout a span:before {
    content: 'Sign out'
}

li#navregister a span:before {
    content: 'Sign up'
}

li#navlogin a span:before {
    content: 'Sign in'
}

#pun-ulinks {
    margin-bottom: 16px;
}

#pun-ulinks a {
    text-transform: uppercase;
    font-size: 8px;
    font-family: Verdana, sans-serif;
    text-decoration: none;
    color: #161616;
    font-weight: 700;
}
#pun-ulinks a:hover {
    color: #B53D25;
}

.header-blocks {
    position: absolute;
    top: -280px;
    left: -6px;
    height: 250px;
    width: 900px;
}

.header-blocks .logo {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 106px;
    background-image: url('http://co.forum4.ru/files/0017/f7/ee/82222.gif');
    background-repeat: no-repeat;
    background-position: top center;
    width: 900px;
    z-index: 1;
}

.header-blocks .block {
    background-color: rgba(255,255,255,.04);
    background-image: linear-gradient(to bottom, rgba(162,162,162,0.01) 0%, rgba(54,52,52,0.01) 100%),
    url('http://co.forum4.ru/files/0017/f7/ee/41647.png');
    z-index: 2;
    position: absolute;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,.35);
    z-index: 2;
    transition: all 1s ease;
    color: #ededed;
    font-size: 8px;
    opacity: .7;
}

.header-blocks .block:hover {
/*    background-image: url('http://co.forum4.ru/files/0017/f7/ee/41647.png'),
        linear-gradient(to bottom, rgba(162,162,162,1) 0%, rgba(54,52,52,1) 100%);*/
    background-image: url('http://co.forum4.ru/files/0017/f7/ee/69183.png');
    box-shadow: 2px 3px 0 0 #B53D25;
    opacity: 1;
}

.header-blocks .block a:after {
    content: attr(data-comment);
    position: absolute;
    z-index: 2;
    color: #fff;
    display:none;
    background: rgba(0,0,0,.5);
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    transition: all .5s ease;
    bottom: -16px;
    left: 50%;
    margin-left: -50%;
    text-transform: uppercase;
}

.header-blocks .block a {
    position: relative;
}

.header-blocks .block a:hover:after {
    display: block;
}

.header-blocks .block.first {
    top: 60px;
    left: 0;
    width: 187px;
    height: 186px;
}
.header-blocks .block.second {
    top: 60px;
    left: 196px;
    width: 310px;
    height: 186px;
}
.header-blocks .block.third {
    top: 60px;
    left: 514px;
    width: 386px;
    height: 121px;
}
.header-blocks .block .scroll {
    /*overflow-y: auto;
    overflow-x: hidden;*/
    overflow: visible;
    max-height: 100%;
    opacity: 0;
    transition: all .6s ease;
    padding: 8px;
}
.header-blocks .block:before {
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    left: -2px;
    width: 37px;
    height: 37px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/69418.png') 50% no-repeat;
    z-index: 1;
    transform: rotate(180deg);
}
.header-blocks .block:after {
    content: '';
    display: block;
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 37px;
    height: 37px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/69418.png') 50% no-repeat;
    z-index: 1;
}
.header-blocks .block:hover .scroll {
    opacity: 1;
}

#pun-status {
    position: absolute;
    right: -6px;
    top: -74px;
    background: #222222 url('http://co.forum4.ru/files/0017/f7/ee/97033.png');
    width: 286px;
    height: 45px;
    color: #C1C5C4;
    font-size: 9px;
    text-transform: uppercase;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-style: solid;
    border-width: 0 1px;
    border-color: #3E3C3D;
}

#pun-status:before,
#pun-status:after {
    content: '';
    display: block;
    height: 1px;
    flex: 0 0 100%;
    background: -moz-linear-gradient(left, #3E3C3D 0%, #a8a8a8 48%, #3E3C3D 100%);
    background: -webkit-linear-gradient(left, #3E3C3D 0%,#a8a8a8 48%,#3E3C3D 100%);
    background: linear-gradient(to right, #3E3C3D 0%,#a8a8a8 48%,#3E3C3D 100%);
    position: absolute;
}
#pun-status:before {
    top: 0;
    right: 0;
    left: 0;
}
#pun-status:after {
    bottom: 0;
    right: 0;
    left: 0;
}

#pun-status .stats-avatar {
    float: left;
    width: 30px;
    height: 30px;
    border: solid 4px #606060;
    margin-right: 10px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/57220.png');
}

#pun-status .container {
    margin: 0;
    overflow: hidden;
}

#pun-status span {
    display: block;
}

#pun-status .item1 strong,
#pun-status a {
    color: #ff3f1a;
}

#pun-status .item3 {
    display: none !important;
}

#pun-announcement {
    font-size: 12px;
    position: relative;
    padding: 0 20px;
}

.category {
    margin-top: 20px;
}

.category h2 {
    background: url(http://co.forum4.ru/files/0017/f7/ee/69183.png);
    margin: 0 -6px 46px;
    text-align: right;
    color: transparent;
    height: 21px;
    padding: 0 30px;
    position: relative;
}

.category + .category h2 {
    margin-top: 26px;
}

.category h2:before {
    content: '';
    display: block;
    position: absolute;
    right: -17px;
    top: -8px;
}

.category .container {
    padding: 0 32px;
}

.category tr:before,
.category tr:after {
    content: '';
    display: table;
    clear: both;
}

.category tr + tr {
    margin-top: 16px;
}

.category td.tcl {
    padding-bottom: 12px;
}

.category td.tcl h3 {
    margin: 0;
    width: 140px;
    float: left;
    text-align: right;
}

.category td.tcl h3 a {
    text-decoration: none;
    color: #aa260c;
    text-transform: uppercase;
    font-family: 'Bebas', sans-serif;
    font-size: 21px;
}

.category td.tcl .description {
    width: 140px;
    text-align: right;
    font-size: 10px;
    /*text-transform: uppercase;*/
    color: #161616;
}

.category td.tcl .links {
    float: right;
    overflow: hidden;
    font-size: 8px;
    font-family: Arial, sans-serif;
    color: #f9fcff;
    line-height: 12px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/55931.png') 100% 0 repeat-y,
        #818181 url('http://co.forum4.ru/files/0017/f7/ee/77309.jpg');
    box-shadow: 1px 2px 3px 1px rgba(0,0,0,.35);
    padding: 6px 10px;
    text-transform: uppercase;
    width: 240px;
    margin-right: 30px;
}

.category td.tcl .links ul li a {
    text-decoration: none;
    font-weight: 700;
}

.category td.tcl .links ul li a:before {
    content: '• ';
}

.category tr.inew td.tcl .links {
    background: url('http://co.forum4.ru/files/0017/a9/ab/78221.png') 100% 0 repeat-y,
        #818181 url('http://co.forum4.ru/files/0017/f7/ee/77309.jpg');
}

.category td.tcl .links a {
    color: inherit;
}

.category td.tcr {
    text-transform: uppercase;
    font-size: 10px;
}

.category td.tcr a {
    text-decoration: none;
    font-weight: 700;
}

#pun-category1 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/70252.png') 100% 0 no-repeat;
    width: 370px;
    height: 51px;
}

#pun-category2 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/78181.png') 100% 0 no-repeat;
    width: 386px;
    height: 51px;
}

#pun-category3 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/40237.png') 100% 0 no-repeat;
    width: 534px;
    height: 51px;
}

#pun-category4 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/33076.png') 100% 0 no-repeat;
    width: 477px;
    height: 51px;
}

#pun-category5 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/30418.png') 100% 0 no-repeat;
    width: 386px;
    height: 51px;
}

#pun-category6 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/19371.png') 100% 0 no-repeat;
    width: 386px;
    height: 51px;
}

#pun-category7 h2:before {
    background: url('http://co.forum4.ru/files/0017/f7/ee/51321.png') 100% 0 no-repeat;
    width: 539px;
    height: 51px;
}

.main h1 {
    letter-spacing: 3px;
    margin: 0 -6px 12px;
    background: url(http://co.forum4.ru/files/0017/f7/ee/69183.png);
    padding: 0 30px;
    font-family: 'Bebas', sans-serif;
    text-align: center;
    color: #faf9f9;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 21px;
    padding-top: 5px;
}

.forum {
/*    text-transform: uppercase;*/
    font-size: 10px;
}

.forum table {
    width: 100%;
}

.forum a {
    text-decoration: none;
    font-weight: 700;
}

.forum h2 {
    display: none;
}

.forum thead {
    display: none;
}

.forum tr {
    display: flex;
    width: 100%;
}

.forum tr + tr {
    margin-top: 12px;
}

.forum tr .intd {
    float: left;
    margin-left: -1px;
}

.forum .tcl {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
}

.forum .tcl span.pagestext,
.forum .tcl span.newtext {
    white-space: nowrap;
}

.forum .tcl > * + * {
    margin-left: 7px;
}

.forum .tc2,
.forum .tc3 {
    flex: 0 0 60px;
    width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#pun-searchtopics .tc2 {
    flex: 0 0 120px;
    width: 120px;
    justify-content: flex-end;
}

.forum .tcr {
    flex: 0 0 160px;
    width: 160px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    padding-right: 20px;
}

#messages tr .icon,
.forum tr .icon {
    width: 55px;
    height: 55px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/63266.png') 50% no-repeat;
    margin: 0 12px;
    flex: 0 0 55px;
}

#messages tr .intd {
    display: flex;
    align-items: center;
}

#messages tr .icon {
    float: left;
}

.forum tr.iclosed .icon {
    background: url('http://co.forum4.ru/files/0017/f7/ee/25231.png') 50% no-repeat;
}

.forum tr.isticky .icon {
    background: url('http://co.forum4.ru/files/0017/f7/ee/43439.png') 50% no-repeat;
}

#messages tr.inew .icon,
.forum tr.inew .icon {
    background: url('http://co.forum4.ru/files/0017/f7/ee/48919.png') 50% no-repeat;
}

.crumbs {
    margin: 0;
    padding: 0 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
}

#pun-crumbs1 {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
}

.topic {
    padding: 0 20px;
}

.post > h3 {
    position: absolute;
    left: 220px;
    right: 0;
    top: 0;
    padding: 0 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.post > h3 .sharelink {
    display: none;
}

.post-author {
    text-align: center;
    background: url('http://co.forum4.ru/files/0017/f7/ee/77309.jpg');
    margin-right: 20px;
    margin-bottom: 12px;
}

.pa-author {
    font-family: 'Bebas', sans-serif;
    color: #ACADB1;
    font-size: 21px;
    background: #222222 url('http://co.forum4.ru/files/0017/f7/ee/97033.png');
    padding: 7px 6px 0;
    word-wrap: break-word;
    min-height: 32px;
}

.pa-author a {
    color: #ACADB1;
}

.pa-title {
    color: #B53922;
    background: #222222 url('http://co.forum4.ru/files/0017/f7/ee/97033.png');
    padding: 2px 6px 6px;
    word-wrap: break-word;
}

.pa-title a {
    display: block;
}

.pa-avatar {
    padding: 10px 0;
}

.pa-avatar img {
    box-shadow: 0 2px 1px 0 rgba(0,0,0,.35);
    max-width: 180px;
    max-height: 180px;
}

.pa-fld1 {
    padding: 0 8px;
    font-size: 10px;
}

.pa-fld3 {
    padding: 8px 8px 23px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/58627.png') 50% 100% no-repeat;
}

.pa-posts {
    display: inline-block;
    width: 98px;
    vertical-align: top;
    text-transform: uppercase;
    padding: 2px 2px 8px;
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 12px;
}

.pa-respect {
    display: inline-block;
    width: 98px;
    vertical-align: top;
    text-transform: uppercase;
    padding: 2px 2px 8px;
    font-size: 9px;
    line-height: 10px;
}

.pa-respect img {
    vertical-align: top;
}

.pa-respect a {
    font-size: 0;
}
.pa-respect a[href*="/respect.php"]:before {
    font-size: 9px;
    letter-spacing: 1px;
    content: 'Уважение';
}

.pa-respect a:nth-of-type(2) {
    margin-right: 4px;
}
.pa-respect a:nth-of-type(3) {
    margin-left: 4px;
}

.pa-respect a:nth-child(2):before {
    content: '';
    display: block;
}

.pa-awards,
.pa-gifts,
.pa-last-visit,
.pa-online {
    color: #ACADB1;
    background: #222222 url('http://co.forum4.ru/files/0017/f7/ee/97033.png');
    padding: 6px;
}

.pa-gifts a,
.pa-awards a {
    color: #ACADB1;
}

.pa-last-visit,
.pa-online,
.pa-online strong {
    font-weight: normal;
}

.post-body {
    background: rgba(0,0,0,.05);
    font-size: 11px;
    line-height: 1.3;
    padding-top: 20px;
}

.post-content {
    padding: 12px;
}

.post .post-content td {
    border: 0 !important;
}

blockquote,
.post-content p {
    margin: 0;
}

.post-content p {
    margin-bottom: .8em;
}

.post-content a {
    color: #9b1f07;
}

.code-box,
.quote-box {
    margin-top: 1em;
    /*background: rgba(0,0,0,.27);*/
    background: rgba(0,0,0,.1) url(http://co.forum4.ru/files/0017/a9/ab/55931.png) 101% 0 repeat-y;
    padding: 10px 16px;
    color: #161616;
    overflow: auto;
}


.code-box:first-child,
.quote-box:first-child {
    margin-top: 0;
}

.quote-box cite {
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 6px;
}

.code-box + p,
.quote-box + p {
    margin-top: 1em;
}

.post-content:before,
.post-content:after {
    content: '';
    display: table;
    clear: both;
}

.post-links {
    margin: 10px 0 16px;
}

.post-links a {
    display: inline-block;
    text-transform: uppercase;
    font-size: 9px;
    line-height: 28px;
    padding: 0 17px;
    font-weight: 700;
    background: url('http://co.forum4.ru/files/0017/f7/ee/77309.jpg');
    box-shadow: 2px 3px 0 0 #B53D25;
}

input[type=text],
input[type=password],
textarea,
select {
    background: rgba(0,0,0,.1);
    padding: 4px;
    font-size: 11px;
    border: 0;
}

select {
    cursor: pointer;
}

input[type=submit],
input[type=button] {
    font-family: 'Bebas', sans-serif;
    text-transform: uppercase;
    background: rgba(0,0,0,.1);
    padding: 8px 20px 6px;
    line-height: 1em;
    font-weight: 700;
    font-size: 14px;
    border: 0;
}

input[type=submit]:hover,
input[type=button]:hover {
    cursor: pointer;
    background: rgba(0,0,0,.2);
}
input[type=checkbox] + label,
input[type=radio] + label {
    font-size: 10px;
    line-height: 20px;
    cursor: pointer;
}

.formsubmit {
    margin: 0;
    text-align: center;
}

.modmenu {
    padding: 4px 20px;
}

.linkst {
    margin: 12px 0 0;
}

.linkst,
.linksb {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
    margin-bottom: 10px;
}

.linkst .pagelink,
.linksb .pagelink {
    order: 1;
    text-align: left;
    width: 50%;
}

.linkst .postlink,
.linksb .postlink {
    order: 2;
    width: 50%;
    text-align: right;
}

.linkst noindex .postlink,
.linksb noindex .postlink {
    width: 100% !important;
}

.linkst noindex,
.linksb noindex {
    order: 2;
    text-align: right;
    flex: 0 0 50%;
}

.linksb .subscribelink {
    order: 3;
    width: 100%;
    text-align: right;
}

#topic-users-in a:after {content: ',';}

#topic-users-in a:last-child:after {
    display: none;
}

#pun-stats {
    position: relative;
}

#pun-stats .statscon {
    padding: 0 20px;
}

#pun-stats:before {
    content: '';
    display: block;
    background: url(http://co.forum4.ru/files/0017/f7/ee/69183.png);
    margin: 16px -6px 46px;
    text-align: left;
    color: #EAEAEA;
    height: 21px;
    padding: 0 30px;
}

#pun-stats:after {
    content: '';
    display: block;
    position: absolute;
    left: -24px;
    top: -8px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/78853.png') 0 0 no-repeat;
    width: 364px;
    height: 51px;
}

#pun-stats ul {
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    margin: 10px 0;
    text-transform: uppercase;
    color: #3C3C3C;
}

#pun-stats ul a {
    color: inherit;
    text-decoration: none;
}

#pun-stats ul a:hover {
    color: #aa260c;
}

#pun-stats ul .item1 {
    flex: 0 0 50%;
    order: 1
}

#pun-stats ul .item2 {
    flex: 0 0 50%;
    order: 3;
}

#pun-stats ul .item3 {
    flex: 0 0 50%;
    order: 2;
    text-align: right;
}

#pun-stats ul .item4 {
    flex: 0 0 50%;
    order: 4;
    text-align: right;
}

#pun-stats ul .item5 {
    flex: 0 0 100%;
    order: 5;
    margin-top: 12px;
    text-transform: none;
    background: rgba(0,0,0,.1);
    padding: 10px 6px 5px;
}

#pun-stats ul .item5 + .item5 {
    /*box-shadow: 0 2px 1px 0 rgba(0,0,0,.35);*/
    margin-top: 0;
    padding: 5px 6px 11px;
}

#pun-stats ul .item5 > div > a {
    font-weight: 700;
}

#pun-crumbs2 {
    margin: 12px 0;
}

table {
    width: 100%;
}

#profile a {
    color: #9b1f07;
}

#profile form > fieldset {
    overflow: hidden;
    margin-left: 160px;
}

#profile fieldset:first-of-type {
    padding-top: 10px;
}

#profilenav {
    width: 170px;
    float: left;
    background: url(http://co.forum4.ru/files/0017/f7/ee/69183.png);
    color: #faf9f9;
    text-transform: uppercase;
    padding: 12px;
    margin-left: -6px;
}

#profilenav ul + h2 {
    margin-top: 12px;
}

#profilenav h2 {
    font-family: 'Bebas', sans-serif;
    text-align: center;
    margin: 0 0 12px;
}

#profilenav a {
    color: #faf9f9;
    display: block;
    padding: 2px 0;
    cursor: pointer;
}

#profilenav li.isactive a {
    color: #9b1f07;
    font-weight: 700;
}

#profilenav a:hover {
    color: #afafaf;
}

.footer {
    position: absolute;
    bottom: -66px;
    left: -6px;
    right: -6px;
    height: 60px;
    background: url('http://co.forum4.ru/files/0017/f7/ee/60643.jpg') top center repeat-x;
    padding: 2px 18px 0;
}

.footer ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.footer a {
    transition: all .3s ease;
    filter: grayscale(1);
}
.footer a:hover {
    filter: grayscale(0);
}
.footer img {
    transition: all .3s ease;
    filter: brightness(.47);
}
.footer img:hover {
    filter: brightness(1);
}

.footer .banners {
    overflow-y: auto;
    max-height: 100%;
    text-align: center;
    font-size: 0;
}

.footer .banners > * {
    margin: 1px 3px;
    display: inline-block;
}

#notify-settings:before,
#notify-settings:after,
#profile:before,
#profile:after {
    content: '';
    display: table;
    clear: both;
}

#pun-online th,
.usertable th,
#messages th {
    font-weight: normal;
    text-align: left;
    padding: 6px 8px;
}
#pun-online th + th,
#pun-online td + td,
.usertable th + th,
.usertable td + td,
#messages th + th,
#messages td + td {
    text-align: right;
}

#pun-online td,
.usertable td,
#messages td {
    padding: 6px 8px;
}

.usertable a,
#messages a {
    text-transform: uppercase;
    font-weight: 700;
    color: #161616;
}

#pun-online table {
    table-layout: fixed;
}

#pun-online .tc3 {
    width: 90px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
 
::-webkit-scrollbar-track {
    background: url('http://co.forum4.ru/files/0017/f7/ee/67261.png');
}
 
::-webkit-scrollbar-thumb {
    background: url('http://co.forum4.ru/files/0017/a9/ab/78221.png');
}

/* блоки в шапке */

.header-blocks .block.first .scroll,
.header-blocks .block.second .scroll {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.header-blocks ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.header-blocks ul.walk-of-fame {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: space-between;
}

.header-blocks ul.walk-of-fame li {
    flex: 0 0 32px;
    /*overflow: hidden;*/
    display: inline-block;
    height: 32px;
    box-sizing: content-box;
    border: solid 1px #6b6b6b;
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
}

.header-blocks ul.walk-of-fame li img {
/*    width: 100%;
    height: 100%; */
    filter: grayscale(1);
    transition: all .3s ease;
}

.header-blocks ul.walk-of-fame li img:hover {
    filter: grayscale(0);
}

.header-blocks .best-post {
    display: block;
    height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ededed;
    font-size: 9px;
    text-shadow: 1px 1px 0 #000;
}

.header-blocks .best-post a {
    color: #ededed;
    font-weight: 700;
}

.header-blocks .best-post .image {
    border: solid 1px #6b6b6b;
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
    width: 57px;
    height: 57px;
    box-sizing: content-box;
    float: left;
    margin: 0 6px 6px 0;
    /*overflow: hidden;*/
}

.header-blocks .best-post .image img {
/*    width: 100%;
    height: 100%; */
    transition: all .3s ease;
    filter: grayscale(1);
}

.header-blocks .best-post .image img:hover {
    filter: grayscale(0);
}

.header-blocks .best-episode {
    width: 171px;
    height: 43px;
    box-sizing: content-box;
    border: solid 1px #6b6b6b;
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
    transition: all .3s ease;
    /*overflow: hidden;*/
}

.header-blocks .best-episode img {
/*    width: 100%;
    height: 100%; */
    transition: all .3s ease;
    filter: grayscale(1);
}

.header-blocks .best-episode img:hover {
    filter: grayscale(0);
}


.header-blocks .admins {
    font-family: 'Bebas', sans-serif;
    color: #fff;
    text-align: center;
    font-size: 18px;
    text-shadow: 1px 1px 0 #B53D25;
}

.header-blocks .admins a {
    color: #fff;
}

.header-blocks .second .text {
    max-height: 106px;
}

.header-blocks .third .text {
    max-height: 53px;
}

.header-blocks .text {
    font-size: 9px;
    text-shadow: 1px 1px 0 #000;
    overflow-y: auto;
}

.header-blocks .text a {
    color: #fff;
    font-weight: 700;
}

.header-blocks .links {
    font-family: 'Bebas', sans-serif;
    color: #fff;
    text-align: center;
    font-size: 17px;
}

.header-blocks .links a {
    color: inherit;
}

.header-blocks .nominations {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: space-between;
    margin-bottom: 6px;
}

.header-blocks .nominations li {
    flex: 0 0 119px;
    /*overflow: hidden;*/
    display: inline-block;
    box-sizing: content-box;
    height: 43px;
    border: solid 1px #6b6b6b;
    background: #afafaf url('http://co.forum4.ru/files/0017/f7/ee/35230.png');
}

.header-blocks .nominations li img {
/*    width: 100%;
    height: 100%; */
    transition: all .3s ease;
    filter: grayscale(1);
}
.header-blocks .nominations li img:hover {
    filter: grayscale(0);
}

#pun-announcement .notice {
    position: absolute;
    right: 20px;
    bottom: -40px;
    display: flex;
    height: 40px;
    flex-wrap: nowrap;
    overflow: hidden;
    justify-content: flex-end;
}

#pun-announcement .notice li {
    flex: 0 0 88px;
    width: 88px;
    display: inline-block;
    vertical-align: top;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    height: 32px;
}

#pun-announcement .notice li + li {
    margin-right: 8px;
}

#pun-announcement .notice li.note {
    background: #222222 url(http://co.forum4.ru/files/0017/f7/ee/97033.png);
    text-align: center;
    color: #ff3f1a;
    font-size: 10px;
    border-bottom: solid 4px #aa260c;
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,.35);
}

#pun-announcement .notice li.note a {
    color: #ff3f1a;
    cursor: pointer;
}

#pun-announcement .notice li.note a b {
    color: #fff;
}

/* userlist */

#pun-online table,
.usertable {
    padding: 0 20px;
    margin: 20px 0;
    background: rgba(0,0,0,.1);
}

.formal h2 {
    display: none;
}

label {
    font-size: 9px;
    color: #222;
    line-height: 1em;
}

legend {
    margin: 4px 0 12px;
    padding: 0;
/*    float: left;*/
    width: 100%;
    font-weight: 700;
    font-family: 'Bebas', sans-serif;
    font-size: 14px;
}

/* просмотр профиля */

#viewprofile {
    padding: 10px 20px;
}

#viewprofile table {
    table-layout: fixed;
}

#viewprofile table #profile-left {
    text-align: center;
    padding-right: 16px;
    width: 220px !important;
}

#profile-left li {
    background: url(http://co.forum4.ru/files/0017/f7/ee/77309.jpg);
    padding: 10px 0;
}

li#profile-name {
    font-family: 'Bebas', sans-serif;
    color: #ACADB1;
    font-size: 21px;
    background: #222222 url(http://co.forum4.ru/files/0017/f7/ee/97033.png);
    padding: 6px;
    word-wrap: break-word;
}

li#profile-title {
    color: #B53922;
    background: #222222 url(http://co.forum4.ru/files/0017/f7/ee/97033.png);
    padding: 2px 6px 6px;
    word-wrap: break-word;
    font-weight: normal;
}

li#profile-title strong {
    font-weight: normal !important;
}

#profile-left strong {
    font-weight: normal !important;
}

td#profile-left img {
    box-shadow: 0 2px 1px 0 rgba(0,0,0,.35);
    max-width: 180px;
    max-height: 180px;
}

#profile-right li {
    padding: 7px 0;
    font-weight: 700;
}

#profile-right li strong {
    font-weight: normal;
    padding-left: 10px;
}

#profile-right li span {
    width: 150px;
    display: inline-block;
}

#post legend span {
    display: none;
}

#post .formsubmit {
    margin-top: -3px;
}

#pun-redirect {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
}

#pun-redirect #pun-main {
    width: 630px;
    margin: auto;
    background: #afafaf url(http://co.forum4.ru/files/0017/f7/ee/35230.png);
    border: solid 6px #606060;
    box-shadow: 0 5px 10px 1px rgba(0,0,0,.6);
}

#pun-redirect .main-title {
    margin-top: -6px;
}

#pun-redirect .info {
    padding: 10px 20px;
}

#pun-redirect .backlink {
    margin-top: 10px;
}

#pun-redirect #pun-main a {
    color: #aa260c;
}

span.num_msg {
    z-index: 2;
    position: static !important;
    background: none !important;
    font-family: 'Bebas', sans-serif;
    color: #ff3f1a !important;
    font-size: 25px !important;
    text-shadow: 1px 2px 3px rgba(0,0,0,.35);
    line-height: 21px !important;
}

span.num_msg:before {
    content: ' (' !important;
    transform: none !important;
    position: static !important;
    background: none !important;
    display: inline !important;
}

span.num_msg:after {
    content: ')';
}

/* admin */

#pun-admain fieldset .adfs-box {
    overflow: inherit !important;
}

#pun-admain fieldset legend {
/*    float: left;*/
    background: transparent !important;
    margin: 0 !important;
    color: #fff !important;
    background: url(http://co.forum4.ru/files/0017/f7/ee/69183.png) !important;
    font-size: 16px !important;
}

#pun-admain fieldset legend span {
    background: transparent !important;
    margin: 0 !important;
    line-height: 1em !important;
    vertical-align: -webkit-baseline-middle !important;
}

#pun-admain fieldset {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#pun-admain fieldset p {
    background: transparent !important;
    border-left-color: rgba(0,0,0,.1) !important;
}

#pun-adnav a {
    color: #161616 !important;
}

#pun-admain .isactive a {
    color: #B53D25 !important;
}

#pun-adnav .isactive ul.adsubnav a {
    color: #161616 !important;
}

.adformal {
    border: 0 !important;
}

.adcontainer {
    border: 0 !important;
}

.adformal h2, #pun-adnav h2 {
    background: url(http://co.forum4.ru/files/0017/f7/ee/69183.png) !important;
    font-family: 'Bebas', sans-serif !important;
    font-size: 16px !important;
}

#pun-admain h2 {
    font-size: 16px !important;
}

/* рейтинг */

div.post-rating p {
    font-size: 9px;
    font-weight: 700;
    margin-right: 8px;
}

div.post-vote p {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px !important;
}

div.post-vote p a:first-child {
    color: #158639;
}

.punbb .post-content img.postimg {
    vertical-align: middle;
}