/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1750958060.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';
    src: local('Icons'), url('https://forumstatic.ru/files/001b/67/90/67409.woff') format('woff');
    font-weight: light;
    font-style: normal;
}

@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: 'Kinky';
src: local('Kinky'), url('https://forumstatic.ru/files/0010/a8/ca/92086.otf');}


@font-face {
font-family: 'Pilowlava';
src: local('Pilowlava'), url('https://forumstatic.ru/files/0010/a8/ca/66799.otf?v=1');}


/* 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 {
    border-radius: 0px 0px 20px 20px;
    background: #e6e6e6;
    display: block;
    width: 810px;
    margin-left: 32px;
    margin-bottom: 36px;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
}


/* 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;
}

.category h2 span {
    font-size: 0px;
   /* margin: 0%;
    text-transform: uppercase;
    font-weight: 900;
    font-family: var(--font-accent);
    letter-spacing: 2px;
    color: transparent; 
    position: relative;
    text-shadow: 
    4px 4px 0 rgba(171, 122, 64, 0.6), 
    -4px -4px 0 var(--accent-links-color); 
    transition: text-shadow 0.3s ease; 
    cursor: pointer;*/
}

/*.category h2 span:hover {
    text-shadow: 
        6px 6px 0 rgba(171, 122, 64, 0.8), /* Более яркое смещение */
        -6px -6px 0 rgba(54, 106, 59, 0.8);
}*/

/* 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;
    padding: 0;
    width: 1000px;
    background-color: var(--off-white-color);
    border-radius: 15px;
    margin: 0 auto;
    background-attachment: scroll;
   /*z-index: 10;*/
}

#pun::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: var(--links-hover-color);
    border-radius: 20px;
    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-box {
    padding: 3px 5px;
    margin: 15px 0 5px;
    border-radius: 15px;
    position: relative;
    /* border: 1px solid var(--accent-links-color); */
    background: var(--light-accent-color);
}

.quote-box cite {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--not-so-dark-color);
    font-style: normal;
    margin-bottom: 0px;
    /*border-bottom: 1px solid rgba(171, 122, 64, 0.6);*/
}

.quote-box blockquote {
    margin: 0;
    padding: 0;
    color: #333;
}

.quote-box blockquote p {
    margin: 0; 
}

/* Кавычки */
.quote-box:not(.spoiler-box)::before {
    content: "“";
    position: absolute;
    font-size: 40px;
    color: var(--accent-links-color);
    top: -10px;
    left: 10px;
    z-index: 1;
}

/* Ссылка на цитату */
.quote-box cite {
    display: block;
    /* position: absolute; */
    left: 0px;
    bottom: 100%;
    font-size: 10px;
    font-family: var(--font-accent);
    font-weight: 500;
    padding: 10px 10px 0 10px;
    border-radius: 5px;
    text-transform: lowercase;
    border: none;
}

.code-box .blockcode {
    font-family: var(--font-accent);
    font-size: 11px;
    margin: 5px 0;
    background-color: var(--off-white-color);
    color: #333;
    white-space: pre-wrap;
    border-radius: 15px;
    border: 1px solid var(--light-accent-color);
}

.post-content .spoiler-box > div{
    padding: 10px;
    font-size: 11px;
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--not-so-dark-color);
    letter-spacing: 0px;
}


/* 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: trebuchet ms;
}

.pagelink strong {
    font-weight: normal;
    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 .longinput input {
    margin: 0;
    background-color: var(--off-white-color);
    border: 1px solid var(--accent-links-color);
    font: 1em verdana, arial, helvetica, sans-serif;
    outline: none;
    padding: 0px;
    border-radius: 0 0 10px 10px
}


/* 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;
}

.punbb .main .tcr {
   /* text-align: right !important;*/
    padding-right: 10px;
    font-family: var(--font-accent);
  }

.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-size: 16px;
    font-weight: 900;
    color: var(--dropdown-link-color);
    font-family: var(--font-creative-kir);
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    transition: color 0.3s ease;
    padding-left: 10px;
    margin-bottom: -5px;
}

#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-bottom: 20px;
    padding-right: 100px;
}
  
/* 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 {
    margin-bottom: 9px;
  }


/* 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 {
    background-color: #e6e6e6;
    float: left;
    width: 234px;
    margin: 14px 0px 0 24px !important;
    overflow: hidden;
    border-radius: 15px;
    padding: 5px;
    min-height: 76px;
}


/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    margin-top: 0;
    padding: 0;
  }


/* C3.7 */
.pa-author, .pa-author a {
    text-align: center !important;
    font-size: 12px;
    padding-top: 10px !important;
    font-family: var(--font-creative-kir);
    font-weight: 600;
    color: var(--dropdown-link-color);
    letter-spacing: 0.3px;
    line-height: 12px;
    position: relative;
    z-index: 2;
}

