html, body {min-width:800px!important;} /* Правка для мобильных устройств с мелким экраном */


/***************************************************************
- БАЗИС
***************************************************************/


/* Фон
--------------------------------- */
html {
    background: url(https://i.imgur.com/tXThqk6.png) repeat-x top center,
    url(https://i.imgur.com/T6W7ukY.png) repeat top center;
  }
  

/* Шапка и тело
--------------------------------- */
body {
    background: url(https://i.imgur.com/ZQerIlK.png) top center no-repeat,
    url(https://i.imgur.com/iAZSAWb.png) top center repeat-y;
    }
#pun {      
    width: 820px!important;
    }


/* Футер
--------------------------------- */
#pun-about {
    background: transparent url(https://i.imgur.com/ZlYBQ58.png) top center no-repeat;
    height: 397px;
    width: 1064px;
    margin: -200px 132px -12px -121px!important;
}

#pun-about .container .item1 {
  position: absolute;
  bottom: 190px;
  left: 370px;
}

.copyright {
  position: absolute;
  bottom: 84px;
  left: 398px;
}

.copyright a {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    font-family: 'Myriad Pro';
    letter-spacing: 1px;
    transition-duration: 0.3s;
    -webkit-backface-visibility: hidden;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
    filter: saturate(100%) contrast(100%) hue-rotate(0deg) drop-shadow(0px 1px 1px #000);
    }

.copyright a:hover {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    font-family: 'Myriad Pro';
    letter-spacing: 1px;
    transition-duration: 0.3s;
    -webkit-backface-visibility: hidden;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
    filter: saturate(150%) contrast(150%) hue-rotate(-15deg) drop-shadow(0px 1px 1px #000);
}


 .footer_banners {
    position: absolute;
    width: 760px;
    height: 68px;
    overflow-y: scroll;
    margin: -20px 0 20px 36px!important;
 }

 .footer_banners a img {
    opacity: .4;
    filter: sepia(.7) hue-rotate(-15deg) grayscale(.5);
    transition: all ease .2s;
    }

 .footer_banners a img:hover {
   opacity: 1!important;
    filter: sepia(0) hue-rotate(0) grayscale(0);
 }




/***************************************************************
- ОСНОВНОЕ
***************************************************************/


/* Категории
------------------------------------------------------------------ */
#pun .category h2, .punbb #pun-stats h2 {
    background: transparent url(https://i.imgur.com/A3RPQ90.png) top center no-repeat;
    background-repeat: no-repeat;
    width: 890px;
    height: 137px;
    margin: 0px 37px -30px -37px;
    text-align: right;
    line-height: 140%;
  }

  #pun .category h2 span, .punbb #pun-stats h2 span {
    float: right;
    margin: 26px 40px 0 0;
    font-family: 'Sydnee';
    font-weight: normal;
    font-size: 34px;
    letter-spacing: 3px;
    text-transform: none;
    color: #905f4a;
  }


/* Дата и номер поста
------------------------------------------------------------------ */
#pun-main .post h3 {
    background: transparent url(https://i.imgur.com/A3RPQ90.png) top center no-repeat;
    width: 890px;
    height: 137px;
    margin: -40px 37px 0px -37px;
}

.punbb .post h3 span {
    width: 600px;
    float: left;
    margin: 80px 0 0 246px;
  }

.punbb .post h3 strong {
    float: right;
  }


/* Страница ЛС
------------------------------------------------------------------ */
#pun-messages .post h3 {
  background: none;
  height: auto;
  margin: -64px 0 0 -42px;
}

#pun-messages .post-author {
  padding-bottom: 50px;
}

.tcl.pmtcl1 {
  width: 40%!important;
}


/* Общие заголовки
------------------------------------------------------------------ */
.punbb .main h2, #pun-debug h2, .punbb .main h1, #viewprofile h2, #profilenav h2, #pun-stats h2 {
    text-transform: uppercase;
    font-size: 17px!important;
    color: #57443c;
    padding: 20px 0;
    font-family: 'Myriad Pro';
    text-align: center;
  }

  #pun-profile h1 span a {
    font-size: 15px;
    margin-right: 10px;
  }


