/* Для уведомлений (исправление крестика) */
.pun-modal .closer {
    font-family: arial!important;
}

/*Убираем слово объявление из таблицы*/
#pun-announcement h2 {display: none}
#pun-announcement .container {padding-top: 1em}
/*Ставим шапку*/
body {
/*background: url(http://forumstatic.ru/files/001a/b4/da/97461.jpg) top center repeat fixed;*/}
/*Ставим фон*/
HTML {background: url(http://forumstatic.ru/files/001a/b4/da/97461.jpg) top center repeat fixed, #531925;}*/
/*НГ
HTML {background: url(https://forumstatic.ru/files/0014/4a/23/97942.png) top center repeat fixed, #531925;}*/
/*ХЭЛЛОУИН МОД
HTML {background: url(http://forumstatic.ru/files/0014/4a/23/62337.png) top center repeat fixed, #531925;}*/

/*Ставим низ*/
#pun_wrap {/* background-image: url("http://fkme.nc-21.ru/files/0014/4a/23/31264.png"); */background-repeat: no-repeat;background-position: center bottom;padding-bottom: 170px;}

/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .main .container,
.punbb td.tc3,
.punbb .section .container,
.punbb .section .formal .container,
.punbb .formal fieldset,
#viewprofile li strong, #viewprofile li div,
#setmods dd, .punbb .post-body, .post-box,
.punbb .post-links, .punbb-admin #pun-admain .adcontainer,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  color: #363636;
  }

#pun-ulinks .container{
  color: #363636;
}

#pun-main #post .container {
background-color: #d7cdc3;
    border: 2px solid #6a747d;}

/* CS1.2 */
.punbb .post .container,
.punbb .post h3 {
  color: #363636;
}

.punbb .post h3 span {

  color: #363636;
}

.punbb td.tc2, .punbb td.tc3 {
  color: #363636;
  font-weight: bold;
  font-size: 1.4em;
  font-family: 'Oks Free';
}


.multipage td.tc2, .multipage td.tc3 {
}

.punbb td.tcl , .punbb td.tc3   {
  color: #363636;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: transparent;
  background-position: top;
  height: 45px;
  background-image: url(http://forumstatic.ru/files/001a/b4/da/89462.png);
  background-repeat: repeat-x;
  font-size: 22px;
  text-align: center;
  font-family: 'Mestizos Unidos', 'Forgotten November', sans-serif;
  color: #c4fbbb;
  letter-spacing: 2px;
  line-height: 20px;
  text-shadow: 3px 0px 0px #000, 0px 3px 0px #000, -3px 0px 0px #000, 0px -3px 0px #000, -3px -3px 1px #000, 3px 3px 1px #000, -3px 3px 1px #000, 3px -3px 1px #000;
  text-transform: uppercase;
  border: 1px solid #f00;
  /* font-family: 'Oks Free'; */
  /* font-size: 26px; */
  }


/* CS1.4 */
.punbb .modmenu .container {
  background:  transparent;
  color: #363636;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background:   transparent;
  color: #363636;
  }

#viewprofile h2 span {
  background-image: none;
}

.punbb .post h3 strong {
  font-size: 0.9em;
  color: #363636;
}

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background: #E5E5E5;
  color: #5E5E5E;
/*border-style: dashed;*/

  }

.punbb textarea, .punbb select, .punbb input {
  background: #E5E5E5;
  color: #363636;
  border: 1px solid #CFCFCF;
}

/* CS1.8 */
#pun-navlinks .container {
  background: url(../../img/Mybb_Rest/h2.gif) transparent no-repeat;
  color: #006699;
  }

.offline li.pa-online strong {
  font-weight: normal;
  }

.punbb th {
  color: #949494;
  background: transparent;
}

/* CS2 Border colours
-------------------------------------------------------------*/

#pun-title, #pun-navlinks {
  border: none;
}

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border: none;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border: none;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border: 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: none;
  }

/* CS2.5 */
.punbb th {
  border: none;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #000;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
   border: transparent;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border: transparent;
  }

.punbb .divider {
   border: transparent;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #a7b5bd;
  }

