/* Шрифт */
@import url(style_cs.1740725227.css);

@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');

/* Код для подключения готического шрифта */
@font-face {
	font-family: "MasonChronicles";
	src: url("https://forumstatic.ru/files/001b/c4/83/39764.eot"); /* IE9 Compat Modes */
	src: url("https://forumstatic.ru/files/001b/c4/83/39764.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */	url("https://forumstatic.ru/files/001b/c4/83/62586.otf") format("opentype"), /* Open Type Font */	url("https://forumstatic.ru/files/001b/c4/83/16018.svg") format("svg"), /* Legacy iOS */	url("https://forumstatic.ru/files/001b/c4/83/98247.ttf") format("truetype"), /* Safari, Android, iOS */	url("https://forumstatic.ru/files/001b/c4/83/19935.woff") format("woff"), /* Modern Browsers */	url("https://forumstatic.ru/files/001b/c4/83/11498.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}
/***   ICOMOON   ***/
@font-face {
font-family: "icomoon";
src: url("https://forumstatic.ru/files/001b/aa/c9/72070.woff") format("woff"),
url("https://forumstatic.ru/files/001b/aa/c9/93478.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}

:root { 
--bg-main: #000000;
--radio: #202020;
--radio-bg: #bc6c28;
--link-color: #750606;
--link-font: "Alice";
--white: #fff;
--border-field: #750606;
}

/* форум */
html, body {margin: 0; padding: 0; min-width: 1020px !important;}

html {  
  background: var(--bg-main) url(http://forumstatic.ru/files/001b/c4/83/74980.jpg) top center no-repeat fixed;
}
body {
    padding-top: 214px;
    background: url(http://forumstatic.ru/files/001b/c4/83/78179.png) center -5px no-repeat;
}

.punbb * {
  margin: 0
  }

.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* Чекбоксы импуты */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
  }

.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(--radio) inset;
  cursor: pointer;
  padding: 10px;
  transition: all .3s ease-in-out 0s; 
}

input[type="radio"] {
  box-shadow: 0 0 0 1px var(--radio) inset;
  cursor: pointer;
  padding: 6px;
  transition: all .3s ease-in-out 0s; 
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
  background: var(--radio-bg);
  box-shadow: 0 0 0 4px var(--radio) inset;
}

input[type="radio"], input[type="checkbox"]  {box-shadow: none;}

/* кнопки */
input.button,  button.button,  button.sticker, button.size {
    color:#fff;
    background-color:red;
    background-image: -moz-linear-gradient(#fabdbd, #a60a0a 50%, #67010b 20%, #ed1b0c);
    background-image: -webkit-linear-gradient(#fabdbd, #a60a0a 50%, #67010b 20%, #ed1b0c);
    background-image: -o-linear-gradient(#fabdbd, #a60a0a 50%, #67010b 20%, #ed1b0c);
    border:1px solid #db1616;
    font-weight: 600 !important;
    border-radius:10px;
    padding: 6px 14px 6px 14px;
    box-shadow: 0 0 0 1px #520707;
      -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;    
    transition: all 0.5s linear;
}

input.button:hover,  button.button:hover,  button.sticker:hover, button.size:hover {   
  background-image: -moz-linear-gradient(#f57373, #8f0909 50%, #67010b 20%, #c21206);
    background-image: -webkit-linear-gradient(#f57373, #8f0909 50%, #67010b 20%,#c21206);
    background-image: -o-linear-gradient(#f57373, #8f0909 50%, #67010b 20%, #c21206);
   cursor: pointer;
  }
  
  /* инпут */
textarea#main-reply {
  padding: 10px;
  height: 200px; 
  width: 96.7% !important; 
  font-family: Verdana;
  background: #DEC29D url(http://forumstatic.ru/files/001b/c4/83/67800.jpg) bottom right no-repeat;
}

.modal-inner.section, input, textarea, select, optgroup, .punbb .resizable-textarea textarea {
  border: 1px solid #FFE4B5;
  background-color: rgba(210, 180, 140, .6);
  border-radius: 10px;
  box-shadow: 0 0 5px #fff inset;
  padding: 3px;
}

input {
  outline: none;
  padding: 3px 6px;
  border: 1px solid #FFE4B5;
  transition: 0.5s linear;
}  

/* Текст */
.punbb {
  font: normal 80% verdana, arial, helvetica, sans-serif, Alice, MasonChronicles;
  }

.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
  }

.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
  }

.punbb address, .punbb em {
  font-style: normal;
  }

.punbb .post-content em {
  font-style: italic;
  }

.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* ссылки */
.punbb a {
  color: var(--link-color);
  text-shadow: 1px 0 1px rgb(87 134 161 / 50%);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--link-font);   
  transition: all 0.5s ease-in-out;
  }
.punbb a:hover, a:active {color: #CC0000;}

.punbb optgroup {
  font-weight: bold;
  }

/* скрыть */
#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;
  }

.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
  }

#pun-main div.catleft, #pun-main div.catright, #title-logo-table h1 span, .lastedit  {display: none}

/* тело */
#pun {
  width: 978px;
  margin: 134px auto 50px auto;
  padding-bottom: 120px;
  overflow-wrap: break-word;
  background: url(http://forumstatic.ru/files/001b/c4/83/12396.png) bottom no-repeat,
  url(http://forumstatic.ru/files/001b/c4/83/96042.png) repeat;
  }

.punbb {
  padding: 50px 30px 0 30px;
  height: auto;
  }

/* redirect */
#pun-redirect {
  background: 
var(--bg-main) url(http://forumstatic.ru/files/001b/c4/83/44483.webp) top center no-repeat fixed;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 900;
  top: 0 !important;
  left: 0 !important;
}

#pun-redirect #pun-main {
  margin: 30px auto;
  background: #d3c8b2;
  border: 2px solid #2e2a20;
  border-radius: 15px;
  width: 50%;
  text-align: center;
  box-shadow: 0px 8px 22px 6px rgba(68, 225, 240, 0.5), 1px -16px 31px 2px rgba(245, 242, 75, 0.5);
}

#pun-redirect #pun-main h1 {
  background: none !important;
  font-family: "MasonChronicles";
  width: auto;
  border: none !important;
}

#pun-redirect #pun-main h1 span {  
  color: #302b1f !important;
  text-transform: none !important;
  font-size: 18px !important;
  letter-spacing: 0.5 !important;
}


.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

#pun-post .topic {
  margin-top: 1em;
  }

.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.4em 1em;
  }


/* Контент, коды, цитата*/
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

.punbb .post-sig dt {
  display: block;
  width: 250px;
  margin: 5px 0;
  }

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

.punbb .post-content img {vertical-align: text-bottom;}

.punbb .post-content img.postimg {vertical-align: middle;}

.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }
  
  /* цитата, спойлер и код */
