/* Design made by Neverains
neverains.tumblr.com, icq 641970359
code version: 4.0
-------------------------------------------------------------*/
/* 0. Import */
@import url("style_cs.1553025826.css");

@font-face {
  font-family: "AlgeriusCapsNr";
  src: url("http://forumfiles.ru/files/0019/6b/5b/85899.woff") format("woff"), url("http://forumfiles.ru/files/0019/6b/5b/30174.ttf") format("truetype"), url("http://forumfiles.ru/files/0019/6b/5b/69029.svg") format("svg");
}
/* 0. Background */
body {
    background: url(http://forumfiles.ru/files/0014/ce/cd/74832.jpg) top center no-repeat, url(http://forumfiles.ru/files/0014/ce/cd/49972.jpg) top center repeat-x, #001b21;
}
#pun_wrap {
    background: url(http://imgin.ru/images/9171d8977da84d18d4632088564a7574.gif) top 106px left 276px no-repeat, url(http://forumfiles.ru/files/0019/55/6e/79828.jpg) top center no-repeat, url(http://forumfiles.ru/files/0019/55/6e/53829.png) bottom center no-repeat;
  padding-bottom: 90px;
}
#pun {
  overflow: hidden;
}
#pun .punbb {
    width: 1050px;
    margin: -10px -25px;
    padding: 10px 75px;
    box-shadow: black 0 0 14px;
    background: url(http://forumfiles.ru/files/0014/ce/cd/45558.jpg) left top 10px repeat-y, url(http://forumfiles.ru/files/0014/ce/cd/99440.jpg) right top 10px repeat-y, url(http://imgin.ru/images/3e3fdccf3b921ef6cc2dd6a900af3360.jpg) center top #c9c3bb;
}
#html-footer {
  position: absolute;
}
#html-footer #banners {
  margin-top: 25px;
  overflow-y: auto;
  width: 770px;
  height: 34px;
}
#html-footer #banners a {
  filter: saturate(40%);
  opacity: 0.5;
}
#html-footer #banners a:hover {
  filter: saturate(100%);
  opacity: 1;
}
#html-footer a#neverains {
  width: 150px;
  height: 40px;
  display: block;
  margin: -5px 0 0px 777px;
  position: absolute;
}
/* 1. Text and others colors */
body {
  color: black;
  text-shadow: none;
}
body a,
body input.button {
  color: #2c5b65;
}
body a:hover,
body input.button:hover {
  color: #438b9a;
}
::-webkit-scrollbar-track {
  background-color: #b7b7b7;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #d0d0d0;
}
::selection {
  background: none repeat scroll 0 0 #0d0d0c;
  color: #d8d3c1;
}
::-moz-selection {
  background: none repeat scroll 0 0 #0d0d0c;
  color: #d8d3c1;
}
.context-frame {
  border: 8px solid;
  border-image: url("https://image.ibb.co/etGxUc/frame1.png") 8 repeat repeat;
  padding: 1em;
  margin: 0.5em 0;
}
/* 2. Headers and navigation */
h1,
h2,
#pun-messages #profile legend {
  height: 72px;
  min-width: 728px;
  padding-top: 18px;
  text-align: center;
  display: table;
  margin: auto;
  border: solid;
  border-width: 0px 100px;
  border-image: url("https://image.ibb.co/b0rQQo/cate.png") 0 100 fill stretch;
}
h1 span,
h2 span,
#pun-messages #profile legend span,
h1 strong,
h2 strong,
#pun-messages #profile legend strong {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 20px;
}
#pun-navlinks {
  margin-top: -383px;
  margin-left: 399px;
  width: 500px;
  font-size: 0px;
  text-align: left;
  position: absolute;
}
#pun-navlinks li a:before {
  content: " ";
  background-position-y: 36px;
  position: absolute;
  opacity: 0;
}
#pun-navlinks li a,
#pun-navlinks li a:before {
  display: block;
  height: 36px;
  background-image: url("http://forumfiles.ru/files/0019/55/6e/79294.png");
  transition-duration: 1s;
}
#pun-navlinks li:hover a:before {
  opacity: 1;
}
#pun-navlinks li#navindex a,
#pun-navlinks li#navindex a:before {
  width: 67px;
}
#pun-navlinks li#navuserlist a,
#pun-navlinks li#navuserlist a:before {
  width: 94px;
  background-position-x: -67px;
}
#pun-navlinks li#navsearch a,
#pun-navlinks li#navsearch a:before {
  width: 61px;
  background-position-x: -161px;
}
#pun-navlinks li#navregister a,
#pun-navlinks li#navregister a:before {
  width: 104px;
  background-position-x: -222px;
}
#pun-navlinks li#navlogin a,
#pun-navlinks li#navlogin a:before {
  width: 61px;
  background-position-x: -326px;
}
#pun-navlinks li#navpr_1 a,
#pun-navlinks li#navpr_1 a:before {
  width: 76px;
  background-position-x: -387px;
}
#pun-navlinks li#navprofile a,
#pun-navlinks li#navprofile a:before {
  width: 79px;
  background-position-x: -467px;
}
#pun-navlinks li#navpm a,
#pun-navlinks li#navpm a:before {
  width: 92px;
  background-position-x: -546px;
}
span.num_msg {
    margin: -44px 80px !important;
}
span.num_msg, span.num_msg:before {
    background-color: #85acb4 !important;
}
#pun-navlinks li#navlogout a,
#pun-navlinks li#navlogout a:before {
  width: 67px;
  background-position-x: -638px;
}
#pun-navlinks li#navadmin a {
  position: absolute;
  left: -510px;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px, #000 0px 0px 5px, #000 0px 0px 5px;
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 17px;
  background: none;
}
#pun-navlinks li#navadmin a:before {
  content: "";
}
#pun-ulinks {
  text-align: left;
  position: absolute;
  margin-top: -350px;
  margin-left: 420px;
  font-size: 0px;
  padding-top: 5px;
  width: 500px;
}
#pun-ulinks li {
  transition-duration: 0.5s;
  padding: 0 8px;
  height: 15px;
  opacity: 0.6;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.01), transparent 70%);
}
#pun-ulinks li:hover {
  opacity: 0.99;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.2), transparent 70%), rgba(162, 157, 152, 0.2);
}
#pun-ulinks li a {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 11px;
}
#pun-ulinks .item3,
#pun-ulinks li.item6 + li.item7 {
  display: none;
}
/* 3. Greeting and breadcrumbs */
div#pun-status {
  position: absolute;
  margin-top: -1.5em;
}
.crumbs {
  font-size: 1.1em;
  padding: 1em 0;
  font-weight: bold;
}
/* 4. Statistics */
/* 5. Profile page, inputs */
input:not(.button),
textarea,
select {
  background-color: #d3cfc6;
  border: 1px solid #a29d98;
  border-radius: 4px;
}
input:not(.button):focus,
textarea:focus,
select:focus,
input:not(.button).hot,
textarea.hot,
select.hot {
  outline-color: transparent;
  box-shadow: #dedbd4 0px 0px 5px;
}
.checkfield > input[id],
.radiofield > input[id],
.radiofield .radio > input[id] {
  display: none;
}
.checkfield > input[id] + label:before,
.radiofield > input[id] + label:before,
.radiofield .radio > input[id] + label:before {
  content: ' ';
  background-color: #d3cfc6;
  border: 1px solid #a29d98;
  display: inline-block;
  margin: 0px 2px 4px;
  width: 15px;
  height: 15px;
  vertical-align: middle;
  box-sizing: border-box;
  line-height: 0%;
}
.checkfield > input[id][type="checkbox"] + label:before,
.radiofield > input[id][type="checkbox"] + label:before,
.radiofield .radio > input[id][type="checkbox"] + label:before {
  font-size: 12px;
  padding: 7px 2px 0;
  border-radius: 4px;
}
.checkfield > input[id][type="checkbox"]:checked + label:before,
.radiofield > input[id][type="checkbox"]:checked + label:before,
.radiofield .radio > input[id][type="checkbox"]:checked + label:before {
  content: '\2714';
  background-color: #dedbd4;
}
.checkfield > input[id][type="radio"] + label:before,
.radiofield > input[id][type="radio"] + label:before,
.radiofield .radio > input[id][type="radio"] + label:before {
  border-radius: 40px;
  font-size: 27px;
  padding: 6px 0 0 0.7px;
}
.checkfield > input[id][type="radio"]:checked + label:before,
.radiofield > input[id][type="radio"]:checked + label:before,
.radiofield .radio > input[id][type="radio"]:checked + label:before {
  content: '\2981';
  background-color: #dedbd4;
}
form#post {
  position: relative;
}
form#post .container {
  background-color: #d3cfc6;
  border: 1px solid #a29d98;
  padding: 0.5em;
}
form#post fieldset {
  border: none;
}
li.isactive {
  border: 8px solid;
  border-image: url("https://image.ibb.co/etGxUc/frame1.png") 8 repeat repeat;
  padding: 1em;
  margin: 0.5em 0;
  padding: 0.3em !important;
  margin-left: -10px !important;
  margin-bottom: 2px !important;
}
.category .tcl,
.forum .tcl {
  padding: 0;
}
.forum .tcl strong a,
.forum .tcl > a:first-of-type,
.forum .tclcon > *:not(.newtext) + a:first-of-type {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  text-shadow: none;
  font-size: 16px;
  display: block;
}
span.byuser {
  display: block;
  margin-left: -0.3em;
}
#pun-index .category table tbody tr td.tcl,
.forum table tbody tr td.tcl,
#messages table tbody tr td.tcl {
  background: url("https://image.ibb.co/dM8GWT/iold.png") no-repeat 100% 50%;
  height: 60px;
  padding-right: 75px;
}
#pun-index .category table tbody tr.iclosed td.tcl,
.forum table tbody tr.iclosed td.tcl,
#messages table tbody tr.iclosed td.tcl {
  background-image: url("https://image.ibb.co/eEbQQo/iclo.png");
}
#pun-index .category table tbody tr.inew td.tcl,
.forum table tbody tr.inew td.tcl,
#messages table tbody tr.inew td.tcl {
  background-image: url("https://image.ibb.co/kmA8d8/inew.png");
}
#pun-index .category table tbody tr.isticky td.tcl,
.forum table tbody tr.isticky td.tcl,
#messages table tbody tr.isticky td.tcl {
  background-image: url("https://image.ibb.co/hor3BT/istycky.png");
}
#pun-stats ul.container:before {
  content: ' ';
  width: 60px;
  height: 60px;
  background: url(https://image.ibb.co/hor3BT/istycky.png);
  display: block;
  float: left;
  margin-top: -4px;
  margin-right: 4px;
}
div.icon {
  float: right;
  margin-top: 15px;
  margin-right: -15px;
}
div.icon[data-new-topics]:before,
.subforums span[data-new-topics]:before {
  background: #35221c !important;
  color: #d4d1c5 !important;
}
#pun-index .category .tclcon {
  text-align: center;
  border: 5px solid;
  border-image: url("https://image.ibb.co/mVDOO8/contexxt_frame.png") 5 repeat repeat;
  background: url("https://image.ibb.co/b0rQQo/cate.png") top -12px center no-repeat, url("http://image.ibb.co/hPJRi8/back2.jpg") #2c5b65;
  margin: 10px 0;
}
#pun-index .category .tclcon h3 {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: black 0 0 2px;
  font-size: 20px;
  margin: 7px 0;
}
#pun-index .category .tclcon h3 a {
  color: rgba(255, 255, 255, 0.85);
}
#pun-index .category .tclcon h3 a:hover {
  color: #ffffff;
}
#pun-index .category .tclcon .forum_links {
  text-align: center;
  margin-bottom: -13px;
}
#pun-index .category .tclcon .forum_links li {
  display: inline-block;
  transition-duration: 0.5s;
  padding: 0 8px;
  height: 17px;
  opacity: 0.8;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.01), transparent 70%);
}
#pun-index .category .tclcon .forum_links li:first-of-type,
#pun-index .category .tclcon .forum_links li:not(.pl-email) {
  border-left: 1px #a29d98 solid;
}
#pun-index .category .tclcon .forum_links li:last-of-type,
#pun-index .category .tclcon .forum_links li.pl-email {
  border-right: 1px #a29d98 solid;
}
#pun-index .category .tclcon .forum_links li:hover {
  opacity: 0.99;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.2), transparent 70%), rgba(162, 157, 152, 0.2);
}
#pun-index .category .tclcon .forum_links li a {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 12px;
  padding-top: 1px;
}
#pun-index .category .tclcon .forum_description {
  border: 5px solid;
  border-image: url("https://image.ibb.co/kBNEdJ/rope_frame.png") 5 repeat repeat;
  background: url("https://image.ibb.co/c9OiBT/pun_back.png") center top #c9c3bb;
  padding: 10px;
  filter: brightness(95%);
  font-family: arial;
  font-style: italic;
  margin: 13px 10px 10px;
}
.forum_description + br {
  display: none;
}
/* 7. Topic page */
.quote-box,
.code-box {
  border: 8px solid;
  border-image: url("https://image.ibb.co/etGxUc/frame1.png") 8 repeat repeat;
  padding: 1em;
  margin: 0.5em 0;
  background: rgba(0, 0, 0, 0.05);
  background-clip: padding-box;
}
.quote-box cite,
.code-box cite,
.quote-box strong.legend,
.code-box strong.legend {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  opacity: 0.7;
  text-shadow: none;
  font-size: 15px;
}
.post h3 {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  font-size: 12px;
  padding-top: 4px;
  padding-bottom: 8px;
}
.post-author {
  color: rgba(255, 255, 255, 0.75);
  text-shadow: black 0 0 2px;
  padding-bottom: 10px;
  margin: 50px 0 10px -10px;
  background: url("http://image.ibb.co/hPJRi8/back2.jpg") #2c5b65;
  border: 5px solid;
  border-image: url("https://image.ibb.co/mVDOO8/contexxt_frame.png") 5 repeat repeat;
  min-height: 50px;
}
.post-author a {
  color: rgba(255, 255, 255, 0.85);
}
.post-author a:hover {
  color: #ffffff;
}
.post-author:before {
  content: " ";
  background: url("https://image.ibb.co/h2hHi8/profile_top.png");
  width: 220px;
  height: 108px;
  display: block;
  margin-left: -5px;
  margin-top: -69px;
  position: absolute;
}
.post-author .pa-fld1 {
  position: absolute;
  margin-top: -64px;
  width: 210px;
}
.post-author .pa-author {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 20px;
  margin-top: 3px;
}
.post-author .pa-author strong {
  font-weight: 100;
}
.post-author .pa-title {
  font-size: 0.9em;
  margin-top: 10px;
  position: relative;
}
.post-author .pa-avatar {
  margin: 5px auto 10px;
  display: table;
  font-size: 0;
  border: 4px solid;
  border-image: url("https://image.ibb.co/mVDOO8/contexxt_frame.png") 4 repeat repeat;
}
.post-author .pa-fld2 {
  color: black;
  text-shadow: none;
  border: 5px solid;
  border-image: url("https://image.ibb.co/kBNEdJ/rope_frame.png") 5 repeat repeat;
  background: url("https://image.ibb.co/c9OiBT/pun_back.png") center top #c9c3bb;
  padding: 10px;
  filter: brightness(95%);
  margin: 0 10px;
}
.post-author .pa-fld2 a,
.post-author .pa-fld2 input.button {
  color: #2c5b65;
}
.post-author .pa-fld2 a:hover,
.post-author .pa-fld2 input.button:hover {
  color: #438b9a;
}
.post-author .pa-fld2 a {
  color: #61352b;
}
.post-author .pa-fld2 a:hover {
  color: #8e4f41;
}
.post-author .pa-fld2 .lz-name {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}
.post-author .pa-fld2 .inc1 {
  font-family: arial;
  font-style: italic;
}
.post-author .pa-fld2 br {
  display: none;
}
.post-author .pa-fld3 {
  background: url("https://image.ibb.co/hyhrQy/pink.png") center top;
  height: 56px;
  padding: 13px 0;
  margin: -4px 0 -6px;
}
.post-author .pa-posts,
.post-author .pa-respect {
  display: inline-block;
  padding: 3px;
}
hr {
  background: #91876f;
  height: 1px;
  margin: 3px 7px;
}
.post-body {
  padding-bottom: 0;
  margin-top: 0px;
}
.post-body .post-box {
  padding-bottom: 45px;
}
/* 8. Links top&bottom */
.post-links {
  width: 954px;
  height: 27px;
  background: url("https://image.ibb.co/ewhMy8/divider.png");
  margin-left: -27px;
  padding: 5px 20px;
}
.post-links li {
  display: inline-block;
  transition-duration: 0.5s;
  padding: 0 8px;
  height: 17px;
  opacity: 0.8;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.01), transparent 70%);
}
.post-links li:first-of-type,
.post-links li:not(.pl-email) {
  border-left: 1px #a29d98 solid;
}
.post-links li:last-of-type,
.post-links li.pl-email {
  border-right: 1px #a29d98 solid;
}
.post-links li:hover {
  opacity: 0.99;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.2), transparent 70%), rgba(162, 157, 152, 0.2);
}
.post-links li a {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 12px;
  padding-top: 1px;
}
.pagelink strong,
.modmenu strong a,
.linkst a,
.linksb a,
select#mod-options,
input.button,
button {
  background-color: #d3cfc6;
  border: 1px solid #a29d98;
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  display: inline-block;
  border-radius: 4px;
  padding: 3px 5px;
  color: black !important;
  font-size: 13px;
}
.pagelink strong:hover,
.modmenu strong a:hover,
.linkst a:hover,
.linksb a:hover,
select#mod-options:hover,
input.button:hover,
button:hover {
  background-color: #e9e7e3;
}
.pagelink strong {
    background-color: #e9e7e3;
    font-weight: 100;
    box-shadow: white 0 0 3px, white 0 0 3px;
}
.pagelink a,
.pagelink strong {
  margin: 0 1px;
  padding: 2px 5px;
  min-width: 18px;
  text-align: center;
}
.post-rating {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  font-size: 13px;
  margin-top: 11px;
}

