/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1775856842.css);

  @import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');
  @font-face {font-family:'Cactus Jack'; src: url(https://forumstatic.ru/files/001c/af/9a/19359.ttf);}
  @font-face {font-family:'Vienna Free Oblique'; src: url(https://forumstatic.ru/files/001c/af/9a/59812.otf);}
  @font-face {font-family:'Let me show you'; src: url(https://forumstatic.ru/files/001b/e8/13/92993.otf);}
  @font-face {font-family:'FontOfKindness2.0'; src: url(http://forumstatic.ru/files/001b/e8/13/64971.otf);}

/* A1.2 */
:root, .light {
--bg1: #ebebeb; /* общий фон */
--bg2: #f2f2f2; /* тело */
--bg3: #e4e4e4; /* профиль */
--clrvar1: #252525; /* тёмный текст */
--clrvar2: #f5f5f5; /* светлый текст */
--clrlink1: #607256; /* ссылки статика */
--clrlink2: #43523b; /* ссылки актив */
--clrlink3: #f4f4f4; /* светлые ссылки статика */
--clrlink4: #d9e5dc; /*светлые ссылки актив */
--cozysticky: #abbdb0; /* стики */
--cozysticky2: #dae7de; /* светлые */
--button1: #607256; /* кнопки нейтрал */
--button2: #43523b; /* кнопки актив */

--cozytabbg: #607256;
--cozytabbghov: #798f6c;
--cozytabtxt: #f4f4f4;

--cozybg: url(https://forumstatic.ru/files/001b/e8/13/53052.png);
--cozyhead: url(https://forumstatic.ru/files/001b/e8/13/23365.png);
--cozyfooter: url(https://forumstatic.ru/files/001b/e8/13/35150.png);
--cozycat1: url(https://forumstatic.ru/files/001b/e8/13/96925.png);
--cozycat2: url(https://forumstatic.ru/files/001b/e8/13/68387.png);
--cozycat3: url(https://forumstatic.ru/files/001b/e8/13/45438.png);
--cozycat4: url(https://forumstatic.ru/files/001b/e8/13/91840.png);
--cozycat5: url(https://forumstatic.ru/files/001b/e8/13/44211.png);
--cozycat6: url(https://forumstatic.ru/files/001b/e8/13/77869.png);
--cozycat7: url(https://forumstatic.ru/files/001b/e8/13/27113.png);
--cozycatgame: url(https://forumstatic.ru/files/001b/e8/13/70289.png);
--cozycatstat: url(https://forumstatic.ru/files/001b/e8/13/96374.png);
--cozyicon: url(https://forumstatic.ru/files/001b/e8/13/56778.png);
--cozyup: url(https://forumstatic.ru/files/001b/e8/13/96822.png);
--cozydown: url(https://forumstatic.ru/files/001b/e8/13/49803.png);
--cozyprof: url(https://forumstatic.ru/files/001b/e8/13/81867.png);
--guestb: url(https://forumstatic.ru/files/001b/e8/13/95397.png);
}

.dark {
--bg1: #3b3f47; /* общий фон */
--bg2: #50555f; /* тело */
--bg3: #5e636f; /* профиль */
--clrvar1: #b8bdc7; /* светлый текст */
--clrvar2: #252525; /* тёмный текст */
--clrlink1: #9ecbaa; /* ссылки статика */
--clrlink2: #b5d5be; /* ссылки актив */
--cozysticky: #6d7e87; /* стики */
--cozysticky2: #b3bec7; /* светлые */
--button1: #223038; /* кнопки нейтрал */
--button2: #42545e; /* кнопки актив */

--cozytabbg: #223038;
--cozytabbghov: #354954;
--cozytabtxt: #eaeaea;

--cozybg: url(https://forumstatic.ru/files/001b/e8/13/82115.png);
--cozyhead: url(https://forumstatic.ru/files/001b/e8/13/93452.png);
--cozyfooter: url(https://forumstatic.ru/files/001b/e8/13/93791.png);
--cozycat1: url(https://forumstatic.ru/files/001b/e8/13/11744.png);
--cozycat2: url(https://forumstatic.ru/files/001b/e8/13/40630.png);
--cozycat3: url(https://forumstatic.ru/files/001b/e8/13/96072.png);
--cozycat4: url(https://forumstatic.ru/files/001b/e8/13/67175.png);
--cozycat5: url(https://forumstatic.ru/files/001b/e8/13/34340.png);
--cozycat6: url(https://forumstatic.ru/files/001b/e8/13/92286.png);
--cozycat7: url(https://forumstatic.ru/files/001b/e8/13/89471.png);
--cozycatgame: url(https://forumstatic.ru/files/001b/e8/13/38775.png);
--cozycatstat: url(https://forumstatic.ru/files/001b/e8/13/28155.png);
--cozyicon: url(https://forumstatic.ru/files/001b/e8/13/56471.png);
--cozyprof: url(https://forumstatic.ru/files/001b/e8/13/60145.png);
--guestb: url(https://forumstatic.ru/files/001b/e8/13/42225.png);
}


/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* фон */
html {
  background: var(--cozybg);
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-position: top center;
  background-color: #647268;
  background-size: cover;
}

/* A2.2 */
.punbb * {.topic+.modmenu .container>span {display: none;}
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* 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 textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* 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
  }

/* A3.9 */
.punbb .post-content em.bbuline {
    font-style: normal;
    text-decoration: underline;
}

/* A3.10 */
.punbb a {
  text-decoration: none;
  color: var(--clrlink1);
  }
.punbb a:hover {
  text-decoration: none;
  color: var(--clrlink2);
  }

/* 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 {
    background-color: var(--bg1);
    border: none !important;
    width: 1062px;
    margin: auto;
    position: relative;
    margin-bottom: 0px;
    top: 70px;
    padding-top: 5px;
    color: var(--clrvar1);
}

/* A5.2 */
.punbb {
  margin: 0 auto;
  width: 1020px;
  height: auto;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* 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: none;
  }

#pun-main .post {
  background: var(--bg2);
  padding: 16px;
  margin: 12px 0 0 10px;
  max-width: 95%;
  border-radius: 5px;
}
.punbb .formal {
   max-width: 1000px;
   margin-left: 12px;
   background: var(--bg2);
   border-radius: 5px;
  }

/* A5.9 */
.punbb .container {
  border: none;
  }

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
  background-color: var(--bg2)!important;
  box-shadow: none!important;
  text-transform: lowercase;
  }

/* A5.10 */
#pun-index .category h2 span {
    display: none;
}

.punbb .section h2, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  width: 930px;
  height: 30px;
  margin-bottom: -10px;
  border-style: none;
  text-align: center;
  padding-top: 13px;
  font-family: verdana;
  font-size: 14px;
  color: var(--clrvar1);
  text-transform: lowercase;
  }
#pun-main h1 {
  width: 1020px;
  height: 50px;
  border-style: none;
  text-align: center;
  font-family: verdana;
  font-size: 14px;
  color: var(--clrvar1);
  }

/* категории на главной */
#pun-category1.category h2 {
    background: var(--cozycat1) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#pun-category2.category h2 {
    background: var(--cozycat2) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#pun-category3.category h2 {
    background: var(--cozycat3) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#pun-category4.category h2 {
    background: var(--cozycat4) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#pun-category5.category h2 {
    background: var(--cozycat5) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#pun-category6.category h2 {
    background: var(--cozycat6) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#pun-category7.category h2 {
    background: var(--cozycat7) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}

#pun-stats h2 {
    background: var(--cozycatstat) no-repeat;
    height: 45px;
    width: 1020px;
    margin: -13px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}

#post-form h2 {
    background: var(--cozycatgame) no-repeat;
    height: 45px;
    width: 1000px;
    margin: -10px auto;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
    color: transparent;
}
#post-form h2 span {
  display:none;
}

#pun-index #pun-main .category .container {
    background-color: var(--bg2);
    border-radius: 0 0 5px 5px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
    padding: 10px;
}

#pun-stats .statscon {
    background-color: var(--bg2);
    border-radius: 0 0 5px 5px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
    padding: 10px;
}

#pun .highlight-text {
    background: var(--cozysticky2);
    padding: 1px 5px;
    border-radius: 5px;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #888;
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* 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 {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 7px 5px;
  background: var(--bg1);
  border-radius: 5px;
  border-top: 3px solid var(--cozysticky);
  border-bottom: 3px solid var(--cozysticky2);
  }
.post-content .spoiler-box > div {
    background: none !important;
}
.post-content .spoiler-box > div:before {
    content: '\f1b0';
    font-family: 'Font Awesome 6 Free';
    color: var(--cozysticky);
    margin-right: 6px;
    font-size: 11px;
    margin-left: -12px;
    font-weight: bold;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  font-size: 12px;
  font-family: verdana;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  background: var(--cozysticky);
  padding: 2px 10px;
  border-radius: 5px;
  text-transform: lowercase;
  color: var(--clrvar1);
  }

#tags .container {
    background: var(--bg3);
    border-radius: 5px;
}

/* 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 {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

/* это интересно */
#pun-live-rusff {
  margin-right: 13px!important;
  }
.cool1 {
  width: 130px!important;
  background: var(--cozysticky)!important;
  box-shadow: none !important;
  text-shadow: none !important;
  border: none!important;
  border-radius: 5px;
  text-transform: lowercase;
  transition: 800ms all;
  }
.cool2 {
  background: var(--cozysticky)!important;
  box-shadow: none !important;
  border: none!important;
  border-radius: 5px;
  padding: 1px;
  transition: 800ms all;
  }
.cool3 {
  background: var(--cozysticky)!important;
  box-shadow: none !important;
  text-shadow: none !important;
  border: none!important;
  border-radius: 5px;
  transition: 800ms all;
  }
.cool1:hover, .cool2:hover, .cool3:hover {
  background: var(--cozysticky2)!important;
  transition: 800ms all;
  }
.cooltext {
  display: none;
  }

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  text-align: center;
  text-transform: lowercase;
  margin-top: -10px!important;
  margin-left: 8px;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin-left: 5px;
  }
.button, #pa-edit a {
    background: var(--button1);
    padding: 8px 10px 9px;
    justify-content: center;
    color: var(--cozytabtxt) !important;
    text-transform: lowercase;
    border: none;
    margin-bottom: 3px !important;
    width: auto;
    outline: none;
    border-radius: 10px;
    transition: transform 1s 
cubic-bezier(0.72, -0.01, 0, 1) 0s, filter .5s 
cubic-bezier(0.72, -0.01, 0, 1) 0s;
}
.button:hover, #pa-edit a:hover {
  background: var(--button2);
  cursor: pointer;
  color: var(--cozytabtxt);
  transform: scale(1.1);
  outline: none;
  }

/* C1.4 */
.punbb fieldset {
  border-style: none;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* 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;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 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 {
  width: 64%;
  margin: 0;
  }
.punbb textarea {
  background-color: var(--bg1);
  color: var(--clrvar1);
  border: none;
  border-radius: 5px;
  outline: none;
  margin-top: 10px;
  }

#form-buttons tr {display: block;width: 100%;text-align: center;}
#form-buttons td img {position: absolute; z-index: 100; left: 0; top: 0;}
#form-buttons td {
  background-image: none !important;
  display: inline-block;
  position: relative;
  width: 29px;
  height: 29px;
  border: none;
  }
#form-buttons td .material-icons {
  position: absolute;
  z-index: 1;
  left: 0;
  font-size: 20px;
  padding: 3px;
  color: var(--cozysticky);
  transition: 0.5s;
  }
#form-buttons td:hover .material-icons {
  opacity:0.5;
  transition: 0.5s;
  background: var(--bg1);
  }

/* 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 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

/* цвет важное */
span.stickytext {
   padding: 2px 8px 3px 8px;
   background: var(--cozysticky);
   color: var(--clrvar1);
   font-family: verdana;
   text-transform: lowercase;
   font-size: 9px;
}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }
#pun-index .main .tc2, #pun-index .main .tc3 { 
    display:none;
}

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  text-transform: lowercase;
  width: 30%;
  }

.category .container thead {display: none;}
#pun-main .container thead {display: none;}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
   font-family: 'FontOfKindness2.0'!important;
   font-size: 18px!important;
   text-transform: lowercase;
   font-weight: 700!important;
  }

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: none;
  }

/* C2.11 */
.punbb .main td {
  border-style: none!important;
  border-width: 0;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

.cozypodf {
  text-align: justify;
  font-family: verdana;
  text-transform: lowercase;
  font-size: 9px;
  letter-spacing: 0.5px;
  width: 530px;
  padding-bottom: 5px;
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 10em
  }

/* C2.15 */
.punbb div.icon {
  border-style: solid;
  border-width: 0.6em 0.6em 0.6em 0.6em;
  height: 0;
  line-height: 0.0;
  margin-top: 0.1em;
  width: 0;
  }

/* C2.16 */
/* иконки */
.punbb  table div.icon {
    display: block;
    position: absolute;
    width: 89px;
    height: 48px;
    border: none;
    margin-left: -100px !important;
    background: url(-) no-repeat;
    margin-top: 5px !important;
}

TR.inew Div.icon {
  background: var(--cozyicon) no-repeat;
  }

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon, #pun-modviewforum TR.inew Div.icon {
    float: left;
    height: 30px;
    position: relative;
    width: 30px;
    top: -5px;
    margin-left: -70px !important;
    background: none;
}

/* котик */
#pun-viewforum TR.inew Div.icon::before,
#pun-messages TR.inew Div.icon::before,
#pun-searchtopics TR.inew Div.icon::before,
#pun-modviewforum TR.inew Div.icon::before {
  content: "\f1b0";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 22px;
  color: var(--cozysticky);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* лайки */
/*БыстроПлюсы для Топика!*/
div .post-rating p>a {
    text-align: center;
    outline: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    background: url(https://forumstatic.ru/files/001b/e8/13/73895.png) no-repeat;
    position: relative;
    padding-left: 7px;
    padding-top: 33px;
    z-index: 100;
    width: 85px;
    height: 53px;
    text-align: center;
    font-size: 12px !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 34px;
    letter-spacing: -1px;
    color: #ffffff;
}
div .post-rating p>a:hover {
    animation: fave-heart 1s steps(28);
    background-position: -2800px 0px;
    transition: background 1s steps(28);
    color: aliceblue!important;
}

@keyframes fave-heart {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2800px 0;
  }
}
div.post-vote p>a {
    position: relative;
    z-index: 10;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 12px !important;
    cursor: pointer; 
    left: 25px!important;
}
div .post-rating p>a:after, div.post-vote p>a:before {
    font-family: 'verdana';
    position: absolute;
    z-index: -1;
    color: #d7d0d0;
    font-size: 30px;
    margin-top: 3px;
}

/* C3.2 */
.punbb .post h3 {
  border-style: none;
  border-width: 0px;
  }

/* C3.3 */
.punbb .post h3 span {
    padding: 0.5em 1em;
    display: block;
    margin-left: 20em;
    border-left-style: none;
    border-left-width: 0px;
    background-color: var(--bg1);
    color: var(--clrvar1);
    border-radius: 5px;
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

.punbb .post h3 strong::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--clrvar1);
    transition: .2s cubic-bezier(.4, 0, 1, 1);
    margin-right: 6px;
}
.punbb .post h3 strong::before {
    content: '\f1b0';
}

/* C3.5 */
.punbb .post .post-author {
    position: relative;
    float: left;
    z-index: 10;
    margin-top: -23px;
    margin-bottom: 0px;
    border-left: none;
    width: 210px;
    background: var(--cozyprof) no-repeat scroll center top var(--bg3);
    border-radius: 5px;
    overflow: hidden;
  z-index: 1!important;
}

.punbb .post .post-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    top: 60px;
    background: linear-gradient(to top, var(--bg3), transparent);
    border-radius: 5px 5px 0 0;
    pointer-events: none;
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  position: relative;
  text-align: center;
  width: 210px;
  line-height: 1em;
  padding: 20px 0px 0px 0px;
  }

.punbb .post .post-author ul {
    position: relative;
    text-align: center;
    margin-top: 40px !important;
	margin-left: 10px;
    background: var(--bg3);
	width: 190px;
	border-radius: 5px;
}

.pa-posts .fld-name {display:none;}
.pa-respect .fld-name {position:absolute;margin:3px 0 0 -15px;font-size:3px;opacity:0;}
.pa-posts, .pa-respect, .pa-fld4 {
    display:inline-block;
    text-align:center;
    margin:0px 5px!important;
    font-size: 10px;
    color: var(--clrvar1);
    text-transform:lowercase;
    font-family: verdana;
    }

.pa-fld2 .fld-name, .pa-fld4 .fld-name  {
  display:none;
}
.cozystatprof {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    padding: 0px 20px;
    margin-top: 7px;
    margin-bottom: 7px;
    box-sizing: border-box;
    font-size: 10px;
    text-align: center;
}
.pa-posts::before, .pa-respect::before, .pa-fld4::before {
    display: block;
    text-align: center;
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    color: var(--cozysticky);
}
.pa-posts::before {content: '\f27a';}
.pa-respect::before {content: '\f004';}
.pa-fld4::before {content: '\f4d3';}

li.pa-fld5 {
    position: absolute;
    margin-top: -60px;
    margin-left: -10px;
    z-index: -1!important;
}
li.pa-fld5 img {border-radius: 5px 5px 0 0;}
li.pa-fld5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    top: 60px;
    background: linear-gradient(to top, var(--bg3), transparent);
    border-radius: 5px 5px 0 0;
    pointer-events: none;
}

li.pa-fld1 {
    margin-left: -10px;
    margin-top: 12px;
}

#stranitsa {
    background-size: cover;
    background-position: center center;
}

.cozypl {
    position: relative;
    gap: 10px;
    display: flex;
    z-index: 0;
    width: 210px;
    height: 40px;
    top: 0px;
    text-align: center;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}

.cozyplsh {
    margin: 0 auto;
    line-height: 10px;
    position: relative;
}

.cozyplsh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 80%);
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
    border-radius: 10px;
}

.cozyplsh span {
    font-size: 8px;
    width: fit-content;
    text-transform: lowercase;
    display: block;
    position: relative;
    margin: 0px auto !important;
    top: 10px;
    color: var(--clrvar2);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

.cozyplsh p {
    font-size: 8px;
    width: fit-content;
    text-transform: lowercase;
    display: block;
    position: relative;
    margin: 0px auto !important;
    bottom: 8px;
    color: var(--clrvar2);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}


/* лз */
.fd {
  padding: 2px 4px 2px 4px !important;
  text-align: center;
  width: 180px;
  background: var(--bg2);
  margin-top: 5px;
  border-radius: 5px;
  font-size: 8px;
  transition: 800ms all;
}
.fd:hover {
  background: var(--cozysticky2);
}
.lz {
    padding: 5px 4px 5px 4px !important;
    text-align: center;
    width: 180px;
    font-family: verdana;
    font-size: 8px;
    color: var(--clrvar1) !important;
}
.lz a {
color: var(--clrlink1) !important;  
}
.lz a:hover {
color: var(--clrlink2) !important;
}

.lz a.ank {
display: block;
margin-bottom: -4px;
text-align: center;
text-transform: lowercase;
font-family: verdana;
font-size: 10px;
color: var(--clrlink1) !important;
font-weight: 600 !important;
}
.lz a.ank:hover {
color: var(--clrlink2) !important;
}

/* C3.7 */
.pa-author {
  font-size: 12px;
  font-family: verdana;
  font-weight: bold;
  margin-bottom: 7px;
  margin-top: -7px;
  letter-spacing: -0.5px;
  }

/* C3.8 */
.pa-author a {
  text-decoration: none
  }

/* C3.9 */
li.pa-title {
  padding-bottom: 7px;
  font-size: 8px;
  }

li.pa-avatar img {
  border-radius: 5px;
  max-width: 180px;
  max-height: 180px;
}

li.pa-online {
  line-height: 0.8em;
  border-left-style: none;
  border-left-width: 0em;
  padding-left: 0.4em;
  margin-top: 0.7em;
  }

/* C3.11 */
.punbb .post-body {
  margin-left: 20em;
  border-left-style: none;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 17.6em;
  border-left-style: none;
  border-left-width: 0px;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: none;
  border-top-width: 0px;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  text-transform: lowercase;
  }
.punbb .post-links li a {
  background: var(--bg1);
  padding: 2px 8px;
  border-radius: 5px;
}
.punbb .post-links li a:hover {
  background: var(--bg3);
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

.pa-gifts {display: none;}

.punbb .post h3 a.permalink {text-transform: lowercase;}

.punbb .post h3 a.sharelink::before, .punbb .post li.pl-email.profile a::before, .punbb .post li.pl-email.pm a::before, .punbb .post li.pl-email.email a::before, .punbb .post li.pl-delete a::before, .punbb .post li.pl-edit.edit-ajax a::before, .punbb .post li.pl-edit a::before, .punbb .post li.pl-quote a::before {
font-family: 'Font Awesome 6 Free';
font-weight: 900;
color: #7b7b7b!important;
transition: .2s cubic-bezier(.4,0,1,1);
margin-right: 6px;
}

.punbb .post h3 a.permalink::before {
font-family: 'Font Awesome 6 Free';
font-weight: 900;
color: var(--clrlink1)!important;
transition: .2s cubic-bezier(.4,0,1,1);
margin-right: 6px;
}
.punbb .post h3 strong::before {
font-family: 'Font Awesome 6 Free';
font-weight: 900;
color: var(--clrlink1);
transition: .2s cubic-bezier(.4,0,1,1);
margin-right: 6px;
}
.punbb .post h3 a.permalink:hover::before, .punbb .post h3 a.sharelink:hover::before, .punbb .post li.pl-email.profile a:hover::before, .punbb .post li.pl-email.pm a:hover::before, .punbb .post li.pl-email.email a:hover::before, .punbb .post li.pl-delete a:hover::before, .punbb .post li.pl-edit.edit-ajax a:hover::before, .punbb .post li.pl-edit a:hover::before, .punbb .post li.pl-quote a:hover::before {
color: var(--clrlink2);
}
.punbb .post  h3 a.permalink::before {content: '\f017';}
.punbb .post li.pl-email.profile a::before {content: '\f007';}
.punbb .post li.pl-email.pm a::before {content: '\f075';}
.punbb .post li.pl-email.email a::before {content: '\f0e0';}
.punbb .post li.pl-delete a::before {content: '\f1f8';}
.punbb .post li.pl-edit.edit-ajax a::before {content: '\f304';}
.punbb .post li.pl-edit a::before {content: '\f304';}
.punbb .post li.pl-quote a::before {content: '\f10e';}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }

 .sharelink{
  display:none!important;
  }

/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  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 1em
  }

/* 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 .container {
   min-height: 350px;
  }
#viewprofile ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  text-transform: lowercase;
  }
#profilenav ul {
  padding: 1em 10px 1em 10px;
  margin: 0 0 1em 0;
  text-transform: lowercase;
  background: var(--bg1);
  border-radius: 5px;
  }

td#profile-left {
  background: var(--bg1);
  display: block;
  position: absolute;
  width: 210px !important;
  text-align: center;
  padding: 10px 0 10px 0 !important;
  border-radius: 5px;
  }
li#profile-title strong {
    margin-top: -2px;
    font-family: verdana;
    font-size: 8px;
    text-transform: lowercase;
    color: var(--clrvar1);
    font-weight: normal !important;
}
li#pa-edit strong a {
    padding-left: 10px !important;
}

/* C6.5 */
/* C6.5 */
#viewprofile h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }
#profilenav h2 {
  width: 154px;
  text-align: center;
}

/* 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: 0em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*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 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: none;
  border-width: 0px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin: 0;
  border: none;
  background: transparent;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border: none;
  }

/* D1.4 */
#pun-title h1 span  {
  font-size: 1.5em;
  }

/* шапка */
#pun-title table {
    background: var(--cozyhead) no-repeat;
    height: 490px;
    width: 1070px;
    background-position: top center;
    margin-top: -40px !important;
    margin-left: -21px;
    border: none;
}
#pun-title td.title-logo-tdl {
    display: none;
}

#pun-title td.title-logo-tdr {
    border: none;
    width: 468px;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  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, #pun-navlinks .container {
    position: absolute;
    border: none;
    text-align: right;
    width: 960px;
    margin-top: -267px;
    font-family: Vienna Free Oblique;
    font-size: 26px;
    background: transparent;
    font-weight: 500;
}
#pun-navlinks a {
  color: var(--clrlink3);
  transition: 800ms all;
  padding: 1px;
  }
#pun-navlinks a:hover {
  color: var(--clrlink4);
  transition: 800ms all;
  transform: scale(1.1);
}

/* D3.2 */
#pun-navlinks .container {
  padding: 0.7em 1em;
  }
#navawards {
    display: none !important;
}

/*замена названий ссылок*/ 
#pun-navlinks li a span {
 display: none;
}
#pun-navlinks li#navindex a:before {content: "Game";}
#pun-navlinks li#navuserlist a:before {content: "Users";}
#pun-navlinks li#navsearch a:before {content: "Search";}
#pun-navlinks li#navprofile a:before {content: "Profile";}
#pun-navlinks li#navpm a:before {content: "Message";}
#pun-navlinks li#navadmin a:before {content: "AMS";}
#pun-navlinks li#navlogout a:before {content: "Exit";}
#pun-navlinks li#navlogin a:before {content: "Login";}
#pun-navlinks li#navregister a:before {content: "Register";}
#pun-navlinks li#navpr_1 a:before {content: "PR";}

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding-right: 0.5em;
  }

