/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
body {background-image : url("https://funkyimg.com/i/39Mkj.jpg");
background-repeat: repeat; background-attachment: fixed ;
background-position : top center; background-color: #000000;}


/* шапка */
#pun-title.section {
  background: transparent url(https://forumstatic.ru/files/001b/03/2c/74901.png) top center scroll no-repeat; 
  height: 351px;
  width: 980px; 
  margin-top: 0px;
  margin-left: -50px;}

/* тело */
#pun {
width: 980px; 
background-color: transparent; 
background-image: url(https://forumstatic.ru/files/0018/b6/59/44988.png); 
background-attachment: scroll;}

.punbb {
padding: 0 30px!important;
width: 980px;}

/* футер */
#pun-about p.container {
background-image : url(https://forumstatic.ru/files/001b/03/2c/70575.png);
margin: 0px 0px -40px -45px;
background-position : center top 10px;
background-repeat : no-repeat;
width: 980px;
height: 96px; 
overflow-x: hidden;
margin-left: -50px;}

#html-footer {
  margin: 0px;
  text-align: center; }

/* фон и цвет текста на форуме */
.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: transparent;
color: #000000;
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: #28230b;
text-align:center; 
font-size: 15px; 
font-style: normal;  font-family: "cambria";}

/*цвет текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("https://funkyimg.com/i/39MiD.png");
border-color: #5b544a;
border-style: solid;
border-width: 1px;
color: #000000;}

/* тень на форуме и закругление */
.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; 
box-shadow: 0px 1px 1px;
    border-radius: 0px;}

/* цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
background-color: #000000; 
background-image: url(https://funkyimg.com/i/39MiD.png); 
background-repeat: repeat; 
border-radius: 6px;
-moz-box-shadow: inset 0px 0px 5px 1px #0000000;
-webkit-box-shadow: inset 0px 0px 1px 3px #000000;
box-shadow: inset 0px 0px 5px #000000;
border: 4px;
}

.punbb input { border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 0px 0px 0px;}

/* фон окна наград и репутации в нем */
#pun-popup_awards div, #pun-reputation div {
background-image: url("https://funkyimg.com/i/2YM1Y.jpg");
background-color: #bbbcbb;}

/* CS2 Форум
-------------------------------------------------------------*/

/* CS2.1 */
.punbb a:visited, .punbb a, .punbb a:link,
.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: #000000;
  text-decoration: none;
text-shadow: 0px 0px 1px #;
border-bottom: 0px none #000000;}

/* 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-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #000000;
  text-decoration: none;
 text-shadow: 0px 0px 1px #848280;}

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #5d5d5d
  text-decoration: none;
  text-shadow: 1px 1px 0px 1gba(43, 24, 0, 0.7);}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #5d5d5d;
}

/* CS3 Прочие коды
-------------------------------------------------------------*/

