/* CS1 Background and text colours
-------------------------------------------------------------*/
/* фон */
body {
background: url(https://i.imgur.com/YqG1yWQ.jpg) top center/ 100% 100% no-repeat fixed #141517;
}

/* Шапка */
#pun-title table {
    background-image: url(https://i.imgur.com/QJjkUCj.jpg); 
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1000px !important;
    height: 240px;
    margin: -15px 0 0 -45px;
}

/* Тело форума */
#pun {
    background-color: #141517;
    background: url(https://i.imgur.com/wirNQxL.jpg) center repeat-y;
width: 1000px;
}

.punbb {
padding: 15px !important;
width: 910px;}

#pun-index .category tr {
    background: #d9d3bb;
    box-shadow: 0 0px 3px 0 #9d9a90;
}



#pun-index .category table {
     border-spacing: 0px 10px;
}

#pun-ulinks #Rz{display: none;
} 



/* Футер */
#pun-about p.container {
background-image : url(https://i.imgur.com/gpAWRD9.jpg);
background-position: bottom center; 
background-repeat: no-repeat; 
height: 90px; 
width: 1000px; 
margin: 0 0 -40px -46px;
}


/* CS1.1 Фон и цвет текста на форуме */
.punbb .section .container, .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;
}

.punbb .post-body
{    
background: #d9d3bb;
box-shadow: 0 0px 3px 0 #9d9a90;
}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: #afa580;
color: #d9d3bb;
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 Иконки*/

div.icon {
       /* background: url() no-repeat;*/
}

tr.inew div.icon {
       /* background: url() no-repeat;*/
}

tr.iclosed div.icon {
       /* background: url() no-repeat;*/
}

tr.isticky div.icon {
       /* background: url() 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";}
#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: 1px;
    max-width: 180px;
    max-height: 180px;
    padding: 2px;
    background: white;
}



#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: #cdcdcd;
    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;
}




.banners {
    position: absolute;
    margin-left: 57px !important;
    width: 748px;
    height: 33px;
    overflow-y: auto;
    margin-top: -40px !important;
    text-align: center;
}

.banners a{
  opacity: 0.9;
  filter: grayscale(100%);
}

.banners a:hover {
  filter: none;
}


#pun-category1.category h2 {
background: url(https://i.imgur.com/OWT5nBN.jpg) no-repeat;
height: 30px; 
width: 1000px;
border-style: none;
float: center;
margin-left: -45px;
font-size: 0px!important;
}

#pun-category2.category h2 {
background: url(https://i.imgur.com/OWT5nBN.jpg) no-repeat;
height: 30px; 
width: 1000px;
border-style: none;
float: center;
margin-left: -45px;
font-size: 0px!important;
}

#pun-category3.category h2 {
background: url(https://i.imgur.com/OWT5nBN.jpg) no-repeat;
height: 30px; 
width: 1000px;
border-style: none;
float: center;
margin-left: -45px;
font-size: 0px!important;
}

#pun-category4.category h2 {
background: url(https://i.imgur.com/OWT5nBN.jpg) no-repeat;
height: 30px; 
width: 1000px;
border-style: none;
float: center;
margin-left: -45px;
font-size: 0px!important;
}


#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-fld3, .post-author .pa-respect {
    display: inline-block!important;
    margin: 4px 2px 2px !important;
    text-align: center;
    width: 50px;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 0.4px;
    font-family: tahoma;
    color: #040404;
    vertical-align: top;
    font-weight: 500;
}


#pun .post-author .pa-respect a {
  color: #000000;
}


/*Шрифты*/
@font-face {
    font-family: 'Bebas Neue';
    src: url('http://forumstatic.ru/files/0019/d9/0b/62550.eot') format('eot'), 
         url('http://forumstatic.ru/files/0019/d9/0b/26160.woff') format('woff'), 
         url('http://forumstatic.ru/files/0019/d9/0b/88465.ttf')  format('truetype'),
    }

@font-face {
	font-family: 'Aquawax Pro';
	src: url('http://forumstatic.ru/files/0018/0f/eb/35825.eot'), 
        url('http://forumstatic.ru/files/0018/0f/eb/35825.woff') format('woff'), 
        url('http://forumstatic.ru/files/001a/74/ca/35825.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src:  url('http://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('http://forumstatic.ru/files/001a/60/0b/95860.ttf')  format('truetype');
    }

@font-face {
    font-family: 'Drevnerusskij';
    src:  url('http://forumstatic.ru/files/001a/a5/3a/18482.ttf')  format('truetype');
    }

@font-face {
    font-family: 'ThamesC';
    src:  url('http://forumstatic.ru/files/001a/a5/3a/18511.otf')  format('opentype');
    }

@font-face {
    font-family: 'Alegreya Sans SC';
    src:  url('http://forumstatic.ru/files/001a/a5/3a/89653.ttf')  format('truetype');
    }

/*жалобы и репутация*/
#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;}
   }

/*Размер плюсика в репу*/
.post-author .pa-respect a img {
    height: 7px;
    width:auto;
}


/* отключить поделиться */
li.pl-share {
display: none!important;
}



.punbb .post-content a {
color: #f73a18;
    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;
}


/* вид плюса */
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;
}
