/* CS0 Background and text colours
-------------------------------------------------------------*/

/* фон */
html {
background: url(http://forumstatic.ru/files/0017/a9/da/11349.png);
background-repeat: repeatxy;
background-attachment: scroll; 
background-position: top center;
background-color: #28340B;
background-size: auto;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/0017/a9/da/96223.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1054px;
    height: 322px;
    margin-left: -30px;
    margin-top: -20px;
}

/* Тело форума */
#pun {
width: 1054px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/0017/a9/da/16218.png); 
background-attachment: scroll; 
background-repeat: repeat-y; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 1054px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumstatic.ru/files/0017/a9/da/54254.png);
margin: 0px 0px -30px -30px;
background-position : center top;
background-repeat : no-repeat;
width: 1054px;
height: 136px; 
overflow-x: hidden;
padding-bottom: 10px;
}


/* -----------------------CS1 форум-----------------------*/

/* 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: #121412;
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: #121412;
text-align:center; 
font-size: 12px; 
font-style: normal; 
font-weight: bold; 
font-family: Roboto;
}

/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #e3d6c1;
    color: #121412;
    border: 4px solid #EFE4CF;
    outline: 2px solid #6F6E31;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea {
    background-color: #e3d6c1;
    color: #121412;
    border: 4px solid #EFE4CF;
    outline: 2px solid #6F6E31;
}

.punbb input {
    background-color: #EFE4CF;
border: 2px solid #A18748;
    color: #121412;
}


/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div, .pun-modal .modal-inner {
    background-color: #EFE4CF;
}

/*фон для выпадающих частей формы ответа (шрифт, размер текста, смайлики и т.д.)*/
#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
background: #E2D4AD;
padding: 5px;
border-top: 2px solid #6F6E31!important;
border-bottom: 2px solid #6F6E31!important;
border-left: 2px solid #6F6E31!important;
border-right: 2px solid #6F6E31!important;
   border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  -moz-border-radius: 2px;
  -o-border-radius: 2px;
}

/* -----------------------CS2 ссылки-----------------------*/
#pun-title, #pun-navlinks {
  border-color: transparent;
}

/* CS3.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border-color:  transparent;
  }

/* CS3.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* CS3.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;
  }

/* CS3.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;
  }

/* CS3.5 */
.punbb th {
  border-color: transparent;
  }

/* CS3.6 */
#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;
  }

.punbb .divider {
  border-color: transparent;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;
  }

li.pa-online {
  border-left-color: transparent;
  }

/*ссылки на форуме*/
.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 {
  color: #6F6E31;
  border-bottom: 0px none #;
  text-decoration: none;
  font-weight: none;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #A18748;
  }

/*ссылки при наведении */
.punbb a:hover, .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 {
  color: #A18748;
  border-bottom: 0px none #000;
  text-decoration: none;
    text-shadow: #EFE4CF 1px 1px 1px;
  }

/*меню форума*/
#pun-navlinks a, #pun-ulinks a {
color: #6F6E31;
font-weight: bold;
}

/*меню форума при наведении*/
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
color: #e2d4ad;
    text-shadow: transparent 0px 0px 0px!important;
}

/* оформление наименований форумов, ссылки */
#pun-index .tcl h3 a:hover {
    text-shadow: transparent 0px 0px 0px!important;
}

/*оформление поля постов*/
#pun-main .post-body {
    border: 4px solid #CDB184;
    font-size: 12px;
    background-color:#EFE4CF;
}


/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumstatic.ru/files/0017/a9/da/86658.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/0017/a9/da/46800.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/0017/a9/da/64937.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/0017/a9/da/15271.png) no-repeat;
}

/* -----------------------CS4 другое-----------------------*/
/*выравнивание текста на форуме*/
#pun-main .post-content {text-align: justify !important;}

/*стиль кликабельных картинок и не только*/
#grey a img {-webkit-filter: grey(25%);
filter: grey(25%);
opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50);}
#grey a:hover img {
-webkit-filter: sepia(0%);
filter: sepia(0%);
opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);}

.lastedit {text-align: right; color: transparent; font-size: 0px;}

#icons a img {
opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=30);
}

#icons a:hover img {
opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);
}


/* -----------------------профиль-----------------------*/
/*тело профиля*/
.punbb .post .post-author  {
text-align: center;
    border: 4px solid #CDB184;
    background-color:#EFE4CF;
    //background: url(http://forumstatic.ru/files/0017/a9/da/81970.png) 0 0 repeat-y;
    overflow: visible!important;
    margin: 0px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
    //background: url(http://forumstatic.ru/files/0017/a9/da/76936.png) 0 top no-repeat, url(http://forumstatic.ru/files/0017/a9/da/20362.png) 0 bottom no-repeat;
    margin: 0px 0px -10px 0px!important;
    padding: 1px 10px 35px 10px!important;
}


 /*аватар*/
