@charset "windows-1251";
@import url(style_cs.1766955493.css);

@import url(https://fonts.googleapis.com/css2?family=Playfair+Display);
@import url(https://fonts.googleapis.com/css2?family=Ubuntu);


/* Глобальные настройки */

body {
    position: relative;
    padding: 35px 70px 0;
    font: 16px 'Playfair Display', serif;
    line-height: 1.2em;
    word-break: break-word;
    margin: auto;
    overflow-x: hidden;
}

.acchide,
.stickytext,
.closedatafield,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#post-form h2,
#profilenav h2,
.forum h2,
.topic h2,
.usertable h2,
.crumbs strong,
.crumbs em:first-of-type,
.divider hr,
.post-sig dt {
    display: none;
}

.divider,
.post-sig {
    clear: both;
}

fieldset {
    min-inline-size: auto;
    margin-bottom: 20px;
}

.punbb textarea,
select,
input {
    font: 16px 'Playfair Display', serif;
    outline: none;
    max-width: 100% !important;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    border-style: solid;
    border-width: 1px;
}

p {
    margin: 0 0 1em;
}

table {
    width: 100%;
    resize: vertical;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
    transition: 1s;
}

img:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.user-avatar span {
    background-position: top !important;
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
    transition: 1s;
}

.user-avatar span:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.scrollbox {
    height: auto !important;
}
pre {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    overflow: auto;
    margin: .5em 0;
    padding: .5em 1em;
    max-height: 10em;
    border-style: solid;
    border-width: 1px;
}

.bbuline {
    font-style: inherit;
    text-decoration: underline;
}

.button,
.postlink a {
    font: 16px 'Playfair Display', serif;
    padding: 10px 15px;
    border-style: solid;
    border-width: 1px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
}


/* Тело форума */

.punbb {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column;
    flex-flow: column;
}

.punbb > * {
    -webkit-order: 5;
    order: 5;
}

#pun-navlinks {
    -webkit-order: 0;
    order: 0;
    text-transform: uppercase;
}

#pun-ulinks {
    -webkit-order: 2;
    order: 2;
    font-variant: all-small-caps;
}

@media screen and (max-width: 540px) {
  #pun-navlinks {
    padding-left: 60px;
  }
  .punbb #pun-ulinks {
    left: 0;
    top: 1em !important;
  }
  #pun-ulinks ul {
    width: 170px;
    left: 0;
  }
  #pun-announcement,
  #pun-main,
  #pun-stats h2 {
    padding: 0 20px;
  }
  .punbb .multipage {
    margin-top: 0 !important;
  }
  #pun-ulinks, #pun-navlinks .container li a, #pun-navlinks .container li a:hover {
        border-radius: 0 !important;
  }
}

#pun-navlinks ul,
#pun-ulinks ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
#pun-navlinks li,
#pun-ulinks li {
    margin-left: 70px;
    margin-top: .8em;
}
#pun-navlinks a,
#pun-ulinks a {
    text-decoration: none;
}

#pun-title {
    -webkit-order: 1;
    order: 1;
    margin: 20px 0;
}

#pun-title h1 {
    margin: 0.2em 0;
    font-weight: normal;
}

#pun-title tr,
#pun-title td {
    display: block;
    padding: 0;
}

#pun-status {
    position: relative;
    margin-top: 20px;
    -webkit-order: 3;
    order: 3;
}

#pun-status::before {
    content: '\00A0MINIMO\00BBmybb';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#pun-status p {
    margin: 10px 0;
    font-size: .9em;
}

#pun-announcement {
    margin: 20px 0;
}

#pun-main {
    margin-top: 20px;
}

.crumbs {
    font-family: Ubuntu, sans-serif;
    font-variant: all-small-caps;
    margin: 20px 0;
    text-align: center;
}

#pun-announcement h2,
#pun-stats h2,
.category h2,
#pun-main h1,
#pun-viewtopic h4,
.post-links a {
    font-family: Ubuntu, sans-serif;
    text-transform: uppercase;
    font-size: .8em;
    margin: 0.2em 0;
    font-weight: normal;
}

#pun-viewtopic h4 {
    margin: 0;
}

.post-links a {
    text-decoration: none;
}

#pun-announcement .container {
    border-width: 1px;
    border-style: solid;
    padding: 14px 20px;
    margin-top: 20px;
}

#pun-about,
#html-footer {
    width: 100%;
    margin-left: -70px;
    padding: 10px 70px;
    text-align: right;
}

#pun-about {
    padding-top: 20px;
}

#pun-about p {
    margin: 0;
}

#html-footer {
    padding-bottom: 30px;
    text-align: center;
}

