/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фоновая картинка */
html {
background: url(https://i.ibb.co/f9fTLq4/image.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #000;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Лого */
#pun-title table {
    background-image: url(http://forumupload.ru/uploads/001b/2b/63/2/274069.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 986px;
    height: 500px;
    margin-left: -44px;
    margin-top: -400px;
}

/* Тело  */
#pun {
width: 986px; 
margin-top: 315px;
background-color: transparent; 
background-image: url(http://forumupload.ru/uploads/001b/2b/63/2/77687.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 986px;}

/* Низ */
#pun-about p.container {
    background-image: url(http://forumupload.ru/uploads/001b/2b/63/2/190012.png);
    margin: 0px 0px -130px -44px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 986px;
    height: 31px;
    padding-bottom: 99px;
}


/* CS1.1 Фон и цвет текста на форуме */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {background-color: transpanent;
color: #272933;
font-weight: normal;
font-style: normal;
}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
    background-color: transparent;
    color: #272933;
    text-align: center;
    font-style: normal;
    font-family: 'Roboto';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001a/b8/0d/12161.jpg);
    background-color: #bfbfbf;
    color: #272933;
    border: 1px solid #90909078;
    box-shadow: 0px 20px 20px #00000012 inset, 2px -2px #c0c0c0;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(http://forumstatic.ru/files/001a/b8/0d/12161.jpg);
    background-color: #bfbfbf;
    color: #272933;
}


/* Тень и закругление */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
 }

.punbb input { border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}



/* CS2 Ссылки
-------------------------------------------------------------*/

/* CS2.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited, #pun-navlinks a, #pun-ulinks a {color: #383b4d;
  text-decoration: none;
  }

/* CS2.2 */
.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,  #pun-ulinks a:focus, #pun-ulinks a:active {
color: #7e472f;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #7e472f;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #212530;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #7e472f;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #dcdbdb;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #d28668;
}


#pun-navlinks a:hover {
color: #d28668;
  transition-duration: 1s;
}



/* CS3 Иконки
-------------------------------------------------------------*/

div.icon {
        background: url(https://i.ibb.co/grT0BY7/old.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(https://i.ibb.co/BgzHmz8/new.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(https://i.ibb.co/JxwPfQr/clouse.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(https://i.ibb.co/b6hmKNC/wanter.jpg) no-repeat;
}

/* CS3.2 В минус*/
#pun-main div.catleft, #pun-main div.catright {display: none;}
#pun-main .post-author ul {text-align: center;}
ul.post-ul-Sp, .post-img-Sp {text-align:center;}
#pun th, #pun-main h2 {text-align: center}
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
.modlist {font-size: 95.05%;}
#pun-announcement .container {font-size: 101%; font-family: "Arial";}
.category h2 span{display: block;}
#pun-stats h2 span {visibility: visible;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    background-color: #272933;
}

::-webkit-scrollbar-thumb {
    background-color: #804931;
    border: 1px solid #8b5138;
}


::selection {
    background: #804931 !important;
    color: #c1c1c1;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: inter;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #8f4729 !important;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 2px solid #c9c6c7;
    box-shadow: 0 0 0 1px #ad8283;
    margin-top: 3px;
}


#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}


#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
    position: absolute;
    right: 6px;
    background-image: url(http://forumstatic.ru/files/001a/b8/0d/12161.jpg);
    background-color: #bfbfbf;
    top: 43px;
    overflow-y: auto;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;

}

.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(http://forumstatic.ru/files/001a/b8/0d/12161.jpg);
    background-color: #bfbfbf;
}


.zag d {
color: #dc8a6a !important;
}


.alin {
    color: #e0dede !important;
}


.links3 {
    letter-spacing: 0.5px;
    color: #dedcdd !important;
    font-family: playfair display;
    font-size: 9px;
}


.priv inf {
    text-transform: uppercase;
    color: #c16e4c;
    font-size: 11px;
}

/* выравнивание сооб и репы  */
.pa-posts, .pa-respect {
    padding: 1px 0px 1px 3px!important;
    margin-top: 2px !important;
    display: inline-block!important;
    float: none!important;
    width: 87px;
    text-align: center;
    margin-left: 1px !important;
    letter-spacing: 0.3px;
    font-size: 10px;
}

/* выравнивание поля профиля */
.pa-fld1 {
text-align: justify; !important;
}

