/*************************************************************
 - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1760884007.css);
  @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
  @import url('https://fonts.googleapis.com/css?family=Kosugi|Oswald|PT+Sans+Narrow|Press+Start+2P|Rubik+Mono+One|Russo+One');
  @import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');
  @import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css";
  @import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*Иморт шрифта IcoMOON*/
@font-face {
    font-family:'icomoon';
    src: url('fonts/icomoon.eot?m18qjm');
    src: url('fonts/icomoon.eot?m18qjm#iefix') format('embedded-opentype'),  
    url('fonts/icomoon.ttf?m18qjm') format('truetype'),  
    url('fonts/icomoon.woff?m18qjm') format('woff'),  
    url('fonts/icomoon.svg?m18qjm#icomoon') format('svg');
    font-weight:normal;
    font-style:normal
}

* {
  text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --black: #000000;
  --gray: #202020;
  --lgray_b: #8b8a89;
  --orange: #bc6c28;
  --select: #bc6c2894;
  --brown: #77613d;
  --lbrown: #7e6c56;
  --n_brown: #493626;
  --bej: #edc99e;
  --bej_s: #c2a881;
  --lbej: #e6cba1;
  --dred: #30211e;
  --dred_bg: #1a0d05;
  --body: url(https://forumstatic.ru/files/001c/90/fc/45331.jpg); 
  --bg1: url(https://forumstatic.ru/files/001c/90/fc/57546.png) top 35% center fixed;
  --heder: url(https://forumstatic.ru/files/001c/90/fc/15170.jpg) top center;
  --footer: url(https://forumstatic.ru/files/001c/90/fc/96097.jpg) no-repeat bottom;
  --tahoma_10: 400 10px Tahoma;
  --tahoma_14: 400 14px Tahoma;
  --roboto_11: 300 11px Roboto;
  --roboto_12: 400 12px Roboto;
  --roboto_12m: 500 12px Roboto;
  --roboto_14b: 700 14px Roboto;
  --roboto_14l: 300 14px Roboto;
  --roboto_12l: 300 12px Roboto;
  --roboto_16b: 700 16px Roboto;
  --roboto_18l: 300 18px Roboto;
  --cambria_14: 400 14px Cambria;
  --cambria_12: 400 12px Cambria;
  --cambria_18b: 700 18px Cambria;
}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #bc6c28 #202020;
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--gray);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--orange);
} 
  
/* скрыть rss-atom, h2 объяву, поделиться */
.punbb .modmenu .container span, #pun-announcement h2, div#pun-live-rusff, .topic a.sharelink, td#button-smile, #pun-navlinks .container li#navawards, #pun-status .status-right, #pun-viewtopic li.pa-gifts, #pun .modlist, li.pa-awards span.mini_awards_label, .post-author li.pa-awards br, .post-author li.pa-awards .mini_awards_label {display: none !important;}

/* цвета выделения текста */
::selection {background: var(--select); color: var(--black);}
::-moz-selection {background: var(--select); color: var(--black);}
::-webkit-selection {background: var(--select); color: var(--black);}


.lastedit {display: none;}
abbr {border-bottom: dotted 1px;}
.post-content hr {
background: var(--gray);
    border: none;
    width: 100%;
    height: 1px;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }
  
.punbb {
    box-sizing: border-box;
    background: var(--body);
}

/* 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;}

@supports(-webkit-appearance: none) or (-moz-appearance: none) {
  input[type='checkbox'], input[type='radio'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  }
}

input[type="checkbox"] {
  box-shadow: 0 0 0 1px var(--gray) inset;
  padding: 6px;
  cursor: pointer;
  transition: all .3s ease-in-out 0s; 
}

input[type="radio"] {
  box-shadow: 0 0 0 1px var(--gray) inset;
  border-radius: 100%;
  padding: 6px;
  cursor: pointer;
  transition: all .3s ease-in-out 0s; 
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--gray) inset;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: auto;
  vertical-align: middle
  }

#pun-index thead, #pun-viewforum thead, #pun-online thead, #pun-userlist thead, #pun-searchtopics thead, #pun-respect thead {
  display: none;
}

#pun-index .main .tc2, #pun-index .main .tc3, #pun-index .main .tcmod {
   display: none; 
}

input[type=submit], input[type=button] {
    background: var(--bej);
    outline: none;
    padding: 3px 10px;
    font-size: 12px !important;
    border: solid 1px var(--lbrown);
    text-transform: lowercase;
    transition: all 0.3s linear 0s;
    cursor: pointer;
}

input[type=submit]:hover, input[type=button]:hover {
  color: var(--bej);
  background: var(--dred);
  transition: all 0.3s linear 0s;
}

input[type=text], input[type=password], .resizable-textarea textarea, .punbb select, textarea#reputationText {
   background: var(--bej);
   outline: none;
   border: solid 1px var(--lbrown);
}


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
    font: normal 68.75% verdana, Georgia, Tahoma, Arial, Trebuchet MS, Sans-Serif,  Courier, Times New Roman, 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;
  }

/* 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 */

html {background: var(--bg1), var(--dred_bg); background-size: cover;}

#pun {
    width: 1042px;
    margin: auto;
    margin-bottom: 130px;
    box-sizing: border-box;
    background: var(--footer);
    position: relative;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 0 0 31px;
  box-sizing: border-box;
  background: var(--body);
  padding: 0 23px;
  }

