/********** СТИЛЬ "nolf" © ForumD.ru  *********/
/******* Заказ дизайна: https://forumd.ru ********/

@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://forumstatic.ru/files/0015/1e/ae/53312.css?family=Montserrat');
@import url(style_cs.1753874139.css);

@viewport {
  min-width: 790px;
  max-width: 2200px;
}

@viewport {
  orientation: auto;
}

/*Кнопки смены стиля*/
#stylelist {cursor: pointer; 
z-index: 10000; 
top: 40px; 
left: 15px; 
position: fixed!important;}

#stylelist a {
    display: block;
    width: 0;
    height: 0;
    font-size: 0;
    color: transparent;
    border-style: solid;
    border-width: 10px 10px;
    margin: 10px 0;
}
#stylelist [data="original"] a {
    border-color: #ff7800 #3d436b #3d436b #ff7800;
}
#stylelist [data="light"] a {
    border-color: #c4338a #d8d5d8 #d8d5d8 #c4338a;}
    
#stylelist [data="dark"] a {
    border-color: #004b4f #0e0c0d #0e0c0d #004b4f;
}

/* Кроссбраузерная полоса прокрутки, Firefox*/
* {
  scrollbar-width: thin;
}

/* Работает в Chrome, Edge и Safari */
*::-webkit-scrollbar {
  width: 12px;
}


*::-webkit-scrollbar-thumb {
  border-radius: 20px;
}

/*A main settings*/

body {
    margin: 0;
    min-width: 790px;
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

strong, b {font-weight:600;}

textarea, input, select {
  font-family: 'Montserrat', arial, sans-serif;
    font-size: 1.1em!important;
    resize: vertical;
}

#pun, #pun-navlinks ul, #pun-ulinks ul {
    width: 87%;
    max-width: 2200px;
    margin: auto;
}

@media screen and (max-width: 1000px) {
    #pun, #pun-navlinks ul, #pun-ulinks ul {width: 98%;}
}

#pun-navlinks li > span {
    line-height: 1.3em;
}

#pun-navlinks li a {
    display: inline-block;
}

#pun-ulinks ul li.item3, a#ip-history {
    display: none;
}

#pun {
    margin-top: 230px;
}

@media screen and (max-width: 1100px) {
    #pun {margin-top: 200px;}
}

#title-logo-table, #pun-navlinks h2, #pun-ulinks h2, #pun-announcement h2, #pun-status h2, #pun-index h1, .divider hr, .crumbs strong, #pun-break4, #pun-about, .forum h2, .acchide, .topic h2, #pun-live-rusff .cooltext, .tr-divider.imp, dt span, #post-form h2, #post fieldset legend span, #pun-userlist h2, #pun-userlist fieldset legend, #profilenav h2, #pun-movetopic fieldset legend, #messages legend, #pun-redirect h1 span, #pun-upavatar fieldset legend, #login fieldset legend, .lastedit {
    display: none;
}

.divider {
    clear: both;
}

a {
    text-decoration: none;
    font-weight: 600;
    -webkit-transition-duration: .3s;
    -moz-transition-duration: .3s;
    -ms-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
}

img {
    border: none;
    max-width: 100%;
}

p {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    margin: .5em 0;
    line-height: 150%;
}

table {
    width: 100%;
}

hr, dt {
    display: block;
    margin: 0.5em auto;
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
    overflow: hidden;
    border: 0;
}

.punbb em {
  font-style: italic
  }

.punbb em.bbuline {
    font-style: normal;
    text-decoration: underline;
}

fieldset {
    border: 0;
    padding: 0;
}

.inputfield.required {
    width: 100%;
    border: none !important;
}

#Login_Punbb label[for] {
    margin: 0 !important;
}

input[type="button" i], input[type="submit" i], input[type="reset" i], input[type="file" i]::-webkit-file-upload-button, button, .formsubmit a, #post .spelling a, .button, .inputfield.required a {
    display: inline-block;
    padding: 1px 6px;
    font-family: 'Montserrat', arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    line-height: 115% !important;
}

th {
    text-transform: uppercase;
    font-size: 10px;
}

h1, h2, h3 {
    overflow: hidden;
}

#MyBookmarks li.BookmarkL>span>a {margin: 0;}


/*B title*/

#pun-title {
    position: absolute;
    top: 0;
    left: 0;
    height: 170px;
    width: 100%;
    min-width: 790px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

@media screen and (max-width: 1100px) {
    #pun-title {height: 140px;}
}


/*C menu*/

#pun-navlinks, #pun-ulinks {
    position: absolute;
    width: 100%;
    min-width: 790px;
    left: 0;
    font-weight: 700;
}

#pun-navlinks ul li, #pun-ulinks ul li {
    display: inline-block;
    padding: 0 5px;
}

#pun-navlinks {
    text-transform: uppercase;
    top: 170px;
    height: 30px;
    line-height: 30px!important;
}

li#navextra1, li#navextra2 {
    float: right;
}

#pun-ulinks {
    text-transform: lowercase;
    top: 200px;
    height: 22px;
    line-height: 22px!important;
    font-size: .9em!important;
}

@media screen and (max-width: 1100px) {
    #pun-navlinks {top: 140px;}
    #pun-ulinks {top: 170px;}
}

#fontsize {
    position: absolute;
    z-index: 1000;
    top: 65px;
    right: 6%;
    width: 40px;
}

@media screen and (max-width: 1000px) {
    #fontsize {right: 1%;}
}

@media screen and (min-width: 2446px) {
    #fontsize {right: calc(50% - 1100px);}
}

#fontsize-id {
    display: none;
}


#fnt-table {
    background: url(https://i.ibb.co/6JCPms5/xpH4L.gif) center 0 no-repeat;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    opacity: 0.5;
}

#fnt-table:hover {
    background-position: center -19px;
}

#Login_Punbb, #Search_Punbb {
    display: none;
}

#Login_Punbb form, #Search_Punbb form {
    position: absolute;
    top: 265px;
    padding: 5px;
    z-index: 30000;
}

#Login_Punbb form {
    left: calc(50% - 14em);
    width: 35em;
}

#Login_Punbb form legend {
    text-transform: uppercase;
    font-weight: 600;
}

#Login_Punbb .formsubmit input {
    float: right;
}

#Search_Punbb form {
    left: calc(50% - 10em);
    width: 25em;
    text-align: center;
}

@media screen and (max-width: 1100px) {
    #Login_Punbb form, #Search_Punbb form {top: 235px;}
}

#pun-adnav a { font-weight: 600 !important;}


/*D announcement*/

#pun-announcement div.container {
    background-color: transparent;
}

.korpus {
    height: 30px;
}

.korpus > input {
    display: none;
}

.korpus label {
    line-height: 30px;
    padding: 2px 6px;
    cursor: pointer;
    font-size: .9em!important;
    font-weight: 600;
    -webkit-transition-duration: .3s;
    -moz-transition-duration: .3s;
    -ms-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
}

.korpus > div {
    display: none;
    float: left;
    width: calc(100% - 280px);
    height: 190px;
    padding: 15px;
    overflow: auto;
}

.korpus > input:nth-of-type(1):checked ~ div:nth-of-type(1),
.korpus > input:nth-of-type(2):checked ~ div:nth-of-type(2),
.korpus > input:nth-of-type(3):checked ~ div:nth-of-type(3),
.korpus > input:nth-of-type(4):checked ~ div:nth-of-type(4) {
    display: block;
}

.korpus table.news {
    width: 100%;
    height: 160px;
}

#banners a {
    font-weight: 600;
}

