/* You can find detailed information at https://wiki.simplemachines.org/smf/Curve2_CSS
/* Index */

:root {
    --darkblue: #176093;
    --orange: #e64919;
    --yellow: #fdce2c;
    --button-bg-0color: #ccc;
    --font-size-h1:      2em;       /* Haupt-Überschrift */
    --font-size-h2:      1.5em;     /* Unter-Überschrift */
    --font-size-h4:      1.125em;   /* 18px bei 16px Basis */
    --font-size-base:    1em;       /* Fließtext = 16px (Browser-Standard) */
    --font-size-small:   0.9375em;  /* 15px bei 16px Basis */
    --font-size-x-small: 0.875em;   /* 14px bei 16px Basis */
    --font-size-label:   0.8125em;  /* 13px bei 16px Basis */
    --spacing-unit: 8px;
}

html {
    background: #3e5a78;
    scroll-padding-top: 3rem;
}
body {
    background: #e9eef2;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 100%; /* Browser-Standard: 16px */
    line-height: 1.7;
    color: #4d4d4d;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
::selection {
    text-shadow: none;
    background: #99d4ff;
    color: rgba(0, 0, 0, 0.6);
}
/* General reset */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
ul,
ol {
    list-style: none;
}
ul.normallist {
    list-style-type: disc;
    padding: 0 0 0 15px;
}
table {
    empty-cells: show;
}
abbr {
    border-bottom: 0.1em dotted;
}
input,
button,
select,
textarea {
    color: #222;
    /* font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif; */
    background: #fff;
    outline: none;
    border: 1px solid #bbb;
    vertical-align: middle;
    border-radius: 3px;
    box-shadow: 1px 2px 1px rgba(160, 187, 221, 0.2) inset;
    padding: 0.3em 0.4em;
}
input:hover,
textarea:hover,
button:hover,
select:hover {
    outline: none;
    border-color: #82a2bc;
}
textarea:hover {
    background: #fbfbfb;
}
input:focus,
textarea:focus,
button:focus,
select:focus {
    outline: none;
    border-color: #7fb0d8;
    background: #fff;
}
input,
button,
select {
    padding: 0 0.4em;
    height: 2em;
    line-height: 2em;
}
select {
    padding: 0.22em 0.2em; /* selects don't apply line-height */
}
/* Selects with more than one line */
select[size] {
    height: auto;
}
input[type="file"] {
    padding: 2px;
    height: auto;
}
/* Remove default mozilla dotted borders */
input[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
}
/* Prevent inputs and images overflowing */
img,
input,
select,
textarea {
    max-width: 100%;
}
/* This is a specific issue on Ubuntu - Chrome */
#chrome input {
    font-family:
        "Segoe UI", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
}
/* The following is necessary */
textarea {
    font-size: 1em;
}

/* Use a consistent monospace font everywhere */
.monospace,
.bbc_code,
.phpcode,
pre {
    font-family: "DejaVu Sans Mono", Menlo, Monaco, Consolas, monospace;
}

.sceditor-container textarea,
.sceditor-container textarea:focus {
    box-shadow: none;
}
#quick_edit_body_container textarea,
.move_topic textarea,
dd textarea {
    width: 100%;
    min-height: 100px;
}
/* Apply the font only to these elements */
input,
button,
select {
    font-size: 1em;
}
/* Number inputs don't support size nor width, so add some common ones here and set a default... */
input[type="number"] {
    padding-right: 0; /* Removes weird white space after arrows in some browsers */
    width: calc(4ch + 15px + 0.8em);
}
input[type="number"][size="2"],
input[type="number"][size="1"] {
    width: calc(2ch + 15px + 0.8em);
}
input[type="number"][size="3"] {
    width: calc(3ch + 15px + 0.8em);
}
input[type="number"][size="5"] {
    width: calc(5ch + 15px + 0.8em);
}
input[type="number"][size="6"] {
    width: calc(6ch + 15px + 0.8em);
}
select option {
    padding: 0 4px;
}
/* Fieldsets are used to group elements */
fieldset {
    padding: 18px;
    margin: 0 0 6px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
}
fieldset legend {
    font-weight: bold;
    color: #555;
    box-shadow: none;
    border: none;
}
summary {
    margin: 5px 0;
}

/* Define strong as bold, and em as italics */
/* Note: in some particular places, strong has been redefined as font-weight: 600; */
/* This gives a better effect for those areas, and will default to bold for fonts which do not support numerical font-weight */
strong,
.strong {
    font-weight: bold;
    color: #444;
}
.cat_bar strong {
    color: #fff;
}
em,
.em {
    font-style: italic;
}
/* Default <strong> color on these tags */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    color: #444;
}
/* All input elements that are checkboxes or radio buttons shouldn't have a border around them */
input[type="checkbox"],
input[type="radio"] {
    border: none;
    background: none;
    vertical-align: middle;
    box-shadow: none;
    margin: 0 3px;
}
.moderationbuttons_mobile_check {
    display: none;
}
/* Give disabled input elements a different style */
input[disabled],
textarea[disabled],
select[disabled],
.button.disabled,
.button[disabled]:hover {
    background: #eee;
    color: #999;
    border-color: #b6b6b6;
    opacity: 0.8;
    cursor: default;
}
/* Standard horizontal rule.. ([hr], etc.) */
hr {
    border: none;
    margin: 12px 0;
    height: 2px;
    background: #fff;
    box-shadow: 0 1px 0 #bbb inset;
}
/* This is about links */
a,
a:visited {
    color: #346;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Help popups require a different styling of the body element. */
/* Deprecated? */
body#help_popup {
    padding: 12px;
}

#likes li {
    clear: both;
    padding: 1px 0;
}
#likes .avatar {
    max-height: 45px;
    max-width: 45px;
    margin: 0 10px 0 0;
}
#likes .avatar,
#likes li .like_profile {
    vertical-align: middle;
    display: inline-block;
}
#likes li .like_time {
    padding: 4px 0;
}
#likes .description {
    font-style: italic;
    opacity: 0.4;
    font-size: 1em;
    display: block;
}

/* The "new" button */
.new_posts,
a.new_posts {
    display: inline-block;
    position: relative;
    top: -2px;
    padding: 0 4px;
    background: rgb(230, 73, 25);
    color: #fff;
    font:
        9px/15px verdana,
        sans-serif;
    border-radius: 2px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
a.new_posts:visited {
    color: #fff;
}
.new_posts:hover,
.new_posts:focus {
    text-decoration: none;
    opacity: 1;
}

/* Common classes to easy styling.
------------------------------------------------------- */
.floatright {
    float: right;
}
.floatleft {
    float: left;
}
.floatnone {
    float: none;
}
.flow_auto {
    overflow: auto;
}
.flow_hidden {
    overflow: hidden;
}
.clear {
    clear: both;
}
.clear_left {
    clear: left;
}
.clear_right {
    clear: right;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext,
tr.smalltext th {
    font-size: 1em;
}
.largetext {
    font-size: 1.4em;
}
h3.largetext {
    font-size: large;
}
.xlargetext {
    font-size: x-large;
}
.centertext,
.centercol {
    margin: 0 auto;
    text-align: center;
}
.righttext {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}
.lefttext {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
.justifytext {
    text-align: justify;
}
.double_height {
    line-height: 2em;
}
/* some common padding styles */
.padding {
    padding: 8px;
}
.main_section,
.lower_padding {
    padding-bottom: 6px;
}
.half_content {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}
.half_content:nth-of-type(odd) {
    margin-right: -0.25em;
    padding-right: 0.3%;
}
.half_content:nth-of-type(even) {
    margin-left: -0.2em;
    padding-left: 0.3%;
}

/* Blockquote stylings */
blockquote {
    margin: 0 0 8px 0;
    padding: 6px 10px;
    font-size: 1em;
    border: 1px solid #d6dfe2;
    border-left: 2px solid #aaa;
    border-right: 2px solid #aaa;
}
blockquote cite {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1em;
    margin-bottom: 3px;
}
blockquote cite::before {
    color: #aaa;
    font-size: 22px;
    font-style: normal;
    content: "\275D";
    margin-right: 3px;
    vertical-align: middle;
}
.bbc_standard_quote {
    background-color: #e0e6f6;
}
.bbc_alternate_quote {
    background-color: #ebf4f8;
}

/* A code block - maybe PHP ;). */
.bbc_code {
    display: block;
    font-size: 1em;
    background: #f3f3f3;
    border: 1px solid #dfdfdf;
    border-top: 2px solid #bbb;
    border-bottom: 3px solid #aaa;
    border-radius: 2px;
    margin: 1px 0 6px 0;
    padding: 3px 12px;
    overflow: auto;
    white-space: nowrap;
    max-height: 25em;
}
/* The "Quote:" and "Code:" header parts... */
.codeheader,
.quoteheader {
    color: #666;
    font-size: 1em;
    padding: 0 2px;
}
/* For links to change the code stuff... */
.codeoperation {
    font-weight: normal;
}
/* Expand code bbc */
.expand_code {
    max-height: none;
}
/* Styling for BBC tags */
.bbc_link {
    border-bottom: 1px solid #a8b6cf;
}
.bbc_link:hover {
    text-decoration: none;
    border-bottom: 1px solid #346;
}
.bbc_size {
    line-height: 1.4em;
}
.bbc_color a {
    color: inherit;
}
.bbc_table {
    font: inherit;
    color: inherit;
}
.bbc_table td {
    font: inherit;
    color: inherit;
    vertical-align: top;
}
.bbc_list {
    text-align: left;
    padding: 0 0 0 35px;
    list-style-type: inherit;
}
.bbc_float {
    margin-bottom: 1em;
    /* default max-width to use if none was specified in the BBC */
    max-width: 45%;
}
.bbc_float.floatleft {
    margin-right: 1em;
    clear: left;
}
.bbc_float.floatright {
    margin-left: 1em;
    clear: right;
}
.bbc_img {
    object-fit: contain;
}
.postarea .bbc_img.resized:hover {
    cursor: pointer;
}
.bbc_img.original_size {
    height: auto !important;
    width: auto !important;
    max-height: none;
    max-width: 100%;
}
/* No image should have a border when linked. */
a img {
    border: 0;
}

/* Those collapse and expand icons are wonderful. */
.toggle_up::before,
.toggle_down::before {
    width: 17px;
    height: 17px;
    display: inline-block;
    background: #f7f7f7 url(../images/icons/toggle.png) no-repeat 0 0 / 17px;
    overflow: hidden;
    content: "";
    vertical-align: middle;
    margin: 0 5px 0 5px;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 1px 1px #fff inset,
        0 -5px 4px rgba(0, 0, 0, 0.1) inset;
    transition: background-color 0.25s;
}
.toggle_down::before {
    background-position: 0 -17px;
}

.toggle_up:hover:before,
.toggle_down:hover:before {
    background-color: #bfd4e7;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) inset;
    transition: background-color 0.25s;
}

/* Generally, those [?] icons. This makes your cursor a help icon. */
.help {
    cursor: help;
    opacity: 0.9;
}
.help:hover {
    opacity: 1;
}

/* Highlighted text - such as search results. */
.highlight {
    font-weight: bold;
    color: #ff7200 !important;
    font-size: 1.1em;
    background-color: inherit;
}

/* the page navigation area */
.pagesection {
    padding: 2px 0;
    overflow: hidden;
    clear: both;
}
.pagesection .pagelinks {
    display: inline-block;
}
.pages::after,
.jump_to::after,
.code::after,
strong[id^="child_list_"]::after {
    content: ": ";
}
.pages {
    font-size: 1em;
    margin-left: 7px;
}
#main_content_section .pagesection {
    margin: 4px 0 0 0;
}
.pagelinks .button {
    /* padding: 0 5px; */
}
.nav_page {
    padding: 0 1px;
}
.expand_pages {
    font-weight: bold;
    cursor: pointer;
}
.current_page {
    padding: 0 4px 0 2px;
    color: #b46100;
    font-family: verdana, sans-serif;
    font-weight: bold;
}
.current_page::before,
.codeoperation::before {
    content: "[";
}
.current_page::after,
.codeoperation::after {
    content: "]";
}

/* Posts and personal messages displayed throughout the forum. */
.post {
    overflow: auto;
    line-height: 1.4em;
    padding: 1px 0;
}

/* Calendar colors for birthdays, events and holidays */
.birthday {
    color: #920ac4;
}

.event {
    color: #078907;
}

.holiday > span {
    color: #025dff;
}
/* Events that are currently selected on the calendar. Won't see it much, probably. */
.sel_event {
    font-weight: bold;
}

.warn_moderate {
    color: #ffa500;
}

.warn_watch,
.success {
    color: green;
}

a.moderation_link,
a.moderation_link:visited {
    font-weight: bold;
    padding: 0px 8px;
    background: #f59e00;
}
/* AJAX notification bar
------------------------------------------------------- */
#ajax_in_progress {
    background: #fff;
    border-bottom: 4px solid #f96f00;
    color: #f96f00;
    text-align: center;
    font-size: 1.6em;
    padding: 8px;
    width: 100%;
    line-height: 25px;
    position: fixed;
    top: 0;
    left: 0;
}

#ajax_in_progress a {
    color: orange;
    text-decoration: underline;
    font-size: 1em;
    float: right;
    margin-right: 20px;
}

