/* CS1 Background and text colours
-------------------------------------------------------------*/

#pun_wrap  {
margin: auto;
min-width: 1200px !important;
}

/* фон */
body {
background: url(https://forumstatic.ru/files/001a/a9/c7/11971.png) center;
}

/* Шапка */
#pun-title table {
    background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/001a/a9/c7/12180.png);
    width: 974px;
    height: 255px;
    margin-left: -20px;
}

/* Тело форума */
#pun {
width: 945px; 
background-color: transparent; 
background-image: url(https://forumstatic.ru/files/001a/a9/c7/43459.png); 
background-attachment: no-scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 945px;}

#pun-index .category tr {
    background: rgb(231, 231, 231);
    box-shadow: 0 0px 3px 0 rgba(128, 128, 128, 0.16);
}

#pun-index .category table {
     border-spacing: 0px 10px;
}

/* Футер */
#pun-about p.container {
background-image : url(https://forumstatic.ru/files/001a/a9/c7/21888.png);
margin: 0px 0px -30px -20px;
background-position : center top;
background-repeat : no-repeat;
width: 945px;
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: #383939;
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: #383939;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
   color: #1c1b1f;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-color: #e2e2e2db;
    color: #3b3c3c;
}

/* Тень и закругление */
.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: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-color: #cecece;
}

.move_posts_form .modal-inner>.container {
    padding: 0!important;
    background: #cacace;
}


/* 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: #4e4b4d;
  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: #4e4c4e; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #4c4d4c;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #4d4c4e;
    text-transform: lowercase;
}


#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #4b4b4c;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #4c4d4d;
}


#pun-navlinks a:hover {
    color: #4c4d4b;
}





/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

#pun-main div.catleft, #pun-main div.catright {
    display: none;
}

#pun-index table Div.icon {
    background: url(https://i.imgur.com/U55zN1A.jpg);
    border-style: none;
    height: 14px;
    width: 137px;
    margin-left: -11px;
    margin-top:-23px;
    margin-right: 6px;
    display: none;
    position: absolute
}
#pun-index TR.inew Div.icon {
    background: url(https://i.imgur.com/U55zN1A.jpg);
    display: block
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #81977b;
    display: block;
    float: left;
    height: 11px;
    margin-left: 5px;
    margin-right: 10px;
    margin-top: -1px;
    position: relative;
    width: 11px;
    border: 1px solid #5f715a
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #5f715a;
    width: 11px;
    height: 11px;
}
#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #151515;
    box-shadow: -25px 0px 10px 0 #7f3b32 inset;
    width: 41px;
    height: 11px;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #222;
    width: 41px;
    height: 11px;
}

#pun-about .container .item1 {margin-top: 122px;
   margin-top: 105px;
    width: 880px;
    margin-left: 45px;
    position: absolute;
    font-family: pt sans;
    font-size: 14px;
    text-align: center;
    color: #0a0a0a;
}


/* 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";}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}

/*убрать поделиться*/
.topic a.sharelink {
    float: right;
    margin-left: 1em;
    display: none;
}


/*---Прокрутка---*/
::-webkit-scrollbar-thumb:vertical {
background-color: #4b4d4b;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #4b4d4b;
}

::-webkit-scrollbar {
    background-color: #8f929533;
    height: 4px;
    width: 4px;
}

::selection {
    background: #37363c !important;
    color: #b5b5b5;
    /* text-shadow: 1px 1px #e07e7e; */
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    margin: 2px 3px 7px 10px!important;
    padding: 0px 0px 0 0;
}


.punbb .pa-avatar img {
    margin-bottom: 4px;
    max-width: 180px;
    max-height: 180px;
    padding: 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-color: #bdc4b6;
    border: 3px double #6e7e8d;
}



td.tcr a {
    color: #4c4d4d !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-family: Oswald;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


.category .container thead {display: none;}

.banners {
    position: absolute;
    margin-left: 12px !important;
    width: 751px;
    height: 33px;
    overflow-y: auto;
    margin-top: -53px !important;
    text-align: center;
}

.banners a{
  opacity: 0.9;
  filter: grayscale(100%);
}

.banners a:hover {
  filter: none;
}


#pun-index div.category h2, #pun-index #pun-stats h2 {
text-align: center;
    font-size: 0px !important;
    position: relative;
    z-index: 5;
    margin: 0px -20px 0px;
    background-position: top center;
    height: 17px;
    width: 945px;
    /* letter-spacing: 6px; */
    background: url(https://i.ibb.co/bW3yz8j/image.jpg);
}

#pun-viewtopic .post h3 {
    height: 15px;
    width: 889px;
    margin-left: 9px;
    background-color: #c7c7c782;
}


