/********** A - SETUP **********/

/***** A1 Import the colour scheme and fonts *****/

/* A1.1 */
@import url(style_cs.1679139340.css);

/* A1.2 */

@import url(https://kozhilya.ru/fonts/PresentScriptNormal/font.css);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Noto+Serif&subset=latin,cyrillic-ext);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);

@import url(https://tlkthebeginning.kozhilya.ru/static/skills.css);

/***** A2 Deal with browser defaults and wonkiness *****/

/* A2.1 */
html, body {
    margin: 0;
    padding: 0;
}

/* A2.2 */
.punbb * {
    margin: 0;
}

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
    padding: 0;
    list-style: none;
}

/* A2.4 */
.punbb img {
    border: 0 none transparent;
}

/* A2.5 */
.punbb .main table {
    table-layout: auto;
    width: 100%;
}

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0 0.3em;
}

/* A2.7 */
p[class="checkfield"] *, div[class="checkfield"] *, fieldset[class="radiofield"] * {
    height: 1.8em;
    vertical-align: middle;
}


/***** A3 Text setup *****/

/* A3.1 */
body {
    font: normal 12px "Open Sans";
    overflow-x: hidden;
    padding-bottom: 78px;
    border-top: 1px solid transparent;
}

/* A3.2 */
.punbb {

}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: normal 12px "Open Sans";
    border-radius: 10px;
    border: 0 none transparent;
    padding: 5px 10px;
    /* box-shadow: 0 0 5px var(--block-shadow); */
}

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
    font-size: 1em;
    font-weight: normal;
}

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
    font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
    font: 1.1em/140% monaco, "Consolas", "courier new", courier, monospace;
}

/* A3.7 */
.punbb address, .punbb em {
    font-style: normal;
}

/* A3.8 */
.punbb .post-content em {
    font-style: italic;
}

/* A3.9 */
.punbb .post-content em.bbuline {
    font-style: normal;
    text-decoration: underline;
}

/* A3.10 */
.punbb a {
    text-decoration: none;
}

/* A3.11 */
.punbb optgroup {
    font-weight: bold;
}


/***** A4 Float clearing and hidden items *****/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    line-height: 0.0;
    font-size: 0;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
    font-size: 0;
    height: 0;
    width: 0;
    line-height: 0.0;
    position: absolute;
    left: -9999px;
    overflow: hidden;
}


/***** A5 Basic page layout and borders *****/
/* A5.1 */
#pun {
    margin: 320px auto 0;
    width: 1000px;
    position: relative;
    padding: 0;
    border-width: 25px 25px 0;
    border-style: solid solid none;
    box-sizing: border-box;
}

#pun .pun-modal .modal-inner {
    border-width: 25px;
    border-style: solid;
    overflow: visible;
}

/* A5.2 */
.punbb {
}

/* A5.3 */
.redirect-page #pun {
    border-width: 23px;
    border-style: solid;
}

/* A5.4 */
.punbb .section, .punbb .main {
    /* margin-bottom: 1em; */
}

/* A5.5 */
.punbb .category {
    margin: 60px 0 20px;
    box-sizing: border-box;
}

.punbb .post {
    padding: 0px 0 10px;
    border-style: none none solid;
    border-width: 1px;
    margin: 10px 0;
}

/* A5.6 */
.punbb #pun-category1 {

}

.punbb .post.topicpost {
    margin-top: 0;
}

/* A5.7 */
#pun-post .topic {
    margin-top: 1em;
}

/* A5.8 */
.punbb .section,
.punbb .forum,
.punbb .formal,
.punbb .modmenu,
.punbb .info,
.punbb .category,
.punbb .post,
.punbb .usertable {
    margin-top: 10px;
}

.punbb .usertable {
    margin-top: 20px;
}

.punbb .info {
    text-align: center;
    margin: 40px auto 50px;
}

/* A5.9 */
.punbb .section#pun-stats,
.punbb .main #post-form,
.punbb .main .category,
.punbb .main .post,
.punbb .main .usertable,
.punbb .main .forum,
.punbb#pun-online .main .section,
.punbb#pun-post .main .formal,
.punbb#pun-statistic .main .section,
.punbb .formal,
.punbb .info .container,
.punbb-admin #pun-admain,
.modal#charinfo .modal-window,
.punbb-admin #pun-title {
    /* border-width: 0; */
    /* border-style: none; */
    box-sizing: border-box;
}

/* A5.10 */
.punbb .linkst + .section,
.punbb .linkst + .forum,
.punbb .linkst + .formal,
.punbb .linkst + .modmenu,
.punbb .linkst + .info,
.punbb .linkst + .category,
.punbb .linkst + .post,
.punbb .linkst + .usertable,
.punbb .linkst + .topic .post.topicpost,
.punbb .post.toppost,
#pun-online .main .section {
    /* margin-top: 10px; */
}

/* A5.11 */
#html-footer {
    border-width: 0 25px 60px;
    border-style: none solid solid;
    margin: 10px -25px 0;
    padding: 1px 0 0;
}

/* A5.12 */
.punbb .container {
    border-style: none;
    border-width: 0;
}

/* A5.13 */
.punbb .section h2,
#pun-main h1,
#pun-main h2,
#pun-stats h2,
#pun-debug h2 {
    padding: 27px 1em;
}

#pun .pun-modal .modal-inner h2 {
    margin: -50px -150px 0 !important;
    max-width: none;
}

#pun .pun-modal .modal-inner h2 .closer {
    font: bold 20px "Open Sans";
    margin-top: -25px !important;
}

/* A5.14 */
#pun-stats h2,
.punbb .main h1,
.punbb .main h2,
#pun-debug h2,
.punbb-admin #pun-admain h2 {
    height: 80px;
    box-sizing: border-box;
    text-align: center;
    font: bold 25px/0.75 "Present Script";
}

/* A5.15 */
.category h2,
#pun-stats h2,
#post-form h2,
#pun-statistic .main h1 {
}

#pun-main div.catleft,
#pun-main div.catright {
    display: none;
}

/* A5.16 */
div#poll-special {
    margin: 30px 0;
}

div#poll-special td {
    vertical-align: middle;
    padding: 0 5px;
}

div#poll-special td:nth-child(1) {
    width: 200px;
}

div#poll-special td:nth-child(2) {
    width: 600px;
    padding: 5px;
}

div#poll-special td:nth-child(3) {
    width: 100px;
}

div#poll-special h1 {
    padding: 0;
    height: 15px !important;
}

/********** B - MAIN CONTENT - GENERAL **********/

/***** B1 Parsed Content, Signatures and Scroll Boxes *****/

/* B1.1 */
.punbb .post-content {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    border-width: 1px 0 0;
    border-style: solid none none;
    width: 100%;
    margin: 5px auto;
}

/* B1.3 */
.punbb .post-content p {
    margin: .5em 0 .5em 0;
    padding: 0;
    line-height: 150%;
    text-align: justify;
}

.punbb .post-content p.lastedit {
    display: none;
}

/* B1.4 */
.punbb .post-content img {
    vertical-align: text-bottom;
}

/* B1.5 */
.punbb .post-content img.postimg {
    vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode,
.punbb .post-content blockquote {
    width: 100%;
    overflow: hidden;
}

/* B1.7 */
.punbb .post-content .scrollbox {
    width: 100%;
    overflow: auto;
}

/* B1.8 */
.punbb .post-content .quote-box,
.punbb .post-content .code-box {
    margin: 0.4em 0.8em 0.4em;
    border-style: solid;
    border-width: 20px;
}

/* B1.9 */
.punbb .quote-box cite,
.punbb .code-box strong.legend {
    display: block;
    padding-bottom: 0.4em;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    margin: 0;
}

.punbb .spoiler-box .spoiler-closer {
    display: block;
    text-align: center;
    height: 25px;
    padding-top: 5px;
    overflow: visible;
}

.punbb .spoiler-box .spoiler-closer span {
    display: block;
    font-weight: bold;
}

/* B1.10 */
.punbb .main .post-content .table-fixer {
    overflow-x: auto;
}

.punbb .main .post-content .table-fixer table {
    min-width: 500px;
}

.punbb .main .post-content td {
    border-style: solid none solid !important;
    border-width: 1px 0 1px !important;
    vertical-align: middle;
}

.punbb .main .post-content tr:first-child td {
    border-top-style: none !important;
    border-top-width: 0 !important;
}

.punbb .main .post-content tr:last-child td {
    border-bottom-style: none !important;
    border-bottom-width: 0 !important;
}

/* B1.11 */
.punbb .post-content ul.user-list {
    list-style: disc;
    padding: 0 0 1em 15px;
}

.punbb .post-content ul.user-list li {
    list-style: inherit;
    margin-bottom: .3em;
}

.punbb .post-content ul.user-list li > p {
    padding-bottom: 0.3em;
}

.punbb .post-content ul.user-list li > p:last-of-type {
    padding-bottom: 0;
}

/***** B2 Information boxes *****/

/* B2.1 */
.punbb .info-box {
    padding: 1.1em 1.7em 1em 1.7em;
    border-style: solid;
    border-width: 1px;
    margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
    padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
    font-size: 1.1em;
    font-weight: bold;
}


/***** B3 Pagination and posting links *****/

/* B3.1 */
.punbb .linkst {
    font-size: 1.1em;
    /* height: 36px; */
    margin: 10px auto 20px;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}

.punbb .linkst div {
    /* padding: 0px 24px 7px; */
}

/* B3.2 */
.multipage {
    margin-top: 10px;
}

/* B3.3 */
.linkst .pagelink {
    top: 4px;
    left: 10px;
    text-align: left;
}

/* B3.4 */
.linkst .postlink {
    top: 4px;
    right: 10px;
    font-weight: bold;
}

/* B3.5 */
.punbb .linksb {
    text-align: right;
    padding: 0;
    font-size: 1.1em;
    border-width: 0;
    border-style: none;
    margin: 10px auto 0;
}

.punbb .modmenu + .linksb {
}

/* B3.6 */
.linksb .pagelink {
    float: left;
    width: 24em;
    text-align: left;
}

/* B3.7 */
.linksb .postlink {
    float: right;
    width: 16em;
    font-weight: bold;
}

/* B3.8 */
.subscribelink {
    clear: both;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
}


/********** C - MAIN CONTENT - SPECIFIC **********/

/***** C1 Form layout *****/

/* C1.1 */
.punbb .formal .container {
    padding: 0;
}

/* C1.2 */
.punbb .formsubmit {
    padding: 0 0 0 1.7em;
    margin: 1em 0 0 0;
    text-align: center;
}

/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
    /* margin: 0 0.6em 0 0; */
    /* height: 30px; */
    /* width: 120px; */
    /* font-weight: bold; */
    /* border-radius: 10px; */
    /* border: 0 none; */
    /* padding-left: 7px; */
    /* padding-top: 0px; */
    /* text-align: center; */
}