#css-menu ul li {
    float: left;
    width: fit-content;
    text-align: center;
}

#css-menu ul li a span {
    display: block;
}

#css-menu ul li a span.text-top {
    font-weight: 600;
    margin: 2px 20px;
    line-height: 19px;
}

#css-menu ul li a span.text-bottom {
    position: absolute;
    opacity: 0;
    padding:  5px;
    min-width: 168px;
    margin-top: -6px;
}

#css-menu ul li a:hover span.text-bottom {
    opacity: 1;
    -webkit-transition-duration: .8s;
    -moz-transition-duration: .8s;
    -ms-transition-duration: .8s;
    -o-transition-duration: .8s;
    transition-duration: .8s;
}

#banners {
    width: 112px;
    height: 125px;
    float: right;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
}

#banners img {padding: 2px 0;
    transition: all .5s ease-in-out 0s;
    filter: grayscale(100%) opacity(50%);
}

#banners img:hover{
transition: all .5s ease-in-out 0s;
filter: grayscale(0%) opacity(100%);
}
}

#banners_2 {
    height: 22px;
    line-height: 22px!important;
    font-size: 12px!important;
    font-weight: 600;
}

.square {
  margin: 0;
  counter-reset: li;
  list-style: none;
  padding: 10px;
}
.square li {
  position: relative;
  margin: 0 0 10px 2em;
  padding: 4px 8px;
  transition: .3s linear;
}
.square li:last-child {margin-bottom: 0;}
.square li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  top: -2px;
  left: -2em;
  width: 2em;
  box-sizing: border-box;
  margin-right: 8px;
  padding: 4px;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  text-align: center;
  transition: .3s linear;
}

.square li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}


/*E status*/

#pun-status {
    position: relative;
    width: 246px;
    height: 90px;
    float: right;
    margin-top: 5px;
    text-transform: uppercase;
}

.punbb-admin #pun-status {
    width: 100%;
    height: auto;
    margin-top: 0;
    float: none;
}

#pun-status p {
    margin: 9px 0;
    font-size: .7em!important;
}

.punbb-admin #pun-status p {
    margin: 0;
    padding: 0 5px;
}

@media screen and (max-width: 1000px) {
    #pun-navlinks ul li, #pun-ulinks ul li, .punbb-admin #pun-status p {padding: 0 2px!important;}
}

#pun-status a {
    font-weight: 600;
}

#pun-status span {
    display: block;
    text-align: right;
    margin-right: 5px;
}

.punbb-admin #pun-status span {
    display: inline;
}

#pun-status .status_userava {
    position: absolute;
    top: -135px;
    width: 126px;
    height: 126px;
    overflow: hidden;
}

#pun-status .status_userava img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
    
.crumbs {
    text-transform: uppercase;
    font-weight: 600;
}

/*F stat*/

body.redirect-page #pun {
    width: 100%;
}

#pun-redirect h1 {
    opacity: 0;
    height: 75px;
    line-height: 100px;
    font-weight: 600;
    background-repeat: no-repeat;
    background-position: bottom;
    -webkit-animation: anim 1.3s ease-in;
    animation: anim 1.3s ease-in;
}

@-webkit-keyframes anim {
    from {opacity: 1;}
    to {opacity: 0;}
}
@keyframes anim {
    from {opacity: 1;}
    to {opacity: 0;}
}

.statscon .container, #pun-redirect .info .container {
    padding: 20px 40px;
}

#pun-redirect .info .container {
    width: 50%;
    margin: auto;
}

#pun-stats, #forum-anc {    -webkit-text-size-adjust: 100%;}

#pun-stats .statscon .item1, #pun-stats .statscon .item2 {
    float: left;
    clear: both;
}

#pun-stats .statscon .item3, #pun-stats .statscon .item4 {
    text-align: right;
}

#pun-stats #onlinelist {
    padding-top: 1em;
}

#similar-topics table td {
    padding: .5em 1em;
}


/*G footer*/

#html-footer {
    position: absolute;
    left: 0;
    width: 100%;
    min-width: 790px;
}

#html-footer #copy {
    height: 52px;
    line-height: 52px;
    text-transform: uppercase;
    text-align: center;
    font-style: italic;
    font-size: .9em!important;
}

#copy a {
    font-size: 12px;
}


/*H forum*/

#pun-main {
    position: relative;
}

.main h1, h2 {
    margin: .5em 0 0;
    line-height: 1.3em;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2em!important;
    font-weight: 600;
}

.main h1, #pun-stats h2 {height: 1.5em;}

h2 {height: 2.6em;}

#jGrowl h2 {
    height: auto;
}

.category table th, .forum table th {
    padding: 5px 40px;
}

.category table td, .forum table td {
    padding: 5px 40px .5em;
    line-height: 150%;
        -webkit-text-size-adjust: 100%;
}

/* Описание категорий */
.catright:after {font-size: 14px;
    text-transform: lowercase;
    font-weight: normal;}

div#pun-category1 .catright:after {content: 'Незасекреченная информация о мире и форуме, организационные темы';}
div#pun-category2 .catright:after {content: 'Только секретные материалы и игровое пространство в штабах организаций';}
div#pun-category3 .catright:after {content: 'Общее игровое пространство: текущая миссия, прошлое, взрослый раздел и так далее';}
div#pun-category4 .catright:after {content: 'Для рекламы, партнёрства, творчества и общения вне игры';}
div#pun-category5 .catright:after {content: 'Архивные разделы с завершёнными миссиями и архив устаревших и неактуальных тем';}

.tcl {
    text-align: left;
}

.tcl .pagestext {
    display: inline;
}

.tclcon {
    padding-bottom: 1em;
}

.tclcon h3 {
    margin: .5em 0;
    text-transform: uppercase;
}

.tclcon h3 a {font-weight: 600;}

.tclcon .modlist {
    display: inline-block;
    margin: .5em 0 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
}

@media screen and (max-width: 960px) {
  .tclcon table td {
    display: block;
    padding: 5px 0;
  }
}

#pun-index .isub td.tcl {padding-left: 3em !important;
    line-height: 100% !important;
}

#pun-index .isub .Tems_And_messages,  #pun-index .isub .tcr  {display: none;}

#pun-index .isub .tclcon {padding-bottom: 0em !important;}

.Tems_And_messages {
    display: inline-block;
    padding: 0 .2em .1em;
    margin-top: 3em;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}

.punbb:not(#pun-mod) .category .tc2, .category .tc3, .category .d_title, .forum .tc2, .forum .tc3 {
    display: none!important;
}

#pun-mod .category .tc2 {
    display: table-cell;
}

.category .tcr, .forum .tcr {
    padding-left: 20px;
    text-align: right;
}