/* Исправление расположения текста на белом фоне */
.pa-author {
    /* position: absolute; */
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    /* width: 100%; */
    background: #f4f4f4;
    border-radius: 10px 10px 0 0;
    width: 210px;
    padding-bottom: 6px;
}



.punbb .topic .pa-author a {
   /*background: var(--dropdown-bg-color);*/
   padding: 3px;
   border-radius: 10px;
}

.pa-author a:hover {
  color: var(--primary-text-color)!important;
}

/* C3.8 Поля профиля*/

/* Контейнер для иконок-ссылок */
.pa-fld1 {
    position: absolute;
    margin-left: -27px;
    margin-top: 78px;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 3px;
    /* border-radius: 5px 0 5px 5px; */
}

/* Сами иконки */
.pa-fld1 img {
    margin-left: -7px;
    width: 13px;
    height: 13px;
    padding: 6px;
    background-color: #e6e6e6;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Эффект при наведении на иконки */
.pa-fld1 img:hover {
    transform: scale(1.1); 
}

.pa-fld2 {
    font-family: var(--font-accent);
    font-size: 9px;
    text-align: center;
    background-color: #f4f4f4;
    color: var(--not-so-dark-color);
    width: 200px;
    margin: 26px 0px 3px 7px !important;
    padding: 10px 5px 10px 5px;
    border-radius: 10px;
    position: relative;
}

.pa-fld2 a {
   font-weight: 600;
   color: var(--dark-accent-color)!important;
}

.pa-fld2 a:hover {
     color: var(--accent-links-color);
}

.pa-fld2:first-line {
  font-size: 10px !important;
  font-weight: 600;
}

.pa-fld3, .pa-fld5, .pa-posts, .pa-respect {
    display: inline-block !important;
    position: relative;
    font-family: var(--font-accent);
    color: var(--not-so-dark-color);
    margin: 8px -6px 0px -6px;
    width: 58px !important;
    text-transform: lowercase;
    font-size: 9px;
    text-align: center;
}

.pa-fld4 {
    text-align: center;
    margin-top: -18px;
    width: 196px;
    margin-left: 7px;
    margin-bottom: -16px;
    /* display: flex; */
    /* position: relative; */
    z-index: 2;
    background-color: #f4f4f4;
    padding: 7px;
    border-radius: 0 0 15px 15px;
}


.pa-avatar.item2 + .pa-fld4 {
    display: block;
}



.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.9 */
li.pa-title {
    margin: 10px 1px -54px 7px;
    padding: 5px 10px;
    letter-spacing: 1px;
    font-weight: normal;
    font-family: var(--font-accent);
    font-size: 8px;
    text-transform: lowercase;
    background: transparent;
    text-align: center;
    color: #b1b1b1;
    position: relative;
    z-index: 2;
    width: 190px;
}


li.pa-online {
    line-height: 0.8em;
    margin: 10px 0px 12px 0px;
    text-transform: uppercase;
    font-size: 9.2px;
    font-family: var(--font-basic);
    color: var(--not-so-dark-color);
    letter-spacing: 1px;
}

li.pa-last-visit {
    margin: 7px 0 12px 0;
    font-family: var(--font-accent);
    font-size: 9px;
    color: var(--not-so-dark-color);
    text-transform: lowercase;
}

li.pa-awards {
    margin: 6px 0 0 0;
    text-align: center;
    font-family: trebuchet ms;
    font-family: var(--font-accent);
    color: var(--not-so-dark-color);
    font-size: 9px;
    text-transform: lowercase;
}

li.pa-awards br {
    display: none;
}

/* 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 {
    border-style: none none none none;
    border-width: 0px 0px 0 0px;
    /*position: absolute;*/
}

/* D1.2 */
#pun-title h1 {
  display : block;}

/* D1.3 */
#pun-title .container {
  border-style: none none none none;}


/* D1.4 */
#pun-title h1 span  {
  display: none;}

#pun-title h1 span  {
  font-size: 1.5em;}


/* 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: absolute;
    width: 1101px;
    margin-top: -70px;
    margin-left: -51px;
    font-weight: bold;
    text-align: center;
    font-family: var(--font-accent);
    text-transform: uppercase;
    color: var(--primary-text-color);
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    z-index: 1;
}

div#pun-navlinks {}

#pun-navlinks li>a:after {
  visibility: visible!important;
}

#pun-navlinks li:hover>a:after {
  opacity: 0.7; 
}

/* D3.2 */
#pun-navlinks .container {
  padding-top: 0px;
  color: var(--links-color)!important;
}

/* D.3 */
#pun-navlinks li {
  padding-right: 1em;
  display: inline;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    height: 26px;
    margin-top: 1px;
    letter-spacing: 1px;
    text-align: center;
}

/* D4.2 */
#pun-ulinks .container {
    text-transform: lowercase;
    position: absolute;
    width: 1101px;
    margin-left: -91px;
    text-align: center;
    margin-top: -20px;
    z-index: 5;
}