/* C1.4 */
.punbb fieldset,
.adminmain#pun-admain fieldset {
    border-style: solid;
    border-width: 16px;
    margin: 25px 10px 20px;
    padding: 0;
    box-sizing: border-box;
}

.adminmain#pun-admain fieldset {
    margin: 25px 10px 20px;
    width: 740px;
}

body .punbb .formal fieldset,
.adminmain#pun-admain fieldset {
    display: block;
}


body .punbb .formal fieldset#post-preview .fs-box {
    width: 700px;
    margin: -4px auto -8px;
    border-style: none solid;
    border-width: 0 16px;
    padding: 10px 0;
}

body .punbb .formal fieldset#post-preview .post-box {
    margin: 0;
}

/* C1.5 */
.punbb fieldset legend,
.adminmain#pun-admain fieldset legend {
    padding: 0 0px 0 25px;
    margin: -40px 0 0 -25px;
    font-size: 1.1em;
    border-width: 10px;
    border-style: solid;
    width: calc(100% + 5px);
    float: left;
}

/* C1.6 */
.punbb fieldset legend span {
    padding: 0 5px;
    margin: 0 0 0 -15px;
}

/* C1.7 */
.punbb fieldset fieldset {
    border-style: none;
    border-width: 0;
    margin: 0;
    padding: 0 0 8px 0;
}

/* C1.8 */
.punbb .fs-box {
    padding: 1em 0 0;
}

/* C1.9 */
.punbb .fs-box p,
.punbb .fs-box fieldset {
    margin: .4em 0;
}

/* C1.10 */
.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
    float: left;
    margin-right: 1em;
}

/* C1.11 */
.punbb .inline .infofield {
    clear: both;
}

/* C1.12 */
.punbb .datafield br {
    display: none;
}

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
    font-weight: bold;
}

/* C1.14 */
.punbb .datafield span.input a {
    font-weight: normal;
}

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
    display: block;
    padding: 0 12em 0 0;
    height: 100%;
}

/* C1.16 */
.punbb textarea, .punbb .longinput input {
    width: 64%;
    margin: 0;
    padding: 5px;
    border-radius: 10px;
    border: 0 none transparent;
}

/* C1.17 */
.punbb .hashelp {
    position: relative;
}

/* C1.18 */
.punbb .helplinks {
    display: block;
    position: absolute;
    top: 1em;
    right: 0;
    font-weight: normal;
    width: 36%;
}

/* &#209;1.19 */
.punbb #profile .helplinks {
    top: 1.5em;
}

/* C1.20 */
.punbb .helplinks span {
    display: block;
    padding-bottom: 0.2em;
}

/* C1.21 */
#pun-post .formal .info-box li {
    padding-left: 4px;
    list-style-type: square;
    list-style-position: inside;
    line-height: 1.5;
    margin: 0;
}

/* C1.22 */
.punbb #form-buttons table {
    width: 95%;
    margin: 0 auto;
}

.punbb #form-buttons td#button-ul {
    background-position-y: -542px;
}

.punbb textarea#main-reply {
    width: 914px;
    margin: 4px -8px 0;
    display: block;
    border-width: 16px 0;
    border-style: solid;
    padding: 0 7px;
    box-sizing: border-box;
    min-width: 914px;
    max-width: 914px;
    min-height: 200px;
}

.punbb form#post .fs-box .container {
    border-style: solid;
    border-width: 10px;
    padding: 10px 10px;
    margin: 15px 10px 0 0;
}

/***** C2 Table layout *****/
/* C2.1 */
.punbb .main .tcl {
    text-align: center;
    /* width: 70%; */
}

div.tclcon {
    /* margin-left: 30px; */
    /* margin-top: 10px; */
    /* text-align: center; */
}

/* C2.2 */
.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
    text-align: center;
    width: 10%;
    vertical-align: middle;
}

#pun th {
    font-weight: bold;
    font-size: 1.2em;
}


.punbb .category th,
.punbb .category .tc2,
.punbb .category .tc3,
.punbb .category .tcmod {
    display: none;
}

/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: center;
    width: 30%;
}

/* C2.4 */
.punbb .main td {
    border-style: none;
    border-width: 0;
    padding: 1.8em 1em;
    vertical-align: top;
}

/* C2.5 */
.punbb .main th {
    border-style: none;
    border-width: 0;
    padding: 0.4em 1em 0.4em 1em;
}

/* C2.6 */
.punbb .main .tcl {
    border-left-style: none;
    border-left-width: 0;
}

/* C2.7 */
.punbb .hasicon .tcl {
    padding: 10px 0 10px 80px;
    position: relative;
    height: 60px;
    vertical-align: middle;
}

/* C2.8 */
.punbb div.icon {
    height: 59px;
    width: 58px;
    position: absolute;
    top: 10px;
    left: 10px;
}


/* C2.9 */
.punbb td span.youposted {
    font-weight: bold;
    margin-left: -1em;
    position: absolute;
}

/* C2.10 */
.punbb td .modlist {
    display: block;
    padding-top: 0.3em;
}

/* C2.11 */
#pun-index th.tcl {
    display: none;
}

#pun-index .tcl > * {
    flex: 0 auto;
}

#pun-index .tcl .icon {
    top: 20px;
}

#pun-index .tcl .titleblock {
    width: 410px;
}

#pun-index .tcl .titleblock .forumdesc {
    width: 410px;
}

#pun-index .tcl h3 {
    font: bold 30px/0.75 "Present Script";
    text-align: center;
    padding: 3px 0px 11px 0;
    width: 380px;
}

#pun-index .tcl h3 a {
    display: block;
}

#pun-index .tcl .links {
    width: 210px;
    padding: 0;
    text-align: left;
}

#pun-index .tcl .links li {
    list-style: disc;
}

#pun-index .tcl .links li a {
}

#pun-index .tcl .lastpost {
    width: 250px;
    display: grid;
    grid-template:
        ". avatar" 1em
        "topic avatar" auto
        "author avatar" auto
        ". avatar" 1em / calc(245px - 3em) 3em;
    padding-right: 0em;
    column-gap: 5px;
}

#pun-index .tcl .lastpost .user-avatar {
    grid-area: avatar;
    align-self: center;
    height: auto;
    margin: 0;
    float: none;
}

#pun-index .tcl .lastpost .user-avatar .avatar-image {
    border-radius: 0;
    height: 4.5em;
    width: 3em;
    background-size: contain;
}

#pun-index .tcl .lastpost > a {
    grid-area: topic;
    text-align: right;
    display: inline-block;
}

#pun-index .tcl .lastpost > .lastpost {
    grid-area: author;
    display: block;
    text-align: right;
    width: auto;
}

#pun-index .tcl .forumimage {
    width: 410px;
    text-align: center;
    margin-right: 0;
}

#pun-index .tcl .forumdesc p + p {
    margin: 10px 0 0;
}

#pun-index .tcl .forumdesc p.mods {
    font-style: italic;
}

#pun-index .tcl .links + .forumdesc {
    margin: 10px 0 10px 0;
}

#pun-index .tcl .links + .forumimage {
    margin: 10px 0;
}

#pun-index .tcl .forumimage:empty {
    width: 0;
}

#pun-index .tcl .forumimage:empty + .forumdesc {
    width: 100%;
}

#pun-index .tcr {
    padding-top: 30px;
}

/* C2.12 */
#pun-index .category.simple .tcl {
    /* width: 860px; */
    padding: 20px 10px 20px 65px;
    display: flex;
    flex-flow: row wrap;
    justify-content: stretch;
    align-items: center;
    height: auto;
}

#pun-index .category.simple th.tcl {
    display: none;
}

#pun-index .category.simple .tcl .titleblock {
    padding-left: 10px;
    width: 400px;
}

#pun-index .category.simple .tcl h3 {
    width: auto;
}

#pun-index .category.simple .tcl .forumdesc {
    width: auto;
    margin: 5px 0;
}

#pun-index .category.simple .tcl .links {
    padding-left: 20px;
    width: 190px;
}

/* C2.13 */
#pun-index .category.locations .container {
    display: flex;
    flex-flow: row wrap;
}

#pun-index .category.locations .tcl {
    width: 430px;
    padding: 20px 20px 20px 20px;
    display: flex;
    position: relative;
}

#pun-index .category.locations .tcl .location-header {
    position: relative;
    width: 100%;
}

#pun-index .category.locations .tcl .location-header .icon {
    position: absolute;
    top: -24px;
}

#pun-index .category.locations .tcl .location-header h3 {
    position: absolute;
    top: 120px;
    text-align: right;
    padding: 0 15px 0 0;
    width: 100%;
    box-sizing: border-box;
}

#pun-index .category.locations .tcl .location-header .forumimage img {
    width: 430px;
    height: 160px;
    /* opacity: .9; */
}

#pun-index .category.locations .tcl .location-additional {
    width: 100%;
    display: flex;
    align-items: center;
}

#pun-index .category.locations .tcl .location-additional .lastpost {
    text-align: right;
}