@media screen and (min-width: 1200px) {
  body {
    padding: 35px calc(50% - 530px) 0;
  }
  #pun-about,
  #html-footer {
    padding: 10px calc(50vw - 530px);
    width: 100vw;
    box-sizing: border-box;
    margin-left: calc(-50vw + 530px);
  }
}

@media screen and (max-width: 700px) {
  body {
    padding: 5vw 10% 0;
  }
  #pun-about,
  #html-footer {
    padding: 10px 12.5%;
    margin-left: -12.5%;
  }
}

@media screen and (max-width: 540px) {
  body {
    padding: 0;
  }
  #pun-about,
  #html-footer {
    padding: 10px 0;
    margin: 0;
  }
  #pun-ulinks ul li {
        padding: 10px 20px !important;
        margin: 0;
  }
}


/* Главная */

.category thead {
    display: none;
}

.category table {
    display: block;
    width: 100%;
}

.category tbody {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-evenly;
    justify-content: space-evenly;
    gap: 20px;
    margin: 20px 0 40px 0;
}

.category tr {
    box-sizing: border-box;
    width: 460px;
    display: -webkit-flex;
    display: flex;
   -webkit-flex-grow: 1;
    flex-grow: 1;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    border-width: 1px;
    border-style: solid;
    padding: 0px 20px 14px;
}

.category .tcl,
.category .tcr {
    width: 100%;
}

.punbb .category .tc2,
.punbb .category .tc3 {
    font-family: Ubuntu, sans-serif;
    text-transform: uppercase;
    font-size: .8em;
    width: 49% !important;
    -webkit-align-self: end;
    align-self: end;
    -webkit-order: 2;
    order: 2;
    display: block !important;
}

.category .tc2 {
    text-align: left;
}

.category .tc3 {
    text-align: right;
}

.category .tcr {
    -webkit-align-self: end;
    align-self: end;
    margin: 0.5em 0 0;
}

.category .tc2::before {
    content: 'тем: ';
}

.category .tc3::before {
    content: 'Сообщений: ';
}

.tclcon h3 {
    margin: 20px 0;
    font-size: 1.4em;
    font-weight: normal;
}

.tclcon h3 a,
.forum .tclcon a,
.tc2 a,
.tc3 a {
    text-decoration: none;
}

.tclcon h3 a:hover,
.forum .tclcon a:hover,
.tc2 a:hover,
.tc3 a:hover {
    text-decoration: underline;
}

.tc2 a,
.tc3 a {
    font-family: Ubuntu, sans-serif;
    text-transform: uppercase;
    font-size: .8em;
}

#pun-stats li.item1, #pun-stats li.item2 {
    float: left;
    clear: both;
    line-height: 150%;
}
#pun-stats li.item3, #pun-stats li.item4 {
    text-align: right;
    line-height: 150%;
}
#onlinelist {
    margin-top: .5em;
}


/* Разделы */

.forum .tclcon a {
    font-size: 1.4em;
}

.linkst,
.linksb,
.modmenu:not(#topic-users-in) .container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin: 2em 0;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
}
#pun-searchtopics .modmenu {
    float: right;
}

.linkst > div,
.linksb > div {
    -webkit-order: 1;
    order: 1;
}

.punbb .linkst .pagelink,
.punbb .linksb .pagelink {
    -webkit-order: 0;
    order: 0;
    margin-top: 0;
}

@media screen and (max-width: 480px) {
  .punbb .linkst .pagelink,
  .punbb .linksb .pagelink  {
    width: 100% !important;
  }
  .linkst noindex,
  .linksb noindex,
  .punbb .linkst > .postlink,
  .punbb .linksb > .postlink,
  .modmenu:not(#topic-users-in) .container span {
    margin-top: 2em;
    width: 100% !important;
    text-align: right;
  }
  .subscribelink {
    margin-top: 1em;
  }
}

.linkst .postlink,
.linksb .postlink,
.linksb noindex {
    text-align: right;
    -webkit-order: 2;
    order: 2;
}

#pun-main .postlink.long {
    width: auto;
}

.subscribelink a {
    font-weight: normal;
}


#pun-viewforum #pun-main #subforums {
    padding: 1em 0;
}

th {
    font-weight: normal;
    font-family: Ubuntu, sans-serif;
    font-variant: all-small-caps;
}

#pun-main th,
.multipage td,
#profile-right li {
    padding: .5em 0;
}

@media screen and (max-width: 540px) {
    .punbb tbody.hasicon tr td.tcl {
        padding-left: 0 !important;
    }
}

.tc2,
.tc3 {
    text-align: center;
}

#pun-viewforum .tcl {
    width: 50%;
}

