/* ------ÂÑÅ ÔÎÍÎÂÛÅ ÊÀÐÒÈÍÊÈ------ */

html {background: #1f2839 url("https://i.ibb.co/qNyjm0f/85354-2.jpg") repeat-y scroll center top;}
#pun {background: transparent url("https://i.ibb.co/ZHgt5Fk/430417-4.jpg") repeat-y scroll center top;}
#pun-announcement {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/326834.jpg") repeat scroll 0 0;}
#pun-announcement h3 {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/677190.jpg") repeat-x scroll center bottom;}
#dop-content {background: transparent url("https://forumupload.ru/uploads/000d/03/3f/8/111638.jpg") no-repeat scroll center top;}
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2 {background: rgba(0, 0, 0, 0) url("https://i.ibb.co/D9XhpSK/213726.jpg") no-repeat scroll center top;}
#cpt {background: rgba(0, 0, 0, 0) url("https://i.ibb.co/bs2YkXg/65215.jpg") no-repeat scroll center bottom;}
.punbb .icon, .punbb #messages .icon .intd .icon, .punbb #messages .intd .icon {background-image: url("https://forumupload.ru/uploads/000d/03/3f/8/706672.png");}
.punbb .category .icon {background-image: url("https://forumupload.ru/uploads/000d/03/3f/8/90176.png");}
.punbb .linksb, .punbb .post-links {background: rgba(0, 0, 0, 0) url("https://i.ibb.co/D9XhpSK/213726.jpg") no-repeat scroll center top;}
.punbb .post .post-author {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/101581.png") no-repeat scroll center bottom;}
.punbb .post .post-author ul {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/673750.jpg") repeat-y scroll center top;}
.punbb .post .post-author li.pa-author {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/184387.png") no-repeat scroll center top;}
.punbb .post .post-author p.pa-author, #pun-searchposts .post .post-author li.pa-author {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/184387.png") no-repeat scroll center top;}
#pun-redirect {background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/811401.jpg") no-repeat scroll center top;}
/* ------ÊÎÍÅÖ ÔÎÍÎÂÛÕ ÊÀÐÒÈÍÎÊ------ */


/********** ÑÒÈËÜ "MyBB Forgotten Realms" © ForumD **********/
 /********** Çàêàç äèçàéíà è îáðàòíàÿ ñâÿçü: https://forumd.ru **********/
#pun {    
    margin: 517px auto 0;
    width: 980px;
}
.punbb {
    float: left;
    height: auto;
    margin-left: 13px;
    width: 954px;
  }

#pun-title, #pun-announcement h2, #pun-live-rusff, #similar-topics {display: none;}

#pun-navlinks, #pun-navlinks .container {
  border-style: none;
  border-width: 0;
  margin: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%; 
  }
#pun-navlinks .container {
    background-color: #2b2928;
    border-bottom: 2px solid #000;
    height: 48px;
    padding-top: 8px;
    text-align: center;
}
#pun-navlinks {
height: 58px;
    background-color: #2b2928;
    border-bottom: 1px solid #8f7a69;
}
#pun-navlinks li {
    display: inline;
    font-size: 15px;
    margin: 0 10px;
    text-transform: uppercase;
}
#pun-navlinks a, #pun-ulinks li a, #pun-announcement a, .punbb #pun-main .linkst a, .punbb #pun-main .linksb a, .punbb .post .post-author a, .punbb .post-links ul a {
  color: #aa7a53;
  text-decoration: none
  }
#pun-ulinks {margin-top: -96px;}
#pun-ulinks .container {
    background-color: transparent;
    border: medium none;
    left: 0;
    position: absolute;
    text-align: center;
    top: 32px;
    width: 100%;
  }
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks li a:hover, #pun-ulinks li a:focus, #pun-ulinks li a:active, #pun-announcement a:hover, #pun-announcement a:focus, #pun-announcement a:active, .punbb #pun-main .linkst a:hover, .punbb #pun-main .linksb a:hover, .punbb .post .post-author a:hover, .punbb .post-links ul a:hover {color: #cfa046;}
#pun-ulinks li {display: inline; margin: 0 10px;}