.post-content .quote-box,
.post-content .code-box,
.post-content .hide-box {
display: flex;
flex-direction: column;
position: relative;
padding: 16px 20px;
margin: 14px 0.6em 14px 0.6em;
border-radius: 5px;
border: 1px solid var(--btmcl);
box-shadow:inset 0 0 0 1px #d9ccbc, inset 0 0 2px 1px #95745d, inset 0 0 8px 1px #caa790;
background: url(https://forumstatic.ru/files/001b/ca/07/32559.webp) calc(100% + 126px) 20% no-repeat;
background-color: rgba(222, 207, 184, 0.5);
}
.post-content .code-box {font-size: 0.8rem;}


/*** УБИРАЕМ ЛИШНИЙ ОТСТУП В ЦИТАТЕ ***/
.quote-box p:last-of-type, blockquote p:last-of-type, .post-content p:last-of-type {padding-bottom:0;}

/***   СПОЙЛЕР   ***/
/* свернуть спойлер ссылка */
.post-content .spoiler-box>blockquote a[onclick^="clickSP"] {
margin: 8px 0px -8px auto;
padding: 2px 6px 0;
font-size: 0.75em;
font-family: Tahoma, sans-serif;
border-top: 1px solid var(--btmcl);
}

.spoiler-box>div[onclick]>p {margin: 0 !important; padding: 0 !important; display: inline-block;}
.post-content .spoiler-box>blockquote.visible {overflow-x: hidden !important;}


/***   БЛОК СПОЙЛЕРА ВИДИМАЯ ЧАСТЬ   ***/
.post-content .quote-box.spoiler-box {padding: 0px;}

.post-content .spoiler-box>div {
display:block; position:relative;
padding: 10px 1em 10px 40px !important;
box-shadow: none;
font-weight: 400;
font-size: 1em;
letter-spacing: 0.02em;
color: white;
border-radius: 5px;
text-shadow: 0 0px 3px #000;
background: linear-gradient(2deg, #290505 0%, #961a1a 100%), #290505 !important;
}

.post-content .spoiler-box>div.visible {
text-shadow: 0 0px 3px #000;
background: linear-gradient(2deg, #961a1a 0%, #290505 100%), #290505 !important;
border-bottom: solid 1px var(--btmcl);
box-shadow:0 1px 0 0px #d9ccbc, 0 3px 2px -2px #95745d, 0 9px 8px -8px #caa790;
}

/*** луна на спойлере ***/
.post-content .spoiler-box>div:before {
content: '\e915';
font-family: icomoon, FontAwesome;
font-size: 30px;
position:absolute;
display: inline-block;
margin-left: -35px;
top: 50%;
transform: translateY(-50%);
height: 20px;
line-height: 20px;
}
.post-content .spoiler-box>div.visible:before {
content: '\e914';
height: 20px;
line-height: 20px;
}

/* Боксы информации */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  margin: 0 0 1.1em 0;
  }

.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }

/* аватар */
.punbb .post .post-author {
float: left;
width: 242px;
margin-top: 1px;
margin-left: 10px;
overflow: hidden;
background: url(http://forumstatic.ru/files/001b/c4/83/27974.png) no-repeat top center, url(http://forumstatic.ru/files/001b/c4/83/78970.png) no-repeat bottom center, url(http://forumstatic.ru/files/001b/c4/83/80049.png) repeat-y center;
text-align: center;
color: #FFDEAD;
font-family: "MasonChronicles";
font-size: 14px;
font-weight: normal;
text-shadow: 0 1px 6px rgba(125, 9, 9, 1);
border: 3px ridge #FFDEAD;
box-shadow: 3px 3px 8px rgba(0, 0, 0, .4);
}

.punbb .post .post-author a {
color: #FFDEAD;
font-family: "MasonChronicles";
text-shadow: 0 1px 6px rgba(125, 9, 9, 0.9);
}


.post-author li.pa-author {
font-size: 20px;
font-weight: normal;
font-family: "MasonChronicles";
padding: 10px 5px 10px;
box-sizing: border-box;
line-height: 1;
}

li.pa-title {
margin-bottom: 14px;
font-weight: normal;
color: #FFDEAD;
font-size: 14px;
text-shadow: 0 1px 6px rgb(105, 82, 0);
}

.pa-avatar.item2 img {
    border: 4px solid transparent;
    border-image: url(http://forumstatic.ru/files/001b/33/a6/55196.png) 4 round;
}

li.pa-avatar {
width: 175;
height: 250;
margin-bottom: 22px;
position: relative;
}

/* Пагинация, оформление страниц */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
  }

.multipage {
  margin-top: 3em;
  }

.linkst .pagelink {
  position: absolute;
  top: -5em;
  left: 1em;
  width: 24em;
  font-family: var(--link-font);
  }

.linkst .postlink {
  position: absolute;
  top: -5em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  font-family: var(--link-font);
  }

.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }
  /* нумерация страниц */
.punbb .linksb .pagelink a, .punbb .linkst .pagelink a {
  border: 1px solid rgba(28, 3, 3,.1);
  background: rgba(0,0,0,.1);
  padding: 0 5px;
}

.punbb .linksb .pagelink strong, .punbb .linkst .pagelink strong {
  background: linear-gradient(to bottom, rgba(255,255,255,0.13) 0%,rgba(0,0,0,0.23) 55%,rgba(255,255,255,0.13) 100%), #ab0c0c;
  border: 1px solid #400707 !important;
  color: rgba(255,255,255,.9);
  padding: 0 4px;
  border-radius: 2px;
}
  
/* формы, сумбит, филд */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

.punbb fieldset {
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }
  
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, #post-new legend strong, .punbb fieldset legend  {   
  background: radial-gradient(circle, rgba(210,0,0,1) 15%, rgba(0,0,0,1) 100%);
  color: var(--white);
  border: 1px solid var(--border-field);
  border-radius: 10px;
  font-family: var(--link-font);
  font-weight: bold;
  white-space: nowrap;
  }