#pun-index .category.locations .tcl .location-content {
    /* display: none; */
    position: absolute;
    top: 210px;
    left: 0px;
    border-style: solid;
    border-width: 20px;
    z-index: 10;
    box-sizing: border-box;
    width: 470px;
}

#pun-index .category.locations .tcl:hover .location-content {
    /* display: block; */
}

#pun-index .category.locations .tcl:hover .forumimage img {
    /* opacity: 1; */
}


/* C2.12 */
#pun-userlist .main td,
#pun-searchtopics .main td,
#pun-modviewforum .main td {
    padding: 10px 15px;
}

#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
    width: 20%;
}

#pun-searchtopics .main .tcl {
    width: 45%;
}

#pun-userlist .main tbody .tcl,
#pun-searchtopics .main tbody .tcl,
#pun-modviewforum .main tbody .tcl {
    vertical-align: middle;
}

#pun-viewforum .main tbody .tcl,
#pun-searchtopics .main tbody .tcl {
    height: 60px;
    padding-left: 80px;
    text-align: left;
}

#pun-viewforum .main tbody .tcl {
    width: 50%;
}

#pun-viewforum .main tbody .tcl .acchide + a,
#pun-viewforum .main tbody .tcl .acchide + strong a,
#pun-viewforum .main tbody .tcl .stickytext + a,
#pun-viewforum .main tbody .tcl .stickytext + strong a,
#pun-viewforum .main tbody .tcl .closedtext + a,
#pun-viewforum .main tbody .tcl .closedtext + strong a,
#pun-searchtopics .main tbody .tcl .acchide + a,
#pun-searchtopics .main tbody .tcl .acchide + strong a,
#pun-searchtopics .main tbody .tcl .stickytext + a,
#pun-searchtopics .main tbody .tcl .stickytext + strong a,
#pun-searchtopics .main tbody .tcl .closedtext + a,
#pun-searchtopics .main tbody .tcl .closedtext + strong a {
    font: normal 1.15em/0.75 "Open Sans";
    display: block;
    margin: 2px 0;
    line-height: 1;
}

.punbb#pun-viewforum .main tbody .tcl strong a,
.punbb#pun-searchtopics .main tbody .tcl strong a {
    font-weight: bold;
}

#pun-viewforum .main tbody .tcr .user-avatar,
#pun-searchtopics .main tbody .tcr .user-avatar {
    float: right;
    height: 1.6em;
    margin-top: -0.9em;
}

#pun-viewforum .main tbody .tcr .user-avatar .avatar-image,
#pun-searchtopics .main tbody .tcr .user-avatar .avatar-image {
    border-radius: 0;
    height: 4.5em;
    width: 3em;
    background-size: contain;

}

#pun-viewforum .main tbody .tcr > a,
#pun-searchtopics .main tbody .tcr > a {
    display: block;
    padding-right: 4.5em;
    text-align: right;
}

#pun-viewforum .main tbody .tcr > .byuser,
#pun-searchtopics .main tbody .tcr > .byuser {
    display: block;
    padding-right: 4.5em;
    text-align: right;
}

#pun-userlist .main tbody .tcr,
#pun-searchtopics .main tbody .tcr,
#pun-modviewforum .main tbody .tcr {
    vertical-align: middle;
}

#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
    /* text-align: left; */
    width: 20%;
    vertical-align: middle;
}

/* C2.13 */
#pun-debug table .tcl {
    width: 15%;
    white-space: normal;
}

#pun-debug .tcr {
    width: 90%;
    white-space: normal;
}

/* C2.14 */
#pun-messages td.tcl {
    text-align: left;
}


/***** C3 Topics *****/

/* C3.1 */
.punbb .post .container {
    border-style: none;
    border-width: 0;
    margin-top: 0;
    padding-bottom: 0;
}

/* C3.2 */
.punbb .post h3 {
    border: 0 none;
    padding: 16px 0;
}

.punbb .post h3 img {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    margin: -.3em 0 0 .3em;
}

/* C3.3 */
.punbb .post h3 span {
    display: block;
    margin-left: 250px;
    font-size: 10px;
    font-weight: bold;
}

/* C3.4 */
.punbb .post h3 strong {
    float: right;
    width: 5em;
    text-align: right;
    font-weight: normal;
}

/* C3.5 */
.punbb .post .post-author,
#viewprofile #profile-left ul {
    float: left;
    width: 230px;
    margin-top: -35px;
    margin-bottom: 25px;
    box-sizing: border-box;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

@-moz-document url-prefix() {
    .punbb .post .post-author,
    #viewprofile #profile-left ul {
        position: static;
    }
}

#viewprofile #profile-left {
    overflow: visible;
}

#viewprofile #profile-left ul {
    margin-top: 0;
}

/* C3.6 */
.post-author ul,
.post-author p {
    line-height: 140%;
    text-align: center;
    margin: 0 -8px;
    padding: 0;
    box-sizing: border-box;
}

/* C3.7 */
.post-author li {
    margin: .2em 0;
}

/* C3.8 */
.post-author li.pa-author,
#viewprofile #profile-left li.pa-author {
    font-weight: bold;
    margin: -48px 0 0 -15px;
    padding: 0;
    width: 245px;
    min-height: 45px;
    box-sizing: border-box;
    border-style: solid;
    border-width: 8px 10px 10px;
}

#viewprofile #profile-left li.pa-author {
    margin-left: -23px;
}

.post-author li.pa-author a,
.post-author li.pa-author strong,
[data-group-id="3"] .post-author li.pa-author {
    text-decoration: none;
    font: bold 30px/0.75 "Present Script";
}

.post-author li.pa-title {
    padding-bottom: 0.4em;
    font-weight: bold;
}


.post-author .pa-music a {
    cursor: pointer;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 0 10px;
}

.post-author .pa-music span.userplayer-btn {
    display: block;
    width: 30px;
    height: 30px;
    color: transparent;
    margin: auto;
}

.post-author .pa-music span.userplayer-title {
    flex: 1 0;
    text-align: left;
    margin-left: .5em;
}


.post-author .pa-user {
    /* margin: 0 -1em; */
}

.post-author .pa-user a {
    display: block;
}

.post-author .pa-user img {
    display: inline-block;
    vertical-align: middle;
    max-width: 50px;
    max-height: 50px;
    margin-right: 7px;
}

.post-author .pa-user a span {
    display: inline-block;
    vertical-align: middle;
    font: bold 18px "Noto Serif", serif;
}

.post-author li.pa-info .button {
    width: 216px;
    height: 43px;
    font: bold 25px/0.75 "Present Script";
    cursor: pointer;
    padding: 10px 39px 0 0;
    box-sizing: border-box;
    background-size: contain;
}

#viewprofile #profile-left li.pa-info {
    margin-left: -8px;
}

.moreCharsList strong {
    font-size: 15px;
}

.moreCharsList .twink {
    display: block;
    font: normal 20px "Present Script";
    margin: 10px 0
}

.moreCharsList strong + .twink {
    margin-top: 7px;
}

.moreCharsList .twink .name {
    font-weight: bold;
}


/* C3.9 */
.punbb .post-body {
    margin-left: 250px;
}

/* C3.10 */
.punbb .post-box {

}

/* C3.11 */
.punbb fieldset .post-box {
    margin-bottom: 0.8em;
}

/* C3.12 */
.punbb .post-links {
    margin-left: 245px;
}

/* C3.13 */
.punbb .post-links ul {
    padding: 0 1em 0 0;
    height: 2em;
    line-height: 2em;
    margin-left: -19em;
    background: transparent;
    text-align: right;
    font-weight: bold;
    font-size: 10px;
    margin-left: -245px;
}

/* C3.14 */
.punbb .post-links li {
    display: inline;
    padding-left: 1em;
}

/* C3.15 */
.pl-email,
.pl-website {
    float: left;
}

/* C3.16 */
.punbb .clearer {
    clear: both;
    height: 0;
    font-size: 0;
}


/***** C4 Moderator menu *****/

.punbb .modmenu {
    border-width: 0;
    border-style: none;
    margin: 40px auto 0;
}

.punbb .modmenu + .modmenu {
    margin-top: 10px;
    border-top-style: none;
    border-top-width: 0;
}

/* C4.1 */
.punbb .modmenu .container {
    padding: .5em 0;
    text-align: right;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
    height: 1.8em;
    line-height: 1.8em;
}

/* C4.3 */
.punbb .modmenu .container strong {
    float: left;
}

/* C4.4 */
.punbb .modmenu input {
    margin-left: 1em;
}

/***** C5 Message boxes *****/
/* C5.1 */
.punbb .info .container {
    /* width: 750px; */
    padding: 0;
    /* border-style: solid; */
    /* border-width: 25px; */
    margin: 2px auto;
}

/* C5.2 */
.punbb .info .container .backlink {
    padding-top: 0.8em;
}

/***** C6 Profile *****/

#pun-profile .main h1 {
    margin-top: 20px;
}

#profile {
    margin-top: 10px;
}

/* C6.1 */
#profile .container {

}

/* C6.2 */
#profilenav {
    margin: 0px 0px 20px;
    font-size: 1.1em;
    display: flex;
    border-style: solid;
    border-width: 5px;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
}

/* C6.3 */
#profilenav li {
    display: inline-block;
    font-weight: bold;
    padding: 0;
}

#profilenav li a {
    display: inline-block;
    font-weight: bold;
    padding: 5px 15px;
}

/* C6.4 */
#profilenav ul {
    /* border-style: solid; */
    /* border-width: 5px; */
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    align-items: center;
}

/* C6.5 */
#profilenav h2 {
    /* display: none; */
    background: none;
    margin: 0;
    padding: 0 20px 10px;
    height: auto;
    width: 300px;
    text-align: left;
}

/* C6.6 */
#profilenav h2 span {
    padding: 0 5px;
    position: relative;
}

/* C6.7 */
#setmods dl {
    padding: 0 0 0 16em;
    margin-bottom: 0.2em;
}

#setmods dt {
    float: left;
    width: 14em;
    margin-left: -16em;
    padding: 0.8em 1em;
    font-weight: bold;
    display: inline;
}

