/* CS1 Background and text colours
-------------------------------------------------------------*/


/* фон */
body {background-image : url("http://forumstatic.ru/files/0019/a4/9b/19302.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #272727;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/0019/a4/9b/80127.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 946px;
height: 250px;
margin-left: -41px;}

/* Тело форума */
#pun {
width: 914px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/0019/a4/9b/67232.png); 
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/7b/42/59295.png);
margin: 0px 0px -30px -10px;
background-position : center top;
background-repeat : no-repeat;
width: 914px;
height: 111px; 
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 .code-box,
#pun-main .quote-box {
background-color: #929292;
    border: 1px solid #5c0000;
    box-shadow: #5c0000 2px 2px 0;
-moz-border-image: url(http://forumstatic.ru/files/001a/31/3a/90992.png) 3 repeat;
-webkit-border-image: url(hhttp://forumstatic.ru/files/001a/31/3a/90992.png) 3 repeat;
-o-border-image: url(http://forumstatic.ru/files/001a/31/3a/90992.png) 3 repeat;
}




/* Область для ввода текста в форме ответа и админке */
.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: #c5c5c5;
}





/* 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: #5c0000;
  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: #5c0000; 
  text-decoration: none;
  transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #272727;
  text-decoration: none;
  transition-duration: 1s;
}


#pun-ulinks a {
    font-size: 9px;
    color: #272727;
    text-transform: lowercase;
    font-family: arial;
    letter-spacing: 2.6px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #5c0000;
  transition-duration: 1s;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #272727;
    padding: 2px 4px 2px 4px;
}


#pun-navlinks a:focus, #pun-navlinks a:hover {
    color: #5c0000;
    background-color: #c0c0c0;
    transition-duration: 1s;
}


.category .container thead {display: none;}


/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url() no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001a/7b/42/65217.png) no-repeat;
}

tr.iclosed div.icon {
        background: url() no-repeat;
}

tr.isticky div.icon {
        background: url() 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}



/*---Прокрутка---*/
::-webkit-scrollbar-thumb:vertical {
background-color: #5c0000; height: 4px; border: 1px solid #572d2d;
border-radius: 4px;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #5c0000; height: 4px; border: 1px solid #572d2d;
border-radius: 4px;
}

::-webkit-scrollbar {
    background-color: #2d2d2d29;
    height: 4px;
    width: 5px;
}

::selection {
    background: #5c0000 !important;
    color: #c0c0c0;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}


.punbb .pa-avatar img {
    border: 3px solid #c4c4c4;
    outline: 1px solid #abaaaa;
    margin-bottom: 3px;
}



#font-area, #size-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 dashed #000;
}





#pun-index .category .tc2,#pun-index .category .tc3 {
display:none!important;
}
.Tems_And_messages {
    display: inline-block;
    width: 170px;
    font-family: Arial Black;
    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: #5c0000;
}


td.tcr a {
    background-repeat: no-repeat;
    background-position: left;
    font-weight: bold;
}



.pa-posts, .pa-respect {
    padding: 6px!important;
    margin-top: 1px !important;
    display: inline-block!important;
    float: none!important;
    max-width: 45px !important;
    height: 25px !important;
    text-align: center;
    text-transform: lowercase;
    font-size: 10px;
    font-family: arial narrow;
}




#pun-viewtopic .post h3 {
    background-color: #bebdbd;
    margin-left: 1px;
    height: 17px;
    background-image: url(http://forumstatic.ru/files/001a/0b/59/99170.jpg);
    text-transform: uppercase;
    font-size: 8px;
}


.resizable-textarea textarea { 
display: block; 
margin-bottom: 20pt; 
}



.podf {
line-height: 13px;
    font-family: tahoma;
    font-size: 10px;
}