/* Переадресация
------------------------------------------------------------------ */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  background: #d1c0b3dd;
  border-radius: 5px;
  box-shadow: 0 5px 20px #000;
  }

  .redirect-page {
    background: transparent url(https://i.imgur.com/T6W7ukY.png) top center repeat!important;
  }

  .redirect-page h1 {
    background: #d1c0b390;
    border-bottom: 1px solid #905f4a50;
  }

  .redirect-page .punbb .info .container {
    padding: 20px;
    text-align: center;
  }

  .redirect-page a {
    transition-duration: 0!important;
    }



/***************************************************************
- ИКОНКИ
***************************************************************/


/* На главной
------------------------------------------------------------------ */
#pun-main .category div.icon {
    background: url(https://i.imgur.com/mwWqB32.png) no-repeat center top;
    display: block;
    position: absolute;
    width: 82px;
    height: 82px;
    margin: -6px 0 0 270px;
}

#pun-main .category TR.inew Div.icon {
    background: url(https://i.imgur.com/OfhONLB.png) no-repeat center top;
    display: block;
    position: absolute;
    width: 82px;
    height: 82px;
    margin: -6px 0 0 270px;
}


/* В подфорумах
------------------------------------------------------------------ */
#pun-viewforum table Div.icon, #pun-modviewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: url(https://i.imgur.com/hmWVfpj.png) no-repeat center top;
    float: left;
    border-style: none;
    display: block;
    position: relative;
    width: 74px;
    height: 35px;
    margin: 0px 15px 0px -8px;
  }

#pun-viewforum TR.inew Div.icon, #pun-modviewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: url(https://i.imgur.com/FgFCNVJ.png) no-repeat center top;
    width: 74px;
    height: 35px;
    margin: 0px 15px 0px -8px;
  }

#pun-viewforum TR.iclosed Div.icon, #pun-modviewforum TR.iclosed Div.icon #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: url(https://i.imgur.com/SPreeYt.png) no-repeat center top;
    width: 74px;
    height: 35px;
    margin: 0px 15px 0px -8px;
}

#pun-viewforum TR.isticky Div.icon, #pun-modviewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: url(https://i.imgur.com/PQh8mtB.png) no-repeat center top;
    width: 74px;
    height: 35px;
    margin: 0px 15px 0px -8px;
}


/***************************************************************
- ПРОФИЛЬ
***************************************************************/


/* Основное
------------------------------------------------------------------ */
.punbb .post .post-author {
  margin: -24px 0 0 -32px;
  width: 236px;
  line-height: 140%;
  float: left;
  background: url(https://i.imgur.com/D0mcfyA.png) top center no-repeat,
  url(https://i.imgur.com/DslPGVp.png) bottom center no-repeat,
  url(https://i.imgur.com/4DSndel.png) top center repeat-y;
  padding-bottom: 50px;
}

.punbb .post .post-author ul, .punbb .post .post-author p {
    text-align: center;
    line-height: 180%;
    width: 180px;
    margin-left: 28px;
  }

li.pa-author {
    margin-top: 14px;
    font-size: 15px;
  }

li.pa-author a {
    font-family: 'Myriad Pro';
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition-duration: 0.3s;
    -webkit-backface-visibility: hidden;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
    filter: saturate(100%) contrast(100%) hue-rotate(0deg);
  }

li.pa-author a:hover {
    filter: saturate(150%) contrast(150%) hue-rotate(-15deg);
}

.pa-author a:after {    
    content: '»';
    font-family: 'Myriad Pro';
    font-weight: bold;
    line-height: 130%;
    transform: translateX(0);
    opacity: 0;
    transition-duration: 0.3s;
    position: absolute;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
  }

.pa-author a:hover:after {
    transform: translateX(5px);
    opacity: 1;
  }

.pa-title {
    text-transform: lowercase;
    line-height: 140%;
    margin: 24px 0 10px 0!important;
  }

.pa-posts {
  margin-top: 6px!important;
}

.pa-respect {
  margin-bottom: 6px!important;
}

#pun-searchposts .post-author, #pun-post .post-author {
  background: url(https://i.imgur.com/4eq7qje.png) top center no-repeat,
  url(https://i.imgur.com/JXTpXSx.png) bottom center no-repeat,
  url(https://i.imgur.com/4DSndel.png) top center repeat-y;
    height: 160px;
    margin-top: -26px;
    text-transform: uppercase;
  }

.pa-awards {
  margin-bottom: 40px;
}

#pun-searchposts .post-author .pa-author, #pun-post .post-author .pa-author {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
    margin: 22px 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 140%;
  }

#pun-post .post-author .pa-author {
  margin-left: 24px;
}  

#pun-searchposts .post-box {
  padding-top: 0;
  margin-top: -40px!important;
}


/* Граница подписи
------------------------------------------------------------------ */
.punbb .post-sig dt {
    width: 250px;
    border: 1px solid #4e431d2b;
    margin: 10px 0px 10px 182px;
  }
#profile-signature ul {
   border-top: 1px solid #4e431d2b !important;
  }



/***************************************************************
- ЦИТАТЫ, КНОПКИ, ПОЛЯ
***************************************************************/


/* Оформление блоков и цитат
------------------------------------------------------------------ */
#pun-main .code-box, #pun-main .quote-box {
    background: #d1c0b3bb;
    margin-top: 10px;
    padding: 12px;
}