/*Фон под контейнеры в форме Ответа*/
#pun_wrap #post .container[id$="-area"]{
border: solid 1px #a9a9a9!important;
background: #cecece; /*Можно добавить фон картинкой url(Ccылка на картинку)*/
padding: 9px;
font: normal normal 400 11px/normal Verdana;
    overflow: auto;
    height: 160px;
}

#smilies-area {
   width: 520px!important;
   height: 160px;
}

/* Поля Сообщения, Репутация, Валюта */
.pa-posts, .pa-respect{
    display: inline!important;
    /* margin: 0px 1px 0 !important; */
    text-align: center;
    text-transform: uppercase;
    font-size: 9px;
    /* letter-spacing: 0.4px; */
    font-family: tahoma;
    color: #100e0e;
}

#pun .pa-respect a {
  color: #0a0707;
}


/*Шрифты*/
@font-face {
    font-family: 'Bebas Neue';
    src: url('https://forumstatic.ru/files/0019/d9/0b/62550.eot') format('eot'), 
         url('https://forumstatic.ru/files/0019/d9/0b/26160.woff') format('woff'), 
         url('https://forumstatic.ru/files/0019/d9/0b/88465.ttf')  format('truetype'),
    }

@font-face {
	font-family: 'Aquawax Pro';
	src: url('https://forumstatic.ru/files/0018/0f/eb/35825.eot'), 
        url('https://forumstatic.ru/files/0018/0f/eb/35825.woff') format('woff'), 
        url('https://forumstatic.ru/files/001a/74/ca/35825.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src:  url('https://forumstatic.ru/files/001a/5e/f9/76423.ttf')  format('truetype');
    }

@font-face {
    font-family: 'FontAwesome';
  src url('http://forumstatic.ru/files/001a/60/0b/36450.ttf') format('truetype');
    url('http://forumstatic.ru/files/001a/60/0b/36902.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    }

@font-face {
    font-family: 'Arial Black';
    src:  url('https://forumstatic.ru/files/001a/60/0b/95860.ttf')  format('truetype');
    }

@font-face {
    font-family: 'Drevnerusskij';
    src:  url('https://forumstatic.ru/files/001a/a5/3a/18482.ttf')  format('truetype');
    }

@font-face {
    font-family: 'ThamesC';
    src:  url('https://forumstatic.ru/files/001a/a5/3a/18511.otf')  format('opentype');
    }

@font-face {
    font-family: 'Alegreya Sans SC';
    src:  url('https://forumstatic.ru/files/001a/a5/3a/89653.ttf')  format('truetype');
    }

/*для описания*/
.for_op {
    font: 500 10px arial;
    text-transform: lowercase;
    text-align: justify;
    padding: 5px 0px 4px 2px;
    line-height: 14px;
}

.link {
  /* border: 1px solid #0d0711; */
  padding: 3px 3px 3px 3px;
  color: #e9e9e9 !important;
  background-color: #91a486;
  font-size: 8px;
  font-family: arial;
  text-transform: uppercase;
  /* font-weight:bold; */
  /* border-radius: 4px; */
}

.link:hover {
  background-color: #91a486;
  transition: all 0.5s;
}

.link2 {
    padding: 1px 3px 3px 6px;
    background-color: #91a486;
    /* text-align: center; */
    color: #f1f1f1!important;
    font: 9px tahoma;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.link2 a {
  color: #f1f1f1 !important;
}

.link2 a:hover {
  color: #b5b2b2 !important; 
}

/*ЛЗ*/
.character {
   font-family: oswald;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    margin-left: 6px!important;
    background: #f2f2f2;
    padding: 2px;
    width: 174px;
    padding-left: 4px;
    margin-top: -5px!important;
    border-bottom: 1px dashed black;
}

#pun .character a {
  color: #1c1b1f;
}

#pun .character a:hover {
  color: #35383e;
}

.about {
    font: 500 9px tahoma;
    text-align: justify;
    width: 170px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 3px;
    padding-top: 3px;
    margin: 0px 0px 0px 6px !important;
    line-height: 1.4em;
    text-transform: lowercase;
    color: #040404;
    background: #f2f2f2;
    }

#pun .about a {
    color: #6f8363;
    font-weight: 900;
}

#pun .about a:hover {
  color: #3e3433;
}