/* Inline headers */
.post-content h1, .post-content h2 {
  min-width: inherit;
  max-width: 650px;
  display: block;
  box-shadow: 0 1px 14px;
  height: 34px;
  padding-top: 6px;
  border-width: 0;
  border-image: url(https://image.ibb.co/b0rQQo/cate.png) 13 100 25 fill repeat;
  margin-bottom: 1em;
}

.post-content h2 {
  filter: hue-rotate(180deg) grayscale(30%);
}

/* 9. Admin */
#pun-admain fieldset {
  border: 8px solid !important;
  border-image: url("https://image.ibb.co/etGxUc/frame1.png") 8 repeat repeat !important;
  padding: 1em !important;
  margin: 0.5em 0 !important;
}
#pun-admain h2 {
  margin-top: -20px !important;
  padding-top: 20px !important;
}
#pun-admain h2 span {
  font-size: 1.5em !important;
}
#pun-admain a {
  color: #2c5b65 !important;
}
#pun-admain a:hover {
  color: #438b9a !important;
}
/* 10. Redirect */
#pun-redirect.punbb {
  background: url("https://image.ibb.co/fJe1y8/background.jpg") center top repeat #a29d98;
  margin: 0;
}
#pun-redirect.punbb #pun-main .info {
  border: 5px solid;
  border-image: url("https://image.ibb.co/kBNEdJ/rope_frame.png") 5 repeat repeat;
  background: url("https://image.ibb.co/c9OiBT/pun_back.png") center top #c9c3bb;
  padding: 10px;
  filter: brightness(95%);
}
#pun-redirect.punbb h1 {
  margin-left: -15px;
}
/* 11. Arrows */
#arrows {
  position: fixed;
  right: 1%;
  bottom: 50%;
}
#arrows > * {
  width: 30px;
  height: 60px;
  margin-bottom: -13px;
  display: block;
}
#arrows > *#nav_up {
  background: url("https://image.ibb.co/hb47oJ/arrow_top.png") no-repeat;
}
#arrows > *#nav_down {
  background: url("https://image.ibb.co/hRZe2d/arrow_down.png") no-repeat;
}
#arrows > *:hover {
  filter: brightness(150%);
}

