/*ГРАФИЧЕСКИЕ ЭЛЕМЕНТЫ ОФОРМЛЕНИЯ
-------------------------------------------------------------*/
/* Палитра
-------------------------------------------------------------*/
:root {
    --font: 'Montserrat';
    --font2: 'Jost';
    --links: 150 35 95;
--links2: 140 56 102;
    --html: 234 234 234;
    --black: 0 0 0;
    --white: 250 250 250;
    --grey: 63 63 63;
    --gr: linear-gradient(135deg, #3f3f3f, #3d6629, #3f3f3f, #96235f);
    --bg: url(http://forumupload.ru/uploads/001b/0a/e9/2/233995.png) top center repeat;
}

:root {
	/* OFF-WHITES */
	--paper: #f1ebe5;
	--ivory: #fdfaf7;
	--porcelain: #eaf3ff;

	/* BLUES & GREYS */
	--navy: #a6b0ba;
	--slate: #7a8490;
	--seafoam: #bec3c9;
	--ink: #2a3441;

	/* PINKS & ROUGES */
	--blush: #f7ded6;
	--marsala: #b77c7c;
	--sand: #c4b6b5;
}


/*Составляющие форума
-------------------------------------------------------------*/
#bgtwo {
background: rgb(var(--grey)) var(--bg);
    width: 1200px;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    outline: 10px solid rgb(var(--grey));
    outline-offset: -20px;
border: 2px solid rgb(76 76 76);
    box-shadow: 0 0 0 1px rgb(6 6 6 / 30%) inset, 0 0 0 2px rgb(239 202 127 / 7%) inset, 1px 1px 0 0 rgb(17 17 17 / 30%), -1px 1px 0 0 rgb(17 17 17 / 30%), 0 1px 0 0 rgb(17 17 17 / 30%), 0 0 10px 0 rgb(0 0 0 / 0%) inset;
}

#bg {
    background: url(http://forumupload.ru/uploads/001b/0a/e9/2/601539.png), var(--bg), var(--gr);
    width: 1040px;
    height: 540px !important;
    top: 0px !important;
    margin-top: 0px;
    z-index: -2;
    position: fixed;
    text-align: center;
    clip-path: polygon(50% 0%, 90% 30%, 100% 60%, 0% 60%, 10% 30%);
}

/*фон форума*/
html {
background: var(--bg), var(--gr);
background-attachment: fixed;
 background-color: rgb(var(--grey));
}

body {
    min-width: 1040px;
}

#pun {
    width: 1040px;
    background: rgb(var(--white));
    outline: 8px solid rgb(var(--grey));
    outline-offset: 5px;
    border: 10px solid rgb(var(--black) / .03);
border-radius: 30px;
}

#html-footer {
    background: var(--html);
    height: 80px;
}

#pun-about .container {
    text-align: center;
    margin-bottom: 16px;
}

#pun-about .container a {
    font-size: 10px;
}

.status_userava>img {
    width: 36px;
    height: 36px;
    transition: ease-in-out 0.3s;
   object-fit: cover;
   outline: 2px solid rgb(255 255 255 / 12%);
    outline-offset: 3px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12);
}

#pun-crumbs1,#pun-crumbs2 {
    font-size: 8px!important;
  text-transform: uppercase!important
}

/*оформление аватарки на главной странице скриптом*/
#option {
   position: absolute;
   top: -70px;
   z-index: 80;
   margin-left: -60px;
}

#option img {
  max-width: 45px;
    height: 45px;
    background: #ffffff;
    transition: all .5s ease-in-out 0s;
    animation: spixx 2s infinite;
    outline: 8px solid rgb(var(--grey));
    outline-offset: 5px;
    border: 3px rgb(var(--grey)) solid;
    border-radius: 50px;
}

#option img:hover {
    filter: grayscale(100%) !important;
}

/*Анимация*/
@keyframes spixx {
  0% {
    box-shadow: 0 0 0 0px rgb(var(--links));
  }
  50% {
    box-shadow: 0 0 0 5px rgb(var(--links));
  }
}

/*Перенос колонок тем и сообщений под описание форума
-------------------------------------------------------------*/
#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

.main table .Add {
display: inline-block;
position: relative;
padding: 0;
background: transparent;
right: 5px;
bottom: 0;
margin: 5px auto 0;
width: 100%;
text-align: left;
}

.themes, .messages {
  display: inline-block;
  background: rgb(var(--black) / .03);
  padding: 5px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-size: 8px !important;
  text-transform: uppercase
}

.left, .right {display: inline-block;}
.right {padding-left: 5px;}

/* Скрытые элементы
-------------------------------------------------------------*/
#button-files_rusff, #button-graffiti_rusff {
    display: none !important;
}

#pun-announcement h2, p.lastedit, .category .container thead,.closedatafield, .pl-reports,#pun-live-rusff,#pun-title .title-logo span, .pa-gifts, .lastedit, .topic a.sharelink, .stickytext, .mini_awards_label, .sharelink, .pa-awards, #profile-gifts, li#navawards {
display: none !important;
}