/* D3.4 */
#pun-navlinks li a {
  font-size: 1.1em;
  display: inline-block;
  text-decoration: none
  }

span.num_msg {
  margin-top: -6px!important;
  margin-left: 1px!important;
  background: var(--cozysticky)!important;
  border-radius: 20px!important;
  }
span.num_msg:before {
  display: none!important;
  }

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    position: absolute;
    text-align: right;
    top: -37px;
    width: 1000px;
    z-index: 2;
}

/* D4.2 */
#pun-ulinks .container {
  border: none;
  padding: 5px 5px;
  text-align: right;
  margin-top: 5px;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  white-space: nowrap;
  text-transform: lowercase;
  font-size: 9px;
  color: var(--clrlink3);
  text-decoration: none;
  }
#pun-ulinks li a:hover {
  color: var(--clrlink4);
  }

/* 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: none;
  padding-left: 0
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
  padding: 0.8em 1em 1em 1em;
  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* 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 {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
    float: left;
    background: var(--bg1);
    margin: 0px 2px 3px;
    padding: 3px 10px 4px;
    display: flex;
    justify-content: center;
    color: var(--clrvar1) !important;
    font-size: 8px;
    font-family: verdana;
    line-height: 15px;
    text-transform: lowercase;
    width: 22%;
    border-radius: 5px;
}

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
    float: left;
    background: var(--bg1);
    margin: 0px 2px 3px;
    padding: 3px 10px 4px;
    display: flex;
    justify-content: center;
    color: var(--clrvar1) !important;
    font-size: 8px;
    font-family: verdana;
    line-height: 15px;
    text-transform: lowercase;
    width: 23%;
    border-radius: 5px;
}
#pun-stats li.item4 a {
    color: var(--clrlink1) !important;
}
#pun-stats li.item4 a:hover {
    color: var(--clrlink2) !important;
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: none;
  border-top-width: 0px;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: none;
  border-top-width: 0px;
  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: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
  }

/* D8.5 */
#pun-about p span {
    display: block;
    padding-left: 50%;
    margin-top: -25px;
}