/* Lists with settings use these a lot.
------------------------------------------------------- */
dl.settings {
    clear: right;
    overflow: auto;
    margin: 0 0 10px 0;
    padding: 5px;
}
dl.settings dt {
    width: 56%;
    float: left;
    margin: 0 0 10px 0;
    clear: both;
}
dl.settings dt.windowbg {
    width: 98%;
    float: left;
    margin: 0 0 3px 0;
    padding: 0 0 5px 0;
    clear: both;
}
dl.settings dd {
    width: 42%;
    float: right;
    margin: 0 0 3px 0;
}
dl.settings img {
    margin: 0 10px 0 0;
    vertical-align: middle;
}

/* a general table class */
table.table_grid {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}
table.table_grid td {
    padding: 3px;
}
/* Some predefined widths (mostly for tables) */
.table_grid.half_content,
.half_table {
    width: 50%;
}
.equal_table {
    width: 33%;
}
.quarter_table {
    width: 25%;
}
.small_table {
    width: 10%;
}
.table_icon {
    width: 5%;
}

.title_bar th,
.windowbg th {
    padding: 4px 8px;
}
.title_bar .sort_down,
.title_bar .sort_up {
    margin: -3px 0 0 2px;
}

/* GenericList */
.additional_row {
    padding: 6px 0 6px 0;
}
.additional_row::after {
    content: "";
    display: block;
    clear: both;
}
img.sort,
.sort {
    margin-bottom: -4px;
    margin-left: 4px;
}

/* table_grid styles for Profile > Show Permissions. */
#permissions table.table_grid td {
    padding: 5px 10px;
    cursor: default;
}

.postbg {
    border-left: 1px solid #7f7f7f;
    border-right: 1px solid #7f7f7f;
}

/* Styles used by the auto suggest control.
------------------------------------------------------- */
.auto_suggest_div {
    position: absolute;
    visibility: hidden;
    border-radius: 3px;
    outline: none !important;
    border: 1px solid #bbb;
    z-index: 100;
}
.auto_suggest_item {
    background: #ddd;
    padding: 1px 4px;
}
.auto_suggest_item_hover {
    background: #888;
    cursor: pointer;
    color: #eee;
    padding: 1px 4px;
}

/* Styles for the standard dropdown menus.
------------------------------------------------------- */
.dropmenu,
#top_info {
    position: relative;
}
/* Level 1 button background. */
.dropmenu > li,
#top_info > li {
    display: inline-block;
    margin: 0 2px 0 1px;
    font-size: 1em;
    line-height: 1.9em;
}
/* Disable default focus outlines */
.dropmenu a {
    outline: 0;
}
/* For cases where we want to spotlight something specific to an item, e.g. an amount */
.amt {
    margin-left: 3px;
    padding: 0 5px;
    color: #fff;
    background: #6d90ad;
    border-radius: 8px;
}
.dropmenu li .active .amt,
#top_info li .active .amt {
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
}
#top_info .top_menu.visible {
    display: block;
}
/* Needed for new PM notifications. */
.dropmenu li strong {
    color: #333;
}

.dropmenu li a,
#top_info > li > a {
    padding: 0 7px 0 7px;
    display: block;
    border: 1px solid transparent;
    border-radius: 4px;
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
    color: var(--orange);
}
/* Level 1 hover effects. */
.dropmenu > li:hover > a,
.dropmenu > li > a:focus,
#top_info > li:hover > a,
#top_info > li > a:focus {
    transition: color 0.2s ease;
    background: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    border-color: #f6f6f642;
}
/* Level 1 active button. */
.dropmenu li a.active:hover,
.dropmenu li:hover a.active {
    transition: color 0.2s ease;
    background: #ff5722;
    color: #ffffff;
    border-color: #f6f6f642;
    text-shadow: none;
}
#language_select {
    padding: 0 0.4em;
    height: 2.55em;
    line-height: 2.55em;
}
a.mobile_user_menu,
a[class^="mobile_generic_menu_"] {
    display: none;
}

#main_menu {
    margin-right: auto;
    max-width: 100%;
}

/* User information. */
#profile_menu_top::after {
    content: " \25BC";
}
.profile_user_info,
.profile_user_avatar {
    display: inline-block;
    margin: 0 9px;
    vertical-align: middle;
}
.profile_user_avatar img.avatar {
    max-width: 100px;
}
.profile_username {
    font-size: 150%;
    display: block;
}
.profile_user_links ol {
    margin-left: 10px;
    clear: both;
    column-count: 2;
}
.profile_user_links li {
    font-size: 1em;
    line-height: 2em;
    padding-left: 24px;
    text-indent: -24px;
    -webkit-hyphens: auto;
    hyphens: auto;
}
/* Fixes bug with border-box on scrollable js */
.scrollable,
.scrollable *,
#profile_menu {
    box-sizing: content-box;
}
.top_menu.scrollable {
    max-height: 30em;
}
.pm_unread,
.alerts_unread {
    margin-top: 5px;
    border-top: 1px solid #ddd;
}
.unread_notify {
    border-bottom: 1px solid #ddd;
}
.no_unread {
    margin-top: 5px;
    text-align: center;
}
.unread_notify:hover {
    background: #eee;
    text-decoration: none;
}
.unread_notify:last-child {
    border-bottom: none;
}
.unread_notify {
    display: flex;
    align-items: center;
    padding: 6px 5px;
    line-height: 20px;
}
.unread_notify.alert_read {
    opacity: 0.5;
    outline: none;
    filter: grayscale(1);
}
.unread_notify strong {
    font-weight: 600;
}
.unread_notify .avatar {
    width: 40px;
    height: 40px;
    object-fit: scale-down;
    margin: 4px 4px 4px 0;
    display: inline-block;
    color: transparent; /* For broken images */
    vertical-align: bottom;
}
.unread_notify_image {
    position: relative;
    width: 44px;
    margin-right: 4px;
    text-align: center;
}
.unread_notify_image span.alert_icon {
    display: block;
    line-height: 1em;
}
.unread_notify_image .avatar + .alert_icon {
    width: auto;
    position: absolute;
    right: 0;
    top: 0;
}
.unread_notify .details {
    display: inline-block;
    vertical-align: top;
    max-width: calc(100% - 48px);
}
#pm_menu .subject {
    font-weight: bold;
}
/* Levels 2 and 3 submenu wrapper. */
.dropmenu li ul,
.top_menu {
    z-index: 90;
    position: absolute;
    display: none;
    min-width: 18.2em;
    padding: 0.5em;
    font-weight: normal;
    border: solid 1px #999;
    border-left: solid 1px #bbb;
    border-top: solid 1px #ccc;
    border-radius: 4px;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
    background: #fff;
}
/* Level 2 link background. */
.dropmenu li li {
    margin: 0;
    padding: 0;
    width: 17em;
    font-size: 1em;
    border-radius: 3px;
    border: 1px solid transparent;
}
/* Necessary to allow highlighting of 1st level while hovering over submenu. */
.dropmenu li:hover li a,
.dropmenu li li a {
    background: none;
    padding: 0 9px;
    color: #346;
    border: none;
    line-height: 2.2em;
}

.dropmenu li li a > img {
    vertical-align: middle;
}
/* The profile/pm menus are declared off .dropmenu li ul for consistency but have other characteristics. */
.top_menu {
    min-width: 25em;
}
.top_menu .login {
    width: 100%;
}
.top_menu .login dt {
    text-align: left;
    width: 55%;
}
.top_menu .login dd {
    width: 43%;
}
.top_menu .login input {
    width: 90%;
}
/* Note: The next declarations are for keyboard access with js disabled. */
.dropmenu ul a:focus,
.dropmenu ul ul a:focus {
    margin-left: 9990px;
    border: none;
    width: 17em;
}
.dropmenu ul ul a:focus {
    margin-left: 19950px;
}
/* Cancel those for hover and/or js access. */
.dropmenu ul li:hover a:focus,
.dropmenu ul li a:focus {
    margin-left: 0;
    width: auto;
}
/* Level 3 submenu wrapper positioning. */
.dropmenu li ul ul {
    margin: -2em 0 0 15.3em;
}
/* Level 3 maintains font-size the same as Level 2. */
.dropmenu li li li a {
    font-size: 1em;
}
/* Levels 2 and 3 hover effects. */
.dropmenu li li:hover {
    border: none;
}

.dropmenu li li:hover > a,
.dropmenu li li a:focus,
.dropmenu li li a:hover {
    color: #333;
    text-decoration: none;
    border: 1px solid #cfcfcf;
    border-top: 1px solid #d4dee6;
}
/* Reposition Level 2 submenu as visible on hover. */
.dropmenu li:hover ul {
    display: block;
}
/* Hiding Level 3 submenu off hover. */
.dropmenu li:hover ul ul,
.dropmenu li ul ul,
.dropmenu li:hover ul ul ul,
.dropmenu li ul ul ul {
    left: -9999px;
}
/* Reposition as visible on hover. */
.dropmenu li li:hover ul,
.dropmenu li li ul {
    left: -14px;
}
.dropmenu li li.subsections > a::after {
    position: absolute;
    padding: 5px 0;
    right: 10px;
    font:
        83.33%/150% Arial,
        sans-serif;
    content: "\25ba";
}
/* Highlighting of current section */
.dropmenu li li a.chosen {
    font-weight: bold;
}

/* The extra menu rows for admin sections, etc. */
#adm_submenus {
    margin: 0 0 6px 0;
    overflow: hidden;
}

/* Styles for the standard button lists.
------------------------------------------------------- */
.buttonlist,
.buttonrow,
.pagelinks {
    z-index: 100;
    padding: 5px 0 5px 0;
}
.button,
.quickbuttons > li > a,
.inline_mod_check {
    display: inline-block;
    padding: 0.5rem;

    color: #333;
    font-size: 1em;
    line-height: 1em;
    text-transform: uppercase;

    border: 1px solid;
    border-color: #ddd #bbb #aaa #ddd;
    border-radius: 3px;

    box-shadow: 1px 1px 1px rgba(221, 221, 221, 0.57);

    box-sizing: border-box;
    vertical-align: middle;

    cursor: pointer;
}

.pagesection .button {
    color: #346;
}
.button:hover,
.button:focus,
.quickbuttons > li:hover > a,
.quickbuttons > li > a:focus {
    color: #222;
    border-color: #aaa #ddd #ddd #bbb;
    box-shadow:
        -1px -1px 2px rgba(221, 221, 221, 0.7),
        -1px -2px 4px #ddd inset;
    text-decoration: none;
}
.button:hover,
.button:focus {
    color: var(--orange);
}
/* the active one */
.button.active {
    background: var(--darkblue);
    color: #fff;
    font-weight: bold;
    border: 1px solid var(--darkblue);
    text-shadow: 0 0 1px #000;
}
.button.active:hover,
.button.active:focus {
    color: #fff;
    background: var(--orange);
    border: 1px solid var(--orange);
    box-shadow: none;
}
.cat_bar .button {
    box-shadow: none;
}
/* In a .buttonrow, the buttons are joined together */
.buttonrow {
    margin: 0 5px;
}
.buttonrow .button {
    display: table-cell;
    border-radius: 0;
}
.buttonrow .button:first-child {
    border-radius: 3px 0 0 3px;
}
.buttonrow .button:last-child {
    border-radius: 0 3px 3px 0;
}
/* in a titlebg, the buttonlist is of small height */
.titlebg .buttonlist {
    margin: 0;
    padding: 0;
}

/* Styles for the general looks of the theme.
------------------------------------------------------- */

/* Box-shadow only on this one. */
#wrapper {
    clear: both;
}

/* Set maximum width limit for content */
#top_section .inner_wrap,
#wrapper,
#header,
#footer .inner_wrap,
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

/* The framing graphics */
/* The top bar. */
#top_section {
    clear: both;
    background: #333;
    border-bottom: 1px solid white;
}
#top_section::after {
    content: "";
    display: block;
    clear: both;
}
#top_info {
    padding: 5px 0;
    line-height: 1.3em;
    max-width: 100%;
}

#top_info a {
    /* color: white; */
}

#pm_menu,
#alerts_menu,
#profile_menu {
    right: 0;
    left: auto;
    padding-right: 10px;
}
#profile_menu_top > img.avatar {
    height: 18px;
    width: 18px;
    margin: 2px 5px 0 0;
    float: left;
}
#profile_menu img.avatar {
    height: 48px;
    width: 48px;
    border-radius: 10%;
}
#pm_menu_top .main_icons,
#alerts_menu_top .main_icons {
    display: none;
}
.notice {
    font-weight: bold;
}

#languages_form,
#search_form {
    padding: 5px 0;
}
#languages_form {
    margin: 0 0 0 10px;
}
/* The logo and slogan. */
#header::after {
    content: "";
    display: block;
    clear: both;
}
/* The main title. */
h1.forumtitle {
    font-size: 1.8em;
    font-family: "Tahoma", sans-serif;
    font-weight: normal;
    flex: 1 1 auto;
}
h1.forumtitle a {
    color: #f8f9fa;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
/* Float these items to the right */
#siteslogan,
img#smflogo {
    padding: 0;
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 400;
    min-width: 0;
    max-height: 60px;
    margin-right: auto;
    color: #fff;
}

