/*------------- дизайн и верстка (с) astaarus  -------------------------*/

/* загрузка шрифтов
-------------------------------------------------------------*/

@import url(style_cs.1775583005.css);

@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: 'Vendura';
    src: url('https://forumstatic.ru/files/0018/22/f0/61016.woff2') format('woff2'),
        url('https://forumstatic.ru/files/0018/22/f0/21216.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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: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;
}

.punbb .post.new-ajax > * {
    border-width: 1px;
}

/* Основные переменные
------------------------------------------*/

:root {

--bodybg: #90A1AF url(https://forumstatic.ru/files/001c/8f/db/56783.jpg) no-repeat top center/cover; /* фон форума */
--navlink: #b9b9b9; /* верхняя навиг ссылки */
--punbg: #EAEAEA; /* фон тела */
--fa: 'Font Awesome 6 Pro', 'Font Awesome 6 Brands'; /* шрифт иконок */
--p-width:220px;
--jst: "Manrope", sans-serif;
--josef: "Manrope", sans-serif;
--second-family: "Manrope", sans-serif;
--punul: #e3e3e3; /* фон подложек */
--topictext: #000;
--linkmain2: #874d4d; /* основные ссылки */
--texth3: #535353;
--quotcolor: #b56668;
--color1: #fff;
--color3: #90a1af;
--profbg: #EAEAEA url(https://forumstatic.ru/files/001c/8f/db/14804.png) no-repeat top center/cover;
--linkmain: #4c5a64; /* основные ссылки */
--hlink: #000; /* при наведении общ */
--lightred: #D9D9D9;
--textblack: #000;
--doppun: #EFEFEF;
--bordercolor: #d3d3d3;
--butbg: #e3e3e3;
--backh3: #ebebeb;
--color9: #5d6873;
--font4: Vendura;
--color4: #dadada;
}

/* Дополнительные переменные
------------------------------------------*/

/*  для темной темы */



/* Основные настройки
------------------------------------------*/

* {
margin: 0;
padding: 0;
border:0;
text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}

/* скролл начало
------------------------------------------*/

@supports not selector(::-webkit-scrollbar) {
  
{
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--punbg)) rgba(var(--punbg), .4);;}
}

/* прокрутка хром etc */

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  border-radius: 3px;
}

*::-webkit-scrollbar-track {
  background-color: var(--punbg);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--color9);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:active {
  background: var(--color9);
}


/* конец скролла
------------------------------------------*/

a, .punbb #pun-admain a {
color: var(--linkmain);
text-decoration:none;
}

a:hover, .punbb #pun-admain a:hover {
color: var(--textblack);
text-decoration:none;
}

input[type=text], select, input[type=password] {
    background: var(--doppun);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    font-size: 11px;
    margin: 5px 0px;
    color: var(--textblack);
    border: 1px solid var(--doppun);
    font-family: var(--jst);
    padding: 5px;
}

textarea {
padding:5px 10px;
}

ul li {
list-style:none;
}

h1, h2 {
padding: 5px 20px;
text-align: center;
}

:focus {
outline:none;
}

table, table tbody {
width: 100%;
display: flex;
flex-direction: column;
gap: 0px 10px;
    background: var(--doppun);
}

.main tr {
    width: 100%;
    justify-content: space-between;
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    align-items: center;
}

.main thead {
    padding: 5px 10px;
}

.main tbody tr {
    padding: 15px 10px;
}

.tcl { 
width: 50%;
}

.intd {
    display: flex;
    gap: 20px;
    align-content: center;
    align-items: center;
}

tr .icon {
    display: block;
    width: 93px;
    height: 74px;
    background: url() no-repeat;
    flex-shrink: 0;
    background-size: contain;
}

#pun-index .icon.inew {
    background: url(https://forumstatic.ru/files/001c/8f/db/97514.png) no-repeat;
    width: 93px;
    height: 74px;
}

.category .container tr {
    padding: 15px 15px 15px 0px;
}

 /*иконки подфорумы*/
#pun-viewforum table div.icon, #pun-messages table div.icon, #pun-searchtopics table div.icon{       
    background-repeat: no-repeat;
    border-style: none;
    display: block;
    float: left;
    height: 20px;
    margin-right: 7px;
    margin-top: 2px;
    position: relative;
    width: 20px;
    padding-left: 0px !important;
    border-radius: 50%;
    background-color: var(--bordercolor);

}