#setmods dd {
    display: block;
    padding: 0.5em 1em;
    font-weight: normal;
}


/* C6.8 */
#viewprofile > .container > ul > table {
    width: auto;
    margin: 0 auto;
}

/* C6.9 */
#viewprofile #profile-right {
    padding: 0 10px;
}

#viewprofile #profile-right li {
    padding: 0 0 0 16em;
    margin-bottom: 0.2em;
}

#viewprofile #profile-right li span {
    float: left;
    width: 14em;
    margin-left: -16em;
    padding: 0.5em 1em;
    font-weight: bold;
}

/* C6.10 */
#viewprofile #profile-right li strong,
#viewprofile #profile-right li div {
    display: block;
    padding: 0.5em 1em;
    font-weight: normal;
}

/* C6.11 */
.punbb img.avatardemo {
    float: right;
    margin: 0 0 0.8em 1.8em;
}


/***** C7 User list *****/
/* C7.1 */
#pun-userlist .formal,
#pun-userlist .formal .container {
    margin-top: 40px;
}

/* C7.2 */
#pun-userlist .usertable .container {
    padding: 0;
}

/* C7.3 */
#pun-userlist .usertable table {

}


/********** D - PUNBB SECTIONS OTHER THAN MAIN CONTENT **********/

/***** D1 Logo and description *****/
/* D1.1 */
#pun-title {
    margin: 0;
    border-style: none;
    border-width: 0;
}

/* D1.2 */
#pun-title h1 {
    display: block;
    position: absolute;
    width: 357px;
    height: 295px;
    z-index: 15;
    top: -197px;
    left: calc(50% - 462px);
}

/* D1.3 */
#pun-title .container {
    border-style: none solid none solid;
}

/* D1.4 */
#pun-title h1 span {
    font-size: 1.5em;
    color: transparent;
    display: block;
    width: 357px;
    height: 295px;
    z-index: 16;
    /* opacity: 0.3; */
    font-size: 0;
}

#pun-title table {
    border-style: none;
    border-width: 0;
}

#pun-title td.title-logo-tdl {
    border-style: none;
    border-width: 0;
    width: 100%;
}

#pun-title td.title-logo-tdr {
    border-style: none;
    border-width: 0;
    width: 468px;
}


/***** D2 Page navigation *****/

/* D2.1 */
#pun-pagelinks {
    position: absolute;
    top: -15px;
    left: 0;
    margin: 0;
    border-style: none;
    border-width: 0;
    padding: 0;
    width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
    background: transparent;
    border-style: none;
    border-width: 0;
    padding: 0;
}

/* D2.3 */
#pun-pagelinks .container li {
    display: inline;
}

/* D2.4 */
#pun-pagelinks li a,
#pun-pagelinks a:link,
#pun-pagelinks a:hover {
    height: 2em;
    line-height: 2em;
    padding: 0;
    font-size: 1.2em;
    margin-left: -9999px;
    display: block;
    float: left;
    width: 100%;
}

/* D2.5 */
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
    position: relative;
    margin: 0;
}

#pun-pagelinks li a span {
    display: block;
    margin: 0 1em;
}

/***** D3 Forum navigation *****/
/* D3.1 */
#pun-navlinks {
    border-style: none;
    border-width: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 100;
    top: 0;
}


/* D3.2 */
#pun-navlinks .container {
    text-align: center;
    margin: 5px 0 12px;
}

/* D3.3 */
#pun-navlinks li {
    display: inline-block;
    font: bold 25px/0.75 "Present Script";
}

/* D3.4 */
#pun-navlinks li a {
    display: inline-block;
    padding: 7px 10px;
}

/* D3.5 */
.floatingMenu#pun-navlinks {
    top: -70px;
    transition: top .2s .2s;
}

.floatingMenu.hovered#pun-navlinks {
    transition-delay: 0s;
    top: 0;
}


/***** D4 User links *****/
/* D4.1 */
#pun-ulinks {
    margin-top: 0;
    position: fixed;
    top: 59px;
    left: 0;
    width: 100%;
    z-index: 101;
}

/* D4.2 */
#pun-ulinks .container {
    border-top-style: none;
    border-top-width: 0;
    margin: auto;
    width: 100%;
    text-align: center;
}

/* D4.3 */
#pun-ulinks li,
#pun-ulinks li a {
    display: inline;
    border-left-style: none;
    border-left-width: 0;
    white-space: nowrap;
    font-weight: bold;
}

/* D4.4 */
#pun-ulinks li a {
    padding: 0 0.3em 0 0.6em;
}

/* D4.5 */
#pun-ulinks li.item1,
#pun-ulinks li.item1 a {
    border-left-style: none;
    border-left-width: 0;
    padding-left: 0;
}

/* D4.6 */
.floatingMenu#pun-navlinks + div#pun-ulinks {
    top: -21px;
    transition: top .2s .2s;
}

.floatingMenu.hovered#pun-navlinks + div#pun-ulinks {
    top: 59px;
    transition-delay: 0s;
}

/***** D5 Welcome box and Top Breadcrumbs *****/
/* D5.1 */
#pun-status {
    position: absolute;
    top: 35px;
    left: 600px;
    width: 350px;
    height: 45px;
    line-height: 130%;
    text-align: center;
    margin: 0;
    border-style: none;
    border-width: 0;
}

/* D5.2 */
#pun-status .container {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

/* D5.3 */
#pun-status span {
    white-space: nowrap;
    margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
    font-weight: bold;
    overflow: hidden;
    margin: 10px auto;
    border-width: 0;
    border-style: none;
}

/* D5.5 */
#pun-crumbs1 p.container {
    border-top-style: none;
    border-top-width: 0;
    margin-bottom: 1px;
    font-size: 1.1em;
}

/* D5.6 */
#pun-break1 {

}

/***** D6 Announcement *****/
#pun-announcement {
    width: 1100px;
    margin: -100px auto 0 -75px;
    border-width: 195px 65px 80px;
    box-sizing: border-box;
    padding: 15px 0 0;
    overflow: visible;
    border-style: solid;
    z-index: -1;
}

#pun-announcement .just_text {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    margin: 5px 0 5px;
}

#pun-announcement .important_announcement {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    margin: 5px 0 5px;
    color: #FF3512;
}

/* D6.1 */
#pun-announcement h2 {
    display: none;
}

/* D6.2 */
#pun-announcement h2 span {
    display: block;
    padding: 1em 0 0.8em 0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

/* D6.3 */
#pun-announcement .container {
    padding-top: 0 !important;
    margin-bottom: -70px;
}

/* D6.4 */
#pun-announcement .announcement-navigation {
    float: left;
    width: 180px;
    height: 350px;
    margin: 0 7px 0 15px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

#pun-announcement .announcement-navigation li {
    display: block;
    margin: 3px 0;
}

/* D6.5 */
#pun-announcement .announcement-content {
    margin: 0 10px 0 210px;
    padding: 0;
    height: 320px;
    display: block;
    overflow: hidden;
    border-width: 15px;
    border-style: solid;
}

#pun-announcement .announcement-scroll {
    height: 320px;
    display: block;
    overflow-y: auto;
}

/* D6.6 */
#pun-announcement .announcement-element {
    height: 0;
    display: none;
    overflow: hidden;
}

#pun-announcement .announcement-element.active {
    height: 320px;
    display: block;
}

/* D6.7 */
#pun-announcement .announcement-element > * {
    width: 100%;
    height: 320px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

#pun-announcement .announcement-element p {
    /* line-height: 1.2em; */
    margin: 0 0 .5em;
}

#pun-announcement .announcement-element .lead {
    font-weight: bold;
}

#pun-announcement .announcement-element .info {
    font-style: italic;
}

#pun-announcement .announcement-element > table {
    border-spacing: 0;
}

#pun-announcement .announcement-element > table td {
    height: 260px;
    text-align: center;
}

/* D6.8.1 */
#pun-announcement .announcement-element #announcement-welcome {
    width: 50%;
    vertical-align: middle;
    padding-right: 7px;
    line-height: 1.3;
}

#pun-announcement .announcement-element #announcement-welcome p {
    /* line-height: 1.2em; */
}

/* D6.8.2 */
#pun-announcement .announcement-element #announcement-news {
    width: 1%;
    vertical-align: top;
    border-left-width: 1px;
    border-left-style: solid;
    padding-left: 0;
}

#pun-announcement .announcement-element #announcement-news ul li {
    text-align: center;
    margin: 0 0 .8em;
    border-style: solid none none;
    border-width: 1px 0 0;
    padding: 0;
}

#pun-announcement .announcement-element #announcement-news ul li:first-child {
    border-style: none;
    border-width: 0;
}

#pun-announcement .announcement-element #announcement-news ul li i {
    display: block;
    margin: 0 0 2px;
}

#pun-announcement .announcement-element #announcement-news .news-element h4 {
    display: block;
    margin: 0 0 2px;
}

#pun-announcement .announcement-element #announcement-news .news-element h4 a {
    display: block;
    font: bold 1.1em "Open Sans";
}

#pun-announcement .announcement-element #announcement-news .news-element h4 a:hover {
    background-color: var(--alt-bg-color);
}

#pun-announcement .announcement-element #announcement-news .news-element .content {
    width: 225px;
    overflow: hidden;
    /* display: none; */
    max-height: 150px;
    margin: 0 auto;
    font-size: .8em;
    text-align: justify;
    position: relative;
}

#pun-announcement .announcement-element #announcement-news .news-element .content:after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom, transparent, var(--announcement-fallback-color) 100%);
    width: 100%;
    height: 4em;
}

#pun-announcement .announcement-element #announcement-news .news-element .content img {
    max-width: 100%;
    max-height: 50px;

}

/* D6.8.3 */
#pun-announcement .announcement-element #announcement-plot {
    width: 67%;
    height: 240px;
    overflow: auto;
}

#pun-announcement .announcement-element #announcement-plot h4 {
    font: normal 1.6em "Open Sans";
    display: block;
    margin: 5px 0;
}