/* Even guests need to be aligned */
.welcome {
    padding: 0 10px;
    line-height: 2.5em;
}
/*
/* The user info, news, etc.*/
#upper_section {
    padding: 0px 0px 8px 0px;
}
#inner_section::after {
    content: "";
    display: block;
    clear: both;
}
/* The upper_section, float the two each way */
#inner_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #bbb;
    margin-bottom: 12px;
}
.user {
    padding: 0 4px 8px 4px;
    font-size: 1em;
    white-space: nowrap;
}
.user:only-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.user time,
.user .unread_links,
.user .unread_links li {
    display: inline-block;
}
.user:not(:last-child) time:not(:last-child)::after,
.user .unread_links li:not(:last-child)::after {
    content: " • ";
    margin: 0 1ch;
}
ul li.greeting {
    font-weight: bold;
}
/* The login form. */
#guest_form {
    overflow: hidden;
    font-size: 1em;
    margin-left: -2px;
}
/* News section. */
#inner_wrap .news {
    padding: 0 0 8px 1ch;
    font-size: 1em;
    display: flex;
    align-items: baseline;
    max-width: 50%;
}
#inner_wrap .news h2 {
    line-height: initial;
}
#inner_wrap .news h2,
#inner_wrap .news p {
    display: inline;
    padding-left: 1ch;
}

/* The navigation list (i.e. linktree) */
.navigate_section {
    padding: 3px 0 0 0;
    float: left;
    width: 100%;
}
#main_content_section .navigate_section {
    margin: 4px 0 0 0;
    padding: 0;
}
.navigate_section ul {
    margin: 4px 0 0 0;
    padding: 0 10px;
    font-size: 1em;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.08);
}
.navigate_section ul li {
    float: left;
    padding-bottom: 3px;
    line-height: 1.1em;
    color: #444;
    text-shadow: 1px 1px 0 #fff;
}
.navigate_section ul li a,
.navigate_section ul li em {
    padding: 4px 0 4px;
    margin-top: -4px;
    display: inline-block;
}
.navigate_section ul li span {
    display: inline-block;
    margin-top: 8px;
}
.navigate_section ul li .dividers {
    color: #3f6b8c;
    font:
        83.33%/150% Arial,
        sans-serif;
    padding: 0 2px 0 6px;
}
.navigate_section ul li .board_moderators a {
    padding: 4px 0;
}

.navigate_section a:hover span {
    text-decoration: underline;
}

/* The content section */
#content_section {
    margin: 0 auto;
    clear: both;
}
#main_content_section {
    padding: 5px 0px 16px 0px;
    position: relative;
}
#main_content_section::after {
    content: "";
    display: block;
    clear: both;
}
/* Footer is now full-width by default. */
/* The footer with copyright links etc. */
#footer {
    margin: 4em 0 0 0;
    padding: 10px 0;
    background: #ffe047;
    flex: none;
    position: relative;
}
#footer li,
#footer p,
#footer a {
    font-size: 1em;
    color: black;
}
#footer li.copyright {
    display: block;
    font-family: Verdana, sans-serif; /* Copyright must be Verdana! */
}
#footerfix {
    flex: 1 0 auto;
}

/* The posting icons */
#postbuttons_upper ul li a span {
    line-height: 19px;
    padding: 0 0 0 6px;
}
.mark_read {
    margin: -5px 0 16px 0;
    float: right;
}
.mark_read .buttonlist {
    margin: 0;
    padding: 0;
}

/* the small stats */
#index_common_stats {
    margin: -4px 8px 6px 8px;
    padding: 4px 0 0 0;
    font-size: 1em;
    border-top: 1px solid #ddd;
}

.fix_rtl_names {
    display: inline-block;
}

/* The quick buttons */
.quickbuttons {
    margin: 0 0 5px;
    clear: right;
    float: right;
    text-align: right;
}
#recent .quickbuttons {
    margin: 0;
}
.quickbuttons > li {
    float: left;
}
.quickbuttons > li > a,
.inline_mod_check {
    display: block;
    height: auto;
    padding: 0 4px;
    color: #222;
    line-height: 1.375rem;
    border-radius: 0;
}
.quickbuttons > li:first-child > a {
    border-radius: 4px 0 0 4px;
}
.quickbuttons > li:last-child > a,
.inline_mod_check:last-child {
    border-radius: 0 4px 4px 0;
}
.quickbuttons > li:only-child > a,
.inline_mod_check:only-child {
    border-radius: 4px;
    margin: 2px;
    height: 23px;
}
.inline_mod_check input {
    position: relative;
    top: -1px;
    height: auto;
}
.moderationbuttons_check:focus {
    box-shadow: 0 0 4px #499dd8;
}
.quick_edit,
.post_options {
    position: relative;
}
/* Drop part of QuickButtons */
.post_options ul {
    display: none;
    position: absolute;
    top: 100%;
    right: -1px;
    z-index: 90;
    padding: 6px;
    background: #fff;
    font-weight: normal;
    text-align: left;
    border: solid 1px #999;
    border-left: solid 1px #aaa;
    border-top: solid 1px #bbb;
    border-radius: 4px 0 4px 4px;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2);
}
.post_options:hover ul {
    display: block;
}
.post_options ul a {
    display: block;
    width: 12em;
    padding: 0 6px;
    line-height: 2.2em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
}
.post_options ul a:hover,
.post_options ul a:focus {
    border-color: #c4cbd3;
}
/* Note: The next declarations are for keyboard access with js disabled. */
.quickbuttons ul li a:focus {
    margin: 0 -9910px 0 9910px;
}
/* Cancel for hover and/or js access. */
.quickbuttons ul li:hover a:focus,
.quickbuttons ul li a:focus {
    margin: 0;
}
/* Fixes for quickbuttons
   Fix for quote on reply box */
#post_modify {
    border-radius: 4px;
}

/* The jump to box */
#display_jump_to {
    padding: 5px 0;
    margin: 4px 0;
    float: right;
    font-size: 1em;
}
#topic_icons #message_index_jump_to {
    padding: 0;
    float: right;
}

/* The category separator string is 29 dashes */
#display_jump_to_select,
#message_index_jump_to_select,
#search_jump_to_select,
#quick_mod_jump_to_select {
    width: 29ch;
}

.quickModifyMargin {
    margin: 10px 0 5px 0;
    padding-bottom: 5px;
}

/* Styles for edit event section
---------------------------------------------------- */
#post_event .roundframe {
    padding: 12px 12%;
    overflow: auto;
}
#post_event fieldset {
    padding: 6px;
    clear: both;
}
#post_event span.label {
    margin: 0 0.5em 0 2px;
    min-width: 60px;
    display: inline-block;
}

.event_options {
    line-height: 25px;
    display: flex;
    flex-flow: row wrap;
}
.event_options div {
    min-height: 25px;
    margin-bottom: 5px;
    flex: 1 0 auto;
}
.event_options_left {
    box-sizing: border-box;
    width: 49%;
    padding-right: 1em;
    min-width: 238px;
}
.event_options_right {
    box-sizing: border-box;
    width: 50%;
    min-width: 270px;
}
.event_options_left div,
.event_options_right div {
    white-space: nowrap;
}

#post_event #event_main input {
    margin: 0;
}
#event_time_input {
    clear: left;
}
#event_time_input input[type="text"] {
    width: 100px;
    display: inline-block;
}
#post_event input[type="checkbox"] {
    height: auto;
}
#post_event input[type="text"][disabled] {
    color: transparent;
}
#post_event select,
#event_options input[type="text"],
#tz {
    max-width: calc(100% - 75px);
}
#post_event select,
#evtitle,
#event_location {
    width: calc(100% - 75px);
}
#post_event input[type="checkbox"] + select {
    max-width: calc(100% - 95px);
}

/* Styles for the recent messages section.
---------------------------------------------------- */

#readbuttons_top .pagelinks,
#readbuttons .pagelinks {
    padding-bottom: 12px;
    width: 60%;
}
#readbuttons .pagelinks {
    padding-top: 12px;
}
#recent {
    clear: both;
}

/* Styles for the move topic section. */
.move_topic {
    width: 710px;
    margin: auto;
    text-align: left;
}
div.move_topic fieldset {
    margin-top: 1ex;
    padding: 6px;
}
/* Styles for the report topic/user section. */
#report_form dl.settings dt {
    width: 20%;
}
#report_form dl.settings dd {
    width: 79%;
}
#report_comment {
    width: 70%;
}
/* Styles for the split topic section. */
div#selected,
div#not_selected {
    width: 49%;
}
ul.split_messages li a.split_icon {
    padding: 0 6px;
    opacity: 0.8;
}
ul.split_messages li a.split_icon:hover {
    opacity: 1;
}
.split_messages,
.message_header {
    margin-bottom: 8px;
}
/* Styles for the merge topic section. */
ul.merge_topics li {
    list-style-type: none;
}
dl.merge_topic dt {
    width: 25%;
}
dl.merge_topic dd {
    width: 74%;
}
fieldset.merge_options {
    clear: both;
}
.custom_subject {
    margin: 6px 0;
}

/* Styles for the login areas.
------------------------------------------------------- */
.login {
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
}
.popup_content .login {
    width: 100%;
}
.login dl {
    overflow: auto;
    clear: right;
}
.login dt,
.login dd {
    margin: 0 0 5px 0;
    width: 44%;
    padding: 1px;
}
.login dt {
    float: left;
    clear: both;
    text-align: right;
    font-weight: bold;
}
.login dd {
    width: 54%;
    float: right;
    text-align: left;
}
.login p {
    text-align: center;
}

.login input[type="submit"] {
    margin: 1em 0 0 1em;
}
.login p:not(:last-of-type) input[type="submit"] {
    margin-bottom: 1em;
}

/* Additional register fields */
#registration fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
#registration .roundframe {
    border-top: none;
}
dl.register_form {
    margin: 0;
    clear: right;
}
dl.register_form dt {
    font-weight: normal;
    float: left;
    clear: both;
    width: 50%;
    margin: 6px 0 0 0;
}
dl.register_form dt span {
    display: block;
}
dl.register_form dd {
    float: left;
    width: 49%;
    margin: 6px 0 0 0;
}
#confirm_buttons {
    text-align: center;
    padding: 12px 0;
}
.coppa_contact {
    padding: 4px;
    width: 32ex;
    background: #fff;
    color: #222;
    margin-left: 5ex;
    border: 1px solid #222;
}
.valid_input {
    background: #f5fff0;
}
.invalid_input {
    background: #fff0f0;
}

/* Styles for maintenance mode.
------------------------------------------------------- */
#maintenance_mode img.floatleft {
    margin-right: 12px;
}

/* Custom profile fields like to play with us some times. */
#admin_content .custom_field {
    margin-bottom: 15px;
}
#admin_login .centertext {
    padding: 12px;
}
#admin_login .centertext .error {
    padding: 0 0 12px 0;
}
#admin_login .centertext a.help img,
.custom_field a img {
    vertical-align: middle;
}

tr.windowbg td,
tr.bg td,
.table_grid tr td {
    padding: 4px 8px;
}
#credits p {
    font-style: italic;
}

.errorfile_table {
    background: #f0f4f7;
    border-collapse: collapse;
}
.errorfile_table .file_line {
    text-align: right;
    padding-right: 6px;
}
.errorfile_table td.current {
    font-weight: bold;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-width: 1px 0 1px 1px;
    background: rgba(245, 141, 15, 0.2);
}

.generic_menu {
    margin: 5px 0;
}
/* Some lovely generic icons.
------------------------------------------------- */
.main_icons::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url(../images/icons/main_icons_sprite.png) no-repeat -5px -5px /
        260px auto;
    vertical-align: middle;
}
.main_icons.alerts::before {
    background: url(../images/icons/bell.png);
    background-size: 16px;
}
/* Load better icons for higher resolution screens */
@media screen and (-webkit-min-device-pixel-ratio: 1.66),
    screen and (min-resolution: 160dpi) {
    .main_icons::before {
        background-image: url(../images/icons/main_icons_sprite_hd.png);
    }
    .main_icons.alerts::before {
        background-image: url(../images/icons/bell_hd.png);
    }
}

/* Small fix for topics */
.quickbuttons .main_icons::before,
.button .main_icons::before {
    margin: -3px 3px 0 1px;
}

.main_icons.gender_None::before {
    background: none;
}

.main_icons.gender_0::before {
    display: none;
}

/* This is a small fix for dropmenu icons */
.dropmenu .main_icons::before,
#profile_menu .main_icons::before,
.dropmenu img {
    margin: -3px 8px 0 0;
    vertical-align: middle;
}

