/*************************************************************
A - SETUP
**************************************************************/

/* A1.1 */
@import url(style_cs.1765811415.css);
@import "https://forumstatic.ru/files/0010/a8/ca/42983.css";

/* КОЛЛЕКЦИИ ТЕПЕРЬ ЖИВУТ В ФАЙЛЕ, добавляйте новые там */
@import "https://forumstatic.ru/files/0010/a8/ca/97557.css?v=8";


/* шрифты добавлять ТОЛЬКО ТУТ */
@import url('https://fonts.googleapis.com/css?family=Abel|Abril+Fatface|Alegreya+Sans+SC|Allerta+Stencil|Amatic+SC|Arizonia|Arvo|Bangers|Cabin+Sketch|Caveat|Chewy|Cinzel|Concert+One|Cormorant+Unicase|Francois+One|Fredericka+the+Great|Gaegu|Gamja+Flower|Gloria+Hallelujah|Hi+Melody|Indie+Flower|Julius+Sans+One|Kaushan+Script|Krona+One|Limelight|Lobster|Merriweather|Nanum+Brush+Script|Nothing+You+Could+Do|Open+Sans|Open+Sans+Condensed:300|PT+Sans|Pacifico|Permanent+Marker|Playfair+Display|Playfair+Display+SC|Prata|Questrial|Raleway|Reenie+Beanie|Roboto+Condensed|Shadows+Into+Light|Six+Caps|Song+Myung|Special+Elite|Spirax|Teko|Ubuntu|Ultra|Yanone+Kaffeesatz|Alex+Brush|Dancing+Script|Dawning+of+a+New+Day|Great+Vibes|Jura|Sail|Satisfy|UnifrakturMaguntia|Zilla+Slab+Highlight');

@import url('https://fonts.googleapis.com/css?family=EB+Garamond:400,400i,500,500i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,latin-ext');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


@font-face {
  font-family: Franklin Gothic Heavy;
  src:
    local("Franklin Gothic Heavy"),
    url(https://forumstatic.ru/files/0010/a8/ca/92110.ttf);
}

@font-face {
  font-family: 'Intro';
  font-style: normal;
  font-weight: normal;
  src:
    local('Intro'),
    url('https://forumstatic.ru/files/0019/34/94/34318.woff') format('woff');
}

@font-face {
  font-family: icon;
  src:
    local("icon"),
    url(https://forumstatic.ru/files/0017/c0/20/82953.ttf);
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src:
    url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v74/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1n-q_4MrImHCIJIZrDCvHOej.woff2)
    format("woff2");
}

@font-face {
  font-family: Segoe Ui;
  src:
    local("Segoe Ui"),
    url(https://forumstatic.ru/files/0017/c0/20/61080.ttf);
}

@font-face {
  font-family: 'Icons';
  font-weight: light;
  font-style: normal;
  src:
    local('Icons'),
    url('https://forumstatic.ru/files/001b/67/90/67409.woff') format('woff');
}

@font-face {
  font-family: 'PortRegular';
  font-style: normal;
  font-weight: light;
  src:
    local('Port Regular'),
    url('https://forumstatic.ru/files/0015/44/02/83343.woff') format('woff');
}

@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 300;
  src:
    local('Cormorant Garamond'),
    url('https://forumstatic.ru/files/0019/34/94/60615.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 300;
  src:
    local('Cormorant Garamond'),
    url('https://forumstatic.ru/files/0019/34/94/92949.ttf') format('truetype');
}


/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0 10px;}

/* A2.2 */
.punbb {
    margin: 0 auto;
  }

#pun-main {
    margin: 0px;
}

#pun-mod #pun-crumbs1 {
  margin-top: 340px;
}

#pun-pages#pun-crumbs1 {
    display: none;
}

#pun-index .category table  thead {
    display:none;
}

#pun-index .category h2 {
    height: 50px;
}


/* оформление подфорумов с подложкой (вся категория) */
#pun-index tbody.hasicon {
    display: block;
    width: 810px;
    margin: 0 auto 36px;
    padding: 0 40px 28px;
    position: relative;
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 10px 10px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
}


/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
    list-style: none;
  }

dd {
    margin: 0;
}

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main .category table, .punbb .main .forum table, .punbb .main .section table  {
/*, .punbb .main .fs-box table */
    table-layout: fixed;
    width: 96%;
    margin: 0 20px;
  }

/*
.post-body table {
    all: unset;
}
*/

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

#login input {
    margin-right: 13px!important;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: normal  68.75% verdana, arial, helvetica, sans-serif;
  }



/* 3.3 */

/*
 .punbb optgroup{
    background-color: #75391f!important;
}*/

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4 {
  font-size: 10px;
  font-weight: normal;
  }

.punbb table, .punbb th {
  font-weight: normal;
margin: auto;
  }

/* A3.5 */
.main h2 span {
    font-family: var(--font-basic);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary-text-color);
    letter-spacing: 0.7px;
    margin-left: 5%;
}

.main h1 span {
    font-family: var(--font-accent);
    font-size: 14px;
    /*font-weight: bold;*/
    letter-spacing: 0.7px;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

.post-content table {
    border-collapse: separate !important; 
    border-spacing: 1px;
    margin: auto!important;
    width: 100%;
    table-layout:fixed;
}

.post-content td {
    border-width: 0px !important;
}

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#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;
  }