/* Îáúÿâà */
#pun-announcement {
    height: 325px;
    margin-bottom: 0;
    margin-left: -12px;
    padding: 8px;
    position: relative;
    top: -14px;
    width: 964px;
}
#pun-announcement, .linkst, .linksb {color: #977f6c; }
#text-col {width: 278px; height: 256px;margin-right: 4px !important;}
#menu-col {width: 166px; height: 256px;margin-right: 4px !important;}
#pic-col1 {margin-right: 4px !important;}
#pic-col1 .ann-bl, #pic-col2 .ann-bl {width: 224px; height: 120px;}
#pic-col1 .pic-bl {margin-top: 4px}
#pic-col2 .pic-bl {margin-bottom: 4px}
.ann-bl {
    background-color: #111;
    border: 2px solid #4e3928;
    box-shadow: 0 0 5px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    overflow: hidden;
    padding: 4px;
    text-overflow: ellipsis;
}
.ann-col {display: inline-block;}

#pun-announcement h3 {
    font-size: 15px;
    margin-bottom: 5px;
    padding-bottom: 2px;
    text-transform: uppercase;
}
.mini-img {
    border: 1px solid #4e3928 !important;
    border-radius: 50px;
    height: 55px;
    margin: 2px 4px !important;
    width: 55px;
    box-shadow: 0 0 3px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.large-img {
    height: 128px;
    width: 232px;
}
.mini-img:hover, .ann-bl.pic-bl:hover {box-shadow: 0 0 3px #920000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;}
#pun-announcement .ann-bl.pic-bl {
    height: 128px;
    padding: 0;
    width: 232px;
}
#menu-col a {
    background-color: #28201d;
    border-top: 1px solid #352c25;
    display: block;
    margin: 2px 0 6px;
    padding: 10px 6px;
}
#menu-col a:hover {background-color: #221d19;}
#dop-content {    
    height: 24px;
    margin-left: -10px;
    margin-top: -5px;
    overflow: hidden;
    padding: 30px;
    text-overflow: ellipsis;
    width: 922px;
    text-align: center;
}


.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-status, .crumbs {
  color: #28211b;
  }
.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: #632d00
  }
.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: #ba0000;
  }
.punbb .divider {
  border-color: #977f6c #f5eac9 #f5eac9 #f5eac9
  }
li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #977f6c
  }
li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #f5eac9
  }
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2 {
    color: #7f6a58;
    font-size: 15px;
    height: 24px;
    margin-left: -14px;
    overflow: hidden;
    padding: 30px;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    width: 922px;
  }
.punbb th {
background-color: #111;
color: #56473a;
font-size: 11px;
padding: 0.4em 1em;
}
.punbb .main td {
border-top: 1px solid #554a31;
border-bottom: 1px solid #554a31;
  padding: 0.8em;
    vertical-align: top;
  }

#cpt {
    color: #6c6c6c;
    height: 60px;
    margin-left: -27px;
    width: 1008px;
}
#cpt .container {
    padding: 30px 30px 0;
    text-align: center;
}
#cpt a {color: #acacac; text-decoration: none;}
#cpt a:hover {color: #ddd;}

.punbb .icon, .punbb #messages .icon .intd .icon, .punbb #messages .intd .icon {
    display: block;
    float: left;
    height: 38px;
    margin: -5px 4px -6px -8px;
    width: 36px;
}
div.icon, .punbb #messages div.icon {background-position: 0 -82px;}
.inew div.icon, .punbb #messages .icon.inew .intd div.icon {background-position: 0 -40px;}
.isticky div.icon {background-position: 0 0;}
.iclosed div.icon {background-position: 0 -122px;}
.punbb .category .icon {
    height: 58px;
    width: 84px;
background-position: 0 -10px;
}
.punbb .category .inew .icon {background-position: 0 -80px;}

.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  height: 0;
  }
.linkst .pagelink {
    left: 20px;
    position: absolute;
    top: -40px;
    width: auto;
  }
.linkst .postlink {
  position: absolute;
  top: -40px;
  right: 20px;
  width: auto;
  text-align: right;
  }