/* Top row */
.main_icons.help::before {
    background-position: -5px -5px;
}
.main_icons.search::before,
.main_icons.engines::before {
    background-position: -31px -5px;
}
.main_icons.quick_edit_button::before,
.main_icons.modify_button::before {
    background-position: -57px -5px;
}
.main_icons.check::before {
    background-position: -83px -5px;
}
.main_icons.invalid::before {
    background-position: -109px -5px;
}
.main_icons.gender_2::before {
    background-position: -135px -5px;
}
.main_icons.watch::before {
    background-position: -239px -5px;
}
/* 2nd row */
.main_icons.move::before,
.main_icons.next_page::before {
    background-position: -5px -31px;
}
.main_icons.general::before,
.main_icons.boards::before,
.main_icons.topics_views::before {
    background-position: -31px -31px;
}
.main_icons.gender_1::before {
    background-position: -57px -31px;
}
.main_icons.features::before {
    background-position: -83px -31px;
}
.main_icons.posters::before {
    background-position: -109px -31px;
}
.main_icons.replies::before,
.main_icons.topics_replies::before {
    background-position: -135px -31px;
}
.main_icons.history::before,
.main_icons.time_online::before,
.main_icons.scheduled::before {
    background-position: -161px -31px;
}
.main_icons.views::before {
    background-position: -187px -31px;
}
.main_icons.last_post::before {
    background-position: -213px -31px;
}
.main_icons.starters::before,
.main_icons.people::before,
.main_icons.membergroups::before,
.main_icons.mlist::before {
    background-position: -239px -31px;
}
/* 3rd Street Saints */
.main_icons.poll::before {
    background-position: -5px -57px;
}
.main_icons.previous_page::before {
    background-position: -31px -57px;
}
.main_icons.inbox::before {
    background-position: -57px -57px;
}
.main_icons.www::before {
    background-position: -83px -57px;
}
.main_icons.exit::before,
.main_icons.logout::before {
    background-position: -109px -57px;
}
.main_icons.switch::before {
    background-position: -135px -57px;
}
.main_icons.replied::before,
.main_icons.send::before {
    background-position: -161px -57px;
}
.main_icons.im_on::before {
    background-position: -187px -57px;
}
.main_icons.im_off::before {
    background-position: -213px -57px;
}
.main_icons.split_desel::before {
    background-position: -239px -57px;
}
/* 4th Row */
.main_icons.split_sel::before {
    background-position: -5px -83px;
}
.main_icons.mail::before {
    background-position: -31px -83px;
}
.main_icons.warning_mute::before {
    background-position: -57px -83px;
}
.main_icons.warn_button::before,
.main_icons.warning_moderate::before {
    background-position: -83px -83px;
}
.main_icons.mail_new::before {
    background-position: -109px -83px;
}
.main_icons.drafts::before,
.main_icons.reply_button::before,
.main_icons.reply_all_button::before {
    background-position: -135px -83px;
}
.main_icons.warning_watch::before {
    background-position: -161px -83px;
}
.main_icons.calendar_export::before {
    background-position: -187px -83px;
}
.main_icons.calendar::before {
    background-position: -213px -83px;
}
.main_icons.calendar_modify::before {
    background-position: -239px -83px;
}
/* 5th Row */
.main_icons.plus::before {
    background-position: -5px -109px;
}
.main_icons.warning::before,
.main_icons.moderate::before {
    background-position: -31px -109px;
}
.main_icons.themes::before {
    background-position: -57px -109px;
}
.main_icons.support::before {
    background-position: -83px -109px;
}
.main_icons.liked_users::before,
.main_icons.liked_messages::before,
.main_icons.like::before {
    background-position: -109px -109px;
}
.main_icons.unlike::before {
    background-position: -135px -109px;
}
.main_icons.current_theme::before {
    background-position: -161px -109px;
}
.main_icons.stats::before {
    background-position: -187px -109px;
}
.main_icons.right_arrow::before {
    background-position: -213px -109px;
}
.main_icons.left_arrow::before {
    background-position: -239px -109px;
}
/* 6th Row */
.main_icons.smiley::before {
    background-position: -5px -135px;
}
.main_icons.server::before {
    background-position: -31px -135px;
}
.main_icons.ban::before,
.main_icons.ignore::before {
    background-position: -57px -135px;
}

.main_icons.boards::before {
    background-position: -83px -135px;
}
.main_icons.regcenter::before {
    background-position: -109px -135px;
}
.main_icons.posts::before {
    background-position: -135px -135px;
}
.main_icons.sort_down::before {
    background-position: -161px -135px;
}
.main_icons.change_menu2::before,
.main_icons.sent::before {
    background-position: -187px -135px;
}
.main_icons.post_moderation_moderate::before {
    background-position: -213px -135px;
}
.main_icons.sort_up::before {
    background-position: -239px -135px;
}
/* 7th Row */
.main_icons.post_moderation_deny::before {
    background-position: -5px -161px;
}
.main_icons.post_moderation_attach::before {
    background-position: -31px -161px;
}
.main_icons.post_moderation_allow::before {
    background-position: -57px -161px;
}
.main_icons.personal_message::before {
    background-position: -83px -161px;
}
.main_icons.permissions::before,
.main_icons.login::before {
    background-position: -109px -161px;
}
.main_icons.paid::before {
    background-position: -135px -161px;
}
.main_icons.packages::before {
    background-position: -161px -161px;
}
.main_icons.filter::before {
    background-position: -187px -161px;
    margin: 0 5px 0 0;
}
.main_icons.change_menu::before {
    background-position: -213px -161px;
}
.main_icons.package_ops::before {
    background-position: -239px -161px;
}
/* 8th Row */
.main_icons.reports::before {
    background-position: -5px -187px;
}
.main_icons.news::before {
    background-position: -31px -187px;
}
.main_icons.delete::before,
.main_icons.hide_popup::before,
.main_icons.prune::before,
.main_icons.remove_button::before {
    background-position: -57px -187px;
}
.main_icons.modifications::before {
    background-position: -83px -187px;
}
.main_icons.maintain::before,
.main_icons.admin::before {
    background-position: -109px -187px;
}
.main_icons.administration::before,
.main_icons.home::before {
    background-position: -135px -187px;
}
.main_icons.frenemy::before {
    background-position: -161px -187px;
}
.main_icons.attachment::before {
    background-position: -187px -187px;
}
.main_icons.lock::before,
.main_icons.security::before {
    background-position: -213px -187px;
}
.main_icons.error::before,
.main_icons.disable::before {
    background-position: -239px -187px;
}
/* 9th Row */
.main_icons.languages::before,
.main_icons.recent_posts::before {
    background-position: -5px -213px;
}
.main_icons.members_request::before {
    background-position: -31px -213px;
}
.main_icons.members_delete::before {
    background-position: -57px -213px;
}
.main_icons.members::before {
    background-position: -83px -213px;
}
.main_icons.members_watched::before {
    background-position: -109px -213px;
}
.main_icons.sticky::before {
    background-position: -135px -213px;
}
.main_icons.corefeatures::before,
.main_icons.settings::before,
.main_icons.manrules::before,
.main_icons.manlabels::before {
    background-position: -161px -213px;
}
.main_icons.calendar::before {
    background-position: -187px -213px;
}
.main_icons.logs::before {
    background-position: -213px -213px;
}
.main_icons.valid::before {
    background-position: -239px -213px;
}
/* 10th Row */
.main_icons.approve::before,
.main_icons.enable::before,
.main_icons.approve_button::before,
.main_icons.read_button::before {
    background-position: -5px -239px;
}
.main_icons.close::before {
    background-position: -31px -239px;
}
.main_icons.details::before {
    background-position: -57px -239px;
}
.main_icons.merge::before {
    background-position: -83px -239px;
}
.main_icons.folder::before {
    background-position: -109px -239px;
}
.main_icons.restore_button::before {
    background-position: -135px -239px;
}
.main_icons.split_button::before {
    background-position: -161px -239px;
}
.main_icons.unapprove_button::before,
.main_icons.unread_button::before {
    background-position: -187px -239px;
}
.main_icons.quote::before,
.main_icons.quote_selected::before {
    background-position: -213px -239px;
}
.main_icons.notify_button::before {
    background-position: -239px -239px;
}

.main_icons.select_above::before {
    background-position: -161px -5px;
}
.main_icons.select_here::before {
    background-position: -187px -5px;
}
.main_icons.select_below::before {
    background-position: -213px -5px;
}
/* Styles for (fatal) errors.
------------------------------------------------- */

#fatal_error {
    width: 80%;
    margin: 0 auto 10px auto;
}
.errorbox::before,
.noticebox::before,
.infobox::before {
    width: 16px;
    height: 16px;
    background: url(../images/icons/main_icons_sprite.png) no-repeat -57px -83px;
    left: 10px;
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -8px;
}
.errorbox,
.noticebox,
.infobox {
    padding: 7px 10px 7px 35px;
    margin-bottom: 12px;
    position: relative;
}
.errorbox {
    background-color: #fee;
    border-top: 2px solid #c34;
    border-bottom: 2px solid #c34;
}
.errorbox h3 {
    padding: 0;
    margin: 0;
    font-size: 1.1em;
    text-decoration: underline;
}
.errorbox p {
    margin: 12px 0 0 0;
}
.errorbox p.alert {
    padding: 0;
    margin: 0 4px 0 0;
    float: left;
    width: 12px;
    font-size: 1.5em;
}
.errorbox span {
    text-decoration: underline;
}

/* Styles for info boxes
------------------------------------------------- */

.noticebox::before {
    background-position: -83px -83px;
}
.infobox::before {
    background-position: -161px -83px;
}
.noticebox {
    color: #666;
    background: #fff6ca;
    border-top: 1px solid #ffd324;
    border-bottom: 1px solid #ffd324;
}
.infobox {
    color: #222;
    background: #cfc;
    border-top: 1px solid green;
    border-bottom: 1px solid green;
}
.descbox {
    padding: 7px 10px 7px 10px;
    border: 1px solid #c5c5c5;
    margin: 6px 0;
}

/* Styles for stats bars and progress bars.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.generic_bar,
.progress_bar {
    border: 1px solid #cecaca;
    background: #fff;
    min-height: 16px;
    line-height: 1.4em;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    color: rgba(0, 0, 0, 0.6);
}
.generic_bar span,
.progress_bar span {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.4);
    display: inline-block;
    padding: 0 5px;
}
.generic_bar .bar,
.progress_bar .bar {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    background: orange;
    transition: width 0.3s;
    border-radius: 1px;
    box-shadow:
        4px -4px 8px rgba(0, 0, 0, 0.1) inset,
        4px 4px 8px rgba(255, 255, 255, 0.3) inset;
    display: block;
}
.generic_bar.vertical {
    width: 15px;
}
.generic_bar.vertical .bar {
    right: 0;
    top: auto;
    box-shadow:
        4px -4px 4px rgba(0, 0, 0, 0.1) inset,
        4px 4px 4px rgba(255, 255, 255, 0.3) inset;
}

.progress_bar {
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
}
.progress_bar .bar {
    box-shadow:
        -1px 1px 0 rgba(255, 255, 255, 0.25) inset,
        1px -1px 0 rgba(0, 0, 0, 0.1) inset;
    background-color: #75da41;
    background-size: 30px 30px;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
}
.progress_yellow .bar {
    background-color: #f6c51c;
}

.progress_green .bar {
    background-color: #75da41;
}

.progress_red .bar {
    background-color: #f45d4c;
}

.progress_blue .bar {
    background-color: #34c2e3;
}

/* Styles for the profile section.
------------------------------------------------- */

dl {
    overflow: auto;
}

/* The basic user info on the left */
/* #basicinfo {
	width: 20%;
	float: left;
} */

#detailedinfo {
    width: 100%;
    float: right;
    padding: 8px 20px;
}
#basicinfo > * {
    margin-bottom: 3px;
}
#basicinfo h4 {
    font-size: 1.4em;
    font-weight: normal;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word; /* IE fallback */
    overflow-wrap: break-word;
}
#basicinfo h4 span.position {
    font-size: 1em;
    display: block;
}
#basicinfo img.avatar,
dl.settings img.avatar {
    display: block;
    max-width: 160px;
    height: auto !important;
}
#basicinfo ul {
    list-style-type: none;
}
#basicinfo .icon_fields li {
    display: block;
    float: left;
    margin-right: 5px;
    height: 20px;
}
#basicinfo #userstatus {
    display: block;
    clear: both;
}
#basicinfo #userstatus img {
    vertical-align: middle;
}
#detailedinfo dl,
#tracking dl {
    clear: right;
    overflow: auto;
    margin: 0 0 18px 0;
    padding: 0 0 15px 0;
    border-bottom: 1px #ccc solid;
}
#detailedinfo dt,
#tracking dt {
    width: 35%;
    margin: 0 0 3px 0;
    font-weight: bold;
    color: #444;
}
#detailedinfo dd,
#tracking dd {
    width: 65%;
    float: left;
    margin: 0 0 3px 0;
}
#detailedinfo .noborder {
    border-bottom: 0;
}
#detailedinfo dt.clear {
    width: 100%;
}
#personal_picture {
    display: block;
    margin-bottom: 4px;
}
#avatar_server_stored div {
    float: left;
}
#avatar_upload {
    overflow: auto;
}
#smileypr {
    margin-left: 10px;
}
.edit_avatar_img {
    margin: 0 0 1em;
}

/* Activity by time */
#activitytime {
    margin: 6px 0;
}
.activity_stats {
    margin: 10px 0;
}
.activity_stats li {
    width: 4.16%;
    float: left;
    text-align: center;
}
.activity_stats li span {
    display: block;
    border: 1px solid #666;
    border-left: none;
    border-right: none;
    background: #eee;
}
.activity_stats li.last span {
    border-right: none;
}
.activity_stats li .generic_bar {
    height: 100px;
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0 auto;
}
.activity_stats li .generic_bar span {
    position: absolute;
    top: -1000em;
    left: -1000em;
}

.profile_pie {
    background: url(../images/stats_pie.png);
    background-size: auto 20px;
    float: left;
    height: 20px;
    width: 20px;
    margin: 0 12px 0 0;
    text-indent: -1000em;
}

/* View posts */
.topic .time {
    float: right;
}
.counter {
    padding: 5px 6px 1px 2px;
    font-size: 2.2em;
    font-weight: bold;
    color: #3f3f3f;
    float: left;
}
.topic_details {
    padding: 0 4px 4px 4px;
}
.counter + .topic_details {
    margin-left: 25px;
}
.list_posts {
    border-top: 1px solid #ddd;
    box-shadow: 0 1px 0 #fff inset;
    padding-top: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    clear: both;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}
.topic h4 {
    margin: 3px 0;
}
.topic .post {
    margin: 0 12px;
    min-height: 80px;
    height: auto !important;
    height: 80px;
}
.topic .mod_icons {
    text-align: right;
    margin-right: 12px;
}

