/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {background-image : url("http://forumstatic.ru/files/0002/84/34/18377.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #73584c;
}
/* Тело форума */
#pun {
width: 900px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/0002/84/34/63259.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 50 50px!important;
width: 880px;}

/* Категории и статистика */
#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(http://forumstatic.ru/files/0002/84/34/99965.png);
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    text-align: center;
    font-size: 14px !important;
    font-family: 'Old Standard TT', serif;
    text-transform: uppercase;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    text-shadow: 1px 1px #ffffff54;
    height: 32px;
    width: 880px;
}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/0002/84/34/24810.png);
    margin: 0px 0px -30px -22px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 900px;
    height: 100px;
    overflow-x: auto;
}

/* CS1.1 Фон и цвет текста на форуме */
.punbb .section .container, .punbb .post-body, .punbb .post-links, 
#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: #291d1a;
font-weight: normal;
font-style: normal;
}

.punbb td.tc2, .punbb td.tc3 {
background-color: #c49776; /* цвет фона */
color: #fff; /* цвет текста */
opacity: 0.3; /* прозрачность */
}
.punbb td.tcl { /* для ячейки с названием и описанием */
background-color:  #b89984;
color: #fff;
}
.punbb td.tcr { /* для ячейки с последним сообщением */
background-color: #b89984;
color: #fff;
}
#pun-index thead {display: none;}


/* CS1.2 */
.punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #291d1a;
  }


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
  }

/* CS2.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;
  }

/* CS2.5 */
.punbb th {
  border-color: transparent;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: transparent;
  }

#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: transparent;
  }

li.pa-online {
  border-left-color: transparent;
  }

.punbb .post-sig dt {
  border-top-color: transparent;
  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.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 {
  color: #6A5241;
  font-weight: bold;
  border-bottom: 0px none #000;
  text-decoration: none;

  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #291d1a
  }

/* CS3.2 */
.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: #84b6ba;
    border-bottom: 0px none #000;
  text-decoration: underline;

  }

/* CS3.3 */
#pun-navlinks a {
  color: #6A5241;
  font-weight: bold;
  border-bottom: 0px none #000;
  text-decoration: none;

  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #c49776;
  font-weight: bold;
font-style: normal;
  border-bottom: 0px none #000;
  text-decoration: underline;

  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

#pun-index tr {
    position: relative;
    display: inline-block;
    vertical-align: top; /* выравнивание по верху */
    width: 430px; /* ширина строки */
    margin: 12px 0; /* отступы блоков сверху и снизу */
    padding: 0 0px; /* отступы блоков справа и слева */
}

#pun-index td.tcl {
    display: inline-block;
    float: center;
    width: auto; /* растягивание ячейки по ширине строки */
}

#pun-index thead {display: none;}
#pun-index tr {
display: inline-block;
    position: relative;
    width: 430px; 
    margin: 12px 0; 
    padding: 0 5px;
    vertical-align: top; 
}
#pun-index td.tcl {
display: inline-block;
float: left;
width: auto;
border-bottom: 80px solid #73584c;
border-radius: 0 10px 0 10px;
}
#pun-index td.tc2, #pun-index td.tc3 {
position: absolute;
display: block;
width: 170px;
bottom: 50px;
padding: 5px;
background-color: #b89984;
color: #fff;
}
#pun-index td.tc2 {
left: 25px;
}
#pun-index td.tc3 {
right: 25px;
}

#pun-index td.tcr {
position: absolute;
display: block;
bottom: 5px;
left: 25px;
width: 380px;
padding: 5px;
text-align: center;
background-color: #cae2e6;
color: #000;

}
#pun-index td.tcr a {
background: rgba(0, 0, 0, 0) url("http://forumfiles.ru/files/0002/c4/43/78661.png") no-repeat scroll 0 2px;
padding-left: 22px;}

#pun-index td.tc2:before {
content: 'Тем: ';
color: #00000;
background: rgba(0, 0, 0, 0) url("http://forumfiles.ru/files/0002/c4/43/59105.png") no-repeat scroll 0 0;
padding-left: 16px;
}
#pun-index td.tc3:before {
content: 'Сообщений: ';
color: #000000;
background: rgba(0, 0, 0, 0) url("http://forumfiles.ru/files/0002/c4/43/61919.png") no-repeat scroll 0 0;
padding-left: 16px;
}