@font-face {
font-family: "ALaRuss";
src: url(http://forumstatic.ru/files/0010/f9/8d/19035.ttf) format("truetype");
}

/* CS1 Фон и цвет текста*/

/* 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 h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain 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: #090300;
font-weight: normal;
font-style: normal;
font-family: Verdana, sans-serif;
font-size: 1em;
text-align: justify;
}

/* CS1.2 Боди или фон форума */
body {
background-color: #090300;
background-image: url(http://forumstatic.ru/files/0010/f9/8d/18553.jpg); 
background-position: top center;
}

/* CS1.3 Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/0010/f9/8d/60764.png);
background-repeat : no-repeat;
background-position: top center;
border: none;
height: 430px;
width: 1038px;
margin-left: -99px;
}

/* CS1.4 Пан или "тело" форума */
#pun {
background-color: #F4D9B8;
background: url(http://forumstatic.ru/files/0010/f9/8d/69790.jpg) top center repeat-y;
}

/* CS1.5 Футер/копирайт/низ */
#pun-about  {
background-image: url(http://forumstatic.ru/files/0010/f9/8d/45881.png);
font-size:0 !important;
background-repeat : no-repeat;
height: 269px;
width: 1038px;
margin:-150px 0px -99px -99px;
}

/* CS1.6 Ссылки верхней навигации*/

div#pun-navlinks {
margin-top: -90px;
      }

/*
div#pun-ulinks {
       position: absolute;
       width: 830px;
       text-shadow: none;
       top: 410px;
       
       }
*/

/* 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 {
  color: #4A0501;
  text-decoration: none;
  font-style: none;
  font-weight: none;
  font-family: Liberation Serif, serif;
  font-size: 1.2em;
  text-shadow: -0.5px 0px 1px #440606;

/*CSS3 плавная смена цвета при наведении мыши*/
-webkit-transition-duration: 0.7s;
-o-transition-duration: 0.7s;
-moz-transition-duration: 0.7s;
transition-duration: 0.7s;
   }

/* CS2.2 */
.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: #42592E;
  text-decoration: none;
  font-style: none;
  font-weight: none;
  background-color: none;

 
  }

/*МЕНЮ НАВИГАЦИИ*/
/* CS2.3 */
#pun-navlinks a {
  color: 2c2731;
  text-shadow: -1px 1px 1px #c0b090;
  text-decoration: none;
  font-weight: bold;
  font-style: none;
  font-family: ALaRuss, sans-serif;
  font-size: 1.8em !important;
  text-shadow: none;

/*CSS3 плавная смена цвета при наведении мыши*/
-webkit-transition-duration: 0.6s;
-o-transition-duration: 0.6s;
-moz-transition-duration: 0.6s;
transition-duration: 0.6s;

}

/* CS2.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #42592E;
  text-decoration: none;
  background-color: none;
  font-style: none;
  /*text-shadow: -1px 1px 1px #ebebeb;*/
}

/* CS3 Иконки старых, новых, важных, закрытых тем */

/* CS3.1 Иконка старых сообщений*/
.punbb table Div.icon {
float: left;
display: block;
border-style: none none none none;
margin-left: 5px;
margin-right: 5px;
width: 56px;
height: 56px;
background-image : url(http://forumstatic.ru/files/0010/f9/8d/30658.png);
background-repeat: no-repeat;
}

/* CS3.2 Иконка новых */
TR.inew Div.icon {
background-image : url(http://forumstatic.ru/files/0010/f9/8d/10467.png);
background-repeat: no-repeat;
width: 56px;
height: 56px;
}

/* CS3.3 Иконка важных*/
TR.isticky Div.icon {
background-image : url(http://forumstatic.ru/files/0010/f9/8d/53338.png);
background-repeat: no-repeat;
width: 56px;
height: 56px;
}

/* CS3.3 Иконка закрытых*/
TR.iclosed Div.icon {
background-image : url(http://forumstatic.ru/files/0010/f9/8d/49891.png);
background-repeat: no-repeat;
width: 56px;
height: 56px;
}

/* CS4 Картинки категорий */
/*#pun-debug h2 */
.punbb .category h2, #pun-stats h2, #pun-main #post-form h2, #pun-stats.section h2, .topic .post h3 {
   position: relative;
   background: url(http://forumstatic.ru/files/0010/f9/8d/38451.png);
   background-repeat: no-repeat;
   height: 120px;
   width: 1038px;
   text-align: center;
   color: #FAE3C5;
   text-shadow: -0.5px 0.5px 0.5px #5F2F25;
   padding: 0px 0px 0px;
   margin: 0px -99px 0px;
}

.fs-box > .post h3 {
    margin-bottom: 30px;
}

.fs-box > .post h3 span {
    position: relative !important;
    top: 2px !important;
}

.fs-box .FNTslider {
   margin: 0 !important;
}

/*Текст категорий по центру фона*/
.punbb h1 span, .punbb *:not(.modal-inner) h2 span {
    font-size: 2.5em;
    font-weight: none;
    font-family: ALaRuss, sans-serif;
    position: relative;
    top: 35px !important;
}

#pun-stats span {
   top: 35px !important;
}



#pun .post h3 a {
color: #E1D8C6;
text-shadow: none;
}

#pun .post h3 strong {
font-size: 14px;
margin-left: 740px;
position: absolute;
color: #E1D8C6;
}

#post-form h2 span {
display: inline-block;
margin-top: 5px;
}

