/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон */
html {
    background: url(https://i.imgur.com/vDV9NxO.png);
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: top center;
    background-color: #78708a;
    /* background-size: cover; */
    /* overflow-x: hidden !important; */
}

/* Шапка */
#pun-title table {
    background-image: url(https://i.imgur.com/wKOoILd.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1222px;
    height: 274px;
    margin-left: -143px;
    margin-top: -200px;
}

/* Тело форума */
#pun {
width: 1071px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/E1gw3i6.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 938px;}

/* Футер */
#pun-about p.container {
    background-image: url(https://i.imgur.com/5Ha8dSH.png);
    margin: 0px 0px -120px -143px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1222px;
    height: 94px;
    overflow-x: hidden;
    padding-bottom: 100px;
}

/* 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: #181719;
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: #232224;
    text-align: center;
    font-style: normal;
    font-family: 'Code Pro Bold';
    
}


/* Цитата и код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(https://i.imgur.com/MK8FcSC.png);
    background-color: #b9b5c4;
    color: #232224;
    box-shadow: 0 0 0 1px #a09c95 inset, 0 0px 1px 0px rgba(125, 122, 115, 0.26), 6px 4px 0 0 #9088a4 inset;

}

/* Область формы ответа */
.punbb textarea, .punbb input {
    background-image: url(https://i.imgur.com/MK8FcSC.png);
    background-color: #b9b5c4;
    color: #222423;
    max-height: 195px;
}

/* Тень и закругление */
.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: 10px;
border-bottom-right-radius: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}



/* 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: #2f263e;
  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: #c3ad45;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #c3ad45;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 7px;
    color: #000;
    text-transform: uppercase;
    font-family: tahoma;
    word-spacing: 0px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #48425a;
  transition-duration: 1s;
}


#pun-navlinks a {
    color: #48425a;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #dfc472;
}


#pun-navlinks a:hover {
  color: #e2c577;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* ПОЛЯ ПРОФИЛЯ
-------------------------------------------------------------*/
/* соо
-------------------------------------------------------------*/
.pa-posts {
    text-align: center;
    display: inline-block;
    width: 55px;
    padding: 3px 3px 10px 5px !important;
    margin-bottom: 5px !important;
    letter-spacing: 1px;
    font-family: bebasneueregular;
    text-transform: uppercase;
    font-size: 10px;
    color: #201c26;
}
/* репа */
.pa-respect {
    text-align: center;
    display: inline-block;
    width: 55px;
    padding: 3px 3px 10px 5px !important;
    margin-bottom: 5px !important;
    letter-spacing: 1px;
    font-family: bebasneueregular;
    text-transform: uppercase;
    font-size: 10px;
    color: #201c26;
}
/* поля
-------------------------------------------------------------*/

.pa-fld2 {
    text-align: center;
    display: inline-block;
    width: 55px;
    padding: 3px 3px 10px 5px !important;
    margin-bottom: 5px !important;
    letter-spacing: 1px;
    font-family: bebasneueregular;
    text-transform: uppercase;
    font-size: 10px;
    color: #201c26;
}


.pa-fld3 {
    display: block;
    width: 212px;
    line-height: 12px;
    color: #5e2828!important;
    margin-top: -8px!important;
    margin-left: -7px!important;
    text-align: justify;
    min-height: 42px;
}


.textverh {
    margin-left: 1px!important;
    padding-top: -1px;
    font-size: 14px;
    font-family: Code Pro Bold;
}