/* A5.3 */
#pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.5 */
#pun-post .topic {
  margin-top: 1em;
  }

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align:justify;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top:  dotted 2px;
  width: 250px;
  margin: 5px auto 15px;
  opacity: 10%;
  }

/* 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.5em 0.7em 0.7em 0.7em;
    padding: 1.3em;
    background: var(--bej);
    border: solid 1px var(--lbrown);
}

.quote-box p:last-of-type, blockquote p:last-of-type {
    padding: 0;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    padding: 5px;
    font: var(--roboto_12);
    margin-bottom: 5px;
    background: var(--lbrown);
    color: var(--lbej);
  }
  
.punbb .code-box strong.legend a {color: var(--bej) !important;}
.punbb .code-box strong.legend a:hover {color: var(--orange) !important;}
  
.post-content .spoiler-box > div {
  background: url(https://forumstatic.ru/files/0015/1b/9c/60771.svg) no-repeat left center !important;
  background-size: 11px !important;
  }

.post-content .spoiler-box > div.visible {
  background-image: url('https://forumstatic.ru/files/0015/1b/9c/35872.svg') !important;
  background-size: 11px !important;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border: var(--icon);
  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 */

.linkst, .linksb {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  line-height: 2;
  box-sizing: border-box;
  }


.linksb {
  display: block;
  width: 100%;
  padding: 0 1em;
  clear: both;
  line-height: 2;
  box-sizing: border-box;
  }

#pun-admin_paid_services .linksb {
    clear: none;
}

/* B3.2 */
.multipage {
  margin-bottom: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  font-size: 12px;
  }

/* B3.4 */
.linkst .postlink {
  float: right;
  font-weight: bold;
  font-size: 12px;
  }

/* 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;
  }
  
.postlink.long {width: auto !important;} 

.linksb .postlink, .linkst .postlink, .subscribelink, .linksb .pagelink, .linkst .pagelink {
    font-size: 12px;
}

/*************************************************************
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 {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border: none;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  display: none;
  }
  
#pun-profile fieldset legend {
  display: block;  
  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.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;
  background: var(--bej);
  }

/* 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
-------------------------------------------------------------*/

#pun-index tbody.hasicon tr {
display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 25px;
    position: relative;
}

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 60%;
  }
  
.punbb tbody.hasicon td.tcl {padding-left: 2em;}
#pun-index tbody.hasicon td.tcl {padding-left: 1em;}

.intd {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tclcon {font: var(--roboto_12l);}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  overflow-wrap: anywhere;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: center;
  width: 30%;
  line-height: 20px;
  }
  