#creator dt {
    width: 40%;
}
#creator dd {
    width: 55%;
    margin: 0 0 10px 2px;
}
.centericon {
    vertical-align: middle;
}
.sizefix {
    width: 16px;
    height: 16px;
}

.boardslist > ul > li {
    margin: 12px;
}
.boardslist > ul > li > ul {
    columns: 2 250px;
}
.boardslist > ul > li > ul > li {
    break-inside: avoid;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.boardslist a {
    font-weight: bold;
    border-bottom: 1px solid #c4c4c4;
    display: block;
    margin-bottom: 0.5em;
}
.boardslist a:hover {
    text-decoration: none;
    border-bottom: 1px solid #334466;
}
.boardslist label {
    display: inline-block;
    text-indent: -3ch;
    margin: 0 3ch;
}

#theme_settings {
    overflow: auto;
    margin: 0;
    padding: 0;
}

#theme_settings li {
    margin: 10px 0;
    padding: 0;
}
/* Paid Subscriptions */
#paid_subscription {
    width: 100%;
}
#paid_subscription dl.settings {
    margin-bottom: 0;
}
#paid_subscription dl.settings dd,
#paid_subscription dl.settings dt {
    margin-bottom: 4px;
}
/* Pick theme */
#pick_theme {
    width: 100%;
    float: left;
}
#pick_theme .selected {
    background: #cddbe6;
}

/* Signature preview */

#preview_signature,
#preview_signature_display {
    width: 100%;
    overflow: hidden;
}

/* Issue a warning */
#warn_body {
    width: 100%;
    font-size: 1em;
}
#warn_temp {
    font-size: smaller;
}

/* Warning level bar */
.warning_level {
    text-align: center;
    font-weight: bold;
    max-width: 250px;
}
.warning_level.none .bar {
    background-color: #75da41;
}
.warning_level.watched .bar {
    background-color: #ffd800;
}
.warning_level.moderated .bar {
    background-color: orange;
}
.warning_level.muted .bar {
    background-color: #f45d4c;
}

/* Styles for the statistics center.
------------------------------------------------- */
#statistics .roundframe {
    margin: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
dl.stats dt {
    width: 50%;
    float: left;
    margin: 0 0 4px 0;
    line-height: 1.5em;
    clear: both;
    font-size: 1em;
    overflow: hidden;
    word-wrap: break-word; /* IE fallback */
    overflow-wrap: break-word;
}
dl.stats dd {
    width: 48%;
    font-size: 1em;
    float: left;
    margin: 0 0 4px 2%;
}
dl.stats {
    padding: 5px;
}

/* Forum history table. */
#stats td,
#stats th {
    width: 15%;
    padding: 4px;
    text-align: center;
}
#stats tr.windowbg th.lefttext {
    text-align: left;
}
#stats tr.windowbg th.stats_month {
    width: 25%;
    padding: 0 2em;
    text-align: left;
}
#stats tr.windowbg td.stats_day {
    padding: 0 3.5em;
    text-align: left;
}

/* Styles for the personal messages section.
------------------------------------------------- */

#personal_messages h3 span#author,
#personal_messages h3 span#topic_title {
    float: left;
}
#personal_messages h3 span#author {
    margin: 0 0 0 6px;
}
#personal_messages h3 span#topic_title {
    margin: 0 0 0 9em;
}
#personal_messages div.labels {
    padding: 0 12px 0 0;
}
#personal_messages .capacity_bar {
    background: #f0f4f7;
    display: block;
    margin: 6px 0 0 12px;
    height: 12px;
    border: 1px solid #adadad;
    width: 10em;
}
#personal_messages .capacity_bar span {
    border-right: 1px solid #adadad;
    display: block;
    height: 12px;
}
#personal_messages .capacity_bar span.empty {
    background: #a6d69d;
}
#personal_messages .capacity_bar span.filled {
    background: #eea800;
}
#personal_messages .capacity_bar span.full {
    background: #f10909;
}
#personal_messages .reportlinks {
    padding: 6px 1.3em;
}
#personal_messages .pm_inline_time {
    display: none;
}
#search_labels li {
    padding: 4px 6px;
}
#manrules div.righttext {
    padding: 4px 1px;
}
dl.addrules dt.floatleft {
    width: 15em;
    color: #333;
    padding: 0 15px 6px 15px;
}
#addrule fieldset {
    clear: both;
}
#to_item_list_container div,
#bcc_item_list_container div {
    float: left;
    margin-right: 10px;
}
.unread_pm {
    background: #cfc;
}
/* Styles for the show alerts section.
------------------------------------------------- */
#alerts .alert_inline_time {
    display: none;
}
#alerts .quickbuttons {
    display: flex;
    margin: 4px 0;
}
#alerts .quickbuttons li,
#alerts .alert_time {
    white-space: nowrap;
}
#alerts .alert_image {
    width: 65px;
    padding: 6px 0;
    text-align: center;
    vertical-align: middle;
}
#alerts .alert_image > div {
    position: relative;
}
#alerts .alert_image .avatar {
    max-width: 80%;
    max-height: 80%;
    margin-top: 4px;
    vertical-align: bottom;
}
#alerts .alert_image span.alert_icon {
    display: block;
    width: 100%;
    line-height: 1em;
}
#alerts .alert_image .avatar + .alert_icon {
    width: auto;
    position: absolute;
    right: 0;
    top: 0;
}

/* Styles for the memberlist section.
------------------------------------------------- */
#mlist_search {
    margin: auto;
    max-width: 500px;
}
#mlist .selected {
    white-space: nowrap;
}
#mlist .is_online {
    width: 60px;
}
#mlist .email_address {
    width: 25px;
}
#mlist .website_url {
    width: 70px;
}
#mlist .icq,
#mlist .skype {
    width: 30px;
}
#mlist .post_count {
    width: 115px;
}

/* Styles for the search section.
------------------------------------------------- */
#searchform fieldset {
    text-align: left;
    padding: 0;
    border: none;
}
#searchform .roundframe {
    border-radius: 0;
    margin: 0;
    padding: 32px;
}
#searchform .alt {
    border-top: 0;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}
#searchform p.clear {
    clear: both;
}
#advanced_search {
    text-align: center !important;
}
#advanced_search dl#search_options {
    margin: 0 auto;
    width: 600px;
    padding-top: 12px;
    overflow: hidden;
}
#advanced_search dt {
    padding: 2px;
    text-align: right;
    width: 20%;
}
#advanced_search dd {
    width: 75%;
    float: left;
    padding: 2px;
    margin: 0 0 0 6px;
    text-align: left;
}
#search_results {
    margin-bottom: 5px;
}

/* Styles for the help section.
------------------------------------------------- */

#help_container {
    padding: 0 0 8px 0;
}
#helpmain {
    margin: 12px 0 0 0;
    padding: 8px 20px 12px 20px;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
    overflow: auto;
}
#helpmain p {
    margin: 10px 0;
    line-height: 1.5em;
}
#helpmain ul {
    line-height: 2em;
    margin: 0 0 0 25px;
}
#helpmain ul li {
    list-style-type: disc;
}
#helpmain ul li a {
    font-weight: bold;
}

/* Styles for the tooltips
------------------------------------------------------- */
.tooltip {
    position: absolute;
    z-index: 999;
    left: -9999px;
    word-wrap: break-word; /* IE fallback */
    overflow-wrap: break-word;
    max-width: 350px;
    padding: 6px 9px;
    color: #333;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow:
        1px 2px 4px rgba(0, 0, 0, 0.2),
        0 0px 10px rgba(0, 0, 0, 0.05) inset;
}

/* Styles for popup windows */
.popup_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 64, 80, 0.5);
    z-index: 6;
}
#genericmenu > .popup_container {
    z-index: 5;
}
#adm_submenus > .popup_container {
    z-index: 4;
}
.popup_window,
#main_menu .popup_window,
#genericmenu .popup_window,
#adm_submenus .popup_window {
    position: relative;
    width: auto;
    z-index: 99;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid #777;
    border-radius: 7px 7px 3px 3px;
    margin: 0 auto;
    padding: 0;
}
.popup_window {
    top: 15%;
    width: 480px;
    padding: 0 6px 6px 6px;
}
.popup_heading {
    padding: 10px 8px;
    color: #fcfbf9;
}
.popup_content {
    color: #222;
    line-height: 1.6em;
    max-height: 30em;
    overflow: auto;
    padding: 10px 8px;
    border: 1px solid #bbb;
    border-bottom: 1px solid #ddd;
    border-radius: 6px 6px 2px 2px;
    box-shadow:
        0 -2px 3px rgba(0, 0, 0, 0.15),
        0 1px 1px rgba(255, 255, 255, 0.2);
}
#main_menu .popup_heading,
#genericmenu .popup_heading,
#adm_submenus .popup_heading {
    display: none;
}
#main_menu .popup_container,
#genericmenu > .popup_container,
#adm_submenus > .popup_container {
    display: block;
    position: relative;
    background: none;
    margin: 0;
    height: auto; /* In case anything fishy happens in the situations where this used make sure it stays still */
}
.main_icons.hide_popup {
    float: right;
}
.popup_heading .icon {
    vertical-align: middle;
    margin: -4px 4px 0 0;
}

.generic_list_wrapper,
.windowbg,
.approvebg,
.approvebg2 {
    background: #f0f4f7;
    margin: 12px 0 0 0;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
    overflow: auto;
}
/* Here comes the glory... */
.windowbg:nth-of-type(even),
.bg.even {
    background: #f0f4f7;
}
.windowbg:nth-of-type(odd),
.bg.odd {
    background: #fdfdfd;
}

/* Highlight the target item */
.windowbg:target {
    background: #ffffe0;
}

/* Add some hover on table rows */
tr.windowbg:hover {
    background: #e2eef8;
}

/* Special treatment for #forumposts area */
#forumposts .windowbg,
#forumposts .approvebg,
#forumposts .approvebg2,
#pmFolder .windowbg {
    overflow: visible;
}
/* Nobody wants locked topics to stand out much. */
.windowbg.locked {
    background: #e7eaef;
}
/* Sticky topics get a different background */
.windowbg.sticky {
    background: #cfdce8;
}
/* Locked AND sticky are a bit more technical */
.windowbg.sticky.locked {
    background: #e8d8cf;
}
/* Awaiting approval is a bit special, topics first */
.windowbg.approvetopic {
    background: #e4a17c;
}
/* Unapproved posts in approved topics */
.windowbg.approvepost {
    background: #ffcbcb;
}
.generic_list_wrapper .additional_row {
    margin: 0;
    padding: 5px 0;
    border-radius: 0;
}
.generic_list_wrapper table.table_grid {
    border-bottom: 1px solid #aaa;
}

div#editlang_desc {
    margin-bottom: 8px;
}
.topic_details .smalltext {
    font-size: 1em;
}
.table_grid tr.windowbg td.centercol {
    text-align: center;
}
tr.windowbg {
    box-shadow: none;
}
#postmodify #message {
    width: 100%;
}
#postmodify .lastedit {
    font-weight: bold;
}

/* Colors for background of posts requiring approval */
.approvebg {
    color: #222;
    background: #ffeaea;
}
.approvebg2 {
    color: #222;
    background: #fff2f2;
}

div#manage_boards dl dd textarea[name="desc"] {
    margin-top: 1px;
}

.bold_text {
    font-weight: bold;
}

/* Profile > This needed for responsive (get rid of <br>) */
.infolinks {
    display: block;
}
#groups .windowbg {
    box-shadow: none;
    border-radius: 0;
    border-top: 0;
    margin: 0;
}
#groups .padding {
    margin: 0 0 25px 0;
}
.groupmembership textarea {
    width: 100%;
}
.groupmembership .righttext {
    margin-top: 1ex;
}

/* BoardIndex */
/* This place covers board places (boardindex/messageindex/recent) */
.boardindex_table:not(:last-child) {
    margin-bottom: 15px;
}
h3 .collapse {
    float: right;
    margin: 4px 4px 0 0;
}
.board_icon a {
    display: inline-block;
    width: 45px;
    height: 45px;
}

.board_icon {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 50px;
    padding: 10px 0 10px 10px;
    font-size: 24px;
}
.boardindex_table .board_icon {
    width: 60px;
}
/*
.boardindex_table .info {
	width: calc(55% - 80px);
}

.boardindex_table .board_stats {
	padding: 13px 10px 10px;
}
*/
.boardindex_table .board_stats p {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.info {
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
}
.info .subject {
    font-weight: 600;
    font-size: 1.1em;
    color: #a85400;
}
.board_stats {
    display: table-cell;
    width: 140px;
    vertical-align: middle;
    text-align: center;
    padding: 10px 0;
}
.lastpost {
    display: table-cell;
    vertical-align: middle;
    width: 280px;
    padding: 10px;
    font-size: 13px;
}
/*
.board_icon, .info, .board_stats, .lastpost {
	display: inline-block;
	align-self: center;
}
*/
.main_container {
    color: #141414;
    background: #fefefe;
    border-width: 1px;
    border-style: solid;
    border: none;
    border-radius: 9px;
    margin-bottom: 20px;
    position: relative;
}
.up_contain {
    margin: 0 0 3px 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0px 0px 10px;
    background: var(--forumNodeBodyBg);
    border-radius: 8px;
    position: relative;
    box-shadow: rgb(0 0 0 / 5%) 0px 0px 0px 1px;
    -webkit-box-shadow: rgb(0 0 0 / 5%) 0px 0px 0px 1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.node-body {
    display: table;
    table-layout: fixed;
    width: 100%;
}
/* Child boards */
.children {
    width: 100%;
}
.children p {
    font-size: 1em;
}
.children span::after {
    content: ", ";
}
.children span:last-of-type::after {
    content: "";
}
p.moderators {
    font-size: 1em;
    font-weight: bold;
}
span.postby {
    display: block;
}
/* Info Center */
#info_center {
    clear: both;
}
#info_center .sub_bar {
    border-top: 1px solid #ddd;
}
#info_center .sub_bar:first-child {
    border-top: none;
}
#upshrink_stats {
    margin-top: 4px;
}
#ic_recentposts {
    line-height: 1.6em;
    width: 98%;
    margin: -2px 0 0 23px;
    font-size: 1em;
}
#ic_recentposts th {
    text-align: left;
    padding: 0 4px 0 0;
}
#ic_recentposts td {
    border-top: 1px solid #eaeaea;
    padding: 0 4px 0 0;
    vertical-align: top;
}
#ic_recentposts tr:first-child td {
    border-top: none;
}
#ic_recentposts .recentpost strong {
    width: 40%;
}
#ic_recentposts .recentposter {
    width: 15%;
}
#ic_recentposts .recentboard {
    width: 20%;
}
#ic_recentposts .recenttime {
    width: 25%;
}
#ic_recentposts .recenttime strong {
    color: #555;
}
#ic_recentposts .windowbg {
    background: none;
}
#upshrink_stats p.inline {
    border: none;
    margin: 0;
    padding: 2px 29px;
    line-height: 1.6em;
    font-size: 1em;
}
#upshrink_stats p.inline span {
    margin: 0;
    padding: 4px 0 0 0;
}
#upshrink_stats span.membergroups {
    display: block;
}

