/*************************************************************
A - SETUP
**************************************************************/

@import url(style_cs.1743868231.css);
@import url(https://forumstatic.ru/files/001a/db/ed/22696.css);
@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Alegreya:ital,wght@0,400..900;1,400..900&family=Bona+Nova:ital,wght@0,400;0,700;1,400&family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400..900&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Girassol&family=Great+Vibes&family=Oranienbaum&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Ramaraja&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Zen+Maru+Gothic&display=swap');

:root {--bord: #b3b1a9; --bord-fon: url(https://forumstatic.ru/files/001c/5b/3b/89185.webp);
--base-bg2: url(https://forumstatic.ru/files/001c/5b/3b/82086.webp?v=1) top center no-repeat, url(https://forumstatic.ru/files/001c/5b/3b/76682.webp?v=1) bottom center no-repeat, url(https://forumstatic.ru/files/001c/5b/3b/59663.webp?v=1) repeat-y #cfcec6;
--base-bg: #211f26 url(https://forumstatic.ru/files/001c/5b/3b/81798.webp?v=1);}

@media (max-width: 540px) {
.card-act, .card-noact {display: grid; gap: 10px; grid-template-areas: "p p" "i i" "s s"; grid-template-rows: 25% 25% 50%; height: 700px; margin-bottom: 30px;}
.story-act-part-wrapper, .story-noact-part-wrapper {height: 338px;}
.story-act-part-wrapper span, .story-noact-part-wrapper span {font-size: 2.5em;}
.story-act-part-wrapper-text, .story-noact-part-wrapper-text {height: 290px; font-size: 2.3em; line-height: 1.3em;}
.card-act-element, .card-noact-element {width: 46%; margin: 0 2%;}
.infa-act-part, .infa-noact-part {font-size: 1.8em; line-height: 1.2em;}
.card-pr {display: grid; gap: 7px; grid-template-areas: "p p" "i f" "s s"; grid-template-columns: 50% 50%; grid-template-rows: 25% 25% 50%; height: 710px; margin-bottom: 30px;}
.story-pr-part-wrapper {height: 350px;}
.story-pr-part-wrapper span {font-size: 2.5em;}
.story-pr-part-wrapper-text {height: 290px; font-size: 2.3em; line-height: 1.3em;}
.card-pr-element {margin: 0 2%;}
.infa-pr-part1, .infa-pr-part2 {font-size: 1.8em; line-height: 1.2em;}

.card-st, .card-st-plus, .card-st-minus {grid-template-rows: 35% 65%; height: 520px;}
.story-st-part-wrapper, .story-st-plus-part-wrapper, .story-st-minus-part-wrapper {height: 335px;}
.story-st-part-wrapper span, .story-st-plus-part-wrapper span, .story-st-minus-part-wrapper span {font-size: 3.2em;}
.story-st-part-wrapper-text, .story-st-plus-part-wrapper-text, .story-st-minus-part-wrapper-text {font-size: 2.3em; line-height: 1.3em; height: 185px;}
.story-st-part-wrapper h5, .story-st-plus-part-wrapper h5, .story-st-minus-part-wrapper h5 {font-size: 2.5em; line-height: 1.1em; margin-top: 10px;}
}

html, body {margin: 0; padding: 0;}
.punbb ul, .punbb dl, .punbb dd, .punbb dt {padding: 0; list-style: none;}
.punbb img {border: none;}
.punbb .main table {table-layout: fixed; width: 100%;}
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}
p[class="checkfield"] *, div[class="checkfield"] *, fieldset[class="radiofield"] * {height: 1.8em; vertical-align: middle;}

 /* A3 Text setup
-------------------------------------------------------------*/

body {font-size: 96%;}
.punbb {font: normal 68.75% verdana, arial, helvetica, sans-serif;}
.punbb textarea, .punbb input, .punbb optgroup {font: 1em verdana, arial, helvetica, sans-serif;}
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {font-size: 1em; font-weight: normal;}
.punbb h1 span, .punbb h2 span, .punbb legend span {font-size: 1.1em;}
.punbb pre {font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}
.punbb address, .punbb em {font-style: normal;}
.punbb .post-content em {font-style: italic;}
.punbb .post-content em.bbuline {font-style: normal; text-decoration: underline;}
.punbb a {text-decoration: underline;}
.punbb optgroup {font-weight: bold;}

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

#pun:after, .punbb .container:after, .punbb .post-links ul:after, .punbb .main div.inline:after, .punbb .post-box:after, .punbb .linksb:after {clear: both; content: "."; display: block; height: 0; visibility: hidden; overflow: hidden; line-height: 0.0; font-size: 0;}
.acchide, #pun-index #pun-main h1, #pun-navlinks h2, #pun-pagelinks h2, #pun-status h2, #pun-ulinks h2, .punbb .forum h2, .punbb .multipage .topic h2, .punbb dl.post-sig dt span, .punbb p.crumbs strong, .punbb .divider hr, .punbb .required label em, .punbb .formsubmit label, .punbb .submitfield label, .punbb .modmenu label, #pun-userlist .main h2 {font-size: 0; height: 0; width: 0; line-height: 0.0; position:absolute; left: -9999px; overflow: hidden;}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/

#pun {margin: auto; width: 1022px; position: relative; margin: 44px auto 30px auto;}
.punbb {float: auto; width: 1000px; height: auto; margin: 0 11px;} 

.punbb .section, .punbb .main {}
#pun-post .topic {margin-top: 1em;}
.punbb .category {margin: 0; padding: 0 20px;}
.punbb .category h2, #pun-stats h2 {width: 961px; height: 24px; background: url(https://forumstatic.ru/files/001a/7a/51/55310.webp) 67% 12%; background-size: cover; text-align: center; margin: 0; padding-top: 3px;}
#pun-stats h2 {margin: 11px 0 0 20px;}
.category h2 span, #pun-stats h2 span {position: relative; color: #bcbabe; text-shadow: 0 0 1px #1a1b31; font: 18px 'Roboto Condensed'; text-transform: uppercase; display: block; letter-spacing: 1px;}
#pun-announcement.section h2 span {display: none;}
#pun-category1 {margin-top: 0;}

#pun-index .category table tr {background: #ebe4e469; margin: 0; display: flex; align-items: center;}
#pun-index .category thead {height: 0;}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

.punbb .post-content {padding: 0; margin: 0; width: 100%; overflow: hidden;}
.punbb .post-sig dt {display: block; margin: 5px 10%; border-top: 1px solid #a6a3a9a3;}
.punbb .post-content p {margin: 0; padding: 0 0 5px 0; line-height: 160%; text-align: justify;}
.punbb .post-content img {vertical-align: text-bottom;}
.punbb .post-content img.postimg {vertical-align: middle;}
.punbb .post-content .blockcode, .punbb .post-content blockquote {width: 100%; overflow: hidden;}
.punbb .post-content .scrollbox {width: 100%; overflow: auto;}
.punbb .post-content .quote-box, .punbb .post-content .code-box {padding: 8px 10px 5px 10px; margin: 0.5em 0 0.5em 0; border-style: none;}
.punbb .quote-box cite, .punbb .code-box strong.legend {display: block; font-weight: bold; font-style: normal; border-bottom: 1px solid #908d9363; padding: 0px 0px 8px 8px; letter-spacing: 1px; margin-bottom: 7px;}

/* B2 Information boxes
-------------------------------------------------------------*/

.punbb .info-box {padding: 1.1em 1.7em 1em 1.7em; border-style: solid; border-width: 1px; margin: 0 0 1.1em 0;}
.punbb .info-box * {padding: 0 0 0.7em 0;}
.punbb #pun-main .info-box .legend {font-size: 1.1em; font-weight: bold;}

/* B3 Pagination and posting links
-------------------------------------------------------------*/

.punbb .linkst {float: left; position: relative; width: 100%; font-size: 1.1em; height: 0;}
.multipage {margin-top: 3em;}
.linkst .pagelink {position: absolute;top: -2.1em; bottom: 20px; left: 1em;width: 24em; color: #382217;}
.linkst .postlink {position: absolute; top: -2.1em; right: 20px; width: 16em; text-align: right; font-weight: bold;}
.punbb .linksb {text-align: right; padding: 0.4em 1em 0.5em 1em; font-size: 1.1em;}
.linksb .pagelink {color: #382217; float: left; width: 24em; text-align: left;}
.linksb .postlink {float: right; width: 16em; font-weight: bold; margin: 0 0 3px 0; padding-right: 11px;}
.subscribelink {clear: both; padding: 0.3em 9px 0.5em 0;}
.main h1 {color: transparent;}


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

.punbb .formal .container {padding: 0 1.3em 0.3em 1em;}
.punbb .formsubmit {padding: 0 0 0 1.7em; margin: 0;}
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {margin: 0 0.6em 0 0;}
.punbb fieldset {border-style: solid; border-width: 1px; padding: 0 18px 0 18px;}
.punbb fieldset legend {padding-top: 15px; margin: 0 0 0 11px; font-size: 1.1em;}
.punbb fieldset legend span {padding: 0; margin: 0;}
.punbb fieldset fieldset {border-style: none; margin: 0; padding: 0 0 8px 0;}
.punbb .fs-box {padding: 1em 0 0.8em 0;}
.punbb .fs-box p, .punbb .fs-box fieldset {padding-bottom: 0;}
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {float: left; margin-right: 1em;}
.punbb .inline .infofield {clear: both; padding-top: 10px;}
.punbb .datafield br {display: none;}
.punbb .required label, .punbb .datafield span.input {font-weight: bold;}
.punbb .datafield span.input a {font-weight: normal;}
.punbb .areafield span.input, .punbb p.longinput span.input {display: block; padding: 0 12em 0 0; height: 100%; /* For IE */}
.punbb textarea, .punbb .longinput input {width: 64%; margin-left: -6px;}
.punbb .hashelp {position: relative;}
.punbb .helplinks {display: block; position: absolute; top: 1em; right: 0; font-weight: normal; width: 36%;}
.punbb #profile .helplinks {top: 1.5em;}
.punbb .helplinks span {display: block; padding-bottom: 0.2em;}
#pun-post .formal .info-box li { padding-left: 4px; list-style-type: square; list-style-position: inside; line-height: 1.5; margin: 0;}

/* C2 Table layout
-------------------------------------------------------------*/

.punbb .main .tcl {text-align: left; width: 57%; padding-left: 15px;}
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {text-align: center; width: 7%;}
.punbb .main .tcr {overflow: hidden; text-align: left; width: 29%;}
#pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {width: 40%;}
#pun-searchtopics .main .tc2 {text-align: left; width: 20%;}
#pun-debug table .tcl {width: 15%; white-space:normal;}
#pun-debug .tcr {width: 90%; white-space: normal;}
.punbb td span.youposted {font-weight: bold; margin-left: -1em; position: absolute;}
.punbb td .modlist {display: none; visibility: hidden; /* padding-top: 0.3em; */}
.punbb .main td {padding: 5px;}
.punbb .main th {padding: 5px 10px;}

.punbb td div.tclcon {padding: 0; width: 91%;}
#pun-userlist .main .tcl.username {width: 20%;} /* имя */
#pun-userlist .main .tc2.title {width: 30%;} /* статус */
#pun-userlist .main .tc3.relation, #pun-userlist .main .tc3.posts {width: 10%;} /* репа, сообщения */
#pun-userlist .main .tc3.registered, #pun-userlist .main .tc3.last_visit {width: 15%;} /* регистрация, посл.визит */
#pun-userlist .main .tcl.username, #pun-userlist .main .tc2.title, #pun-userlist .main .tc3.relation, #pun-userlist .main .tc3.posts, #pun-userlist .main .tc3.registered, #pun-userlist .main .tc3.last_visit {color: #614534;}

/* C3 Topics
-------------------------------------------------------------*/

.punbb .post .container {padding-bottom: 1px; border-style: none;}
.punbb .post h3 {background-color: transparent;}
.punbb .post h3 strong {float: right; width: 125px; text-align: right; margin: -4px -9px 0 0;}
.punbb .post h3 span {display: block; margin-left: 25em; padding: 0.5em 1em; color: #bcbabf;}
.punbb .post h3 span a {color: #bcbabf;}
.punbb .post .post-author {float: left; width: 235px; margin: -8px 0 0 8px; font-family: 'Arial';}
.punbb .post-body {margin-left: 22.8em; border-left-style: solid; border-left-width: 1px; padding: 0 0 1px 0;}
/* margin-left: 23.3em; нет width ниже*/
.punbb .fs-box {width: 739px;}
.punbb .post-box {width: 739px; padding: 2px 10px 1em 10px; text-align: justify;}
.punbb fieldset .post-box {margin-bottom: 0.8em;}
.punbb .post-links {margin-left: 19em; border-left-style: solid; border-left-width: 1px;}
.punbb .post-links ul {padding: 2px 15px 12px 15px; height: 2em; line-height: 2.5em; margin-left: -20em; border-top-style: dashed; border-top-width: 1px; background: transparent; text-align: right;}
.punbb .post-links li {display: inline; padding-left: 1em;}
.pl-email, .pl-website {float: left;}
.punbb .clearer {clear: both; height: 0; font-size: 0;}

/* C5 Message boxes
-------------------------------------------------------------*/

.punbb .info .container {padding: 0.8em 1em;}
.punbb .info .container .backlink {padding-top: 0.8em;}

/* C6 Profile
-------------------------------------------------------------*/

#profile .container {padding-left: 18.6em;}
#profilenav {float: left; text-align: center; width: 14em; padding: 13px 0 0 0; margin: 22px 0 0 -15.3em; display: inline; font-weight: bold; background-color: #cfcbce; border: 1px solid #b1b1b1;}
#profilenav li {padding-bottom: 0.8em; font-weight: bold;}
#viewprofile ul, #profilenav ul {border-style: solid; border-width: 1px; padding: 1.3em 18px 0 18px; margin: 0 0 1em 0;}
#viewprofile h2, #profilenav h2 {width: 125px; background: transparent; border: none; padding: 0 0 0 0; margin: 0 14px -0.6em 11px;}
#viewprofile h2 span, #profilenav h2 span {padding: 3px 27px; margin: 0 0 0 6px; position: relative; background-color: #b5b2b7ad; font-weight: 700; color: #3c374d;}
#viewprofile li, #setmods dl {padding: 0 0 0 16em; margin-bottom: 0.2em;}
#viewprofile li span {float: left; width: 14em; margin-left: -16em; padding: 0.5em 1em; font-weight: bold;}
#setmods dt {float: left; width: 14em; margin-left: -16em; padding: 0.8em 1em; font-weight: bold; display: inline;}
#viewprofile li strong, #viewprofile li div, #setmods dd {display: block; padding: 0.5em 1em; font-weight: normal;}
.punbb img.avatardemo {float: right; margin: 0 0 0.8em 1.8em;}

/* C7 User list
-------------------------------------------------------------*/

#pun-userlist .formal, #pun-userlist .formal .container {border-bottom: none; margin-bottom: 0;}
#pun-userlist .usertable .container {padding: 10px 0 20px 30px; border-top: none;}
#pun-userlist .usertable table {border-style: solid; border-width: 1px;}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

#pun-title {margin: 0; border-style: none none none none; border-width: 1px 1px 0 1px;}
#pun-title h1 {display: block; height : 40px; padding: 2em 1em 0 1em;}
#pun-title .container {border-style: none none none none;}
#pun-title h1 span {font-size: 1.5em; display: none;}

/* D2 Page navigation
-------------------------------------------------------------*/

#pun-pagelinks {position: absolute; top: -15px; left: 0; margin: 0; border: none; padding: 0; width: 100%;}
#pun-pagelinks .container {background: transparent; border: none; padding: 0;}
#pun-pagelinks .container li {display: inline;}
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {height: 2em; line-height: 2em; padding: 0; font-size: 1.2em; margin-left: -9999px; display: block; float:left; width: 100%;}
#pun-pagelinks a:active, #pun-pagelinks a:focus {position: relative; margin: 0;}
#pun-pagelinks li a span {display: block; margin: 0 1em;}

/* D3 Forum navigation
-------------------------------------------------------------*/

#pun-navlinks {border: none; margin: 0px;}
#pun-navlinks .container {position: absolute; width: 100%; text-align: center; box-sizing: border-box; display: flex; justify-content: center; align-items: center; top: -47px; left: 0; z-index: 10;}
#pun-navlinks li {display: inline; padding-right: 0;}

#pun-navlinks a {color: #bcbabe; text-shadow: 0 0 2px #161723; font: 17px 'Zen Maru Gothic'; text-transform: uppercase; text-decoration: none; padding: 1px 4px;}
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {color: #d0c0e3; text-decoration: none;}

/* D4 User links
-------------------------------------------------------------*/

#pun-ulinks {margin: 0px;}
#pun-ulinks .container {border-top: none; position: absolute; text-align: center; width: 1000px; top: 144px; left: 11px;}
#pun-ulinks li, #pun-ulinks li a {display: inline; border-left-style: solid; border-left-width: 0px;}
#pun-ulinks li a {padding: 0 0.2em;}

#pun-ulinks a {white-space: nowrap; color: #403b4d; text-shadow: 1px 0px 1px #c8c6cb; font: 11px 'Arial'; text-transform: lowercase;}
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {color: #6d3559;}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

#pun-status, #pun-status .container {text-align: right; border-bottom: none; margin: 0;}
#pun-status .container {position: absolute; top: 117px; left: 12px; width: 545px; font: 9px 'Franklin Gothic Medium'; text-transform: uppercase; letter-spacing: 0px; text-align: center; color: #89888b; text-shadow: 1px 0 0 #000; padding: 0 10px;}
#pun-status .container strong, #pun-status .container a {color: #89888b; text-shadow: 1px 0 0 #000; font-weight: normal;}
#pun-status .container a:hover, #pun-status .container a:active, #pun-status .container a:active {color: #b0acb9;}
#pun-status span {white-space: nowrap; margin-right: 0.5em; display: inline-block;}
#pun-crumbs1 {font-weight: bold; overflow: hidden; padding: 0 10px;}
#pun-crumbs1 p.container {border-top: none; text-align: left; padding: 2px 11px; font: 700 11px "Arial"; color: #403c49; text-shadow: 1px 0 1px #cbc9cd;}

#pun-break1 {border-style: solid none; border-width: 1px 0; height: 0; margin: 0 1em; position: relative; z-index: 1;}

/* D6 Announcement
-------------------------------------------------------------*/

#pun-announcement h2 {padding: 0; margin: 0 1em -3.5em 1em; border-style: none none solid none; border-width: 0 0 1px 0; position: relative; font-weight: bold;}
#pun-announcement h2 span {display: block; padding: 1em 0 0.8em 0; border-bottom-style: solid; border-bottom-width: 1px;}
#pun-announcement .container {padding: 5em 1em 1.3em 1em;}

/* D7 Statistics
-------------------------------------------------------------*/

#pun-stats ul.container {text-align: center;}
#pun-stats .container {padding-top: 11px; background: #ebe4e469; margin: 0 20px; color: #3e394b; text-shadow: 1px 0 1px #d3ced1;}
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {display: inline-flex; padding: 0 20px; font: 9px 'Arial'; text-transform: uppercase; flex-direction: row; justify-content: center; align-items: center; flex-wrap: nowrap; min-width: 150px;}
#pun-stats li.item3 span, #pun-stats li.item4 span {display: none;}
#pun-stats li.item3 strong:before {content: 'всего жителей: '; font-weight: 300;}
#pun-stats li.item4 strong:before {content: 'новые лица: '; font-weight: 300;}
#pun-stats li.item1 span, #pun-stats li.item2 span, #pun-stats li.item3 span, #pun-stats li.item4 span {padding-right: 5px;}
li#onlinelist {border: 0; float: left; padding: 10px 13px; line-height: 150%;}
li#onlinelist div {border: 0;}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

#pun-qjump {margin: 0; border: none; width: 50%; position: relative; float: left;}
#pun-qjump .container {border: none; background: transparent; padding: 0.8em 1em;}
#pun-about {margin-top: 0;}
#pun-about .container {border-top-style: none; text-align: right; font: 10px 'Arial'; text-transform: lowercase; line-height: 150%; padding: 10px 25px 1em 0; color: #545661; text-shadow: 1px 0 1px #c6c2c9; font-weight: bold;}
#pun-about .container a {color: #545661; text-shadow: 1px 0 1px #c6c2c9;}
#pun-about .container a:hover, #pun-about .container a:active, #pun-about .container a:focus {color: #714f5b;}
#pun-about p span {display:block; padding-left: 50%; margin-top: -4px;}
#pun-crumbs2 {overflow: hidden; margin-bottom: 0; border-bottom: none;}
#pun-crumbs2 .container {border-bottom: none; padding: 3px 20px; font: 700 11px "Arial"; color: #403c49; text-shadow: 1px 0 1px #cbc9cd;}

#pun-break4 {margin: -2px 1em; border-style: solid none; border-width: 1px 0; position: relative; height: 0; z-index: 1;}
div.punbb-admin #pun-about .container {border-top-style: solid; border-top-width: 1px;}

/* D9 Help file
-------------------------------------------------------------*/

#pun-help .formal .info-box h3.legend {border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 0; margin-bottom: 0.8em;}
#pun-help .formal .info-box h3.legend span {padding-bottom: 0.6em; display: block; border-bottom-style: solid; border-bottom-width: 1px; font-size: 1.1em;}
#pun-help .formal p, #pun-help .formal dd {margin-bottom: 1em;}
#pun-help .formal ul, #pun-help .formal dl {padding: 0 0 0 1em;}
#pun-help .formal li {padding: 0; line-height: 130%;}
#pun-help .formal li * {vertical-align: text-top;}
#pun-help .formal dt span {font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {padding-bottom: 0;}

#pun-title table tbody tr .title-logo-tdr, .admin-advert-block {position: absolute; top: 20px; left: 350px; z-index: 1;}
a.permalink {display: inline-block; position: relative; z-index: 10;}