/* скрыть VIP-аккаунт*/
#pun-status .item4.status-right{
  display: none;
}




.line1 {
    position: absolute;
    width: 940px;
    height: 3px;
    background: #222222;
    margin-top: 270px !important;
    margin-left: 0px !important;
    z-index: 100;
}


/* маска */
#mask_dialog .inner {
      width: 800px !important;
    background: #b8b7b2 !important;
    box-shadow: 0 0 0 0.1px inset #595959;
    text-transform: lowercase;
    color: #3a3a3a !important;
}
#mask_dialog .hv-preview-block img {
    max-width: 100px;
}

.hv-storage-count {
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
    padding-bottom: 6px;
    color: #262424 !important;
    font-size: 10px;
}

#mask_dialog .hv-add-template {
    cursor: pointer;
    float: right;
    padding: 5px;
    border: 1px solid #00000030 !important;
}

.shapka {
    z-index: 2;
    background: url(http://forumstatic.ru/files/001b/2d/f1/72980.jpg) center top;
    width: 350px;
    height: 210px;
    position: absolute;
    top: 180px;
    outline: 1px solid #4241418a;
    outline-offset: 3px;
    display: block;
    margin-left: 300px !important;
}

/* сообщение не вылазит за границы */
#pun .post-content {
    word-wrap: break-word;
}

/* фиксация поля ответа в телефоне */
textarea {
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

/* для мобильных устройств */
body{
  overflow-y: scroll;
}
#pun_wrap  {
    min-width: 1250px !important;
}

HTML, body {
	min-width: 540px!important;
}

/* айфон */
html {
-webkit-text-size-adjust: none;
}
/* подсказки */
@media (pointer: coarse), (hover: none) {
      [title] {
        position: relative;
        display: inline-flex;
        justify-content: center;
      }
      [title]:focus::after {
        content: attr(title);
        position: absolute;
        top: 90%;
        color: #000;
        background-color: #fff;
        border: 1px solid;
        width: fit-content;
        padding: 3px;
      }
    }


/* копирайт */
.footer-copy {
    width: 300px;
    height: 15px;
    display: inline-block;
    position: absolute;
    margin-top: 75px!important;
    line-height: 12px;
    margin-left: 310px!important;
    font-weight: 600;
    text-align: center;
    padding: 0px 5px;
    font-family: Tahoma;
    font-size: 9px;
    letter-spacing: 1.2px;
     color: rgb(178 176 168 / 50%) !important;
    text-transform: uppercase;
    z-index: 10;
    transition: ease-out 1.9s;
}

.footer-copy a {
    color: rgb(178 176 168 / 50%) !important;
}

/* фиксация поля ответа в телефоне */
textarea {
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

/* для мобильных устройств */
HTML, body {
	min-width: 540px!important;
}
body{
  overflow-y: scroll;
}
#pun_wrap  {
    min-width: 1100px !important;
}


/* фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background: #b2b0a8;
}


/* линия */
hr {
    border: 1px dotted #00000057;
}


/* категории */
#pun-index .category h2 span, #pun-stats.section h2 span {
    cursor: default;
    font-family: Tahoma;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0px;
    border-bottom: 1px dotted #00000021;
    color: #929291;
    font-size: 20px !important;
    display: inline-block;
    padding: 3px 0px;
    width: 940px;
    letter-spacing: 2px;
    text-align: center;
    margin-left: -10px;
    z-index: -9999;
}

/* фон */
body {
background-color: #000!important;
background: url("http://forumstatic.ru/files/001b/2d/f1/78140.jpg");
background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
     background-size: cover;
overflow-x: hidden !important;
}

body.secret {
background-color: #000!important;
background: url("http://forumstatic.ru/files/001b/2d/f1/12957.jpg");
background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
     background-size: cover;
overflow-x: hidden !important;
}


/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
   background-color: #transparent;
  color: #333;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
   background-color: #transparent;
  color: #333;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
   background-color: #transparent;
  color: #464646;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
 background-color: #transparent;
  color: #333;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: #transparent;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: #transparent;
  color: #333
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  color: #282828;
  }

/* CS1.8 */
#pun-navlinks .container {
 background-color: #transparent;
  color: #2d2d2d;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;
  }

/* CS2.5 */
.punbb th {
  border-color: transparent;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: transparent;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent;
  }

.punbb .divider {
  border-color: transparent;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent;
  }

li.pa-online {
  border-left-color: transparent;
  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.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: #2f2c2a;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #3f3f3f;
  }

/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
  color: #3f3f3f;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #3f3f3f;
  text-decoration: none
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #3d3b3b;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  text-decoration: none
  color: #3f3f3f;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/
