/* Основной фон */
body {
    background-color: #caa362;
}

#pun {
    background-color: #e7e7e7;
}

/* шапка */
#pun-title.section {
    background : transparent url('http://forumstatic.ru/files/0015/8d/a5/74852.png') top center scroll no-repeat;
    height     : 385px;
    width      : 980px;
    margin-top : 0px;
    margin-left: -45px;
}

/* футер */
div#pun_wrap {
    background : transparent url('http://forumstatic.ru/files/0015/8d/a5/15616.png') bottom center scroll no-repeat;
    overflow: hidden;
    margin-bottom: -90px !important;
}

/* переадресация */
#pun-redirect {
    background: #caa362;
    position  : fixed;
    text-align: center;
    font-size : 11px;
}

#pun-redirect h1 {
    width : 450px;
    margin: 50px auto auto;
}

#pun-redirect h1 span{
    display: block;
    background: none !important;
    font-size : 12px;
    text-align: center;
    height: max-content;
    padding-top: 5px !important;
   
}

#pun-redirect div.info {
    width     : 450px;
    margin    : -10px auto auto;
    text-align: center;
    padding   : 10px;
    background: #e7e7e7 !important;
    outline   : solid 1px #dee2e5;
}

/* категории */
h2,
h1 {
    background: url(http://forumstatic.ru/files/0015/8d/a5/39325.png) no-repeat center right;
}

/* форумы */
.punbb .main .tcl .intd {
    font-family: 'Gardens';
    font-size  : 11.5px;
    color      : #0d1413;

}

/* Иконки */
Div.icon {
    background-image : url(http://forumstatic.ru/files/0015/8d/a5/26769.png);
    background-repeat: no-repeat;
}

TR.inew Div.icon {
    background-image : url(http://forumstatic.ru/files/0015/8d/a5/55008.png);
    background-repeat: no-repeat;
}


/* Профиль */
.punbb .post .post-author, #profile-left {
    width           : 208px;
    margin          : -22px 0 0;
    background-color: #efefef;
    outline         : 1px dashed #caa362;
    outline-offset  : -5px;
    color           : #535457;
    padding-bottom: 10px;
}

.punbb .post-author ul{
    text-align: center;
} 

#profile-left #profile-name {
    padding-top: 5px;
    text-align: center;
}

.punbb .post-author li.pa-author {
    margin-top: 12px;
    text-align: center;
}

.punbb .pa-avatar, #profile-left #pa-avatar {
    padding: 5px 0 4px;
}


/* Кнопка в профиле */

#pa-edit {
    text-align:center;
}

#pa-edit a {
    display: block;
    width: 170px;
    margin: 2px auto !important;
    padding: 9px 0px;
    background-color: #e7e7e7;
    outline         : 1px dashed #caa362;
    outline-offset  : -5px;
    color           : #535457;
}
    
#pa-edit a:hover {
    background-color: #d9d9d9;
    outline         : 1px dashed #caa362;
    outline-offset  : -5px;
    color           : #535457;
}


/* Регулировка размера шрифта в постах */
.FNTslider {
    position: relative;
    z-index:1000;
    width: 80px;
    height: 5px;
    margin: 2px 10px !important;
    float: right;
    background: #e7e7e7;
}
.FNTslider .before {
    height: 5px;
    position: absolute;
    background: #caa362;
}
.FNTslider .thumb {
    width: 5px;
    height: 11px;
    position: relative;
    top: -3px;
    cursor: pointer;
    background: #1a2423;
    margin: 0;
}

/* Значок для отступов в форме ответа */
#button-indent {
background:url(http://s7.uploads.ru/t/mnkgq.png) no-repeat center 6px!important;
}


/* advertisement */

.add {
    position: absolute;
    top: 230px;
    vertical-align: middle;
}

.add label {
    display: block;
    padding-bottom: 3px;
    font-size: 11px;
    color: #afafaf;
    text-shadow: 1px 1px white;
    font-style: normal;
}

.add .news-dis {
    display: inline-block;
    width: 30%;
    height: 115px;
    background-color: #efefef;
    outline: 1px dashed #caa362;
    outline-offset: -5px;
    padding: 10px;
}

.add .news, .add .win, .add .cite {
    overflow-y: auto;
    height: 87.5%;
    font-size: 11px;
    color: #1f2927;
}

.add .win-dis  {
    display: inline-block;
    position: absolute;
    width: 30%;
    height: 115px;
    margin-left: 310px;
    background-color: #efefef;
    outline: 1px dashed #caa362;
    outline-offset: -5px;
    padding: 10px;
}