/* 12. Messages */
div#messanger1 h2, div#messanger1 h1 {
    width: inherit;
    border: none;
    min-width: 0;
}

/* 13. Announcement */
#greeting {
  position: absolute;
  width: 290px;
  top: 136px;
  text-align: center;
  margin-left: 430px;
}
#greeting img {
  filter: saturate(40%);
  opacity: 0.5;
  transition-duration: 0.5s;
}
#greeting img:hover {
  filter: saturate(100%);
  opacity: 1;
}
#links {
  margin-top: -51px;
  position: absolute;
  text-align: center;
  width: 900px;
}
#links li {
  display: inline-block;
  transition-duration: 0.5s;
  padding: 0 8px;
  height: 17px;
  opacity: 0.8;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.01), transparent 70%);
}
#links li:first-of-type,
#links li:not(.pl-email) {
  border-left: 1px #a29d98 solid;
}
#links li:last-of-type,
#links li.pl-email {
  border-right: 1px #a29d98 solid;
}
#links li:hover {
  opacity: 0.99;
  background: radial-gradient(at bottom, rgba(255, 255, 255, 0.2), transparent 70%), rgba(162, 157, 152, 0.2);
}
#links li a {
  font-family: "AlgeriusCapsNr";
  text-decoration: none;
  font-weight: 100;
  text-transform: none;
  transform: scaleY(0.9);
  display: block;
  text-shadow: #000 0px 0px 3px, #000 0px 0px 5px;
  color: white;
  opacity: 0.7;
  font-size: 12px;
  padding-top: 1px;
}
#persons {
  font-size: 0;
}
#persons a {
  display: inline-block;
  margin: -12px -6.5px;
  opacity: 0.9;
}
#persons a:before {
  content: ' ';
  display: block;
  position: absolute;
  width: 73px;
  height: 73px;
  background: url("https://image.ibb.co/fDApmT/frame.png");
  z-index: 10;
}
#persons a img {
  margin: 15px;
  width: 43px;
  height: 43px;
  filter: grayscale(60%);
}
#persons a:hover {
  filter: brightness(120%);
}
#persons div {
  position: absolute;
}
#persons #ams {
  top: 157px;
  width: 190px;
  margin-left: 759px;
}
#persons #active {
  top: 152px;
  width: 80px;
  margin-left: -50px;
}
#persons #search {
  top: 289px;
  margin-left: 444px;
}

