/* CS1 Background and text colours
-------------------------------------------------------------*/

html, body {
    background: url(https://i.imgur.com/m1wbwKv.png) top center no-repeat, url(https://forumstatic.ru/files/0019/66/4e/32778.png)  fixed no-repeat #131519;
}

#pun {
    background: #e8e8d9;
    border: 1px solid #1e1d1d;
    box-shadow: 0 0 0 2px #e8e8d9, 0 0 0 3px #1e1d1d, 0 0 0 5px #e8e8d9;
}

/* CS1.1 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  background-color: #e8e8d9;
  color: #000;
}

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #000;
}

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
    background-color: transparent;
    color: #a88787;
}

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
}

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
    background-color: transparent;
    color: #920603;
}

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  color: #000;
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
    color: #000;
    background: url(https://i.imgur.com/L20N6tu.jpg) #d2d1b3;
    border: 1px solid #c7b9b9;
    box-shadow: 0 2px 2px rgb(0 0 0 / 73%);
}

/* CS1.8 */
#pun-navlinks .container {
    background-color: transparent;
    color: #530909;
}

.offline li.pa-online strong {
  font-weight: normal
  }
  
/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
    border-color: transparent;
}

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
}

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;
}

/* CS2.5 */
.punbb th {
  border-color: transparent;
}

/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
    border-color: transparent;
}

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
    border-color: transparent;
}

.punbb .divider {
  border-color: transparent;
}

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }

li.pa-online {
  border-left-color: #005EAB;
  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.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 {
  color: #771212;
  transition: .5s;
}

.punbb .ht-news a {
    color: #ad4b4b;
}

.punbb .ht-news a:hover {
    color: #d58c8c;
}

.punbb .ht-amc a {
    color: white;
}

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #000;
  }

/* CS3.2 */
.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 {
  color: #B42000;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #530909;
  text-decoration: none;
}

#pun-ulinks li a {
    color: #7b5052;
}

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #530909;
  text-decoration: none;
}

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
}

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
    background: url(https://i.imgur.com/oF7iYlC.jpg) top center no-repeat;
}
div.inew, .isticky div.icon {
    background-image: url(https://i.imgur.com/3SYd66W.jpg);
}
.inew div.icon.icon-new {
    background-image: url(https://i.imgur.com/C5oCu7w.jpg);
}
.isticky div.icon.icon-new {
    background-image: url(https://i.imgur.com/SsxzTlI.jpg);
}

#pun-index div.icon {
    background: url(https://i.imgur.com/3SYd66W.jpg) top center no-repeat;
}

#pun-main div.catleft, #pun-main div.catright {
    display: none;
}

.punbb .user-avatar .avatar-image, .punbb .user-avatar {
    width: 20px !important;
    height: 20px !important;
}

#pun-index.punbb .user-avatar .avatar-image, #pun-index.punbb .user-avatar {
    width: 36px !important;
    height: 36px !important;
}

.punbb .user-avatar .avatar-image {
    border-radius: 0 !important;
    border: 1px solid black;
}

.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    background: black !important;
    border-radius: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    content: "+" attr(data-new-topics) !important;
    font-family: 'BaronNeue' !important;
    font-size: 13px !important;
    font-weight: normal !important;
}

textarea {
    background: url(https://i.imgur.com/L20N6tu.jpg) #d2d1b3;
    border: 1px solid #c7b9b9;
    box-shadow: 0 0 5px rgb(0 0 0 / 23%);
}

.punbb .forum-links a {
    background: #530909;
    padding: 3px;
    color: white;
    font-weight: bold;
    font-size: 8px;
    margin-right: 2px;
}

.punbb .forum-links a:hover {
    background: #ac1213;
}

.punbb .forum-links {
    margin: 5px 0;
}

.go-arrows {
    position: fixed;
    margin-left: 980px !important;
    cursor: pointer;
}

.go-up {
    bottom: 50%;
}

.go-down {
    bottom: 46%;
}

#smilies-block {
    overflow: auto;
    max-height: 230px;
    text-align: center;
}

.punbb .smile-pack-container {
    margin-top: 0.5em;
    margin-right: 1em;
}

.punbb .fs-box .smile-pack-container > p {
    padding: 2em 0;
}

.punbb .smile-pack-menu {
    display: flex;
    margin-top: 1em;
}

.punbb .smile-pack-menu > * {
    margin-right: 1em;
}

#tags .container {
    background: #e8e8d9;
    border: 1px solid #c7b9b9;
}

.punbb input, .punbb select, .punbb option, .punbb optiongroup {
    background: #f4f3e5;
    border: 1px solid #d6d5b3;
}

.punbb input[type="submit"], .punbb input[type="button"], .punbb button {
    background: #530909;
    border: 0;
    padding: 5px 6px;
    color: white;
    font-family: 'BaronNeueBold';
    text-transform: lowercase;
    line-height: 14px;
    cursor: pointer;
    transition: .5s;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background: #7d1f1f;
}

.forum span.byuser:before {
    content: ' -';
}

p.lastedit {
    display: none;
}

.pun-modal .modal-inner {
    padding-top: 1.5em !important;
}

.pun-modal .closer {
    margin-top: -32px !important;
}

li.pa-fld3 {
    background: url(https://i.imgur.com/TdgkqVQ.jpg) top center no-repeat;
    width: 33% !important;
    height: 25px;
    overflow: hidden;
    padding-top: 14px !important;
    box-sizing: border-box;
    font-size: 9px;
    font-weight: bold;
    color: white;
    margin-top: 2px;
}

li.pa-fld2 {
    background: url(https://i.imgur.com/dvmgFdP.jpg) top center no-repeat;
    width: 33% !important;
    height: 25px;
    padding-top: 14px !important;
    box-sizing: border-box;
    font-size: 9px;
    font-weight: bold;
    color: white;
    margin-top: 2px;
    position: relative;
}

li.pa-fld1 {
    background: url(https://i.imgur.com/aheKhEW.jpg) top center no-repeat;
    width: 33% !important;
    height: 25px;
    box-sizing: border-box;
    font-size: 9px;
    font-weight: bold;
    color: white;
    margin-top: 2px;
    position: relative;
}

.pa-fld1 a {
    display: block;
    width: 39px;
    height: 100%;
    margin: 0 auto;
}

.punbb li.pa-fld2 span.GamePst {
    color: white !important;
}

li.pa-fld4 .fld-name, li.pa-fld1 .fld-name, li.pa-fld2 .fld-name, li.pa-fld3 .fld-name {
    display: none;
}

li.pa-fld1:after, li.pa-fld2:after {
    content: '';
    display: inline-block;
    width: 19px;
    height: 19px;
    background: url(https://i.imgur.com/Z3KB4SG.jpg) top center no-repeat;
    position: absolute;
    top: 3px;
    right: -9px;
}

li.pa-fld4 {
    margin: 3px 0;
    border-bottom: 1px solid #0d0d0d;
}

li.pa-fld4 a {
    color: white !important;
    background: #530909;
    width: calc(100% - 20px);
    display: block;
    padding: 1px .2em 3px !important;
    font-family: BaronNeue;
    font-size: 14px;
    box-sizing: border-box;
    margin: 0 auto 3px;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 60%);
}

::-webkit-scrollbar {
    width: 6px;
}
.ht-news::-webkit-scrollbar {
    width: 1px;
}
::-webkit-scrollbar-thumb {
    background: #a0a9b4;
}