/*
FireOfWar, Enirin
© Design, ForumD.ru (Gerda, satsana), 2018—2026
*/

@charset "windows-1251";

@import url(style_cs.1778849367.css);

#pun-title,
#pun-index h1,
#pun-announcement h2,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
.divider hr,
.hidden {
    display: none;
}

.divider {
    clear: both;
}

#pun:after,
#pun-admain:after,
#pun-admain fieldset .adfs-box p:after {
    content: "" !important;
}

h1,
h2 {
    font-family: var(--fontTitle);
    text-align: center;
    line-height: 1.2em;
}

p {
    margin: 0 0 .5em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
}

table {
    width: calc(100% - 32px);
    margin: 0.5em 0;
}

td {
    padding: 0.5em 0;
}

.tc0 {
    text-align: left;
}

.tc1,
.tc2 {
    text-align: center;
}

.tc3 {
    text-align: right;
}

textarea,
input,
select,
button {
    font-family: var(--fontMain);
    font-size: 16px;
    background-color: #f6f0dc;
    color: var(--cDark);
    border-color: var(--cBorder);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

@media screen and (max-width: 979px) {
  input[type="text"],
  input[type="password"],
  input[type="url"] {
    width: 100%;
  }
}

textarea {
    resize: vertical;
    width: 100%;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-image: var(--arrv2);
    background-repeat: no-repeat;
    background-position: calc(100% - 4px) 50%;
    padding: 2px 3px;
    padding-right: 15px;
}

fieldset {
    border-color: var(--cBorder);
    margin: .5em 0;
}

fieldset fieldset {
    margin: 0;
    padding: 0 1em 0 0;
    border: none;
}

fieldset legend + fieldset,
fieldset:first-child {
    margin-top: 0;
}

label {
    cursor: pointer;
}

:focus-visible {
    outline-color: var(--cLinkHover);
    outline-width: 1px;
    outline-style: inset;
    outline-offset: -1px;
}

a {
    text-decoration: none;
    color: var(--cLink);
}
a:hover,
a:focus,
a:active {
    text-decoration: underline;
    color: var(--cLinkHover);
}

#pun-navlinks a,
#pun-ulinks a,
#pun-announcement a,
#pun-status a,
#html-footer a {
    color: var(--cLinkLight);
}

::selection {
    color: var(--cLight);
    background-color: #221611;
}

::-webkit-scrollbar,
::-webkit-scrollbar-corner {
    background-color: var(--cLight);
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-button {
    -webkit-box-shadow: inset 0 0 10px var(--cShadow);
    box-shadow: inset 0 0 10px var(--cShadow);
    background-repeat: no-repeat;
    background-position: center;
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-button:horizontal:start {
    background-image: var(--arrh1);
}
::-webkit-scrollbar-button:horizontal:end {
    background-image: var(--arrh2);
}
::-webkit-scrollbar-button:vertical:start {
    background-image: var(--arrv1);
}
::-webkit-scrollbar-button:vertical:end {
    background-image: var(--arrv2);
}


/* Main */

body {
    min-width: 480px;
    margin: 0;
    font-family: var(--fontMain);
    font-size: 15px;
    color: var(--cDark);
    background-color: var(--cBack);
    background-image: var(--texture);
    background-repeat: repeat-y;
    background-position-x: center;
    background-position-y: 0, 100%, 482px;
    line-height: 1.2em;
    word-wrap: break-word;
}
@media screen and (min-width: 980px) {
  body {
    background-image: var(--top), var(--bottom), var(--texture);
    background-repeat: no-repeat, no-repeat, repeat-y;
  }
}
@media screen and (max-width: 1250px) {
  body {
    background-position-y: 0, calc(100% + 60px), 482px;
  }
}


#pun_wrap {
    margin: auto;
    margin-top: 482px;
    padding-top: 62px;
    background: var(--topwrap) top no-repeat;
}

.punbb {
    position: relative;
    width: calc(98% - 60px);
    padding: 0 29px;
    margin: auto;
    background-repeat: repeat-y;
    background-position: left, right, center;
    background-image: var(--vline), var(--vline), var(--page);
    -webkit-background-size: auto, auto, calc(100% - 28px) auto;
    -moz-background-size: auto, auto, calc(100% - 28px) auto;
    -o-background-size: auto, auto, calc(100% - 28px) auto;
    background-size: auto, auto, calc(100% - 28px) auto;
}

.punbb::after {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
}

#pun-break4 {
    position: absolute;
    z-index: 1;
    left: 44px;
    width: calc(100% - 88px);
    bottom: -40px;
    height: 13px;
    background: var(--skirt) top repeat-x;
}

#pun-break4::before {
    content: '';
    display: block;
    height: 7px;
    width: 100%;
    position: absolute;
    left: 0;
    top: -7px;
    background: var(--border2) center repeat-x;
}

@media screen and (max-width: 979px) {
  #pun-break4 {
    left: 2px;
    width: calc(100% - 4px);
  }
}