.podfl {
    margin-top: 3px !important;
    text-align: center;
    background-image: url(http://forumstatic.ru/files/001a/0b/59/99170.jpg);
    background-color: #c5c5c5;
}


.podfl a {
font-family: tahoma;
    font-size: 9px !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 0 2px 0 2px !important;
}


.podfl a:hover {
    font-family: tahoma;
    font-size: 9px !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 0 2px 0 2px !important;
    transition-duration: 2s;
}






.link-tab {
color: #bfc0c2 !IMPORTANT;
    font-family: Arial Black;
    font-size: 7px;
    letter-spacing: 1px;
    margin: 0 2px 0 0px !important;
}


.link-tab:hover {
    color: #572d2d !IMPORTANT;
    font-family: Arial Black;
    font-size: 7px;
    letter-spacing: 1px;
    margin: 0 2px 0 0px !important;
    transition-duration: 2s;
}




.link-tab2 {
    color: #d4d1d2 !IMPORTANT;
    font-family: Arial Black;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0 2px 0 2px !important;
}



.link-tab2:hover {
    color: #b75858 !IMPORTANT;
    font-family: Arial Black;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0 2px 0 2px !important;
}


/* CS4 Картинки категорий */
#pun-category1.category h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
margin-left: -10px;
font-size:0 !important;}

#pun-category2.category h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
margin-left: -10px;
font-size:0 !important;}

#pun-category3.category h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
margin-left: -10px;
font-size:0 !important;}

#pun-category4.category h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
margin-left: -10px;
font-size:0 !important;}

#pun-category5.category h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
margin-left: -10px;
font-size:0 !important;}

#pun-category6.category h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
margin-left: -10px;
font-size:0 !important;}

#pun-stats.section h2 {
background: url(http://forumstatic.ru/files/001a/7b/42/77729.jpg) no-repeat top center;
width: 914px;
height: 20px;
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/0019/a4/9b/11833.png) bottom center repeat-y; /*Фон размножаемый по вертикали*/
overflow: visible!important;
margin: 20px 0 0 0px!important;
}
.punbb .post .post-author > ul {
background:url(http://forumstatic.ru/files/0019/a4/9b/11833.png) 0 top no-repeat,url() 0 bottom no-repeat; /*Фон верха - низа*/
margin: 0px 0px 0px 0!important;
padding: 10px 0px 10px 6px!important;
}

/* Рамка аватара */
li.pa-avatar.item2 img {
    border: 2px solid #d5d5d5;
}

#news {
    position: absolute;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    top: 135px;
    margin-left: 10px;
    width: 350px;
    color: #332522 !important;
    height: 55px;
    text-align: justify;
    overflow-y: auto;
    line-height: 100%;
    padding: 5px;
    background-color: #b6b6b6;
    border: 1px solid #8b2635;
}

#navigation {
    position: absolute;
    top: 105px;
    margin-left: 23px;
}

#needu1pic {
    position: absolute;
    top: 65px;
    margin-left: 570px;
    width: 85px;
    height: 39px;
}


#needu2pic {
    position: absolute;
    top: 115px;
    margin-left: 570px;
    width: 85px;
    height: 39px;
}

#needu3pic {
    position: absolute;
    top: 165px;
    margin-left: 570px;
    width: 85px;
    height: 39px;
}

#act1pic {
    position: absolute;
    top: 115px;
    margin-left: 435px;
    width: 55px;
    height: 39px;
}

#act2pic {
    position: absolute;
    top: 115px;
    margin-left: 500px;
    width: 55px;
    height: 39px;
}

#act3pic {
    position: absolute;
    top: 165px;
    margin-left: 435px;
    width: 55px;
    height: 39px;
}

#act4pic {
    position: absolute;
    top: 165px;
    margin-left: 500px;
    width: 55px;
    height: 39px;
}

#eppic {
    position: absolute;
    top: 65px;
    margin-left: 435px;
    width: 120px;
    height: 39px;
}

/*-----BANNERS--------*/
.banners {
    position: absolute;
    margin-top: -50px !important;
    margin-left: 34px !important;
    width: 835px;
    height: 31px;
    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;}