#pun-viewforum tr.inew div.icon, #pun-messages tr.inew div.icon, #pun-searchtopics tr.inew div.icon { background-color: var(--color9); }

#pun-viewforum tr.isticky div.icon, #pun-messages tr.isticky div.icon, #pun-searchtopics tr.isticky div.icon {background: var(--color3); }

#pun-viewforum tr.iclosed div.icon, #pun-messages tr.iclosed div.icon, #pun-searchtopics tr.iclosed div.icon { background: var(--topictext); }

.tclcon h3 a {
    font-family: var(--jst);
    font-weight: 700;
    font-size: 16px;
    line-height: 138%;
    text-transform: uppercase;
}

/* мобильный стиль
------------------------------------------*/

@media screen and (max-width: 540px) {

* {
box-sizing: border-box;
max-width:100%;
}

#pun {
    margin: 0 auto;
} 

.punbb {
font-size:14px;

}

#pun, #pun-title, #html-header, .bcontainer, #pun-navlinks {
width:100%;
}

#pun-title {
    background-size: cover;
    background-position: top center;
}

#pun-ulinks {
    width: 100%;
    position: relative;
    top: 0;
}

#pun-ulinks ul.container {
    width: 100%;
    box-sizing: border-box;
}

#pun-crumbs1 {
    margin: 0;
}


#pun-status a {
    color: var(--linkmain);
}

.tab-logo {     font-size: 45px; }

.tablica {
        padding: 80px 20px 20px;
        flex-direction: column;
        gap: 30px;
        justify-content: center;
    }

.tabwant {
     transform: none;
}

.tab-post {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.main tr {
    flex-direction: column;
}

.main .tcl, #pun-index .tcl, .main .tcr, #pun-index .tcr {
    width: 100%;
}

#pun-index .tcr
{
    padding-left: 50px;
}

#pun-index .user-avatar {
display:none;}

 .main tr:not(:last-of-type) {
    border-bottom: 1px solid #cecece;
}
 
.reveal-modal {
    width: 100%;
}

.banners {
    width: 100%;
    left: 0;
}

#pun-index .icon {
    width: 30px;
    background: var(--bordercolor);
    height: 30px;
    border-radius: 50%;
}

#pun-index .icon.inew {
    width: 30px;
    background: var(--color9);
    height: 30px;
    border-radius: 50%;
}


.fordescr {
    box-sizing: border-box;
    width: 100%;

}

.tab-top {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 20px;
}

.tab-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-bottom {
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

thead {display:none;}


#pun-status {
    position: relative;
    top: unset;  
    margin: 15px auto;
    width: 100%;
    color: var(--hlink);
    z-index: 99;
}

#pun-searchtopics .tc3:before, #pun-viewforum .tc2:before {

content: '\f075';
font-family: var(--fa);
font-size:16px;
}

#pun-viewforum .tc3:before {
content: '\f06e';
font-family: var(--fa);
font-size:16px;
}



#pun-viewforum .user-avatar {
    display: none;
}

#pun-searchtopics .tc3, #pun-viewforum .tc2, #pun-viewforum .tc3 {
    align-items: center;
    display: flex;
    gap: 10px;

}


#pun-searchtopics .tc2 {
    width: 100%;
    text-align: left;
}

#pun-viewforum tr{
flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 40px;
}


#pun-navlinks .container a {
    font-size: 0px;
}

#pun-navlinks .container:after {
    display:none;
}

#navindex a:before,
#navuserlist a:before,
#navsearch a:before,
#navprofile a:before,
#navpm a:before,
#navadmin a:before,
#navlogout a:before,
#navpr_1 a:before,
#navlogin a:before,
#navregister a:before {

font-family: var(--fa);
font-size: 20px;

}

#navindex a:before  {
content: '\f015';
 }
#navuserlist a:before {
content: '\f03a'; 
}
#navsearch a:before {
content: '\f002'; 
}
#navprofile a:before {
content: '\f007'; 
}
#navpm a:before {
content: '\f0e0';
}
#navadmin a:before {
content: '\f0f2'; 
}
#navlogout a:before {
content: '\f2f5'; }

#navpr_1 a:before {
content: '\f0a1'; 
}
#navlogin a:before {
content: '\f52b';
 }
#navregister a:before {
content: '\f358'; 
}

#pun-navlinks ul.container {

        justify-content: space-evenly;
        gap: 25px;
        padding: 10px 20px 5px;

}