.punbb .linksb, .punbb .post-links {
    height: 84px;
    margin-left: -14px;
    width: 982px;
}
.punbb .linksb {text-align: right;}
.linksb .pagelink {
    float: left;
    left: 35px;
    position: relative;
    text-align: left;
    top: 20px;
    width: auto;
  }
.linksb .postlink {
  float: right;
  width: auto;
    right: 35px;
    top: 20px;
    position: relative;
  }
.subscribelink {
    clear: both;
    padding-right: 100px;
    padding-top: 4px;
  }

/* Ïîñòû */
.punbb .post .post-author {
    color: #7f6a58;
    float: left;
    margin-left: 1px;
    margin-top: -1.5em;
    overflow: hidden;
    padding-bottom: 44px;
    position: relative;
    width: 245px;
  }
.punbb .post .post-author ul {
    margin-top: 20px;
    padding: 0 22px;
text-align: center;
}
#pun-searchposts .post .post-author ul {margin-top: 100px;}
.punbb .post .post-author ul li {text-align: left;}
.punbb .post .post-author ul .post-ul-Sp {margin-top: -5px; padding: 0;}
.punbb .post .post-author li.pa-author {
    height: 128px;
    left: 5px;
    position: absolute;
    top: 0;
    width: 235px;
    z-index: 1;
text-align: center;
padding-top: 24px;
  }
.punbb .post .post-author p.pa-author, #pun-searchposts .post .post-author li.pa-author {
    height: 100px;
    padding: 24px 5px 0;
    text-align: center;
    top: 0;
    width: 235px;
    z-index: 1;
}
.punbb .post .post-author p.pa-author {left: 5px;}
#pun-searchposts .post .post-author li.pa-author {left: 0;}
.punbb .post .post-author .pa-author a, .punbb .post .post-author p.pa-author, .punbb .post .post-author .pa-author {
    color: #f6db71;
    font-size: 13px;
    text-decoration: none;
    text-shadow: 0 0 3px #000, 1px 1px 0 #b76b31;
    text-transform: uppercase;
} 
.punbb .post .post-author .pa-author a:hover {color: #fff0b6;}
.post-author li {position: relative; z-index: 2;}
.punbb .post .post-author li.pa-title {
    color: #cebe9c;
    margin-bottom: 3px;
    margin-top: 48px;
    text-align: center;
    text-shadow: 0 0 2px #000;
  }
li.pa-avatar {
    background-color: #443429;
    border: 1px solid #111;
    margin: 0 6px;
    text-align: center;
    width: 190px;
}
li.pa-avatar img {
    border: 1px solid #130f0b;
    margin-bottom: -2px;
    margin-top: 1px;
    max-height: 250px;
    max-width: 185px;
}
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  margin-left: 245px;
text-align: right;
  }
.punbb .post h3 strong {
  width: 5em;
  text-align: right;
  font-weight: normal;
}
.punbb .post h3 strong:before {content:'Ñîîáùåíèå#'}
.punbb .post h3 strong:after {content:', Äàòà: '}
.punbb .post-box {padding: 0 1em 1em;}
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #977f6c;
 border-bottom: 1px solid #f5eac9;
  width: 400px;
  margin: 5px 0;
  }
.punbb .post-links ul {
    padding: 30px 30px 0;
    text-align: right;
  }
.punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }
.punbb .post-body {
  margin-left: 245px;
  }
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }
.pl-email, .pl-website {
  float: left;
  }
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }

.punbb legend span {font-style:italic;}
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {color: #524336}

.punbb textarea, .punbb select, .punbb optgroup, #tags .container {
    background-color: #f7f3d9;
    border: 1px solid #aa7a53;
  }
.offline li.pa-online strong {
  font-weight: normal
  }
.punbb .post h3 span, #viewprofile li, #setmods dl  {
  color: #28211b
  }
#post-preview .post-box {max-width: 905px;}
.punbb .quote-box, .punbb .code-box {
  background-color: rgba(255,255,255,0.2);
  color: #28211b
  }
.punbb .quote-box, .punbb .code-box {
  border-color: #977f6c #f5eac9 #f5eac9 #977f6c;
  }
#poll-special h1 {
    background: #111 none repeat scroll 0 0 !important;
    border-radius: 5px;
    height: 10px !important;
    margin: 0;
    min-width: 5px;
    padding: 0;
}
#pun-post .topic .post {border-bottom: 2px solid #554a31;}