.textverh a {color: #5e2828!important;}

.textniz  {
    margin-left: 9px!important;
    width: 185px;
 font-size: 10px;
    font-family: arial;
    padding-top: 4px;
    line-height: 105%;
    color: #cbc2b2!important;
}

.textniza {    color: #5d5043!important;}
.textniz a:hover {  color: #ded2c5!important;}
.foto {
    margin-left: 11px!important;
    padding-top: 4px;
width: 60px;
}

.pa-fld1 {
    display: block;
    width: 212px;
    line-height: 11px;
    color: #dcd4ca!important;
    margin-top: -1px!important;
    margin-left: -6px!important;
    text-align: justify;
    background: url(https://i.imgur.com/LZQp9WA.png) 0px top no-repeat, url(https://i.imgur.com/fssiyDV.png) 0px bottom no-repeat, url(https://i.imgur.com/QQsCTYM.png) 100% 0% repeat-y;
    min-height: 100px;
}

.pa-fld1 a {    color: #845a5a!important;}
.pa-fld1 a:hover {  color: #ded5cb!important;}

.pa-fld b {
    font-weight: normal;
}

.ank {
    text-align: center;
    font-size: 16px;
    font-family: bebasneueregular;
    padding-bottom: 2px;
}

.ank a {color: #d0c6b9!important;}

.lz  {
    margin-left: 9px!important;
    width: 196px;
 font-size: 10px;
    font-family: tahoma;
    padding-top: 15px;
    line-height: 105%;
    color: #e1dbd3!important;
}

.lz a {    color: #5d5043!important;}
.lz a:hover {  color: #ded2c5!important;}


.pa-fld4 {    margin-left: 12px!important;    margin-bottom: -16px!important;
}
.pa-fld4 img {width:50px!important;}
/* авик
-------------------------------------------------------------*/
.punbb .pa-avatar img{
    margin-top: 4px;
    margin-left: 0px;
    margin-bottom: 0px;
}

.pa-avatar img {
    margin-top: 20px;
}

.punbb .pa-avatar img{
    border: 1px solid #ffffff;
    box-shadow: 0 0 2px #928da1;
}

/* иконки
-------------------------------------------------------------*/
.punbb table Div.icon {
    background-image: url(https://i.imgur.com/tdP2PUb.png);
    width: 40px;
    height: 40px;
    float: right;
    margin-top: -3px;
    border-style: none;
    display: inline-block;
    background-repeat: no-repeat;
    margin-right: 49px;
    opacity: 0.6;
}

TR.inew Div.icon {
    background-image: url(https://i.imgur.com/g3DdevD.png);
    width: 40px;
    height: 40px;
  opacity: 1.0;
  }


TR.iclosed Div.icon {
  background-image : url(https://i.imgur.com/tdP2PUb.png);
  background-repeat: no-repeat;
  opacity: 0.6;
  }

TR.isticky Div.icon {
  background-image : url(https://i.imgur.com/g3DdevD.png);
  background-repeat: no-repeat;
  opacity: 1.0;

  }

/* 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";}
.category h2 span{display: none;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



::selection {
    background: #7f818a !important;
    color: #d7d6d8;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: 'Bahnschrift';
    font-size: 13px;
    text-transform: lowercase;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 3px solid #c1bcb3;
}

#pun-viewtopic .post h3 {
    width: 900px;
    margin-left: 7px;
    height: 15px;
    font-family: tahoma;
    text-transform: uppercase;
    font-size: 8px;
    background: #63577c;
    margin-bottom: 0px !important;
    border: 1px solid #9a96a2;
    box-shadow: 0 0 2px #00000054 inset;
}



.punbb .post h3 span a {
    color: #c9c6d0 !important;
}

.questlink {
    color: #7b768e !important;
}

.questlink:hover {
    color: #8276a2 !important;
}



.links1 {
    font-family: roboto;
    text-align: right;
    color: #cdcbc0 !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links1:hover {
    color: #a59065 !important;
}


#counters A IMG{opacity:0.2; -moz-opacity:0.2; filter:alpha(opacity=20);}
#counters a:hover img {
    opacity: 1.0;
    -moz-opacity: 1.0;
    filter: alpha(opacity=50);
    transition-duration: 2s;
}

.punbb .post .post-author a {
color: #413b54;
}

#pun-index .user-avatar img.ava {
    width: 34px;
    height: 34px;
    border-radius: 0 !important;
    border: 1px solid #8f899e !important;
}


.links-fon {
    text-align: left;
}

.links1 {
    width: 150px;
    padding: 3px 6px 3px 6px;
    color: #ffffff !important;
    font-family: tahoma;
    font-size: 8px;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-align: center;
    background-color: #121212;
    margin-top: 3px!important;
    text-transform: uppercase;
    display: inline-block;
}

.links2 {
    font-family: roboto;
    text-align: right;
    color: #c4c0cd !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links2:hover {
    color: #a59065 !important;
}


/* категории
-------------------------------------------------------------*/
#pun-stats.section h2 {
    background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}

#pun-category1.category h2 {
    background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}
#pun-category2.category h2 {
background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}

#pun-category3.category h2 {
background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}

#pun-category4.category h2 {
background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}

#pun-category5.category h2 {
background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}

#pun-category5.category h2 {
background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}

#pun-category6.category h2 {
background: url(https://i.imgur.com/ssyS1hf.png) no-repeat top center;
    height: 86px;
    margin-top: 15px;
    width: 1085px;
    margin-left: -80px;
}


#pun-stats.section h2 span, #pun-main .category h2 span, #post-form h2 span {display: none;}

/* прокрутка
-------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background-color: #5a546c;
    border: 1px solid #5a546c;
}
::-webkit-scrollbar-thumb {
    background-color: #deba6c;
    border: 1px solid #cda857;
    box-shadow: inset 0 0 3px #2e273a;
}

/* навигация в подфорумах
-------------------------------------------------------------*/
.link a {
    display: inline-block;
    cursor: pointer;
    font-family: arial!important;
    font-size: 11px!important;
    padding-left: 8px!important;
    padding-right: 8px!important;
    padding-bottom: 2px;
    padding-top: 0px;
    margin-right: 7px;
    border-radius: 15px;
    box-shadow: inset 0 0 10px #2c4467;
    background: linear-gradient(#97a5b9, #445b7c);
    color: white!important;
    border: 1px solid #8099b3;
    text-shadow: 0 1px 1px #2c4467!important;
}
.link a:hover {
    box-shadow: inset 0 0 10px #153665!important;
    border: 1px solid #507ba9!important;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
.link {    text-align: center;    margin-top: -22px!important;    padding-bottom: 11px!important;    margin-left: 20px!important;}

/* описание подфорума
-------------------------------------------------------------*/

.discr {
    font-size: 10px;
    font-family: arial;
    width: 340px;
    text-align: justify;
    color: #0d0c0c;
    margin: 1px 17px!important;
    text-transform: lowercase;
    padding: 5px 10px 16px 13px;
}

/*Фон под контейнеры в форме Ответа*/
#pun_wrap #post .container[id$="-area"]{
border: outset 2px #bbbabe!important;
border-radius: 10px;
background: rgba(187,186,190,0.89); /*Можно добавить фон картинкой url(Ccылка на картинку)*/
padding: 9px;
font: normal normal 400 11px/normal Verdana;
}

/* оформление тем
-------------------------------------------------------------*/
.oform_theme {
    margin-left: 41px!important;
    width: 569px;
    display: block;
    position: relative;
    background: url(https://i.imgur.com/awXENCt.png) top no-repeat, url(https://i.imgur.com/MJmTaQ0.png) 
    bottom no-repeat, url(https://i.imgur.com/bOAkOD2.png) repeat-y;
    padding-bottom: 84px;
}


  .tema_body {
    position: relative;
    left: 30px;
    top: 45px;
    padding: 2px;
}

.tema_body2 {
    font-size: 11px;
    color: #081318;
    width: 482px;
    text-align: justify;
    font-family: arial;
    line-height: 12px;
    text-transform: lowercase;
}

    .tema_title {
    position: relative;
    text-align: center;
    font-family: bebas neue;
    top: 17px;
    color: #213c47;
    text-transform: lowercase;
    font-weight: bold;
    font-size: 30px;
    text-shadow: 1px 0 white;
    letter-spacing: 1px;
}