span.lastpost, .tcr a, .forum .tcr .byuser {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.category .tcr {
    width: 30%;
}

.forum .tcr {
    width: 40%;
}

.category .tcr a::before, .forum .tcr a::before {
    content: '» ';
display: none;
}

.tr-divider.st {
    display: table-row;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}

.forum .tcr .byuser {display: block;}

.user-avatar .isonline {
    animation: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    top: 27px !important;
    width: 10px !important;
    height: 10px !important;
}

#pun-online h1 {margin-top: 5px;}
#pun-register .formal {padding: 1em;}

/*H.1 icon*/
#pun-index .isub .tcl .icon {margin-left: -20px;}

.tcl .icon {
    float: left;
    margin-left: -33px;
    height: 27px;
    width: 27px;
    background-repeat: no-repeat;
}

.tcl .stickytext, .tcl .closedtext, .tcl .newtext a::after, .closedatafield {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 2px;
    font-size: 0!important;
    color: transparent;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.tcl .newtext a {font-weight: 600;}

.tcl .newtext a::after {
    content: '';
}

.tcl .stickytext, .tcl .closedtext, .closedatafield {
    float: left;
}

.tcl .stickytext {background-position: -60px;}
.tcl .closedtext, .closedatafield {background-position: -75px;}
.tcl .newtext a::after {background-position: -15px;}
.inew .icon {background-position: -30px;}
.isticky .icon {background-position: -60px;}
.isticky.inew .icon {background-position: -90px;}

#pun-index .isub .icon {
    width: 13px;
    height: 13px;
    background-position: center;
    background-repeat: no-repeat;
}

/*H.2 p-message*/

#modal-m {
    display: none;
    position: absolute;
    width: 240px;
    height: 155px;
    right: 100px;
    padding: 10px;
    padding-bottom: 0;
    z-index: 1
}

#modal-m span {
    display: block;
}

.name-author, #punbbsearch legend span {
    width: 100%;
    text-transform: uppercase;
    font-size: .8em!important;
    font-weight: 600;
}

.p-messages {
    height: 120px;
    max-height: 120px;
    overflow: hidden;
}

.p-messages img {
    max-height: 60px;
}

/*H.3 arrows*/

.go-up, .go-down {
    display: block;
    position: fixed;
    width: 33px;
    height: 16px;
    right: 1%;
    bottom: 40%;
    cursor: pointer;
    background-repeat: no-repeat;
    opacity: .7;
    z-index: 100;
}

@media screen and (min-width: 2446px) {
    .go-up, .go-down {right: calc(50% - 1200px)!important; bottom: 60%!important;}
}

.go-up:hover, .go-down:hover {
    opacity: 1;
}
    
.go-up {
    margin-bottom: 32px !important;
    background-position: top;
}

.go-down {
    background-position: bottom;
}


/*I topic*/

.main h1 {
    margin-top: 1.7em;
}

.linkst {
    position: absolute;
    width: 100%;
    left: 0;
    top: -1.6em;
}

#pun-main div#pun-live-rusff {
    float: right;
    position: absolute;
    top: -1.9em;
    right: 0;
    width: auto;
}

span.cool2 {
    height: 1.6em;
}

div#pun-live-rusff-peoples div.people-head {
    text-transform: uppercase;
    font-size: .6em!important;
    font-weight: 600;
    margin-bottom: 0;
}

#pun-live-rusff-peoples div.person {
    margin-bottom: 0;
    margin-top: 11px;
}

.linksb {
    height: 1.5em;
    padding-top: .5em;
}

.linksb .subscribelink {float: left;
    text-transform: uppercase;
    position: relative;
    margin-left: 2em;
    margin-bottom: .5em;}

.postlink {
    float: right;
    text-align: right;
    margin-left: 1em;
    text-transform: uppercase;
}

.pagelink, .modmenu {
    min-height: 2em;
}

.modmenu a {padding: 2px;}

.modmenu {
    text-transform: uppercase;
    font-size: 10px;
}

.pagelink {
    float: left;
    text-transform: uppercase;
}

#pun-admain .submitend {
    margin-bottom: 1.4em;
}

.submitend .pagelink {
    width: 100%;
}

.submitend .pagelink {padding: 0 !important;}

#pun-viewforum .modmenu span, #pun-searchtopics .modmenu span, #topic-modmenu span, #pun-multimove .modmenu {
    float: right;
}

.post .clearer, .post-sig, .modmenu {
    clear: both;
}

#pun-main #subforums {
    text-transform: uppercase;
    font-weight: 600;
}

a.topic-subscribe.un, a.topic-subscribe {
margin-top: -1em;
    text-transform: uppercase;
    padding: 5px;
    font-size: .8em !important;}
    
    /*Скрыть подпись в конкретных топиках*/
    #topic_t525 .post-sig {display: none;}


/*J post*/

.post h3 {
    margin: .5em 0 0;
    padding: .1em 1em .3em;
    height: 1.2em;
}

.post h3 strong, #pun-viewtopic .post h3 a, #pun-multimove  .post h3 a, #pun-messages h3 span {
    float: right;
}

#pun-searchposts .post h3 span {
    margin-left: 240px;
}

.post-content .highlight-text, .post-content .charlist_title {padding: 5px}

.post-content .charlist_title {text-transform: uppercase; font-weight: bold;}


.post h3 strong {
    margin-left: 1em;
    margin-top: .1em;
}

a.permalink, .post h3 a.sharelink {
    margin-top: 0;
    font-weight: 600;
}

.post h3 a.sharelink {
    color: transparent !important;
    width: 1.7em;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1em;
}

.post h3 a.sharelink::before {
    line-height: .8em;
font-family: "Font Awesome 6 Free"!important;
    content: '\f1e0'!important;
    font-weight: 900;
}

    
    ul.post-ul-Sp.Sp2, ul.post-ul-Sp.Sp4 {
    text-align: left;
    padding: .5em 1em;
    
}

/*Номер сообщения*/
.post h3 strong:before {
    content: '#';
}

.post-content p {
    text-align: justify;
}

.punbb .post-content p img.postimg {
    margin: 0;
}

.post-content a {
    font-weight: 600;
}

.post .container {
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

/*Исправление быстрого редактирования*/
.post .container #post{ flex-direction:column;}

.post .post-author, #viewprofile #profile-left {
    position: relative;
    width: 240px;
    text-align: center;
    line-height: 150%;
}

.post .post-author {
    padding-bottom: 2.2em;
}

.post .post-author li.pa-author a {
    font-size: 1.2em !important;
}

.post .post-author li.pa-author {
    position: absolute;
    width: calc(100% - .6em);
    margin-top: -1.8em;
    padding: 0em 1em;
    font-weight: 600;
}



.post .post-author li.pa-title, #profile-title {
    padding: 0 1em .2em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
}

.post .post-author li.pa-avatar {
    padding-top: .3em;
}

.post-author img.a-info {
    display:none!important
}

.post .post-author img.post-img-Sp {
    height: 36px;
    width: 34px;
    border: 0;
    margin: 0 6px;
    opacity: 0.7;
}

.post .post-author img.post-img-Sp:hover {
    opacity: 1;
}

.post .post-author img.post-img-Sp[data=".Sp2"] {background-position: -35px;}
.post .post-author img.post-img-Sp[data=".Sp3"] {background-position: -70px;}
.post .post-author img.post-img-Sp[data=".Sp4"] {background-position: -105px;}

/*Поля профиля*/

.post .post-author li.pa-online, .post .post-author li.pa-last-visit {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}

li.pa-fld2, li.pa-fld4 {text-align: center;}

.punbb li.pa-fld1, ul.post-ul-Sp.Sp1 {font-size: .9em;}

.punbb .pa-respect, .punbb .pa-positive {
    display: inline-block;
    padding: .5em 1em;
    width: 34%;
}

.post .post-author li.pa-fld3 {
    position: relative;
    width: 228px;
    margin: auto;
    height: 28px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: 600;
}

.post .post-author li.pa-fld3::before, .post .post-author li.pa-fld3::after {
    position: absolute;
    content: '';
    height: 100%;
    width: 2px;
}

.post .post-author li.pa-fld3::before {
    left: -4px;
}

.post .post-author li.pa-fld3::after {
    right: -4px;
}

.post .post-author li.pa-fld3 .MyredirICon {
    cursor: pointer;
}