/* MessageIndex */
/* Start with description and other things */
#description_board,
.filter_row {
    padding: 8px 10px;
    border-radius: 6px 6px 0 0;
    border-bottom: none;
    box-shadow: none;
}
#description_board h3,
#description_board div {
    display: inline-block;
}
#description_board h3::after {
    content: " - ";
}
/* Topic list */
#topic_header {
    margin: 0;
    border-radius: 0;
    display: flex;
}
#topic_header div {
    font-weight: bold;
    font-size: 1em;
    padding: 0;
}
#topic_header input {
    margin-top: 5px !important;
}
#topic_container .windowbg {
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-top: none;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#topic_container .lastpost,
#topic_header .lastpost {
    width: 20%;
}
#topic_container .lastpost,
#topic_container .board_stats {
    flex-shrink: 0;
}
.icon img,
.moderation input {
    margin-top: 15px;
}
.moderation {
    display: inline-block;
    width: 35px;
    flex-shrink: 0;
    vertical-align: middle;
    text-align: center;
}
/* Quick moderation selects and submit */
#quick_actions {
    margin: 6px 0;
}
/* Icons and jump to */
#topic_icons::before {
    display: block;
    height: 8px;
    clear: both;
    content: "";
}
#topic_icons .information {
    font-size: 1em;
    border-radius: 4px;
}
#topic_icons p {
    padding: 0 12px 0 4px;
    line-height: 2em;
}
/* Should lose this before RC1. It's a kludge. Can be fixed by new image */
#topic_icons .floatleft img:first-child {
    padding: 0 2px;
}

/* Display */
/* Poll question */
#poll {
    overflow: hidden;
}

/* Poll vote options */
#poll_options ul.options li {
    padding: 6px 0 6px 25px;
}

/* Poll results */
#poll_options dl.options {
    padding: 12px 0 12px 25px;
    line-height: 1.4em;
}
#poll_options dl.options dt {
    padding: 4px 0;
    width: 30%;
    max-width: 30em;
    float: left;
    clear: left;
}
#poll_options dl.options .voted {
    font-weight: bold;
}
#poll_options dl.options dd {
    width: 60%;
    max-width: 45em;
    float: left;
    margin: 0 0 4px 0;
    text-align: right;
}

/* Poll notices */
#poll_options p {
    margin: 0 18px 2px 18px;
    padding: 0 6px 6px 6px;
}

div#pollmoderation {
    overflow: auto;
}

/* Styles for edit poll section. */
#edit_poll dl.poll_options dt {
    width: 33%;
}
#edit_poll dl.poll_options dd {
    width: 65%;
}

/* Linked events */
.event_title {
    font-size: larger;
    vertical-align: middle;
}
.event_title + a {
    margin-left: 1em;
}

/* On to the posts */
#forumposts {
    clear: both;
    margin: 8px 0 0 0;
}
#forumposts .cat_bar {
    margin: 0 0 -4px 0;
}
/* Topic information */
#forumposts .catbg img {
    margin: 0 4px -2px 0;
}
#forumposts .catbg span {
    white-space: pre;
    /* Specific sizing for clarity without ClearType. */
    font-size: 1em;
    font-weight: normal;
    padding: 2px 0;
}
/* poster and postarea + moderation area underneath */
.post_wrapper::after {
    content: "";
    display: block;
    clear: both;
}
/* poster details and list of items */
.post_wrapper {
    display: flex;
    flex-wrap: wrap;
}
.poster h4 {
    font-size: 1.2em;
}
.poster h4,
.poster h4 a,
.poster li:hover h4 a,
.poster h4 a:hover .poster li h4 a,
.poster h4 a:focus {
    margin: 0;
    padding: 0;
    color: #c06002;
}

.poster .profile .profile_icons li,
.poster .im_icons li {
    display: table-cell;
    padding-right: 5px;
}

/* The visible stuff below the avatar. */
.user_info > li {
    margin: 3px 0 0 0;
}
.poster li.membergroup {
    font-weight: bold;
}
/* @todo Re-code this a bit to give background on anchor. */
.poster li.poster_online,
.poster li.poster_online:hover {
    padding: 1px 1px 1px 1px;
    margin: 3px 10px;
}
.poster li.poster_online a {
    color: #c06002;
    line-height: 1.6em;
}
.poster li.poster_online:hover,
.poster li.poster_online:hover a {
    text-decoration: underline;
}
.poster li.warning a img {
    vertical-align: bottom;
    padding: 0 2px;
}
.poster img {
    vertical-align: middle;
}
img.avatar {
    object-fit: scale-down;
}
.poster img.avatar {
    max-width: 100%;
    margin-top: -65px;
    position: relative;
    border-radius: 50%;
    padding: 5px;
    border-radius: 50% !important;
    background-color: #fff;
    box-shadow: 0 6px 21px 0 rgba(0, 0, 0, 0.12);
}
.postarea div.flow_hidden {
    width: 100%;
}
.moderatorbar {
    clear: right;
}
.messageicon {
    display: inline-block;
}
.messageicon img,
#iconList img {
    vertical-align: middle;
}
.keyinfo .postinfo {
    padding: 1px 0 5px 0;
    line-height: 1.5em;
    font-size: 1em;
    font-weight: bold;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}
.keyinfo .postinfo::after,
.under_message::after {
    content: "";
    clear: right;
    display: block;
}
.keyinfo .postinfo a,
.keyinfo .postinfo a strong {
    color: #ad6825;
}
.keyinfo .postinfo .spacer {
    flex: 1 1 auto;
}
.keyinfo .postinfo .modified {
    color: #333;
    font-weight: normal;
    font-style: italic;
    padding: 2px 4px 0 4px;
}
/* PMs postinfo */
#personal_messages .keyinfo .postinfo {
    flex-direction: column;
    align-items: flex-start;
    font-weight: normal;
}
#reason::before {
    content: " - ";
}
.subject_title a {
    font-size: 1em;
    color: #333;
    font-weight: bold;
}
.subject_hidden a {
    display: none;
}
.page_number {
    color: #ad6825;
    font-weight: bold;
    padding: 4px 0 0 4px;
    line-height: 1.5em;
}
.inner {
    padding: 7px 8px 2px 2px;
    margin: 0;
    border-top: 1px solid #bfbfbf;
    box-shadow: 0 1px 0 #fff inset;
    min-height: 85px;
    word-wrap: break-word; /* IE fallback */
    overflow-wrap: break-word;
}
img.smiley {
    vertical-align: bottom;
}
.attachments {
    padding: 12px 0 0 0;
}
.attached {
    padding: 0 6px 8px 6px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.attachments_top {
    margin: 0 auto;
    text-align: center;
}
.attachments hr {
    clear: both;
    margin: 12px 0;
}
.show_on_hover:hover span {
    display: none;
}
.show_on_hover:hover:before {
    content: attr(data-hover);
}
/* Separator of posts. More useful in the print stylesheet. */
#forumposts .post_separator {
    display: none;
}
/* Next and previous topic links */
.nextlinks {
    text-transform: capitalize;
}
/* Styles for the quick reply area. */
#quickreply {
    clear: both;
}
#quickreply_options .roundframe {
    margin: 0;
    padding: 8px 10% 12px 10%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
#quickReplyExpand {
    float: right;
    margin: 2px 2px 0 2px;
}
/* Styles for edit post section */
form#postmodify .roundframe {
    padding: 12px 12%;
    margin: 12px 0 0 0;
}
#post_header {
    padding: 6px;
    overflow: hidden;
}
#post_header dt {
    float: left;
    padding: 0;
    width: 15%;
    margin: 6px 0 0 0;
    font-weight: bold;
}
#post_header dd {
    float: left;
    padding: 0;
    width: 83%;
    margin: 4px 0;
}
#post_header img {
    vertical-align: middle;
}
ul.post_options {
    margin: 0 0 0 12px;
    padding: 0;
    overflow: hidden;
}
ul.post_options li {
    margin: 2px 0;
    width: 49%;
    float: left;
}
#post_additional_options_header {
    margin-top: 0.5em;
}
#post_additional_options {
    overflow: hidden;
}
#post_additional_options .progress_bar {
    height: 22px;
}
#post_settings,
#postAttachment,
#postAttachment2,
#attachment_previews {
    padding: 10px 0;
}
#postAttachment dd,
#postAttachment2 dd {
    margin: 4px 0;
}
#postAttachment dd {
    width: 45%;
    float: left;
}
#postAttachment dt,
#postAttachment2 dt {
    font-weight: bold;
}
#post_draft_options {
    background: #fdfdfd;
    border: 1px solid #aaa;
    border-left: 1px solid #bbb;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
#post_draft_options .settings dd,
#post_draft_options .settings dt {
    width: 50%;
    border-top: 1px solid #e4e4e4;
    padding: 5px 10px;
    margin: 0;
}
#post_draft_options .settings dd:first-of-type,
#post_draft_options .settings dt:first-child {
    border-top: none; /* Some people are OCD, like me. :P */
}
#post_draft_options .settings strong {
    color: #555;
}
#post_confirm_buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
#post_confirm_buttons,
#shortcuts {
    padding: 12px 0;
}
#post_confirm_buttons .smalltext {
    flex: 1;
    word-break: break-word;
    margin: 0 5px 0 0;
}
#post_confirm_buttons .post_button_container {
    vertical-align: top;
}
#post_confirm_buttons .padding {
    flex: 1 100%;
}
.post_verification {
    margin-top: 6px;
}
.post_verification #verification_control {
    margin: 4px 0 4px 12px;
}
/* The BBC buttons */
#bbcBox_message {
    margin: 10px 6px;
}
#bbcBox_message div {
    margin: 2px 0;
    vertical-align: top;
}
#bbcBox_message div img {
    margin: 0 1px 0 0;
    vertical-align: top;
}
#bbcBox_message select {
    margin: 0 2px;
}
/* The smiley strip */
#smileyBox_message {
    margin: 6px;
}
/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature,
.attachments,
.under_message,
.custom_fields_above_signature,
.custom_fields_below_signature {
    width: 100%;
    overflow: auto;
    clear: right;
    padding: 12px 0 3px 0;
    border-top: 1px solid #bfbfbf;
    box-shadow: 0 1px 0 #fff inset;
    line-height: 1.4em;
    font-size: 1em;
}
.under_message {
    overflow: visible;
    border: none;
    box-shadow: none;
}
.smflikebutton {
    margin-top: 4px;
}
.like_count,
.smflikebutton:last-child {
    margin-bottom: 4px;
}
/* Events */
.edit_event {
    margin: 0 10px;
    vertical-align: top;
}
/* ModerationButtons */
#moderationbuttons {
    float: left;
}
#moderationbuttons_strip {
    float: left;
    margin: 4px 0 4px;
}
#moderationbuttons ul li {
    padding: 0 6px 4px 0;
    margin: 0;
}

/* File error */
.errorfile_table {
    font-family: monospace;
    border-spacing: 1px;
}
.errorfile_table td {
    background: #fbfbfb;
}
.errorfile_table .current {
    background: #fbc6c6;
}
.errorfile_table .file_line.current {
    background: #fb9090;
}
.errorfile_table .file_line {
    background: #ececec;
}

