/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */

html {
    background: url(http://forumstatic.ru/files/001a/e7/ed/83044.jpg) no-repeat bottom center, #0d0d0b url(http://forumstatic.ru/files/001a/e7/ed/83337.jpg) repeat-x top center;
    min-height: 100%;
    /* min-width: 1250px!important; */
}

#pun_wrap {
}

body {
    background: #0d0d0b url(http://forumstatic.ru/files/001a/e7/ed/85922.jpg) repeat;
    margin-bottom:auto;
  }

/* Шапка */

#pun-title table {
    background: url(https://forumstatic.ru/files/001a/eb/bd/61081.png) transparent;
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 914px;
    height: 263px;
    margin-left: -20px;
    overflow-x: hidden;
    margin-top: -305px;
}

/* 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 div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {
    background-color: transpanent;
    color: #000;
    font-weight: normal;
    font-style: normal;
}

 .punbb-admin #pun-admain .adcontainer {
    background: url(http://forumstatic.ru/files/001a/e7/ed/55992.jpg) no-repeat top #b7a98f;
    color: #000;
    font-weight: normal;
    font-style: normal;
    margin-top: 1em;
    border: 1px solid #c0b097!important;
    outline: 1px solid #6658334f!important;
}

sup.new {
    color: #000!important;
}

#pun-admain .adformal, #pun-admain .adcontainer {
    border: none;
    border-color:  transparent;
}

#pun-admain .adformal p.adinfofield {
    padding: 0.5em!important;
}

#pun-admain fieldset .handle, #pun-admain fieldset p {
    background-color: #ddd3bd54!important;
    border-color: #ddd3bd54!important;
}

/* Цитата и выделить код */

.punbb .quote-box, .punbb .code-box {
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    color: #000;
    border: 1px solid #a5997d78;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #b7a98f;
    color: #000;
}

/* Тень и закругление */

.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;
}

/* Фон окна наград и репутации */

#pun-popup_awards div, #pun-reputation div {
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
}

/* CS2 Ссылки
-------------------------------------------------------------*/

.punbb-admin #pun-admain li.isactive a, .punbb-admin #pun-admain li.isactive a:link, .punbb-admin #pun-admain li.isactive a:visited, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:active, .punbb li.isactive a:hover, .punbb li.isactive a:focus {
    color: #58421d!important;
transition-duration: 1s;
}

/* 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 {
  c olor: #600000;
  color: #582424;
  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: #58421d;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #58421d;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 12px;
    font-family: verdana;
    text-transform: lowercase;
    transition-duration: 1s;
    color: #000;
}

#pun-ulinks a:hover {
  text-decoration: none;
  c olor: #600000;
  color: #582424;
    transition-duration: 1s;
}


#pun-navlinks a {
    transition-duration: 1s;
    color: #c6b89b;
    text-shadow: 1px 1px #000;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #b79d6d;
transition-duration: 1s;
}


#pun-navlinks a:hover {
color: #b79d6d;
  transition-duration: 1s;
}

/* CS3 Остальное 
-------------------------------------------------------------*/