/* Modal window */
.pun-modal .modal-inner {
  border: 5px solid;
  border-image: url("https://image.ibb.co/kBNEdJ/rope_frame.png") 5 repeat repeat;
  background: url("https://image.ibb.co/c9OiBT/pun_back.png") center top #c9c3bb;
  padding: 10px;
}

.pun-modal .container {
  overflow-x: hidden !important;
}

/* закладки */

.editBookmark .container {
  margin-top: -5px;
  background-color:#3d7d89;
  }
  
#pun-main .editBookmark h1{
    background-color:#3d7d89;
    height: 62px;
    padding-top: 15px;
    text-align: center;
    border: solid;
    border-width: 0px 00px;
    border-image: url(https://image.ibb.co/b0rQQo/cate.png) 0 100 fill stretch;
  }

.punbb .main .editBookmark h1 span:first-child {
    position: relative ;
    left: -10px ;
    top: 0px ;
    font-size: 1.5em ;
    z-index:999;
}

#BookmCntToggle{
  background: url(http://s3.uploads.ru/Yw2Rq.png) center center no-repeat ;
  width: 27px ; 
  height: 26px ;
  opacity: 1 ; 
  cursor: pointer;
  z-index: 3; 
  box-shadow: 0 0 6px rgba(0,0,0,.2);
}

