/* CS1 Background and text colours
-------------------------------------------------------------*/
.news {
position: absolute;
    color: black!important;
    background-color: rgb(255 255 255 / 66%);
    margin-left: 554px!important;
    top: 27px;
    width: 289px;
    font-size: 13px;
    overflow-y: auto;
    height: 202px;
    text-align: justify;
    font-family: myriad pro;
    padding: 10px 10px 10px 10px;
}

.amc {
position: absolute;
    top: 268px;
    margin-left: 111px!important;
    font-family: beryozki;
    font-size: 47px;
}
.amc a {
    color: white!important;
}

/* сообщения-репутация */
  li.pa-posts {
padding-top: 3px;
    font-family: roboto;
    width: 85px;
    text-transform: lowercase;
    font-size: 10px;
    text-align: right;
    margin-left: -4px;
}

li.pa-respect {
padding-bottom: 3px;
    width: 89px;
    text-transform: lowercase;
    font-family: roboto;
    font-size: 10px;
    text-align: left;
    float: right;
    margin-right: 15px;
    margin-top: -13px;
}


li.pa-respect:before {
    content: "// ";
}



/* Перенос "тем и сообщений"*/
#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}
.Tems_And_messages {display: inline-block;height: 14px;font-size: 15px;text-transform: uppercase;font-family: open sans;font-style: italic;font-weight: normal;}
.main table .Add {display: inline-block;position: relative;margin-left: 180px;top: 5px;width: 488px;text-align: center;padding: 1px 7px;color: #2a3b52;font-weight: 900;}
}
.Tems_And_messages right {font-weight: bold}


/* Фон форума */
html, body {
 background-color : #000000;
}

/* Шапка */
#pun-title table {
    background-image: url(https://forumstatic.ru/files/001a/a9/40/33772.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
width: 906px;
    height: 306px;
margin-left: -12px;
}

/* Тело форума */
#pun {
width: 979px;
background-color: #fff;
background-image: url(h);
background-attachment: scroll;
background-repeat: repeat;
background-position: top center;}
.punbb {
padding: 0 26px!important;
width: 979px;}



/* 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: 'Roboto';
}

/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
background-color: #d5d5d5;
    color: #2e2e2e;
border-bottom: 4px solid #000000;
    border-top: 4px solid #000000;
}

.quote-box .quote-box {
border: 1px solid #b9b6b7 !important;
background: url(https://forumstatic.ru/files/0019/03/0e/27489.jpg) !important;}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(https://forumstatic.ru/files/001a/84/0d/33786.jpg);
    background-color: #a5a6a6;
    color: #2e2e2e;
}



/* Тень и закругление */
.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-image: url(https://forumstatic.ru/files/001a/84/0d/33786.jpg);
    background-color: #a5a6a6;
}

/* высота поля комментария к репутации */
textarea#reputationText {height: 70px;}

.move_posts_form .container {background-image: url(https://forumstatic.ru/files/001a/84/0d/33786.jpg);
    background-color: #a5a6a6;}


/* 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: #000000;
  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: #000000;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #373737;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
font-size: 10px;
    color: #000000;
    font-weight: 400;
    font-family: roboto;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #c4c4c4;
    transition-duration: 1s;
}

#pun-navlinks a {
  color: #ffffff;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #848282;
}

#pun-navlinks a:hover {
  color: #9c2304;
  transition-duration: 1s;
}


/* CS3 Остальное
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(https://forumstatic.ru/files/001a/a9/40/85568.png) no-repeat;
}

tr.inew div.icon {
        background: url(https://forumstatic.ru/files/001a/a9/40/86676.png) no-repeat;
}

tr.iclosed div.icon {
        background: url() no-repeat;
}

tr.isticky div.icon {
        background: url() no-repeat;
}

/* предпросмотр */
#post-preview {background:none!important; box-shadow:none!important;}
#post-preview .fs-box .post-content {border: 1px solid #b5b2b2; width: 633px; padding: 20px 20px!important; margin-left: 45px;}


#pun-index .intd {color: #000000; width: auto; margin: 0 50px 5px 75px; text-align: justify;}
#pun-index .tcl h3 {background-color: #000000;text-align: center;width: 175px;margin: 3px 0 2px 8px;padding: 3px 0 1px 0;float: right;}
#pun-index .tcl h3 a {font: 12px "myriad pro";
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 1px 0 1px #848282;}
#pun-index .tcl h3 a:hover, #pun-index .tcl h3 a:active, #pun-index .tcl h3 a:focus {color: #d6cfcd !important;}

/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
background-color: #00000;
}

::-webkit-scrollbar-thumb{
background-color: #FFFFFF;
border-radius: 5px;
}

::selection {
    background: #000 !important;
    color: #ffffff;
}