.post .post-body {
    width: calc(100% - 240px);
}

.post-content, .info .container, #viewprofile > .container, #pun-movetopic fieldset, #pun-upavatar fieldset {
    padding: 1em;
}

.quote-box > div, .code-box {
    padding: .5em 1em;
}

#pun-respect .section .container table, #pun-positive .section .container table { padding: .5em;}

.code-box a {
    text-transform: uppercase;
}

.quote-box {
    padding: .5em 0 0 .5em;
}

.quote-box.with-avatar {
    padding-left: 50px!important;
}

.author-avatar {
    float: left;
    width: 29px;
    margin-left: -40px;
    margin-top: 7px;
    height: 29px;
}

.post-content .quote-box cite {
    text-transform: uppercase;
    font-style: normal;
    font-weight: 600;
}

.post-content .quote-box.with-avatar > cite {
    margin-left:0px;
}

.author-avatar > img {
    width: 28px;
    padding: 2px;
}

a.qc-post-link {
    width: 13px;
    height: 13px;
    display: inline-block;
    background-position: -90px;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

a.qc-post-link img {
    visibility: hidden;
}

blockquote {
    padding: .5em;
    margin: 0;
}

.post-content .quote-box.spoiler-box > div {
    background-position: -88px;
    background-repeat: no-repeat;
    background-size: auto 13px;
}

.post-content .quote-box.spoiler-box {
    padding-bottom: 2em;
}

.post-content .quote-box.spoiler-box .button {
    margin: .5em 0;
}

.scrollbox {
    height: max-content !important;
    height: -moz-max-content !important;
}

.scrollbox pre {
    background-color: transparent;
    font-size: 1em!important;
    overflow: auto;
    padding: 0.2em;
    margin: 1em 0 0;
}

.post .fs-box .container {
    flex-direction: column;
}

.post .post-links {
    z-index: 1;
    width: 100%;
    text-transform: uppercase;
    font-size: 10px;
    margin: -1.7em 1em 0;
}

.post .post-links li {
    display: inline-block;
    float: right;
    padding: 0.3em;
    margin: 0 .1em;
    font-weight: 600;
}

.post .post-links li.pl-email {
    float: left;
}

#respect img {
    background-position: top !important;
}

div#share {
    padding: .5em;
}

/* Полезность поста */
.post-vote {
  display: block !important;
  position: relative;
}

.post .post-rating p {margin-right: 1em; padding: 0 !important;}
.post-rating p.container a {padding: 5px; display: inline-block;}

.post-vote .container a:first-child:before, .post-vote .container a:last-child:before {
  display: inline-block;
  position: relative;
}

.mylike a[onclick*=vote]:after, .post-vote .container a:first-child:before  {
    font-family: "mybb";
    content: '\e818';
    padding-left: 3px;
}

.mydislike a[onclick*=vote]:after, .post-vote .container a:last-child:before {content: '\0020\2717';}

.mylike .post-vote p.container, .mydislike .post-vote p.container {display: none;}
.mylike li.pa-respect > a, .mydislike li.pa-respect > a {display: none;}

.clearer {
    display: block;
    height: 0.5em;
}

/*K post-form*/

#post-form {
    clear: both;
    margin: .5em 0;
}

#post fieldset, #pun-messages #post {
    padding: 0 .5em .5em;
}

#pun-messages #post, #pun-messages .post {
    margin-bottom: .5em;
}

fieldset, .fs-box {
    position: relative;
}

fieldset .hashelp .container, .post #post .hashelp .container, #addition-area div {
    z-index: 1;
    padding: .5em !important;
    margin-top: -6px;
}



#post-sig {
    position: relative;
}

#profile #post-sig div.container {
    margin-top: -10px;
}

#pun-edit #post fieldset .container {
    margin-top: 1.8em;
}


textarea#main-reply, #wysi-reply {
    width: 98%!important;
    margin: auto!important;
}

/* календарь на главной */
input[type="date"] {padding: 4px; resize: none; margin: 6px;}


#post .spelling {
    float: right;
    text-align: right;
}

#post .spelling span {
    display: block;
    padding: 5px;
    margin-top: .5em;
    opacity: .3;
}

#post .spelling:hover span {opacity: 1;}

/*кнопочки в форме ответа*/
#form-buttons {margin-top: 10px !important;}
#form-buttons tr {height: 30px !important;}
 #form-buttons td {position: relative; line-height: 1!important; text-align: center; background: none !important;}
#form-buttons td img {position: absolute; z-index: 1; height: 100%; width: 100%; top: 0; right: 0; bottom: 0; left: 0 !important;}
#form-buttons td:before  {z-index: 1;  font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size:1.3em; font-style: normal !important; }

td#button-font:before {content: '\f031' !important;}
td#button-size:before {content: '\f034'!important;}
td#button-bold:before {content: '\f032'!important; }
td#button-italic:before {content: '\f033'!important;}
td#button-underline:before {content: '\f0cd'!important;}
td#button-strike:before {content: '\f0cc'!important; }
td#button-left:before {content: '\f036'!important; }
td#button-center:before {content: '\f037'!important; }
td#button-right:before {content: '\f038'!important; }
td#button-link:before {content: '\f0c1'; }
td#button-spoiler:before {content: '\f0c4'!important; }
td#button-image:before {content: '\f1c5'!important; }
td#button-video:before {content: '\f04b'; position: relative; left: 4px!important;}
td#button-hide:before {content: '\f023'!important;}
td#button-quote:before {content: '\f10d'!important;}
td#button-code:before {content: '\f121'!important;}
td#button-color:before {content: '\f1fc'!important;}
td#button-smile:before {content: '\f118'!important;}
td#button-keyboard:before {content: '\f11c'!important;}
td#button-geo:before, span.button-geo:before {content: '\f0ac'!important; }
td#button-table:before {content: '\f0ce'!important;}
td#button-addition:before {content: '\f0dd'!important;} 
td#button-Change&#65533;ase:before {content: '\f1dc'!important;} 
td#button-styles:before {content: '\f328'!important;} 
#text-left:before {content: '\f036'!important; }
#text-right:before {content: '\f038'!important;}
#button-transL:before {content: '\f15d'!important; }
#button-indent:before {content: '\f03c'!important;}
#button-list:before {content: '\f0ae'!important;}
#button-prev:before {content: '\f78c'!important; }
#button-music:before {content: '\f001'!important; }
.custom_tag_indent {margin:1em 2.1em;}
#button-mask:before {padding: 1px 2px 1px 3px; content: '\f21b'!important;}

#text-right, #text-left {z-index: 1; width: 20px; top: -45px!important;}
#add_float, #button-image #add_float img {position: absolute; z-index: 1!important;}
#form-buttons table#add_float {width: 40px; left: -7px!important;}
#button-image #add_float td {padding-bottom: 10px!important;}
#button-image>center {opacity: 0; visibility: hidden!important;}
#button-image:hover>center {opacity: 1; visibility: visible!important;}

/*доп смайлы*/
#My_replic_meny:before {content: '\f27b'!important; }
#meny_My_replic span {display: none;}
#meny_My_replic p {cursor: pointer;}
#wrapper {width: 450px;max-height: 374px; overflow: auto;}
#wrapper ul {display: flex; text-transform: uppercase; font-weight: 600; text-align: center; padding-bottom: 1em; font-size: .9em;}
#wrapper ul li {-webkit-flex-grow: 1; flex-grow: 1;}
#wrapper div {font-size: 0!important; text-align: justify;}
#wrapper div img {margin: 2px; max-width: 86px;}
#meny_My_replic {position: absolute; width: auto; top: auto!important; right: 6px; margin-top: .8em; margin-right: .8em; padding: 1em 1.2em .5em 1.2em;}