/*отключение RSS-ATOM*/
.topic+.modmenu .container>span {display:none!important;
}

/* вкладка администрирование 
-------------------------------------------------------------*/
#pun-title TD.title-logo-tdr a {
    transition: none;
}

.punbb-admin #pun-status {
    display: none;
}

.adcontainer,
.adformal {
    border: none!important;
}

#pun-admain fieldset {
    border: 1px solid rgb(0 0 0 / 0.12) !important;
}

.punbb-admin #pun-navlinks {
    margin-top: 0;
}

#pun-admain h2 {
    background-color: rgb(var(--black) / .03)!important;
    text-align: center;
    padding: 4px 8px!important;
}

.admin-advert-block {
   display: none;
}

/* Оформление содержимого поста
-------------------------------------------------------------*/
.post-content table td {
    border: none!important;
}

.punbb .post-box {
border-left: 1px solid rgb(var(--black) / .06);
}

.punbb .post {
 border-color: transparent;
 text-align: justify;
}

#pun-main .post h3 {
    padding: 4px 16px 4px 8px;
    margin: 16px 0;
    text-transform: uppercase;
    background:rgb(var(--black) / .02);
    color: rgb(var(--black) / .6);
    font-size: 10px;
}

.punbb .post h3  span {
margin-left: 245px !important;
}

.post h3 strong:before {
content: "номер сообщения ";
}

.post h3 strong:after {
content: ", дата: ";
}

div.post-rating p:before {
content: "оценка: ";
}

/*Оформление рейтинга в посте*/
.post[data-group-id="3"] .post-rating {
    display: none;
}

.post-rating {
    margin-top: 16px !important;
    text-transform: uppercase;
    font-weight: bold;
}

.post-vote {
    display: block !important;
    font-size: 0px;
}

.post .post-vote p {
    padding: 3px 0 !important;
    margin-top: -4px !important;
}

.post-rating .container {
 background: rgb(var(--black) / .02);
    border-radius: 4px;
    padding: 4px 4px;
}

/* Оформление ссылок в постах */
.punbb .post-links{
    display: inline;
    text-transform: uppercase;
    font-weight: bold;
}

.punbb .post-links li a {
 background: rgb(var(--black) / .02);
    border-radius: 4px;
    padding: 4px 4px;
}

.punbb .post-links li:not(:last-child) a {
    margin-right: 4px;
}

.punbb .post-links li a:hover {
 background: rgb(var(--black) / .06);
}
.postlink  a {
 background: rgb(var(--black) / .02);
    border-radius: 4px;
    padding: 4px 4px;
}

.postlink a:hover {
 background: rgb(var(--black) / .06);
}

.punbb .linksb, .punbb .linkst {
 text-transform: uppercase;
font-weight: bold;
}

#pun-viewtopic .linkst {
margin: -10px 0 0 0;
}

.linkst .pagelink strong, .linksb .pagelink strong {
    background: rgb(var(--links));
    padding: 2px;
    color: rgb(var(--white));
    border-radius: 4px;
}

/*Мини-профиль в профиле пользователя
-------------------------------------------------------------*/
#pun-profile #profilenav {
    margin: 0 0 15px 0;
    display: block!important;
    width: 100%;
}

#profile-left li div img, .avatardemo {
    border: 2px solid rgb(var(--links));
}

#pun-profile #profile-left {
    text-align: center;
    width: 250px !important;
    background: rgb(var(--black) / .03);
    border-radius: 4px;
}

#pun-profile #profile-name strong {
    background: rgb(var(--links));
    color: rgb(var(--white));
    display: inline-block !important;
    width: auto;
    padding: 3px 6px !important;
   border-radius: 4px;
}

#profilenav h2 {
    padding-bottom: 8px!important;
}

#pun-profile #profilenav h2 {
    display: none;
}

#pun-profile #profilenav ul {
    margin: 0;
}

#pun-profile #profilenav ul li {
    display: inline-block;
    margin: 0 3px 3px 0;
}

#pun-profile #profilenav ul li a {
    background: rgb(var(--black) / .06);
    border-radius: 4px;
    padding: 4px 3px 4px;
    position: relative;
}

#pun-profile #profilenav ul li.isactive a {
    background: rgb(var(--links));
    color: rgb(var(--white));
}

#pun-profile #profile .container {
    padding: 0 0;
}

#pun-profile fieldset:not(.radiofield) {
    padding: 0 2em;
}

#pun-respect .main .tcr {
    width: 20%!important;
}

#pun-respect .tc3:nth-child(4) {
    width: 30%!important;
}

