/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumstatic.ru/files/0019/f9/d7/14507.png);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #000;
/* background-size: cover; */
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://s3.uploads.ru/v45UA.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 906px;
    height: 297px;
    margin-left: -37px;
    margin-top: -286px;
}

/* Тело форума */
#pun {
width: 942px; 
background-color: #829e7c; 
background-image: url(http://s8.uploads.ru/kqgVT.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 942px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://sg.uploads.ru/3UA2W.png);
    margin: 0px 0px -78px -35px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 903px;
    height: 108px;
    padding-bottom: 10px;
}


/* 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: #181a16;
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: #181a16;
    text-align: center;
    font-style: normal;
    font-family: 'Roboto';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001a/6d/19/20421.jpg);
    background-color: #b7b4a6;
    color: #181a16;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px #9a998e52 inset, 0 10px 10px 1px rgba(107, 109, 83, 0.09) inset, 0 0 4px #0000001f inset;
    border: 2px solid #3a39320a;
    position: relative;
    border-radius: 1px !important;
    outline: 1px solid #86827252;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(http://forumstatic.ru/files/001a/6d/19/20421.jpg);
    background-color: #b7b4a6;
    color: #181a16;
}


/* Тень и закругление */
.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(http://forumstatic.ru/files/001a/6d/19/20421.jpg);
    background-color: #b7b4a6;
}





/* 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: #0f344a;
  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: #2c3127;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #2c3127;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #2c3127;
    font-weight: 400;
    font-family: roboto;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #5f6139;
    transition-duration: 1s;
}


#pun-navlinks a {
color: #275c75;
  
    background-clip: text !important;
    text-shadow: 1px 1px 0 rgb(17, 20, 14), 0 0 5px rgba(8, 11, 7, 0.13);
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #b3b16d;
}


#pun-navlinks a:hover {
  color: #b3b16d;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://s5.uploads.ru/sOM9g.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://sd.uploads.ru/C7yGJ.png) no-repeat;
}


#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    height: 12px;
    width: 12px;
    background: #585858;
    box-shadow: 0 0 4px #00000059 inset;
    padding: 0 !important;
    border: 1px solid #999a8b;
    border-radius: 10px;
    margin-right: 6px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    height: 12px;
    width: 12px;
    background: #1b5476;
    box-shadow: 0 0 4px #00000059 inset;
    padding: 0 !important;
    border: 1px solid #0c0905;
    border-radius: 10px;
    margin-right: 6px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    height: 12px;
    width: 12px;
    background: #2a76a41c;;
    box-shadow: 0 0 4px #00000059 inset;
    padding: 0 !important;
    border: 1px solid #999a8b;
    border-radius: 10px;
    /* opacity: .3; */
    margin-right: 6px;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    height: 12px;
    width: 12px;
    background: #524c2d;
    box-shadow: 0 0 4px #00000059 inset;
    padding: 0 !important;
    border: 1px solid #999a8b;
    border-radius: 10px;
    margin-right: 6px;
}



/* CS3.2 Всё подряд*/

#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;
    font-family: 'Ruslan Display', cursive;
}
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
.modlist {font-size: 95.05%;}
#pun-announcement .container {font-size: 101%; font-family: "Arial";}

.category h2 span{    font-size: 16px;
    /* display: none; */
    color: #78b2d0;
    font-family: 'Ruslan Display', cursive;
    text-shadow: 1px 1px #0d1618;}

#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    background-color: #153e57;
}

::-webkit-scrollbar-thumb{
background-color: #2f7fa5;
border-radius: 5px;
}