.punbb .quote-box cite {
    display: block;
    margin-left: 5px;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 25px!important;
    border-bottom: 1px solid #905f4a50;
    font-family: 'Myriad Pro';
}

.punbb .code-box strong.legend a {
    font-weight: bold;
    border-bottom: 1px solid #905f4a40;
    display: block; 
    line-height: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px!important;
    margin: 0 0 5px 5px;
    font-family: 'Myriad Pro';
}

.punbb .post-content .blockcode div {
    margin: 2px 5px;
    line-height: 150%;
    font-size: 11px;
}

#post-preview blockquote {
  margin-left: 5px!important;
}


/* Заголовок спойлера
------------------------------------------------------------------ */
.post-content .spoiler-box > div {
    text-align: center;
    font-family: 'Myriad Pro'!important;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* Всплывающие окна
------------------------------------------------------------------ */
.inner, .punbb .pun-modal .section {
    background: #e4dad2;
    border: 1px solid #905f4a;
}  

#pun-report .bg, #pun-reputation .bg, #pun-admin-award-form .bg {
    background: #0d0d0d !important;
}

#pun_wrap #post .container[id$=font-area] {
  height: 166px;
  overflow-y: auto;
}


/* Поля ввода и кнопки
------------------------------------------------------------------ */
.punbb textarea {
    border: none;
    padding: 8px 0 0 14px;
    background: #d1c0b3bb;
    border: none;
  }

body #post .fs-box.hashelp .container, #post-sig .container {
    padding-top: 10px;
    margin-top: -1px;
    background: #d4c6ba;
    border: 1px solid #905f4a!important;
  }

#keyboard-span input {
    border: none !important;
    border-radius: 3px;
    cursor: pointer;
    color: currentColor!important;
    background: #ffffff66 !important;
    height: 30px!important;
}

.punbb select, .punbb input { 
    background: #d1c0b3bb !important;
    border: none;
    margin: 3px 0;
    padding: 8px 14px;
    text-transform: none!important;
    color: currentColor;
  }

 .punbb input.button, .fs-box.hashelp button {
    background: #d1c0b3bb;
    border: none;
    padding: 10px 20px;
    font-family: 'Myriad Pro'!important;
    text-transform: uppercase!important;
    font-weight: bold!important;
    letter-spacing: 1px!important;
    color: #57443c;
    filter: brightness(100%) saturate(100%);
    transition-duration: .3s;
  }

 .punbb input:hover, .punbb button:hover, .punbb input:focus, .punbb button:focus {
    cursor: pointer;
    filter: brightness(85%) saturate(150%);
    transition-duration: .3s;
    }

#form-buttons table, .punbb .formal textarea {
    width: 98%!important;
}

/* Правка отображения выпадающего меню в Safari */
input[type=text], input[type=submit], textarea, keygen, select, button {
	-webkit-appearance: none!important;
} 

/* Чистка стиля мини-профиля смены имиджа */
#stTs {
  box-shadow: none!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 {
    border-bottom: none;
    color: #334f72;
    transition-duration: 0.3s;
    text-decoration: none;
  }

.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 {
    border-bottom: none;
    color: #905f4a;
    transition-duration: 0.3s;
    text-decoration: none;
  }


/* Навлинки
------------------------------------------------------------------ */
#pun-navlinks {
    margin: 26px 0 0 20px;
  }


#pun-navlinks a {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Myriad Pro';
    letter-spacing: 1px;
    padding: 0 12px;
    transition-duration: 0.3s;
    -webkit-backface-visibility: hidden;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
    filter: saturate(100%) contrast(100%) hue-rotate(0deg) drop-shadow(0px 1px 1px #000);
  }