/* настройка категорий */
#pun-index div.category h2, #pun-index #pun-stats h2 {
    font-weight: 400;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 5;
    width: 908px;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 10px 0 10px -5px;
    padding: 4px 0 1px 0 !important;
    color: #8c4426 !important;
    background-repeat: no-repeat;
    border-top: 1px solid #b5b5b5;
    border-bottom: 1px solid #b5b5b5;
    background-position: top center;
    background-color: #cbcbcb;
}

/* разделитель постов */
#pun-viewtopic .post h3 {
    height: 15px;
    background-color: #bfbfbf;
    font-family: inter;
    font-size: 10px;
    text-transform: uppercase;
    margin: 0 8px 0 8px !important;
    border-radius: 1px;
    border: 1px solid #a5a5a54d;
}

/*баннеры, настроить потом */
#banners-box {
    position: absolute;
    margin-left: -15px;
    margin-top: -40px;
    width: 927px;
    height: 36px;
    text-align: center;
    overflow-y: scroll;
    padding-right: 1px;
    /* border: 1px solid red; */
    color: #c9c9c9;
}

/* стиль дайсов */
.punbb input.dice-button {
    width: 35px;
    height: 36px;
    background: url(https://image.ibb.co/cd2PSq/j-EKPY6fki-N.png) no-repeat;
    border: 0!important;
    cursor: pointer;
}

/* стиль таблицы */
#menu span {
padding: 7px 15px 7px; 
margin-right: 5px;
margin: 10px 0;
width: 100px;
text-decoration: none;
}

 
#submenu {
padding: 5px;
height: 200px;
text-align: left;
font-size: 12px;
width: 600px;
}
 
.submenutext {
text-align: center;
background:#F9F1DD;
position:absolute;
width:100%;
max-width: 600px;
display: none; 
height: 150px!important;
}
/* стиль таблицы */




/******************************************
      СТИЛЬ ТАБЛИЦЫ ОБЩАЯ ИНФА АККОРДИОН 
******************************************/
.punbb .post-content table[style="width:111px"]{
 display:none;
}
/* Фон и обрамление */
.punbb .post-content table[style="width:111px"]+.quote-box{
  width: 600px;
    border-radius: 5px!important;
    border: 1px solid rgb(136 28 21);
    outline: 1px solid #8a1e17;
    outline-offset: 10px;
    padding: 6px!important;
    margin: 15px 15px 15px 18px !important;
}
.punbb .post-content table[style="width:111px"]+.quote-box > blockquote > p{
  background:rgba(197,192,192,0.67)!important;
  padding:7px;
  margin-bottom:7px;
  border: 1px dotted #222222;
  border-bottom:9px solid rgb(0 0 0);
}
/*Цвет, Размер и фон заголовка всей таблички*/
.punbb .post-content table[style="width:111px"]+.quote-box > blockquote > p > span[style*="text-align: center"]{
  font-size: 25px;
  background: #2B2526 url(http://forumupload.ru/uploads/001b/2b/63/2/968186.png) no-repeat center;
  text-shadow: 1px 1px 1px #000; font-weight: bold;
  margin:-7px;
  margin-bottom:2px!important;
  letter-spacing: 3px;
  color: #f2efe6;
  padding: 5px;
}
.punbb .post-content table[style="width:111px"]+.quote-box > blockquote > p > span[style*="text-align: center"]+br{
  display:none;
}

.punbb .post-content table[style="width:111px"]+.quote-box>blockquote {
  margin:0!important;
  background:rgba(197, 192, 192, 0.67)!important;
}
.punbb #pun-main .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box{
  color:#222222;
  box-shadow:none;
  background:rgba(197, 192, 192, 0.88)!important;
  border:0 none!important;
  border-radius:0!important;
  margin:2px auto!important;/*Отступ спойлеров друг от друга*/
  padding:0 0 3px 0!important;
}

.punbb #pun-main .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box>blockquote{
  height:AUTO; /*Высота спойлера*/
  background:none!important;
  box-shadow:none;
  overflow-y: auto;
  margin:7px -5px 3px -5px!important;
}
/*Цвет и Размер заголовков спойлеров*/
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box>div{
  border:1px solid rgba(154,36,36,.15);
  margin:0 0 -4px 0;
  text-align:center;
  text-shadow:none;
  font: normal normal 400 16px/normal "Century Gothic";
  background:#373737;
  padding: .6em;
  color:#e3e3e3;
}
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box>div.active,
.punbb .post-content table[style="width:111px"]+.quote-box .quote-box.spoiler-box>div:hover {
  background-color:#5d5d5d;
  color:#c4c4c4;
}
.akkordion span[style*="text-align: center"]+br{
  display:none;
}
/*Вертикальная Центровка и Размер шрифта в контенте спойлера*/
.punbb .post-content .akkordion tr{
  vertical-align: top;
}
.punbb .post-content .akkordion p{
 padding: 2px 9px;
 font: normal normal 400 14px/normal Verdana;
 line-height: 124%;
}

