/* ======================== MAIN IMPORTS AND VARIABLES ========================  */

@import url(style_cs.1766762339.css);

/* bootstrap icons */
@import url(/files/001c/98/d8/74005.css);

/* fonts */
@import url("https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900&display=swap");

@font-face {
    font-family: "Dalfitra";
    src: url("/files/001c/98/d8/35228.ttf") format("truetype"),
        url("/files/001c/98/d8/81582.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --padding: 3em;
    --accent-color: #5bbcb2;
    --link-color: #4ca293;
    --main-grey: #f6f6f6;
}

/* ======================== MEDIA QUERIES: RESPONSIVE AND MOBILE ========================  */

@media screen and (max-width: 1400px) {


    #pun-navlinks .container {
        justify-content: space-evenly;
        gap: 0;
    }

}

@media screen and (max-width: 1200px) {

    span#BookmCntToggle {
        top: 60px;
        transform: scale(0.8);
    }

}

@media screen and (max-width: 1100px) {
    #pun {
        margin: 0 10px;
    }

}

@media screen and (max-width: 1000px) {
    #pun-status {
        font-size: 0.8em;
    }

    #pun-title td.title-logo-tdl {
        width: 35%;
    }
}

/* ============================= 940 PX =============================== */

@media screen and (max-width: 940px) {

    #pun-index .hasicon tr {
        grid-template-columns: 41% 14% 41%;
    }

    th {
        font-size: 1em;
    }
}

/* ============================= 820 PX =============================== */

@media screen and (max-width: 820px) {
    /* iOS INPUT ZOOM FIX */

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    textarea {
        font-size: 16px;
    }

    /* HEADER & LOGO */

    #pun::before {
        height: 255px;
    }

    #pun-title tr#title-logo-tr {
        justify-content: center;
    }

    #pun-title td.title-logo-tdl {
        width: auto;
    }

    #pun-title h1 {
        justify-content: center;
    }

    #pun-title h1 span {
        text-align: center;
    }

    #pun-status {
        max-width: 100%;
        justify-self: center;
        margin-top: 4em;
        font-size: inherit;
    }

    #pun-ulinks {
        margin-top: 4em;
    }

    span#BookmCntToggle {
        position: absolute !important;
    }

    /* FORUMS & SUB FORUMS */

    #pun-index .hasicon tr {
        grid-template-areas:
            "tcl tc2"
            "tcl tc3"
            "tcl tcr";
        grid-template-columns: 50% 50%;
    }

    #pun-index .hasicon .tcr {
        align-self: flex-start;
        align-items: start;
    }

    #pun-index .hasicon .tc2,
    #pun-index .hasicon .tc3 {
        justify-content: flex-start;
        padding: 0.1em 1em;
    }

    /* USERLIST */

    #pun-userlist .last_visit {
        text-align: right;
    }

    .forum thead .tcr,
    #pun-searchtopics thead .tcr {
        white-space: nowrap;
        text-align: right;
    }

    /* MESSAGES PAGE */

    #messages .pmtcl1 {
        width: 40% !important;
    }

    #messages .pmtc33 {
        width: 14% !important;
    }

    /* POST */

    .post-links li.pl-website a,
    .post-links li.pl-email a {
        font-size: 0;
    }

    .post-links li.pl-website a::before,
    .post-links li.pl-email a::before {
        font-size: 15px;
        margin-right: 0;
    }

    .post-links li.pl-website,
    .post-links li.pl-email {
        padding: 0.2em 0.5em !important;
    }

    .post-sig img {
        max-width: 40%;
        height: auto;
    }

    #sTheme {
        width: unset !important;
        max-width: 200px;
    }
}

/* ============================= 725 PX =============================== */

