/* CS1 Background and text colours
-------------------------------------------------------------*/

body *{
   z-index: 2;
}

#pun, #pun_wrap{
  background: url('https://i.imgur.com/RHO1GHQ.jpg');
}

#pun-navlinks .container{
  color: #c9c9c9;
}

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  color: #1f1f1f;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  color: #1f1f1f;
  padding: 10px 0;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: #000;
  color: #c9c9c9;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  color: #1f1f1f;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  color: #1f1f1f
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #f9f9f9;
  color: #1f1f1f
  }

/* CS1.8 */
#pun-navlinks {
background:url(https://i.imgur.com/PmAUHWX.jpg);
padding: 0;
width: 100% !important;
  color: #c9c9c9;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: #ccc #ccc #aaa #ccc
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #f5f5f5
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: #004F90;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: #C9D6E0;
  }

/* CS2.5 */
.punbb th {
  border-color: #dedfdf
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #ccc #fff #fff #ccc;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #ccc
  }

#pun-ulinks li a, #pun-announcement h2, #pun-help .formal .info-box h3.legend {
  color: #c9c9c9 !important;
  }

.punbb .divider {
  border-color: #ccc #fff #fff #fff
  }

li.pa-online {
  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.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 {
  color: #000;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #1f1f1f
  }

/* CS3.2 */
.punbb a:hover, .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 {
  color: #480202;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #dedfdf;
  text-decoration: none;
  }

/* CS3.4 */

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {border-color: #E6E6E6 #DEDEDE #DADADA #E2E2E2}
tr.iredirect div.icon {border-color: #F7F7F7 #F7F7F7 #F7F7F7 #f7f7f7}
div.inew {border-color: #0080D7 #0065C0 #0058B3 #0072CA}

#pun-main div.catleft, #pun-main div.catright {display: none}

body *{
  border: 0;
}

.punbb .post h3{
  color: #000;
  font-family: 'Oswald', cursive;
  line-height: 1.4em;
  padding: 0 0 0 267px;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  top: 18px;
}

#pun-index .main .category h2,
#pun-stats h2,
#pun-main h2,
#pun-main h1,
#pun-messages #messages fieldset > legend,
#pun-messages #profile .container fieldset legend{
    padding: 0 10px;
    color: #fbfbfb !important;
    font-family: Oswald !important;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
    transition: all linear 0.3s;
    line-height: 19px;
    display: block;
    width: 1076px;
    padding: 0 !important;
    margin-bottom: 15px;
    text-align: center;
    color: #000;
    font-family: 'Oswald', cursive;
    line-height: 1.4em;
    margin-left: -15px;
    background: url(https://i.imgur.com/qXkjfZg.jpg);
    height: 13px;
    padding: 10px 0 12px 0 !important;
    position:relative;
    overflow: hidden;
    white-space: nowrap;
}

#pun-messages #profile .container fieldset legend{
    width: 837px;
    display: block;
    left: 14px;
    text-transform: uppercase;
}

#pun-messages #profile .container fieldset legend small {
    display: none;
}

#pun-messages #profile .container #messages fieldset legend{
  left: 0;
}

#pun-main h1,
#pun-messages #messages fieldset > legend{
  padding-bottom: 70px;
text-transform: uppercase;
}

#pun-messages #messages fieldset > legend{
width: 100%;
color: #c9c9c9;
padding-left: 10px;
}

#pun-messages #messages fieldset > legend span{
margin-left: 0;
}

.punbb div.icon.inew + .tclcon h3 a{
  color: #480202;
} 