/* A4.2 */
.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
-------------------------------------------------------------*/

/* A5.1 */
#pun {
    position: relative;
    width: 1000px;
    margin: 40px auto;
    padding: 0;
    background-color: var(--dropdown-bg-color);
    border-radius: 22px;
    box-shadow:
        0 26px 48px rgba(27, 26, 24, 0.8),
        0 6px 14px rgba(27, 26, 24, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    background-attachment: scroll;
}

#pun::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.08) 0px,
            rgba(0, 0, 0, 0.08) 1px,
            rgba(255, 255, 255, 0) 2px,
            rgba(255, 255, 255, 0) 4px
        );
    opacity: 0.045;
    pointer-events: none;
    z-index: 1;
}

/* A5.2 */
.punbb {
  float: none;
  height: auto;
  }

/* Переадрессация */
/* A5.3 */
#pun-redirect {
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    background: var(--background-image)!important;
  }

#pun-redirect #pun-main .info {
    margin-left: 25%;
    width: 50%;
    border-bottom: 5px solid var(--primary-border-color);
    padding: 25px 0px 25px 0px;
    margin-top: -40px;
    background: var(--dropdown-bg-color);
    /* border-radius: 0 0 40px 0;*/
}

#pun-redirect h1 span {
    color: var(--primary-text-color)!important;
    letter-spacing: 2px!important;
    font-size: 40px;
    border: none!important;
  }

#pun-redirect h1 {
    height: 70px!important;
    margin-left: 25%;
}

#pun-redirect #pun-main .info  a {
    color: var(--links-text-color)!important;
  }

#pun-redirect #pun-main .info  a:hover {
    color: var(--accent-links-color)!important;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin: 0;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none none none;
  border-width: 0px 0px 0px 0px;
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
    /*margin: 25px 0 0 !important;*/
}

#pun-main .vote-result h1 {
    margin: 13px 0px!important;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: -3px 0px 0 -2px;
  width: 100%;
  overflow: hidden;
  text-align: justify;
  }

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    text-align: center;
    width: 70%;
    margin-left: 140px;
    margin-bottom: 5px;
      }

img.sigimage {
    max-height: 140px;
}

/* B1.3 */
.punbb .post-content p {
  margin: 10px 0 0 0;
  padding: 0 0 1em 0;
  line-height: 170%;
  color: var(--primary-text-color);
   /* -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;*/
  }

@media screen and (max-width: 768px) {
.punbb .post-content p {
  line-height: 170%;
  }
}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  overflow: hidden;
  padding: 5px 9px;
  }

.post-content .spoiler-box > blockquote {
    margin-top: 5px;
}

.punbb .post-content blockquote p{
    color: var(--primary-text-color)!important;
}


.punbb .post-content .blockcode pre{
color: var(--primary-text-color)!important;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  color: #000;
  }

/* B1.9 */
/* ===== QUOTE ===== */

.quote-box{
  margin: 12px 0;
  padding: 10px 12px;

  background: rgba(255,255,255,.48);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;

  box-shadow: 0 2px 8px 0px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .35);

  font-size: 11px;
  line-height: 1.7;
  color: rgba(0,0,0,.68);
}

/* заголовок "Цитирую:" / автор */
.quote-box cite{
  display: block;
  margin: 0 0 6px 0;

  font-size: 10px;
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;

  color: rgba(0,0,0,.45);
}

/* текст цитаты */
.quote-box blockquote{
  margin: 0;
  padding: 0;
}
.quote-box blockquote p{
  margin: 0;
}

.quote-box .quote-box{
  margin: 10px 0 0;
  padding: 9px 11px;

  background: rgba(255,255,255,.36);
  border-color: rgba(0,0,0,.06);
  border-radius: 9px;

  box-shadow:
    0 6px 14px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.28);
}


/* ===== CODE ===== */
.code-box .blockcode{
    margin: 10px 0;
    padding: 10px 12px;

    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 6px;

    font-family: monospace;
    font-size: 11px;
    line-height: 1.5;

    color: rgba(0,0,0,.80);
    white-space: pre-wrap;
}

.quote-box .code-box .blockcode{
    background: rgba(0,0,0,.03);
}

/* ===== SPOILER ===== */
.post-content .spoiler-box{
  margin: 12px 0;
  border-radius: 10px;
  overflow: hidden;

  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.40);

  box-shadow: 0 2px 8px 0px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.post-content .spoiler-box > p{
  margin: 0;
  padding: 7px 10px;

  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;

  color: rgba(0,0,0,.55);
  background: rgba(0,0,0,.03);
}

.post-content .spoiler-box > div{
  padding: 10px 12px;

  font-size: 11px;
  line-height: 1.7;

  color: rgba(0,0,0,.68);
  background: rgba(255,255,255,.20);
}

.post-content .spoiler-box .spoiler-box{
  margin: 10px 0 0;
  border-radius: 9px;
  border-color: rgba(0,0,0,.06);
  background: rgba(255,255,255,.28);
  box-shadow:
    0 6px 14px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.28);
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
    position: relative;
    width: 94%;
    height: 15px;
    padding: 20px 30px;
    text-transform: lowercase;
    font-family: var(--font-basic);
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.7px;
}

/* B3.2 */
.multipage {
  margin-top: 1em;
  }