/* 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.8em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: none;
  border-top-width: 1px;
  }

/* Sticky elements
-------------------------------------------------------------*/

#pun-adnav {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
}

#pun-adnav sup {
    display: none;
}

#pun-adnav li {
    list-style: none !important;
}

#adnav-standard > ul > li {
    padding: 2px;
}

#pun-adnav ul.adsubnav li {
    padding-left: 2px !important;
}

#adnav-standard > ul > li > a {
    display: block;
    padding: 2px 2px;
    box-sizing: border-box;
    position: relative;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: none;
    color: var(--clrlink1);
}

#pun-adnav li.isactive > a {
    background: #333;
    color: #fff;
    border-radius: 5px;
}

#pun-adnav li.item3:not(.isactive) > a,
#pun-adnav li.item-forms:not(.isactive) > a,
#pun-adnav li.item15:not(.isactive) > a,
#pun-adnav li.item16:not(.isactive) > a,
#pun-adnav li.item20:not(.isactive) > a,
#pun-adnav li.item11:not(.isactive) > a,
#pun-adnav li.item22:not(.isactive) > a {
    background-color: var(--cozysticky);
    border-radius: 5px;
}

#pun-adnav li.item3 > a:after,
#pun-adnav li.item-forms > a:after,
#pun-adnav li.item15 > a:after,
#pun-adnav li.item16 > a:after,
#pun-adnav li.item20 > a:after,
#pun-adnav li.item11 > a:after,
#pun-adnav li.item22 > a:after {
    content: '\f005';
    font: 700 12px 'Font Awesome 6 Pro';
    margin-top: 1px;
    margin-left: 2px;
    float: right;
}