a.lastpost-link {
  font: var(--roboto_12m);
}
  
span.lastpost {
  font: var(--roboto_12);
}
  
.punbb .user-avatar {  
    height: 36px !important;
    width: 36px !important;
    padding: 2px !important;
  }

.punbb .user-avatar .avatar-image {
    opacity: 1 !important;
    transition: all 0.3s linear 0s;
    border: solid 2px var(--brown);
    border-radius: 0 !important;
  }

.punbb .user-avatar .avatar-image:hover {
  opacity: 0.5 !important;
  transition: all 0.3s linear 0s;
  }

.punbb .user-avatar .isonline {
  background: var(--blok) !important;
  animation: blinkColor 2s linear infinite !important;
  -moz-animation: blinkColor 2s linear infinite !important;
  -webkit-animation: blinkColor 2s linear infinite !important;
  right: 5px !important;
  }

/* 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 {
  padding: 15px 0 15px 35px;
  display: flex;
  }

#pun-index .tcl h3 a {
    font: var(--roboto_14b);
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  padding: 0.8em 1em;
  border: none !important;
  }

/* C2.12 */
.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.15 */
.punbb div.icon {
  line-height: 0.0;
  margin-top: 0.1em;
  }

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  padding: 0 10px;
  position: relative;
  }
  
#pun-viewtopic .post .container {
    margin: 10px 40px;
    background: var(--bej);
    outline: solid 1px var(--lbrown);
}

#pun-viewtopic .post-rating .container, #pun-viewtopic .post-vote .container {
    margin: 0;
    background: transparent;
    outline: none;
}

/* C3.3 */
.punbb .post h3 {
    padding: 0 60px;
    font: var(--cambria_12);
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 30px;
  text-align: right;
  }

/* C3.5 */
.punbb .post .post-author {
    float: left;
    width: 210px;
    margin: 10px 0;
    overflow: hidden;
    background: url(https://forumstatic.ru/files/0015/1b/9c/96464.jpg) top no-repeat;
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    width: 209px;
    line-height: 140%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 3px;
    padding: 10px 0;
  }

/* C3.7 */
.pa-author {
    font: var(--cambria_18b);
    text-align: center;
  }

/* C3.8 */
.pa-avatar {
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
}

.pa-avatar img {
  border: solid 1px var(--bej_s) !important;
  background: var(--bej);
  max-width: 180px;
  max-height: 240px;
  min-width: 180px;
  min-height: 240px;
  padding: 2px;
}

/* C3.9 */
li.pa-title {
    width: 100%;
    font: var(--cambria_12);
    text-align: center;
    padding: 2px 5px;
}
  
li.pa-posts {
    width: 100%;
    text-align: center;
}

li.pa-time-visit {text-align: center;}

li.pa-online {
    position: absolute;
    top: 10px;
    left: -16px;
    writing-mode: tb-rl;
  }

li.pa-online strong {
    text-transform: lowercase;
    font: var(--roboto_12m);
    color: var(--gray);
    opacity: 0.7;
}
  
/* лз - анкета */
.pa-fld1 {width: 100%;}

.pa-fld1 a {
    width: 100%;
    display: block;
    background: var(--bej_s);
    text-align: center;
    font: var(--cambria_14);
    margin-top: 5px;
}

.pa-fld1 a:hover {color: var(--dred) !important; filter: opacity(0.5);}

/* лз - текст лз */
.pa-fld2 {text-align: center;}

/* спойлер в профиле */
.post-ul-Sp {
    display: flex;
    background: transparent !important;
    border: none !important;
    gap: 3px !important;
    padding: 10px !important;
    text-align: center;
}

.post-img-Sp {width: 67px; height: 17px; margin-top: 3px !important; transition: all 0.3s linear 0s;}
.post-img-Sp:hover {filter: opacity(0.5); transition: all 0.3s linear 0s;}



/* C3.11 */
.punbb .post-body {
  margin-left: 210px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 0.95em 2.3em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  font: var(--cambria_12);
  text-transform: lowercase;
  }

/* 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 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: 5px;
  margin: 5px 0;
  background: var(--bej);
  border: solid 1px var(--lbrown);
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 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;
  }
  
#viewprofile tbody tr {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
}
  
#profile-left {
width: 30%;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px !important;
}

#viewprofile li#pa-edit {
    border: solid 1px var(--lbrown);
}

#profile-right {
    width: 70%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 10px 0 0 10px;
}

#viewprofile #profile-name strong {
    font: var(--roboto_14l);
}

#profile-signature ul {
    border-top: solid 1px var(--lbrown) !important;
}

.punbb #profile-signature .sigimage {
    max-width: 100% !important;
}


/*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: inline-block;
  padding: 0.5em 1em;
  font-weight: 400 !important;
  }

/* 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;
  }

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.2 */
#pun-title h1 {
  display : none;
  }