/* B3.3 */
.pagelink a {
    font-family: var(--font-basic);
}

.pagelink strong {
    font-weight: bold;
    color: var(--dark-accent-color);
    font-size: 13px;
}

/* B3.4 */
.linkst .postlink {
    text-align: right;
  }

.postlink.long {
    width: auto!important;
}

/* B3.5 */
.punbb .linksb {
    width: 94%;
    height: 15px;
    padding: 0px 30px;
    text-transform: lowercase;
    display: grid;
    font-family: var(--font-basic);
}

/* B3.6 */
.linksb .pagelink {
    grid-column: 1;
    grid-row: 1;
}

.linksb noindex {
    grid-column: 2;
    grid-row: 1;
}

/* B3.7 */
.linksb .postlink {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

/* B3.8 */
.subscribelink {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

#pun-main #subforums {
    padding: 1em 3em!important;
}

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.4 */
.punbb fieldset {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    margin: 0 0px -3px -10px;
    font-size: 12px;
    text-transform: lowercase;
    font-family: var(--font-basic);
}


/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  /*width: 96%;*/
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
    padding: 0px 0 0.8em 0;
    margin: -1px 0 0;
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 — базовый вид полей ввода */
.punbb textarea,
.punbb input[type="text"],
.punbb input[type="password"],
.punbb input[type="email"],
.punbb input[type="url"],
.punbb input[type="number"],
.punbb select {
    font: 1em verdana, arial, helvetica, sans-serif;
    color: var(--primary-text-color);
    background-color: var(--bg-inner-color);
    outline: none;
    box-shadow: none;
}

.punbb textarea, .punbb .longinput input {
    border: 1px solid var(--border-soft-color);
}

#main-reply {
    border-top: none;
    border-radius: 0 0 12px 12px;
}

#form-buttons {
    border: 1px solid var(--border-soft-color);
    border-bottom: none;
    border-radius: 12px 12px 0 0;

    background-color: var(--off-white-color);
}

#tags {
    border-left: 1px solid var(--border-soft-color);
    border-right: 1px solid var(--border-soft-color);
    background-color: var(--off-white-color);
}

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#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
-------------------------------------------------------------*/

/* C2.1 */
#pun-index .main .tcl {
    /*overflow: hidden;*/
    text-align: left !important;
    width: 70%;
}

/* C2.2 */
#pun-index .main .tc2, #pun-index .main .tc3 {
  display: none;
  }

#pun-viewforum .tc2, #pun-viewforum .tc3, punbb .main .tcmod {
  background-color: transparent;
  text-align: center;
  width: 7%;
  }

/* C2.3 */
.punbb .main .category .tcr {
    text-align: left;
}

#pun-index .main .tcr {
    background-color: transparent;
    overflow: hidden;
    text-align: left !important;
    padding-right: 5px;
    width: 30%;
    font-size: 10px;
    font-family: var(--font-accent);
    /*padding-left: 3%;*/
    text-transform: lowercase;
}

.tcr .lastpost-link  {
    font-family: var(--font-accent);
    color: var(--dropdown-link-color) !important;
    transition: color 0.3s ease;
    font-weight: 600;
}

.tcr .lastpost-link:hover {
    color: var(--dark-accent-color);
    text-decoration: underline;
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-modviewforum .main .tcl {
background-color: transparent;
  width: 30%
  }

#pun-searchtopics .main .tcl, {
background-color: transparent;
  width: 20%
  }

/* C2.5 */
#pun-userlist .main .tc2, {
background-color: transparent;
  text-align: center;
  width: 20%;
  }

#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: center;
  width: 15%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 названия подфорумов*/ 
#pun-index .tcl h3 {
    font-family: var(--font-creative);
    font-size: 23px;
    font-weight: 400;
    line-height: 20px;
    color: var(--primary-text-color);
    text-transform: lowercase;
    padding-left: 10px;
    margin-bottom: 4px;
    transition: color .25s ease;
}

#pun-index .tcl h3 a {
    color: inherit;
    text-decoration: none;
}

#pun-index .tcl h3 a:hover {
    color: var(--dark-accent-color);
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 0em;
  }

/* C2.12 */
.punbb .main th {
  }

/* C2.13 */
.punbb .main .tcl {
   
}

    * html .tclcon {height: 1px}

/* C2.14 */
#pun-index td div.tclcon {
    font-size: 8px;
    line-height: 11px;
    padding-top: 7px;
    padding-right: 70px;
}
  
/* C2.15 */
.punbb .category div.intd {
    position: relative;
    height: 100%;
    box-shadow: 1px 1px 5px var(--profile-shadow);
}

 /* C3 Topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #1a0f0f ;
}

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border-color:  transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* 10-07 */
.punbb .formal{
    padding-top: 20px;
    border-style: none;
    border-width: 0;
  }

/* CS2.3 */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;
  }


/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* CS2.5 */
.punbb th {
  border-color: transparent ;
  }


/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .info-box {
  border: 1px solid transparent ;

  }

li.pa-online {
  border-left-color: transparent;
  /*margin-bottom: 15px;*/
  }

li.pa-replies {
    text-align: center;
  }


/* C3.1 */
.punbb .post .container {
    width: 98%;
  }

/* C3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* C3.3 */
#pun-main .topic h3 span {
    display: block;
    height: 20px;
    border-top: 1px solid var(--dropdown-bg-color);
    padding: 5px 15px 0 10px;
    margin: 0 19px;
    color: var(--not-so-dark-color);
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  }