/*Иконки
-------------------------------------------------------------*/
.punbb table thead {
    font-size: 8px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: rgb(var(--white));
    border: 1px solid rgb(var(--html));
    box-shadow: 0 0 0 5px rgb(var(--html)) inset!important;
    display: block;
    float: left;
    height: 15px;
    margin-left:0px;
    margin-right: 10px;
    margin-top: 0px;
    position: relative;
    width:35px;
    box-sizing: border-box;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: rgb(var(--links));
    border: 1px solid rgb(var(--links))
}
#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: rgb(var(--links));
    border: 1px solid rgb(var(--links));
    box-shadow: 0 0 0 2px rgb(var(--grey)) inset;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: rgb(var(--grey));
    border: 1px solid rgb(var(--grey))
}

/* Оформление профиля автора в посте
-------------------------------------------------------------*/
.punbb .post .post-author {
    float: left;
    width: 230px;
    margin-top: -16px;
    text-align: center;
    background: rgb(var(--white));
    overflow: hidden;
    margin-bottom: 35px;
}

.punbb .post-author .pa-author {
    padding: 16px 0 0px;
    margin: 0 16px;
    font-family: var(--font), 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
}

.punbb .post-author .pa-title {
  padding: 5px 0;
    font-size: 10px;
    text-align: center;
    color: rgb(var(--black) / .9);
    text-transform: lowercase;
    letter-spacing: 1px;
    font-family: var(--font);
}
.punbb .post-author .pa-title::before, .punbb .post-author .pa-title::after {
    content: "";
    width: 10px;
    height: 1px;
    background-color: rgb(var(--black) / .9);
    vertical-align: middle;
    display: inline-block;
    margin: 0px 3px;
  }

.punbb .post-author .pa-avatar {
    padding: 5px;
  border: 2px solid #555;
    box-shadow: 0 0 0 3px rgb(var(--white)), -16px 16px 0px -11px #555, 16px -16px 0 -11px #555;
    margin: 10px 0 10px 0;
    outline: 1px solid rgb(var(--white));
    outline-offset: -8px;
    width: min-content;
    display: inline-flex;
    margin-bottom: 5px;
}

.punbb .post-author .pa-posts, .punbb .post-author .pa-respect, .punbb .post-author .pa-fld2, .punbb .post-author .pa-fld3 {
    display: inline-block;
    flex-direction: column;
    min-width: 100px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.punbb .post-author .pa-respect .fld-name {
    display: block;
    font-size: 0;
}

.punbb .post-author .pa-last-visit {
    padding: 8px 0;
}

.pa-online{
display:none!important;
}

.indOnline, .indOffline {
      display: inline-block;
      margin-left: 10px!important;
      width: 5px;
     transform: translateY(-50%);
      height: 5px;
      border-radius: 50%;
    }
    .indOnline {
background-color: rgb(var(--links));
    animation: blinkColor .9s linear infinite;
    outline: 1px solid rgb(var(--links));
    outline-offset: 2px;
    }
    
.indOffline {
      background-color: #555;
       outline-offset: 2px;
    outline: 2px solid rgb(85 85 85);
    }

#pun-searchposts .post-author .pa-author {
    font-size: 14px !important;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

#pun-searchposts .post-author {
    border-radius: 0 0 16px 16px;
    padding-bottom: 10px;
}

li.pa-respect, li.pa-posts {
   background: rgb(var(--grey)) var(--bg);
    border: 1px solid rgb(var(--links));
    outline: 2px solid rgb(var(--grey));
    border-radius: 0px;
    padding: 3px !important;
    text-transform: uppercase;
    text-align: center;
    font-size: 9px;
    color: rgb(var(--white));
    font-weight: bold;
    }


li.pa-respect a:link, li.pa-respect a:visited, li.pa-respect a:active, li.pa-respect a:hover {
color:#fff !important;
box-shadow: none !important;
}

.pa-respect img {
width: 7px !important;
filter: grayscale(100%);
}

.punbb .pa-fld1 a.link, li#pa-fld1 a.link {
    font-family: var(--font), 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 12px;
    display: block;
    padding: 0 0 8px 0;
    margin-bottom: 8px;
}

.punbb .pa-fld1, li#pa-fld1 strong {
    position: relative;
    display: inline-block;
    margin: -3px;
    padding: 10px !important;
    background: rgb(var(--white));
    font-size: 12px;
    letter-spacing: 0.6px;
}

.punbb .pa-fld3 {
position: relative;
    margin-top: -2px !important;
    display: inline-block;
    width: auto;
    background: rgb(var(--white));
}

.punbb  .pa-fld3 a:before{
   content:"\e945";     
    font-family: honeybee;
    font-size: 20px;
}

/* описание */
.punbb .pa-fld2 {
    background: rgb(var(--white));
    border: 1px solid rgb(var(--black) / .06);
    padding: 15px 5px!important;
    text-transform: lowercase;
    margin-top: -15px!important;
    margin-bottom: -10px!important;
    letter-spacing: 0.6px;
}

/* ОФОРМЛЕНИЕ ПОДПИСИ
-------------------------------------------------------------*/
.punbb .post-sig dt {
    width: 40%;
    border: 1px solid rgb(var(--black) / .12);
    margin: 10px 0px 10px 0;
    margin-left: 30%;
}