/* CS3.1 иконки форума */
.punbb table div.icon {
   float: left; 
   display: block; 
   text-align: center;
   width: 25px;
   height: 20px; 
   border-style: none; 
   background: url(https://forumstatic.ru/files/0018/b6/59/59418.gif) no-repeat;  
   position: relative;
}
tr.inew div.icon {
   background: url(https://forumstatic.ru/files/0018/b6/59/81844.gif) no-repeat; 
}
tr.isticky div.icon {
   background: url(https://forumstatic.ru/files/0018/b6/59/49784.gif) no-repeat; 
}
tr.iclosed div.icon {
background: url(https://forumstatic.ru/files/0018/b6/59/93137.gif) no-repeat; 
}
tr.iredirect div.ico
background: url(https://forumstatic.ru/files/0018/b6/59/49784.gif) no-repeat; 
}
#pun-main table div.tclcon {
padding-left: 30px;
}

/* иконки на главной*/
#pun-main .category Div.icon {float: left; display:block; border-style:none;
height:50px; width:50px;
margin: -3px 8px auto -5px;
background-repeat: no-repeat;
background: url(https://forumstatic.ru/files/0018/b6/59/89222.gif) transparent;
background-position: -51px 0% !important;
   }
#pun-main .category TR.inew Div.icon 
{ background-position: -107px 0px !important; 
}

#pun-index .category h2, #pun-stats h2 {
height: 65px;
width: 968px;
margin-left: -44px;
padding: 18px 0 0px 0;
color: #5d5d5d;
font-family: Playfair Display;
text-align: center;
font-size: 15px !important;
text-shadow: 1px 1px 1px #000000;
background: url(https://forumstatic.ru/files/0018/b6/59/86235.png) 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: "georgia";}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}

/* прокрутка */
::-webkit-scrollbar {background: #161516; width: 6px; height: 5px;}
::-webkit-scrollbar-thumb {background: #5d5d5d; width: 8px}
::-webkit-scrollbar-corner {background: #5d5d5d;}

.punbb .post-content a, 
.punbb .post-content a:link {
color:#161516;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#000000;
}

#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;
    top: 43px;
    background-color: rgba(218, 219, 205, 0.76);
    border: 1px solid #211f1f;
}

/*иконка в статистику*/
#pun-stats ul.container {
        background: transparent url() no-repeat 20px 30px;
        padding-left: 3px;
}

/*обрамление аватара рамкой*/
.punbb .pa-avatar img {
max-width: 180px; 
max-height: 180px;
    margin: 5px 0 4px 0;
border: 1px solid #3a3939;
}

/*подарки*/
.pa-awards { 
background: transparent; 
  color: #5b4723 !important;
  text-shadow: 0px 1px 1px #000000;
}

.pa-awards a {
background: transparent; 
  color: #5b4723 !important;
}

/*анкета и звание*/
.pa-fld1 .fld-name {display: none;}
.post-author ul li.pa-fld1 {
  text-align: center;
  width: 187px;
margin: 0.1em auto 0.8em auto !important;
    text-shadow: 1px 1px 1px #000000;
  font-size: 13px !important;
  font-family: arial;
}

.post-author ul li.pa-fld1 a {
    color: #5d5d5d !important;
}

/*выравнивание постов и уважения в одну строку*/
.pa-posts, .pa-respect {
    color: #5d5d5d !important;
    text-shadow: 0px 1px 1px #000000;
    text-align: center;
    display: inline-block;
    width: 70px;
    font-family: Playfair Display;
    padding: 3px 3px 3px 7px !important;
    font-weight: bold;
    margin-top: 3px
    margin-bottom: 5px !important;
    letter-spacing: 1px;
    margin-left: 6px;
    text-transform: uppercase;
    font-size: 9px;
    font-family: arial;
}

li.pa-posts a {color: #5d5d5d !important;
}

/* плашка */
.pa-fld2 .fld-name {display: none;}
.pa-fld2 {
padding-bottom:3px;
}

/* посты */
.pa-fld3 {
display: inline-block;
margin: 4px 10px 0px 0px!important;
text-align: center;
width: 65px;
font-family: Verdana;
font-size: 11px !important;
color: #5d5d5d;
}

/* принадлежность */
.pa-fld4 .fld-name {display: none;}
.pa-fld4 {
padding-bottom:3px;
color: #5d5d5d;
}

li.pa-fld4 a {color: #5d5d5d !important;}

/*активность*/
.post-author ul li.pa-online, .post-author ul li.pa-author {
color: #5d5d5d !important;
text-shadow: 0px 1px 1px #000000;
}

/*визит*/
.pa-last-visit {
 color: #5d5d5d !important;
 text-shadow: 0px 1px 1px #000000;
}

/*навигация*/
#pun-navlinks a {
    display: inline-block;
    font-family: Playfair Display;
    font-size: 12px;
    text-shadow: 1px 1px 1px #000000;
    position: relative;
    color: #5d5d5d;} 

#pun-ulinks a {
    display: inline-block;
    font-family: Playfair Display;
    padding: 0px 3px;
    font-size: 11px;
    position: relative;
    color: #5d5d5d;} 

/* Разделитесь постов */
#pun-viewtopic .post h3 {
    background: url("https://forumstatic.ru/files/001b/03/2c/97430.jpg") no-repeat scroll center top;
    color: #5d5d5d !important;
    height: 49px;
    margin-bottom: 0px;
    margin-left: -45px;
    padding-top: 0px !important;
    width: 968px !important;
}

/* Настройки быстрого ответа*/ 
#post-form h2 span { 
display:none; 
} 

#post-form h2 {
    background: url("https://forumstatic.ru/files/001b/03/2c/97430.jpg") no-repeat scroll center top;
    color: #5d5d5d !important;
    height: 32px;
    margin-bottom: 0px;
    margin-left: -45px;
    padding-top: 0px !important;
    width: 968px !important;
}


/* Текст на разделителе */
#pun-viewtopic .post h3 span {
    color: #5d5d5d;
  text-shadow: 1px 1px 1px #000000; 
    margin-top: 11px;
    margin-left: 240px;
}

/* Ссылки на нем*/
.permalink {
    color: #5d5d5d !important;
    font-family: 'Verdana';
    font-size: 11px;
    text-transform: lowercase;
    font-weight: bold;}

/* амс таблички */
.tooltip { position: relative; }
.tooltip em { display: none; }
/* внутри */
.tooltip:hover em { position: absolute;
display: block;
padding: 4px 4px;
bottom: 15px;
right: -80px;
background: #161516;
color: #5d5d5d;
text-align: center;
font-style: normal;
 text-shadow: 1px 1px 1px #000000;
 font-size: 9.5px!important;
border-radius: 2px;
border-top: 4px solid #2e2f2e;
border-bottom: 4px solid #2e2f2e;
border-right: 1px double #2e2f2e;
border-left: 1px double #2e2f2e;
box-shadow: 0 0 3px #2e2f2e;
z-index: 10;
	-webkit-border-radius: 2px;
 	-moz-border-radius: 2px;
	-webkit-box-shadow: 0 0 2px #2e2f2e;
	-moz-box-shadow: 0 0 2px #2e2f2e;
}

/* всплывалки */
.tooltip:hover em i { position: absolute; display: block;
bottom: -100px; right: -20px;
border-top: 4px solid #000;
border-left: 4px solid transparent;}

/* КОД ССЫЛОК НАВИГАЦИИ ОТ ВЕЩЕГО ДУХА */
/* настройка кнопки, может быть текстом */
.spirit-navigation {
background: url(https://forumstatic.ru/files/0018/b6/59/35280.png) no-repeat;
height:23px;
width: 130px;
top: 195px;
left: 100px;
display:inline-block;
cursor: pointer; 
font-size: 0px;
color: transparent;
position: absolute;
transition: all 0.3s ease-in-out 0s;
    }

/* вид кнопки после клика по ней */
.spirit-navigation.spirit-navigation_hover{
background: url(https://forumstatic.ru/files/0018/b6/59/35280.png) no-repeat
}

/* настройка позиции выпадающего по клику окна и его ширина */
#navigblock {width: 200px;
left: 90px;
position: absolute;
top: 225px;
z-index: 999;
}

/* настройка блока ссылок, цвет фона, тени, прозрачность, отступы */
.sslka {display: block;
opacity: .95;
padding: 5px;
background: #161516;
box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset, 1px 2px 2px 1px rgba(0,0,0,.4);
border-radius: 2px;
}

/* настройка вида самой ссылки, ширина, цвет, фон, шрифты и так далее */
#pun .sslka a {
background: #2e2f2e;
white-space: nowrap;
margin: 5px auto;
border-radius: 2px;
text-align: center;
transition: all 0.3s linear 0s;
display: block;
padding: 4px;
letter-spacing: 1px;
text-transform: uppercase;
width: 175px;
color: #8f8f8f;
text-shadow: 1px 1px 1px #000000;
font-family: Playfair Display;
font-size: 11px;
box-shadow: 0 0 1px 1px #111 inset, 0 2px 7px 2px rgba(255,255,255,.04) inset
}

/* ссылка при наведении */
#pun .sslka a:hover {
background-color:#2e2f2e !important;
opacity: .9;
transform: scale(.8);
color: #8f8f8f;
}

#p1 .post-author, #p1 h3 
{display: none}

#p1 .post-body, #p1 .post-box {
margin: -8px 0 0px 0 !important;} 

.punbb .fonpost a{
color: #D1AC00;
text-shadow: #000000 1px 1px 0px;
transition:.6s;
}
.punbb .fonpost a:hover{
color: #5D5D5D;
}