/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
body {background-image : url("http://forumfiles.ru/files/0019/9c/a9/69124.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #3e505e;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/0019/9c/a9/55630.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 962px;
height: 353px;
margin-left: -35px;}

/* Тело форума */
#pun {
width: 962px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/0019/9c/a9/77752.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 962px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/0019/9c/a9/83113.jpg);
margin: 0px 0px -30px -35px;
background-position : center top;
background-repeat : no-repeat;
width: 962px;
height: 101px; 
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: #262f36;
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: #262f36;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #c2c2c2;
    color: #3d4f5d;
    background-image: url(http://forumfiles.ru/files/0019/9c/a9/91147.jpg);
    border: 1px solid #415361;
    box-shadow: 5px 5px #54727d, -5px -5px #617f8a;
    outline: 1px solid #d0d0d0;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumfiles.ru/files/0019/9c/a9/91147.jpg);
    background-color: #c2c2c2;
    color: #3d4f5d;
}

/* Тень и закругление */
.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://forumfiles.ru/files/0019/9c/a9/91147.jpg);
    background-color: #c2c2c2;
}





/* 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: #435563;
  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: #435563; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #57717c;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #6c6c6c;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #465865;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #cecece;
}


#pun-navlinks a:focus, #pun-navlinks a:hover {
    color: #a6a6a6;
}


.category .container thead {display: none;}

#pun-index .tcl h3 a {
    color: #e0e0e0;
}


#pun-index .tcl h3 a:hover {
color: #cfcfcf;
}

/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/9c/a9/58492.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/9c/a9/53613.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/0019/9c/a9/41560.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/0019/9c/a9/82776.jpg) 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: #cfcfcf; height: 4px; border: 3px double #435462;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #cfcfcf; height: 4px; border: 3px double #435462;
}

::-webkit-scrollbar {
    background-color: #3a4b58;
    height: 4px;
    width: 8px;
    border: 1px solid #3a4b58;
}

::selection {
    background: #3a4b58 !important;
    color: #cfcfcf;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
    padding: 5px;
}





/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumfiles.ru/files/0019/9c/a9/60532.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 12px 0px 0px 3px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumfiles.ru/files/0019/9c/a9/88936.jpg) 0 top no-repeat, url(http://forumfiles.ru/files/0019/9c/a9/99781.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
    padding: 9px 9px 9px 8px!important;
}



.punbb .post-content a, 
.punbb .post-content a:link {
color:#607e8a;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#585858;
text-decoration: underline;
}

.punbb .pa-avatar img {
    border: 2px solid #5f7d88;
}

#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-color: #c8c8c8;
    border: 3px double #3d4f5d;
}

hr {
border: 0;
border-bottom: 1px dashed #999;
background: #000;
margin-top: 2px !important;
margin-bottom: 2px !important;
}




.links1 {
    color: #e2dfdf !important;
    letter-spacing: 0.3px;
    font-family: 'Open Sans Condensed';
    font-size: 15px;
    text-transform: uppercase;
    padding: 0px 3px 0px 3px;
    text-shadow: -1px 1px #405260;
}

.links1:hover {
    color: #cecece !important;
    letter-spacing: 0.3px;
    font-family: 'Open Sans Condensed';
    font-size: 15px;
    text-transform: uppercase;
    padding: 0px 3px 0px 3px;
    text-shadow: -1px 1px #405260;
}




.links2 {
    color: #e2dfdf !important;
    letter-spacing: 0.3px;
    font-family: 'Open Sans Condensed';
    font-size: 12px;
    text-transform: uppercase;
    padding: 0px 1px 0px 1px;
    text-shadow: -1px 1px #405260;
}

.links2:hover {
    color: #cecece !important;
    letter-spacing: 0.3px;
    font-family: 'Open Sans Condensed';
    font-size: 12px;
    text-transform: uppercase;
    padding: 0px 1px 0px 1px;
    text-shadow: -1px 1px #405260;
}


#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70);}




.postl {
    color: #acc5ce !important;
}




#banners.content {
    position: absolute;
    height: 46px;
    width: 950px;
    overflow: scroll;
    overflow-x: hidden;
    margin: -40px 0px 0px -30px;
    /* border: 1px solid; */
}


hr {
border: 0;
border-bottom: 1px dashed #999;
background: #000;
}



#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area,
.modal-inner.section {
    background-color: #a7a49b;
    border: 3px double #675a37;
}




/*--------------------------- сообщений / репутация ---------------------------*/
.pa-posts, .pa-respect {
    vertical-align: top;
    padding: 5px!important;
    text-align: center;
    font-size: 10px;
    display: inline-block;
    width: 35%;
    height: 30px;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: lowercase;
    color: #000000;
    /* margin-top: 7px!important; */
    /* margin-bottom: 7px!important; */
}

li.pa-fld3 {
    margin: 8px 0;
}