#BookmCntToggle:hover{
  opacity:.78;
}
#MyBookmarks
{
  margin-top: 0px !important;
  background-color: #3d808a; /*Цвет под Мои закладки*/
  box-shadow: none !important;
}
#MyBookmarks .container  {
    background: #b7b1a8;
    border: 4px solid #3d808a;
    top: 23px;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
  }

 #MyBookmarks h2 span, #MyBookmarks h1 span, .punbb .main #MyBookmarks h2 {
   font-size: 1.2em;
   width: 200px;
   height: 28px;
}
.punbb .main #MyBookmarks h2, .punbb .main #MyBookmarks h1 {
   padding: 10px 0;
   background: #ef525200;
   color: #fff;
   margin-bottom: -27px;
   border-bottom: none 0 transparent;
   border-image: url(https://image.ibb.co/b0rQQo/cate.png) 0 1 fill round;
   border-width: 0px 210px;
   border-left-width: 0;
   border-right-width: 488px;
}

#MyBookmarks span.scrl.t {
    left: 30px !important;
    width:10px;
    z-index:9999;
}

#MyBookmarks span.scrl.b {width: 30px;}

#MyBookmarks span.scrl {
    text-align: center ;
    min-width: 80px;
    cursor: pointer ;
    z-index: 99999 ;
    background-color: inherit;
    color: #063845 !important;
    text-shadow: 0 0 6px #063846 !important;

}

.punbb .main #MyBookmarks h2 span {
  text-align: center;
}

#MyBookmarks h2 strong,#MyBookmarks h1 strong {
  position: absolute;
  margin: -20px 0 0 158px !important;
}

/* Выравнивание поста по ширине */ 
div.post-box 
{text-align: justify;}