#pun-announcement .announcement-element #announcement-plot p:before {
    content: '•';
    display: block;
    margin-bottom: 0.2em;
}

#pun-announcement .announcement-element #announcement-plot p:first-child:before {
    content: '';
}

/* D6.8.4 */
#pun-announcement .announcement-element #announcement-plot-links {

}

/* D6.8.5 */

#pun-announcement .announcement-element #announcement-weather div p {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

#pun-announcement .announcement-element #announcement-weather div p span {
    display: inline-block;
}

#pun-announcement .announcement-element #announcement-weather div p span.name {
    flex: 1 100px;
    font-size: 1.1em;
    font-weight: bold;
    padding: 0 0 0 10px;
}

#pun-announcement .announcement-element #announcement-weather div p span.icon {
    flex: 1 50px;
    text-align: center;
}

#pun-announcement .announcement-element #announcement-weather div p span.icon img {
    width: 64px;
    height: 64px;
}

#pun-announcement .announcement-element #announcement-weather div p span.desc {
    flex: 1 400px;
}

/* D6.8.6 */
#pun-announcement .announcement-element #announcement-slider {
    overflow: auto;
    margin-bottom: 10px;
    text-align: center;
}

#pun-announcement .announcement-element #announcement-slider > div {
    margin: auto !important;
}

#pun-announcement .announcement-element #announcement-slider #root {
    width: 700px;
    height: 320px;
}

#pun-announcement .announcement-element #announcement-slider h4 {
    font: bold 20px/0.75 "Present Script";
    margin: 15px auto 10px;
}

#pun-announcement .announcement-element #announcement-slider .post,
#pun-announcement .announcement-element #announcement-slider table td {
    border: 0 none !important;
}

#pun-announcement .announcement-element #announcement-slider .rhino-btn {
    top: 50%;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9999;
    opacity: 0.8;
    background-image: url(http://s7.uploads.ru/Lqt4s.png);
    background-color: transparent;
    user-select: none;
}

#pun-announcement .announcement-element #announcement-slider .rhino-prev {
    background-repeat: no-repeat;
    background-position: 0 0;
    left: 0px;
}

#pun-announcement .announcement-element #announcement-slider .rhino-next {
    background-repeat: no-repeat;
    background-position: -43px 0;
    right: 0px;
}

#pun-announcement .announcement-element #announcement-slider .rhino-prev:hover,
#pun-announcement .announcement-element #announcement-slider .rhino-next:hover {
    opacity: 1;
}

#pun-announcement .announcement-element #announcement-slider .rhino-toggle {
    top: -4px;
    left: -6px;
}

#pun-announcement .announcement-element #announcement-slider .rhino-container {
    position: relative;
}

#pun-announcement .announcement-element #announcement-slider .rhino-bullets {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -100px;
    padding: 0;
    z-index: 10;
    background: transparent;
    color: transparent;
    font-size: 0;
    text-align: center;
    list-style: none;
    width: 200px;
}

#pun-announcement .announcement-element #announcement-slider .rhino-bullets li {
    display: inline-block;
}

#pun-announcement .announcement-element #announcement-slider .rhino-bullets li a.rhino-bullet {
    display: block;
    width: 10px;
    height: 10px;
    margin: 2px 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.8;
}

#pun-announcement .announcement-element #announcement-slider .rhino-bullets li a.rhino-bullet:hover,
#pun-announcement .announcement-element #announcement-slider .rhino-bullets li a.rhino-bullet:focus {
    opacity: 1;
}

#pun-announcement .announcement-element #announcement-slider .rhino-bullets li a.rhino-bullet.rhino-active-bullet {

}

#pun-announcement .announcement-element #announcement-slider .hovBlock {
    vertical-align: middle;
    height: 100%;
    width: 100%;
}

#pun-announcement .announcement-element #announcement-slider .hovBlock .tight {
    width: 60px;
}

#pun-announcement .announcement-element #announcement-slider .hovBlock td:first-child {
    padding-left: 50px;
}

#pun-announcement .announcement-element #announcement-slider .hovBlock td:last-child {
    padding-right: 50px;
}

#pun-announcement .announcement-element #announcement-slider .hovEl {
    width: 60px;
}

/* D6.8.7 */
#pun-announcement .announcement-element #announcement-promotion {
    text-align: center;
}

/* D6.9 */
.announcement-finale {
    clear: both;
    text-align: center;
    width: 880px;
}


/***** D7 Statistics *****/

#pun-stats {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* D7.1 */
#pun-stats .container {
    padding: 0.8em 1em;
}

/* D7.2 */
#pun-stats li.item1,
#pun-stats li.item2 {
    float: left;
    clear: both;
    line-height: 150%;
}

/* D7.3 */
#pun-stats li.item3,
#pun-stats li.item4 {
    text-align: right;
    line-height: 150%;
}

/* D7.4 */
li#onlinelist {
    margin-top: 1em;
    width: 100%;
    line-height: 130%;
}

/* D7.5 */
li#onlinelist div {
    padding: 0.7em 0 0 0;
}


/***** D8 Quick Jump - About - Bottom Breadcrumbs *****/
/* D8.1 */
#pun-qjump {
    margin: 0;
    border-style: none;
    border-width: 0;
    width: 50%;
    position: relative;
    float: left;
}

/* D8.2 */
#pun-qjump .container {
    border-style: none;
    border-width: 0;
    background: transparent;
    padding: 0.8em 1em;
}

/* D8.3 */
#pun-about {
    margin-top: 0;
    border-width: 0;
    border-style: none;
    margin: 10px auto 0;
}

/* D8.4 */
#pun-about .container {
    border-top-style: none;
    border-top-width: 0;
    text-align: right;
    line-height: 150%;
    padding: 0.8em 1em;
}

/* D8.5 */
#pun-about p span {
    display: block;
    padding-left: 50%;
}

/* D8.6 */
#pun-crumbs2 {
    font-weight: bold;
    overflow: hidden;
    border-width: 0;
    border-style: none;
    margin: 10px auto 0;
}

/* D8.7 */
#pun-crumbs2 .container {
    border-bottom: 0 none;
    padding: 0 0 0.8em;
    font-size: 1.1em;
}

/* D8.8 */
#pun-break4 {

}

/* D8.9 */
div.punbb-admin #pun-about .container {
    border-top-style: solid;
    border-top-width: 1px;
}

/* D9 Help file *****/
/* D9.1 */
#pun-help .formal .info-box h3.legend {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding-bottom: 0;
    margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
    padding-bottom: 0.6em;
    display: block;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p,
#pun-help .formal dd {
    margin-bottom: 1em;
}

/* D9.4 */
#pun-help .formal ul,
#pun-help .formal dl {
    padding: 0 0 0 1em;
}

/* D9.5 */
#pun-help .formal li {
    padding: 0;
    line-height: 130%;
}

/* D9.6 */
#pun-help .formal li * {
    vertical-align: text-top;
}

/* D9.7 */
#pun-help .formal dt span {
    font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* D9.8 */
#pun-help .formal .parsedmsg,
#pun-help .formal .parsedmsg .incode {
    padding-bottom: 0;
}


/********** E. Kozhilya's customs **********/

/***** E1 Admin styles *****/

/* E1.1 */
.punbb-admin #pun-title {
    width: 1000px;
    margin: -25px 0 0 -25px;
    border-style: solid solid none;
    border-width: 50px 27px 0;
    height: 120px;
}

.punbb-admin .adminmain {
    /* margin-top: 60px; */
    padding-left: 0;
}

.punbb-admin .adcontainer,
.punbb-admin .adformal {
    border-style: none;
    border-width: 0;
    margin: 0;
    padding: 0;
}

.punbb-admin h2 {
    border-style: none;
    border-width: 0;
    margin: 0;
    padding: 0;
}

/* E1.2 */
.punbb-admin #pun-status {
    top: -23px;
}

/* E1.3 */
.punbb-admin .adminmain #pun-adnav {
    width: 150px;
    border-width: 40px 15px;
    border-style: solid;
    margin: 10px 0 0;
}

.punbb-admin .adminmain #pun-adnav h2 {
    border-style: none;
    border-width: 0;
    background: none;
    padding: 0;
    margin: -37px -5px 15px;
    height: auto;
}

.punbb-admin .adminmain #pun-adnav ul {
    margin: 0 -5px;
}

.punbb-admin .adminmain #pun-adnav li {
    padding: 0;
    position: relative;
    list-style: none;
}

.punbb-admin .adminmain #pun-adnav li a {
    display: inline-block;
    padding: 3px 10px;
    width: 100%;
    box-sizing: border-box;
}

.punbb-admin .adminmain #pun-adnav li sup {
    position: absolute;
    top: 0;
    right: 0;
    vertical-align: middle;
}

.punbb-admin .adminmain #pun-adnav li ul {
    padding: 0;
    margin-left: 30px;
}

.punbb-admin .adminmain #pun-adnav li ul li {
    list-style: square outside;
}

.punbb-admin .adminmain #pun-adnav li ul li a {
    margin-left: -10px;
}

/* E1.4 */
.punbb-admin .adminmain#pun-admain .adformal h2 {
    /* width: 100%; */
    margin-left: 200px;
    border-style: none;
    border-width: 0;
    padding: 27px 1em;
}

/* E1.5 */
.punbb-admin .adminmain#pun-admain .adformal .adcontainer {
    margin: 20px 10px 0 200px;
    padding: 0;
    width: 740px;
}

/* E1.6 */
#pun-admain textarea[name="form[html_header]"],
#pun-admain textarea[name="form[html_footer]"],
#pun-admain textarea[name="form[announcement_message]"],
#pun-admain textarea[name="form[html_reply]"],
#pun-admain textarea[name="form[rules_message]"],
#pun-admain form[action*="admin_style"] textarea {
    font: normal 1em "DejaVu Mono Sans", "Consolas", "Courier New", monospace;
}


/***** E2 Top Menu *****/

