/* CS1 Background and text colours
-------------------------------------------------------------*/


/* фон */
body {background-image : url("http://forumstatic.ru/files/001a/31/3a/21205.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #272727;
}


/* Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/001a/31/3a/25924.gif); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1000px;
height: 300px;
margin-left: -68px;}

/* Тело форума */
#pun {
width: 914px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001a/31/3a/78592.jpg); 
background-repeat : repeat;
background-attachment: fixed; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 914px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumstatic.ru/files/001a/31/3a/18153.jpg);
margin: 0px 0px -30px -10px;
background-position : center top;
background-repeat : no-repeat;
width: 914px;
height: 230px; 
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: #272727;
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: #272727;
text-align:center; 
font-size: 12px; 
font-style: normal; font-family: "arial";
}


/* Цитата */
#pun-main .quote-box {
background-color: #b0b0b0;
    border: 1px solid #9c9c9c;
    box-shadow: #206977 0px 0px;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumstatic.ru/files/001a/0b/59/99170.jpg);
    background-color: #c5c5c5;
    color: #262626;
}

/* Тень и закругление */
.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: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-image: url(http://forumstatic.ru/files/001a/0b/59/99170.jpg);
    background-color: #000;
}





/* 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: #272727;
  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: #272727; 
  text-decoration: none;
  transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #7e3833;
  text-decoration: none;
  transition-duration: 1s;
}

#pun-ulinks a {
    font-size: 7px;
    color: #d1d1d1;
    text-transform: uppercase;
    font-family: Helvetica Regular;
    letter-spacing: 0.2px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #c7c7c7;
    padding: 2px 4px 2px 4px;
}


#pun-navlinks a:focus, #pun-navlinks a:hover {
    color: #7e3833;
    transition-duration: 1s;
}


.category .container thead {display: none;}

.post-content a {
    color: #7e3833!important;
}


/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url() no-repeat;
}

tr.inew div.icon {
        background: url() no-repeat;
}

tr.iclosed div.icon {
        background: url() no-repeat;
}

tr.isticky div.icon {
        background: url() no-repeat;
}

#pun-main .category Div.icon {
        background: url(http://forumstatic.ru/files/001a/31/3a/50633.jpg) no-repeat;
}

#pun-main .category TR.inew Div.icon {
        background: url(http://forumstatic.ru/files/001a/31/3a/33952.gif) 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: none;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}
#pun-live-rusff {display: none;}



/*---Прокрутка---*/
::-webkit-scrollbar-thumb:vertical {
background-color: #7e3833; height: 5px; 
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #7e3833; height: 5px; 
}

::-webkit-scrollbar {
    background-color: #2d2d2d29;
    height: 4px;
    width: 5px;
}

::selection {
    background: #7e3833 !important;
    color: #c0c0c0;
}




#font-area, #size-area, #spoiler-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/0b/59/99170.jpg);
    background-color: #c5c5c5;
    border: 1px solid #000;
}

#pun-index .category .tc2,#pun-index .category .tc3 {
display:none!important;
}
.Tems_And_messages {
    display: inline-block;
    width: 170px;
    font-family: Helvetica Bold;
    font-size: 7px;
    letter-spacing: 0.5px;
}
.main table .Add {
    display: block;
    text-align: center;
    height: 12px;
    margin: -10px 0;
    padding: 3px 8px 6px 8px;
    font-weight: normal;
    font-size: 9px;
    color: #222222;
}
.Tems_And_messages .right {
    color: #1d6470;
}


td.tcr a {
    background-repeat: no-repeat;
    background-position: left;
    font-weight: bold;
}



.pa-posts, .pa-respect, .pa-fld3 {
    padding: 6px!important;
    margin-top: -7px !important;
    color: #ededed;
    display: inline-block!important;
    float: none!important;
    max-width: 45px !important;
    height: 25px !important;
    text-align: center;
    text-transform: lowercase;
    font-size: 8px;
    font-family: Verdana;
}




#pun-viewtopic .post h3 {
    background-color: #969696;
    background-image: url(http://forumstatic.ru/files/001a/31/3a/33095.jpg);
    margin-left: 0px;
    height: 20px;
    color: #ededed!important;
    font-family: Helvetica Regular;
    text-transform: uppercase;
    font-size: 9px;
}


.resizable-textarea textarea { 
display: block; 
margin-bottom: 20pt; 
}


/* CS4 Картинки категорий */
#pun-category1.category h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/52822.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
font-size:0 !important;}

#pun-category2.category h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/52822.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
font-size:0 !important;}

#pun-category3.category h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/88736.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
font-size:0 !important;}

#pun-category4.category h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/45318.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
font-size:0 !important;}

#pun-category5.category h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/67546.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
font-size:0 !important;}

#pun-category6.category h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/39350.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
font-size:0 !important;}

#pun-stats.section h2 {
background: url(http://forumstatic.ru/files/001a/31/3a/37369.jpg) no-repeat top center;
width: 914px;
height: 70px;
margin-left: -10px;
margin-bottom: -20px;
padding-bottom: 20px;
font-size:0 !important;}

#main-reply {width: 100%;
    height: 200px;}

#font-area {height: 300px;
    overflow: auto;}