/* D1.3 */
#pun-title .container {
  border-style: none;
  }

#pun-title table {
    background: var(--heder);
    width: 1042px;
    height: 458px;
    margin-left: -23px;
    font-size: 0;
}

#pun-title td.title-logo-tdl {
    border: none;
    width: 100%;
}

#pun-title td.title-logo-tdr {
    display: none;
}

/* 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 {
    position: absolute;
    top: 408px;
}

#pun-navlinks, #pun-navlinks .container {
    width: 995px;
    height: 25px;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0;
    display: flex;
    gap: 30px;
}

#pun-navlinks li a {
    font: var(--tahoma_14);
    text-transform: uppercase;
    color: var(--orange) !important;
}

#pun-navlinks li span {margin-left: 6px;}

#pun-navlinks li a:before {overflow: hidden; display: inline; font-family: 'icomoon', 'fontawesome';}

#pun-navlinks li#navindex a:before {content: "\f015";}
#pun-navlinks li#navextra1 a:before {content: "\e900"; margin-right: 8px;}
#pun-navlinks li#navuserlist a:before {content: "\f0c0";}
#pun-navlinks li#navsearch a:before {content: "\f002";}
#pun-navlinks li#navprofile a:before {content: "\f2bb";}
#pun-navlinks li#navpm a:before {content: "\f0e0";}
#pun-navlinks li#navadmin a:before {content: "\f085";}
#pun-navlinks li#navlogout a:before {content: "\f08b";}
#pun-navlinks li#navregister a:before {content: "\f0fe";}
#pun-navlinks li#navlogin a:before {content: "\f110";}
#pun-navlinks li#navpr_1 a:before {content: "\f0a1";}
#pun-navlinks li#navpiar a:before {content: "\f518";}

#pun-navlinks li a:hover {
    filter: opacity(0.5);
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
    margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
    height: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    padding-bottom: 10px;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
    text-transform: lowercase;
    font: var(--tahoma_10);
  }

/* 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;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
    font: var(--roboto_12);
    text-transform: lowercase;
    padding: 10px 0 0 30px;
  }
 
#pun-status .status-right a, #pun-status span a {
   color: var(--orange) !important; 
   transition: all 0.3s linear 0s;
} 
 
#pun-status .status-right a:hover, #pun-status span a:hover {
   color: var(--dred) !important; 
   transition: all 0.3s linear 0s;
}


/* 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;
    margin: 1em 2em 0.8em 2em;
    padding: 2px;
    text-align: left;
    font: var(--roboto_12);
  }

/* D5.6 */
#pun-break1 {
  display: none;
  }