#top-menu {
    position: absolute;
    top: -181px;
    left: 50%;
    width: 50%;
    height: 142px;
    z-index: 40;
    padding: 0 0;
    box-sizing: border-box;
    overflow: hidden;
}

#top-menu ul {
    width: 280px;
    margin: 0 auto;
}

#top-menu li {
    margin: 0 auto -4px;
}

#top-menu a {
    display: block;
    width: 280px;
    height: 50px;
    font: bold 25px/0.75 "Present Script";
    text-align: center;
    cursor: pointer;
    padding: 12px 0 0;
    box-sizing: border-box;
    z-index: 5;
}

#top-menu ul li:nth-child(1) a {
    background-position: 0px 0px;
}

#top-menu ul li:nth-child(2) a {
    background-position: 0px -50px;
}

#top-menu ul li:nth-child(3) a {
    background-position: 0px -100px;
}


/***** E3 Footer *****/

/* E3.1 */
.punbb footer {
    margin: 0px -25px -132px;
    border: 0 none transparent;
}

/* E3.2 */
footer .bannerRotatorHead {
    text-align: center;
    font-weight: bold !important;
    margin: 10px 0;
}

footer .bannerRotator {
    margin: auto;
    width: 460px;
    height: 60px;
    overflow: hidden;
}

footer .bannerRotator .floatRotator {
    transition: margin 1s;
}

footer .bannerRotator * {
    margin: 0;
    padding: 0;
}

footer .bannerRotator a,
footer .bannerRotator img {
    display: block;
    margin: 0;
    padding: 0;
    width: 460px;
    height: 60px;
}

/* E3.3 */
footer .bannersButton {
    display: block;
    margin: 30px auto 45px;
    text-align: center;
}

.punbb footer .bannersButton a.pseudo-button {
    height: 54px;
    overflow: hidden;
    padding-bottom: 16px;
    padding-top: 12px;
}

/* E3.4 */
footer .texts {
    color: var(--pun-navlinks-color);
    text-align: center;
}


/***** E4 Script profile styles *****/
/* https://tlkthebeginning.kozhilya.ru/scripts/profiles_beta/style.css?ver=3.0.4 */

/* E4.1 */
body.freezeContent {
    position: fixed;
    width: 100%;
    left: 0;
}

/* E4.2 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
}

.overlay iframe {
    width: 100%;
    height: 100%;
    border: 0 none transparent;
}


/***** E5 Edit page *****/

/* E5.1 */
.editlink.firmstyle {
    font-size: 2.5em;
    margin: 0 0 1.5em;
    text-align: center;
}

.editlink.firmstyle a {
    /* display: block; */
    /* padding: .5em .5em .7em; */
}

/* E5.2 */
fieldset#fld1, fieldset#fld3, fieldset#fld5 {
    display: none;
}

/* E5.3 */
fieldset#fld2 legend {
    /* float: left; */
    /* width: 133px; */
}

fieldset#fld2 input {
}

fieldset#fld2 div {
    padding: 0;
}

fieldset#fld2 input {
    /* padding: .3em .5em; */
}

/* E5.4 */
fieldset#fld4 legend {
    display: block;
    text-align: center;
    font: bold 2em/0.75 'Present Script';
    margin: 10px 0;
}

fieldset#fld4 .filters {
    display: flex;
    margin: 10px 0;
}

fieldset#fld4 .filters .awardfilter {
    flex: 1 auto;
    align-items: center;
    justify-content: center;
}

/* E5.5 */
fieldset#fld4 .filters .filterstate label {
    display: block;
    font-size: 1.1em;
    cursor: pointer;
}

fieldset#fld4 .filters .filterstate label .value {
    display: none;
    font: bold 1.3em monospace;
    margin: .2em;
    border-radius: 50%;
    padding: .1em .4em;
}

fieldset#fld4 .filters .filterstate input[value="0"] + label #value_0 {
    display: inline-block;
}

fieldset#fld4 .filters .filterstate input[value="1"] + label #value_1 {
    display: inline-block;
}

fieldset#fld4 .filters .filterstate input[value="2"] + label #value_2 {
    display: inline-block;
}

/* E5.6 */
fieldset#fld4 .fs-box {
    border-width: 10px;
    padding: 10px 0;
    margin: 10px 0;
    border-style: solid;
}

fieldset#fld4 .fs-box .checkfield {
    padding: 0;
}

fieldset#fld4 .fs-box .checkfield input {
    display: none;
}

/* E5.7 */
fieldset#fld4 .fs-box .checkfield label,
fieldset#fld4 .fs-box .checkfield p,
fieldset#fld4 .fs-box .checkfield div {
    display: block;
    height: auto;
}

fieldset#fld4 .fs-box .checkfield label {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: .7em 0 .7em 30px;
    cursor: pointer;
    position: relative;
}

fieldset#fld4 .fs-box .checkfield label img {
    height: 50px;
    vertical-align: middle;
    margin: 0 10px 0 0;
}

fieldset#fld4 .fs-box .checkfield p {
    flex: 1 30%;
}

fieldset#fld4 .fs-box .checkfield p.name {
    font-weight: bold;
    font-size: 1.2em;
}

fieldset#fld4 .fs-box .checkfield p.desc {
    flex-grow: 6;
    font-size: .9em;
    font-style: italic

}

/* E5.8 */
fieldset#fld4 .fs-box .checkfield label:before,
fieldset#fld4 .fs-box .checkfield label:after {
    content: '';
    position: absolute;
    margin-top: 24px;
    margin-left: 3px;
    border-radius: 50%;
}

fieldset#fld4 .fs-box .checkfield label:before {
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
}

fieldset#fld4 .fs-box .checkfield label:after {
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    opacity: 0;
    transition: all .1s;
}

fieldset#fld4 .fs-box .checkfield :checked + label:after {
    opacity: 1;
}


/***** E6 Load Indicator *****/

/* E6.1 */
.loadIndicator,
.voteWindow,
.firstAprilFoolAlert,
.youtube-player {
    position: fixed;
    z-index: 2100;
    opacity: .8;
    border-width: 10px;
    border-style: solid;
    height: auto;
    width: 200px;
    transition: right 0.5s 0.1s, opacity 0.3s;
    text-align: center;
}

/* E6.2 */
.loadIndicator {
    bottom: 8px;
    left: 8px;
}

.loadIndicator:hover {
    opacity: 1;
}

.loadIndicator .spinner {
    margin: 10px auto;
    width: 70px;
    text-align: center;
}

.loadIndicator .spinner > div {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.loadIndicator .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loadIndicator .spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* E6.3 */
.voteWindow,
.firstAprilFoolAlert {
    bottom: 5px;
    right: 5px;
    width: 300px;
    padding: 5px 0;
}

.voteWindow p,
.firstAprilFoolAlert p {
    margin: 5px 0;
}

.voteWindow .close,
.firstAprilFoolAlert .close {
    position: absolute;
    right: 7px;
    top: 2px;
    cursor: pointer;
    font-family: "DejaVu Sans Mono", "Consolas", monospace;
}

.voteWindow:hover,
.firstAprilFoolAlert:hover {
    opacity: 1;
}

/* E6.4 */
.youtube-player {
    bottom: 8px;
    left: 8px;
    width: auto;
    opacity: 1;
}


/***** E7 Smiles area *****/

#smilies-area {
    padding-top: 0;
    margin-top: 30px;
}

#smilies-area #wrapper {
    width: 550px;
    margin-top: -40px;
    margin-left: -10px;
}

#smilies-area ul.tabs {
    line-height: 20px;
    margin: 0 0 3px;
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
}

#smilies-area ul.tabs li {
    /* float: left; */
    margin-right: 1px;
    cursor: pointer;
    border-style: solid solid none;
    border-width: 4px 4px 0;
}

#smilies-area ul.tabs li.tab-current {
    margin-top: -5px;
    padding-bottom: 5px;
}

#smilies-area ul.tabs li a {
    display: block;
    margin-bottom: -1px;
    margin-top: 0px;
    position: relative;
    text-decoration: none;
    padding: 0 10px;
}

#smilies-area ul.tabs li a:hover {
    text-decoration: none;
}

#smilies-area ul.tabs li.tab-current a {
    font-weight: bold;
    line-height: 22px;
}

#smilies-area div.smile-block {
    display: none;
    /* width: 470px; */
    max-height: 270px;
    overflow-y: auto;
}


/***** E8 Theme Picker *****/

.themePicker {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 110;
    width: 50px;
    height: 50px;
    overflow: hidden;
    transition: width .5s;
}

.themePicker .container {
    width: 150px;
    height: 50px;
    box-sizing: border-box;
    margin-left: -100px;
    display: flex;
    flex-flow: row nowrap;
    transition: margin-left .5s;
}

.themePicker:hover {
    width: 150px;
}

.themePicker:hover .container {
    margin-left: 0;
}

.themePicker a {
    display: inline-block;
    width: 44px;
    height: 44px;
    opacity: .6;
    padding: 3px;
    order: 1;
    transition: opacity .5s, transform .5s;
}

.themePicker a.active {
    order: 2;
}

.themePicker a:hover,
.themePicker a.active {
    opacity: 1;
}

.themePicker a img {
    transition: transform .5s;
}

.themePicker:hover a img {
    transform: rotate(360deg);
}


/***** E9 Move arrows *****/

div.MoveArrow {
    position: fixed;
    right: 2%;
    bottom: 170px;
}

div.MoveArrow a {
    display: block;
    opacity: 0.75;
    width: 66px;
    height: 40px;
    margin: 3px auto;
    transition: opacity .2s;
    cursor: pointer;
}

div.MoveArrow a:hover {
    opacity: 1;
}


div.MoveArrow a#scrollTop {
    background-position: 50% 0;
}

div.MoveArrow a#scrollEnd {
    background-position: 50% -41px;
}


/***** E10 TooltipSuite *****/

/* E10.1 */
.tooltip-suite-container {
    position: fixed;
    border-width: 10px;
    border-style: solid;
    max-width: 350px;
}