#profile-signature ul {
    border-top: 1px solid rgb(0 0 0 / 0.12) !important;
}

/* ОФОРМЛЕНИЕ ЦИТАТЫ, КОДА, СПОЙЛЕРА
-------------------------------------------------------------*/
/*разделительная полоса*/
hr {
    border: none;
    height: 2px;
    opacity: 1!important;
    background-image: linear-gradient(to right, #5b5a5a, #96235f, #5b5a5a);
}
hr:before,
hr:after {
    content: '';
    display: inline-block;
    border-radius: 0%;
    width: 10px;
    height: 10px;
    border: 2px solid rgb(var(--links));
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: rgb(var(--white));
}

#pun-main .code-box {
    background: rgb(var(--black) / .01);
    border-left: 3px solid rgb(var(--black) / .06);
}

#pun-main .quote-box {
margin: 1em 1.8em 2em 1.8em!important;
    background-clip: padding-box;
    color: rgb(var(--black) / .8);
    padding: 7px 7px 7px 7px !important;
    box-shadow: 0 0 0 5px rgb(var(--white)), 16px 16px 0 -10px #ae2851, -16px -16px 0 -10px #ad2751;
    background-color: rgb(var(--black) / .03);
}

.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: flex;
    justify-content: start;
    align-items: center;
    font-weight: 600;
    padding: 2px 6px;
    font-size: 10px;
    font-style: normal;
    border-bottom: 1px solid rgb(var(--black) / .06);
    padding-bottom: 8px;
    text-transform: uppercase;
}

/*аватар в цитате*/
.punbb .quote-box cite .author-avatar {
    margin: 0;
}

.author-avatar+span {
    margin-left: 10px !important;
}

.author-avatar>img {
    width: 34px !important;
    opacity: .87;
    margin: 0 !important;
    padding: 1px;
    background:#fbfbfb;
    border: 1px solid #ddd !important;
    transition: all .25s ease;
}

.author-avatar>img:hover {
    opacity: 1;
}

.quote-box .qc-post-link img {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.punbb .post-content .blockcode div {
    margin: 8px;
    line-height: 150%;
    font-size: 11px;
}

#post-preview blockquote {
    margin-left: 5px!important;
}

.punbb .quote-box cite::before {
    content: '\f086';
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0 5px 0 0;
    font-size: 14px;
}

.punbb .code-box strong.legend::before {
    content: '\e8b8';
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0 5px 0 0;
    font-size: 14px;
    color: rgb(var(--links));
}

/*оформление спойлера*/
.punbb .spoiler-box {
background-clip: padding-box;
color: rgb(var(--black) / .8);
padding: 7px 7px 7px 7px !important;
box-shadow: 0 0 0 3px rgb(var(--white)), 2px 0 0 0 #ab2951 inset;
background-color: rgb(var(--white));
}

.punbb .post-content .spoiler-box > div, .punbb .post-content .spoiler-box > div.visible {
font-family: var(--font);
text-transform: uppercase;
display: block;
font-size: 12px;
color: #ab2951;
padding: 3px;
margin: 5px;
text-align: left;
background-image: none;
font-weight: 600;}

.post-content .spoiler-box> div:before {
content: '\e5cf';
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0 5px 0 0;
    font-size: 18px;
}

.post-content .spoiler-box>div.visible:before {
content: '\e5ce';
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding: 0 5px 0 0;
    font-size: 18px;
}

/* ФОРМА ОТВЕТА И ЕЁ СОСТОВЛЯЮЩИЕ
-------------------------------------------------------------*/
.punbb textarea, .punbb input[type="search"], .punbb input[type="number"], 
.punbb select,.punbb input[type="text"], .punbb input[type="password"], #s-block input {
    padding: 8px 8px;
    box-sizing: border-box;
    border: none !important;
    background: rgb(var(--black) / .02);
    border-radius: 4px;
    color: rgb(var(--grey));
    line-height: 130%!important;
transition: background .25s ease;
}

.punbb textarea:hover, .punbb input[type="search"]:hover, .punbb input[type="number"]:hover, .punbb select:hover, .punbb input[type="text"]:hover, .punbb input[type="password"]:hover, #s-block input:hover {
    background: rgb(var(--black) / .06);
}

.punbb select {
    cursor: pointer;
    padding-top: 7px;
}

.punbb select option {
    background: rgb(var(--black) / .02);
}

#isk {
    border: none !important;
}

.punbb input[type="submit"], .punbb input[type="button"], .punbb button {
    font-family:  var(--font);
    transition: all ease .5s;
    background: rgb(var(--white));
    color: rgb(var(--links));
    border-radius: 0px;
    border: 1px solid rgb(var(--links));
    padding: 5px 10px;
    letter-spacing: 0.4px;
   text-transform: uppercase;
}

.punbb button {
    background: transparent;
    color: rgb(var(--links) / .20);
}