.punbb .post .post-author .pa-avatar{
    position: relative;
    margin: 0 auto;
    width: 229px;
    height: 204px;
    background: url(https://i.imgur.com/BAQBY9G.png) no-repeat;
}

.punbb .post .post-author .pa-avatar img{
    width: 180px;
    height: 180px;
    margin-top: 12px;
    border: 1px dotted white;
    border-radius: 2px;
}

.punbb .post .post-author .pa-avatar img{
-webkit-box-shadow: inset 0px 0px 37px 0px rgba(0,0,0,1);
-moz-box-shadow: inset 0px 0px 37px 0px rgba(0,0,0,1);
box-shadow: inset 0px 0px 37px 0px rgba(0,0,0,1);
}
#profile .input,
#upload_avatar .input,
.inputfield .input,
.selectfield .input{
  background: transparent !important;
  padding: 0;
}

textarea{
background: #ececec;
padding: 5px;
}

input{
  border: 4px solid #9ba0a3; 
  padding: 5px;
}

#pun-messages #profilenav,
#pun-profile #profilenav{
    float: left;
    width: 184px !important;
    margin-top: -5px;
    overflow: hidden;
    padding: 0 5px;
    text-align: center;
    border-top: 0;
    position: relative;
    background-image: url(https://i.imgur.com/kQYzxyb.png);
    background-color: #373737;
    top: 5px;
}

#pun-profile #profilenav{
  margin-top: -18px;
  margin-left: -236px;
}

#pun-messages .post h3{
  margin-bottom: 25px;
}

#pun-messages .post h3 .FNTslider {
  top: 0;
}

#pun-messages  fieldset{
margin-left:-32px;
}

#pun-messages .post .post-author{
margin-top: -15px;
border-bottom-left-radius: 5px;
}

#pun-messages form#post{
width: 95%;
}

.pa-fld1 img,
.hellathen-announce-front img{
filter: grayscale(0.6);
-webkit-filter: grayscale(0.6);
-moz-filter: grayscale(0.6);
-o-filter: grayscale(0.6);
-ms-filter: grayscale(0.6);
}
.pa-fld1 img:hover,
.hellathen-announce-front img:hover{
filter: grayscale(0);
-webkit-filter: grayscale(0);
-moz-filter: grayscale(0);
-o-filter: grayscale(0);
-ms-filter: grayscale(0);
translate: all linear 0.3s;
}

#pun-online .tcl{
float: none;
}

input[type="submit"]{
border-width: 3px 8px;
border-radius:0;
background-color: transparent;
color:#c9c9c9;
padding:8px 10px;
text-transform: uppercase;
border-color: #480202;
}
input[type="submit"]:hover{
background-color: transparent;
transition: all linear 0.8s;
}

.punbb table div.tclcon{
  display: table-cell;
}

#pun-main, .main, #pun-crumbs1, #pun-stats, #pun-crumbs2, .section[style], .punbb .section[style], .admain{
  background-color: #dcdcdc;
  background-image: url('http://i.imgur.com/2UB1ZEG.png');
  background-size: 1086px 214px;
  width: 1046px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 0;
  padding-bottom: 20px;
}

#pun-about{
  width: 1046px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.post-links a {
  font-family: Oswald;
  text-transform: uppercase;
  text-size: 16px;
}


button,
input[type=submit],
input[type=button],
.hellathen-announce-front .center a,
.linkst .postlink a,
.post-vote a,
#profilenav li a{
border: 17px solid transparent;
-webkit-border-image: url('https://i.imgur.com/Uen4vQx.png') 26 28 repeat;
    padding: 0 10px;
    color: #fbfbfb !important;
    font-family: Oswald !important;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
    transition: all linear 0.3s;
   line-height: 19px;
    background: none;
}

#profilenav li a {
  display: block;
  width: 63%;
  margin: 0 auto 10px;
}

.post-vote a{
  padding: 0 5px;
}

.hellathen-announce-front .center a{
  text-decoration: none;
    width: 75%;
    display: block;
    text-align: center;
    margin-top: -7px;
}

.punbb .post-box{
    border: 3px double #9d9d9d;
    background: #e4e4e4;
    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(245,245,245,1);
    -moz-box-shadow: inset 0px 0px 0px 1px rgba(245,245,245,1);
    box-shadow: inset 0px 0px 0px 1px rgba(245,245,245,1);
    padding: 0 !important;
    text-align: justify;
}