.image-wrapper {
  position: relative;
  padding: 5px;
  z-index: 2;
  background: #55555570;
  box-shadow: 1px 1px 20px 0 rgba(0, 0, 0, 0.1);
}


.postimg[alt="smile"] { max-width: 86px !important;} /*ограничение по размеру смайлов в постах*/


.tipsy-inner {font-size: 14px!important;}

input#dice_b {margin-left: .5em;}
#dice {display: inline-block; width: 25px; height: 25px; margin: 0 0 -7px 9px; background: transparent url('https://forumstatic.ru/files/0015/1e/ae/66265.png') no-repeat 0px center;}

#size-area {width: fit-content;}
#size-area div {
    display: inline-block;
    margin: 0 5px !important;
}

#font-area, #addition-area {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
#font-area div, #addition-area div {
    -webkit-flex-basis: 12em;
    flex-basis: 12em;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

#addition-area div {height: auto !important;}


/*L profile*/

p.inputfield, p.selectfield {
    display: inline-block;
}

p.infofield {
    font-size: 0.9em;
}

#profile3 p.inputfield {
    display: block;
}

#userlist .fs-box, #pun-profile fieldset, #punbbsearch fieldset, #login fieldset, #messages, table#filetable {
    padding: .8em 1em;
}

#messages {
    padding-left: 40px;
}

#pun-profile fieldset.radiofield {
    border: 0 !important;
    padding: 0;
}

.usertable th, #messages table th, #pun-online #pun-main th {
    padding: 5px 1em 0;
    text-align: left;
}

#messages table td, #pun-online #pun-main td {
    padding: 5px 1em .5em;
    text-align: left;
}

#pun-online #pun-main .tc3 {width: 20%;}

#pun-online table {font-size: 1em;}

#profile {
    padding-left: 15em;
    min-height: 20em;
}

#pun-messages #profile {min-height: 12em;}

#profile #setmods dl dl {margin: 0 0 .5em 1.5em;}

#profile #setmods dl dl dd {
    position: static;
    margin: 0;
}

#profilenav {
    float: left;
    margin-left: -15em;
    width: 14.5em;
    margin-top: .45em;
    text-transform: uppercase;
    line-height: 150%;
    font-weight: 600;
}

#pun-messages #profilenav {
    margin-top: 0.1em;
}

#notify-settings {
    margin-bottom: .5em !important;
    padding: .5em 1em;
}

#profilenav ul {
    padding: .5em 1em;
}

#pun-profile fieldset legend span, #punbbsearch fieldset legend span {
    border-bottom: none;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}

#profile-name {
    padding: .2em 1em;
    text-transform: uppercase;
    font-weight: 600;
}

#viewprofile #profile-left img {
    margin-top: .3em;
    margin-bottom: .5em;
}

#viewprofile td#profile-right {
    line-height: 200%;
    padding: 0 1em;
}

#profile-right li span {
    display: inline-block;
    width: 15em;
}

#viewprofile #profile-gifts {
    padding-top: 1em;
}

table#filetable { width: 97%;}

.usertable tbody {/*Страница с участниками карточками*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.usertable thead {display:none; }
.usertable tr {
    display: grid;
    position: relative;
    padding: .5em;
    margin: .5em;
    width: calc(31% - 13px);
    align-items: center;
}

.usertable td {padding: 2px 1em 0.5em;}

.usertable .user_title {
    top: 28px;
    left: 1em;
    position: absolute;
    font-size: 0.7em;
    text-transform: uppercase;
    max-width: 87%;
}

.usertable .relation:before {
    content: 'Уважение: ';
    font-weight: bold;
}
.usertable .num_posts:before {
    content: 'Постов: ';
    font-weight: bold;
}
.usertable .registered:before {
    content: 'Дата регистрации: ';
    font-weight: bold;
}
.usertable .last_visit:before {
    content: 'Последний визит: ';
    font-weight: bold;
}

/* Скрытие панели "profilenav" при просмотре профиля, расположение и форматирование кнопки "Редактировать"  */
#pun-profile.view #profilenav {display: none}

#viewprofile {
    position: relative;
}
#viewprofile #pa-edit {
    position: initial;
}
#viewprofile #pa-edit a {
 text-transform: uppercase;
    -webkit-text-stroke: thin;
font-size: 1.3em!important;
}

/*M other*/

/*Выравнивание окна при переносе сообщения*/
.pun-modal .modal-inner {margin: 1% auto 0!important;}
.pun-modal h2, .pun-modal h1 {  line-height: 2.6em;}


/*Отдельная иконка к определенному форуму*/
tr#forum_f9 .tcl div.icon, tr#forum_f5 .tcl div.icon, tr#forum_f6 .tcl div.icon, tr#forum_f10 .tcl div.icon, tr#forum_f8 .tcl div.icon, tr#forum_f57 .tcl div.icon {height: 45px; width: 45px; background-position: top center; margin-right: 1em;}

tr#forum_f9 .tcl div.icon {background-image: url(https://forumstatic.ru/files/0015/1e/ae/18840.png);  }
tr#forum_f9 .tcl div.inew {background-image: url(https://forumstatic.ru/files/0015/1e/ae/71310.png);  }

tr#forum_f5 .tcl div.icon {background-image: url(https://forumstatic.ru/files/0015/1e/ae/13302.png);  }
tr#forum_f5 .tcl div.inew {background-image: url(https://forumstatic.ru/files/0015/1e/ae/34150.png);  }

tr#forum_f6 .tcl div.icon {background-image: url(https://forumstatic.ru/files/0015/1e/ae/71599.png);  }
tr#forum_f6 .tcl div.inew {background-image: url(https://forumstatic.ru/files/0015/1e/ae/87397.png);  }

tr#forum_f10 .tcl div.icon {background-image: url(https://forumstatic.ru/files/0015/1e/ae/30103.png);  }
tr#forum_f10 .tcl div.inew {background-image: url(https://forumstatic.ru/files/0015/1e/ae/79279.png);  }

tr#forum_f8 .tcl div.icon {background-image: url(https://forumstatic.ru/files/0015/1e/ae/15970.png);  }
tr#forum_f8 .tcl div.inew {background-image: url(https://forumstatic.ru/files/0015/1e/ae/34315.png);  }

tr#forum_f57 .tcl div.icon {background-image: url(https://forumstatic.ru/files/0015/1e/ae/76132.png);  }
tr#forum_f57 .tcl div.inew {background-image: url(https://forumstatic.ru/files/0015/1e/ae/23282.png);  }

.stena .post-content {display: none;}
.stena .post-content.hide {display: none !important;}

.stena {text-align: center;}
.stena .post-content {text-align: left;}
.stena .post-content:hover .podtext, .stena .post-content:hover .nagtext {opacity: 1;}

.stena .post-content.show {
display: inline-block;
width: 150px; /* максимальная ширина блока с подарком */
height: 160px; /* максимальная высота блока с подарком */
margin: 10px;
position: relative;
overflow: visible;
}

.stena .podimg img, .stena .nagimg img {
display: block;
position: absolute;
top: 0;
left: 0;
z-index: 10;
max-width: 100px; /* максимальная ширина подарка */
max-height: 100px; /* максимальная высота подарка */
border: 3px solid; 
}