/*жалобы и репутация*/
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
  background: #dbd9d9;
}

#rep_form table tbody tr td.tcl span, #rep_form table tbody tr td.tc2 span {
  font-size: 12px;
  color: #000004;
}

#pun-report h1, #pun-reputation h1, #pun-admin-award-form h1 {
font-family: arial;
font-weight: normal;
margin-top: 5px;
}

/*фикс формы ответа*/
 @media screen and (max-device-width: 900px) {
    #main-reply {width: 100%; height: 150px!important;}
   }

/*Размер плюсика в репу*/
.pa-respect a img {
    height: 7px;
}


/* отключить поделиться */
li.pl-share {
display: none!important;
}

/* ГОСТЕВАЯ */
#impfont {
     width: 584px;
     height: 348px;
     border: 3px solid #d4d3d3;
     position: relative;
     overflow: hidden;
     background-color: #e9e9e9;
     padding-bottom: 3px;
     -webkit-text-size-adjust: none;
}

.fonepi {
    background-image: url(http://forumstatic.ru/files/001a/a5/3a/31700.png);
    width: 584px;
    height: 130px;
    overflow: hidden;
    color: #e9e9e9!important;
     -webkit-text-size-adjust: none;
}

.txt {
    width: 252px;
    height: 130px;
    overflow: auto;
    font-size: 10px; 
     -webkit-text-size-adjust: none;
}

.fonepi a{
    color: #080807 !important;
    font-size: 7px;
    text-transform: uppercase;
    background: #e9e9e9cc;
    font-family: Arial Black;
    padding: 3px;
     -webkit-text-size-adjust: none;
}

.fonepi a:hover {
  background: #f69679;
}

.data-people {
    width: 570px;
    height: 112px;
    overflow: auto;
    position: absolute;
    font-size: 9px;
    margin: 15px 96px;
    padding: 10px 5px 5px;
    color: #4c4843;
    text-align: justify;
    line-height: 13px;
     -webkit-text-size-adjust: none;
}

div#forumnamel {
  font-family: Montserrat;
  font-size: 17px;
  height: 20px;
  text-align: center;
     -webkit-text-size-adjust: none;
  }

.sammary1, .sammary2{
    display: inline-block;
    padding: 5px 5px;
    width: 242px;
    /* background: #d6d4d440; */
    margin: 0 4px;
    text-align: justify;
    font-size: 10px;
    height: 96px;
    overflow: auto;
    text-transform: lowercase;
    font-family: arial;
    font-size: 10px;
    -webkit-text-size-adjust: none;
}

div#zagol {
    font-family: Oswald;
    font-weight: 900;
    font-size: 11px;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid #4c4d4e;
    -webkit-text-size-adjust: none;
}


.punbb .post-content a {
color: #819377;
    text-shadow: 1px 1px #e07e7e24;
}

/* КОД ССЫЛОК НАВИГАЦИИ ОТ ВЕЩЕГО ДУХА */
/* настройка кнопки, может быть текстом */
.spirit-navigation {
    background: #9e0039;
    height: 15px;
    width: 306px;
    margin-top: 134px!important;
    margin-left: 595px!important;
    display: inline-block;
    cursor: pointer;
    font-size: 0px;
    color: transparent;
    position: absolute;
    transition: all 0.3s ease-in-out 0s;
    }

/* вид кнопки после клика по ней */
.spirit-navigation.spirit-navigation_hover{
background: url(ссылка на картинку) no-repeat
}

/* настройка позиции выпадающего по клику окна и его ширина */
#navigblock {
    width: 305px;
    margin-left: 596px;
    position: absolute;
    top: 150px;
    z-index: 999;
}

