/* CS1 Background and text colours
-------------------------------------------------------------*/

#pun {
width: 880px;
margin: 0 auto;
}

html {
background: url(http://s4.uploads.ru/D3B9M.png) repeat top center !important;
}

body {
background: transparent url(http://s4.uploads.ru/vYbuP.png) no-repeat top center !important;
padding-top: 540px !important;
}


#pun_wrap {  background-image: url("http://s4.uploads.ru/1ceT7.png"); background-repeat: no-repeat; background-position: center bottom;
 }



/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background-color: #505050;
  color: #757575;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: #505050;
  color: #757575;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: #c0c0c0;
  color: #757575;
  font-weight: normal;
font-style: normal;

  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: #c0c0c0;
  color: #333333;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: #505050;
  color: #757575
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: #c0c0c0;
  color: #757575;
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #050505;
  color: #757575
  }

/* CS1.8 */
#pun-navlinks .container {
  background-color: #c0c0c0;
  color: #a8a8a8;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb textarea, .punbb select, .punbb input {
  background-color: #c0c0c0;
  color: #757575
}

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: #505050 #505050 #505050 #505050;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #0505050
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: #505050;
  }

/* 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: #505050;
  }

/* CS2.5 */
.punbb th {
  border-color: #505050;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #505050 #272727 #272727 #505050;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #505050;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #272727;
  }

.punbb .divider {
  border-color: #505050 #272727 #272727 #272727;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #505050;
  }

li.pa-online {
  border-left-color: #050505;
  }

.punbb .post-sig dt {
  border-top-color: #505050 !important;
  }


/* 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: #a8a8a8;
    border-bottom: 0px none #000;
  text-decoration: none;

  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #757575
  }

/* 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: #F0FFFF;
    border-bottom: 0px none #000;
  text-decoration: none;

  }

/* CS3.3 */
#pun-navlinks a {
  color: #a8a8a8;
    border-bottom: 0px none #000;
  text-decoration: none;

  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #FFFFFF;
  font-weight: normal;
font-style: normal;
  border-bottom: 0px none #000;
  text-decoration: none;

  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
        background: url(http://s2.uploads.ru/Z8cFs.png) no-repeat;
}
tr.inew div.icon {
        background: url(http://s3.uploads.ru/tHuMV.png) no-repeat;
}
tr.iclosed div.icon {
        background: url(http://s3.uploads.ru/yE7AH.png) no-repeat;
}
tr.isticky div.icon {
        background: url(http://s3.uploads.ru/hiLgE.png) no-repeat;
}

#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; right: 5px; top: 5px}

/* категории */
#pun-main h2, #pun #pun-index #pun-stats h2, #pun .punbb #pun-main h1 {
  height: 40px;
  background-image: url();
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  font-family: bookman old style;
  text-transform: center;
  font-size: 17px;
  letter-spacing: -1px;
  margin-left: 1px;
  line-height: 100px
  color: #faeedd;
  font-weight: normal;
text-transform: uppercase;
}


/*Полупрозрачность.рекламы*/

#pun-title table, #title-logo-tr, #title-logo-tdr, #title-logo-tdr div.mybb_bs, #title-logo-tdr iframe, #title-logo-tdr a, #title-logo-tdr img, #title-logo-tdr object, #tieser-bottom, #tieser-bottom div.mybb_bs, #tieser-bottom iframe, .mybb_bs, #aswift_2_anchor, #aswift_3_anchor, #aswift_0_anchor {
	filter: alpha(opacity=80) !important;
	opacity: 0.8 !important;
	-moz-opacity: 0.8 !important;
	-khtml-opacity: 0.8 !important;
}

#pun-title table:hover, #title-logo-tr:hover, #title-logo-tdr:hover, #title-logo-tdr div.mybb_bs:hover, #title-logo-tdr iframe:hover, #title-logo-tdr a:hover, #title-logo-tdr img:hover, #title-logo-tdr object:hover, #tieser-bottom:hover, #tieser-bottom div.mybb_bs:hover, #tieser-bottom iframe:hover, .mybb_bs:hover, #aswift_2_anchor:hover, #aswift_3_anchor:hover, #aswift_0_anchor:hover {
	filter: alpha(opacity=100) !important;
	opacity: 1.0 !important;
	-moz-opacity: 1.0 !important;
	-khtml-opacity: 1.0 !important;
}

.post-content table {background-color: #101010;
}


/***** clearfix *****/
.clear {clear: both;height: 0;line-height: 0;}
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
/* Прячем от IE \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* */
.clearfix {height: 1%;}
.clearfix {display: block;}

/* Панель Закладка/кнопка */
.tab {
  	background: url(http://s2.uploads.ru/xkiIH.png) repeat-x 0 0;
	height: 42px;
	position: relative;
    top: 0;
    z-index: 999;
}

.tab ul.login {
	display: block;
	position: relative;
  	float: right;
  	clear: right;
  	height: 42px;
	width: auto;
  	font-weight: bold;
	line-height: 42px;
	margin: 0;
	right: 150px;
  	color: white;
  	font-size: 12px;
	text-align: center;
}

.tab ul.login li.left {
  	background: url(http://s2.uploads.ru/CDqHb.png) no-repeat left 0;
  	height: 42px;
	width: 30px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

.tab ul.login li.right {
  	background: url(http://s2.uploads.ru/wO4WS.png) no-repeat left 0;
  	height: 42px;
	width: 30px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

.tab ul.login li {
 	text-align: left;
  	padding: 0 6px;
	display: block;
	float: left;
	height: 42px;
  	background: url(http://s3.uploads.ru/BNHp1.png) repeat-x 0 0;
}

.tab ul.login li a {
	color: #15ADFF;
}

.tab ul.login li a:hover {
	color: white;
}

.tab .sep {color:#414141}

.tab a.open, .tab a.close {
	height: 20px;
	line-height: 20px !important;
	padding-left: 30px !important;
	cursor: pointer;
	display: block;
	width: 140px;
	position: relative;
	top: 11px;
}

.tab a.open {background: url(http://s2.uploads.ru/5dgho.png) no-repeat left 0;}
.tab a.close {background: url(http://s2.uploads.ru/JAXva.png) no-repeat left 0;}
.tab a:hover.open {background: url(http://s2.uploads.ru/5dgho.png) no-repeat left -19px;}
.tab a:hover.close {background: url(http://s2.uploads.ru/JAXva.png) no-repeat left -19px;}

/* Выскальзывающая панель */
#toppanel {
    position: absolute;  
    top: 0;
    width: 900px;
    z-index: 999;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#panel {
	width: 100%;
	height: 270px;
	color: #999999;
	background: #272727;
	overflow: hidden;
	position: relative;
	z-index: 3;
	display: none;
}

#panel h1 {
	font-size: 1.6em;
	padding: 5px 0 10px;
	margin: 0;
	color: white;
}

#panel h2{
	font-size: 1.2em;
	padding: 10px 0 5px;
	margin: 0;
	color: white;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
}

#panel p {
	margin: 5px 0;
	padding: 0;
}

#panel a {
	text-decoration: none;
	color: #15ADFF;
}

#panel a:hover {
	color: white;
}

#panel .content {
	width: 960px;
	margin: 0 auto;
	padding-top: 15px;
	text-align: left;
	font-size: 0.85em;
}

#panel .content .left {
	width: 280px;
	float: left;
	padding: 0 15px;
	border-left: 1px solid #333;
}

#panel .content .right {
	border-right: 1px solid #333;
}