.stena .stenaava {
display: block; /* block -  отображение. none - скрыть аватары */
position: absolute;
z-index: 30;
max-width: 34px; /* максимальная ширина авы дарителя */
left: 75px; /* двигаем аву дарителя влево */
top: -7px; /* двигаем аву дарителя сверху */
border: 2px solid; /* бордюрчик вокруг авы (если не нужно - удалить строчку, если нужно меняем #284966 на свой цвет */
}

.stena .stenafrom {
position: absolute;
z-index: 20;
font-size: 14px; /* размер шрифта в нике дарителя */
text-transform: uppercase;
transition: all 0.8s;
-webkit-transition: all 0.8s;
left: -2px; /* двигаем ник дарителя влево */
top: 110px; /* двигаем ник сверху */
padding-left: 25px; /* фоновый отступ слева (убрать, если не нужно) */
font-weight: 600;
}

.stena .podtext, .stena .nagtext {
position: absolute;
z-index: 40;
font-size: 11px; /* размер шрифта всплывающего описания */
padding: 3px;
text-align: left !important;
opacity: 0;
transition: all 0.8s;
-webkit-transition: all 0.8s;
top: 130px; /* двигаем всплывающее описание сверху */
left: 7px;  /* двигаем всплывающее описание слева */
width: 320px; /* ширина всплывающего описания */
border-style: solid;
border-width: 2px;
}

/*Стиль скрипта подарки и награды*/
.stena .podtext:before, .stena .nagtext:before {
content: '';
border: 10px solid transparent; 
border-bottom: 10px solid; /* цвет фона всплывающего описания ЕЩЕ РАЗ (это стрелочка, меняем #90a2c6 на цвет, который вставляли для описания выше) */
position: absolute;
top: -20px; /* двигаем стрелочку вверх */
left: -3px; /* двигаем стрелочку влево */
z-index: 40;
}
.stena .post-content .podtext img, .stena .post-content .nagtext img {
max-width: 50px; /* максимальная ширина картинок в всплывающем ОПИСАНИИ (тексте дарителя) */
max-height: 50px; /* максимальная высота картинок в всплывающем ОПИСАНИИ (тексте дарителя) */
}

.stena .stenalink { /* ссылка "подарить подарок" */
display: block;
    text-align: center;
    font-size: 17px;
    text-transform: uppercase;
    padding: 5px;
    text-decoration: none;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    border-style: double;
    border-width: 3 px;
}
.stena .stenalink:hover { /* ссылка "подарить подарок" при наведении курсора */
text-decoration: none;
border-style: solid;
border-width: 3px;
}

.podimg, .nagimg {max-width: 165px;}
.podarok {display: grid; justify-items: center;}

/*User Info Table*/
#pre-wrap, #P_Search, #P_Login {position: fixed; z-index: 20000 !important; width: 100%; height: 100%; margin:0; top:0; bottom:0;  left:0; right:0;}
.tab-a .post-content {display: inline-block; text-align: left; width: 97%;}
#close_2:before {cursor: pointer; display: inherit; margin-left: 98%; content: '\f00d'; font-family: "Font Awesome 6 Free"; font-weight: 900;}
.my-tabs {display: block; z-index: 30000; position: absolute; max-height: 800px; margin-left: 13%;}
.my-tabs>span {cursor: pointer; float: left; display: block!important; position: relative; z-index: 12; height: 22px!important; padding: 5px 12px 0px 12px; margin: 0!important; text-align: center; font-weight: 600;}
.my-tabs>.tab-a {display: none; position: relative; z-index: 1; width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; text-align: center; top: 5px;}


/* Геолокация */
#button-geo {display: none;}
.gid1 #button-geo, .gid2 #button-geo {display: table-cell;}
span.button-geo {position: relative; top: .5em; display: inline-block; height: 2em;}
span.button-geo::before {font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 2em!important;}
span.button-geo img {cursor: pointer; position: absolute; z-index: 1; height: 100%; width: 100%; top: 0; left: 0;}
.post-content .geo {position: relative;}
.tab-a .post-content .geo {max-height: 400px;}
.post-content .geo img {width: 100%;}
.tab-a .post-content .geo img {max-height: 400px;}
.post-content .geo .geo-c {position: absolute; left: 0; top: 0;}
.post-content .geo.list select {width: calc(100% - 8.5em);}
.post-content .geo.list input {width: 8em; margin-left: .5em;}
.post-content .geo.list .geo-c {display: none;}
.post-content .geo.list .geo-c.light {
    display: inline-block;
    -webkit-filter: drop-shadow(0 0 2px #ff0000);
    filter: drop-shadow(0 0 2px #ff0000);
}

/* Скрываем Страницу поиска пользователей в Админке от модераторов */
.gid2 #pun-adnav .item4,.gid2 #pun-admin_users #pun-admain1.adformal{display:none!important;}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

/*Фиксирование формы ответов для мобил*/
.punbb textarea, .crumbs  {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Скрыть баннер */
#dns-ip-replace-notify {display:none !important;}

/*Скрипт hvScriptSet version 1.0.12 Маска профиля */
#mask_dialog .inner {
    background: url('https://i.gyazo.com/7b05677f194180f2d51cee2198e3a959.jpg');
color: #d2d9ed;
	border: 1px solid #878abf; 
}

.pa-avatar img {
    min-width: 161px;
    max-width: 180px;
    max-height: 250px;
}

/* Кнопки в постах */
.button-1 a {
    display: block;
    height: 100%;
    text-align: center;
    width: 100%;
    margin: 0px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 9px 6px 7px;
}

.button-1 {
    position: relative;
    transition: .2s ease-in-out;
    cursor: pointer;
    z-index: 0;
    height: 15px;
    max-width: 400px;
    display: inline-block;
    margin: 3px;
    font-size: 12px;
    padding: 3px 9px 14px 0px;
}

.button-1:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: .25s ease;
    transform: translate(0, 0);
}
.button-1:hover:before {
    transform: translate(2px, 2px);
}

.post-content .button-1 a {padding: 6px 9px 6px 7px;}
.post-content .button-1, dl.parsedsig .button-1, #viewprofile .button-1 {padding: 1px 10px 22px 5px;}

/*Размытие*/
.blur img, .blur {
   -webkit-filter: blur(3px);
  filter: blur (3px);
}

.blur img:hover, .blur:hover{
-webkit-filter: none;
  filter: none;
}

/*Линии, отступы*/
.line1, .line2 {padding: 1px; margin: 2px;}

/*Стиль штампа совершенно секретно*/
.template {position: relative;}
.stamp {
    position: absolute;
    background: url(https://forumstatic.ru/files/0015/1e/ae/72611.png) center center no-repeat;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 3;
    pointer-events: none;}

/*Стиль фоторамок двойная смещённая рамка*/
* {box-sizing: content-box;}
.dbl-border {
  position: relative;
  display: table;
  margin: 50px auto;
}
.dbl-border img {display: block;
max-width: 600px !important;
max-height: 600px !important;}

.dbl-border:before, 
.dbl-border:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 2px solid #635f63;
}
.dbl-border:before {top: -15px; left: -15px;}
.dbl-border:after {right: -15px; bottom: -15px;}

/*Убрать бордеры в таблице*/
.post-content .noborder  td { border:0 none!important;}

/*Превью картинок*/
.prev .postimg {
    max-width: 300px !important;
    max-height: 300px !important;
}

/*Переключение стиля категорий*/

.offctgr {cursor: pointer;
font-family: 'Font Awesome 6 Free'; 
font-weight: 900;}

#pun-index .category .container {
  max-height: 0;
  position: relative;
}