#pun-ulinks .container li.item5 {
  display: none;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: solid;
  border-left-width: 1px;
  /*white-space: nowrap;*/
  font-size: 9px !important;
  }

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em
  }

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0;
  }

/* 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: 150px;
    height: 50px;
    position: absolute;
    top: 303px;
    margin-left: 657px;
    text-transform: lowercase;
    font-size: 8px;
    text-align: justify;
    text-align-last: center;
    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: 0 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;

  }

#onlinelist span a {
  color: var(--links-color-stats)!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; /* Отступы вокруг картинки */
   }

.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 {
    display: inline;
    transform: scale(0);
    border: 1px solid var(--accent-links-color);
    border-radius: 10px;
    transition: all 0.5s ease-in-out 0s;
    opacity: 0;
    left: -125px !important;
    padding: 5px;
    position: absolute;
    width: 150px;
    top:16px;
    z-index: 99;
}

.tooltip:hover em {
    font-family: 'Verdana' !important;
    font-size: 10px !important;
    background: var(--dropdown-bg-color);
    padding: 10px;
    position: absolute;
    width: 150px;
    z-index: 99;
    transform: scale(1);
    opacity: 1;
    transition: all 0.5s ease-in-out 0s;
}

.avaktg {
  text-align: center!important;
  position: relative!important;
  width: 100%!important;
}

.tooltip:hover em img {
    border-radius: 0!important;
}

.tooltip a {
    /*letter-spacing: 1px; */
    color: var(--off-white-color) !important;
    font-family: var(--font-accent);
    /* font-weight: 600; */
    opacity: 100%;
    font-size: 8px;
    text-transform: lowercase;
    display: block;
    text-align: center;
}

.headerImg {
    position: absolute;
    z-index: 2;
}

.headerImg a:hover{
    filter: none!important;
}

.headerImg img {
    filter: brightness(0.9) contrast(0.9) hue-rotate(82deg) saturate(0.5)
}

.headerImg img:hover {
    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 {
    width: 100%;
    border: 1px solid var(--accent-links-color);
    background-color: var(--light-accent-color);
    padding: 0 4px;
    border-radius: 10px 10px 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(--off-white-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    min-width: 121px;
    z-index: 1;
    margin: 0px 0 0 0;
    background: var(--off-white-color);
    padding: 6px 10px;
    border-radius: 15px;
    border: 1px solid var(--accent-links-color);
}

.dropdown-menu a {
    color: var(--dropdown-link-color);
    font-size: 10px;
    font-weight: 500;
    padding: 4px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-family: var(--font-accent);
}

.dropdown-menu a:hover {
    background: var(--accent-links-color);
    border-radius: 5px;
    margin-left: 3px;
    color: #000!important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.show {
    display: block;
}

/* Стили для отображения шапки 
#html-header {
    height: 328px;
    position: relative;
}*/

#html-header div {
    /*width: fit-content;*/
    /*height: fit-content;*/
    /*position: absolute;*/
}

#clubs {
    position: absolute;
    margin-top: 106px;
    margin-left: 216px;
    color: var(--off-white-color);
    line-height: 14px;
    font-size: 9px;
    text-align: justify;
    /* display: flex; */
    /* gap: 10px; */
    /* flex-direction: row; */
      z-index: 2;
}

#clubs div {
  display: flex;
  flex-direction: column;
  position: relative;
}

#clubs div img {
    height: 62px;
    opacity: 0.6;
}

#clubs div img:hover {
  opacity: 1;
}

#clubs .new:after {
    content: "*";
    color: #f8e1e1;
    font-size: 20px;
    /*font-weight: 600;*/
    font-family: var(--font-accent);
    position: absolute;
    top: 0px;
    left: -9px;
}

#ams-list {
    position: absolute;
    margin-top: 251px;
    margin-left: 861px;
    width: 172px !important;
    text-align: center;
    padding: 3px 0px;
    z-index: 3;
    color: var(--off-white-color);
}

#guest-links {
    position: absolute;
    margin-left: 870px;
    margin-top: 200px;
    width: 80px;
    height: 12px;
      z-index: 4;
}

#user-links {
    position: absolute;
    margin-left: 968px;
    margin-top: 200px;
    min-width: 80px;
     z-index: 4;
}

#weather {
    position: absolute;
    margin-top: 323px;
    margin-left: 872px;
    font-family: var(--font-accent);
    color: var(--off-white-color);
    font-size: 9px;
    width: 155px;
    /* font-weight: 600; */
    z-index: 2;
}

#best-all div, #best-writers div {
    position: relative !important;
}

#top-button {
    position: absolute;
    margin-top: 344px;
    margin-left: 918px;
    opacity: 0.7;
}

#banners {
    position: absolute;
    width: 921px;
    height: 41px;
    overflow-y: auto;
    margin: -41px 0 0 27px !important;
}