.punbb button:hover, .punbb button:focus {
    background: rgb(var(--links));
    color: rgb(var(--pun));
}

.punbb input[type="submit"]:hover, .punbb input[type="button"]:hover {
    color: rgb(var(--links) / .50);
  border: 1px solid rgb(var(--links) / .50);
}

#reputationButtonCancel {
    margin-left: 6px;
}

body #post .fs-box.hashelp .container, #post-sig .container {
    padding-top: 10px;
    border: none !important;
    background: rgb(var(--black) / .02);
    padding: 10px;
    border-radius: 8px;
}

#keyboard-span input {
cursor: pointer;
    padding: 0 10px;
    margin: 1px!important;
    background: rgb(var(--black) / .02)!important;
    box-shadow: none;
    border: none !important;
}

#pun_wrap #post .container[id$=font-area] {
    height: 180px;
    overflow-y: auto;
}

.punbb button:hover, .punbb button:focus, .punbb input[type="submit"]:hover, .punbb input[type="submit"]:focus {
    cursor: pointer;
}

button:focus,
input:focus,
textarea:focus {
    outline: none;
}

  .punbb label:not(.adlabel) {
    font-weight: normal;
    line-height: 20px;
}

.punbb input~label {
    font-size: 1em !important;
    text-transform: none !important;
}

#plng {
    background: rgb(var(--black) / .06);
    padding: 0px 4px;
    display: inline-block;
    border-radius: 4px;
    margin-right: 8px;
}

.post-symbols {
    background: rgb(var(--black) / .06);
    border-radius: 4px;
    text-align: center;
    padding: 0 6px;
    font-size: 10px;
    color: rgb(var(--black) / .6);
    display: inline-block;
    margin-right: 6px !important;
}

#main-reply {
    height: 200px;
}

#form-buttons td img {
    background: rgb(var(--black) / .02) !important;
    border-radius: 4px;
transition: background .25s ease;
}

#form-buttons td img:hover {
    background: rgb(var(--black) / .06) !important;
}

#form-buttons table {
    border-spacing: 4px 0;
    margin-left: -4px;
    width: 101% !important;
}

#form-buttons td.i {padding:5px !important; font-size: 14px; background: unset; display: table-cell;padding-bottom: 10px !important;}
#form-buttons td.i img {margin-top: -26px}

/* Загрузка изображения 
-------------------------------------------------------------*/
#imageupload-left input[type=button] {
    width: auto!important;
}

/* ОКНО РЕПУТАЦИИ И НАГРАД
-------------------------------------------------------------*/
.inner, .punbb .pun-modal .section {
    background: rgb(var(--white));
    padding-top: 12px;
}

#pun-report .bg, #pun-reputation .bg, #pun-admin-award-form .bg {
    background: #0d0d0d !important;
}

/* Цвета ссылок
-------------------------------------------------------------*/
.punbb a, .punbb a:link, .punbb a:visited,.punbb-admin #pun-admain a,.punbb-admin #pun-admain a:link,.punbb-admin #punbb-admain a:visited {
    color: rgb(var(--grey));
    text-decoration: none;
    transition: all ease .5s;
}

.punbb a:hover, .punbb-admin #pun-admain a:hover {
     color: rgb(var(--grey) / .7);
}


/* Ссылки меню навигации
-------------------------------------------------------------*/
#pun-navlinks {
    padding: 8px 16px;
    margin: 16px 1em 8px;
    background: var(--bg), var(--gr);
    border-radius: 4px;
}

#pun-navlinks .container li a {
    font-weight: 700;
    padding: 11px;
    text-transform: uppercase;
    font-family: var(--font);
    letter-spacing: 1px;
}

#pun-navlinks .container li a {
    color: rgb(var(--white));
}

#pun-navlinks .container li a:hover {
    color: rgb(var(--white)/ .6);
}

#pun-navlinks .container li:not(:last-child)::after {
    content: '—';
    color: rgb(var(--white) / .8);
    font-family: var(--font);
    font-size: 14px;
}

/* Пользовательские ссылки
-------------------------------------------------------------*/
#pun-ulinks {
    padding: 4px 1em;
    margin: 0 0 24px 0;
}

#pun-ulinks.section .container {
    margin-top: 0px;
    background: rgb(var(--black) / .03);
border-radius: 4px;
padding: 3px;
}

#pun-ulinks .container li a {
    text-transform: lowercase;
    padding: 0 4px;
}

/* ОФОРМЛЕНИЕ КАТЕГОРИЙ
-------------------------------------------------------------*/
.punbb .main .tcr > a:after {
    content: "»";
    position: relative;
    font-family: serif, use-lang-def;
    font-size: 1.3em;
    font-weight: 700;
    margin-left: 3px;
    margin-top: -2px;
}

#pun-index .tclcon h3 a:before {
    content: "— ";
}

#pun-index .category .container {
    margin: 0 -16px;
}