#adnav-standard > ul > li > a:hover {
    background: var(--clrlink2) !important;
    color: #fff;
    border-radius: 5px;
}

#pun-adnav .adsubnav {
    padding-left: 2px;
}

#pun-admain .submittop {
    position: -webkit-sticky;
    position: sticky;
    top: 56px;
    background: var(--bg1);
    padding: 8px 16px;
    margin-bottom: 16px;
    z-index: 7;
}



/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  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: solid;
  border-bottom-width: 1px;
  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;
  }

/* Футер
 -------------------------------------------------------------*/
#pun-about p.container {
    background: var(--cozyfooter) no-repeat;
    width: 1062px;
    height: 99px;
    margin-left: -21px;
    margin-top: 30px;
    margin-bottom: -88px;
    font-size: 8px !important;
    text-align: center;
}

/* Индикатор онлайна
--------------------------------------------------------------*/
.punbb .post .post-author ul {
  position: relative;
  overflow: visible !important;
}

.punbb .post .post-author {
  overflow: visible !important;
}

.punbb .post .post-author ul li.pa-online {
    position: absolute;
    left: 5px;
    top: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    background: transparent !important;
    border-radius: 0;
    animation: none !important;
    overflow: visible !important;
}

.punbb .post .post-author ul li.pa-online::before {
  content: '\f1b0';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--cozysticky);
}