.fnt img {
  filter: grayscale(50%);
  border-radius:5px;
  margin: 0 5px -2px;
  cursor: pointer;
}

.fnt {
  font-family: var(--font-basic);
}

/* C3.5 - контейнер профиля автора*/
.punbb .post .post-author{
  position: relative;

  float: left;
  width: 234px;
  margin: 10px 0 0 24px !important;
  padding: 10px;

  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0 18px 18px 18px;
  box-shadow:
    0 12px 26px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.35);

  overflow: visible;

  min-height: 76px;
}


/* C3.6 - сброс отступов у списка/параграфов внутри профиля */
.punbb .post .post-author ul,
.punbb .post .post-author p{
  margin: 0;
  padding: 0;
  text-align: center;
}


/* C3.7 - имя в профиле*/
.pa-author{
  margin: 6px auto 0;
  padding: 6px 10px 4px;

  width: 210px;
  text-align: center;

  background: rgba(255,255,255,.30);
  border-radius: 12px;

  font-family: var(--font-creative);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;

  position: relative;
  z-index: 1;
}

.pa-author a{
  color: var(--primary-text-color) !important;
  text-decoration: none;

  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;

  text-transform: none !important;
}

.pa-author a:hover{
  color: var(--dark-accent-color) !important;
}

/* C3.8 - иконки в профиле*/
.punbb .post .post-author {
    position: relative;
}

/* общий блок-папка */
.pa-fld1 {
    position: absolute;
    left: -34px;
    top: -1px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 10px 9px;
    border-radius: 14px 0 0 14px;

    background: #fafaf7;
    border: 1px solid rgba(0, 0, 0, .10);
    border-right: none;

    z-index: 6;
}

/*иконки над ником */

.pa-fld6{
  position: absolute;
  top: -21px;
  left: 107px;
  width: 40px !important;
  height: 40px;
  margin: 0 !important;
  padding: 0;
  border-radius: 50%;
  background: var(--off-white-color);
  border-top: 1px solid rgba(0, 0, 0, .08);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.pa-fld6 img {
    max-width: 25px;
    max-height: 25px;
}

/* ссылки */
.pa-fld1 a {
    display: inline-flex;
    line-height: 0;
}

/* иконки внутри */
.pa-fld1 img {
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;

    background: transparent !important;
    border: none !important;
    border-radius: 0;

    opacity: .85;
    transition: transform .15s ease, opacity .15s ease;

    filter: invert(35%) sepia(12%) saturate(600%) hue-rotate(135deg) brightness(85%) contrast(95%);
}

.pa-fld1 img:hover {
    transform: translateX(1px);
    opacity: 1;
}

/* C3.9 - поля и содержимое профиля*/
/* аватарка */
li.pa-avatar.item2 {
    width: 200px;
    padding: 55px 8px 11px;

    text-align: center;

    background: rgba(0, 0, 0, .02);
    border-radius: 15px;
}

   .punbb .pa-avatar img {
       max-width: 180px;
   }

/* Стиль для блока статус-аватарка-плашка */
:root {
    --pa-panel-bg: rgba(0, 0, 0, .02);
    --pa-panel-radius: 15px;
    --pa-panel-width: 200px;
}

.post-author li.pa-title,
.post-author li.pa-avatar.item2,
.post-author li.pa-fld4 {
    max-width: var(--pa-panel-width);
    margin: 0 auto;
    text-align: center;

    background: var(--pa-panel-bg);
    border-radius: var(--pa-panel-radius);
}

.post-author li.pa-fld4 {
    margin-bottom: 6px;
    margin-top: -9px !important;
}

/* убираем разрывы между идущими подряд элементами */
.post-author li.pa-title + li.pa-avatar.item2,
.post-author li.pa-title + li.pa-fld4,
.post-author li.pa-avatar.item2 + li.pa-fld4 {
    margin-top: 0;
}

/* внутренние отступы */
.post-author li.pa-title { padding: 6px 8px 0; }
.post-author li.pa-avatar.item2 { padding: 8px; }
.post-author li.pa-fld4 { padding: 0 8px 8px;}

/* склейка скруглений между элементами панели */
.post-author li.pa-title:has(+ li.pa-avatar.item2),
.post-author li.pa-title:has(+ li.pa-fld4) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.post-author li.pa-title + li.pa-avatar.item2 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.post-author li.pa-avatar.item2:has(+ li.pa-fld4) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.post-author li.pa-title + li.pa-fld4,
.post-author li.pa-avatar.item2 + li.pa-fld4 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* статус*/
.post-author li.pa-title {
    font-family: var(--font-accent);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: lowercase;
    color: var(--not-so-dark-color);

    position: relative;
    z-index: 2;
}

/* изображения внутри панели (аватар и плашка) */
.post-author li.pa-avatar.item2 img,
.post-author li.pa-fld4 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* описание */
.pa-fld2 {
    width: 200px;
    margin: 10px 0 6px 7px !important;
    padding: 10px 8px;

    text-align: center;
    font-family: var(--font-accent);
    font-size: 9px;
    line-height: 1.55;

    color: var(--not-so-dark-color);

    background: rgba(0, 0, 0, .02);
    border-radius: 12px;

    position: relative;
}

/* первая строка: имя + возраст */
.pa-fld2:first-line {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--primary-text-color);
}