#pun-index .main .tcl {
    padding: 1.5em 1em 1.5em 3em;
}

#pun-index .main .tcl .tclcon {
    color: rgb(var(--black) / .9);
   border-right: 1px solid rgb(var(--black) / .06)
}

#pun-index .tcl h3 a {
    font-size: 12px;
    font-family: var(--font), sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding: 0 0 8px;
    display: block;
}

#pun-index .container tr.inew .tcl h3 a {
  color: rgb(var(--links) / .9);
}

#pun-index .container tr.inew .tcl h3 a:hover {
  color: rgb(var(--links) / .7);
}

#pun #pun-index .category h2 {
    height: 21px !important;
    border: 0;
    text-align: center;
    margin: auto !important;
}

#pun-index .category h2 span {
color: rgb(var(--grey)) !important;
    text-transform: uppercase;
    font-family: var(--font);
    letter-spacing: 10px;
    font-weight: 600;width: max-content;
   margin-top: 0px;
    height: 21px;
    line-height: 20px;
    padding: 0 30px;
    display: inline-block;
    background: rgb(var(--black) / .03);
     border-radius: 0px 0px 4px 4px;}

#pun-index .category {
margin-bottom: 30px;
background: rgb(var(--black) / .01);
border-radius: 4px;
    outline: 1px solid rgb(var(--black) / .03);
    outline-offset: 5px;
    border: 6px solid rgb(var(--black) / .03);
}

.punbb .section h2, #pun-stats h2, .punbb .main h1, #pun-debug h2, #post-form h2 {
    font: var(--font);
    letter-spacing: 10px;
    font-weight: 600 !important;
    padding: 0px 20px 0px 20px;
    background: rgb(var(--black) / .03);
    border-radius: 4px;
    position: relative;
    height: 10px;
    display: block;
    display:flex;
    justify-content: center;
    text-transform: uppercase;
    align-items: center;
}

#pun-stats h2 span:before, #pun-stats h2 span:after {
    content: '—';
    margin: 0 5px;
}

#pun .category h2, #pun-stats h2 {
    margin: 15px 0.65em 8px;
}

#pun .category h2 span, #pun-stats h2 span, #pun-debug h2 span, .punbb .main h1 span, #viewprofile h2 span, #post-form h2 span {
    position: relative;
}

#post-form h2 {
    text-align: center;
}


#pun-viewtopic h1, #pun-viewforum h1, #pun-modviewforum h1, #pun-searchtopics h1 {
    margin-bottom: 40px;
}

#pun-main .forum table{
table-layout: auto;
}

#pun-main tr.tr-divider {
  font-weight: bold;
    font-size: 10px !important;
    letter-spacing: 5px!important;
    text-transform: uppercase;
}

#pun-index.punbb th,
#pun-viewforum.punbb th {
font-size: 0 !important;
color: transparent !important;
height: 0 !important;
padding: 0 !important;
border: 0 !important;
}

/*отображение аватара пользователя на главной*/
.punbb .hasicon .user-avatar .avatar-image, .punbb .usertable .user-avatar .avatar-image {
border-radius: 0%;
height: 35px;
width: 35px;
opacity: 1;
border: 1px solid rgb(var(--black) / .3);
}

/* Индикатор онлайн
-------------------------------------------------------------*/
.punbb #pun-main .user-avatar .isonline {
    top: -3px;
    border-radius: 50%;
    position: relative;
    left: 32px;
    background: rgb(var(--links) / .9);
}

/* Баннеры в подфоруме
------------------------------------------------------------- */
.banneri_top {
    padding: 3px 1px 1px 3px;
}

.banneri_top img {
transition: all .5s ease-in-out 0s;
filter: grayscale(100%) brightness(.7) opacity(.5);
opacity: .8;
margin: 5px;
outline: 1px solid rgb(var(--black) / .06);
outline-offset: 2px;
mix-blend-mode: luminosity
}

.banneri_top img:hover {opacity: 1;
filter: none;
mix-blend-mode: normal}


/* Новое сообщение на форуме
-------------------------------------------------------------*/
#pun-index tr.inew div.icon.inew {
    display: inline-block;
}

.icon[data-new-topics]:before,
.subforums span[data-new-topics]:before {
    background: rgb(var(--links)) !important;
    color: rgb(var(--white)) !important;
    border-radius: 4px !important;
    padding: 4px!important;
    display: flex !important;
    position: relative !important;
    margin: 0 0 0 1px !important;
    top: -5px;
    content: 'новое сообщение' !important;
}

/* Оформление оповещения
-------------------------------------------------------------*/
span.num_msg {
    font-size: 8.5px!important;
    background: rgb(var(--links)) !important;
    color: rgb(var(--white)) !important;
    border-radius: 2px !important;
    position: relative !important;
    display: inline-block;
    margin: 0 16px 0 -10px!important;
    top: -1px !important;
    height: 10px !important;
}

span.num_msg::before {
    display: none !important;
}