#pun-viewforum .tc2,
#pun-searchtopics .tc3 {
    width: 6em;
}

#pun-viewforum .tc3 {
    width: 8em;
}

@media screen and (max-width: 900px) {
  #pun-viewforum .tc3,
  #pun-searchtopics .tc2 {
    display: none;
  }
}

.icon {
    position: relative;
    float: left;
    margin-right: 0.5em;
    border-style: solid;
    border-width: 0.7em;
    border-radius: 50%;
}

.inew .icon::after {
    content: '!';
    display: block;
    position: absolute;
    top: -1em;
    left: -1em;
    font-weight: bold;
}

.pagelink {
    font-size: 1.2em;
}

.pagelink strong,
.pagelink a {
    margin: 0 .5em;
}

.pagestext a {
    margin: 0 .2em;
}


/* Топик */

#pun-viewtopic #pun-main h1 {
    display: none;
}

.post {
    margin: 1em 0;
    border-bottom: solid 1px;
}

.post h3 {
    font-weight: normal;
}

.post h5 {
    font-size: 1.5em;
    font-weight: normal;
    margin: 0.8em 0;
}

.punbb .post h3 span {
    background: none !important;
}

.post h3 strong {
    float: right;
}

.post > .container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.post > .container > div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.post-author,
#viewprofile #profile-left {
    width: 210px;
    padding-left: 20px;
    line-height: 2em;
    text-align: right;
    font-size: .8em;
    box-sizing: border-box;
}

.post-author ul,
#viewprofile #profile-left {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.post-author li,
#viewprofile #profile-left li {
    -webkit-order: 2;
    order: 2;
}

.post-author li.pa-avatar,
#viewprofile #profile-left li#pa-avatar {
    -webkit-order: 0;
    order: 0;
}

.post-author li.pa-title {
    padding-top: 10px !important;
    margin-top: 10px !important;
}


#pun-viewtopic .post:not(.topicpost) .post-author li.pa-title:not(.pa-avatar) {
    border-width: 1px 1px 0 1px;
}

#pun-viewtopic .post:not(.topicpost) .post-author li:not(.pa-avatar):last-child {
    padding-bottom: 10px;
    border-width: 0 1px 1px 1px;
    padding-left: 20px !important;
}

@media screen and (max-width: 540px) {
  li.pa-avatar {
    height: 0;
    margin-top: 0;
  }
  .topicpost .pa-avatar img {
    float: right;
    margin: 0.2em;
  }
}

.post-author li.pa-ua {
    justify-content: right;
}

.pa-author,
#profile-name {
    font-size: 1.5em;
}

.pa-title,
#profile-title {
    font-style: italic;
}

.pa-author strong,
#profile-left #profile-name strong,
#profile-left #profile-title strong {
    font-weight: normal !important;
}

.post-body,
#viewprofile #profile-right {
    width: calc(100% - 210px);
}

@media screen and (max-width: 900px) {
  .post-author,
  #viewprofile #profile-left {
    width: 140px;
  }
  .post-body,
  #viewprofile #profile-right {
    width: calc(100% - 140px);
  }
}

@media screen and (max-width: 540px) {
  .post-author,
  #viewprofile #profile-left {
    width: 100%;
  }
  .post-body,
  #viewprofile #profile-right {
    width: 100%;
  }
  .topicpost .post-body {
    padding-top: .5em;
  }
}

.post-content {
    text-align: justify;
}

.quote-box {
    margin-bottom: .5em;
}

blockquote {
    margin: 0.5em 0;
    padding: 0.5em 1em;
    border-style: solid;
    border-width: 1px;
}

cite {
    display: block;
    font-style: normal;
    font-family: Ubuntu, sans-serif;
}

.code-box strong {
    display: none;
}

.spoiler-box > div {background:url('/img/plus.png') no-repeat left center; cursor:pointer; padding-left:18px}
.spoiler-box > div.visible {background-image:url('/img/minus.png')}
.spoiler-box > blockquote {display:none}
.spoiler-box > blockquote.visible {display:block; overflow:auto}

.post-sig,
#viewprofile #profile-signature {
    margin: .5em 0;
    padding: .5em 0;
    border-top: 1px inset;
}

#viewprofile #profile-signature ul {
    border: none;
    padding: 0;
}

dd {
    margin: 0;
}

.post-links {
    width: 100%;
    text-align: right;
    margin: 20px 0;
}

.post-links li {
    display: inline-block;
    margin: 0 0 0 1em;
}
.post-links li.pl-email {
    float: left;
    margin: 0 1em 0 0;
}

.hashelp {
    position: relative;
}