/* иконки сообщений*/
#pun-index table Div.icon {margin: 2px 0px 0px -25px;}
#pun-index table Div.icon:before {
 background: #4f4d524d;
 border: 1px solid #42313163;
}

#pun-index table div.inew {margin: 2px 0px 0px -25px;}
#pun-index table div.inew:before {
background: #292929;
border: 1px solid #42313163;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon {
    position: relative;
    float: left;
    background: #4f4d524d;
    width: 10px;
    height: 10px;
   border: 1px solid #42313136;
    margin-left: -25px !important;
    margin-top: 0px!important;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon  {
   background: #292929;
 border: 1px solid #42313163;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon {
    background: #836a37;
  border: 1px solid #42313163;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon {
    background: #444343;
    border: 1px solid #42313163;
}

/* убирает голубую обводку в форме ответа */
input, textarea { outline: none; }  input:active, textarea:active { outline: none; } :focus { outline: none; }



/* выделение */
    ::selection { 
    background: none repeat scroll 0 0 #131313e3;
    color: #c3c1ba;
    opacity: 0.4;
    }  
*::-moz-selection {
    background: none repeat scroll 0 0 #131313e3;
    color: #c3c1ba;
}


/* профиль */
.pa-posts, .pa-respect, .pa-fld3 {
    display: inline-block;
    width: 51px;
    text-align: center;
    padding: 0px 5px !important;
    margin-top: 0px!important;
    margin-bottom: 8px!important;
    font-size: 7.5px;
    font-family: Arial;
    color: #000;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.pa-respect a {color: #000!important;}
.pa-respect a img {
  filter: brightness(0.36);
}

.pa-avatar img {
      padding: 4px !important;
    outline: 1px solid #000000c2;
    box-shadow: 0 0 4px 14px #bc8f32 inset;
      transition: 1s;
}

.pa-avatar img:hover {
    filter: grayscale(1);
    transition: 1s;
}

/* шрифты, размер и другое */
#font-area, #size-area, #spoiler-sels {
       background-color: #b4b3ac;
    color: #464544 !important;
    border: 1px solid #9c9996;
    width: 150px !important;
     margin-left: 10px;
    padding: 8px;
    margin-top: 4px;
    max-height: 148px;
    overflow-y: auto;
}

#color-area, #table-area, #image-area, #imageup-area, #imageattach-area, #video-area, #addition-area {
       background-color: #b4b3ac;
    color: #464544 !important;
    border: 1px solid #9c9996;
    width: 220px !important;
     margin-left: 555px;
    padding: 8px;
    margin-top: 4px;
    max-height: 148px;
    overflow-y: auto;
}

#smilies-area {
        background-color: #b4b3ac;
    color: #464544 !important;
    border: 1px solid #9c9996;
    width: 400px !important;
    margin-left: 430px;
    padding: 8px;
    margin-top: 3px;
    max-height: 148px;
    overflow-y: auto;
    z-index: 9999;
}

div#image-area.container {
    width: 600px !important;
}
#imageupload-left input[type=button] {
    width: 14em !important;
    text-align: center;
}


/* БАННЕРЫ
----------------------------------------------------------------------------------------------------------------------*/
#banners {
    position: absolute;
    overflow: scroll;
    overflow-x: hidden;
    height: 31px;
    width: 980px;
    margin-left: -19px;
    margin-top: 30px;
    letter-spacing: 6px;
    opacity: 0.7;
}

#banners a img {
    opacity:0.6;
    scroll-behavior: smooth;
}


#banners a img:hover {
    opacity: 1;
    scroll-behavior: smooth;
}


/* прокрутка */
::-webkit-scrollbar-thumb:vertical {
background-color: #5c5a5a; height: 4px; }

::-webkit-scrollbar-thumb:horizontal {
background-color: #5c5a5a; height: 4px; }

::-webkit-scrollbar {
    background-color: #121212;
    height: 7px;
    width: 6px;
}

::-webkit-scrollbar {
width: 6px;
height:6px;
background-color: rgb(20 18 15 / 12%);}

::-webkit-scrollbar-thumb {
  background-color: #7f4405;
  width:6px !important;}



/* аватар */
.punbb .user-avatar .avatar-image {
    filter: brightness(0.7) sepia(1) grayscale(1);
}

#pun .user-avatar.user-avatar .avatar-image {
    border-radius: 50px !important;
    border: 1px solid #6a767b91;
    height: 30px;
    width: 30px;
    opacity: 0.85;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
}

.punbb .user-avatar .isonline {
    width: 7px!important;
    height: 7px!important;
    border-radius: 50px;
    top: 2px!important;
    right: 4px!important;
    z-index: 100;
    background-color: #2a2929 !important;
}

a.lastpost-link {
    margin-left: 2px;
    margin-top: 3px !important;
    font-family: Verdana;
    font-size: 11px;
    letter-spacing: 0.2px;
    font-weight: 600;
    line-height: 19px !important;
    color: #171717 !important;
}

.podforum {
    padding-top: 3px;
    font-size: 10.5px;
    cursor: default;
}

div#meny-styles.container {
    font-family: Tahoma;
    border: 1px solid #8e8b92;
    background: #b7b6ad;
    color: #464544 !important;
    width: 200px !important;
    padding: 8px;
    margin-top: -10px;
    max-height: 148px;
    overflow-y: auto;
    z-index: 9999;
}