/* Оформление уведомлений
-------------------------------------------------------------*/
.bubble {
    position: relative !important;
    margin: 0 !important;
    top: -1px !important;
    right: -4px !important;
    margin-right: 2px !important;
    background: rgb(var(--links)) !important;
    color: rgb(var(--white)) !important;
}

.bubble:after {
    display: none !important;
}

/* Блок статистики
-------------------------------------------------------------*/
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3,#pun-stats li.item4 {
    display: inline-block;
    align-items: center;
    justify-content: center;
    background: rgb(var(--black) / .03);
    padding: 5px;
    border-radius: 4px;
    margin-right: 0px;
    text-align: center;
}

#pun-stats li.item1 {
    width: 130px;
}

#pun-stats li.item2 {
    width: 190px;
}

#pun-stats li.item3 {
    width: 295px;
}

#pun-stats li.item4 {
    width: 350px;
}

/* Цвет текста
-------------------------------------------------------------*/
html, body, .punbb .container, .punbb .post-body,
#pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, #profilenav ul, .punbb .post .post-body, .post-links ul, .post-links, .usertable table, .punbb th, .punbb .quote-box, .punbb .code-box, #pun-ulinks li, li#onlinelist, #pun-help .formal .info-box h3.legend span, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box,.punbb .info-box {
    border: none;
    color: rgb(var(--black) / .95);
}

.punbb fieldset, #viewprofile ul, .usertable table {
    border-color: rgb(var(--black) / .06);
}

/* Отключить предварительный просмотр поста при быстром редактировании */
.post-box form #togglePreview {
    display: none;
}

/* Оформление закладок
-------------------------------------------------------------*/
.post .bookmark {
    color: rgb(var(--links)) !important;
}

#BookmCntToggle.default-style {
    color: rgb(var(--links)) !important;
}

#MyBookmarks,
.editBookmark {
    background: rgb(var(--pun));
    padding-top: 8px;
}

/* Selection
-------------------------------------------------------------*/
::selection {
    color: rgb(var(--white));
    background: rgb(var(--links));
}

/*маркированный текст*/
.highlight-text {
background: rgb(var(--links)) !important;
border: none !important;
color: rgb(var(--white)) !important;
padding: 2px !important;
}

/* текст с пояснением */
abbr {
    text-decoration: none;
    border-bottom: 1px dashed rgb(var(--links)) !important;
    background-color: rgb(var(--black) / .02);
    color: rgb(var(--black) / 0.6);
}

/*Зачеркнутый текст */
.post-content del {
  text-decoration: none;
  -webkit-filter: blur(2px);
  filter: blur(2px);
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.post-content del:hover {
  -webkit-filter: blur(0px);
  filter: blur(0px);
}

/* Подчеркнутый текст */
.bbuline {
    background: transparent;
    text-decoration-color: rgb(var(--links)) !important;
    transition: all ease .25;
}


/* Прокрутка
-------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgb(var(--black) / .02);
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--links));
    border-radius: 3px;
    border: 1px solid rgb(var(--black) / .02);
}

::-webkit-scrollbar-thumb:active {
    border: none;
}


/* оформление всплывающей подсказки
-------------------------------------------------------------*/
#tooltip {
    position: absolute;
    background-color: #000000c5;
    z-index: 999;
    max-width: 200px;
    font-size: 11px;
    display: none;
    color: rgb(255 255 255 / .74);
    text-align: center;
    padding: 5px 8px 4px;
    border-radius: 3px;
    font-family: tahoma, helvetica, verdana, arial;
}

/* комментарии
-------------------------------------------------------------*/
#topic-users-in a:after {
    content: ',';
}

#topic-users-in a:last-child:after {
    content: '';
}

/* оформления результатов опроса
-------------------------------------------------------------*/
#poll-special .poll2 td h1 {
    background: currentColor;
    padding: 1px;
}

#pun-searchtopics tr a, #pun-viewforum tr a, #pun-modviewforum tr a {
    font-weight: normal;
}

#pun-searchtopics tr.inew strong a, #pun-viewforum tr.inew strong a, #pun-modviewforum tr.inew strong a {
    font-weight: bold!important;
}

/* ДРУГОЕ
-------------------------------------------------------------*/
*[data-forum-id="2"] .post-content img.postimg, *[data-forum-id="3"] .post-content img.postimg,  *[data-forum-id="7"] .post-content img.postimg,*[data-forum-id="11"] .post-content img.postimg  {
  outline: 1px solid #575656;
  outline-offset: 2px;
  margin-bottom: 10px !important;
    box-shadow: 0 0 0 3px #ffffff, -16px 16px 0px -11px #555, 16px -16px 0 -11px #555;
}

*[data-forum-id="2"] .post-content img.postimg + img.postimg, *[data-forum-id="11"] .post-content img.postimg + img.postimg, *[data-forum-id="3"] .post-content img.postimg + img.postimg, *[data-forum-id="7"] .post-content img.postimg + img.postimg {
  margin-left: 10px !important;
}