#viewprofile h2, #profilenav h2 {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    height: auto;
    margin: 0 14px -0.6em;
    padding: 0;
    width: auto;
  }

.punbb #messages .icon {
    background-image: none;
    display: table-row;
    float: none;
    height: auto;
    margin: 0;
    width: 100%;
}
#profile #messages .fs-box .container {min-height: 250px;}
.punbb #messages table {border: 2px solid #554a31;}
.punbb #messages .linksb {margin-left: -224px;}
.punbb #profile .post-links {margin-left: -224px;}
#profile .container {padding-left: 210px;}

#profilenav {
  float: left;
  width: 14em;
  margin-left: -200px;
  display: inline;
  }

.info {
    font-size: 26px;
    padding-top: 80px;
    min-height: 340px;
    text-align: center;
}
#pun-redirect {
    height: 100%;
    left: 0;
    margin: 0;
    position: absolute;
    top: 0;
    width: 100%;
    min-height: 1000px;
}
#pun-redirect h1 {
    background-image: none;
    height: auto;
    margin: 20px auto;
    padding: 0;
    width: auto;
    font-size: 25px;
}
#pun-redirect #pun-main {
    margin: 0 auto;
    position: relative;
    top: 560px;
    width: 770px;
    height: 250px;
    background-color: #111111;
    border: 3px solid #4f3a29;
    box-shadow: 0 0 3px #000;
}
#pun-redirect .info {
    font-size: 22px;
    min-height: auto;
    padding-top: 0;
}
#pun-redirect .container {color: #58514b;}

/* Ñòèëü ñòðàíèö è Âñïëûâàþùèå îêíà  */
#text-block img {
    border: 2px solid #4e3928;
    box-shadow: 0 0 3px #000;
    float: right;
    margin: 0 0 5px 12px;
}
#text-block img:hover {box-shadow: 0 0 3px #920000;}
#left-sector {
    margin-right: 12px;
    width: 610px;
display: inline-block;
}
#left-sector h3 {
    color: #800000;
    font-size: 22px;
    padding: 10px 0 4px;
    text-transform: uppercase;
}
#left-sector hr {
    border-color: #977f6c #f5eac9 #f5eac9;
    margin: 0 0 8px;
    opacity: 0.6;
}
#right-sector {
    float: right;
    width: 280px;
}
#rs-block {
    background-color: #111;
    border: 2px solid #4e3928;
    box-shadow: 0 0 5px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    overflow: hidden;
    padding: 4px;
    text-overflow: ellipsis;
    margin: 0 3px 18px;
    color: #977f6c;
}
#right-sector h3 {
    background: rgba(0, 0, 0, 0) url("https://forumupload.ru/uploads/000d/03/3f/8/677190.jpg") repeat-x scroll center bottom;
    font-size: 15px;
    margin-bottom: 5px;
    padding-bottom: 2px;
    text-transform: uppercase;
}
#right-sector a {
    color: #aa7a53;
    text-decoration: none;
}
#right-sector a:hover {color: #cfa046;}
#right-sector .rs-menu {
    background-color: #28201d;
    border-top: 1px solid #352c25;
    display: block;
    margin: 2px 0 6px;
    padding: 10px 6px;
}
#right-sector .rs-menu:hover {background-color: #221d19;}

#right-sector .rs-pers img {
    border: 1px solid #4e3928 !important;
    border-radius: 50px;
    box-shadow: 0 0 3px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    height: 28px;
    margin: 2px 4px !important;
    width: 28px;
}
#right-sector .rs-pers img:hover {box-shadow: 0 0 3px #920000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;}
#right-sector .rs-pers span {
    display: inline-block;
    position: relative;
    top: -12px;
}


.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
    background-color: #111;
    border: 3px solid #4e3928;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 30%;
    visibility: hidden;
    z-index: 10;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4);
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4);
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4);

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    line-height: 28px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none !important;
    top: -20px;
    width: 30px;
border: 2px solid #4e3928;

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
}
.close:before {
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(213, 202, 172, 0.8);
   text-decoration: none;
}