am/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("http://forumstatic.ru/files/001a/7b/d5/87574.jpg") repeat-x top left,
  url("http://forumstatic.ru/files/001a/7b/d5/75342.jpg") center; background-color : #252525;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/85575.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1200px;
    height: 385px;
    margin-left: -138px;
}

/* Тело форума */
#pun {
width: 974px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001a/7b/d5/76776.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 974px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/36911.jpg);
    margin: 0px 0px -20px -25px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 974px;
    height: 135px;
    overflow-x: hidden;
}

/* 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: #252525;
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: #252525;
    text-align: center;
    font-style: normal;
    font-family: Roboto;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/20149.jpg);
    background-color: #b7b4ad;
    color: #252525;
    border: 1px solid #a7a4a1d4;
    box-shadow: 0px 3px #a07d38 inset;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/20149.jpg);
    background-color: #b7b4ad;
    color: #252525;
}

/* Тень и закругление */
.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(http://forumstatic.ru/files/001a/7b/d5/20149.jpg);
    background-color: #b7b4ad;
}




/* 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: #151515;
  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: #967c3f;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #967c3f;
  transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 11px;
    color: #121212;
    text-transform: lowercase;
    font-family: roboto;
    word-spacing: 0px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #967c3f;
  transition-duration: 1s;
}


#pun-navlinks a {
    color: #1f1f1f;
  transition-duration: 1s;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #967c3f;
  transition-duration: 1s;
}


#pun-navlinks a:hover {
  color: #967c3f;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumstatic.ru/files/001a/7b/d5/30136.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001a/7b/d5/81680.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/001a/7b/d5/18476.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/001a/7b/d5/55417.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-thumb:vertical {
   background-color:#967c3f; 
   border: 1px solid #9e8342;
}
::-webkit-scrollbar-thumb:horizontal {
   background-color:#967c3f; 
   border: 1px solid #9e8342;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #272727;
}



::selection {
    background: #272727 !important;
    color: #c0bdb5;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: roboto;
    font-size: 12px;
    font-weight: bold;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    border: 2px solid #a7a7a7;
    margin-top: 4px;
    margin-bottom: 5px;
}



#pun-viewtopic .post h3 {
    margin: 0 -10px;
    height: 15px;
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/58548.jpg);
    border-radius: 1px;
    background-color: #1e1e1e;
    text-transform: uppercase;
    font-family: roboto;
    font-size: 9px;
}


#pun-viewtopic .post h3 a {
color: #c5c0b9 !important;
}


#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-image: url(http://forumstatic.ru/files/001a/7b/d5/20149.jpg);
    background-color: #b7b4ad;
    border: 2px solid #967c3f;
}



#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;}





#pun-index div.category h2, #pun-index #pun-stats h2 {
    box-sizing: border-box;
    text-align: center;
    font-size: 13px;
    position: relative;
    height: 22px !important;
    z-index: 5;
    border-top: 2px solid #a07d38;
    padding-top: 2px;
    font-weight: 600;
    margin: 10px 0 10px 0 !important;
    letter-spacing: 0.5px;
    padding-bottom: 3px;
    background-color: #84807c1f;
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-position: top center;
}




.punbb h1 span:after, .punbb h2 span:after, .punbb legend span:after {
    content: " —";
}


.punbb h1 span:before, .punbb h2 span:before, .punbb legend span:before {
    content: "— ";
}




.links1 {
    color: #181818 !important;
    font-family: oranienbaum;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}



.links1:hover {
    color: #967833 !important;
    font-family: oranienbaum;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}







.pa-fld2 {
margin: 8px 0 0 0 !important;
}


.punbb .post .linklz {
    color: #c3beb7 !important;
    font-family: oranienbaum;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.6px;
}


.pa-fld1 {
    color: #1a1819;
    margin-top: 5px !important;
    line-height: 13px;
}



.lz {
    margin-top: 4px !important;
    border: 1px solid #a07d3838;
    color: #c5c0b9;
    background-color: #1515155e;
    padding: 4px;
}



.shprin {
    width: 500px;
    border: 5px solid #b79443;
    padding: 10px;
}



.shprinn {
    text-align: justify;
    margin-top: 5px !important;
    padding: 5px 20px 5px 5px;
}



.shprin a {
    color: #232122 !important;
    font-family: oranienbaum;
    text-transform: uppercase;
    font-weight: bold;
}



.punbb .post-content a, 
.punbb .post-content a:link {
color:#8a6d30;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
font-weight: bold;
}


.podflink {
    background-color: #111111;
    color: #fff;
    margin: 4px 0 3px 0 !IMPORTANT;
    padding: 1px 2px 2px 2px;
    font-family: roboto;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/75342.jpg);
    text-align: center;
    font-size: 9px;
    box-shadow: 0 0 4px #00000061 inset;
    border: 1px solid #a09d97;
    border-radius: 1px;
}



.podflink a {
    color: #dcd8d3 !important;
    transition-duration: 2s;
}

.podflink a:hover {
    color: #cab284 !important;
    transition-duration: 2s;
}



.punbb .post .post-author a {
    color: #ab8b4b;
}



.ams {
color: #dcd9d4 !important;
    font-family: roboto;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.8px;
    transition-duration: 2s;
}



.ams:hover {
    color: #b58e42 !important;
    font-family: roboto;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.8px;
    transition-duration: 2s;
}



.linkss {
    color: #d8d3cc !important;
    font-family: roboto;
    margin: 0 6px 0 0 !important;
}


.linkss:hover {
    color: #bd9952 !important;
    font-family: roboto;
    margin: 0 6px 0 0 !important;
}


.bpost name {
    color: #715214 !important;
}


#banners {
    position: absolute;
    margin-top: -50px !important;
    margin-left: -13px !important;
    width: 940px;
    height: 60px;
    /* border: red 1px solid; */
    text-align: center;
    color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 245px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }



.byuser {
    color: #745c2d !important;
    font-weight: 600;
}



.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;
    background-image: url(http://forumstatic.ru/files/001a/7b/d5/20149.jpg);
    background-color: #b7b4ad;
    overflow: hidden;
}