#pun-navlinks li span {
    font-size: 0px;
}

.go-up, .go-down {
    display: flex;
       margin: 0px;
        right: 0px;
        width: 30px;
        height: 50px;
        border-radius: 15px;
}


.go-up {
    bottom: 315px;
    background: var(--color9);
}

.go-down {
    bottom: 225px;
    background: var(--color3);
}

.punbb #pun-live-rusff {
display:none;

}


/* топик
------------------------------------------*/

#pun-viewtopic .post-author:before { display: none; }
#pun-viewtopic  .post-author {min-height: unset; }

.post >.container {
flex-direction: column;
}

.post-author li.pa-ua {
display:none;
}

li.pa-ua, li#pa-ua { display:none !important; }

li.pa-fld2 {
    margin-left: 80px;
}

li.pa-avatar {
    width: 60px;
    height: 60px;
}

li.pa-author {  margin-bottom: 5px; }

li.pa-author, li.pa-author a {
    background: none;
    border: none;
    color: #000;
    justify-content: flex-start;
    margin-left: 40px;
}

li.pa-avatar img {
width:100%;}

.lz { width: 100%; }
.lz p { display: none; }
.lz a.name {padding: 5px 10px;
text-align: center;}

.post-author {
background: var(--butbg);
   color: var(--hlink);
padding: 10px;
    width: 100%;
    box-sizing: border-box;
 position: relative;
    text-align: left;

}

.post-links li {
width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        align-content: center;
padding: 0;

}

.formal fieldset legend {
top: 0px;
margin: 0px 0px 10px 0px;
}

small#togglePreview input[type=button] {margin:0;}

.punbb #togglePreview {
    float: none;
    margin: 0;
    display: block;
}

.post-links li:before {
    display: none;
}

li.pa-title { color: var(--hlink); }

li.pa-avatar.item2 {
    position: absolute;
    top: 10px;
    left: 10px;
}

.pa-author, li.pa-title {

margin-left: 80px;
}



li.pa-posts {

    margin-left: 80px; }


.post-body {
    width: 100%;
}

.post-links ul {
    flex-wrap: wrap;
gap: 20px;   
}

#form-buttons tr {
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.punbb #tags .container {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        top: 0;
        border: 1px solid #000;
        margin: 10px 0px;
        max-width: 100%;
        box-sizing: border-box;
        right: unset;
}

#color-area table, #color-area tr, #table-area table, #table-area tbody, #table-area tr  {

display: table;

}

.punbb #tags #keyboard-area {
max-height: unset;}

#keyboard-span {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;

}

.punbb .topic .post >.container {
    padding-left: 20PX;
}


#form-buttons td#button-files_rusff, #form-buttons td#button-graffiti_rusff {
display:none !important; }

/* профиль
------------------------------------------*/

#profile li, #viewprofile li {
    margin-bottom: 10px;
}


.punbb #profile-right, .punbb #profile-left {
width:100%}

#profile-left {    flex-shrink: 0;
    text-align: center;
}

li#pa-ua {
    display: none;
}

#profilenav {
float: none;
    width: 100%;
    margin: 0;
}


#profile .container {
padding: 10px 20px; 
}



#profilenav ul {
display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    padding: 10px;

}

.post-links ul li a:before {
    font-family: var(--fa);
    font-size: 20px;
color: #000;
}

.post-links ul li a {
        font-size: 0px;
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
}

li.pl-email.profile a:before { content: '\f007'; }
li.pl-email.pm a:before { content: '\f0e0'; }
li.pl-email.email a:before, #pun-messages li.pl-email a:before { content: '\40'; }
li.pl-delete a:before { content: '\f2ed'; }
li.pl-edit.edit-ajax a:before { content: '\f304'; }
li.pl-quote a:before { content: '\f10d'; }


.bcontainer {
    padding: 0px 20px;
    box-sizing: border-box;
}




 #pun-messages li.pa-reg, #pun-messages li.pa-posts {
    display: none;
}

#pun-messages .post-links li {
        width: auto;
        height: 30px;
        padding: 0px 10px 0px 10px;
}

 #pun-messages li.pa-online {
    margin-left: 80px;
}


 #pun-messages li.pl-reply a {         font-size: 12px;
        display: flex;
        gap: 10px;
        align-items: center;
        text-transform: uppercase; }