div#keyboard-area {
  border: 1px solid #8e8b92;
    color: #464544 !important;
  background: #b7b6ad;
    width: 630px !important;
    padding: 8px;
    max-height: 148px;
    overflow-y: auto;
    z-index: 9999;
}

#keyboard-span input {
    color: #070707 !important;
    background-color: #a29c9d42 !important;
    border: 1px solid #98918e !important;
}



/* не отображать */

.stickytext,.closedatafield, .li#navawards, .lastedit, .pl-reports, .topic .sharelink
{display:none!important;}
#button-files_rusff, #button-graffiti_rusff
{display: none !important;}
 #pun-main h1, #pun-debug h2 {display: none;}
.punbb .modmenu .container span {display: none;}
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun td .modlist, .modlist {display: none !important;}
.li#navrules {display: none;}
#pun-ulinks .item5 {display:none}
#pun-index thead {display: none}
#pun-index .tcmod {display: none}
.pa-gifts {display: none;}

/* символов */
small#plng {
margin: 0 20px 0 -10px;
    font-family: Arial;
    text-transform: uppercase;
    font-size: 10px!important;
    background: #b29438;
    color: #000000;
    border: 1px solid #42313163;
    padding: 2px 6px;
}



/* личное звание */
.pa-fld2 {
    position: relative;
    width: 210px !important;
    margin-left: 1px !important;
    margin-top: 10px !important;
    margin-bottom: 7px!important;
    cursor: default;
    font-family: Arial;
    font-size: 9.5px;
    text-align: center;
    color: #000000e0;
}

.lzname {
    position: relative;
    font-size: 10px;
    font-weight: 600;
    font-family: Arial;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #070707!important;
    top: -1px !important;
}

.pa-fld2 a {
     color: #070707 !important;
}

.pa-fld2 b {
    color: #000000;
}

/* плашку предоставили на прекрасном рено, с моей доработкой */
li.pa-fld1 {
    width: 210px;
    left: 0px;
    top: 0px;
    padding: 2px 2px 2px 2px!important;
    text-align: justify;
    display: block;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pa-fld1 {
    height: 32px;
    position: relative;
    margin-bottom: 10px !important;
    margin-left: -1px !important;
    margin-top: 6px!important;
    background: #252525;
    cursor: default;
}

.pa-fld1 kt {
    width: 200px;
    font-size: 9.3px;
    font-family: Tahoma;
    height: 14px;
    position: absolute;
    margin-left: 5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-top: 3px;
    color: #bc8f32;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.pa-fld1 mt {
    width: 200px;
    height: 14px;
    margin-left: 5px;
    position: absolute;
    font-size: 9.2px;
    font-family: Tahoma;
    font-weight: 400;
    margin-top: 17px;
    letter-spacing: 0.1px;
    color: #a3a3a3;
    text-transform: lowercase;
    text-align: center;
}


.post-img-Sp {
    display: block;
    padding: 3px 0px;
    font-family: Tahoma;
    font-weight: 600;
    width: 212px;
    color: #1c1c1c !important;
    background: #00000024;
    font-size: 9px!important;
    text-transform: uppercase;
}

a.navigation:link, a.navigation:active, a.navigation:visited  {
    display: inline-block;
    margin-bottom: 4px;
  background: #b29438;
    color: #000000;
    border: 1px solid #42313163;
    width: 72px;
    padding: 0 7.5px;
    height: 18px;
    font-weight: 600;
    text-align: center;
    letter-spacing: .5px;
    font: 9.7px Arial;
    line-height: 18px;
}

a.navigation:hover {
    background: #1f1f1f;
    color: #b2b0a8;
    border: 1px solid #42313163;
}


/*-- Выделение ссылок в постах */
.punbb .post-body a:link {
    color: #856d0d;
    font-weight: bold;
}

.punbb .post-body a:visited {
    color: #856d0d;
}

.punbb .post-body a:hover {
    color: #856d0d;
}