#pun-navlinks a:hover, #pun-navlinks a:active {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Myriad Pro';
    letter-spacing: 1px;
    padding: 0 12px;
    transition-duration: 0.3s;
    -webkit-backface-visibility: hidden;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #cbb88f), color-stop(70%, #8f7b53));
    background: -webkit-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:    -moz-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:     -ms-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:      -o-linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    background:         linear-gradient(top, #cbb88f 30%,#8f7b53 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-size-adjust: 100%;
    filter: saturate(150%) contrast(150%) hue-rotate(-15deg) drop-shadow(0px 1px 1px #000);
  }

  li#navsearch {
    margin-right: 90px;
  }

  li#navadmin {
    position: fixed;
    transform: rotate(90deg);
    top: 40%;
    right: -86px;
    background: #00000090;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 10px #00000080;
    transition-duration: .3s;
  }

  li#navadmin a {
    line-height: 260%;
  }


/* Юзерлинки
------------------------------------------------------------------ */
#pun-ulinks {
    margin: 278px 0 150px 0;
  }

#pun-ulinks a {
    font-size: 8px;
    font-family: 'Myriad Pro';
    font-weight: bold;
    letter-spacing: 1px;
    padding: 0 7px;
    text-transform: uppercase;
    color: #57443c !important;
    -webkit-text-size-adjust: 100%; /* приоритет стиля на iOS */
  }

#pun-ulinks a:hover, #pun-ulinks a:active {
    color: #905f4a !important;
  }


/***************************************************************
- ПОДФОРУМЫ
***************************************************************/


/* Оформление разделов
--------------------------------------------------------------- */
#pun-index .tcl {
    width: 386px!important;
    background: url(https://i.imgur.com/xcn0ZRs.png) top center no-repeat,
                url(https://i.imgur.com/qAOFuZ2.png) bottom center no-repeat;
    mix-blend-mode: darken;
}

#pun-index .tcl .intd {
    color: #905f4a;
    text-align: left;
    font-family: 'Myriad Pro';
    line-height: 140%;
    font-weight: normal;
    padding: 0 40px 40px;
    letter-spacing: 1px!important;
    }

#pun-index .tcl h3 {
    text-align: center;
    margin: 8px 0 30px 80px;
    width: 200px;
}

#pun-index .tcl h3 a {
    font-size: 15px!important;
    font-family: 'Myriad Pro';
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #d1c0b3, 0 0 10px #d1c0b3, 0 0 15px #d1c0b3, 0 0 20px #d1c0b3;
    -webkit-text-size-adjust: 100%;
}

#pun-main thead tr th {
  font-family: 'Myriad Pro';
  text-transform: uppercase;
  font-size: 8px;
  color: #905f4a;
}


/* Темы и сообщения горизонтально 
 ------------------------------------------------------------- */

#pun-index td.tcl {
    display: inline-block;
}


#pun-index td.tc2:before {
    content: 'Тем: ';
}

#pun-index td.tc3:before {
    content: 'Сообщений: ';
}

#pun-index td.tc2 {
  margin-left: 50px;
}

#pun-index td.tc2, #pun-index td.tc3 {
    display: inline-block;
    margin-top: -30px;
    width: 130px;
    font-family: Arial;
    font-weight: bold;
    text-transform: uppercase;
    color: #905f4a;
}





/***************************************************************
- ОСТАЛЬНОЕ
***************************************************************/


/* Красим основную текстовую часть
------------------------------------------------------------- */
.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, .punbb fieldset, #viewprofile ul, #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, #pun-ulinks li a, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box {
  border: none;
  color: #57443c;
  }


/* Скрытие отдельных элементов
------------------------------------------------------------------ */
#pun-announcement h2, p.lastedit, .topic a.sharelink, .category .container thead, .intd .tclcon .modlist, #navawards {
    display: none!important;
}


/*  Сглаживание шрифтов
------------------------------------------------------------------ */
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}


/*  Сдвиг рекламы
------------------------------------------------------------------ */
#banner_top {
  margin-left: 20.5%;
}

.admin-advert-block {
   margin-top: 100px!important;
 }


/* Свечение в Chrome
------------------------------------------------------------------ */
input:active, textarea:active {
    outline-color: #334f72;
  } 
:focus {
    outline-color: #334f72;
  }


/* Закладки
------------------------------------------------------------------ */
.post .bookmark {
    color: #905f4a !important;
    right: -35px !important;
}

#BookmCntToggle.default-style {
    color: #905f4a !important;
}

#MyBookmarks, .editBookmark {
  background: #e4dad2;
}


/* Выравнивание кнопки загрузки изображений
 -------------------------------------------------------------*/
#imageupload-left input[type=button] {
    width: auto!important;
  }


/* Выделение
------------------------------------------------------------------ */
::selection {
    color: #eee !important;
    background: #334f72;
}