@media screen and (max-width: 725px) {
    /* FORUMS & SUB FORUMS */

    #pun-index .hasicon tr {
        grid-template-areas:
            "tcl tcl"
            "tc2 tc3"
            "tcr tcr";
        grid-template-columns: auto auto;
        gap: 0.5em;
    }

    #pun-index .hasicon tr:not(:last-child) {
        margin-bottom: 2em;
    }

    #pun-index .hasicon .tcl {
        box-sizing: border-box;
        margin-left: 0;
    }

    #pun-index .hasicon .inew .tcl,
    #pun-index .hasicon .tcl {
        border-left: 1px solid #eaeaea;
    }

    #pun-index .hasicon .tcl h3 {
        position: relative;
        top: -1em;
        font-size: 1.5em;
        height: unset;
        width: calc(100% + 2em);
        left: -1em;
    }

    #pun-index .hasicon .tcl h3 a {
        white-space: normal;
    }

    #pun-index .hasicon .tc2 {
        justify-content: end;
        margin-left: -0.5em;
    }

    #pun-index .hasicon .tc3 {
        margin-left: 0.5em;
    }

    /* STATISTICS */

    #pun-stats .container {
        display: block;
    }

    #pun-stats li {
        margin-left: unset !important;
        border-left: 1px solid #eaeaea;
    }

    #pun-stats .item5.onlinelist {
        margin-top: 1.5em;
    }

    /* POST PROFILE */

    .post .post-author {
        width: 18em;
        border-left: 1px solid #eaeaea;
        margin-left: unset;
    }

    .pa-avatar img {
        max-width: 100%;
    }
}

/* ============================= 685 PX =============================== */