.punbb .post-content{
    padding: 10px !important;
    width: calc(100% - 20px) !important;
    line-height: 150%;
}

.punbb .post-links ul{
  margin-top: 7px;
}

.pa-posts,
.pa-respect{
    background: #2a2a2a;
    width: 77px;
    padding: 5px 3px;
    text-transform: uppercase;
    font-size: 10px;
    display: inline-block;
    border-radius: 3px;
}

.pa-posts{
 margin-right: 7px !important;
 word-spacing: 80px;
}

.pa-respect a:first-child{
  display: block;
}

.punbb .post{
  margin-bottom: 30px;
}

.punbb .post:last-child{
  margin-bottom: 10px;
}
body{
  min-width:1090px;
}

#pun-main #viewprofile h2 span, #pun-main #profilenav h2 span {
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 14px;
  }

#profilenav:after{
  content:"";
  left: -5px;
  top: 0;
  position: relative;
  display: block;
  background: url(https://i.imgur.com/oB77rsH.png);
  width: 194px;
  height: 11px;
}

#messages{
  width: 838px;
}


#messages .fs-box,
.forum .container,
.category .container,
.statscon,
#userlist fieldset,
#profile form.container,
#pun-online table,
#pun-userlist table,
#vote,
#register,
#login fieldset,
#post.container fieldset{
    border: 3px double #9d9d9d;
    background: #e4e4e4;
    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(245,245,245,1);
    -moz-box-shadow: inset 0px 0px 0px 1px rgba(245,245,245,1);
    box-shadow: inset 0px 0px 0px 1px rgba(245,245,245,1);
    padding: 0 !important;
}

.forum .container{
  padding: 10px !important;
  margin-top: 25px;
}

.statscon,
#userlist fieldset,
#profile form.container,
#vote,
#register,
#login fieldset,
#post.container fieldset{
   padding: 10px !important;
}

.statscon{
    border: 0;
    box-shadow: none;
    background-color: transparent;
}

#messages .fs-box th{
  text-transform: uppercase;
  font-weight: 600;
}

.forum h2,
.forum thead{
  display: none !important;
}

#userlist fieldset legend,
#login fieldset legend,
#post.container fieldset legend{
    padding-left: 15px;
    text-transform: uppercase;
    font-family: Foru;
}

#pun-userlist .main th, #pun-online th {
    font-weight: 600;
    font-size: 12px;
    padding: 10px 0;
    text-transform: uppercase;
    font-family: Oswald;
}


#pun-userlist .main .tcl {
    width: 30% !important;
}

#pun-userlist .main .tc2, #pun-searchtopics .main .tc2 {
    text-align: center;
    width: 30% !important;
    vertical-align: top;
}

#pun-userlist .main .tc3, #pun-searchtopics .main .tc3{
   width: 15% !important;
}

#pun-userlist .main th, #pun-userlist .main td, #pun-online th, #pun-online td {
    background: #efefef;
    padding: 10px;
    text-align: center !important;
}


#pun-messages #profile > .container{
  margin-left: 194px;
}


#pun-index .tclcon > a{
  padding: 5px 10px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 3px;
  background: #d3d7db;
  text-transform: uppercase;
  font-family: Oswald;
  text-shadow: 1px 1px 0px #e8e8e8;
  font-weight: bold;
}

#pun-viewforum .main .container,
#pun-searchtopics .main .container{
  padding: 0 !important;
}

#pun-viewforum .main .container td[colspan="4"]{
  padding:10px 0;
  text-align: center;
}

#poll-special h2, .topic > h2{
  display: none !important;
}

#pun-index .tcr a{
  font-family: Oswald;
  font-size: 14px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0px #e8e8e8;
}

body{
  background-image: url('https://i.imgur.com/RHO1GHQ.jpg') !important;
  background-color: #272727 !important;
}