::selection {
    background: #2e3527 !important;
    color: #bfbdaf;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {

    font-family: roboto;
   
    font-size: 13px;
    font-weight: bold;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {  max-width: 200px !important;
    margin-bottom: 4px;
    border: 2px solid #4e5a4929;
    outline: 1px solid #515a454f;
}




#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}



#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;
    background-image: url(http://forumstatic.ru/files/001a/6d/19/20421.jpg);
    background-color: #b7b4a6;
    top: 43px;
    height: 200px;
    overflow-y: auto;
}




/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://s5.uploads.ru/g4Spt.png) 0 0 repeat-y;
    overflow: visible!important;
    margin: 12px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
    background: url(http://s8.uploads.ru/qfGai.png) 0 top no-repeat, url(http://sg.uploads.ru/ROUo0.png) 0 bottom no-repeat;
     margin: 0px 0 0 0!important;
    padding: 9px 9px 60px 9px!important;
}



.punbb .post-content a, 
.punbb .post-content a:link {
font-weight: bold;
}




.punbb .post .post-author a{
 color: #5983a9!important;
}

.pa-author a{
color: #4e6e8a !important;
    font-family: 'Ruslan Display', cursive!important;
}



.pa-fld1, .pa-fld2 {
font-family: roboto !important;
 
    padding: 6px 9px 6px 9px !important;
    position: relative;
    margin: 2px 0px 0px 0px !important;
    z-index: 9;
    font-size: 13px;
 

}






.pa-posts {
    float: left;
    margin-left: 1px !important;
    background: rgba(0,0,0,.2);
    box-shadow: -1px 0 0 rgba(0,0,0,1) inset, 1px 0 0 rgba(255,255,255,.2), 0 0 3px #000 inset;
}
.pa-posts, .pa-respect {
    display: inline-block;
    font-family: roboto;
    width: 87px;
    font-size: 13px;
    margin-top: 2px !important;
    padding: 8px 7px 0 7px;
    text-transform: lowercase;
    height: 35px;
    color: #c6cabb;
    margin-bottom: 16px !important;
}

.pa-respect {
    float: right;
    margin-right: 1px !important;
    background: rgba(0,0,0,.3);
    box-shadow: 0 0 3px #000 inset;
}





#pun-viewtopic .post h3 {
    height: 97px;
    background-image: url(http://sd.uploads.ru/pIV9Q.png);
    text-transform: lowercase;
    background-repeat: no-repeat;
    font-family: roboto;
    margin-left: 40px;
    font-size: 11px;
    width: 820px;
    margin-top: 40px;
  
}




.pa-awards {
    margin-top: 20px !important;
}

#awards-content td.tcl {
    width: 30%;
}


#awards-content .tc2,  .tc3 {
    width: 30%;
}



/*  шапка таблица */

.navigation{
    position: absolute;
    display: flex;
    flex-direction: column;
    margin: 81px 4px 0px 110px!important;
    height: 106px;
    justify-content: space-between;
}


.navigation a {
background: url(http://s8.uploads.ru/9gVKE.png);
    display: inline-block;
    width: 126px;
    height: 17px;
    font-family: 'Ruslan Display', cursive;
    text-align: center;
    font-size: 13px;
    color: #4384ab!important;
    padding-top: 5px;
}

.navigation a:hover {
background: url(http://sh.uploads.ru/4f7Zh.png);
color:#fee74e!important;
}


.banneryniz{width: 742px;
    height: 43px;
    position: absolute;
    /* background: #fff; */
    overflow-y: scroll;
    margin: 23px 0 0 6px!important;}


.inform {
position: absolute;
    margin: 80px 0 0 248px!important;
    width: 325px;
    text-align: justify;
    font-size: 11px;
    padding: 0 8px 0 0px;
    height: 38px;
    color: #366f8a;
}


.inform1 {
position: absolute;
    margin:120px 0 0 248px!important;
    width: 366px;
    text-align: justify;
    font-size: 11px;
    padding: 0 8px 0 0px;
    height: 38px;
    color: #366f8a;
}


.RPG{
position: absolute;
    margin: 100px 0 0px 760px!important;}

.ams1, .ams2{
position: absolute;
}

.ams1 {
margin: 141px 0 0 628px!important;
    background: url(http://s8.uploads.ru/vE0Kf.png);
    display: inline-block;
    width: 74px;
    height: 17px;
    font-family: 'Ruslan Display', cursive;
    text-align: center;
    font-size: 13px;
    color: #4384ab!important;
    padding-top: 5px;
}


.ams1:hover {
    background: url(http://s5.uploads.ru/gwl8e.png);
color:#fee74e!important;
}



.ams2{
margin: 168px 0 0 628px!important;
    background: url(http://s7.uploads.ru/TyYAn.png);
    display: inline-block;
    width: 74px;
    height: 39px;
    font-family: 'Ruslan Display', cursive;
    text-align: center;
    font-size: 13px;
    color: #4384ab!important;
    padding-top: 5px;
}

.ams2:hover {
    background: url(http://s8.uploads.ru/XuGym.png);
color:#fee74e!important;
}