@media screen and (max-width: 979px) {
  .punbb:not(html)::before {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
    width: calc(100% - 4px);
    height: 24px;
    left: 2px;
    top: -18px;
    background: var(--border1) center repeat-x;
  }
  .punbb::after {
    width: 100%;
    height: 23px;
    left: 0;
    bottom: -23px;
    background-image: var(--vline), var(--vline), var(--page);
    background-repeat: repeat-y, repeat-y, repeat-y;
    background-position: left, right, center;
    -webkit-background-size: auto, auto, calc(100% - 28px) auto;
    -moz-background-size: auto, auto, calc(100% - 28px) auto;
    -o-background-size: auto, auto, calc(100% - 28px) auto;
    background-size: auto, auto, calc(100% - 28px) auto;
  }
}

@media screen and (min-width: 980px) {
  .punbb {
    width: calc(98% - 230px);
    max-width: 1080px;
    padding: 0 60px;
    margin-bottom: 300px;
    background-image: var(--lline), var(--rline), var(--page);
    -webkit-background-size: auto, auto, calc(100% - 88px) auto;
    -moz-background-size: auto, auto, calc(100% - 88px) auto;
    -o-background-size: auto, auto, calc(100% - 88px) auto;
    background-size: auto, auto, calc(100% - 88px) auto;
  }
  .punbb::after {
    position: absolute;
    left: -1px;
    bottom: -200px;
    width: calc(100% - 318px);
    border-style: solid;
    border-color: transparent;
    border-width: 88px 160px 112px;
    -webkit-border-image: var(--bline) 88 160 112 161 round;
    -moz-border-image: var(--bline) 88 160 112 161 round;
    -o-border-image: var(--bline) 88 160 112 161 round;
    border-image: var(--bline) 88 160 112 161 round;
    background-image: var(--page);
    background-repeat: no-repeat;
    background-position: bottom;
    -webkit-background-size: calc(100% + 230px);
    -moz-background-size: calc(100% + 230px);
    -o-background-size: calc(100% + 230px);
    background-size: calc(100% + 230px);
  }
}

#pun-main {
    position: relative;
}

#pun-index #pun-main h2,
h1,
#pun-stats h2 {
    clear: both;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
    width: calc(100% + 32px);
    position: relative;
    left: -16px;
    height: 28px;
    line-height: 28px;
    background: var(--catc) center repeat-x;
    border-width: 24px 0;
    border-style: solid;
    border-color: transparent;
    -webkit-border-image: var(--border1) 24 0 repeat;
    -moz-border-image: var(--border1) 24 0 repeat;
    -o-border-image: var(--border1) 24 0 repeat;
    border-image: var(--border1) 24 0 repeat;
    font-size: 1.5em;
    margin: 10px 0;
    position: relative;
    color: #120400;
    text-shadow: 0 1px 0 var(--hShadow);
    white-space: nowrap;
}

#pun-index #pun-main h2,
#pun-stats h2 {
    margin-top: -14px;
    font-weight: bold;
}

#pun-index #pun-main h2::before,
h1::before,
#pun-stats h2::before,
#pun-index #pun-main h2::after,
h1::after,
#pun-stats h2::after {
    content: '';
    display: block;
    width: 76px;
    height: 121px;
    position: absolute;
    top: -47px;
    pointer-events: none;
    z-index: 1;
}

@media screen and (max-width: 979px) {
  #pun-index #pun-main h2::before,
  h1::before,
  #pun-stats h2::before,
  #pun-index #pun-main h2::after,
  h1::after,
  #pun-stats h2::after {
    display: none;
  }
}

#pun-index #pun-main h2::before,
h1::before,
#pun-stats h2::before {
    background: var(--catl) center no-repeat;
    left: -38px;
}

#pun-index #pun-main h2::after,
h1::after,
#pun-stats h2::after {
    background: var(--catr) center no-repeat;
    right: -38px;
}

.crumbs {
    font-family: var(--fontTitle);
    text-align: center;
    margin: 0;
}

#pun-crumbs1 {
    padding: 0 120px;
    margin-top: -1.5em;
    z-index: 1;
}

#pun-crumbs2 {
    clear: both;
    margin-top: 2em;
}

.crumbs p {
    margin: 0;
}

#pun-about,
#html-footer {
    position: absolute;
    z-index: 1;
    width: calc(100% - 120px);
    text-align: right;
    bottom: -74px;
}

#html-footer {
    bottom: -170px;
    padding-bottom: 20px;
}

#pun-about p {
    margin: 0;
}

#enirin,
#fdcop {
    color: #fcedc6;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 979px) {
  #pun-crumbs1 {
    margin-top: 0;
    padding: 0;
  }
  #pun-about {
    position: relative;
    bottom: -64px;
    width: 100%;
  }
  #pun-about a {
    color: var(--cLinkLight);
  }
  #html-footer {
    bottom: -124px;
    width: calc(100% - 56px);
  }
}


/* Header */