.punbb fieldset, #viewprofile ul, #profilenav ul {
  border: 1px solid var(--border-field);
  border-radius: 10px;
  }
  
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
  }

.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

.punbb .inline .infofield {
  clear:both;
  }

.punbb .datafield br {
  display: none;
  }

.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

.punbb .datafield span.input a {
  font-weight: normal;
  }

.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

.punbb .hashelp {
  position: relative;
  }

.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

.punbb #profile .helplinks {
  top: 1.5em;
  }

.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }

/* таблица */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: bold;
  }

.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

.punbb .main td {
  padding: 0.8em 1em;
  }

.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
  }
  
  .punbb th {
background-color: transparent; /* цвет ячейки таблицы форум, количество тем */
box-shadow: inset 0 15px 15px -10px #ba0404;
color: var(--white);
}

/* Таблица на главной */
#pun-index .tcl h3 {
background: url(http://forumstatic.ru/files/001b/c4/83/88188.jpg) no-repeat top left;
width: 439px;
height: 37px;
line-height: 35px;
text-align: left;
box-sizing: border-box;
border: none;
padding: 0 1px;
}

#pun-index .tcl h3 a {
font-size: 17px;
font-family: "MasonChronicles";
font-weight: bold;
color: #e6d2b2;
margin: 0 0 0 26px;
}