/* E10.1 */
.tooltip-suite-element {
    cursor: help;
    text-decoration: underline dotted;
}


/***** E11 My Modal *****/

body .modal .modal-window {
    font: normal 11px Verdana;
    border-style: solid;
    border-width: 25px;
    padding: 2em 0 0;
    width: 850px;
    margin: 50px auto 0;
    z-index: 100;
}

body .modal .modal-title {
    margin: 0;
}

body .modal a {
    text-decoration: none;
}


/***** E12 Drafts *****/

.drafts {
    float: right;
    margin-top: -32px;
    color: var(--wooden-hover-color);
    text-shadow: var(--wooden-shadow) 1px 1px 0px;
}

.drafts > * {
    display: inline-block;
    padding: 3px 5px;
}

.drafts em {
    font-size: 12px;
    vertical-align: middle;
}

.drafts i {
    font-size: 12px;
    margin-right: 3px;
    margin-top: 2px;
    vertical-align: middle;
}

.drafts .btn {
    cursor: pointer;
    color: var(--wooden-hover-color);
}

.drafts .btn:hover {
    color: var(--wooden-color);
}

.drafts select {
    padding: 0;
    opacity: .8;
}

/********** F. Jump Panels **********/

/***** F1 - Common *****/
/* F1.1 */
.JumpPanel {
    position: fixed;
    z-index: 2100;
    top: 110px;
    height: auto;
    width: 260px;
    padding: 0;
    transition: right 0.5s 0.1s, left 0.5s 0.1s;
    text-align: center;
    border-style: solid;
    border-width: 12px;
}

/* F1.2 */
.TestArea .JumpPanel#left,
.TestArea .JumpPanel#right {
    position: absolute;
    left: 0px;
    top: 25px;
}

/* F1.3 */
.JumpPanel > div {
    overflow: auto;
    height: 100%;
}

/* F1.4 */
.JumpPanel h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;

}

/* F1.5 */
.JumpPanel h4 {
    font-weight: bold;
    font: bold 20px "Present Script";
    margin: 2.5em 0.8em 0;
}

/* F1.6 */
.JumpPanel p {
    margin: 1em 0;
}

/* F1.7 */
.JumpPanel em {
    font-style: italic;
}

/* F1.8 */
.JumpPanel::before {
    position: absolute;
    content: '.';
    display: block;
    width: 24px;
    height: 24px;
    border-width: 12px;
    border-style: solid;
    font: bold 25px/0.75 'Present Script';
    text-align: center;
}


/***** F2 - Left (Navigation) *****/
/* F2.1 */
.JumpPanel#left {
    left: -282px;
    padding-left: 0;
}

/* F2.2 */
.JumpPanel#left:hover {
    left: -15px;
}

/* F2.3 */
.JumpPanel#left::before {
    margin: 5px 0 0 268px;
    float: right;
    content: '\041D';
    border-left: 0 none transparent;
    padding: 0 2px 0 4px;
}

/* F2.4 */
.JumpPanel#left .navigation_head {
    text-align: left;
    margin: -38px 0 0 5px;
    overflow: visible;
    white-space: nowrap;
}

.JumpPanel#left .navigation_head ul {
    height: 34px;
}

/* F2.5 */
.JumpPanel#left .navigation_head ul li {
    display: inline-block;
    width: 12px;
    height: 15px;
    text-align: center;
    overflow: hidden;
    transition: all .5s;
    white-space: nowrap;
    border-style: solid solid none;
    border-width: 6px 6px 0;
    padding: 3px 6px 3px;
    margin: 0 -3px;
    cursor: pointer;
    vertical-align: bottom;
}

/* F2.6 */
.JumpPanel#left .navigation_head ul li.active {
    height: 18px;
}

/* F2.7 */
.JumpPanel#left .navigation_head ul li:hover {
    width: 100px;
}

/* F2.8 */
.JumpPanel#left .navigation_head ul li span {
    float: left;
    width: 12px;
    margin-right: 7px;
}

/* F2.9 */
.JumpPanel#left .navigation_head ul li em {
    font-style: normal;
    font: bold 15px/0.75 "Present Script";
}

/* F2.10 */
.JumpPanel#left h3 {
    text-align: left;
    font: bold 30px/0.75 "Present Script";
    margin: 10px 2px 10px 11px;
}

/* F2.11 */
.JumpPanel#left h4 {
    text-align: left;
    /* font: bold 20px "Present Script"; */
    margin: 12px 0 6px;
}

/* F2.12 */
.JumpPanel#left .navigation_tabs {
    margin: 0 0 0 6px;
}

/* F2.13 */
.JumpPanel#left .navigation_tabs ul ul {
    /* margin: 0 0 0 15px; */
}

/* F2.14 */
.JumpPanel#left .navigation_tabs ul li {
    padding-left: 5px;
    /* list-style: disc inside; */
    text-align: left;
}

/* F2.15 */
.JumpPanel#left .navigation_tabs ul li a {
    display: block;
    text-align: left;
    padding: 0px 3px 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

/* F2.16 */
.JumpPanel#left .navigation_tabs ul + a {
    display: block;
    font-weight: bold;
    margin-top: 9px;
}

/***** F3 - Right (Notepad) *****/

/* F2.1 */
.JumpPanel#right::before {
    margin: 0 0 0 -52px;
    content: '\0423';
    border-right: none 0;
    padding-right: 8px;
}

/* F2.2 */
.JumpPanel#right {
    right: -405px;
    width: 380px;
    display: none;
    padding-right: 2px;
}

.JumpPanel#right:hover {
    right: -15px;
}

.JumpPanel#right[data-new]:after {
    content: attr(data-new);
    position: absolute;
    top: 31px;
    left: -58px;
    font: bold 15px "Present Script";
    width: 1.1em;
    height: 1.1em;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    border-radius: 50%;
    line-height: 0.98em;
    box-sizing: content-box;
}

.JumpPanel#right ul.notifications {
    overflow-y: auto;
}

.JumpPanel#right ul.notifications a {
    font-weight: bold;
}

.JumpPanel#right ul.notifications li {
    display: grid;
    grid-template:
        "icon time" 1.6em
        "icon content" auto / 25px auto;
    text-align: left;
    padding: 3px 6px 3px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    transition: all .5s;
}

.JumpPanel#right ul.notifications li:last-of-type {
    border-bottom: 0 none;
}


.JumpPanel#right ul.notifications li .notification-icon {
    grid-area: icon;
}

.JumpPanel#right ul.notifications li .notification-icon i {
    font-size: 20px;
}

.JumpPanel#right ul.notifications li .notification-time {
    grid-area: time;
}

.JumpPanel#right ul.notifications li .notification-content {
    grid-area: content;
}

.JumpPanel#right .notification-tools {
    margin: 0 0 3px;
    overflow: hidden;
}

.JumpPanel#right .notification-tools .notification-tool {
    padding: 3px 5px;
    cursor: pointer;
}

/********** G. Formatgic **********/

/***** G1 - Tabs *****/

/* G1.1 */
.punbb .post-content .quote-box.tab-box {
    margin-top: 55px;
    position: relative;
}

/* G1.2 */
.punbb .post-content .quote-box.tab-box .tabs {
    position: absolute;
    padding: 0;
    margin: -74px auto 0;
    display: flex;
    flex-flow: row nowrap;
    width: 95%;
    align-items: flex-end;
}

/* G1.3 */
.punbb .post-content .quote-box.tab-box .tab {
    flex: 1 auto;
    height: 35px;
    padding: 4px;
    margin: 0 .3em;
    border-width: 7px;
    border-style: solid;
    border-bottom: 0 none;
    cursor: pointer;
}

/* G1.4 */
.punbb .post-content .quote-box.tab-box .tab.active {
    padding: 7px 4px;
}

/* G1.5 */
.punbb .post-content .quote-box.tab-box .tab img {
    height: 100%;
    display: block;
    margin: auto;
}

/* G1.6 */
.punbb .post-content .quote-box.tab-box .tab span {
    display: block;
    text-align: center;
}


/***** G2 - Skill list *****/

/* G2.1 */
.punbb .post-content .formatgic.skilllist .tab #normal {
    display: block;
}

.punbb .post-content .formatgic.skilllist .tab #hover {
    display: none;
}

.punbb .post-content .formatgic.skilllist .tab.active #normal,
.punbb .post-content .formatgic.skilllist .tab:hover #normal {
    display: none;
}

.punbb .post-content .formatgic.skilllist .tab.active #hover,
.punbb .post-content .formatgic.skilllist .tab:hover #hover {
    display: block;
}

/* G2.2 */
.punbb .post-content .formatgic.skilllist .skill {

}

/* G2.3 */
.punbb .post-content .formatgic.skilllist .skill.title h3 {
    display: block;
    text-align: center;
    margin: 0 0 .6em;
    padding: 0;
    font: bold 40px "Present Script";
}

.punbb .post-content .formatgic.skilllist .skill.title p {
    display: block;
    text-align: center;
}

/* G2.4 */
.punbb .post-content .formatgic.skilllist .skill > * {
    display: none;
}

.punbb .post-content .formatgic.skilllist .skill > h4 {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
    z-index: 30;
}

.punbb .post-content .formatgic.skilllist .skill > h4 * {
    vertical-align: middle;
}

.punbb .post-content .formatgic.skilllist .skill > h4 .iconset {
    flex: 0 none;
    display: inline-block;
    width: 50px;
    height: 50px;
}

.punbb .post-content .formatgic.skilllist .skill > h4 strong {
    flex: 0 none;
    font: bold 25px "Present Script";
    margin: 0 7px;
}

.punbb .post-content .formatgic.skilllist .skill > h4 abbr {
    flex: 0 none;
    font: bold 25px "Present Script";
}

.punbb .post-content .formatgic.skilllist .skill > h4 .title {
    flex: 1 auto;
    text-align: right;
    font-weight: bold;
    font-size: 1.1em;
}