div.icon {
        background: url(http://forumstatic.ru/files/001a/e7/ed/95424.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001a/e7/ed/88315.png) no-repeat;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
        background: url(http://forumstatic.ru/files/001a/e7/ed/66604.png) no-repeat;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
        background: url(http://forumstatic.ru/files/001a/e7/ed/98319.png) no-repeat;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
        background: url(http://forumstatic.ru/files/001a/e7/ed/95544.png) no-repeat;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
        background: url(http://forumstatic.ru/files/001a/e7/ed/22513.png) no-repeat;
}


/* CS3.2 Всё подряд*/

ul.post-ul-Sp, .post-img-Sp {text-align:center;}
#pun th, #pun-main h2 {text-align: center}
#pun-navlinks .container {text-align: center;}
.modlist {font-size: 12px;}
#pun-announcement .container {font-size: 12px; font-family: "verdana";}
#pun-stats h2 span {visibility: hidden;}

/*---Прокрутка---*/

.newws::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #0f0f0c;
}

.newws::-webkit-scrollbar-thumb {
    background-color: #625431;
}


::selection {
    background: #655735 !important;
    color: #bfb394;
}


td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: verdana;
    font-size: 12px;
    font-weight: 600;
}

.category .container thead {display: none;}

.punbb .pa-avatar img, #profile-left li div img {
    max-width: 180px !important;
    margin-bottom: 2px;
    border: 2px solid #222021;
    outline: 1px solid #665833;
    margin-top: 5px;
}

li#pa-avatar {
    color: #bfb394!important;
}


#c ounters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#c ounters 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;
    top: 43px;
    overflow-y: auto;
    padding-top: 10px;
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    border: 1px solid #a5997d78;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
    f ont-size: 12px;
    font-family: verdana;
}

/* Показать всех */

.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    position: relative;
    z -index: 120000;
    overflow: hidden;
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    border: 1px solid #a5997d78;
}

/* Заплатка для поля ответа */

textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }

.button {
    font-family: verdana;
    font-size: 12px!important;
    background-color: #1e201f !important;
    color: #c0b099 !important;
    margin-top: 5px !important;
    padding: 4px 15px 4px 15px !important;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    border: none;
}

#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    border: 1px solid #a5997d78;
    height: 70px;
}

#M yBookmarks {
    display: none;
    position: fixed;
    z -index: 101;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    border: 1px solid #a5997d78;
}

#BookmCntToggle.default-style {
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f!important;
    border-left: solid 5px currentColor;
    box-shadow: 0 0 6px rgb(0 0 0 / 42%);
    color: #582424 !important;
    display: block;
    height: 26px;
    width: 20px !important;
}

/* Отключение улучшенного аккаунта */
#pun-status .item4 {display:none;}

li.pa-ua {
    margin-top: 0.7em;
    display: none !important;
    justify-content: center;
}

#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}

#My Bookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    border: 1px solid #a5997d78;
}

.punbb .user-avatar .isonline {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 2px;
    right: 1px !important;
    animation: blinkColor .9s linear infinite;
    -moz-animation: blinkColor .9s linear infinite;
    -webkit-animation: blinkColor .9s linear infinite;
    background: #6f484e !important;
    z -index: 100;
}

#pun-index .category tr {
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    box-shadow: 0px 0px 0px 1px #a5997d78;
}

#pun-main h1, #pun-post .topic h2, #pun-mod #pun-main h2, .pun-modal h2, .punbb .main h1, #pun-debug h2 {
    padding: 4px 0 4px 0;
    margin-top: 1.5em;
    margin-left: -14px;
    margin-right: -14px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 500 !important;
    f ont-weight: normal;
    color: #c0b298;
    background: url(http://forumstatic.ru/files/001a/e7/ed/39553.jpg) top right;
    text-align: center;
    font-family: verdana;
    font-size: 12px;
}

#pun-adnav h2, #pun-admain1 h2, .punbb-admin #pun-admain h2 {
    padding: 4px 0 4px 0 !important;
    m argin-left: -14px;
    m argin-right: -14px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 500 !important;
    font-weight: normal;
    color: #c0b298 !important;
    background: url(http://forumstatic.ru/files/001a/e7/ed/39553.jpg) top right;
    text-align: center;
    font-family: verdana;
    font-size: 12px;
}

.pun-modal h2 span {
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 500 !important;
    font-weight: normal;
    color: #c0b298;
}

#all_voters figcaption {
    font-size: 12px!important;
}

#post-form h2 {
    background-image: url(https://forumstatic.ru/files/001a/eb/bd/28106.png);
    background-color: #b7a98f;
    box-shadow: 0px 0px 0px 1px #a5997d78;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    padding: 4px 0 4px 0 !IMPORTANT;
    margin: 5px -13px 10px -13px !IMPORTANT;
}