/* ссылки (отношения) */
.pa-fld2 a {
    font-weight: 500;
    color: var(--dark-accent-color) !important;
    text-decoration: none;
}

.pa-fld2 a:hover {
    color: var(--accent-links-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pa-fld3,
.pa-fld5,
.pa-posts,
.pa-respect {
    display: inline-block !important;
    position: relative;

    width: 50px;
    margin: 10px 2px 0;

    font-family: var(--font-basic);
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
    text-transform: lowercase;

    color: var(--not-so-dark-color);

    white-space: nowrap;
}

.pa-fld3 span:not(.fld-name),
.pa-fld5 span:not(.fld-name),
.pa-posts,
.pa-respect span:not(.fld-name) {
    white-space: nowrap;
    word-break: keep-all;
}

.post-author li.pa-fld3::before,
  .post-author li.pa-fld5::before,
  .post-author li.pa-posts a::before,
  .post-author li.pa-respect::before,
  .post-author li.pa-respect span a::before {
    font-family: 'Material Icons';
    font-size: 18px;
    left: 0;
    top: 0;
  }

  .post-author li.pa-fld3::before {
    content: 'rate_review';
    margin-bottom: -5px;
    display: block;
  }

  .post-author li.pa-fld5::before {
    content: 'paid';
    margin-bottom: -5px;
    display: block;
  }

 .post-author li.pa-posts a::before {
    content: 'comment';
    display: block;
   margin-bottom: 6px;
  }

  .post-author li.pa-respect span a::before {
    display: block;
    margin-bottom: 8px;
    content: 'thumb_up';
  }

  .post-author li.pa-respect::before {
    content: 'thumb_up';
    display: none;
  }

  .post-author li.pa-respect:not(:has(a))::before {
    display: block;
    padding-bottom: 7px;
  }

  .post-author li.pa-respect span:not(:has(a)) {
    display: none;
  }

  .post-author li.pa-posts a, .post-author li.pa-respect span a {
    font-size: 0;
  }
  .post-author li.pa-fld3 .fld-name, 
  .post-author li.pa-fld5 .fld-name{
    display: none; 
  }

  .post-author li.pa-fld3 span:not(.fld-name),
  .post-author li.pa-fld5 span:not(.fld-name),
  .post-author li.pa-posts {
    display: block;
  }

  .post-author li.pa-respect span:not(.fld-name) {
    display: inline-block;
  }


  .pa-respect a img {
    margin-bottom: -2px;
  }

.post-author li.pa-fld3:hover::after,
.post-author li.pa-fld5:hover::after,
.post-author li.pa-posts:hover::after,
.post-author li.pa-respect:hover::after {
  content: attr(data-tooltip);
  font-size: 9px;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
  font-family: var(--font-basic);
}

.post-author li.pa-fld3:hover::after {
  content: 'постов';
}

.post-author li.pa-fld5:hover::after {
  content: 'сакр';
}

.post-author li.pa-posts:hover::after {
  content: 'сообщений';
}

.post-author li.pa-respect:hover::after {
  content: 'репутация';
}

.post-author li:hover::after {
  opacity: 1;
}

/* C3.10 — служебные поля профиля */

/* онлайн / офлайн */
li.pa-online {
    margin: 10px 0 12px;
    line-height: 0.8em;

    text-align: center;
    text-transform: uppercase;

    font-family: var(--font-basic);
    font-size: 9.2px;
    letter-spacing: 1px;
    color: var(--not-so-dark-color);
}

/* последний визит */
li.pa-last-visit {
    margin: 7px 0 12px;

    text-align: center;
    text-transform: lowercase;

    font-family: var(--font-accent);
    font-size: 9px;
    color: var(--not-so-dark-color);
}

/* награды */
li.pa-awards {
    margin: 8px 0 0;
    align-items: center;
    justify-content: center;

    text-align: center;
    text-transform: lowercase;

    font-family: var(--font-accent);
    font-size: 9px;
    color: var(--not-so-dark-color);
}

/* контейнер с иконками наград */
li.pa-awards .mini_awards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

/* подпись "Награды" */
li.pa-awards .mini_awards_label {
    display: block;
    text-align: center;
}

/* убираем лишние переносы */
li.pa-awards br {
    display: none;
}

/* IP*/
.punbb .pa-ip {
    margin: 6px 0 0;
    padding-top: 4px;

    font-family: var(--font-accent);
    font-size: 8px;
    line-height: 1.3;
    text-align: center;
    text-transform: lowercase;

    color: var(--not-so-dark-color);
    opacity: .7;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 27em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1px 7px 0px 2px;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 10px 0 10px;
  margin-left: -200px;
  border-top-style: solid;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
  }

/* C3.16 */


.punbb .post-links li {
  display: inline;
  padding-left: 0.8em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 3em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 3em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* -------- ССЫЛКИ ВНУТРИ ПРОФИЛЯ ----- */
#profilenav ul {
  border-style: solid;
  border-width: 1px;
  /*padding: 1.5em 18px 0.8em 18px;*/
  padding: 1.5em 18px 0.8em 0px;
  margin: 10px 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  text-align: right;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 1.5em 2.3em 1.5em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 — шапка форума */
#pun-title{
  position: relative;
  width: 1000px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  border-radius: 20px;
  background: none;
  border: none;
}

/* основной контейнер таблицы */
.pun-title-wrap{
  position: relative;
  width: 1000px;
  height: 383px;
  border-radius: 20px;
}

/* фон со стеклом */
.pun-title-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: url(https://forumstatic.ru/files/0019/34/94/74330.jpg) top center no-repeat;
  background-size: 1000px 363px;
  z-index: 0;
  pointer-events: none;
}

/* фон без стекла */
.pun-title-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: url(https://forumstatic.ru/files/0019/34/94/89858.jpg) top center no-repeat;
  background-size: 1000px 363px;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
  pointer-events: none;
}

/* переключение */
.pun-title-wrap:hover::after,
.pun-title-wrap:focus-within::after{
  opacity: 1;
}


#title-logo-table {
    display: none;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: 55px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline}

/* D2.4 */
#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%;}

/* D2.5 */
#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
-------------------------------------------------------------*/

/* D3.1 — навигация в шапке */

#pun-navlinks {
    position: relative;

    width: 100%;
    margin: 0 auto 10px;

    text-align: center;
    z-index: 3;

    transform: none;
}