#pun-messages .pmtcl1 {
    width: 100% !important;
}

#pun-messages .intd {
    background: #e5e5e5;
    padding: 5px 10px;
}


td.tc2.pmtc24:before {
    content: 'удалить:';
}

td.tc2.pmtc24, td.tc3.pmtc33 {
    width: 100% !important;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

td.tc3.pmtc33:before {
    content: 'дата:';
}

#messages .hasicon tr:not(:last-of-type) {
    border-bottom: 1px solid #000;
}


input[type=text], select, input[type=password] {
    max-width: 100%;
    box-sizing: border-box;
}


/* админка
------------------------------------------*/

.punbb-admin * {

max-width:100%; 
padding:0;
box-sizing:border-box;
min-width: 0;
}

.admin-advert-block {
    width: 468px;
    height: 60px;
    position: absolute;
    top: 102px;
    margin-left: 40px;
}


.punbb-admin .adminmain {padding-left:0px;}

.punbb-admin #pun-adnav {
    float: none;
    width: 100%;
    margin-left: 0px;
}

.punbb-admin #pun-adnav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    position: relative;
}

.punbb-admin #pun-admain fieldset .handle, .punbb-admin #pun-admain fieldset p {
    border: none;
    display: flex;
    flex-wrap: wrap;
}

.punbb-admin #pun-admain fieldset .handle:not(:last-of-type), .punbb-admin #pun-admain fieldset p:not(:last-of-type) {
    border-bottom: 1px solid #000;

}


.punbb-admin #pun-admain label, .punbb-admin #pun-admain .adlabel {
    margin-left: 0;
    float: none;
    width: 100%;
    padding: 0;
}


.punbb-admin #pun-admain .adinput {
    padding: 0;
}

.punbb-admin #pun-admain .adformal p.submitend {
    margin-top: 15px;
}

.punbb-admin .admin-advert-block {
    width: 100%;
    box-sizing: border-box;
}

.punbb-admin #form-buttons tr {
display: flex;
    flex-wrap: wrap;

}


.punbb-admin #pun-adnav li.isactive ul.adsubnav {
    display: flex;
    margin-top: 10px;
    width:100%;
    left: 50%;
    padding: 5px 10px;
    white-space: nowrap;   
    transform: translateX(-50%);
    background: #fff;
    z-index: 2;
    border: 1px solid #000;
    padding: 5px 10px;
    list-style: none;
}

.punbb-admin #pun-adnav ul.adsubnav li {
    list-style: none;
}


.files-page-select {
    width: 100%;
}

#pun-admin_files .pagelink {
    width: 100%;
}

#pun-admain #filetable tr, #profile #filetable tr  {
display:flex;
flex-wrap: wrap;
border-bottom: 1px solid #fff;
}

#pun-admain #filetable td, #profile #filetable td {
display:flex;
flex-wrap: wrap;
flex-shrink:0;
border: none !important;
}


#pun-admain #filetable .tcl, #pun-admain #filetable .tcr, #pun-admain #filetable .checker,
#profile #filetable .tcl, #profile #filetable .tcl, #profile #filetable .checker
 {
width: 100% !important;

}

#pun-admain #filetable .checker, #profile #filetable .checker {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

}

#pun-admain #filetable .checker:before, #profile #filetable .checker:before {
content: 'изменить/удалить';
}

#pun-online td {
    width: 100% !important;
    text-align: left;
}

.usertable td {  
    text-align: left;
}

.usertable .registered, .usertable .user_title {
    display: none;
}

.usertable tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.usertable .username, .usertable .last_visit  {
width:100%;
}

.usertable .relation, .usertable .num_posts {
width: fit-content;

}

#pun-searchposts .pa-author {
    margin: 0px;
}


#pun-userlist .relation:before, #pun-userlist .num_posts:before, #pun-userlist .last_visit:before {
 font-family: var(--fa);
font-size: 12px;
color: #000;
margin-right:5px;
}

#pun-userlist .relation:before {content: '\f004';}
#pun-userlist .num_posts:before {content: '\f27a';}
#pun-userlist .last_visit:before {content: '\f073';}


.usertable tr:not(:last-of-type) {
    border-bottom: 1px solid #000;
}

}


@media screen and (max-device-width: 480px) {

.go-up, .go-down {
margin-left: unset;
right: 0;
top:50%;
}

.go-up{
margin-top: -50px;}

.go-down {margin-top:50px;}

}