#pun-index .category table {
    border-spacing: 0px 15px;
}

.tlinks {
    height: 20px;
    width: 405px;
    top: 88px;
    margin-left: -20px !important;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    font-family: verdana;
    /* border: red 1px solid; */
    text-transform: lowercase;
    position: absolute;
    color: #beb298;
}

.tlinks a {
color: #c6b89b !important;
}

.tlinks2 {
    height: 20px;
    width: 422px;
    top: 88px;
    margin-left: 470px !important;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    font-family: verdana;
    /* border: red 1px solid; */
    text-transform: lowercase;
    position: absolute;
    color: #beb298;
}

.tlinks2 a {
color: #c6b89b !important;
}

.newws {
    height: 90px;
    width: 408px;
    top: 123px;
    margin-left: 11px !important;
    position: absolute;
    z -index: 100;
    font-weight: 400;
    padding-right: 10px;
    line-height: 15px;
    font-family: verdana;
    font-size: 12px;
    overflow-y: auto;
    color: #c6b89b !important;
    /* border: red 1px solid; */
}

.newws::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #0f0f0c;
}

.ams {
height: 20px;
    width: 408px;
    top: 149px;
    margin-left: 450px !important;
    position: absolute;
    text-align: center;
    z -index: 100;
    font-weight: 400;
    padding-right: 10px;
    line-height: 15px;
    font-family: verdana;
    font-size: 12px;
    overflow-y: auto;
    color: #c6b89b !important;
    letter-spacing: 0.8px;
    /* border: red 1px solid; */
}

.ams z {
color: #ab9568;
}

.ams zz, .newws zz {
color: #bf715e;
}

.ams a {
color: #b79b46 !important;
}

.newws z {
color: #ab9568;
}

.newws a {
color: #b79b5d !important;
}

.pa-respect, .pa-posts, .pa-fld4 {
    display: inline-block;
    text-align: center;
    wi dth: 69px;
    line-height: 13px;
    text-transform: lowercase;
    font-size: 12px;
    padding: 2px 1px 2px 1px!important;
    margin: 4px 0px 4px 0px!important;
}

.pa-respect, .pa-posts, .pa-fld4 a {
    font-weight: normal;
}

.pa-fld1 lzname {
display: block;
    font-weight: 600;
    font-size: 12px;
}

.pa-fld1 lzinfo {
text-align: justify;
    display: block;
}

.pa-fld1 {
    margin: 2px 0 5px 0 !IMPORTANT;
}

.pa-ip {
font-size: 12px;
}