.sharelink {
display: none;
}

/*Слова "Админ-меню" и "Свой стиль" в админке */
/* а также "Напишите ваше сообщение"*/
/*Слово "Профиль" в профиле, "Обзор темы"*/
#pun-admain h2 span, #profilenav h2 span, .inner.post_reputation h1 span, #pun-main h1 span, div.topic h2 span{
top: 0px !important;
font-size: 1.2em !important;
}

/*Цитаты и коды*/
.punbb textarea, .punbb .quote-box, .punbb .code-box, input.button  {
background:  rgba(225, 190, 150, 0.7); 
background-clip: border-box;
box-shadow: 0 0 0px 1px #BEA78E, 
0 0 0 0.5px rgba(169, 136, 98, 0.6) inset, 
0 0 10px 0 rgba(211, 170, 122, 0.5) 
inset, 0 0 5px 0 rgba(211, 170, 122, 0.8);
border: none;
padding: 10px;
text-align: justify;
}

/*Фон вокруг форумов*/
/*
#pun-index .category tr {
background:  rgba(225, 190, 150, 0.5); 
box-shadow: 0 0 0 1px #CDA775, 
0 0 0 1px #D5C6AB inset, 
0 0 20px 5px rgba(203, 177, 146, 0.5) inset;
}
*/

#pun-index .category table {
border-spacing: 0px 30px;
}

.container thead {
display: none;
}



/* CS5 Прочие элементы */

/* CS5.1 Статистика/
#pun-stats ul.container {
padding-left: 20px;
padding-top: 20px;}


/* CS5.6 Совсем другое */
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun-announcement .container {margin-top: -2em}
/*Информация под аватаром*/
#pun-main .post-author ul {text-align: center;}
#pun-announcement h2 {display: none}
#pun-status .container, #pun-main .post-links li {text-align: center;}
#pun th, #pun-main h2 {text-align: center}
#pun-crumbs1 .container { text-align: center;}
#pun-navlinks .container, #pun-ulinks .container { text-align: center;}

/*Оформление выпадающего меню*/
.punbb select{
background:  rgba(225, 190, 150, 0.8);
}

/*КНОПКИ*/

input.button{
text-transform: uppercase;
font-family: Liberation Serif, serif !important;
font-size: 1em !important;
padding: 10px 12px !important;
}

input.button:hover, .nav_link:hover {
filter: brightness(0.9);
cursor: pointer;
}



/*
.post-links li > a{
background-color: rgba(210,199,174,0.5);
box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
border: 1px solid rgba(134,106,85,0.5);
padding: 3px;
font-size: 1.1em;
}

li.pl-email a{
border: 0;
background: transparent;
box-shadow: none;
font-size: 1.1em;
padding: 5px;
}
*/

.postlink a, .postlink > input, #nav > a, li.pl-email a, .post-links li > a {
font-weight: bold;
}

/*Цвет выделения текста*/
/*
::selection {
background: #400408;
}
::-moz-selection {
background: #400408;
}
*/

::selection {
background: #400408;
color: #DED7C5;
}

::-moz-selection {
background: #400408;
color: #DED7C5;
}

/*Убрать подсветку текстового поля браузером*/
input, textarea {
    outline: none;
} 
input:active, textarea:active {
    outline: none;
}
:focus {
    outline: none;
}