#tags .container {
    padding: 0.5em 1em;
    top: 30px !important;
    background-color: white;
    border-style: solid;
    border-width: 1px;
}

#smilies-block {
    text-align: justify;
}

.formsubmit {
    margin-top: 1em;
}

#topic-users-in a:not(:last-child)::after {
    content: ',';
}

#pun-live-rusff {
    display: none;
}


/* Комменты */

#pun-viewtopic .post:not(.topicpost) h3 {
    float: right;
    margin: 0;
    position: relative;
    bottom: -1em;
}

#pun-viewtopic .post:not(.topicpost) h3 span > * {
    display: none;
}

#pun-viewtopic .post:not(.topicpost) h3 span .permalink {
    display: inline-block;
}

#pun-viewtopic .post:not(.topicpost) > .container {
    -webkit-flex-direction: row;
    flex-direction: row;
    width: 100%;
}

#pun-viewtopic .post:not(.topicpost) .post-author {
    text-align: left;
    padding-left: 0;
    padding-right: 30px;
    width: 80px !important;
    position: relative;
    background-color: transparent !important;
    border-bottom: none !important;
}

#pun-viewtopic .post:not(.topicpost) .post-author.no-avatar ul::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background: url(http://forumavatars.ru/i/default_avatar.jpg) top no-repeat;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
    border-radius: 50%;
}

#pun-viewtopic .post:not(.topicpost) .post-author li:not(.pa-avatar) {
    display: none;
    border-style: solid;
    border-width: 0 1px;
}

#pun-viewtopic .post:not(.topicpost) .post-author ul:hover li:not(.pa-avatar) {
    display: block;
    width: 200px;
    margin: 0;
}

#pun-viewtopic .post:not(.topicpost) .pa-avatar {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}

#pun-viewtopic .post:not(.topicpost) .pa-avatar img {
    max-height: unset;
}

#pun-viewtopic .post:not(.topicpost) .post-author li.pa-author {
    display: block;
    position: absolute;
    left: 80px;
    white-space: nowrap;
    border: none;
}

#pun-viewtopic .post:not(.topicpost) .post-body {
    width: calc(100% - 80px);
    margin-top: 2em !important;
}


/* Профиль */

#viewprofile-next {
    margin-top: 1em;
}

#viewprofile table {
    margin-bottom: 1em;
}

#profilenav {
    font-size: 1.2em;
    line-height: 1.5em;
}

#profilenav ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px 20px;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 20px;
}

#profilenav ul a {
    text-decoration: none;
    font-variant: all-small-caps;
}

#viewprofile-next #profilenav {
    display: none;
}

#viewprofile tr {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

#profile-left {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

#profile-right li {
    display: -webkit-flex;
    display: flex;
    line-height: 1.5em;
}

#profile-right li > span {
    width: 12em;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-align-self: center;
    align-self: center;
}

.formal .input a {
    margin: 0 .5em;
}

.formal .registered .input a,
.formal .last-visit .input a {
    margin: 0;
}

fieldset p:last-child {
    margin-bottom: 0;
}


/* Прочее */

.inline .inputfield,
.inline .selectfield {
    display: inline-block;
    margin-right: 1em;
}

#profile2 .radiofield br,
#profile8 .radiofield br {
    display: none;
}

#awards-content td:not(.tcl):not(.tc2) {
    width: 50%;
}

#form-buttons {
    margin-bottom: .5em;
}
.punbb #form-buttons td {
    background-image: unset;
    position: relative;
}
.punbb #form-buttons td img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
#form-buttons td:hover {
    outline: 1px solid;
    outline-offset: -1px;
}
#form-buttons td::before {
    font-family: "mybb";
    speak: none;
    display: inline-block;
    width: 1em;
    line-height: 1.5em;
}
#button-font::before {content: '\e800';}
#button-size::before {content: '\e801';}
#button-bold::before {content: '\e81e';}
#button-italic::before {content: '\e81d';}
#button-underline::before {content: '\f0cd';}
#button-strike::before {content: '\f0cc';}
#button-left::before {content: '\e81a';}
#button-center::before {content: '\e81b';}
#button-right::before {content: '\e81c';}
#button-link::before {content: '\e826';}
#button-spoiler::before {content: '\e80f';}
#button-image::before {content: '\e803';}
#button-video::before {content: '\e802';}
#button-hide::before {content: '\e812';}
#button-quote::before {content: '\e822';}
#button-code::before {content: '\e80d';}
#button-color::before {content: '\f1fb';}
#button-table::before {content: '\e80e';}
#button-smile::before {content: '\e824';}
#button-keyboard::before {content: '\f11c';}
#button-addition::before {content: '\e82b';}