#pun-index .category.cat-show .container {
  max-height: 3000px;
  transition: all 0.6s ease-in-out;
}

#pun-index .category.cat-hide .container {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
}

/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/ 
/*Cкрытие формы входа без клика*/ 
#pun-navlinks a:not(.NextShow)+span.odd, #pun-navlinks #New-exit img { 
display:none!important; 
}

#pun-navlinks #New-exit:hover{
 opacity: .4;
}
/*Стиль доп-иконки Выход!*/ 
.punbb #pun-navlinks a#New-exit {
  position:absolute;
  z-index: 100;
}
  
.punbb #pun-navlinks a#New-exit:before {content: '\f2f5';  
font-family: "Font Awesome 6 Free"; 
font-weight: 900;
    margin-left: 11px;
}

.punbb #pun-navlinks #form-login input{
text-align: center;
text-rendering: auto; 
margin-top:4px!important;
display: inline-block!important; 
text-align: center; 
} 
 
.punbb #pun-navlinks #form-login input[type="submit"]{ 
margin:13px 0 2px!important;
text-align: center;
padding: 2px 4px;
min-width: 110px;
transition: all 0.5s ease-in-out 0s;
cursor:pointer;
} 

/*Стиль формы входа*/ 
.punbb #pun-navlinks #form-login { 
display: block;
    left: 0px;
    padding: 7px 12px;
    position: absolute !important;
    text-align: center;
    top: 9px;
    width: 220px;
    z-index: 100;
}
#pun-navlinks #navlogin #form-login {
  margin-left: -54px;/*Подвижки формы влево от вход*/ 
} 
#pun-navlinks #navlogout #form-login { 
  margin-left: -59px;/*Подвижки формы влево от выход*/ 
} 
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -55px!important;/*Подвижки формы влево от выход для АМС*/
} 
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */ 
#pun-navlinks #form-login input[value="Войти"]+p{ 
margin-bottom: 11px; 
margin-top: 11px; 
} 
.punbb #pun-navlinks #form-login a.Rega, 
.punbb #pun-navlinks #form-login a.Forgot{ 
position:relative; 
text-transform: none!important; 
z-index:20; 
cursor:pointer; 
letter-spacing:0.5!important; 
}
.punbb #pun-navlinks #form-login a.Rega:before, 
.punbb #pun-navlinks #form-login a.Forgot:before{content:none;}

/* Помечаем красным незаполненные поля!*/ 
#form-login input.none{ outline:red dashed 2px!important; } 

/*Форма слево(с Никами) */ 
#List-UserNames { 
position:absolute; 
margin-top:-12px; 
min-height:90px; 
width:220px; 
right:100%; 
padding: 12px 19px 12px 17px; 
text-align:center; 
} 
/*Стиль контейнера под список Ников*/ 
.punbb #List-UserNames ul{
padding:0;
overflow:hidden; 
overflow-y:auto; 
min-height:36px; 
max-height:93px;/*Видимое число Ников без прокрутки! сейчас - 4*/ 
} 
.punbb #List-UserNames li {
display: block!important;
position: relative;
text-align: left;
padding-left: 5px!important;
margin: 1px auto!important;
padding: 2px 0;
transition: .33s;
}
.punbb #List-UserNames li:hover{ opacity:.84; } 

/*Стиль Ников*/ 
.punbb #List-UserNames li>b{ 
cursor: pointer;
opacity: .8;
} 

.punbb #List-UserNames li>b:hover{ opacity:.93; } 

/*Скролл контейнера с никами*/ 
#List-UserNames ul::-webkit-scrollbar { 
width: 7px; 
height: 5px; 
} 


/*Кнопки Удалить (правее ников)*/ 
#List-UserNames ul li>span { 
display:inline-block; 
padding:0 3px; 
position:absolute; 
opacity:.88; 
cursor:pointer; 
top:0;bottom:0; 
right:2px; 
} 
/*Текст при отсутствии запомненных Ников!*/ 
#List-UserNames ul:empty:before{ 
display:inline-block; 
content: "У Вас нет запомненных ников, введенных через форму справо, или через перенос ниже!"; 
} 
/*Кнопка выход-2*/ 
#navlogin #exit-2 { 
display:none; 
} 
#navlogout .Rega, 
#navlogout .Forgot { 
display:none; 
} 
/*Стиль блока с инпутом для переноса и вставки запомненных Аккаунтов*/ 
#List-UserNames ul+span{ 
display:inline-block; 
padding:6px 0 8px 0; 
text-align:left; 
} 
/*Сам инпут*/ 
.punbb #List-UserNames input { 
margin-top: 9px; 
padding: 2px !important; 
vertical-align: middle; 
} 
/*Стрелочки к инпуту*/ 
#List-UserNames ul+span b{ padding:0 3px; } 

/*Кликалка слево, чуть выше инпута*/ 
#List-UserNames .a1-copy{ 
display:inline-block!important; 
cursor:pointer; 
float:left; 
} 
/*Кликалка справо*/ 
#List-UserNames .a1-paste{ 
cursor:pointer; 
display:inline-block!important; 
float:right; 
} 
/*Подсказки на кликалках*/ 
.tipsy.a11 { 
margin-top:-22px!important; 
margin-left: 148px!important; 
max-width:170px; 
} 
/************************* 
//Конец Стиля для Быстрой смены аккаунтов 
*************************/

/*Audio html плеер*/
audio {
    height: 25px;
    opacity: 0.6;
}

/*Обтекание текста*/
.post-content p{clear:both}.post-content abbr[title^="float:"]{text-decoration:none;pointer-events:none;margin:.5em}
.post-content abbr[title="float:left"]{float:left}
.post-content abbr[title="float:right"]{float:right}

/*Собщение для гостей*/
#okno{position: fixed;
    bottom: 10px;
    text-align: left;
    right: 10px;
    z-index: 30000;
    opacity: 0.9;
    width: 180px;
    background: #0f0f10;
    text-shadow: rgb(0 0 0 / 30%) 0px -1px 0px;
    font-size: .8em;
    padding: 10px;
    box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px 0px;
    border-radius: 3px;}

/*Диалоги в виде переписки в чате*/
.chat{
    height: auto;
    width: 100%;
}

.chat .contact {
  margin-bottom:5px;
  font-weight: bold;
}

.chat .message {font-size: 13px;}

.chat .you, .chat .me {
  position: relative;
  width: 65%;
  border-radius:5px;
  padding:10px;
  margin: 2em 1em;
}

.chat .you:after, .chat .me:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
        bottom: 20px;
}

.chat .you {float: left;
      text-align:left;
}

.chat .me {text-align:right;
    float: right;
}

.chat .you:after {left: -10px;}
.chat .me:after {  right: -10px;}

/*Иконки в связи*/
li.pa-social.social-telegram span.fld-name {display: none;}
li.pa-social.social-telegram a:before {content:"\f2c6\2008"; font-family: "Font Awesome 5 Brands"; font-weight: 900;}
li.pa-social.social-skype span.fld-name {display: none;}
li.pa-social.social-skype a:before {content:"\f17e\2008"; font-family: "Font Awesome 5 Brands"; font-weight: 900;}
li.pa-social.social-discord span.fld-name {display: none;}
li.pa-social.social-discord::before {content:"\f392\2008"; font-family: "Font Awesome 5 Brands"; font-weight: 900;}

li.pa-social.social-vk span.fld-name {display: none;}
li.pa-social.social-vk::before {content:"\f189\2008"; font-family: "Font Awesome 5 Brands"; font-weight: 900;}