.angel {
    background: url(http://forumstatic.ru/files/001a/e7/ed/76978.png) no-repeat;
    width: 27px;
    height: 27px;
}

.demon {
    background: url(http://forumstatic.ru/files/001a/e7/ed/72146.png) no-repeat;
    width: 27px;
    height: 27px;
}

.chelov {
    background: url(http://forumstatic.ru/files/001a/e7/ed/20333.png) no-repeat;
    width: 27px;
    height: 27px;
}

.glinks {
    height: 20px;
    width: 409px;
    top: 123px;
    margin-left: 450px !important;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    font-family: verdana;
    /* border: red 1px solid; */
    text-transform: lowercase;
    position: absolute;
    color: #beb298;
}

.glinks a {
display: inline-block;
    background: #675534;
    width: 197px;
    color: #b8ae9b !important;
    padding: 1px 0 2px 0 !important;
    border: 1px solid #4c3e23;
    margin: 0px 3px 0px 0px !important;
}

.needd {
    height: 35px;
    width: 406px;
    top: 183px;
    margin-left: 450px !important;
    position: absolute;
    z -index: 100;
    display: flex;
    justify-content: space-between;
    filter: grayscale(1);
    opacity: .5;
    transition-duration: 2s;
    /* border: red 1px solid; */
}

.needd:hover {
    filter: grayscale(0);
    opacity: 1;
    transition-duration: 2s;
}

#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-repeat: no-repeat;
    background-position: left;
    height: 35px;
    width: 914px;
    /* background: url(http://forumstatic.ru/files/001a/e7/ed/75535.jpg) top;*/
    background: url(https://forumstatic.ru/files/001a/eb/bd/38046.png) top;
    text-align: center;
    color: #b6aa8d;
    font-size: 12px;
    text-transform: uppercase;
    margin-left: -20px;
    letter-spacing: 0.4px;
    font-family: verdana;
}

#profile {
margin-top: 20px;
}

/* Баннеры */

.banner partn::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #0f0f0c;
}

.banner partn::-webkit-scrollbar-thumb {
    background-color: #625431;
}

.banner {
    margin: 32px 0px 0px 0px !important;
    padding-right: 5px;
    height: 59px;
    width: 907px;
    overflow: hidden;
    position: absolute;
    /* border: red 1px solid; */
    background: #0000004d;
    border: 1px solid #1d1d1b;
}

.banner partn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow-y: auto;
    height: 50px;
    margin: 5px !important;
    width: 896px;
    padding-right: 6px;
    filter: grayscale(1);
    opacity: .5;
    transition-duration: 2s;
}

.banner partn:hover {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow-y: auto;
    height: 50px;
    margin: 5px !important;
    width: 896px;
    padding-right: 6px;
    filter: grayscale(0);
    opacity: 1;
    transition-duration: 2s;
}

.authorship {
    text-align: center;
}

#pun-stats .container strong {
font-weight: 400;
}

.punbb .container ul .item2 img {
    width: 180px;
}

#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z -index: 2;
    background: #bfb194;
    border: 1px solid #a19877;
    padding-left: 20px;
    padding-right: 20px;
}

#tags .container a {
text-decoration: none;
}

.punbb .post-content .scrollbox::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #0f0f0c;
}

.punbb .post-content .scrollbox::-webkit-scrollbar-thumb {
    background-color: #625431;
}

.punbb legend span, #viewprofile h2 span, #profilenav h2 span {
    color: #000;
    text-transform: uppercase;
    background-color: #c3b598;
    padding: 0 5px;
    margin: 0 0 0 -15px;
    font-family: verdana;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
}

.punbb-admin #pun-admain legend span {
    color: #000;
    text-transform: uppercase;
    background-color: transparent;
    padding: 0 5px;
    margin: 0 0 0 -15px;
    font-family: verdana;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
}

.pa-fld2 {
    margin: 5px 5px 0 5px !IMPORTANT;
    font-size: 12px;
    /* height: 10px; */
}

.html-box {
    padding: 1em;
    background: url(http://forumstatic.ru/files/001a/e7/ed/55992.jpg) no-repeat top #b7a98f;
    margin: 1.8em 0 2em 0 !important;
    border: 1px solid #9d92765c;
    text-align: justify;
}

#viewprofile ul {
    margin: 10px 0 0 0 !IMPORTANT;
    padding: 0em 0em 0em 0em;
}

#pun-userlist .formal .container {
    background: none;
    margin: 10px 0 0 0 !IMPORTANT;
    border: none;
}

.punbb .main .formal .container {
    background: none;
    margin: 10px 0 0 0 !important;
    border: none;
}

#pun-redirect #pun-main h1 {
    background: #0d0d0b;
    box-shadow: none !important;
    border: none !important;
    margin: 0px !important;
}

.pa-fld3 {
    margin: -8px 0 0 -4px !important;
    position: absolute;
}

.scrollbox, div, spletenki, textcont {scrollbar-width: thin;
scrollbar-color: #625431 rgba(98, 84, 49,0.01);}

#pun-admain .adcontainer td {
    border-width: 0px !important;
}