#pun-navlinks .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;

    list-style: none;
}

#pun-navlinks li {
    margin: 0;
    padding: 0;
}

#pun-navlinks li a {
    position: relative;

    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: var(--primary-text-color);
    text-decoration: none;

    padding: 6px 2px;

    transition: color .2s ease, opacity .2s ease;
}

#pun-navlinks li a:hover {
    color: var(--accent-links-color);
}

   /*------ ПОДСКАЗКИ ПРИ НАВЕДЕНИИ -----*/

#pun-navlinks a::before {
       font-size: 9px;
       position: absolute;
       margin-left:20px;
       background-color: var(--dark-accent-color);
       color: #fff;
       padding: 3px 8px;
       border-radius: 3px;
       opacity: 1;
       transition: opacity 0.3s;
       pointer-events: none;
       z-index: 10;
       font-family: var(--font-accent);
}

#pun-navlinks a:hover::before {
  opacity: 1;
}

/* D4 User links
-------------------------------------------------------------*/

#pun-ulinks {
    position: relative;

    width: 100%;

    text-align: center;
    z-index: 2;
}

#pun-ulinks .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;

    list-style: none;
}

#pun-ulinks li {
    margin: 0;
    padding: 0;
}

#pun-ulinks li a {
    font-family: var(--font-accent);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: lowercase;

    color: var(--not-so-dark-color);
    text-decoration: none;

    padding: 2px 4px;

    transition: color .2s ease, opacity .2s ease;
}

#pun-ulinks li a:hover {
    color: var(--accent-links-color);
}

/* счётчик уведомлений */
   .bubble {
    background: var(--accent-links-color)!important;
    border: 0 none!important;
    border-radius: 0!important;
    font: 8px/1.6 Verdana!important;
    min-width: 80px!important;
    min-height: 10px!important;
    line-height: 10px!important;
    vertical-align: middle;
    top: 17px !important;
    right: 2px !important;
   }
   
   .bubble:after{
     border-color: transparent!important;
     border-width: 0px!important;
   }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 
#pun-status {
    border-bottom: none;
    top: 45px;
    position: absolute;
    width: 150px;
    height: 150px;
    font-size: 9px;
    text-transform: lowercase;
    text-align: right;
    z-index: 0;
}*/

/* D5.2 */
#pun-status .container{
    width: 800px;
    height: 10px;
    position: absolute;
    top: -25px;
    text-transform: lowercase;
    font-size: 8px;
    text-align: left;
    font-family: var(--font-accent);
    font-weight: 400;
    color: var(--off-white-color) !important;
    z-index: 2;
  }


#pun-status .status-right {
    float: unset!important;
}

/* D5.3 */
#pun-status span {
  /*white-space: nowrap;*/
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
    font-weight: bold;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

/* D5.5 */
#pun-crumbs1 p.container {
    border-top: none;
    padding: 0em 1em 0em 1em;
    margin: 1em 0 0 0;
    width: 100%;
    text-align: center;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }
/*~~~ D5.6 отключение каталога (название форума) на главной странице вверху и внизу ~~~*/
#pun-index #pun-crumbs2, #pun-index #pun-crumbs1 {display:none;}

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 объявления */
#pun-announcement .container {
    position: relative;
    line-height: 1.1;
    text-align: center;
    margin: 30px 20px;
    min-height: 20px;
}


/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
    padding: 40px;
    border-radius: 0px 0px 20px 20px;
    background: var( --links-hover-color);
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 400;
    display: block;
    width: 810px;
    margin-left: 52px;
    margin-bottom: 36px;
    background: rgba(255, 255, 255, .25);
    box-shadow: 0 10px 10px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
  }

#onlinelist span a {
  color: var(--accent-links-color)!important;
  }

#onlinelist span a:hover {
  color: var(--dark-accent-color)!important;
  }

    /* D7.2 */
    #pun-stats li.item1, #pun-stats li.item2 {
      float: left;
      clear: both;
      line-height: 150%;
      }

    /* D7.3 */
    #pun-stats li.item3, #pun-stats li.item4 {
      text-align: right;
      line-height: 150%;
      }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  line-height: 130%;
  text-align: justify;
    width: 100%;
  }