.avatar-image[style*="default_avatar.jpg"]{
background-image:url(http://forumupload.ru/uploads/001b/26/db/3/136539.png)!important;    
}

/* баннеры
-------------------------------------------------------------*/
.ban {    
  position: absolute;    
  width: 1020px;    
  height: 35px;    
  background: rgb(var(--grey)) var(--bg); 
  padding: 10px; 
   border-radius: 10px;
  overflow-x: hidden;    
  overflow-y: auto;    
 display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

.ban img {    
transition: all .5s ease-in-out 0s;
filter: grayscale(100%) brightness(.7) opacity(.4);
margin: 0 1.5px;
}
.ban img:hover {    
  filter: none; 
  opacity: 1;
}

/* карта мира
-------------------------------------------------------------*/
.amphimap { 
	width: 400px; 
	height: 400px; 
	background: url(http://forumupload.ru/uploads/001b/26/db/3/540784.jpg);
	background-size: 100%;
-webkit-transition: all 2s ease; 
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease; 
background-repeat: no-repeat;
border: 5px solid #7e7aa0;
} 

.amphimap:hover { 
	width: 400px; 
	height: 400px; 
	background: url(http://forumupload.ru/uploads/001b/26/db/3/479824.jpg);
	background-size: 100%;
-webkit-transition: all 2s ease; 
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease; 
background-repeat: no-repeat;
border:5px solid #7e7aa0;
} 

/* локации
-------------------------------------------------------------*/
.workcontainer { margin: 0px; padding: 0px; }
  ul { list-style: none; margin: 0px; padding: 0px; }
.workcontainer input { display: none; }
 
.workcontainer input[type=radio]:checked ~ .workslide {
height: 480px;
  }

.workcontainer input[type=radio]:checked ~ label {
background-color: rgb(var(--links));
    font-family: Montserrat;
    color: #fff;
    text-transform: uppercase !important;
    font-weight: bolder;
    line-height: 35px;
}
 
  .workcontainer {
    width: 550px;
    height: auto;
    margin: 0;
  }
   
  .workcontainer label {
  display: block;
  float: left;
  height: 40px;
  width: 570px;
  overflow: hidden;
background: #5c5c5c;
    text-align: center;
  font-size: 12px;
    font-family: Montserrat;
    color: #fff;
    text-transform: uppercase !important;
    font-weight: bolder;
    line-height: 35px;
  }
 
  .workslide {
    display: block;
    width: 570px;
    height: 0px;
    overflow: hidden;
    padding: 0px;
    clear: both;
    position: relative;
    transition: all 0.5s ease-in 0s;
  }

  .workcontent {
    width: 565px;
    height: 480px;
    margin: 0px auto;
    padding-right: 10px;
    overflow: auto;
    font-size: 10px;
    font-family: Montserrat;
   line-height:15px;
color: #555;
    background-color: #fff;
  }
 
  .workslide h2 {
    margin: 20px 0px 5px 0px;
    color: rgb(var(--links));
    font: normal bold normal 12px/110% Calibri;
    text-transform: uppercase;
    text-align: center;
  }
 
  .workslide h2::before, .workslide h2::after {
    content: "";
    width: 100px;
    height: 1px;
    background-color: rgb(var(--links));
    vertical-align: middle;
    display: inline-block;
    margin: 0px 10px;
  }

/* нужные на главной
-------------------------------------------------------------*/
.actions {
    position: relative;
    width: 600px;
    height: 70px;
}

.actions span {
  display: block;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
   font-weight: 700;
  margin-top: 5px;
  margin-bottom: 15px
}

.actionsblock {
  display: flex;
  justify-content: space-between;
  margin: 0 10px
}

.actions .actionsblock div {
outline: 1px solid rgb(var(--black) / .06);
outline-offset: 5px;
height: 45px;
width: 45px;
position: relative;
display: inline-block;
transition: all .3s ease-in-out 0s;
overflow: hidden;
opacity: .9
}

.actions img {
    width: 45px;
    height: 45px;
    position: relative;
    filter: grayscale(100%);
    transition: all ease 0.9s;
  
    }

.actions img:hover {
    transition: all ease 0.9s;
    filter: grayscale(0%);
    }

.linkpodforuma {
      margin: 10px !important;
      padding: 5px;
      background: var(--bg);
      text-align: center;
      color: rgb(var(--grey))!important;
      letter-spacing: 1px;
      text-transform: lowercase;
      font-weight: 600 !important;
      border-radius: 4px;
}

.linkpodforuma a::before, .linkpodforuma::after {
    content: "";
    width: 15px;
    height: 1px;
    background-color: rgb(var(--grey) / .5);
    vertical-align: middle;
    display: inline-block;
    margin: 0px 5px;
  }

.linkpodforuma a {
  color: rgb(var(--grey)) !important;
}

.linkpodforuma a:hover {
  color: rgb(var(--grey) / .6) !important;
}