.add .top {
    display: inline-block;
    position: absolute;
    margin: 20px 0px 0 215px;
    text-align: center;
}

.add .links {
    display: inline-block;
    overflow: auto;
    position: absolute;
    width: 25%;
    text-align: center;
    margin: 50px 0px 0px 0px;
}

.add .ams {
    display: inline-block;
    position: absolute;
    width: 25%;
    text-align: center;
    margin: 5px 0px 0 0px
}


.tooltip {
border: none; 
font-size: 9pt;
text-decoration: none;
position: relative;
}

.tooltip span {
margin-left: -999em;
position: absolute;}

.tooltip:hover span {
font-family:verdana;
position: absolute;
left: -55px;
top: 20px; 
z-index: 99;
margin-left: 0;}

.tooltip:hover img {
left: 1em; 
top: 2em; 
z-index: 99;
margin-left: 0;
}

.tip {
    z-index: 200;
    position: absolute;
    color: #1a1613;
    font-size: 10px;
    font-weight: 300;
    text-align: justify;
    background-color: #efefef;
    outline: 1px dashed #caa362;
    outline-offset: -5px;
    padding: 10px;
    width: 250px;
}

.tip label {
    text-align: center;
    font-weight: bold;
}

.add a img {
-webkit-filter: grayscale(100%);}

.add a:hover img {
-webkit-filter: grayscale(1%);}


.add .cite-dis {
    display: inline-block;
    position: absolute;
    width: 275px;
    height: 35px;
    margin: 80px 0 0px 10px;
    background-color: #efefef;
    outline: 1px dashed #caa362;
    outline-offset: -5px;
    padding: 10px 5px 10px 0px;
}
.add .cite:before,
.add .cite:after {
    position: absolute;
    color: #cccccc;
    text-shadow: 1px 1px white;
    font-size: 40px;
    font-family: Times, sans-serif;
}
.add .cite:before {
    content: '“';
    left: -4px;
    top: -14px;
}
.add .cite:after {
    content: '”';
    right: -5px;
    bottom: -29px;
}

.add .cite-dis label {
    position: absolute;
    width: 93%;
    text-align: center;
    margin: -4px 0px 0px 0px;
}

.cite {
    text-align: center;
    padding: 20px 0 0 10px;
}

/* Прокрутка */
::-webkit-scrollbar {
    width: 5px; 
    height: 2px; 
    background-color: #e7e7e7;
    }  
  ::-webkit-scrollbar-thumb {
    background-color: #ababab;
  }

/* Стрелки */
.go-up, .go-down {
    cursor: pointer;
    display: none;
    margin-bottom: 160px;
    position: fixed;
    z-index: 9999;
    font-family: Verdana, sans-serif;
    font-size: 30px;
    opacity: 0.7;
}
.go-up {
    padding: 8px 11px 9px;
    bottom: 24%;
    margin-left: 922px !important;
}
.go-down {
    padding: 9px 11px 30px;
    bottom: 16%;
    margin-left: 922px !important;
}
.go-down:hover, .go-up:hover { opacity:1; }


/* Счетчик символов */
small#plng {
    display: block;
    position: absolute;
    margin: 4px 0px 0px -268px;
    padding: 6px;
}

/* Ссылки в описаниях форумов */
table .tcl .nav {
    text-align: center;
    width: max-content;
    max-width: 100%;
    background-color: #e7e7e7;
    outline: 1px dashed #caa362;
    outline-offset: -5px;
    padding: 8px;
    color: #a0a0a0;
    text-shadow: 2px 1px white;
    font-size: 8px;
}

table .tcl .nav a {
    font-variant: small-caps;
    letter-spacing: 1px;
    font-size: 10px;
}

/* закладки */
#MyBookmarks {
    max-width: 285px !important;
    max-height: 300px !important;
    margin-top: 5% !important;
    background-color: #d6d6d6 !important;
    left: 0 !important;
    right: auto !important;
}

#MyBookmarks #bm2 {
    top: 35px !important;
    right: 5px !important;
}

#MyBookmarks h2 {
    padding: 0 !important;
    margin-top: 2px !important;
}

#MyBookmarks h2 span {
    background-color: #d6d6d6 !important;
}

/* окошки репутации и т.п. */
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
    width: 50% !important;
    background-color: #e7e7e7 !important;
}


/* количество непрочитанных тем у иконки */
.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    background-color: #000 !important;
}

/* баннеры в футере */
.footer {
    position: absolute;
    margin-top: 13px !important;
}

.footer img {-webkit-filter: grayscale(95%);}
.footer img:hover {-webkit-filter: grayscale(1%);}