/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1 Фон и цвет текста*/
#pun .tcr {text-align: right;}
li#navawards, .pa-positive, .lastedit {display: none;}
.linkst .pagelink { 
right: 15px;
position: absolute;
top: -4em;
width: 24em;
 }

BODY {overflow-x: hidden}

#pun-ulinks .container {margin-top: 50px}
/* 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 h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain 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: #07020f;
font-weight: normal;
font-style: normal;}

/* CS1.2 Боди или фон форума */
body {background-color: #e3e1ff;  background-position: bottom center; background-repeat: no-repeat}


/* CS1.3 Шапка */
#pun-title table {
background-image : url(http://s3.uploads.ru/iPkO5.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
  margin-left: -344px;
height: 822px;
width: 1500px;}


/* CS1.4 Пан или "тело" форума */
body {background-color: #1b0e07;  background-image: url(http://s3.uploads.ru/xWwg2.png); background-position: top center; background-repeat: repeat}

/* CS1.5 Футеркопирайниз */
#pun-about p.container {background-image: url(http://s3.uploads.ru/Li1em.png); background-position: top center; background-repeat: no-repeat; height: 127px; width: 858px; margin-left: -24px; font-size:0 !important;}
div#html-footer {margin: -320px 0px 0px 0px;}

/* 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 {
  color: #1b0e07;
  text-decoration: none;}

/* CS2.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: #1b0e07; 
  text-decoration: none; font-weight: bold }

/* CS2.3 */
#pun-navlinks a {
  color: #1b0e07;
  text-decoration: none;
 }

/* CS2.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #1b0e07;
  text-decoration: none; font-weight: bold}

/* CS3 Иконки старых, новых, важных, закрытых тем */

/* CS3.1 Иконка старых сообщений*/
.punbb table Div.icon {float: right; 
display: block; 
border-style: none none none none;
margin-left: 5px;
margin-right: 5px;
width: 66px;
height: 66px;
background-image : url(http://s2.uploads.ru/UCHiw.png);
background-repeat: no-repeat;}

/* CS3.2 Иконка новых */
TR.inew Div.icon {
background-image : url(http://s3.uploads.ru/Z6MDT.png);
background-repeat: no-repeat;
width: 66px;
height: 66px;}

/* CS3.3 Иконка важных*/
TR.isticky Div.icon {
background-image : url(http://s2.uploads.ru/zeA9J.png);
background-repeat: no-repeat;
width: 66px;
height: 66px;}

/* CS3.3 Иконка закрытых*/
TR.iclosed Div.icon {
background-image : url(http://s2.uploads.ru/J81v6.png);
background-repeat: no-repeat;
width: 66px;
height: 66px;}

/* CS4 Картинки категорий */


#pun-category1.category h2 {
background: url(http://s3.uploads.ru/XmGH1.png);
height: 110px;
width: 413px;
font-size:0 !important;
margin-left: 431px;}

#pun-category2.category h2 {
background: url(http://s3.uploads.ru/g8Vdj.png);
height: 110px;
width: 413px;
font-size:0 !important;
margin-left: -4px;}

#pun-category3.category h2 {
background: url(http://s2.uploads.ru/Juehr.png);
height: 110px;
width: 413px;
font-size:0 !important;
margin-left: 431px;}

#pun-category4.category h2 {
background: url(http://s2.uploads.ru/N2Zox.png);
height: 110px;
width: 413px;
font-size:0 !important;
margin-left: -4px;}

#pun-category5.category h2 {
background: url(http://s2.uploads.ru/SQfpk.png);
height: 110px;
width: 413px;
font-size:0 !important;
margin-left: 431px;}

#pun-category6.category h2 {
background: url(http://s2.uploads.ru/1VMWp.png);
height: 110px;
width: 413px;
font-size:0 !important;
margin-left: -4px;}


/* CS5 Прочие элементы */

/* CS5.1 Статус картинки со статистикой 24*/
#pun-stats ul.container { 
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-image: url("http://s2.uploads.ru/fbZvo.png");
background-origin: padding-box;
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: auto;
padding-left: 90px;
padding-top: -30px;}

/* CS5.2 Статус картинки с надписью "статистика" над статистикой форума*/
#pun-stats.section h2 { 
background-attachment: scroll;
background-clip: border-box;
height: 110px;
width: 413px;
font-size: 12px;
text-align: center;
color: #e9d9b0;
margin-left:  431px;
background-color: transparent;
background-image: url("http://s3.uploads.ru/VGIhU.png");
background-origin: padding-box;
background-position: 50% 0%;
background-repeat: no-repeat;
background-size: auto;
font-size: 0px;}

/* CS5.3 Цитаты и коды в сообщениях*/
.punbb .quote-box, .punbb .code-box {
background-color: #dddae8; 
color: #43200b;}

#pun-main div.catleft, #pun-main div.catright {display: none}
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
box-shadow: 0px 2px 1px;
 }
.punbb input { 
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 0px 1px 1px;
 }

/* CS5.4 Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-color: #dddae8;
color: #220a03}

/* CS5.5 Двигаем верхний баннер */
#pun-title table tbody tr .title-logo-tdr {
position: absolute; z-index: 1; 
left: 243px; 
top: 524px}

/* CS5.6 Совсем другое */
#pun-main div.catleft, #pun-main div.catright {display: none}

#pun-main .post-author ul {text-align: center}
#pun-announcement h2 {display: none}
#pun-status .container, #pun-main .post-links li {text-align: center;}
#pun th, #pun-main h2 {text-align: center}
#pun-crumbs1 .container { text-align: center;}
#pun-navlinks .container, #pun-ulinks .container { text-align: center;}

#pun-main h2, #pun-stats.section h2 {
  padding: 3px 1em;
  border-style: none solid solid none;
  border-width: 0 1px 1px 0;
  }




#mini_gallery {width: 200px; height: auto; margin: 0px;}

#mini_gallery td.gall_con .name {position: relative; height: 100px;}

table.gt {width: 100%;}
table.gt td {min-width: 60px; min-height: 60px;}

#mini_gallery td.gall_con {width: 200px; padding: 0px; vertical-align: top;}

#mini_gallery td.gall_con .gall_row1, #mini_gallery td.gall_con .gall_row2 {width: 50px; height: 50px; padding: 1px; background: #ffffff url() repeat;} 

#mini_gallery td.gall_con .gall_row1 img, #mini_gallery td.gall_con .gall_row2 img {max-width: 50px; max-height: 50px; margin: auto; }

#mini_gallery td.gall_con .gall_row1 span, #mini_gallery td.gall_con .gall_row1 span a, #mini_gallery td.gall_con .gall_row2 span, #mini_gallery td.gall_con .gall_row2 span a {display: none;}

#mini_gallery td.gall_con .gall_row1:hover {background: #b29e93; position: absolute; width: 130px; height: 130px; padding: 7px; text-align: center; top: -45px; margin-left: -45px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 1px; box-shadow: 2px 2px 3px #000000; opacity: 1; -moz-opacity: 1; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -khtml-opacity: 1;} 

#mini_gallery td.gall_con .gall_row2:hover {background: #e7e0e8; position: absolute; width: 130px; height: 130px; padding: 7px; text-align: center; top: -30px; margin-left: -30px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; box-shadow: 2px 2px 3px #000000; opacity: 1; -moz-opacity: 1; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -khtml-opacity: 1;}

#mini_gallery td.gall_con .gall_row1:hover img, #mini_gallery td.gall_con .gall_row2:hover img {max-width: 100px !important; max-height: 100px !important; margin: auto; border: 1px dashed #000000;} 

#mini_gallery td.gall_con .gall_row1:hover span, #mini_gallery td.gall_con .gall_row2:hover span {font-size: 10px; display: block;}
#mini_gallery td.gall_con .gall_row1:hover span a, #mini_gallery td.gall_con .gall_row2:hover span a {font-size: 10px;}