/*кнопки подфорума*/
a.button15 {
  display: inline-block;
  font-family: arial,sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: rgb(68,68,68);
  text-decoration: none;
  user-select: none;
  padding: .2em 1.2em;
  outline: none;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
  background: rgb(245,245,245) linear-gradient(#f4f4f4, #f1f1f1);
  transition: all .218s ease 0s;
}
a.button15:hover {
  color: rgb(24,24,24);
  border: 1px solid rgb(198,198,198);
  background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
a.button15:active {
  color: rgb(51,51,51);
  border: 1px solid rgb(204,204,204);
  background: rgb(238,238,238) linear-gradient(rgb(238,238,238), rgb(224,224,224));
  box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
}

/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {background-color: #7F8379;}
body {
    padding-top:4px !important;
    padding-bottom:90px !important;
    color: #616161;
margin-top: -40px;}

/* Шапка */
#pun-title table {
    background-image: url(http://forumupload.ru/uploads/001a/e6/ae/2/290419.png);
    background-repeat: no-repeat;
    background-position: top center;
border: solid 3px #d5cfbe;
    width: 1014px;
    height:206px;
margin: -1px 0 30px -21px;
}

/* Тело форума */
#pun {
width: 1042px;
background-color: #E3DFD2;
border: 3px solid #d5cfbe;
  border-radius: 0px 0px 15px 15px;
background-image:;
background-attachment: scroll;
background-repeat: repeat;
background-position: top center;
box-shadow: inset 0 0 8px #B2B09C;
}
margin-top: -40px;
.punbb {
padding: 0 20px!important;
width: 1000px;}

/* Футер */
#pun-about p.container {
    background-image:;
    margin: 0px 0px -20px -30px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1042px;
    height:50px;
    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: #2e2e2e;
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: #2e2e2e;
    text-align: center;
    font-style: normal;
font-family: 'Montserrat Alternates', sans-serif;
}

/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
background-color: ;
border: double 3px #D5CFBE;
border-radius: 5px 15px 5px 15px;
    color: #2e2e2e;

}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    border: solid 1px #DEC48B;
    background-color:#E3DFD2;
    color: #2e2e2e;}



/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-image: url();
    background-color:#e9e9e9;
}

/* 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: #7B7C81;
  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: #DEC48B;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #DEC48B;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 11px;
    color: #7B7C81;
    text-transform: lowercase;
    font-family: roboto;
    word-spacing: 0px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #d0cbc5;
  transition-duration: 1s;
}

#pun-navlinks a {
    color: #7B7C81;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #7c6939;
}

#pun-navlinks a:hover {
  color: #DEC48B;
  transition-duration: 1s;
}

/* CS3 Остальное
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumupload.ru/uploads/001a/e6/ae/2/372396.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumupload.ru/uploads/001a/e6/ae/2/157281.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumupload.ru/uploads/001a/e6/ae/2/157281.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumupload.ru/uploads/001a/e6/ae/2/157281.png) 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:#dde2e3;
}
::-webkit-scrollbar-thumb:horizontal {
   background-color:#dde2e3;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #9f97a76e;
    border: 1px solid #c4d0d9;
}

::selection {
    background: #433b5a !important;
    color: #d0cfcf;
}

#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: roboto;
    font-size: 11px;
    font-weight: 500;
    color: #544066 !important;
}

.category .container thead {display: none;}

#pun-category1.category h2 {
      background: url();
    height:;
    margin-top: -30px;
    width: 500px;
    margin-left:230px;

}
#pun-category2.category h2 {
    background: url(http://forumstatic.ru/files/0015/1d/94/52744.png);
    height: 80px;
    margin-top: 0px;
    width: 600px;
    margin-left: 328px;

}

.punbb .pa-avatar img {
    max-width: 180px !important;
    border: double 3px #7F8379;
    margin-top: 4px;
    margin-bottom: 4px;
}

#pun-viewtopic .post h3 {
    height: 17px;
    border-radius: 1px;
    margin: 0 7px 0 7px;
    font-family: roboto;
    font-size: 11px;
    background-image: url();
    background-color: #D5CFBE;
}

#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();
    background-color: #e9e9e9;
    border: 1px solid #72747a;
}

#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); transition-duration: 2s;}

.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}

.pa-respect, .pa-posts, .pa-fld2 {
    font-size: 10px !important;
    font-family: tahoma;
    font-variant: normal !important;
    display: inline-block;
    width: 57px;
    text-align: center;
    font-style: normal !important;
    text-transform: lowercase;
    padding-top: 4px!important;
    margin-bottom: 12px !important;
}

/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }

.post-author {
   background-color: #D5CFBE;
border: double px #B2B09C;
  border-radius: 5px 15px 5px 15px;
    padding: 10px 0 0px 0;
    margin: 10px 0 0 6px!important;
}

#podforum {
    padding: 5px 8px 8px 8px;
    margin-top: 5px !important;
    border-radius: 1px;
    background-image: url();
     border: 2px solid #B2B09C;
  border-radius: 0px 0px 15px 15px;
}

#pun-index .tcl h3 a {
color: #cecece !important;
    text-shadow:;
    text-decoration: none;
}

/*** фиксация поля ответа в смартфоне ***/
textarea {
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}