#statistic-other {
    width: 100%;
    text-align: center;
}

/* D7.5 */
li#onlinelist div {
  padding: 0.7em 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 200px;
  margin-bottom: -235px;
  margin-left: 5px;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;}

/* D8.5 */
#pun-about p span {
  display: none;
  padding-left: 50%;
  margin-top: -200px;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0 3em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style:  none;
  border-width: 0px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }



/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width: 0px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */

#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: none;
  border-bottom-width: 0px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }

blockquote {
    margin: 0;
}

/* отключаем награды */
#pun-navlinks #navawards{display:none;}

 .leftimg {
    float:left; /* Выравнивание по левому краю */
    /* margin: 7px 7px 7px 0; Отступы вокруг картинки */
   }


   .rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
   }

.headerImg {
    position: absolute;
    z-index: 2;
}

.headerImg a:hover{
    filter: none!important;
}

.headerImg img {
    opacity: 0.7;
    border-radius: 10px;
    border: 1px solid var(--dropdown-border-color);
}

.headerImg img:hover {
    opacity: 1;
}

.headerBricks img {
    filter: none;
}

.headerLinks a, .headerLinks a:visited {
    color: var(--header-links)!important;
    letter-spacing: 1px;
    font-family: sans-serif;
    opacity: 100%;
    font-size: 8px;
    text-transform: lowercase;
}

.headerLinks a:hover {
   color: var(--accent-links-color)!important;
}

.headerLinks a:focus, .headerLinks a:active  {
   color: var(--accent-links-color)!important;
}

/* отключение rss-atom*/
.modmenu .container span {display: none;}


/* запятая между ников в теме */
#topic-users-in a:after {content: ','; font-size: 13px;}
#topic-users-in a:last-child:after {display: none;}



/*------------ КОД СИРИУС И АСТАРТА ------------------*/

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'Icons', 'Icons' !important;
  speak: never;
  font-style: normal;
  font-weight: light;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#pun-messages #form-buttons table {
    display:inline-table;
}


#pun-messages .pa-reg{
    display:none;
}

.punbb-admin div#form-buttons table tr > td {
   width:unset;
}

.punbb-admin #pun-crumbs1 {
    margin: 40px 0px 10px;
    position: relative;
    z-index: 2;
}

#form-buttons,
.punbb textarea,
.punbb .longinput input,
.punbb select {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
}

/* верхняя панель */
#form-buttons {
    padding: 4px 6px;

    background-color: var(--off-white-color);
    border: 1px solid var(--border-soft-color);
    border-bottom: none;

    border-radius: 12px 12px 0 0;
}

div#form-buttons table tr > td {
    background-image: none !important;
    width: auto;
    height: 25px;
    position: relative;
    transition: 0.2s ease-in-out;
}

#form-buttons td img {
    z-index: 10;
    position: absolute;
    opacity: 0;
    margin-top: -19px;
    margin-left: -7px;
    width: 15px!important;
    height: 100%;
}

td#button-font:before,
td#button-size:before,
td#button-bold:before,
td#button-italic:before,
td#button-strike:before,
td#button-underline:before,
td#button-indent:before,
td#button-floatbut:before,
td#button-my:before,
td#button-left:before,
td#button-center:before,
td#button-right:before,
td#button-link:before,
td#button-spoiler:before,
td#button-image:before,
td#button-artp:before,
td#button-video:before,
td#button-hide:before,
td#button-quote:before,
td#button-code:before,
td#button-html:before,
td#button-color:before,
td#button-table:before,
td#button-smile:before,
td#button-sticker:before,
td#button-keyboard:before,
td#button-addition:before,
td#button-files_rusff:before,
td#button-graffiti_rusff:before,
td#floatbut:before,
td#button-mask:before {
    width: 100%;
    max-height: 40px;
    margin-top: 1px;
    font-family: 'Material Icons';
    font-size: 16px;
    display: block;
    color: var(--not-so-dark-color);
    text-align: center;
    vertical-align: middle;
    z-index: 0;
}

#form-buttons td:hover::before {
  color: var(--accent-links-color);
}


#form-buttons td#button-font:before {
  content: "\eae2";
}

#form-buttons td#button-html:before {
  content: "\eb7e";
}

#form-buttons td#button-size:before {
  content: "\e245";
}

#form-buttons td#button-bold:before {
  content: "\e238";
}

#form-buttons td#button-italic:before {
  content: "\e23f";
}

#form-buttons td#button-underline:before {
  content: "\e249";
}

#form-buttons td#button-strike:before {
  content: "\e257";
}

#form-buttons td#button-indent:before {
  content: "\e23e";
}

#form-buttons td#button-left:before {
  content: "\e236";
}

#form-buttons td#button-center:before {
  content: "\e234";
}

#form-buttons td#button-right:before {
  content: "\e237";
}

#form-buttons td#button-justify:before {
  content: "\e8fe";
}

#form-buttons td#floatbut:before {
  content: "\f863";
}

#form-buttons td#button-link:before {
  content: "\e178";
}

#form-buttons td#button-Yandex:before {
  content: "\f01f";
}

#form-buttons td#button-spoiler:before {
  content: "\e0e0";
}

#form-buttons td#button-image:before {
  content: "\efa2";
}

#form-buttons td#button-video:before {
  content: "\e1c4";
}