#pun-index .tcl h3 a:hover {
color: #b4925b;
}

#pun-index .intd {
position: relative;
}
  
  /* Иконки */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
  }

.punbb tbody.hasicon td.tcl {
  padding-left: 3.2em;
  }

.punbb div.icon {
  height: 0;
  line-height: 0.0;
  margin-top: 0.1em;
  width: 0;
  }

.punbb  table div.icon {
  font-size: 1.05em;
  position: absolute;
  margin-left: -2.2em;
  }
  
  /* icon */
#pun-index div.icon {
  position: absolute;
  background: url(http://forumstatic.ru/files/001b/c4/83/74152.png) no-repeat 0 0;
  float: left;
  display: block;
  width: 57px;
  height: 37px;
margin-left: -19px;
margin-top: -2px;
}

#pun-index tr.inew div.icon {
  position: absolute;
  background: url(http://forumstatic.ru/files/001b/c4/83/74152.png) no-repeat 0 -40px;
float: left;
  display: block;
  width: 57px;
  height: 37px;
margin-left: -19px;
margin-top: -1px;
}

#pun-viewforum div.icon, #pun-messages div.icon, #pun-searchtopics div.icon {
  position: absolute;
  display: block;
  height: 15px;
  width: 15px;
  background: #dcc5a4;
  box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
  margin: 2px 0 0 -23px;
  border-radius: 10px;
}

#pun-viewforum tr.inew div.icon, #pun-messages tr.inew div.icon, #pun-searchtopics tr.inew div.icon {
  position: absolute;
  display: block;
  height: 15px;
  width: 15px;
  background: #8b955a;
  box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
  margin: 2px 0 0 -23px;
  border-radius: 10px;
}

#pun-viewforum tr.iclosed div.icon, #pun-messages tr.iclosed div.icon, #pun-searchtopics tr.iclosed div.icon {
  position: absolute;
  display: block;
  height: 15px;
  width: 15px;
  background: #524431;
  box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
  margin: 2px 0 0 -23px;
  border-radius: 10px;
}

#pun-viewforum tr.isticky div.icon, #pun-messages tr.isticky div.icon, #pun-searchtopics tr.isticky div.icon {
  position: absolute;
  display: block;
  height: 15px;
  width: 15px;
  background: #c38f31;
  box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
  margin: 2px 0 0 -23px;
  border-radius: 10px;
}

/* топик */
.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* Дата поста */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  background: url("http://forumstatic.ru/files/001b/c4/83/90615.png")  no-repeat top center transparent;
  }