/* настройка блока ссылок, цвет фона, тени, прозрачность, отступы */
.sslka {
    display: block;
    opacity: .95;
    padding: 5px;
    background: rgb(158, 0, 57);
    box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset, 1px 2px 2px 1px rgba(0,0,0,.4);
    border-radius: 1px;
}

/* настройка вида самой ссылки, ширина, цвет, фон, шрифты и так далее */
#pun .sslka a {
    background: #f1f1f1;
    white-space: nowrap;
    margin: 5px auto;
    /* border-radius: 2px; */
    text-align: center;
    transition: all 0.3s linear 0s;
    display: block;
    padding: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 270px;
    color: #1d1c1b;
    font-family: Montserrat;
    font-size: 10px;
}

/* ссылка при наведении */
#pun .sslka a:hover {
   background-color:#abaaa9 !important;
   opacity: .9;
   transform: scale(1.0);
   color: #3c3b38;
}

.naf {
    position: absolute;
    margin-top: 134px!important;
    margin-left: 720px!important;
    color: #f1f1f1;
    font-size: 10px;
}

/* новости */
.pnews {
    /* background-color: rgb(255, 255, 255); */
    background: #6f8363;
    box-shadow: 0 0px 5px 0 rgba(128, 128, 128, 0.16);
    padding: 4px 9px 5px 9px;
    width: 150px !important;
    display: inline-block;
    font-family: Montserrat;
    color: #f1f1f1 !important;
    transition-duration: 2s;
    text-transform: uppercase;
}

.pnews a{
    color: #fcfbfb !important;
    font-size: 10px;
}


/* поздравления */
.cgc {
    position: absolute;
    margin-top: 60px!important;
    margin-left: 911px!important;
    overflow-y: auto;
    width: 142px;
    height: 152px;
    text-align: justify;
    padding-right: 4px;
    font: 9px tahoma;
    color: #f1f1f1;
    line-height: 12px;
    /* border: 1px solid #f1f1f1; */
    padding: 4px 2px 5px 5px;
    text-transform: lowercase;
    background: #464646;
}

.cgc a {
    color: #f989c8 !important;
}

/* шапка */

.bestp {
position: absolute;
    margin-top: 85px!important;
    margin-left: 320px!important;
    overflow: auto;
    width: 107px;
    height: 82px;
    text-align: justify;
    padding-right: 3px;
    font-family: tahoma;
    font-size: 10px;
    line-height: 10px;
    text-transform: lowercase;
    color: #2e2c2e;
    -webkit-text-size-adjust: none;
}

.bestp a {
  color: #707f66 !important;
}

.activ {
   position: absolute;
   margin-top: 110px !important;
   margin-left: -10px !important;
   transition: all 0.9s;
   letter-spacing: 3px;
   font-size: 9px;
}

.activ a{
    transition: all 0.9s;
    color: #fdfdfd !important;
}

.activ a:hover{
  color: #fcd5c3 !important;
  transition: all 0.9s;
}

.qt {
    position: absolute;
    margin-top: 74px!important;
    margin-left: 594px!important;
    overflow: auto;
    width: 107px;
    height: 35px;
    text-align: justify;
    padding-right: 3px;
    font-family: oswald;
    font-size: 8px;
    line-height: 12px;
    text-transform: uppercase;
    color: #fdfdfd;
    /* transform: rotate(705deg)!important; */
    -webkit-text-size-adjust: none;
}

.ams {
    position: absolute;
    margin-top: 148px!important;
    margin-left: 748px!important;
    font: 13px Montserrat;
    text-transform: uppercase;
    /* transform: rotate(708deg)!important; */
    letter-spacing: 2px;
    color: #e7e7e7;
    -webkit-text-size-adjust: none;
}

.ams a {
   color: #e7e7e7 !important;
   transition: all .9s;
}

.ams a:hover {
   color: #e7e7e7 !important;
}

.hrt img {
position: absolute;
    margin-top: 22px !important;
    margin-left: 98px !important;
    transition: all 0.9s;
}

.hrt img:hover {
    transform: scale(1.1);
}

/* вид плюса */
div.post-rating a, div.post-vote a {
    font-size: 150% !important;
    text-decoration: none !important;
    font-family: oswald;
}

/*вид формы голосовавших*/ 
.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 9px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background: #b3b1b1;
}

.post-content abbr {
cursor: pointer;
    text-decoration: underline dotted;
}