A.important:link, A.important:active, A.important:visited {
  font-family: 'Times New Roman', sans-serif;
  text-decoration: none;
  padding: 7px;
  margin-top: -55px;
  font-weight: 500;
  line-height: 20px;
  text-shadow: 1px 1px 0px #000;
  background-image: url(https://i.gyazo.com/c4b89efefbb539176851799f4a384c0f.png) !important; 
  border-top: 5px solid transparent !important; 
  border-bottom: 2px groove #e7e7e7 !important;  
  border-radius: 0px 0px 0px 0px !important; 
  display: block;
  color: #b4b1a8;
  font-style: normal;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  width: 150px;
  line-height: 13px;

}
A.important:hover { 
  font-family: 'Times New Roman', sans-serif;
  text-decoration: none;
  padding: 7px;
  margin-top: -55px;
  font-weight: 800;
  line-height: 20px;
  text-shadow: 1px 1px 0px #000;
  background-image: url(https://i.gyazo.com/c4b89efefbb539176851799f4a384c0f.png) !important;  
  border-top: 5px solid transparent !important;
  border-bottom: 2px groove #e7e7e7 !important; 
  border-radius: 0px 0px 0px 0px !important; 
  display: block;
  color: #b4b1a8;
  font-style: normal;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  width: 150px;
  line-height: 13px;

}

#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: 37px!important;
background-image: url(http://funkyimg.com/i/2w5Wz.jpg);
padding: 7px!important;
}

.pa-fld1 {
margin-top: 5px!important;
}

.lz_name {
	text-transform: uppercase;
	font-weight: bold;
}

.lz {
    padding-top: 5px;
    font-size: 10px;
    padding: 5px 12px 5px;
}

.lz1 {
    padding: 5px 0px;
}

.lz2  {
    padding-top: 5px;
}

.pa-fld11 {
    background: rgba(40, 56, 54, 0.2);
    padding: 2px;
    /* font-size: 10px; */
    text-transform: uppercase;
    font-size: 9px;
}

#pun-announcement h2 {display: none}

#topic-users-in p {
  line-height: 1;
  -ms-text-size-adjust: 120%;
  -moz-text-size-adjust: 120%;
  -webkit-text-size-adjust: 120%;
}

#topic-users-in a:not(:last-of-type):after {
  content: ",";
  font-size: inherit;
  line-height: inherit;
  color: #212121;
  pointer-events: none;
}

.punbb:not(.punbb-admin) textarea {
  box-sizing: border-box;
  max-width: 100%; 
  max-height: 100%;
  line-height: 1.5;
  height: 71px;
  -ms-text-size-adjust: 150%;
  -moz-text-size-adjust: 150%;
  -webkit-text-size-adjust: 150%;
}

.punbb:not(.punbb-admin) textarea#main-reply {
  height: 175px;
}

.punbb:not(.punbb-admin) textarea {
    resize: none;
}

/* вставляем картинку */
#button-mybb {
  width: 100%;
  height: 26px;
  padding: 0;
  line-height: 0;
  background-image: url('http://forumfiles.ru/files/0018/51/15/12847.png');
  background-position: center;
  background-repeat: no-repeat;
}

/* прячем "закрыто" и "важно" */
.stickytext, .closedatafield {
  display: none;
}

/* кнопки вверх-вниз */
.go-up,.go-down {
  display:none;
  position:fixed; /*позиционируем*/
  right:90px; /*указываем положение, если слева - left*/
  z-index:9999; /*показываем поверх все элементов на странице*/
  cursor:pointer;
  opacity:.7; /*прозрачность*/
  margin-bottom:40px; /*отступ снизу (можно не указывать)*/
  width:62px; /*ширина кнопки*/
  height:25px; /*высота кнопки*/
}
.go-up {
  bottom:270px; /*положение от низа окна браузера верхняя кнопка*/
}
.go-down {
  bottom:230px; /*положение от низа окна браузера нижняя кнопка кнопка*/
}
.go-down:hover,.go-up:hover {
  opacity:1;
}

/* увеличение шрифта */
.FNTslider {
  border-radius: 4px;
  position:relative;z-index:1000;
  background: #E0E0E0;
  width: 110px;
  height: 5px;
  margin: 3px 5px;
  border: solid 1px #ccc;
  float: right;
  margin-right: 7%;
}
.FNTslider .before {
  height: 5px;
  border: solid 1px transparent;
  border-right: none 0;
  border-radius: 4px 0 0 4px;
  position: absolute;
  background: #000000;
  margin-top: -1px;
}
.FNTslider .thumb {
  width: 8px;
  height: 13px;
  border-radius: 3px;
  position: relative;
  top: -4px;
  background: #000000;
  border: solid 1px #9b9b9b;
  cursor: pointer;
}

/* спойлер наград */
.awards-spoiler {
  /*background-color:transparent!important;*/
}
.awards-spoiler__img {
  background-color:transparent;
}
.awards-spoiler__wrapper {
  display:none;
  margin-bottom: -10px;
  margin-top: -30px;
}
.awards-spoiler__wrapper,
.awards-spoiler__wrapper li.pa-awards{
  border-color:transparent;
}

.post-content abbr {
border: none !important; }