/* Зачёркнутый текст
------------------------------------------------------------------ */
del {
    filter: blur(1.5px);
    transition: 0.3s linear;
    -webkit-backface-visibility: hidden; /* правка смещения элементов на пиксель при применении transform */
}
del:hover {
    filter: blur(0px);
    background: transparent;
    text-decoration: none!important;
}


/* Подчёркнутый текст
------------------------------------------------------------------ */
.bbuline {
    background: transparent;
    text-decoration: #334f72 underline!important;
    transition: 0.3s linear;
}
.bbuline:hover {
    background: transparent;
    text-decoration: none!important;
}

    
/* Убираем границы таблиц в постах
----------------------------------------------------------------------- */
.post-content table td {
  border: none!important;
}


/* Скролл
------------------------------------------------------------------ */
::-webkit-scrollbar {  
width: 6px;  /* for vertical scrollbars */
height: 6px; /* for horizontal scrollbars */}

::-webkit-scrollbar-track {
    background: #261c1c;
}
::-webkit-scrollbar-thumb {
    background: #905f4a;
}


/* Иконки авторов тем на главной
------------------------------------------------------------------ */
.punbb .user-avatar img.on_ {
    background: #905f4a !important;
}


/* Значок новых ЛС
--------------------------------- */
span.num_msg {
    margin-top: -6px!important;
    margin-left: -10px!important;
    background: #cbb88f !important;
    color: #000 !important;
    height: 10px !important;
    font-size: 9px !important;
    font-family: 'Myriad Pro';
    animation: blinkColor .9s linear infinite;
    -webkit-animation: blinkColor .9s linear infinite;
    padding: 1px 3px!important;
}
span.num_msg:before {
    display: none!important;
}


/* Значок новых сообщений в разделе
------------------------------------------------------------------ */
.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    background: #57443c !important;
    border-radius: 50%!important;
    color: #eee !important;
    margin: 6px 0 0 70px!important;
}


/* Заголовки в админке
------------------------------------------------------------------ */
#pun-admain h2, #pun-admain legend span {
    background-color: #eee !important;
    color: #57443c;
    font-weight: bold!important;
    font-family: Arial;
    letter-spacing: 1px;
  }


/* Запятая после ников просматривающих тему
------------------------------------------------------------------ */
#topic-users-in a:after {
    content: ",";
}
#topic-users-in a:last-child:after {
    content: "";
}


/* Правка результатов опроса
------------------------------------------------------------------ */
#poll-special .poll2 td h1 {
    background: currentColor;
    padding: 1px;
  }


/* Правка высоты формы ответа
------------------------------------------------------------------ */
#main-reply {
  width: 100%;
  height: 200px;
}



/* Правка сдвига профиля в кнопках скрытия инфы
------------------------------------------------------------------ */
.post-ul-Sp {
  margin-left: 0!important;
}


/* Таблица
------------------------------------------------------------------ */

#custom_table {
  position: absolute;
  top: 350px;
  left: -10px;
  width: 840px;
  height: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

#custom_table > * {
  padding: 10px;
}

#custom_table p {
  font-family: 'Myriad Pro';
  font-size: 12px;
  color: #905f4a;
  letter-spacing: 1px;
}

.block1 {
  overflow-y: auto;
  grid-column: 1/2;
  grid-row: 1/3;
}

.block1 h1 {
  font-family: 'Myriad Pro';
  font-size: 14px!important;
  text-transform: uppercase;
  text-align: center!important;
  margin-bottom: 5px;
  color: #905f4a;
  letter-spacing: 1px;  
}

.block2 {
  overflow-y: auto;
  grid-column: 2/3;
  grid-row: 1/2;
}

.block3 {
  grid-column: 2/3;
  grid-row: 2/3;
  text-align: center;
  height: 20px;
}

.block3 div:first-child {
  margin-right: 10px!important;
}

.nav1 {
    display: inline-block;
}

.nav1 center:after {
   position: absolute;
   margin-left: -18px;
   margin-top: 10px;
   content: '›';
   font-size: 14px;
   color: #905f4a;
   transform: rotate(90deg);
 }



/* Анимированные элементы
------------------------------------------------------------------ */

 .gif1, .gif2, .gif3, .gif4 {
   position: absolute;
   opacity: 0;
   transition-duration: .3s;
 }

 .gif1:hover, .gif2:hover, .gif3:hover, .gif4:hover {
   position: absolute;
   opacity: 1;
 }

 .gif1 {
   top: 226px;
   left: 363px;
 }

 .gif2 {
   top: 229px;
   right: -5px;
 }

 .gif3 {
   top: 114px;
   left: 419px;
 }

 .gif4 {
   top: 199px;
   left: 495px;
 }