#form-buttons td#button-hide:before {
  content: "\e63f";
}

#form-buttons td#button-quote:before {
  content: "\e244";
}

#form-buttons td#button-code:before {
  content: "\e86f";
}

#form-buttons td#button-color:before {
  content: "\e40a";
}

#form-buttons td#button-table:before {
  content: "\f191";
}

#form-buttons td#button-smile:before {
  content: "\e813";
}

#form-buttons td#button-sticker:before {
  content: "\e813";
}

#form-buttons td#button-keyboard:before {
  content: "\e312";
}

#form-buttons td#button-addition:before {
  content: "\e313";
}

#form-buttons td#button-mask:before {
  content: "\ea66";
}


#form-buttons td#button-sticker {
    width:4%;
}

.icons-search:before {
    font-family:'Material Icons';
    content:'\e8b6';
    font-size: 16px;
}

ul.tabs li.tab-current a{
   color: var(--primary-text-color)!important;
}

#imgNIK-SIG {
   margin-top: -49px!important;
   margin-left: 100%!important;
}

#form-buttons{
/*margin-bottom: -15px;*/
}

/* Стили для элементов шапки */
.dropdown {
    position: relative;
    display: inline-block;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.dropdown-toggle {
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-creative);
    font-weight: 600;
    font-size: 15px;
    text-transform: lowercase;
    color: var(--dark-accent-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 10;

    min-width: 140px;
    margin-top: 8px;
    padding: 8px;

    background-color: var(--off-white-color);
    border: 1px solid var(--border-soft-color);
    border-radius: 14px;

    box-shadow:
        0 12px 26px rgba(27, 26, 24, 0.18),
        0 2px 6px rgba(27, 26, 24, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.dropdown-menu a {
    display: block;

    padding: 6px 8px;
    margin: 1px 0;

    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;

    color: var(--primary-text-color);
    text-decoration: none;

    border-radius: 8px;

    transition:
        background-color .15s ease,
        color .15s ease,
        transform .15s ease;
}

.dropdown-menu a:hover {
    background-color: var(--hover-bg-color);
    color: var(--dark-accent-color);

    transform: translateX(2px);
}

.show {
    display: block;
}

/* Стили для отображения шапки 
#html-header {
    height: 328px;
    position: relative;
}*/

/* Заголовки секций в шапке */
.section-title {
    margin: 0 0 10px;

    text-align: left;
    font-family: var(--font-creative);
    font-size: 16px;

    color: var(--primary-text-color);

    pointer-events: none;
    position: absolute;
}

#clubs {
    position: absolute;
    text-align: right;
    top: 267px;
    left: 95px;
    color: var(--dark-accent-color);
    font-family: var(--font-creative);
    line-height: 17px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 2;
}

#ams-list {
    position: absolute;
    top: 54px;
    left: 13px;
    width: 172px !important;
    z-index: 5;
    color: var(--dark-accent-color);
}

#title-ams {
    top: -20px;
    left: 0;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip::after {
    content: attr(data-tooltip)
    font-size: 9px;
    white-space: nowrap;
    position: absolute;
    margin-left:20px;
    background-color: var(--dark-accent-color);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 10;
    font-family: var(--font-accent);
    opacity: 0;
    visibility: hidden;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.tooltip em {
    position: absolute;
    top: 16px;
    left: -125px;

    width: 150px;
    padding: 10px;

    font-family: var(--font-basic);
    font-size: 10px;
    line-height: 1.4;
    color: var(--primary-text-color);

    background-color: var(--dropdown-bg-color);
    border: 1px solid var(--border-soft-color);
    border-radius: 12px;

    box-shadow:
        0 10px 22px rgba(27, 26, 24, 0.18),
        0 2px 6px rgba(27, 26, 24, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    opacity: 0;
    transform: scale(0.96) translateY(4px);

    pointer-events: none;
    z-index: 99;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.tooltip:hover em,
.tooltip:focus-within em {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.avaktg {
  text-align: center!important;
  position: relative!important;
  width: 100%!important;
}

.tooltip:hover em img {
    border-radius: 0!important;
}

.tooltip a {
    color: var(--dark-accent-color)!important;
    font-family: var(--font-accent);
    font-weight: 600;
    opacity: 100%;
    font-size: 8px;
    text-transform: lowercase;
    display: block;
    text-align: center;
}

   .tooltip img{
       border-radius: 0;
       filter: contrast(1) brightness(0.95) opacity(0.8) grayscale(1);
   }

#guest-links {
    position: absolute;
    left: 65px;
    top: 212px;
    width: 80px;
    height: 12px;
    z-index: 4;
}

#user-links {
    position: absolute;
    left: 125px;
    top: 212px;
    min-width: 80px;
    z-index: 4;
}

#weather {
    position: absolute;
    top: 2px;
    left: 530px;
    font-family: var(--font-accent);
    color: var(--dark-accent-color);
    font-size: 9px;
    width: 200px;
    z-index: 2;
    text-align: center;
}

#best-all div, #best-writers div {
    position: relative !important;
}

#top-button {
    position: absolute;
    top: 189px;
    left: 15px;
    opacity: 0.5;
    z-index: 2;
}

#top-button:hover {
    opacity: 1;
}

#banners {
    position: absolute;
    width: 921px;
    height: 41px;
    overflow-y: auto;
    margin: -41px 0 0 27px !important;
}