@media screen and (max-width: 685px) {
    :root {
        --padding: 1.8em;
    }

    input,
    select {
        max-width: 400px;
    }

    .icon[data-new-topics]:before,
    .subforums span[data-new-topics]:before {
        top: unset;
        bottom: 0;
    }

    p.crumbs {
        max-width: 100%;
    }

    #notify-settings {
        margin-left: unset;
    }

    #profile4 fieldset .fs-box p:nth-of-type(4),
    #profile4 fieldset .fs-box p:nth-of-type(5) {
        grid-column: 1 / 3;
    }

    /* USERLIST */

    #pun-userlist .usertable .container {
        padding-top: 0;
    }

    #pun-userlist thead {
        display: none;
    }

    #pun-userlist .main tr {
        grid-template-areas:
            "username  relation num_posts"
            "username  registered registered"
            "user_title  last_visit last_visit";
        grid-template-columns: 2fr 1fr 1fr;
        align-items: center;
        padding: 1em;
    }

    #pun-userlist .tcl.username {
        grid-area: username;
        width: unset;
    }

    #pun-userlist .user_title {
        grid-area: user_title;
        width: unset;
        text-align: left;
    }

    #pun-userlist .registered {
        grid-area: registered;
        width: unset;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }

    #pun-userlist .relation {
        grid-area: relation;
        text-align: left;
        width: unset;
    }

    #pun-userlist .num_posts {
        grid-area: num_posts;
        text-align: left;
        width: unset;
    }

    #pun-userlist .last_visit {
        grid-area: last_visit;
        text-align: left;
        width: unset;
    }

    #pun-userlist .num_posts::before {
        content: "Сообщений: ";
    }

    #pun-userlist .relation::before {
        content: "Уважение: ";
    }

    #pun-userlist .registered::before {
        content: "Зарегистрирован: ";
    }

    #pun-userlist .last_visit::before {
        content: "Был: ";
    }

    #pun-userlist .num_posts::before,
    #pun-userlist .relation::before,
    #pun-userlist .registered::before,
    #pun-userlist .last_visit::before {
        font-weight: 600;
        margin-right: 0.3em;
        color: #6d6d6d;
    }

    /* TOPIC LISTS */

    #pun-viewforum .category thead,
    .forum thead {
        display: none;
    }

    .isub tr,
    .forum tbody tr:not(.iredirect) {
        grid-template-columns: 3fr 1fr 2fr;
    }

    #pun-modviewforum .main tr {
        grid-template-columns: 3fr 1fr 2fr 0.5fr;
    }

    .isub .tcl,
    .forum .tcl {
        grid-row: 1 / 3;
    }

    .isub .tc2,
    .forum .tc2 {
        grid-row: 1;
        grid-column: 2;
        align-self: end;
    }

    .category .isub.inew {
        margin-top: 0;
    }

    #pun-viewforum .isub .tc2,
    #pun-viewforum .forum .tc2 {
        padding-bottom: 0.2em;
    }

    .isub .tc3,
    .forum .tc3 {
        grid-row: 2;
        grid-column: 2;
        align-self: start;
    }

    #pun-viewforum .isub .tc3,
    #pun-viewforum .forum .tc3 {
        padding-top: 0.2em;
    }

    .isub .tc2,
    .isub .tc3,
    .forum .tc2,
    #pun-searchtopics .main .tc3,
    .forum .tc3 {
        align-items: center;
        display: flex;
        justify-content: end;
    }

    .isub .tcr,
    .forum .tcr {
        grid-row: 1 / 3;
    }

    #pun-searchtopics tr {
        grid-template-columns: 70% 20% 10%;
    }

    #pun-searchtopics .tcl {
        grid-row: 1;
        grid-column: 1 / 3;
    }

    #pun-searchtopics .tc3 {
        grid-row: 1;
        grid-column: 3;
        align-self: start;
    }

    #pun-searchtopics .tc2 {
        grid-row: 2;
        grid-column: 2 / 4;
        text-align: right;
        justify-self: end;
    }

    #pun-searchtopics .tc2 a {
        color: #acacac;
    }

    #pun-searchtopics .tcr {
        grid-row: 2;
        grid-column: 1;
    }

    .isub .tc2::after,
    .isub .tc3::after,
    .forum .tc2::after,
    .forum .tc3::after {
        font-family: "bootstrap-icons";
        margin-left: 0.5em;
        font-size: 1.2em;
        opacity: 0.3;
    }

    .forum .tc3::after {
        content: "\F341";
    }

    #pun-viewforum .tc2::after,
    #pun-searchtopics .tc3::after {
        content: "\F268";
    }

    .hasicon .tclcon strong {
        margin-right: 0;
    }

    /* FULL SUB FORUMS */

    #pun-viewforum .category tr {
        grid-template-columns: 80% 20%;
    }

    #pun-viewforum .category tr .tcl {
        grid-column: 1;
        grid-row: 1 /4;
        align-self: start;
    }

    #pun-viewforum .category tr .tc2 {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        padding-bottom: 0.3em;
    }

    #pun-viewforum .category tr .tc3 {
        grid-column: 2;
        grid-row: 2;
        padding-top: 0.3em;
    }

    #pun-viewforum .category tr .tcr {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    #pun-viewforum .category tr .tc2::after {
        content: "\F3D7";
    }

    #pun-viewforum .category tr .tc3::after {
        content: "\F268";
    }

    .tcmod {
        grid-column: 4;
    }

    /* STATISTICS PAGE */
    #pun-statistic .tc-registered,
    #pun-statistic .tc-topic {
        width: 30% !important;
    }

    #pun-statistic .tc3 {
        width: 20% !important;
    }

    #pun-statistic .tc-title {
        display: none;
    }

    /* PROFILE PAGE */

    #viewprofile td#profile-left {
        border-right: 1px solid #eaeaea;
    }

    /* ADMIN PAGE */

    #pun-adnav {
        float: unset !important;
        margin-left: unset !important;
    }

    #pun-admain legend span {
        display: block;
    }

    #pun-admain .adinput {
        line-height: unset !important;
    }

    #pun-invitation td,
    table.adcontainer th,
    table.adcontainer td {
        overflow-wrap: break-word;
        hyphens: auto;
    }

    #pun-adnav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.1em 0.5em;
        justify-content: center;
    }

    #pun-adnav ul li.isactive {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        background: var(--main-grey);
    }

    #pun-admain .isactive a {
        font-size: 1.1em !important;
        width: 100%;
        text-align: center;
    }

    #pun-adnav ul.adsubnav li {
        display: inline-block;
        margin: 0.2em 0.5em !important;
    }

    .punbb-admin .linkst,
    .punbb-admin .linksb {
        padding: 0 var(--padding);
    }

    #pun-admain>div.linksb>div.postlink>a {
        overflow-wrap: anywhere;
        height: auto;
        line-height: 1.7;
    }

    .punbb-admin #pun-admain .linksb .postlink {
        width: auto !important;
    }

    .adminmain {
        padding-left: unset !important;
    }

    .adinput input {
        margin: 0.2em 0.2em 0.2em 0;
        font-size: 16px !important;
    }

    .punbb-admin select,
    .adinput input {
        max-width: 290px;
    }

    .adinput input[type="text"]:not(input[name="new_domain_name"]) {
        display: block;
    }

    #pun-admain fieldset .handle,
    #pun-admain fieldset p {
        border-left-width: 0 !important;
    }

    #pun-admain .adlabel {
        width: unset !important;
        margin-left: unset !important;
        float: unset !important;
        display: block;
    }

    #pun-admain p.adsubmitfield .adlabel {
        padding-bottom: 0.5em !important;
    }

    #pun-admain span.adsubmit {
        position: relative !important;
        left: unset !important;
        top: unset !important;
        margin: 1em 1em 0;
    }

    #pun-admin_mail th.tc3,
    #pun-admain .domains th.tc2 {
        font-size: 0;
        text-align: center !important;
    }

    #pun-admin_mail th.tc3::before,
    #pun-admain .domains th.tc2::before {
        font-size: 14px;
        font-family: "bootstrap-icons";
    }

    #pun-admain .domains th.tc2::before {
        content: "\F544";
    }

    #pun-admin_mail th.tc3::before {
        content: "\F4DB";
    }

    #pun-admain2 fieldset .subforums {
        margin-left: 2em !important;
    }

    #edforum .adinput>strong {
        display: block;
    }

    #pun-admain1 .sortable p input[name^="cat_name"] {
        margin-bottom: -0.7em !important;
    }

    #pun-admain1 form.adcontainer,
    #pun-admain2 form.adcontainer,
    #pun-admain-new form.adcontainer,
    #pun-admain1 div.adcontainer,
    #pun-admain2 div.adcontainer {
        padding-inline: 1px !important;
    }

    /* POST */

    #pun-messages .post-links li a,
    #pun-viewtopic .post-links li:not(.pl-select):not(.pl-nodelete) a {
        font-size: 0;
    }

    #pun-messages .post-links li a::before,
    #pun-viewtopic .post-links li:not(.pl-select):not(.pl-nodelete) a::before {
        font-size: 15px;
        margin-right: 0;
    }

    #pun-messages .post-links li,
    #pun-viewtopic .post-links li:not(.pl-select):not(.pl-nodelete) {
        padding: 0.2em 0.5em !important;
    }

    /* POST PROFILE */

    .post .post-author {
        width: 15em;
    }

    .post h3 span {
        margin-left: 15em;
    }

    #pun-viewtopic .linksb {
        grid-template-columns: auto auto auto;
    }

    #s-block {
        grid-row: 1;
        grid-column: 3;
        justify-self: end;
    }

    .subscribelink {
        grid-row: 2;
        text-align: right;
        grid-column: 2 / 4;
    }

    .pagelink {
        grid-column: 1 / 3;
    }

    #tags .container {
        max-width: 90%;
    }

    #main-reply {
        max-height: 40vh;
    }

}