#pun-main .post-links ul {
background: url(http://forumstatic.ru/files/001b/c4/83/95369.png) no-repeat bottom center transparent;}

.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* Аватар/профиль */

li.pa-posts, li.pa-respect {
display: inline-block;
width: 85px;
box-sizing: border-box;
margin: 0 auto;
padding: 5px 5px 20px 5px;
}

li.pa-online {
  line-height: 0.8em;
  padding-left: 0.3em;
  margin: 0 auto 15px auto;
  }

/* пост, цвет поста */
#pun-main .post-content {
color: #4a2d0d;
}
.punbb .post-body {
  margin-left: 20em;
  padding: 0 0 1px 0;
  }

.punbb .post-box {
  padding: 1em;
  }
  
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

.punbb .post-links {
  margin-left: 19em;
  }

.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  text-align: right;
  }

.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

.pl-email, .pl-website {
  float: left;
  }

.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }

/* мод меню */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

.punbb .modmenu .container strong {
  float: left;
  }

.punbb .modmenu input {
  margin-left: 1em;
  }

/* Сообщения */
.punbb .info .container {
  padding: 0.8em 1em
  }

.punbb .info .container .backlink {
  padding-top: 0.8em;
  }

#profile .container {
  padding-left: 18.6em;
  }

#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

#profilenav li {
  padding-bottom: 0.8em;
  font-weight: 900;
  font-family: var(--link-font);
  font-size: 16px;
  }

#viewprofile ul, #profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

#viewprofile h2, #profilenav h2 {
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  background-image: none;
  }

#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* аватар */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }
#pun .user-avatar.user-avatar .avatar-image {
border-radius: 10px 0px !important;
box-shadow: 2px 1px 4px rgba(0, 0, 0, .4);
border: 1px solid black;}

/* Лист пользователя*/
#pun-userlist .formal, #pun-userlist .formal .container {
  margin-bottom: 0;
  }

#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  }

/* лого */
#title-logo-table {
  background: url(http://forumstatic.ru/files/001b/c4/83/79426.png) bottom no-repeat !important;
  position: absolute;
  width: 978px;
  height: 450px;
  top: -5px;
  margin-left: -35px;
}

/* Меню форума */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

#pun-pagelinks .container li {
  display: inline;
  }

#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%;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em;
  }

#pun-navlinks .container {
  position: relative;
  text-align: center;
  font-size: 20px;
  padding: 2px 0 6px;
  margin-top: -404px;
  white-space: nowrap;
  z-index: 330 !important;
}

#pun-navlinks li {display: inline;}

#pun-navlinks li a {
  padding: 12px; 
  font-family: "MasonChronicles";
  font-weight: 700;
  color: #FFF8DC;
text-shadow: black 1px 0.5px 2px,
black 2px 0 5px,
red 2px 5px 4px,
red 1px 0 10px;
  z-index: 330;
}

#pun-ulinks .container {
  position: relative;
  font-size: 16px;
  font-family: var(--link-font);
  font-weight: 900;
  text-align: center;
  margin-right: 18px;
  margin-bottom: 5px;
  padding: 0 0 10px 0;
  top: 264px;
  white-space: nowrap;
  z-index: 330 !important;
}

#pun-ulinks li {display: inline;}
#pun-ulinks li a {text-decoration: none; padding-right: 8px; color: white; font-weight: 600; z-index: 330; text-shadow: #FC0 2px 0 3px;}
#pun-navlinks li a:hover, #pun-ulinks li a:hover {color: white;
  text-shadow: 0px 0px 3px red, 2px 2px 3px black, 0 0 1em blue, 0 0 0.2em blue;}
  
/* Статус */

#pun-status .container {
  position: relative;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-top: 330px;
  white-space: nowrap;
  padding: 0 0 0 15px;
  font-family: var(--link-font);
}

#pun-status .container a:hover {color: #95a060;}
#pun-status .item4.status-right a {padding-right: 10px;}

#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

#pun-crumbs1 p.container {
  padding: 1em 1em 0 1em;
  font-size: 16px;
  font-family: var(--link-font);
  }

#pun-break1 {
  margin: 0 1em;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  position: relative;
  font-weight: bold;
  }

#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  }