li.pa-avatar  {
z-index: 5; margin-left: 0px!important; 
margin-top: 10px; 
margin-bottom: 5px;     
padding-bottom: 5px !important;    
}

 /*рамка аватара*/
.pa-avatar.item2 > img {
    border: 10px solid #6F6E31;
    outline: 2px solid #CDB184;
}

/*ник*/
.pa-author a, .pa-author { 
  color: #CDB184!important;
  font-family: Bad Script!important;
  text-shadow: #28340B 1px 1px 1px;
text-align:center; 
text-transform: none;
font-size: 18px;
}

.pa-author { 
    background-color: #6F6E31;
    border: 6px solid #6F6E31;
    outline: 2px solid #CDB184;
}

.pa-author a:hover{   
   color: #6F6E31!important;
   font-family: Bad Script!important;
   text-shadow: #CDB184 1px 1px 1px;
}


/*подпись*/
.post-sig img {
  width:auto;
  height:auto;
  max-width:250px;
  max-height:140px;
}

/*профиль на странице профиля*/
/*тело профиля*/
td#profile-left  {
text-align: center;
    font-family: Bellota;
    font-size: 12px;
    background-color: #6F6E31;
    border: 4px solid #e3d6c1;
    outline: 2px solid #e3d6c1;
    color: #e3d6c1!important;
}

td#profile-left  a{
text-align: center;
    font-family: Bellota;
    font-size: 12px;
    color: #28340B!important;
}

#profile-name strong { 
font-family: Bad Script!important;
text-align:center; 
text-transform: none;
font-size: 18px!important;
}

 /*рамка аватара на странице профиля*/
#viewprofile li div > img {
    border: 4px solid #6F6E31;
    outline: 2px solid #e3d6c1;
}

#viewprofile ul {
    border: 4px solid #CDB184;
    background-color: #EFE4CF;
}

#profile-signature ul {
    background-color: #EFE4CF;
    box-shadow: 2px 2px 3px 1px transparent;
    color: #6F6E31!important;
}


/* -----------------------страница переадрессации-----------------------*/
#pun-redirect h1 span {
font-size: 0px;
color: #141412;
  font-family: Roboto!important;
}

/*redirect*/
#pun-redirect, #pun-maint { 
 height: 239px;
 line-height: 15px;
 background-image: url("http://forumstatic.ru/files/0017/a9/da/27477.png");
 background-repeat: no-repeat;
 background-attachment: scroll;
 background-position: center; 
 text-align:center; 
 font-size: 12px !important;
 font-family: Roboto!important;
 width: 400px; 
 padding: 105px;
  }

#pun-redirect .main-title {
  margin-bottom: 85px!important;
  }

/*оформление форумов на главной*/
.podf {
    font-size: 11px;
    font-family: Roboto!important;
    color: #121412;
    line-height: 13px;
    background-color: #EFE4CF;
    text-align:center; 
  padding: 7px 20px 22px 20px; /*Отступ текста описания от краёв*/
  margin: -3px 1px 2px 1px!important;  /*отступы*/
  padding-bottom:5px; /*Отступ описания от нижнего края */
}


.linkpod {
    text-align: center;
    text-transform: none;
    font-size: 11px;
    letter-spacing: 0.5px;
    left: -3px;
    margin-top: 5px!important;
}

.punbb select, .punbb optgroup {
    background-color: #EFE4CF;
}



/*оформление тем и сообщений под форумами*/
.category td.tcl .tclcon {
    padding: 2px 2px 2px 2px;
    color: #EFE4CF;
    background-color: #A18748;
}

/*важные темы и вот это все на странице с темами*/
.punbb td.info_header {
    border-bottom: 2px solid #A18748!important;
    background-color: #e2d4ad;
    font-family: Bellota;
    font-size: 12px;
   font-weight: bold;
    color: #28340B;
}

/*иконки для двух кнопок*/
#form-buttons td#button-files_rusff {background-image: url(http://forumstatic.ru/files/0017/a9/da/46834.png)!important;}
#form-buttons td#button-graffiti_rusff {background-image: url(http://forumstatic.ru/files/0017/a9/da/20335.png)!important;}


.punbb .section h2,  #pun-main h1, #pun-main h2, #pun-stats h2 {
border-bottom: 3px solid #A18748!important;
background-color: #e2d4ad;
    color: #28340B;
   text-shadow: #EFE4CF 2px 1px 1px;
}


element.style {
}
div.post-rating a, div.post-vote a {
border-bottom: 3px solid #CDB184!important;
}