#pun-redirect{
  float: none !important;
  margin: 0 !important;
  padding-top: 50px !important;
  width: 100% !important;
  height: 100vh !important;
  background-image: url('https://i.imgur.com/RHO1GHQ.jpg') !important;
  background-color: #272727 !important;
}

#pun-redirect #pun-main{
    background-color: #dcdcdc;
    background-image: url("http://i.imgur.com/2UB1ZEG.png") !important;
    background-size: 1086px 214px;
    padding: 0 20px;
    width: 1046px;
}

#pun-redirect #pun-main:before{
	content: "";
	background-image: url("http://i.imgur.com/OWCC6YC.png");
    background-size: 1086px 80px;
    height: 80px;
    margin-left: -20px;
    width: 1086px;
    display: block;
}

#pun-redirect #pun-main:after{
    content: "";
    background-image: url("http://i.imgur.com/E7FR5eb.jpg");
    background-size: 1086px 80px;
    height: 80px;
    margin-left: -20px;
    margin-top: -60px;
    width: 1086px;
    display: block;
}

#pun-redirect #pun-main h1{
	margin-top: -60px;
}

.punbb .post .post-author p,
.pa-author{
  line-height: 36px;
  height: 36px;
text-transform: uppercase;
    font-size: 12px;
    font-weight: normal !important;
    color: #fbfbfb !important;
    font-family: Oswald !important;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}

#form-buttons table tr td,
.post-sig table tr td{
  background-color: transparent !important;
}

.punbb td .modlist,
.mini_awards_label{
  display: none !important;
}

.pl-share{
      left: 462px !important;
}

.pa-fld1{
    padding: 8px !important;
    text-align: justify;
    font-size: 11px;
    margin-right: 0 !important;
}

.pa-fld1 a{
   text-transform: uppercase;
   font-family: Oswald;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}

#pun-messages #post-form{
  width: 825px;
}

.punbb .category{
  margin-bottom: 15px;
}

.punbb .post-links li.pl-share{
  position: relative !important;
  float: none !important;
  left: 0 !important;
}

.lastedit{
  display: none;
}

// Ленточки в профиле
li.pa-fld2{
    text-align: right;
    position: absolute;
    top: 36px;
    right: 7px;
}

.post-sig{
    background: url(https://i.imgur.com/bWLT8oX.png) center top no-repeat;
    padding-top: 45px !important;
    margin-top: 20px !important;
}

.post-content a{
     font-weight: 600;
    color: #470000 !important;
}

#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
    right: 6px;
    top: 44px;
    padding: 10px;
    background: #dcdcdc;
    border: 3px double #9d9d9d
}

.char-info a,
.charinfo b {
	text-transform: none;
    font: inherit;
    font-weight: 600;
    color: #fbfbfb !important;
}

.char-info a {
    font-style: oblique;
    transition: all 0.3s ease-in;
}

.prof-menu .char-info a:hover {
	color: #FFF !important;
	transition: all 0.3s ease-in;
}

.money {
    text-align: center;
    margin: 15px 0 !important;
    padding: 10px;
    border: 1px solid #252525;
    border-width: 1px 0;
    color: #d0d0d0;
}

.money b {
	color: #dcdcdc;
}

.char-links {
    text-align: center;
    font-size: 17px;
}

.char-links a {
    border-bottom: 3px solid #333;
    margin: 0 15px;
    transition: all 0.3s ease-in;
}

.char-links a:hover {
	color: #fbfbfb !important;
	border-color: #555;
	transition: all 0.3s ease-in;
}

blockquote {
    padding: 1em 1em 0 1em;
}

#pun-adnav {
  margin-left: 0 !important;
  margin-right: 19px !important;
  position: relative;
  z-index: 100;
}

.admain {
  padding: 0 20px !important;
  margin: 0 auto !important;
}

.blockcode pre {
  padding: 10px;
}

.punbb .formal fieldset .post-box {
  border: 0;
  box-shadow: none;
}

#pun-profile legend{
border: 0;
background: transparent;
}