.punbb .post-content .formatgic.skilllist .skill > h4:hover {
    background: rgba(173, 131, 88, .2);
}

/* G2.5 */
.punbb .post-content .formatgic.skilllist .skill ol {
    padding-left: 2em;
    margin-bottom: .5em;
}

.punbb .post-content .formatgic.skilllist .skill ol > li {
    list-style: decimal;
    line-height: 150%;
}

.punbb .post-content .formatgic.skilllist .skill ol > li ul {
    padding-left: 2em;
}

.punbb .post-content .formatgic.skilllist .skill ol > li ul > li {
    list-style: disc;
}

/* G2.6 */
.punbb .post-content .formatgic.skilllist .skill.full {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.punbb .post-content .formatgic.skilllist .skill.full > * {
    display: block;
}

.punbb .post-content .formatgic.skilllist .skill.full > h4 {
    display: flex;
}

/***** G3 - Lot list *****/

/* G3.1 */
.punbb .post-content .formatgic.lotlist .quote-box.tab-box .tab.active #normal,
.punbb .post-content .formatgic.lotlist .quote-box.tab-box .tab:hover #normal {
    display: none;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box .tab.active #hover,
.punbb .post-content .formatgic.lotlist .quote-box.tab-box .tab:hover #hover {
    display: block;
}

/* G3.2 */
.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot {
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot > * {
    display: none;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot > h4 {
    cursor: pointer;
    font-size: 15px;
    display: block;
    padding: .3em;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot > h4 * {
    vertical-align: middle;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot > h4:hover {
    background: rgba(173, 131, 88, .2);
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot > h4 img {
    margin-right: .3em;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot > p.price {
    display: block;
    float: right;
    margin-top: -2em;
    margin-right: .5em;
}

/* G3.3 */
.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot ol {
    padding-left: 2em;
    margin-bottom: .5em;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot ol li {
    list-style: decimal;
    line-height: 150%;
}

/* G3.4 */
.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot.full {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot.t > *,
.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot.full > * {
    display: block;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot.full > h4 {
    margin-bottom: .5em;
}

.punbb .post-content .formatgic.lotlist .quote-box.tab-box blockquote .lot.full > p.price {
    margin-top: -2.5em;
}


/***** G4 - Utils *****/

/* G4.1 */
.punbb .post-content .formatgic.utils #customColors th {
    background-color: var(--wooden-shadow);
    color: var(--wooden-color);
}

.punbb .post-content .formatgic.utils #customColors td {
    text-align: center;
}

.punbb .post-content .formatgic.utils #customColors td .preview {
    background: var(--wooden-block-profile) no-repeat center;
    text-shadow: 2px 1px 1px var(--wooden-shadow);
    display: block;
    padding: 3px 0 7px;
    font: bold 20px/0.75 "Present Script";
}


/***** G5 - Userlink *****/
.punbb .post-content .userlink {
    display: inline-block;
    vertical-align: middle;
}

.punbb .post-content .userlink .userlink-avatar {
    display: inline-block;
    vertical-align: middle;
}

.punbb .post-content .userlink .userlink-avatar img {
    margin-right: 0.3em;
    max-height: 2.2em;
    max-width: 2.2em;
    vertical-align: middle;
}

.punbb .post-content .userlink .userlink-name {
    display: inline-block;
    font-family: 'Noto Serif', serif;
    vertical-align: middle;
}


/***** G6 - Charlink *****/
.punbb .post-content .charlink {
    display: inline-block;
    vertical-align: middle;
}

.punbb .post-content .charlink .charlink-avatar {
    display: inline-block;
    vertical-align: middle;
}

.punbb .post-content .charlink .charlink-avatar img {
    margin-right: 0.3em;
    height: 2.2em;
    width: 2.2em;
    vertical-align: middle;
    object-fit: contain;
}

.punbb .post-content .charlink .charlink-name {
    display: inline-block;
    font-family: 'Present Script', serif;
    vertical-align: middle;
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 0.3em;
}

.punbb .post-content .charlink .charlink-name .fa {
    margin-left: 3px;
    font-size: 0.7em;
}


/***** G7 - NPC *****/
.punbb .post-content .formatgic.npc td.avatar {
    text-align: center;
    width: 35%;
}

.punbb .post-content .formatgic.npc td.fields p {
    text-align: center;
    margin-top: 0;
}

.punbb .post-content .formatgic.npc td.fields p#name {
    font: bold 2.6em "Present Script";
    margin-bottom: 15px;
}

.punbb .post-content .formatgic.npc td.fields p#pride {
    margin-bottom: 10px;
}

.punbb .post-content .formatgic.npc td.fields p#pride a {
    font: bold 2em "Present Script";
}

.punbb .post-content .formatgic.npc td.fields p#pride i {
    display: block;
    margin-top: .1em;
    font: bold 1.7em "Present Script";
}

.punbb .post-content .formatgic.npc td.fields p#species,
.punbb .post-content .formatgic.npc td.fields p#age {
    margin-bottom: 0;
}


/***** G8 - Announcement-winners *****/
.announcement-big-char .charlink {
    display: block;
}

.punbb .post-content .announcement-big-char .charlink .charlink-avatar img {
    width: 200px;
    height: 200px;
}

.punbb .post-content .announcement-big-char .charlink .charlink-name {
    display: block;
    font-size: 2.8em;
    padding-top: 10px;
}

.punbb .post-content .announcement-winners-wildcard table td p {
    position: relative;
    height: 120px;
    padding-left: 130px;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
}

.punbb .post-content .announcement-winners-wildcard table td .charlink {
    display: block;
}

.punbb .post-content .announcement-winners-wildcard table td .charlink .charlink-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    height: 120px;
    width: 120px;
}

.punbb .post-content .announcement-winners-wildcard table td .charlink .charlink-name {
    font-size: 1.8em;
}

.punbb .post-content .announcement-winners-wildcard table td:first-child p {
    padding-right: 130px;
    padding-left: 0;
    align-items: flex-end;
}

.punbb .post-content .announcement-winners-wildcard table td:first-child .charlink .charlink-avatar img {
    left: auto;
    right: 0;
}


/***** G9 - Misc post content [block] *****/

/* G9.1 [block=table-vertical-borders] */
.punbb .post-content .table-vertical-borders td {
    border-left-width: 1px !important;
    border-left-style: solid !important;
    border-right-width: 1px !important;
    border-right-style: solid !important;
}


/***** G10 - Side window *****/
.custom_tag_formatgic.sidewindow {
    position: absolute;
    width: 170px;
    right: -185px;
    z-index: -1;
}

.custom_tag_formatgic.sidewindow .sidewindow-content {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    border: 0 none;
}

.custom_tag_formatgic.sidewindow .sidewindow-content .post-content > .quote-box {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}

.custom_tag_formatgic.sidewindow .sticky-fixer {
    visibility: hidden;
}


/***** G11 - GM roll (v1) *****/

.custom_tag_gmroll .roll_v1 .quote-box {
    /* margin-left: 2em; */
}

.custom_tag_gmroll .roll_v1 .roll_results {
    display: flex;
    flex-flow: row nowrap;
}

.custom_tag_gmroll .roll_v1 .roll_results .roll_result {
    flex: 1 auto;
    text-align: center;
}

.custom_tag_gmroll .roll_v1 .roll_results .roll_result + .roll_result {
    border-left: 1px solid;
}

.custom_tag_gmroll .roll_v1 .roll_results h4 {
    font: bold 2em "Present Script";
    margin: 0 0 .5em;
}

.custom_tag_gmroll .roll_v1 .roll_results span.raw {
    display: inline-block;
    vertical-align: middle;
}

.custom_tag_gmroll .roll_v1 .roll_results span.raw object {
    width: 66px;
    height: 66px;
    display: block;
}

.custom_tag_gmroll .roll_v1 .roll_results #attack span.raw object {
    width: 80px;
    height: 80px;
}

.custom_tag_gmroll .roll_v1 .roll_results #damage .result {
    padding: 7px 0;
}

.custom_tag_gmroll .roll_v1 .roll_results span.btext {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    padding: 0 0 1em;
}

.custom_tag_gmroll .roll_v1 .roll_results span.btext span {
    display: block;
    font-size: .9em;
}

.custom_tag_gmroll .roll_v1 .roll_results span.btext strong {
    display: block;
    font: 100 2em "Open Sans";
}

.custom_tag_gmroll .roll_v1 .bonuses cite {
    text-align: center;
}

.custom_tag_gmroll .roll_v1 .bonuses p strong {
    font-family: Consolas, monospace;
    font-size: 1.3em;
}

.custom_tag_gmroll .roll_v1 .state {
    text-align: center;
}

/***** G12 - Important warning *****/

.important_warning_message {
    color: yellow;
    margin: 0.5em 2em;
    background-color: rgba(255,255,0,0.2);
    border: 1px solid rgba(255,255,0,0.5);
    border-radius: 0.5em;
    padding: 0.5em;
    text-align: center;
    font-size: 1.4em;
}

/***** G13 - Formatgic - bank items *****/

.punbb .post-content .formatgic.bank .bank-characters {
    display: flex;
    flex-flow: row wrap;
    gap: 2em .3em;
    align-items: baseline;
    justify-content: space-between;
}

.punbb .post-content .formatgic.bank .bank-characters .bank-character {
    flex: 1 150px;
}

.punbb .post-content .formatgic.bank .bank-characters .bank-character h4 {
    text-align: center;
    font-size: 1.2em;
}

.punbb .post-content .formatgic.bank .bank-characters .bank-character ul {
    padding: 0;
}

.punbb .post-content .formatgic.bank .bank-characters .bank-character ul li {

}

.punbb .post-content .formatgic.bank .bank-characters .bank-character ul li.none {
    opacity: .5;
}

.punbb .post-content .formatgic.bank .bank-characters .bank-character ul li img {
    max-height: 2em;
    vertical-align: middle;
}

.punbb .post-content .formatgic.bank .bank-characters .bank-character ul li span {
    vertical-align: middle;
}