/* General Classes */
/* Cat_bar / catbg */
div.cat_bar {
    padding: 0;
    z-index: 2;
    position: relative;
}
.cat_bar.collapsed,
.cat_bar.cat_bar_round {
    border-radius: 6px;
}
.cat_bar h3 {
    padding: 8px 12px 6px 12px;
}
/* Styles for rounded headers. */
.cat_bar .desc {
    color: #fff;
    font-size: 12px;
    line-height: 1.5em;
    font-weight: normal;
    margin: -8px 0 4px 8px;
}
.cat_bar .desc a {
    color: #fff;
    font-weight: 600;
}
h3.catbg {
    overflow: hidden;
    font-size: 1.1em;
    font-family: "Tahoma", sans-serif;
}
h3.catbg,
h3.catbg a,
h3.catbg a:hover {
    color: #666;
}
h3.catbg a:hover {
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
    text-decoration: none;
}
h3.catbg .main_icons::before,
h3.catbg .icon {
    margin: 0 5px 0 0;
}
.cat_bar + .windowbg,
.cat_bar + .roundframe {
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.cat_bar + .title_bar {
    margin-top: 0;
}
/* Roundframe */
.roundframe {
    margin: 10px 0 0 0;
    padding: 12px 16px;
    background: #f8f8f8;
    border: 1px solid #c5c5c5;
    border-radius: 7px;
    box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.1);
    overflow: auto;
}
/* TitleBar & SubBar */
.title_bar {
    border: 1px solid #ddd;
    border-top: 2px solid #ff9400;
    border-bottom: 2px solid #bf6900;
    background: #fff;
    color: #666;
    border-radius: 2px 2px 0 0;
    margin: 5px 0 0 0;
}
.sub_bar {
    border-bottom: 1px solid #ddd;
    text-shadow: none;
    background: none;
    box-shadow: 0 -1px 0 #999 inset;
    clear: both;
}
h3.titlebg,
h4.titlebg,
.titlebg,
h3.subbg,
h4.subbg,
.subbg {
    background: none;
    color: #555;
    font-family: "Tahoma", sans-serif;
    font-weight: bold;
    overflow: hidden;
    padding: 6px 12px 5px 12px;
    text-shadow: none;
}
.titlebg a,
.subbg a {
    background: none;
    color: #555;
    text-decoration: none;
}
.title_bar + .windowbg,
.title_bar + .roundframe {
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Other */
/* Information */
.information {
    background: #f8f8f8;
    overflow: auto;
    padding-bottom: 0.5em;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 7px 7px;
    margin: 0 0 10px 0;
    padding: 12px 9px 8px 9px;
    position: relative;
}
.generic_list_wrapper .information div {
    background: none;
}
.information a:not(.button) {
    font-weight: bold;
}
p.information img {
    vertical-align: middle;
}
#messageindex .information {
    border-radius: 0;
    margin: 0;
}
#topic_icons .information,
#messageindex .information {
    border-top: 1px solid #ddd;
}
.topic_pages {
    font-size: 1em;
    margin: 0 0 0 5px;
}
.topic_pages::before {
    content: "\00ab ";
}
.topic_pages::after {
    content: " \00bb";
}
/* Mentions */
.atwho-view {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    margin-top: 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    z-index: 11110 !important;
}
.atwho-view .cur {
    background: #3366ff;
    color: #fff;
}
.atwho-view .cur small {
    color: #fff;
}
.atwho-view strong {
    color: #3366ff;
}
.atwho-view .cur strong {
    color: #fff;
    font-weight: bold;
}
.atwho-view ul {
    list-style: none;
    padding: 0;
    margin: auto;
}
.atwho-view ul li {
    display: block;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.atwho-view small {
    font-size: smaller;
    color: #777;
    font-weight: normal;
}
/* On/Off Icons (User) */
.on,
.off {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid transparent;
    vertical-align: middle;
}
.on {
    background: #89e75a;
    border-color: #74d246;
}
.off {
    background: #a7a2a2;
    border-color: #969292;
}
#userstatus .smalltext {
    margin: 0 0 0 5px !important;
}

/* Styles for print media. */
@media print {
    #headerarea {
        display: none;
    }

    .tborder {
        border: none;
    }
}
/* Who */
.action_who #upper_show {
    margin-top: 6px;
}
.action_who #lower_pagesection {
    margin-top: 4px;
}
.action_who #lower_pagelinks {
    margin-top: -4px;
}
.action_who select {
    margin-top: -1px !important;
}
span.member.hidden {
    font-style: italic;
}

/* Icons (converted from img to css) */
/* Stay here till I find a better place for you guys */
h3.profile_hd::before {
    vertical-align: middle;
}
h3.profile_hd::before,
.main_icons.profile_hd::before {
    content: "";
    background: url(../images/icons/profile_hd.png) no-repeat;
    height: 24px;
    width: 24px;
    display: inline-block;
}
.main_icons.profile_sm::before {
    background: url(../images/icons/profile_sm.png) no-repeat;
}
.xx {
    background: url(../images/post/xx.png) 2px no-repeat;
    padding: 25px 6px 25px 18px;
}

/* Those classes are sharing exact same gradient. */
/* Background of buttons */
.dropmenu li ul,
.top_menu,
.dropmenu li li:hover,
.button,
.dropmenu li li:hover > a,
.dropmenu li li a:focus,
.dropmenu li li a:hover,
.quickbuttons > li,
.quickbuttons li ul,
.quickbuttons li ul li a:hover,
.quickbuttons ul li a:focus,
.inline_mod_check,
.post_options ul,
.post_options ul a:hover,
.post_options ul a:focus,
.notify_dropdown a:hover,
.notify_dropdown a:focus {
    background: #fff; /* fallback for some browsers */
    background-image: linear-gradient(#e2e9f3 0%, #fff 70%);
}
.popup_window {
    background-image: linear-gradient(to left, #f8b332, #fc4c1b);
}
/* Well some of them has different gradient effect on hover */
.button:hover,
#search_form .button:hover,
.quickbuttons li:hover {
    background: #fff;
    background-image: linear-gradient(to bottom, #fff 0%, #e2e9f3 70%);
}
/* If it fits I sits... */
.navigate_section ul,
.popup_content {
    background: #fff;
    background-image: linear-gradient(to bottom, #fff 0%, #f1f3f5 95%);
}

/* Topic/Board follow-alert menu */
.notify_dropdown strong {
    font-size: 1.1em;
}
.notify_dropdown a {
    display: block;
    padding: 0.5em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
}
.notify_dropdown a:hover,
.notify_dropdown a:focus {
    border-color: #ddd;
}
.notify_dropdown span {
    font-size: 1em;
}

/* Some new stuff */
#display_head {
    clear: both;
    margin: -7px 0 15px 0;
}
#display_head p {
    color: #959595;
}
#display_head span {
    margin: -4px 0 0 0;
}
.display_title {
    font-weight: normal;
    font-size: 26px;
    margin-bottom: 0.25em;
    line-height: 1.05em;
    overflow-wrap: break-word;
}

#reported_posts .main_icons,
#reported_members .main_icons {
    margin: -3px 1px 0 0;
}
#reported_posts .quickbuttons li a,
#reported_members .quickbuttons li a {
    background: none;
}

/* Some colors for generic usage */
/* Sometimes there will be an error when you post */
/* Messages that somehow need to attract the attention. */
.red,
.meaction,
.error,
.alert,
.warn_mute {
    color: red;
}
.blue {
    color: blue;
}
.green {
    color: green;
}

/* Adding some classes for generic usage and JS rules */
.hidden {
    display: none;
}
.inline_block {
    display: inline-block;
}
.block {
    display: block;
    margin: 0 0 5px 0;
}

/* Alternating colors */
.stripes:nth-of-type(even) {
    background-color: #f2f2f2;
}
.stripes:nth-of-type(odd) {
    background-color: #f0f4f7;
}
.alternative {
    background-color: #f2f2f2;
}
.alternative2 {
    background-color: #e8edf0;
}

.centerbox {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dz-image-preview {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
#attachment_previews {
    display: none;
}
#attachment_previews div.descbox > div,
#attachment_previews div.errorbox > div,
#attachment_previews div.infobox > div {
    padding: 10px;
}
#attachment_previews .attach-preview {
    flex: 0 0 auto;
    width: 170px;
}
#attachment_previews .attachment_info {
    flex: 1 1 auto;
    width: 250px;
}
#attachment_previews .attach-ui {
    min-height: 36px;
    padding: 10px 0;
    float: right;
}
input[name="attachBBC"] {
    width: 100%;
    margin-top: 10px;
}
.attachment_info .progress_bar,
.attachment_info .attached_BBC,
a#attach_cancel_all,
a#attach_upload_all,
.attach-ui {
    display: none;
}
.attachment_info .progress_bar {
    margin: 6px 0;
}
.attached_BBC_width_height label {
    min-width: 100px;
    display: inline-block;
}
.attached_BBC_width,
.attached_BBC_height {
    margin: 10px 1em 0 0;
    display: inline-block;
}
.attachment_info input[type="number"] {
    width: 5em;
}
#attachment_upload {
    min-height: 50px;
}
#drop_zone_ui {
    display: none;
}
#total_progress {
    width: 50%;
    display: none;
}
#max_files_progress,
#max_files_progress_text {
    display: none;
}

/* Hide this from desktop users sshh... our little sekrit */
.mobile_buttons,
.mobile_display {
    display: none;
}

/* Two-Factor Auth code container */
.tfacode {
    background: #d0e7f8;
    padding: 5px;
    display: inline-block;
}

/* TFA QR block */
.tfa_qrcode {
    padding: 6% 8%;
}

.tfa_qrcode img {
    width: 140px;
}

/* This was named as "winfo" before, but its better named noup */
.noup {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin: 0 0 10px 0 !important;
}
.information.noup {
    border-radius: 0;
    margin: 0 !important;
    border-bottom: none;
}
.windowbg.noup {
    box-shadow: none;
}

/* Make the reCAPTCHA dialog centered to match the positioning of the built-in verification */
.g-recaptcha {
    display: inline-block;
}

/* If its collapsed you know what to do */
.collapsed {
    opacity: 0.5;
    transition: 1s;
}
.collapsed:hover {
    opacity: 1;
}

/* Lets not allow our textarea in news section overflow too much to left */
tr[id^="list_news_lists_"] textarea {
    width: 100%;
    resize: vertical;
    min-height: 100px;
}

/* Responsive Youtube embed */
.videocontainer {
    max-width: 560px;
}
.centertext .videocontainer,
.justifytext .videocontainer {
    margin: 0 auto;
}
.righttext .videocontainer {
    margin: 0 0 0 auto;
}
.lefttext .videocontainer {
    margin: 0 auto 0 0;
}
.videocontainer > div {
    position: relative;
    padding-bottom: 56.25%;
}
.videocontainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.videocontainer video {
    object-fit: contain;
    background: black;
    max-width: 100%;
}

.backtrace:not(:last-child) {
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.5em;
}

/* To break or not to break that is the question indeed */
.word_break {
    word-break: break-all;
}

div.sceditor-container:not(.sceditor-maximize) {
    z-index: 4;
}

#attach_current_directory {
    word-break: break-word;
}
/* Add max-width for theme thumbnails */
img.theme_thumbnail {
    max-width: 250px;
}

