/* structure by chibi
-------------------------------------------------------------*/

/* CS1 Основа
-------------------------------------------------------------*/

@font-face {
font-family: 'Moderno Regular';
src: url(https://forumstatic.ru/files/0019/c4/43/98930.ttf) format('truetype');
font-weight: normal; 
font-style: normal; }

/* CS1.1 */ 
body {
  background: url("https://forumstatic.ru/files/0019/c4/43/86953.jpg") repeat top center;
  background-color: #161514;
  background-attachment: fixed; }

#pun {
  margin: 265px auto auto auto !important;
  background-color: #e2d7be;}

/* CS1.2 */
#pun-title.section {
  background-color: transparent;
  margin-left: -15px;
    width: 900px;
    height: 1px;
  z-index: 100}

#html-footer {
  margin: 0px;
  text-align: center; }

/* CS2 Форум
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .main .container, .punbb .post h3, #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, #pun-status .container, #pun-crumbs1 p.container, #pun-stats .container, #pun-about .container, #pun-crumbs2 .container, .linkst .pagelink, .linksb .pagelink {
   color: #000000;
   background-color: transparent;
   font-size: 12px; }

/* CS2.2 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2  {
  background: url("https://i.imgur.com/hrTkyfZ.png") repeat center;
  height: 40px;
  width: 974px;
  margin-left: -32px;
  font-style: normal;
  text-align: center;
  color: #e2d7be;
  font-family: "Moderno Regular";
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  }

.punbb th {
  text-transform: lowercase;
  font-size: 0px !important;}

#pun-viewtopic .main h1 {
background-image: none;
color: #1c1c1c;
text-align: center;
margin-top: -60px;
padding-bottom: 40px;
padding-top: 40px;}

#pun-profile .main h1, #pun-searchtopics .main h1, #pun-viewforum .main h1, #pun-online .main h1 {
background-image: none;
color: #1c1c1c;
text-align: center;
margin-top: -20px;
padding-bottom: 20px;
padding-top: 0px;}

#pun-viewforum .linkst .pagelink, #pun-viewforum .linkst .postlink {
top: -10px;}

#pun-viewforum .main .tcr, #pun-searchtopics .main .tcr {
padding-top: 10px;}

/* CS2.3 */
.punbb .quote-box {
  background: #c7bea8;
  color: #000000;
  box-shadow: inset 0px 0px 40px #a99e87;
  border-radius: 10px;
  border: solid 3px #cbb689;}

.punbb .code-box {
  background: #c7bea8;
  color: #000000;
  box-shadow: inset 0px 0px 40px #a99e87;
  border-radius: 10px;
  border: solid 3px #cbb689;
  font-size: 10px;}

.punbb .code-box p {
  padding: 0px 0 1em 15px;}

.punbb textarea, .punbb select, .punbb input, .punbb .button {
  background: #c7bea8;
  color: #000000 !important;}

/* CS2.4 */
::-webkit-scrollbar {width: 6px; height: 5px; background-color: #e2d7be;}  
::-webkit-scrollbar-thumb {background-color: #a68237;}

::selection {background: #DBE0DE; color: #795b19;}

/* CS2.5 */
#pun-redirect { 
  background: url(https://forumstatic.ru/files/0019/c1/0e/20732.gif) #000;
  text-align: center;
  margin-top: 140px;
  font-size: 10px;
  position: fixed;}

#pun-redirect a:hover {  text-shadow: none!important }
#pun-redirect .info .container {  display:none; }
#pun-redirect .info .container a {display:none;}
#pun-redirect h1 {  background-image: none;}
#pun-redirect h1 span {display:none;}

#pun-redirect h1 {
  background-image: none;
  padding-bottom: 10px;
  color: transparent;
  text-shadow: none;
  margin-top: 5px;}


/* CS2.6 */
.punbb .post .post-author {
  text-align: center;
  width: 210px;
  margin-top: -20px;
  color: #ac9b67;
  font-size:12px;}

li.pa-author a, li.pa-author {
  color: #e2d7be;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "Moderno Regular";
  letter-spacing: 2px !important;
  -moz-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;}

li.pa-author a:hover, li.pa-author a:focus, li.pa-author a:active {
  color: #795b19 !important;}

.punbb .post .pa-avatar > img{
border: 3px solid #a68237;}

.pa-title {
  padding-bottom:10px !important;
  background: url(https://forumstatic.ru/files/0019/c4/43/67332.jpg) bottom center no-repeat;
}

/* CS2.7 */
.tclcon {
  font-size: 12px;
  font-family: 'Roboto', sans-serif; 
  letter-spacing: 0px;
  text-align: right;
  width: 390px;
  }

#pun-index .tcl h3 a {
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
  font-size: 17px !important;
  letter-spacing: 2px;
  font-family: "Bebas Neue";
  color: #256665 !important;
}

/* CS2.8 */
.punbb-admin #pun-admain .adcontainer, #pun-reputation div.inner div.container, #pun-report div.inner div.container , #pun-popup_awards div.inner div.container {
  background: #c7bea8;
  color: #000000;}

#pun-reputation .tc2 textarea {width: 600px !important;}
#pun-reputation .tcl {width: 80px !important;}
#pun-reputation h1 {
  background: #c7bea8;
   text-align: center; width: 757px; height: 15px; margin-left: 0px; padding-top: 20px !important;}

#pun-main .formsubmit input {
  background: #c7bea8;
  color: #000000 !important;
  padding: 7px;
  border: none !important;
  margin-top: -20px !important;
  -moz-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;
  box-shadow: inset 0px 0px 30px #a99e87;
  border-radius: 10px;
  border: solid 2px #cbb689;}

.punbb .formsubmit {
text-align: center}

#pun-main .formsubmit input:hover {
  background: #795b19;}

.punbb input, .punbb select {
  background-color: #c7bea8;
  color: #000000 !important;
  padding: 2px;}

#size-area, #font-area, #color-area, #smilies-area, #keyboard-area, #imageup-area, #font-area, #size-area, #color-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #table-area, #addition-area {
  background: #c7bea8;
  color: #000000;
  padding: 5px;}

hr {
  color: #aa873f;
  background-color: #aa873f;
  height: 2px;
  border: none;}

/* CS3 Рамки
-------------------------------------------------------------*/

.punbb .post-body, .post h3, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span, #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box, .punbb-admin #pun-admain .adcontainer {
  border-color: transparent;}

/* CS4 Ссылки
-------------------------------------------------------------*/

/* CS4.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 {
  text-decoration: none;
  color: #795b19;
  -moz-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;}

punbb a:postlink
 {
  text-decoration: none;
  color: #726d63;
  -moz-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;}

.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: #726d63;}

/* CS4.2 */
#pun-navlinks a {
  color: #e2d7be;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "Moderno Regular";
  letter-spacing: 2px !important;
  -moz-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;}

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-pagelinks a:active, #pun-pagelinks a:focus {
  color: #795b19;}

/* CS4.3 */
#pun-ulinks a {
 color: #aaaaaa;
 text-transform: lowercase;
 font-size: 9px !important;
  -moz-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;}

#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #795b19;}

/* CS5 Иконки сообщений
 -------------------------------------------------------------*/

.punbb table Div.icon {
  float: right;
  width: 100px;
  height: 50px;
  background-image: url(https://forumstatic.ru/files/0019/c1/0e/56552.png);
  background-repeat: no-repeat;
  padding-left: 0px;
  margin-top: 20px;}

TR.inew Div.icon {
  background: url(https://forumstatic.ru/files/0019/c1/0e/75284.png) no-repeat;}

TR.isticky Div.icon {
  background: url(https://forumstatic.ru/files/0019/c1/0e/51817.png) no-repeat;}

TR.iclosed Div.icon {
  background: url(https://forumstatic.ru/files/0019/c1/0e/53814.png) no-repeat;}

TR.iredirect Div.icon {
  background: url(https://forumstatic.ru/files/0019/c1/0e/75284.png) no-repeat;}

#pun-messages Div.icon, #pun-viewforum Div.icon {
  float: left;
  margin-top: -10px;}

#pun-messages .tclcon, #pun-viewforum .tclcon {
  width: 100%;
  text-align: left;
  padding-top: 5px; }

#pun-searchtopics Div.icon {
  float: left;
  margin-top: -10px;}


/*CS6 Таблицы и прочее
 ---------------------------------*/

#pun-index .category .tc2,
#pun-index .category .tc3{
    display:none!important; }

#pun-navlinks #navindex>a>span, #navuserlist>a>span, #navrules>a>span, #navsearch>a>span, #navprofile>a>span, #navpm>a>span, #navadmin>a>span, #navregister>a>span, #navlogin>a>span, #navlogout>a>span{display:none;}
#pun-navlinks #navindex a:after{content:"форум";}
#pun-navlinks #navuserlist a:after{content:"участники";}
#pun-navlinks #navrules a:after{content:"правила";}
#pun-navlinks #navsearch a:after{content:"поиск";}
#pun-navlinks #navprofile a:after{content:"профиль";}
#pun-navlinks #navpm a:after{content:"сообщения";}
#pun-navlinks #navadmin a:after{content:"AMS";}
#pun-navlinks #navregister a:after{content:"регистрация";}
#pun-navlinks #navlogin a:after{content:"вход";}
#pun-navlinks #navlogout a:after{content:"выход";}

#dop1 {
display: block;
position: absolute;
margin-top: -255px;
margin-left: 375px;}

#menu {
margin-top: 0px;
width: 80px;
height: 35px;
background-repeat : no-repeat;}

#menu span {
text-align:left;
display:block;
margin: 15px 0;
padding: 0px;}

#menu .tabactive {
box-shadow:0px 0px 40px #967430;
border-radius:30px;}

#submenu {
padding: 0px;
height: 150px;
text-align: center;
font-size: 12px;
width: 430px;
color: #e5dbc5;
text-align: left;
margin-top:-10px;}

.submenutext {
display: none; 
height: 40px;}

#news {
    position: absolute;
    width: 430px;
    height: 150px;
    display: block;
    padding: 5px;
    overflow: auto;
    text-align: center;}

#news::-webkit-scrollbar{
width: 5px;
height: 5px;
background: #000000;}

#news::-webkit-scrollbar-thumb{
background-color: #524735; }

#linki {
    position: absolute;
    width: 430px;
    height: 150px;
    display: block;
    padding-top: 30px;}

#linki a {
color: #e5dbc5 !important;}


#go-up, #go-down {
position:fixed;
bottom: 20%;
right: 5%;
text-align:center;
opacity: 0.7;
margin-bottom: 10px;
}

#go-down:hover,
#go-up:hover {
 opacity: 1;}

#banners {
height: 50px;
text-align: center;
}

#banners a img {
opacity:0.7;
-moz-opacity:0.7;
filter:alpha(opacity=70);  
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}

#banners a img:hover{
opacity:1;
-moz-opacity:1;
filter:alpha(opacity=100);  
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
}


del {
background: url("https://forumstatic.ru/files/0019/c1/0e/81672.png") ;
color: transparent;
}

del:hover {
background: transparent;
color: #000000;
text-decoration: none!important;
-moz-transition: 0.2s ease;
-webkit-transition: 0.2s ease;
}


/* structure by chibi
-------------------------------------------------------------*/