/* ============================= 540 PX =============================== */

@media screen and (max-width: 540px) {
    :root {
        --padding: 1.2em;
    }

    input,
    select {
        max-width: 280px;
    }

    #pun-status {
        margin-top: 2em;
    }

    /* ADMIN */

    .adinput input[type="text"],
    .punbb-admin select {
        max-width: 200px;
    }

    #pun-admain .adcontainer #filetable th,
    #pun-admain .adcontainer #filetable td {
        padding: 0.5em 0.2em !important;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    #pun-admain .adformal p.submitend {
        padding: 0 1em;
        box-sizing: border-box;
    }

    #file_upload {
        padding: 1em !important;
    }

    .punbb-admin .pagelink {
        margin: 1em !important;
    }

    #pun-admain #tag-filter-container {
        margin-right: 1em;
    }

    #ranks input {
        max-width: 150px;
    }

    /* HEADER */
    #pun-title td.title-logo-tdr::before,
    #pun-title td.title-logo-tdr {
        font-size: 25px;
        line-height: 25px;
        top: 21px;
    }

    #pun-status .item3.status-right {
        position: absolute;
        top: 8em;
        width: 120%;
        grid-row: unset;
        padding: 0;
        border: none;
        right: 50%;
        transform: translateX(50%);
        font-size: 0.9em;
        text-align: center;
    }

    /* FORUM NAVIGATION */

    #pun-navlinks .container {
        height: 60px;
        align-items: center;
    }

    #pun-navlinks .container span:not(#navpm span[data-last-unread]) {
        display: none;
    }

    #pun-navlinks .container a {
        position: relative;
        font-size: 5cqw;
        align-items: center;
        justify-items: center;
    }

    #navpm a span[data-last-unread]::before,
    #pun-navlinks .container a::before {
        font-family: "bootstrap-icons";
        display: inline-block;
    }

    #pun-navlinks .container li[id*="navextra"] a {
        font-size: 0
    }

    #pun-navlinks .container li[id*="navextra"] a::before {
        content: "\F234";
        font-size: 5cqw;
    }

    #navindex a::before {
        content: "\F425";
    }

    #navawards a::before {
        content: "\F5E7";
    }

    #navuserlist a::before {
        content: "\F4D0";
    }

    #navsearch a::before {
        content: "\F52a";
    }

    #navprofile a::before {
        content: "\F4e1";
    }

    #navpm a::before {
        content: "\F268";
    }

    #navpm a span {
        font-size: 0;
    }

    #navpm a span[data-last-unread]::before {
        content: "";
        top: -4px;
        right: -4px;
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 50%;
        position: absolute;
        animation: blinkColor 0.9s linear infinite;
        -moz-animation: blinkColor 0.9s linear infinite;
        -webkit-animation: blinkColor 0.9s linear infinite;
        background: var(--accent-color);
    }

    #navadmin a::before {
        content: "\F3E5";
    }

    #navlogout a::before {
        content: "\F1C3";
    }

    #navlogin a::before {
        content: "\F1BE";
    }

    #navregister a::before {
        content: "\F4DD";
    }

    #navrules a::before {
        content: "\F43E";
    }

    #pun-navlinks li.isactive {
        border: none;
    }

    /* STATISTICS */

    #onlinelist:not(.item5.statistics) {
        border-top-width: 1px;
        border-top-color: #eaeaea;
        padding-top: 1.5em;
    }

    #onlinelist:not(.item5.statistics)>div {
        margin-top: unset;
        line-height: unset;
        text-transform: unset;
        font-size: unset;
        color: unset;
    }

    #onlinelist:not(.item5.statistics) span {
        font-size: unset;
    }

    li#onlinelist:not(.item5.statistics)>div a:not(span a) {
        color: var(--link-color);
    }

    /* USERLIST */

    #pun-userlist .main tr {
        display: grid;
        border: 1px solid #e6e6e65c;
        border-radius: 5px;
        grid-template-areas:
            "username user_title"
            "relation num_posts"
            "registered last_visit";
        grid-template-columns: 1fr 1fr;
    }

    #pun-userlist .main tr:not(:last-of-type) {
        margin-bottom: 1em;
    }

    /* FORUM TOPIC LIST */

    .isub tbody tr,
    .forum tbody tr:not(.iredirect) {
        grid-template-columns: 80% 20%;
    }

    #pun-modviewforum .main tr {
        grid-template-columns: 80% 15% 5%;
    }

    .tcmod {
        grid-column: 3;
        grid-row: 1;
    }

    .isub tbody .tcl,
    .forum tbody .tcl {
        grid-row: 1;
        grid-column: 1 / 3;
    }

    .isub tbody .tcr,
    .forum tbody .tcr {
        grid-row: 2 / 4;
    }

    .isub tbody .tc2,
    .forum tbody .tc2 {
        grid-row: 2;
        justify-content: end;
    }

    .isub tbody .tc3,
    .forum tbody .tc3 {
        grid-row: 3;
        grid-column: 2;
    }

    /* PROFILE PAGE */

    #viewprofile tr {
        display: grid;
    }

    #viewprofile td#profile-left {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    #viewprofile td#profile-right {
        width: 100%;
        margin: 1em auto 0;
        text-align: center;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5em 1em;
        align-items: start;
    }

    #viewprofile li {
        padding: 0;
        margin: 0 0 2em;
    }

    #viewprofile li span {
        float: unset;
        margin-left: unset;
        width: 100%;
        box-sizing: border-box;
    }

    #profile-right li strong {
        padding-left: 0 !important;
        margin-top: 0.5em;
    }

    #filetable th.tc3.header {
        font-size: 0;
    }

    #filetable th.tc3.header::before {
        font-size: 12px;
        font-family: "bootstrap-icons";
        content: "\F392";
        margin-right: 0.2em;
    }

    #filetable td:nth-child(5) {
        width: 11% !important;
    }

    #profile10 #filetable .tc2 {
        width: 14% !important;
    }

    #pun-positive th.tc2,
    #pun-respect th.tc2 {
        font-size: 0;
    }

    #pun-positive th.tc2::before,
    #pun-respect th.tc2::before {
        font-size: 13px;
        font-family: 'bootstrap-icons';
        content: '\F6AA';
    }

    /* MESSAGES PAGE */

    #messages thead th:not(.pmtc24) {
        display: none !important;
    }

    #messages thead .pmtc24 {
        text-align: right;
        padding: 0 var(--padding) var(--padding) !important;
    }

    #messages .fs-box,
    #messages fieldset {
        padding: 0;
    }

    #messages fieldset legend {
        margin-left: var(--padding);
    }

    #pun-messages .hasicon tr {
        display: grid;
        align-items: start;
        grid-template-areas:
            "user . date check"
            "user topic topic topic";
        grid-template-columns: 52px 1fr 1fr auto;
        padding: var(--padding);
        gap: 0.5em;
    }

    #pun-messages #messages td.tc2.pmtc22 {
        grid-area: user;
        position: relative;
        width: 100% !important;
        overflow: visible !important;
        padding: 0;
    }

    #messages td.tc2.pmtc22>a {
        position: absolute;
        white-space: nowrap;
        top: 0;
        left: 58px;
        font-weight: 600;
    }

    #messages td.tcl.pmtcl1 {
        grid-area: topic;
        width: 100% !important;
        padding: 0;
    }

    #messages td.tc3.pmtc33 {
        grid-area: date;
        display: flex;
        width: 100% !important;
        justify-content: flex-end;
        padding: 0;
    }

    #messages td.tc2.pmtc24 {
        grid-area: check;
        width: 100% !important;
    }

    /* custom onoff */
    #notify-settings .inp2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #OnOff_Notify {
        display: none;
    }

    #OnOff_Notify+label {
        display: inline-block;
        width: 40px;
        height: 24px;
        position: relative;
        cursor: pointer;
        font-size: 0;
        vertical-align: middle;
    }

    #OnOff_Notify+label::before {
        content: "\F631";
        font-family: "bootstrap-icons";
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 22px;
        border-radius: 12px;
        text-align: center;
        line-height: 22px;
        font-size: 14px;
        transition: all 0.3s ease;
        font-weight: 500;
        color: #fff;
        background: #c3c3c3;
    }

    #OnOff_Notify:checked+label::before {
        content: "\F18A";
        background: var(--accent-color) !important;
        color: #fff;
    }

    /* POST  */

    .post .container {
        grid-auto-columns: 100%;
    }

    .post .post-author {
        width: 100%;
        margin-top: unset;
        position: relative;
        padding-right: calc(20% + var(--padding));
        box-sizing: border-box;
    }

    .post h3 span {
        margin-left: unset;
    }

    .post-body {
        grid-column: 1;
        grid-row: 2;
    }

    .post-links {
        grid-column: 1;
        grid-row: 3;
    }


    .post span.bookmark {
        right: -14px !important;
    }

    .post .post-author .pa-avatar {
        position: absolute;
        top: var(--padding);
        right: var(--padding);
        max-width: 18%;
    }

    .pa-avatar img {
        width: unset;
        max-width: 100%;
        border-right: none;
    }

    .post .post-author li {
        text-align: left;
        margin: 0.3em 0;
    }

    .pa-online {
        width: fit-content;
    }

    li.pa-ua {
        justify-content: start !important;
    }

    #form-buttons tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    #form-buttons td {
        min-width: 27px;
    }

    #tags .container {
        top: 80px !important;
        max-width: 100%;
    }

    .mod-awards-list #awards-content tr {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    .mod-awards-list #awards-content td:nth-of-type(3) {
        grid-row: 2;
        grid-column: 1 / 4;
    }

    .fr {
        display: block;
        float: unset !important;
        margin: 1em 0 0;
    }


    span#BookmCntToggle {
        top: 160px !important;
    }

    /*  MYBB MOBILE FIXES  */

    p.formsubmit {
        margin: 0 var(--padding) 0 !important;
    }


    div#pun {
        overflow-x: unset !important;
    }

    #pun div#pun-navlinks ul.container {
        height: 60px !important;
        z-index: 2 !important;
    }

    #pun-navlinks ul.container li {
        line-height: unset !important;
    }

    #pun div#pun-navlinks ul.container li a,
    #pun div#pun-navlinks ul.container li a:hover {
        background-image: none !important;
        background-color: #158176 !important;
        border-radius: 5px !important;
        height: unset !important;
        width: unset !important;
        -webkit-box-shadow: none !important;
        padding: 3px 4px !important;
        display: grid !important;
    }

    #pun div#pun-navlinks ul.container .isactive a {
        background: #0ecab6 !important;
    }

    .ismoderator div#pun-ulinks,
    div#pun-ulinks {
        background-color: unset !important;
        position: relative !important;
        background-image: none !important;
        width: unset !important;
        height: unset !important;
        right: unset !important;
        top: unset !important;
        margin-top: 6em !important;
        z-index: 1 !important;
    }

    #pun-ulinks ul.container {
        padding: 1em !important;
        border: 1px solid #78daca !important;
        background-color: var(--accent-color) !important;
        -webkit-box-shadow: none !important;
        top: unset !important;
        position: relative !important;
    }

    #pun-ulinks:hover ul.container,
    #pun-ulinks:focus ul.container {
        display: flex !important;
    }

    #pun-ulinks ul.container li {
        display: unset !important;
    }

    #pun-ulinks ul.container li a {
        display: inline-block !important;
        padding: .3em .7em !important;
        font-size: 10px !important;
    }

    div#pun-title {
        margin-bottom: 1em !important;
        overflow-x: unset !important
    }

    div#pun-title h1.title-logo {
        height: 4em !important;
        font-size: 1.5em !important;
        white-space: normal !important;
    }

    div#pun-title h1.title-logo span {
        white-space: normal !important;
    }


    div.linkst div.pagelink {
        margin-top: unset !important;
    }

    .forum td.tc2 {
        display: flex !important;
        width: unset !important;
    }

    div.post h3 span {
        background-color: unset !important;
    }

    #post textarea {
        font-size: 16px !important;
        max-width: 99% !important;
    }

    div#pun-index.punbb tbody.hasicon td.tcl:not(.isub .tcl) {
        padding-left: 1.5em !important;
    }

    /*  MYBB MOBILE FIXES END */
}

@media screen and (max-width: 400px) {

    input,
    select {
        max-width: 250px;
    }
}