#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* Статистика */
#pun-stats .container {
  padding: 0.8em 1em;
  font-family: Alice;
  }

#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

li#onlinelist {
  margin-top: 1em;
  float: left;
  width: 100%;
  line-height: 130%;
  }

li#onlinelist div {
  padding: 0.7em 0 0 0;
  text-align: center;
  }


#pun-qjump {
  margin: 0;
  width: 50%;
  position: relative;
  float: left;
  }

#pun-qjump .container {
  background: transparent;
  padding: 0.8em 1em;
  }

/* эбаут */
#pun-about .container {
background-image: url(http://forumstatic.ru/files/001b/c4/83/79492.png); /*картинка в футере*/
  background-position: top center;
  background-repeat: no-repeat;
  height: 418px; /*высота картинки*/
  position: absolute; 
  width: 916px;
  margin-left: -5px;
  margin-top: -10px;
  text-align: right;
  z-index: 800;
}

#pun-about .container a:hover {color: #750606;}
#pun-about .container .item1 {margin-left: -6px; z-index: 900;}

#pun-about .container a, #pun-about .container span {
  color: #FFDEAD;
  font-weight: 200;
  font-size: 12px;
  transition: 0.5s linear;
  z-index: 900;
}

#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  }

#pun-crumbs2 .container {
  padding: 0.8em 1em;
  font-size: 16px;
  font-family: var(--link-font);
  }

#pun-break4 {
  margin: -2px 1em;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* ??? */
#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  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;
  }

/* остальное, кнопки */
.upme, .downme {
    cursor: pointer;
    display: none;
    margin-bottom: 160px;
    opacity: 0.7;
    position: fixed;
    z-index: 9999;
    text-align: center;
    transition: 0.5s linear;
}

.upme img {width: 57px !important; height: 61px !important;}
.downme img {width: 57px !important; height: 61px !important;}
.upme {top: 480px;margin-left: 940px !important;}
.downme {top: 565px;margin-left: 940px !important;}
.downme:hover, .upme:hover {opacity: 1.0;}

/* Фон маски и размер аватара */
.pa-avatar img {
        max-width: 175px;
        max-height: 250px;
    }

/* scroll */
::-webkit-scrollbar-thumb:vertical {background-color: #780c0c; border: 0px solid white; box-shadow: inset 0 0 2px #FFA500;}
::-webkit-scrollbar-thumb:horizontal {background-color: #780c0c; border: 0px solid white; box-shadow: inset 0 0 2px #FFA500;}
::-webkit-scrollbar {width: 4px; height: 4px; background-color: rgba(255, 228, 181, 0.3);}
::-webkit-scrollbar-track {
    background-color: transparent;
    border: 0.2px solid #FFA500;
    box-shadow: inset 0 0 2px #FFA500;
}

::selection {background: #b00909 !important; color: #fff;}

/* ссылки редактировать, лс и др */
#topic-users-in {font-size: 12px; margin: 0;}
.post-links {margin: 5px 0; padding: 0; white-space: nowrap;}
.post-links li {padding-right: 3px; display: inline-block;}
.pl-email, .pl-website {float: left; margin-right: 3px;}
.post-rating {text-align: right;}
.post-rating p {margin-right: 7px;}
.post-rating p a {font-weight: 600;}
.post-links ul {line-height: 20px; text-align: right; margin-right: 5px; padding-left: 0;}
.post-links a {
  padding: 2px 10px;
  background: linear-gradient(0deg, rgba(235,39,9,0.3) 0%, rgba(255,174,0,0.1) 57%);
  border: 1px solid #c4480e;
  font-size: 11px;
  text-shadow: none !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;    
    transition: all 0.5s linear;
}

.post-links a:hover {text-shadow: black 1px 0.5px 2px;}



/* оформление ссылок на главной в подкатегориях */
.podfortext {
  font-family: var(--link-font);
  font-weight: 500;
  padding: 0 5px 5px 0;
}

.podforlink {
  text-align: center;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

.podforlink a {
  font-size: 13px;
  margin-bottom: 10px;
  transition: all 0.5s ease-in-out 0s;
  letter-spacing: 0.8px;
}

@media screen and (max-device-width: 480px) {
html {-webkit-text-size-adjust: 100%;}}