.punbb .post .post-author ul li.pa-online::after {
  display: none;
}

.post-author.online .punbb .post .post-author ul li.pa-online::before {
  color: #8ac176;
}

.post-author:not(.online) .punbb .post .post-author ul li.pa-online::before {
  color: #bbb;
}

.punbb .post .post-author ul li.pa-online:hover::before {
  transform: scale(1.1);
}

.post-author.online .punbb .post .post-author ul li.pa-online:hover::before {
  color: #aad79a;
}

.post-author:not(.online) .punbb .post .post-author ul li.pa-online:hover::before {
  color: #ccc;
}

.punbb .post .post-author ul li.pa-online:hover strong {
  opacity: 1;
  visibility: visible;
}

.post-author .pa-online strong {
  position: absolute;
  display: inline-block !important;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  right: auto !important;
  top: auto !important;
  padding: 0 8px !important;
  min-height: 24px;
  line-height: 24px;
  background: #000;
  font-weight: 400;
  white-space: nowrap;
  color: #fff;
  font-size: 90%;
  text-shadow: rgba(0,0,0,0.2) 0 -1px 0;
  text-align: center;
  z-index: 100;
  border-radius: 3px;
  transition: all .2s ease;
  opacity: 0;
  visibility: hidden;
  cursor: text;
  pointer-events: none;
}