/*Стиль баннеров партнёров*/
.partners_bannr img {
    transition: all .5s ease-in-out 0s;
    filter: grayscale(100%) opacity(50%);
}

.partners_bannr img:hover{
transition: all .5s ease-in-out 0s;
filter: grayscale(0%) opacity(100%);
}

.partners_bannr {width: 90%;
height: auto;
overflow: auto;
margin: auto;
padding-top: 3px;
}

.bannr img {
    transition: all .5s ease-in-out 0s;
    filter: grayscale(100%) opacity(50%);
}

.bannr img:hover{
transition: all .5s ease-in-out 0s;
filter: grayscale(0%) opacity(100%);
}

/* Хронология от Feathertail */

/* Основные стили */
.chrono-state {padding: 1em;}

summary {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  margin: 0;
  padding: 10px 35px 10px 20px;
}

summary::-webkit-details-marker {display: none;}
details summary { padding-left: 30px;}
details summary::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, content 0.3s ease;
}

details[open] summary::before {
  content: "\f077";
  transform: translateY(-50%) rotate(180deg);
}

.filter-actions {margin-left: auto;}

.episode-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-options,
.filter-search {
  flex: 1;
  padding: 15px;
}

.filter-options span {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.filter-options ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.filter-options li {margin-bottom: 5px;}

.filter-options label {
  cursor: pointer;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-search > label {font-weight: bold;}

.filter-search > label > input {
  margin: 10px 25px 0 0;
  padding: 5px;
  width: 90%;
  border-width: 1px;
  border-style: solid;
}

.episode-timeline {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.timeline-period {
  flex: 1;
  box-sizing: border-box;
}

.timeline-date {
  margin: 5px 0 15px 0;
  text-align: center;
  text-transform: lowercase;
}

.past-label,
.current-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px;
  padding: 15px 35px 15px 40px;
}

.episode-item {
  position: relative;
  cursor: pointer;
  border: 1px solid;
}

.episode-header {
  display: flex;
  flex-direction: column;
}

.episode-line-1 {
  display: grid;
  grid-template-columns: 1fr 8fr 3fr;
  align-items: center;
  position: relative;
}

.episode-day {
  font-size: 24px;
  font-weight: bold;
  margin: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.episode-title {
  font-size: 14px;
  position: relative;
  word-wrap: break-word;
  text-align: left;
}

.episode-title:hover {text-decoration: underline;}

li.episode-item {margin: 1em;}

.episode-item .episode-line-1::after {
  font-size: 12px;
  position: absolute;
  right: 10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  justify-content: center;
  align-items: center;
}

.episode-item[data-category~="in-progress"] .episode-line-1::after {content: "\231B"; /* &#8987; */}
.episode-item[data-category~="unfinished"] .episode-line-1::after {content: "\2716"; /* &#10006; */}
.episode-item[data-category~="completed"] .episode-line-1::after {content: "\2714"; /* &#10004; */}

.episode-header p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-align: justify;
}

.episode-item.show-description .episode-header p {
  max-height: 800px;
  opacity: 1;
  margin-top: 5px;
  padding: 0px 15px 10px;
  line-height: normal;
  font-size: inherit;
}

.hidden {display: none !important;}

/* Фильтры */
.episode-item[data-category~="harm"] {background: rgb(118 141 97 / 22%);}
.episode-item[data-category~="unity"] {background: #3f51b538;}
.episode-item[data-category~="stasi"] {background: rgb(255 165 0 / 12%);}
.episode-item[data-category~="katakuri"] {background: #00000038;}
.episode-item[data-category~="ussr"] {background: #f3000038;}
.episode-item[data-category~="other"] {}

.episode-form-container {
  margin: 0 auto 20px;
  border: 1px solid;
}

#episode-form {
  display: flex;
  flex-direction: column;
  padding: 10px 15px 10px !important;
  width: 80%;
  margin: 0 auto;
}

.form-group {margin-bottom: 15px;}

.form-group label, .form-group span {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.form-group input[type="text"], .form-group input[type="date"], .form-group input[type="url"], .form-group textarea,#generated-code {
  padding: 10px;
  border-width: 1px;
  border-style: solid;
  width: 90%!important;
}

#category-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#category-checkboxes label {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

#category-checkboxes label input {
  margin-right: 10px;
}

.generated-code-container {
  margin-top: 20px;
  padding: 10px 15px 10px !important;
}

.generated-code-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

#generated-code {height: 200px; font-size: 0.9em;}

@media (max-width: 620px) {
  .episode-filter,
  .episode-timeline {
    flex-direction: column;
  }
}

#filter-header,
#generator-header,
.period-label-text p {
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
}

ul.episode-list {padding: 0 15px 10px !important;}
.episode-item a {margin: auto 0;}

.past-episodes,
.present-episodes {
  font-style: italic;
  font-weight: 400;
  font-size: 52px;
  text-transform: lowercase;
  line-height: 25px;
  display: block;
  height: 49px;
}

#include-filters > label,
#exclude-filters > label {
  display: flex;
  padding-bottom: 5px;
}


   /*Мои попытки в адаптив*/
/*@media screen and (max-width: 900px) {
    #pun, #pun-navlinks ul, #pun-ulinks ul {
    width: 100%!important;}

td#button-font, td#button-ChangeСase, td#button-indent, td#button-left, td#button-center, td#button-right, td#button-table, td#button-keyboard, li.pa-last-visit, li.pa-time-visit, span.mini_awards_label,   .category div.rights {display:none!important;}

#css-menu ul li a span.text-top {margin: 2px 0.9em!important; font-size: .9em!important;}

.category tr {position: relative;}
.category thead, #pun-index td.tc2, #pun-index td.tc3 {display: none;} 
.category .parent td.tcl {
    display: inline-block;
    float: left;
    width: 91%;
    padding-bottom: 60px;
}
.category td.tcr {display: block; position: absolute; width: 93%; bottom: 0; border-bottom:none !important;}
.category td.tcr:before {
content: 'ПОСЛЕДНИЙ ПОСТ: ';
padding-left: 22px;
font-size:.9em;
}
    
}*/

 /* Горизонтальный профиль */
/*@media screen and (max-width: 900px) {
.post-sig, .post-author li.pa-ua {display: none;}
#pun .punbb .post-author {
    margin: 0;
    width: 100%;
    display: block;
    background-image: none;
    position: relative;
}

.punbb .post .post-body {
    width: 100%;
    margin: 10px 0px 0px 0px;
}

.post-author li {
    position: relative;
    width: auto;}

.post .post-author {padding-bottom: 0;}

.post .post-author li.pa-author {
    width: calc(100% - 55em);
    height: 0;
    margin: -2.2em 0 0 0em;
}

#tuser {
    margin: 0.6em;
}

.post .post-author li.pa-title {
        margin-top: 0em;
    width: auto;
    text-align: center;
}

.pa-avatar img {
    max-height: 80px;
    width: auto;
}

.post .post-author li.pa-avatar {
    padding: 0.3em;
}

ul.post-ul-Sp.Sp1, ul.post-ul-Sp.Sp2, ul.post-ul-Sp.Sp4 {
    text-align: left;
    margin: 0 2em;
}

.award {
    margin-top: -3em;
    pointer-events: none;
}

.post .post-author li.pa-fld3 {
    margin: 0 23em;
}

} */

    
    /*Шрифты*/
  /*@media screen and (max-width: 900px) {  
    .punbb .post-content p, .punbb .post-content a {
    -webkit-text-size-adjust: 150%;
    font-size: 1.2em;
    line-height: 120%;
}

}*/