/* 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: 2.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  margin-top: 15px;
  gap: 10px;
  width: auto;
}

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  line-height: 150%;
  box-sizing: border-box;
  font: var(--roboto_11);
}
  
#pun-stats .statscon {width: 100%;}

#pun-stats .statscon .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    column-gap: 10px;
    text-align: justify;
    padding: 0 17px;
}

#pun-stats .statscon .container a {
  font-weight: normal;
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  float: left;
  width: 100%;
  padding: 0 10px;
  font: var(--roboto_12l);
  box-sizing: border-box;
  }

/* 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: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: left;
  line-height: 150%;
  padding: 7px 26px;
  font-size: 9px;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
border-bottom: none;
    padding: 2px;
    text-align: left;
    font: var(--roboto_12);
    margin: 1em 2em 0 2em;
  }

/* D8.8 */
#pun-break4 {
  display: none;
  }


/* 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;
  }
  
/* Иконки в форме ответа */ 
.punbb #main-reply {
box-sizing: border-box;
    outline: none;
    padding: 5px;
    background: var(--bej);
}

.punbb #form-buttons table {width: 100%;}

.punbb #form-buttons tr {
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: space-between;
  padding: 5px 0;
  width: 100%;
}

#form-buttons td {
  background: none !important;
  position: relative;
  width: 15px;
  height: 15px;
  line-height: unset !important;
}

#form-buttons td:before {
 content: "";   
 position: absolute;
 width: 15px;
 height: 15px;
 display: flex;
 justify-content: center;
 align-items: center;
 left: 0;
 top: 0;
 pointer-events: none;
 font-family: 'FontAwesome';
 font-size: 14px;
 color: var(--dred);
 transition: all 0.3s linear 0s; 
}

#form-buttons td:hover:before {
  color: var(--orange);
  outline: none;
  transition: all 0.3s linear 0s;    
}

#form-buttons td#button-font:before {content: "\f031";}
#form-buttons td#button-size:before {content: "\f034";}
#form-buttons td#button-bold:before {content: "\f032";}
#form-buttons td#button-italic:before {content: "\f033";}
#form-buttons td#button-underline:before {content: "\f0cd";}
#form-buttons td#button-strike:before {content: "\f0cc";}
#form-buttons td#button-indent:before {content: "\f03c";}
#form-buttons td#button-left:before {content: "\f036";}
#form-buttons td#button-center:before {content: "\f037";}
#form-buttons td#button-right:before {content: "\f038";}
#form-buttons td#floatbut:before {content: "\f1de";}
#form-buttons td#button-link:before {content: "\f0c1";}
#form-buttons td#button-spoiler:before {content: "\f518";}
#form-buttons td#button-image:before {content: "\f03e";}
#form-buttons td#button-video:before {content: "\f144";}
#form-buttons td#button-hide:before {content: "\f023";}
#form-buttons td#button-quote:before {content: "\f10e";}
#form-buttons td#button-code:before {content: "\f121";}
#form-buttons td#button-color:before {content: "\f53f";}
#form-buttons td#button-table:before {content: "\f00b";}
#form-buttons td#button-smile:before {content: "\f118";}
#form-buttons td#button-sticker:before {content: "\f2dc";}
#form-buttons td#button-keyboard:before {content: "\f11c";}
#form-buttons td#button-addition:before {content: "\f107";}
#form-buttons td#button-mask:before {content: "\f630";}

#pun-messages td#button-mask {display: none;}

/* всплывающие окна */ 
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, #pun-multimove .pun-modal .modal-inner, .punbb-admin #pun-admain .adcontainer {
  background: var(--bej);
}

#pun-report .inner h1, #pun-reputation .inner h1, #pun-admin-award-form .inner h1, #pun-multimove .pun-modal .modal-inner h1 {
  padding: 10px 0;
} 

#tags .container {
    top: 25px !important;
    background: var(--bej);
    border: solid 1px var(--lbrown);
    padding: 10px;
}

#pun-edit #tags .container {top: 43px !important;}

#font-area {overflow-x: auto; height: 100%;}

/* страница переадресации */

#pun-redirect {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  background: var(--bej);
  padding: 0;
} 

.redirect-page #pun {
    background: none;
    outline: none;
    padding: 0;
}

#pun-redirect h1 {
   width: auto !important;
   margin: 0 !important;
}

.redirect-page .punbb {
  font-size: 12px;;
}