#lang_main_files_list .name,
#member_list .email,
#approve_list .email {
    word-break: break-word;
}
/* ----- */
html:not([data-theme="dark"]) {
    --kt-page-bg: #f8f9fa;
    --kt-header-desktop-default-border: 1px solid rgba(255, 255, 255, 0.1);
    --kt-header-desktop-fixed-bg-color: #ffffff;
    --kt-header-desktop-fixed-box-shadow: 0px 10px 30px 0px
        rgba(82, 63, 105, 0.08);
    --border: #d9d9d9;
    --top_section: hsl(0deg 0% 100%/64%);
    --search-bg: #d9d9d9;
    --forumNodeBodyBg: #f8f9fa;
    --avatar-border-radius: 50%;
}
html:not([data-theme="dark"]) body:not(.app-blank) {
    /* background-image: url(../images/header-bg.jpg); */
    /* background-image: url(../images/header-bg.png); */
}
body {
    background-color: var(--kt-page-bg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 350px;
}
.p-nav {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
}
.p-nav-inner {
    display: flex;
    align-items: center !important;
}
.p-header-logo {
    vertical-align: middle;
    margin-right: 40px;
}
.p-nav-opposite {
    margin-left: auto;
    margin-right: 10px;
    flex-shrink: 0;
}
/* Dropdown search */
.dropbtn_search {
    background-color: rgba(255, 255, 255, 0.32);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0em 0.75em 0em 0.75em;
    height: 2.55em;
    line-height: 2.55em;
    border-radius: 5px;
}
.dropbtn_search i {
    font-size: 14px;
}

/* Dropdown button on hover & focus */
.dropbtn_search:hover,
.dropbtn_search:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

/* The container <div> - needed to position the dropdown content */
.dropdown_search {
    position: relative;
    display: inline-block;
    padding: 5px 0;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content_search {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 278px;
    border: 1px solid #ddd;
    z-index: 4;
    left: -251.739px;
    top: 45px;
}

/* Links inside the dropdown */
.dropdown-content_search a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content_search a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}
.dropbtn_children:after {
    font-family: "Font Awesome 6 free";
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f0d7";
    width: 1.2em;
    display: inline-block;
    text-align: center;
    font-weight: 900;
    unicode-bidi: isolate;
}
.menu-header {
    padding: 8px 15px;
    margin: 0;
    font-weight: 400;
    text-decoration: none;
    font-size: 17px;
    color: #2577b1;
    background: #edf6fd;
    border-bottom: 1px solid #dfdfdf;
    background: linear-gradient(0deg, #edf6fd, #f6fafe);
}
.menu-row {
    margin: 0;
    padding: 8px 15px;
}
.menu-footer {
    padding: 8px 15px;
    font-size: 12px;
    color: #373c48;
    background: #f5f5f5;
    border-top: 1px solid #dfdfdf;
    background: linear-gradient(180deg, #f5f5f5, #fafafa);
}
.input {
    font-size: 15px;
    color: #23345b;
    background: #f7fbfe;
    border: 1px solid #d8d8d8;
    border-top-color: var(--input-border-heavy);
    border-right-color: var(--input-border-light);
    border-bottom-color: var(--input-border-light);
    border-left-color: var(--input-border-heavy);
    border-radius: 4px;
    padding: 8px;
    display: block;
    width: 100%;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
#search_form .select {
    width: 100%;
}
.menu-content {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 13px;
    color: #23345b;
    background: #fefefe;
    border-radius: 3px;
    border-top: 3px solid #47a7eb;
}
.dropmenu > li a,
#top_info > li .textmenu {
    color: #fff;
}
.menu_nav a.active {
    transition: color 0.2s ease;
    background: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    border-color: #f6f6f642;
}
#top_info > li > a.open {
    transition: color 0.2s ease;
    background: rgba(255, 255, 255, 0.32);
    border-color: #f6f6f642;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.p-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    vertical-align: middle;
    max-width: 100%;
    margin-bottom: 16px;
    margin-top: 16px;
}
.p-title-pageAction a.button {
    display: inline-block;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border-color: #f6f6f642;
    white-space: nowrap;
    -webkit-transition:
        background-color 0.125s ease,
        border-color 0.125s ease,
        color 0.125s ease;
    transition:
        background-color 0.125s ease,
        border-color 0.125s ease,
        color 0.125s ease;
    font-size: 13px;
    border-radius: 4px;
    padding-right: 10px;
    text-transform: capitalize;
    padding-left: 10px;
    text-align: center;
    color: #edf6fd;
    background: rgba(255, 255, 255, 0.32);
}
.button.button--cta,
a.button.button--cta {
    color: #666161;
    background: #fbf7f6;
}
.block-body {
    padding: 10px 20px 20px;
}
.counter_stats {
    position: relative;
    background: #f6f7f8 none repeat scroll 0 0;
    color: #112a46;
    font-weight: bold;
    display: inline-block;
    border-radius: 4px;
    margin-top: 1px;
    width: 90px;
    border: 1px solid #e9ecf0;
}
.counter_stats span i {
    font-size: 12px;
}
.stats_no {
    display: inline-block;
    background: #fff none repeat scroll 0;
    color: #112a46;
    width: 56px;
    text-align: right;
    padding: 0px;
    padding-top: 0px;
    margin-left: 0.3em;
    border-radius: 3px;
    font-weight: normal;
    letter-spacing: 0.1em;
    position: relative;
    font-size: 13px;
}
.wt-shape-left {
    position: absolute;
    top: 0;
    width: 100%;
    height: 114px;
    min-height: 114px;
    opacity: 0.5;
    z-index: 0;
}
.wt-shape-right {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 114px;
    min-height: 114px;
    opacity: 0.5;
    z-index: 0;
}
.wt-shape-top-left {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: 50% 50% !important;
    background-image: url(../images/ust.png);
}
.wt-shape-bottom-right {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: 50% 50% !important;
    background-image: url(../images/alt.png);
}
/* Bordindex */
.p-body-main {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: auto;
    min-height: 1px;
}
.p-body-sideNavCol,
.p-body-contentCol,
.p-body-sidebarCol {
    display: table-column;
}
.p-body-sideNavCol,
.p-body-sidebarCol {
    width: 250px;
}
.p-body-main--withSidebar .p-body-content {
    padding-right: 10px;
}
.p-body-content {
    display: table-cell;
    vertical-align: top;
}
.p-body-sidebar {
    vertical-align: top;
    width: 250px;
}
.block-container {
    color: #141414;
    background: #fefefe;
    border-width: 1px;
    border-style: solid;
    border-top-color: #dfdfdf;
    border-right-color: #d8d8d8;
    border-bottom-color: #cbcbcb;
    border-left-color: #d8d8d8;
    border-radius: 4px;
    margin-bottom: 20px;
}
.contentRow {
    display: flex;
    margin: 0;
    padding: 6px 10px;
}
.contentRow-figure {
    vertical-align: top;
    white-space: nowrap;
    word-wrap: normal;
    text-align: center;
}
.contentRow-figure .avatar {
    width: 37px;
    height: 37px;
    vertical-align: middle;
    border-radius: 30px;
}
.contentRow-main.contentRow-main--close {
    padding-left: 6px;
}
.contentRow-main {
    flex: 1;
    min-width: 0;
    vertical-align: top;
    padding-left: 10px;
}
#info_center .lastpost-block .contentRow .post-link {
    display: block;
    font-weight: 700;
    margin-block-start: -0.2em;
    margin-block-end: 0.1em;
    font-size: 1em;
}
#upshrink_stats,
.sub_bar {
    margin-bottom: 10px;
    color: #888;
    box-shadow: 0 2px 0 0 rgb(204 204 204 / 15%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.subbg i {
    padding-right: 5px;
    color: #505050;
    font-size: 17px;
    line-height: 1.05em;
}
.up_contain .board_icon i {
    font-size: 36px;
    color: #ff5722;
    opacity: 0.8;
    padding: 10px 0px;
    border-radius: 10px;
    width: 100%;
}
.make-me-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
#info_center .lastpost-block .contentRow .recentposter {
    font-size: 16px;
}
#info_center .lastpost-block .contentRow .recenttime {
    font-size: 1em;
}
#info_center .lastpost-block .contentRow .recentposter a {
    color: #f52746;
}
#info_center .lastpost-block .contentRow .recentboard a {
    color: #156cd5;
}
#info_center .lastpost-block .contentRow .recentboard {
    margin-inline-start: 0.2em;
    font-size: 1em;
}
@media (max-width: 900px) {
    .p-body-main,
    .p-body-content {
        display: block;
        padding-right: 0px !important;
    }
}
@media (max-width: 855px) {
    #profile_menu_top .textmenu,
    #pm_menu_top .textmenu,
    #alerts_menu_top .textmenu,
    .button_login .textmenu,
    .button_signup .textmenu {
        display: none;
    }
    .p-body-sidebar {
        width: 95%;
        margin-left: 8px;
    }
}
.custom-shape-divider-bottom-1660155424 {
    position: absolute;
    top: 300px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1660155424 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 52px;
}

.custom-shape-divider-bottom-1660155424 .shape-fill {
    fill: #f8f9fa;
}
.custom-shape-divider-top-1660156928 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1660156928 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 95px;
}

.custom-shape-divider-top-1660156928 .shape-fill {
    fill: #f8f9fa;
}
.wt-footer + .footer-bottom {
    margin-top: -50px;
}
.generic_menu ul li a {
    color: #fff;
    background: #333;
}
.generic_menu ul li a:hover {
    color: #fff;
    background: #ff5722;
}
.generic_menu ul li a.active {
    transition: color 0.2s ease;
    background: #c34;
    color: #fcf8f8;
    border-color: #c9525242;
}
.topic-item {
    position: relative;
}
.topic-item-poster-avatar {
    margin-inline-end: 6px;
    float: left;
    position: relative;
}
.topic-item-content {
    flex-grow: 1;
    overflow: hidden;
    padding-left: 9px;
}
.topic-item-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: calc(var(--font-size) - 1px);
}
.topic-item-details > *:first-child {
    margin-inline-start: 0;
}

.topic-item-details > * {
    margin-inline-start: 3px;
    margin-inline-end: 3px;
}
.topic-item-poster-avatar .avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--avatar-border-radius);
}
/* cihildropdovn */

/* Dropdown Button */
.dropbtn_children {
    color: #000;
    border: none;
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn_children:hover,
.dropbtn_children:focus {
    color: #2980b9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown_children {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content_children {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Links inside the dropdown */
.dropdown-content_children a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-conten_children a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.avatar-bg {
    width: 61px;
    height: 61px;
    margin-left: -2px;
    opacity: 0.9;
    background-repeat: no-repeat;
    background-image: url(../images/Bg1.svg);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -12px;
    left: -9px;
    z-index: 1;
}
.postblock {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: -1px 0 3px 0;
    background-color: #ffffff;
    box-shadow: 0 0 40px 0 rgb(0 0 0 / 6%);
}
.poster {
    width: 13rem;
    position: relative;
    background: #ffffff;
    min-width: 0;
}
.avatar {
    text-align: center;
}
.user_info {
    padding: 0px 10px;
    position: relative;
    z-index: 1;
}
.poster-name {
    font-weight: 700;
    font-size: inherit;
    text-align: center;
    margin: 0;
}
.postgroup,
.membergroup {
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    margin: 0;
}
.postbit-banner {
    background-color: var(--yellow);
    height: 90px;
    width: 100%;
    padding: 0;
    margin: 0;
}
.postarea {
    width: calc(100% - 13rem);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    border-left: 1px solid #d8d8d8;
}
h1.forumtitle i {
    font-size: 25px !important;
    float: none;
    color: #5edfff;
    margin-right: 9px;
}
@media (max-width: 440px) {
    #top_section h1.forumtitle span {
        display: none;
    }
    #top_section h1.forumtitle {
        width: 55px !important;
    }
    .p-header-logo {
        margin-right: 0px;
    }
}
.dropmenu > li i {
    margin-right: 5px;
    font-size: 13px;
}
.poster .avatar img {
    max-width: 115px !important;
    max-height: 115px !important;
}
/* foter link */
.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #ffffff;
    -webkit-box-shadow: 0 0 3px #ad5931;
    box-shadow: 0 0 3px #ad5931;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    width: 100%;
    position: relative;
    margin-top: -63px;
    z-index: 1;
}
.footer_article {
    font-size: 16px;
    line-height: 24px;
}
.footer_article ul {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    color: inherit;
}
.footer-list {
    list-style: none;
    display: block;
    padding: 0 10px 0 10px;
    margin: 0;
    padding-top: 10px;
}
.footer_article ul li a {
    margin: 0.2em 0;
    color: rgb(15, 14, 14);
    text-decoration: none;
    position: relative;
    display: block;
    padding: 2px 0;
    margin-top: 0.5em;
}
.footer_article li,
.footer_article p,
.footer_article a {
    color: #110b0b !important;
}
.footer_article .head {
    font-size: 20px !important;
    border-bottom-color: rgba(175, 186, 202, 0.274);
}
.head {
    position: relative;
    font-weight: bold !important;
    display: block;
    font-size: 22px;
    line-height: 26px;
    color: #596880;
    padding-left: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e6ed;
}
.head:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 60px;
    background: #ff7d03;
}
.head i {
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 24px;
    color: #ff6803;
}
@media (min-width: 926px) {
    .footer_article {
        flex: 1 1 10px;
    }
}
.footer_article {
    padding: 10px;
}
#footer .footer-bottom ul {
    /* background: #ff5722; */
    padding: 30px;
    margin-bottom: 0px;
    margin-top: 55px;
    line-height: 35px;
}
/* User Profile */
@media (min-width: 651px) {
    .memberHeader {
        min-height: 158px;
    }
}
.memberHeader-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #edf6fd;
    border-bottom: 1px solid #dfdfdf;
    border-radius: 3px 3px 0 0;
}
.memberHeader-mainContent {
    position: relative;
}
.memberHeader-avatar {
    position: absolute;
    padding: 8px;
}
.avatarWrapper {
    display: inline-block;
    position: relative;
}
.avatar--l .avatar {
    border-radius: 4px !important;
}
.avatar.avatar--l {
    width: 192px;
    height: 192px;
    font-size: 115px;
}
.avatar--l img:not(.cropImage) {
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal;
    display: block;
    border-radius: inherit;
    width: 100%;
    height: 100%;
}
@media (max-width: 650px) {
    .avatar--l img.avatar {
        width: 96px;
        height: 96px;
        font-size: 58px;
    }
}
.avatar--l .avatar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    vertical-align: top;
    overflow: hidden;
}
.memberHeader-content {
    padding: 8px;
    padding-left: 188px;
}
.memberHeader-actionTop {
    float: right;
}
.buttonGroup {
    display: inline-block;
    vertical-align: top;
}
.button.button--link,
a.button.button--link {
    background: #fefefe;
    color: #23345b;
    border-color: #e5e5e5 #cbcbcb #cbcbcb #e5e5e5;
}
.buttonGroup > .button {
    float: left;
}
@media (max-width: 480px) {
    .memberHeader-avatar {
        display: block;
        position: static;
        float: none;
        padding-bottom: 0;
        text-align: center;
    }
    .memberHeader-main .memberHeader-content {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        min-height: 0;
        text-align: center;
        padding-left: 10px;
    }
    .memberHeader-actionTop {
        float: none;
        order: 2;
        margin-top: 3px;
    }
    #basicinfo .icon_fields li {
        float: inherit;
    }
}
.memberHeader-stats {
    font-size: 17px;
}
.pairJustifier {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-right: -5px;
    margin-bottom: -5px;
}
.pairJustifier .pairs.pairs--rows {
    margin-right: 5px;
    margin-bottom: 5px;
}
.pairs.pairs--rows {
    display: inline-table;
    margin-right: 6px;
}
.fauxBlockLink {
    position: relative;
}
.pairs {
    padding: 0;
    margin: 0;
    overflow: hidden;
}
/* f-icon */
.fa-help:before {
    content: "\f059";
}
.fa-gear:before,
.fa-admin:before,
.fa-cog:before {
    content: "\f013";
}
.fa-signup:before {
    content: "\f4ff";
}
.fa-contact:before {
    content: "\f573";
}
.fa-forum:before {
    content: "\f086";
}
.fa-moderate:before {
    content: "\f0ad";
}
.fa-profile:before {
    content: "\f007";
}
.fa-mlist:before,
.fa-view_all_members:before {
    content: "\f0c0";
}
.fa-caret-square-down:before {
    content: "\f204";
}

.fa-caret-square-up:before {
    content: "\f205";
}