/*Фон профиля*/
.punbb .post .post-author {
background:url(http://forumstatic.ru/files/001a/31/3a/98301.png) bottom center repeat-y; /*Фон размножаемый по вертикали*/
overflow: visible!important;
margin: 29px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
background:url(http://forumstatic.ru/files/001a/31/3a/60594.png) 0 top no-repeat,url(http://forumstatic.ru/files/001a/31/3a/98301.png) 0 bottom no-repeat; /*Фон верха - низа*/
margin: -20px 0px -15px 0!important;
padding: 0px 0px 10px 6px!important;
}

/* Рамка аватара */
li.pa-avatar.item2 img {
    border: 2px solid #969696;
    max-width: 180px;
    margin-left: -5px;
}

del {background: #878d94;color: transparent;
-webkit-transition: 1s ease;
-moz-transition: 1s ease;
-ms-transition:1s ease;
-o-transition:1s ease;
transition: 1s ease;
text-decoration: none!important;}

del:hover {background: transparent;color: #000000;text-decoration: none!important;}

#act1pic {
    position: absolute;
    top: 85px;
    margin-left: -28px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act1pic:hover {opacity: 1;}

#act2pic {
    position: absolute;
    top: 129px;
    margin-left: -28px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act2pic:hover {opacity: 1;}

#act3pic {
    position: absolute;
    top: 173px;
    margin-left: -28px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act3pic:hover {opacity: 1;}

#act4pic {
    position: absolute;
    top: 217px;
    margin-left: -28px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act4pic:hover {opacity: 1;}

#act5pic {
    position: absolute;
    top: 85px;
    margin-left: 887px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act5pic:hover {opacity: 1;}

#act6pic {
    position: absolute;
    top: 129px;
    margin-left: 887px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act6pic:hover {opacity: 1;}

#act7pic {
    position: absolute;
    top: 173px;
    margin-left: 887px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act7pic:hover {opacity: 1;}

#act8pic {
    position: absolute;
    top: 217px;
    margin-left: 887px;
    width: 34px;
    height: 34px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#act8pic:hover {opacity: 1;}

#nav1 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 116px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav1 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav2 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 129px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav2 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav3 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 142px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav3 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav4 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 155px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav4 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav5 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 168px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav5 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav6 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 181px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav6 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav7 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 194px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav7 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

#nav8 a {
    position: absolute;
    font-family: 'Helvetica Regular', sans-serif;
    font-size: 9px;
    top: 207px;
    margin-left: 35px;
    text-transform: uppercase;
    letter-spacing: 1.0px;
    color: #ececec;
}

#nav8 a:hover {
  text-decoration: none;
  color: #7e3833;
  transition-duration: 1s;
}

/*-----BANNERS--------*/
.banners {
    position: absolute;
    margin-top: 50px !important;
    margin-left: 36px !important;
    width: 833px;
    height: 33px;
    overflow-y: auto;
    opacity: 0.6;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
.banners:hover {opacity: 1;}

#eppic {
    margin-top: -165px!important;
    margin-left: 38px!important;
    width: 100px;
    height: 100px;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}

#eppic:hover {opacity: 1;}

#news {
    font-family: 'Helvetica Bold', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    margin-top: -72px;
    margin-left: 208px;
    width: 639px;
    color: #332522 !important;
    height: 35px;
    text-align: justify;
    overflow-y: auto;
    padding: 3px;
    line-height: 100%;
    opacity: 0.9;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
#news:hover {opacity: 1;}


/*-----смайлы--------*/
#wrapper {
	left: 0px;
	position: relative;
	width: 450px;
}

.tabs {
	height: 30px;
	line-height: 22px;
	margin: 3 3 3px;
	list-style: none;
}

#wrapper ul {
    padding-left: 0px!important;
}

.tabs li {
	float: left;
	cursor: pointer;
	background: #e0e2db;
	color: #1c1c1c;
	display: inline;
	margin: 2px 6px;
	padding: 0 5px 1px;
	position: relative;
	text-align: center;
	text-decoration: none;
	width: 65px;
	border: 1px dashed #426058;
	box-shadow: #426058 0px 0px 0;
}

.tabs li a {
	padding: 0;
}

.tabs li a:hover {
	color: #426058;
	background: url("")no-repeat scroll 0-22.1px/cover;
	text-decoration: none;
}

.tabs li.active a {
	color: #1c1c1c;
	border: medium hidden;
	line-height: 22px;
	background-position: 0 -43.5px;
}

.tabs li.active a:hover {
	color: #426058;
}

#smilies-area div[class^="t-"]:not(.t-0) {
	display: none;
	width: 470px;
	overflow: auto;
	height: 200px;
}

/* шапка спойлера */

.post-content .spoiler-box > div {
text-align: center;
line-height: 200%;
font-size: 10px;
background: #7e3833 !important;
padding: 0.2em 0 0.3em;
text-transform: uppercase;
color: white;
font-weight: bold;
}

/* спойлер */

.punbb .post-content .spoiler-box {
padding: 0;
border: 1px solid gray;
box-sizing: border-box;
}

/* шапка кода */

.post-content .code-box strong.legend {
text-align: center;
line-height: 200%;
font-size: 10px;
background: black;
padding: 0.2em 0 0.3em;
text-transform: uppercase;
}

/* ссылка в шапке кода */

.post-content .code-box .legend a {
color: #7e3833;
}

/* блок кода */

.punbb .post-content .code-box {
padding: 0;
border: 1px solid #9c9c9c;
box-sizing: border-box;
}

/* внутри блока кода */

.punbb .post-content .blockcode {
padding: 5px 10px;
box-sizing: border-box;
}