/*Тем и Сообщений*/

td.tc2, td.tc3{
  font-size: 10px !important;
}

/*Скрыть слова Форум и Последнее сообщение*/
#pun th {
  font-size: 0px;
}


div.post h3 span {
font-size: 0.5em;
font-weight: none;
}

/*-------------------------------------ПРОФИЛЬ-------------------------------------------*/

/* Оформление профиля*/
.post-author{
background: url(http://forumstatic.ru/files/0010/f9/8d/18553.jpg);
box-shadow:         2px 2px 10px 1px rgba(0, 0, 0, 0.75);
}

/*Рамка аватара*/
.pa-avatar img {
border: 2px double #352309 !important;
}

.pa-posts, .pa-author, .pa-title, .pa-reg, .pa-respect, .pa-positive, .pa-time-visit, .pa-last-visit, .pa-online, .pa-fld1, .pa-awards {
color: #D3C6B2;
}

.pa-online,  .pa-time-visit{
font-size: 0.8em !important;
}

.pa-posts {
display: inline-block;
width: 90px;
margin-left: 22px;
padding-bottom: 5px !important;
text-align: center;
}
.pa-respect {
display: inline-block;
width: 100px;
margin-left: -12px;
padding-bottom: 5px !important;
text-align: center;
}
.pa-positive  a, .pa-respect a, .pa-invites a, .pa-gifts a, .pa-awards a{
color: #A99579 !important;
text-shadow: none !important;
}
.pa-positive  a:hover, .pa-respect a:hover, .pa-invites a:hover, .pa-gifts a:hover, .pa-awards a:hover{
color: #D3C6B2 !important;
}

/*Никнейм*/
.pa-author {
text-align: center;
font-family: Tahoma, sans-serif;
font-size: 1.6em;
padding: 5px 0 !important;
letter-spacing: 2px;
}

.pa-author a {
color: #A99579 !important;
text-shadow: none !important;
font-family: ALaRuss, sans-serif !important;
font-size: 1.5em !important;
}
.pa-author a:hover{
color: #D3C6B2 !important;
}

/*ЛЗ*/
.pa-fld1, .pa-fld2, .pa-fld3 {
background:  rgba(225, 190, 150, 0.8);
box-shadow: 0px 1px 5px 0px #000, inset 0 0 3px #503100, inset 0 0 7px 2px #B5A180;
border: 2px double #352309;
border-radius: 5px;
padding: 0.8em 0.5em !important;
margin: 0.1em auto 0.8em auto !important;
text-align: center;
color: #291808;
}

/*Разделитель подписи*/
.punbb .post-sig dt {
background: url(http://forumstatic.ru/files/0010/f9/8d/63567.png) no-repeat center !important;
border: none;
display: block;
height: 18px;
opacity: 0.6;
margin: 10px;
}



/*АДМИНКА*/

.adformal h2, #pun-adnav h2 {
   background: none !important;
}

.adcontainer {
  border: none !important;
}

.tclcon {
text-align: justify;
}

/*Полоса прокрутки*/
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background-color: #FDE8C6;}
::-webkit-scrollbar-thumb { background-color: #400408; }

/*Прозрачность баннеров*/
.banners a img {   
opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=40);   
}   

.banners a:hover img {   
opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);   
}





.punbb textarea {
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}


#pun-index .category .tc2,
#pun-index .category .tc3{
  display:none!important;
}


.Tems_And_messages  {
    width: auto;
    text-align: center;
    color: #624F35;
}

.main table .Add {
  display: flex;
  justify-content: center;
  padding: 10px 0px;
  width: 100%;
}


.Tems_And_messages .right {
    background:  rgba(225, 190, 150, 0.5);
    display: inline-block;
    padding: 2px;
    width: 150px;
    height: 20px;
}



#tooltip {
  position:absolute;
  background:  rgba(225, 190, 150, 0.7); 
  background-clip: border-box;
  box-shadow: 0 0 0px 1px #BEA78E, 
  0 0 0 0.5px rgba(169, 136, 98, 0.6) inset, 
  0 0 10px 0 rgba(211, 170, 122, 0.5) 
  inset, 0 0 5px 0 rgba(211, 170, 122, 0.8);
  border: none;
  text-transform: uppercase;
  font-family: Liberation Serif, serif !important;
  font-size: 0.7em !important;
  padding: 10px 12px !important;
  display:none;
}