/*Цвет Ссылок в контенте спойлера*/
.punbb blockquote.akkordion a{
  color:#9A2424;
  font-weight:bold;
  transition:.34s;
}
.punbb blockquote.akkordion a:hover{
  opacity:.6;
  color:#BF2D2D;
}
/*Cтиль скрола*/
.punbb .akkordion::-webkit-scrollbar {width: 3px; height: 5px; background-color: #3b0d0d;}
.punbb .akkordion::-webkit-scrollbar-track {background-color: #3b0d0d;} 
.punbb .akkordion::-webkit-scrollbar-thumb {background-color: #3b0d0d;}
.punbb .akkordion::-webkit-scrollbar-thumb:active {background: #3b0d0d;}

/*Нижеследущий блок код*/
.punbb #pun-main .post-content table[style="width:111px"]+.quote-box+.code-box{
  background:rgba(197, 192, 192, 0.67)!important;
  padding:4px;
  border: solid #3b0d0d;
  border-width: 2px 1px!important;
  border-radius: 0!important;
  margin-top:-7px;
}
::selection {
    background: #3b0d0d;
    color: #3b0d0d;
}
/******************************************
   END//СТИЛЬ ТАБЛИЦЫ ОБЩАЯ ИНФА АККОРДИОН 
******************************************/


/******************************************************************
 
 "Всплываюшая таблица с вкладками, в топике, с инфой о персонаже"
******************************************************************/

/*Стиль иконки в мини-профиле*/
img.a-info{
  padding:2px;
  display:block!important;
  cursor:pointer;
  /*border-radius:50%;*/
  position:absolute;
  text-align:left!important;
}
/* Затемняющий фон */
#pre-wrap {
 margin:0;
 top:0;bottom:0;
 left:0;right:0;
 width:100%;
 height:100%;
 position:fixed;
 z-index:20000;
 background: rgba(0,0,0,.65);
}
/*Подвижка иконки закрытия таблички*/
.my-tabs > img.close {
 float:right;
 margin:0 -25px 0 0!important;
 width:27px;
}
/* Корневой таб(UL) */
.my-tabs{
 display:block;
 z-index:30000;
 position:absolute;
 max-height:700px;  /*максимальная высота таблички*/
}
/* Стиль "Ушка" вкладок */
.my-tabs>span{
 opacity:0.78;
 color:#626436;
 cursor:pointer;
 display:block!important;
 position:relative; z-index:12;
 padding:4px;
 height: 17px!important;
 margin-right: 2px;
 margin-left: -1px;
 margin-bottom:-4px!important;
 border: 4px solid;
 border-radius: 10px 0 0 0;
 text-align:left;
 padding-right:6px;
 text-shadow: 1px 1px 2px rgba(0,0,0,.4);
 font: italic normal 400 13px/16.5px "Comic Sans Ms";
 float:left;
}

/* Cдвиг самого первого "Уха" */
.my-tabs>span:first-child{
 margin-left: 8px;
}
/* Активное "Ушко" */
.my-tabs>span.selected{
 opacity:1;
 border-bottom-color:transparent!important;
}
/* Стиль вкладки(LI)*/
.my-tabs>.tab-a{
 width:100%;
 height:100%;
 position:relative;z-index:1;
 display:none;
 overflow-y:auto;
 overflow-x:hidden;  
 text-align:center;
 vertical-align:middle;
 border-radius: 10px;
 border:  6px solid;
 border-width:4px 7px 5px 7px;
 padding:4px 12px!important;
}
/*Отступ контента вкладки сверху*/
.tab-a .post-content{
 margin-top:1.4em;
 text-align:left;
 display:inline-block;
}
/* стиль дайсов */
.punbb input.dice-button {
    width: 35px;
    height: 36px;
    background: url(https://image.ibb.co/cd2PSq/j-EKPY6fki-N.png) no-repeat;
    border: 0!important;
    cursor: pointer;
}