li.pa-online {
  border-left-color: #3e4462;
  }


/* 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: #385257;
 text-decoration: none;
 }
/* CS3.12 */
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #b3a56b;
  text-decoration: none;
  }

/* CS3.2 2b4353*/
.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: #8B0A09;
  text-decoration: none;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #030305;
  text-decoration: none;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #447a99;
  text-decoration: none;
  }

#pun-ulinks a {
  color: #030305;
  text-decoration: none;
  }

#pun-navlinks li a:before, #pun-ulinks li a:before {
    content: "#";
    color: #00c6ff;
}
#pun-navlinks li a:hover:before, #pun-ulinks li a:hover:before {
    content: "#";
    color: #fc5caa;
}

/* CS3.4 */
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #8B0A09;
  text-decoration:none;
  }
/* CS3.4.1 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #5E5E5E;
  color: #383838;
  }

.post h3 span a:link, .post h3 span a:visited {
  font-weight: normal;
  font-size: 0.9em;
  text-decoration: none;
}

/* CS4 Post status icons
-------------------------------------------------------------*/
.container table .hasicon .tclcon {/* padding-left: 71px; */}
/*Старые сообщения*/
Div.icon {
background-image : url('http://forumstatic.ru/files/001a/b4/da/13088.png');
background-repeat: no-repeat;
}
/*Новые сообщения*/
TR.inew Div.icon {
background-image : url('http://forumstatic.ru/files/001a/b4/da/11507.png');
background-repeat: no-repeat;
}
/*Важные темы*/
TR.isticky Div.icon {
background-image : url('http://forumstatic.ru/files/001a/b4/da/71325.png');
background-repeat: no-repeat;
}
/*Закрытые темы*/
TR.iclosed Div.icon {
background-image : url('http://forumstatic.ru/files/001a/b4/da/20862.png');
background-repeat: no-repeat;
}

del {
    text-shadow: 0px 0px 2px #000;
    opacity: 0.5;
    color: transparent!important;
}

del:hover {
    text-shadow: none;
    opacity: 0.8;
    color: #000!important;
}

#u-panel {
    height: 50px;
    overflow-y: hidden;
    position: absolute;
    top: 337px;
}

/* Логотип форума */
#html-header {
    width: 472px;
    height: 183px;
    background: url(http://forumstatic.ru/files/001a/b4/da/75030.png);
    //background: url(https://forumstatic.ru/files/0014/4a/23/16423.png);
    //background: url(https://i.ibb.co/2k5SH4c/image.png);
    top: 33px;
    margin-left: 517px;
    position: absolute;
    z-index: 200;

/*ХЭЛЛОУИН МОД
background: url(http://forumstatic.ru/files/0014/4a/23/27849.png);
    height: 213px;
    top: 7px;*/
}


li.pa-author a {
    width: 100%;
    display: block;
    height: 100%;
    padding: 5px 0px;
    box-shadow: 5px 4px 0px 3px rgba(0,0,0,0.3);
}

.pa-author img {
    position: absolute;
    margin-left: -104px;
}

/*---Прокрутка---*/

::-webkit-scrollbar-thumb:vertical {
   background-color:#b04144; 
}
::-webkit-scrollbar-thumb:horizontal {
   background-color:#b04144; 
}
::-webkit-scrollbar {
    width: 10px;
    height: 5px;
    background-color: #385056;
}


.redirect-page #pun {padding: 100px}

#pun-status .item3 {
    position: absolute;
    top: 121px;
    margin-left: 425px;
    width: 300px;
}

/* Сокрытие надписи УЛУЧШИТЬ АККАУНТ */
#pun-status .item4 {
    display: none;
}



.pages .container {
    margin: 0px 50px;
}
.pages .code-box {
    height: 120px;
}

.pun-modal .modal-inner {background-color: #bec5c4;     margin-top: 22vh!important;}
.modal-inner .container {max-height: 46vh!important;}

.punbb .post-box a {
    /* color: #ad0b28; */
    color: #6f778d;
}

#smls-blk { margin: 0 0 2em 0; }