/* CS1 Background and text colours
-------------------------------------------------------------*/
/*Поднятие контента в Шапке*/
#html-header {
  position:relative;
  z-index:4;
}

/* фон */
body {
background: url(https://forumstatic.ru/files/001b/28/94/79931.jpg);
background-size: cover;
background-attachment: fixed;
background-position: top center;
background-repeat: no-repeat;}

/* шапка */
#pun-title.section {
  background: transparent url(http://forumupload.ru/uploads/001b/d8/b3/2/573866.png) top center scroll no-repeat; 
  height: 306px;
  width: 1004px;
  position: absolute;
  top: -243px;
  margin-left: -40px;
}

/* тело */
#pun {
width: 1004px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/tHlg3cd.png); 
background-attachment: scroll;}

.punbb {
padding: 0 30px!important;
width: 1004px;}


/* футер */
#pun-about p.container {
background-image : url(https://i.imgur.com/DakRWz1.png);
margin: 0px 0px -40px -45px;
background-position : center top;
background-repeat : no-repeat;
width: 1004px;
height: 126px; 
overflow-x: hidden;
margin-left: -40px;}

#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: transpanent;
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-color: #d8deba;
border-color: #5b544a;
    border: 2px solid #524925;
-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-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: #d8deba; 
background-repeat: repeat; 
    border: 2px solid #524925;
-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;
}

.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-color: #d8deba;}

/* цвет ссылок */
.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 #89844d;}

.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: #000000;
  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: #000000;
}

/* иконки форума */
.punbb table div.icon {
   float: left; 
   display: block; 
   text-align: center;
   width: 60px;
   height: 60px; 
   border-style: none; 
   background: url(https://i.imgur.com/CjCQoJ2.png) no-repeat;  
   position: relative;
}
tr.inew div.icon {
   background: url(https://i.imgur.com/cZdP7H9.png) no-repeat; 
}
tr.isticky div.icon {
   background: url(https://i.imgur.com/CjCQoJ2.png) no-repeat; 
}
tr.iclosed div.icon {
background: url(https://i.imgur.com/CjCQoJ2.png) no-repeat; 
}
tr.iredirect div.ico
background: url(https://i.imgur.com/CjCQoJ2.png) no-repeat; 
}
#pun-main table div.tclcon {
left: 560px;
}

#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: #2c3d22; width: 6px; height: 5px;}
::-webkit-scrollbar-thumb {background: #9a864b; width: 5px}
::-webkit-scrollbar-corner {background: #9a864b;}

.punbb .post-content a, 
.punbb .post-content a:link {
color:#807504;
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 #9a864b;
}

/*подарки*/
.pa-awards { 
background: transparent; 
 color: #9a864b !important;
  text-shadow: 0px 1px 1px #000000;
}

.pa-awards a {
background: transparent; 
 color: #9a864b !important;
}

/*анкета и звание*/
.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: 12px !important;
  font-family: arial;
}

.post-author ul li.pa-fld1 a {
 color: #9a864b !important;
}

/*выравнивание постов и уважения в одну строку*/
.pa-posts, .pa-respect {
display: inline-block;
font-family: Verdana;
font-size: 10px !important;
 color: #9a864b !important;
text-align: center;
text-transform: lowercase;
padding-bottom: 2px !important;
margin-top: 7px !important;
padding:0px 11px!important;
width: 55px;
height: 30px;
}

/*активность*/
.post-author ul li.pa-online, .post-author ul li.pa-author {
 color: #9a864b !important;
text-shadow: 0px 1px 1px #000000;
}

/*визит*/
.pa-last-visit {
 color: #9a864b !important;
 text-shadow: 0px 1px 1px #000000;
}

/*категории*/
#pun-index .category h2, #pun-stats h2{
font-family: Kuhlenbach, sans-serif;
font-size: 0.7em;
text-transform: uppercase;
height: 85px;
width: 954px;
margin-left: -14px;
padding: 35px 0 0px 0;
color: #9a864b !important;
text-shadow: 0px 1px 1px #000000;
position: relative;
text-align: center;
background: url(https://forumstatic.ru/files/001b/28/94/72387.png) no-repeat;
}


/*навигация*/
#pun-navlinks a {
    display: inline-block;
    font-family: Minion Pro;
    font-size: 16px;
font-style: none;
    position: relative;
    color: #2c2308;} 

#pun-ulinks a {
    display: inline-block;
    font-family: Minion Pro;
    font-size: 12px;
font-style: none;
    position: relative;
    color: #2c2308;} 

/* разделитесь постов */
#pun-viewtopic .post h3 {
    background: url("https://forumstatic.ru/files/001b/28/94/60010.png") no-repeat scroll center top;
    height: 61px;
    margin-bottom: 0px;
    margin-left: -14px;
    padding-top: 0px !important;
    width: 954px !important;
}

/* настройки быстрого ответа*/ 
#post-form h2 span { 
display:none; 
} 

/* разделитель ответа */
#post-form h2 {
    background: url("https://i.imgur.com/xnFU835.jpg") no-repeat scroll center top;
    color: #9a864b !important;
    height: 61px;
    margin-bottom: 0px;
    margin-left: -15px;
    padding-top: 0px !important;
    width: 954px !important;
}


/* текст на разделителе */
#pun-viewtopic .post h3 span {
    color: #9a864b;
    margin-top: 19px;
    margin-left: 1px;
}

/* ссылки на нем*/
.permalink {
    color: #9a864b !important;
    font-family: 'Verdana';
    font-size: 10px;
    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: #2c3d22;
color: #9a864b;
text-align: center;
font-style: normal;
 text-shadow: 1px 1px 1px #000000;
 font-size: 9.5px!important;
border-radius: 2px;
border-top: 4px solid #9a864b;
border-bottom: 4px solid #9a864b;
border-right: 1px double #9a864b;
border-left: 1px double #9a864b;
box-shadow: 0 0 3px #9a864b;
z-index: 10;
	-webkit-border-radius: 2px;
 	-moz-border-radius: 2px;
	-webkit-box-shadow: 0 0 2px #9a864b;
	-moz-box-shadow: 0 0 2px #9a864b;
}

/* всплывалки */

.tooltip:hover em i { position: absolute; display: block;
bottom: -100px; right: -20px;
border-top: 4px solid #000;
border-left: 4px solid transparent;}

/*
.tooltip:hover em i, a[title]:hover{
content: attr(title);
background-color: #d8deba; 
background-repeat: repeat; 
border: 2px solid #524925;
-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;
}
*/


/*Модальные окна*/
.pun-modal .modal-inner, adcontainer {
background-color: #d8deba !important;
}

/*ссылки в профиле*/
.fld-name a {
color: #9a864b !important;
}