.post-author .pa-online strong:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  top: auto !important;
  border-width: 6px 6px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

/* Скроллбар
-------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--cozysticky);
    border-radius: 5px;
}

/* Смена стиля © max, the murderer!
-------------------------------------------------------------*/
/* Обнуляем отступы у самого ul */
#theme_switcher {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block;
    line-height: 0;
    font-size: 0;
    /* Используем absolute, но с сохранением места в потоке */
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    /* Если нужно отступ от края, добавьте: */
    /* top: 5px !important; */
    /* right: 10px !important; */
}

#theme_switcher li {
    display: inline-block;
    margin: 0 5px;
    position: relative;
    vertical-align: middle;
}

#theme_switcher li label {
    display: none;
}

#theme_switcher li input {
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Скрываем старые иконки */
#theme_switcher li input::before {
    display: none;
}

/* Кнопка для светлой темы */
#theme_switcher li input#light {
    background-image: url('https://forumstatic.ru/files/001b/e8/13/88251.png?v=1');
    width: 68px;
    height: 44px;
    position: relative;
    top: 210px;
    right: -28px;
}

/* Кнопка для тёмной темы */
#theme_switcher li input#dark {
    background-image: url('https://forumstatic.ru/files/001b/e8/13/16778.png?v=1');
    width: 69px;
    height: 49px;
    position: relative;
    top: 250px;
    right: 80px;
}

/* Эффект при наведении на кнопки с картинками */
#theme_switcher li input#light:hover,
#theme_switcher li input#dark:hover {
    filter: brightness(0.9);
    transition: filter 0.2s ease;
}

#theme_switcher li input#light:checked,
#theme_switcher li input#dark:checked {
    filter: brightness(0.9);
}