/* Styles for the general looks for the Curve theme.
------------------------------------------------------- */
/* Set a fontsize that will look the same in all browsers. */
@import url("https://use.typekit.net/jib5lhi.css");

:root {
   --mainBg: #000;
   --mainBgLighter: #1f1f1f;
   --mainBgHover: #232323;
   --darkContent: #262626;
   --borderColor: #393939;
   --fgColor: #fff;
   --linkBg: #ff00bc;
   --linkBgDarker: #d6009e;
   --linkFg: #ff00bc;
   --linearGradientStart: #ba63b9;
   --linearGradientEnd: #9f4b82;
   --stickyBg: #8d3578;
   --padding: 6px;
}

body
{
   margin: 0 auto;
   padding: 0;
   font-family: droid-sans, sans-serif;
   background: var(--mainBg);
}

.discord-im {
   display: flex !important;
   align-content: center;
   justify-content: center;
}

.discord-im img {
   width: 16px;
   margin-right: var(--padding);
}

.discord-im p {
   margin: 0;
}

#category_3_boards #board_48 #board_48_children {
   display: none;
}

#status-detailedinfo .cat_bar .catbg .ie6_header img {
   display: none;
}

.single-emoji .counts {
   display: none;
}

#status-detailedinfo .cat_bar {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

.table > thead > tr > th {
   border-bottom: 2px solid var(--borderColor);
}

a {
   color: var(--linkFg)
}

textarea {
   background: var(--mainBgLighter);
   color: var(--fgColor);
   border: 1px solid var(--borderColor);
   margin: 1px;
}

.content .avatar {
   width: 80%;
   margin-right: calc(var(--padding) * 2);
   max-width: 350px;
}

.content.comment {
   display: flex;
}

.content.comment .poster .reset.smalltext .avatar {
   max-width: 250px;
   margin-right: 0;
   width: auto;
}

.content.comment .poster {
   margin-right: calc(var(--padding) * 2);
}

.content.comment .postarea {
   width: 100%;
}

#profile_left {
   /* We important this to not edit Ultimate Profile */
   width: 60% !important;
}

.dropdown-menu {
   background-color: var(--darkContent);
   color: var(--fgColor)
}

.dropdown-menu > li > a {
   background-color: var(--darkContent);
   color: var(--fgColor);
}
.dropdown-menu > li > a:hover {
   background-color: var(--darkContent);
   color: var(--fgColor);
}


.btn-primary {
   color: var(--fgColor);
   background: var(--linkBg);
   border-color: var(--borderColor);
}
.btn-primary:active {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}
.btn-primary:hover {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}
.btn-primary:focus {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}
.btn-primary:active:focus {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}

.open > .dropdown-toggle.btn-primary {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}
.open > .dropdown-toggle.btn-primary:hover {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}
.open > .dropdown-toggle.btn-primary:focus {
   color: var(--fgColor);
   background: var(--linearGradientEnd);
   border-color: var(--borderColor);
}

.img-thumbnail {
   background: var(--darkContent);
   border-color: var(--borderColor);
   margin-bottom: calc(var(--padding) * 2);
}

a:hover {
   color: var(--linkFg)
}
a:focus {
   color: var(--linearGradientEnd)
}

input {
   background-color: var(--mainBg);
   color: var(--fgColor);
   border: 1px solid var(--borderColor)
}

select {
   background-color: var(--mainBg);
   color: var(--fgColor);
   border: 1px solid var(--borderColor)
}

input[type="button"] {
   background-color: var(--linkBg);
   color: var(--fgColor);
   border: 1px solid var(--borderColor)
}

.btn-info {
   color: var(--fgColor);
   background-color: var(--linkBg);
   border-color: var(--borderColor);
}

.btn-info:hover {
   background-color: var(--linkBgDarker);
   border-color: var(--borderColor);
}

.btn-info:active {
   background-color: var(--linkBg);
   color: var(--fgColor);
   border-color: var(--borderColor);
}

.btn-info:active:focus {
   background-color: var(--linkBg);
   color: var(--fgColor);
   border-color: var(--borderColor);
}

.btn-info:focus {
   background-color: var(--linkBg);
   color: var(--fgColor);
   border-color: var(--borderColor);
}

header .img-thumbnail {
   background: var(--darkContent);
   border-color: var(--borderColor);
}

/* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */
input.input_check, input.input_radio
{
   border: none;
   background: none;
}
h3.catbg input.input_check
{
   margin: 9px 7px 0 7px;
}

/* Give disabled text input elements a different background color. */
input[disabled].input_text
{
   background-color: var(--mainBg);
   color: var(--fgColor);
}

.table > tbody > tr > td {
   border-top: 1px solid var(--borderColor);
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: var(--borderColor);
   background-color: var(--borderColor);
}

/* By default set the color on these tags as #000. */
h1, h2, h3, h4, h5, h6
{
   margin: 0;
   padding: 0;
}

/* Fieldsets are used to group elements. */
fieldset
{
   border: 1px solid #c4c4c4;
   padding: 1em;
   margin: 0 0 0.5em 0;
}
fieldset legend
{
   font-weight: bold;
   color: #444;
}
/* No image should have a border when linked. */
a img
{
   border: 0;
}

/* Define strong as bold, and em as italics */
strong
{
   font-weight: bold;
}

em
{
   font-style: italic;
}
/* Alternative for u tag */
.underline
{
   text-decoration: underline;
}

/* Common classes to easy styling.
------------------------------------------------------- */

.floatright
{
   float: right;
}
.floatleft
{
   float: left;
}

.flow_auto
{
   overflow: auto;
}
.flow_hidden
{
   overflow: hidden;
}
.flow_hidden .windowbg, .flow_hidden .windowbg2
{
   margin-top: 2px;
}
.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: 0.85em;
   font-family: verdana, sans-serif;
}
.middletext
{
   font-size: 0.9em;
   line-height: 1em;
   font-family: verdana, sans-serif;
}
.normaltext
{
   font-size: 1em;
   line-height: 1.2em;
}
.largetext
{
   font-size: 1.4em;
}
.centertext
{
   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;
}
.double_height
{
   line-height: 2em;
}
/* some common padding styles */
.padding
{
   padding: 0.7em;
}
.main_section, .lower_padding
{
   padding-bottom: 0.5em;
}
/* a quick reset list class. */
ul.reset, ul.reset li
{
   padding: 0;
   margin: 0;
   list-style: none;
}

/* Some BBC related styles.
------------------------------------------------------- */

/* A quote, perhaps from another post. */
blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote
{
   font-size: x-small;
   color: #000;
   line-height: 1.4em;
   background: url(../images/theme/quote.png) 0.1em 0.1em no-repeat;
   border-left: 3px solid #99A;
   padding: 1.1em 1.4em;
   margin: 0.1em 0 0.3em 0;
   overflow: auto;
}

blockquote.bbc_standard_quote {
   background-color: var(--mainBgLighter);
}

/* Alterate blockquote stylings */
blockquote.bbc_standard_quote
{
   background-color: var(--mainBgLighter);
   color: var(--fgColor);
}

#up_media {
   margin-top: calc(var(--padding) * 3)
}

#up_pictures .content img {
   margin-bottom: calc(var(--padding) * 2);
}

blockquote.bbc_alternate_quote
{
   background-color: #e7eafc;
}

/* A code block - maybe PHP ;). */
code.bbc_code
{
   display: block;
   font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace;
   font-size: x-small;
   background: #eef;
   border-left: 3px solid #999;
   line-height: 1.5em;
   padding: 3px 1em;
   overflow: auto;
   white-space: nowrap;
   /* Show a scrollbar after about 24 lines. */
   max-height: 24em;
   border-radius: 0;
}

/* The "Quote:" and "Code:" header parts... */
.codeheader, .quoteheader
{
   color: #666;
   font-size: x-small;
   font-weight: bold;
   padding: 0 0.3em;
}

/* For links to change the code stuff... */
.codeoperation
{
   font-weight: normal;
}

/* Styling for BBC tags */
.bbc_link:link, .bbc_link:visited
{
   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_img
{
   border: 0;
}
.bbc_table
{
   font: inherit;
   color: inherit;
}
.bbc_table td
{
   font: inherit;
   color: inherit;
   vertical-align: top;
}
.bbc_u
{
   text-decoration: underline;
}
.bbc_list
{
   text-align: left;
}
.bbc_tt
{
   font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace;
}

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

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

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

/* A more discreet highlight color, for selected membergroups etc. */
.highlight2
{
   background-color: #D1E1EF;
   color: #000 !important;
}

/* Generic, mostly color-related, classes.
------------------------------------------------------- */

.titlebg, .titlebg2, tr.titlebg th, tr.titlebg td, tr.titlebg2 td,
.catbg, .catbg2, tr.catbg td, tr.catbg2 td, tr.catbg th, tr.catbg2 th
{
   color: #fff;
   font-size: 1.1em;
   font-weight: normal;
   background: var(--linkBg);
   /* background: #4b698b;
   background: -moz-linear-gradient(top,  #4b698b 0%, #354a62 100%);
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4b698b), color-stop(100%,#354a62));
   background: -webkit-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: -o-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: -ms-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: linear-gradient(to bottom,  #4b698b 0%,#354a62 100%);*/
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b698b', endColorstr='#354a62',GradientType=0 );
}

/* adjust the table versions of headers */
tr.titlebg th, tr.titlebg2 th, td.titlebg, td.titlebg2, tr.catbg th, tr.catbg2 th, td.catbg, td.catbg2
{
   padding: 0 6px;
}
tr.titlebg th a:link, tr.titlebg th a:visited, tr.titlebg2 td a:link, tr.titlebg2 td a:visited
{
   color: #222;
}
tr.catbg th a:link, tr.catbg th a:visited, tr.catbg2 td a:link, tr.catbg2 td a:visited
{
   color: #fff;
}
.catbg select
{
   height: 1.5em;
   font-size: 0.85em;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body,
.windowbg2,
.windowbg3,
.windowbg4
{
   /* bootstrap is shit important */
   color: var(--fgColor);
   background-color: var(--mainBgLighter) !important;
}
.windowbg2 .message-item {
   background-color: var(--darkContent);
   color: var(--fgColor);
}

tr.windowbg4:hover
{
   background-color: var(--mainBgHover);
}
/* the page navigation area */
.pagesection
{
   font-size: 0.9em;
   padding: 0.2em;
   overflow: hidden;
   margin-bottom: 1px;
   color: var(--fgColor);
}
div.pagesection div.floatright input
{
   margin-top: 3px;
}

.pagelinks
{
   padding: 0.6em 0 0.4em 0;
}

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

/* Color for background of *topics* requiring approval */
.approvetbg
{
   color: #000;
   background-color: #e4a17c;
}
.approvetbg2
{
   color: #000;
   background-color: #f3bd9f;
}

/* Sticky topics get a different background */
.stickybg
{
   background: var(--stickyBg);
}
.stickybg2
{
   background: var(--stickyBg);
}

/* Locked posts get a different shade, too! */
.lockedbg
{
   background: var(--stickyBg);
   font-style: italic;
}
.lockedbg2
{
   background: var(--stickyBg);
   font-style: italic;
}

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

.post .inner img.bbc_img {
   max-width: 450px;
}

.status img {
   max-width: 150px;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature, .attachments
{
   width: 98%;
   overflow: auto;
   clear: right;
   padding: 1em 0 3px 0;
   border-top: 1px solid #aaa;
   line-height: 1.4em;
   font-size: 0.85em;
}
.custom_fields_above_signature
{
   width: 98%;
   clear: right;
   padding: 1em 0 3px 0;
   border-top: 1px solid #aaa;
   line-height: 1.4em;
   font-size: 0.85em;
}

/* Sometimes there will be an error when you post */
.error
{
   color: red;
}

@media (max-width: 650px) {
   .open > .dropdown-menu.emoji-flex {
      display: flex;
   }
   .reaction-row {
      display: flex;
      flex-direction: column;
   }
}

/* Messages that somehow need to attract the attention. */
.alert
{
   color: var(--fgColor);
}

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

.event
{
   color: #078907;
}

.holiday
{
   color: #000080;
}

/* Colors for warnings */
.warn_mute
{
   color: red;
}

.warn_moderate
{
   color: #ffa500;
}

.warn_watch, .success
{
   color: green;
}

a.moderation_link, a.moderation_link:visited
{
   color: red;
   font-weight: bold;
}

.openid_login
{
   background: white url(../images/openid.gif) no-repeat;
   padding-left: 18px;
}

/* a descriptive style */
.description, .description_board, .plainbox
{
   padding: 0.5em 1em;
   font-size: 0.9em;
   line-height: 1.4em;
   border: 1px solid var(--borderColor);
   color: var(--fgColor);
   background: var(--mainBgLighter);
   margin: 0.2em 1px 1em 1px;
}
.description_board
{
   margin: 1em 1px 0 1px;
}

/* an informative style */
.information
{
   padding: 0.5em 1em;
   font-size: 0.9em;
   line-height: 1.3em;
   border: 1px solid var(--borderColor);
   background: var(--darkContent);
   color: var(--fgColor);
   margin: 0.2em 1px 1em 1px;
}
.information p
{
   padding: 1em;
   margin: 0;
}
p.para2
{
   padding: 1em 0 3.5em 0;
   margin: 0;
}
/* AJAX notification bar
------------------------------------------------------- */
#ajax_in_progress
{
   background: url(../images/theme/loadingbar.png) repeat-x;
   color: #f96f00;
   text-align: center;
   font-size: 16pt;
   padding: 8px;
   width: 100%;
   height: 66px;
   line-height: 25px;
   position: fixed;
   top: 0;
   left: 0;
}

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

/* Lists with settings use these a lot.
------------------------------------------------------- */
dl.settings
{
   clear: right;
   overflow: auto;
   margin: 0 0 10px 0;
   padding: 0;
}
dl.settings dt
{
   width: 40%;
   float: left;
   margin: 0 0 10px 0;
   padding: 0;
   clear: both;
}
dl.settings dt.settings_title
{
   width: 100%;
   float: none;
   margin: 0 0 10px 0;
   padding: 5px 0 0 0;
   font-weight: bold;
   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: 56%;
   float: right;
   overflow: auto;
   margin: 0 0 3px 0;
   padding: 0;
}
dl.settings img
{
   margin: 0 10px 0 0;
}
/* help icons */
dl.settings dt a img
{
   position: relative;
   top: 2px;
}

/* Styles for rounded headers.
------------------------------------------------------- */
h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg
{
   overflow: hidden;
   height: 37px;
   line-height: 37px;
   font-size: 1.1em;
}
h3.catbg a:link, h3.catbg a:visited, h4.catbg a:link, h4.catbg a:visited, h3.catbg, .table_list tbody.header td, .table_list tbody.header td a
{
   color: #fff;
}
h3.catbg2 a, h3.catbg2
{
   color: #feb;
}
h3.catbg a:hover, h4.catbg a:hover, .table_list tbody.header td a:hover
{
   color: #fd9;
   text-decoration: none;
}
h3.catbg2 a:hover
{
   color: #fff;
   text-decoration: none;
}
h3.titlebg a, h3.titlebg, h4.titlebg, h4.titlebg a
{
   color: #fff;
}
h3.titlebg a:hover, h4.titlebg a:hover
{
   color: #53616f;
   text-decoration: none;
}
h3.catbg img.icon, h4.titlebg img.icon
{
   vertical-align: middle;
   margin: -2px 5px 0 0;
}
h4.catbg a.toggle img
{
   vertical-align: middle;
   margin: -2px 5px 0 5px;
}
h4.catbg, h4.catbg2 , h3.catbg , h3.catbg2 , .table_list tbody.header td.catbg, h4.titlebg, h3.titlebg
{
   /*background: #4b698b;
   background: -moz-linear-gradient(top,  var(--linearGradientStart) 0%, var(--linearGradientEnd) 100%);
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--linearGradientStart)), color-stop(100%,var(--linearGradientEnd)));
   background: -webkit-linear-gradient(top,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%);
   background: -o-linear-gradient(top,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%);
   background: -ms-linear-gradient(top,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%);
   background: linear-gradient(to bottom,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%); */
   background: var(--linkBg);
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b698b', endColorstr='#354a62',GradientType=0 );
   padding-right: 9px;
}
h4.titlebg img.icon
{
   float: left;
   margin: 5px 8px 0 0;
}
div.cat_bar, div.title_bar
{
   background: var(--linkBg);
   /*background: -moz-linear-gradient(top,  var(--linearGradientStart) 0%, var(--linearGradientEnd) 100%);
   background: #4b698b;
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--linearGradientStart)), color-stop(100%,var(--linearGradientEnd)));
   background: -webkit-linear-gradient(top,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%);
   background: -o-linear-gradient(top,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%);
   background: -ms-linear-gradient(top,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%);
   background: linear-gradient(to bottom,  var(--linearGradientStart) 0%,var(--linearGradientEnd) 100%); */
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b698b', endColorstr='#354a62',GradientType=0 );
   border-radius: 5px 5px 0 0;
   padding-left: 9px;
   height: 37px;
   overflow: hidden;
   margin-bottom: 1px;
}
/* rounded bars needs a different background here */
#upshrinkHeaderIC p.pminfo
{
   margin: 0;
   padding: 0.5em;
}

#up_summary .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_about_me .catbg {
   margin-top: calc(var(--padding) * 3);
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_interests .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_write_comment .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_buddies .content {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   gap: 6px;
}

.submenu-links .showLikeNotification {
   direction: rtl;
}

#up_buddies .buddy.buddy-border {
   border: 4px solid var(--linkFg);
   padding-top: 6px;
}

#up_buddies .buddy {
   flex-grow: 1;
   width: 31.333%;
   flex-direction: column;
   align-items: center;
   align-content: center;
   display: flex;
   justify-content: center;
}

#up_buddies .content .avatar {
   width: 80%;
   margin-right: calc(var(--padding) * 2);
   max-width: 350px;
}

#up_buddies .buddy .buddy-border {
   flex-grow: 1;
   width: 33.333%;
   flex-direction: column;
   align-items: center;
   align-content: center;
   display: flex;
}

#forumposts .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#forumposts .windowbg.pinned-comment {
   border: 4px solid var(--linkFg);
   margin-bottom: calc(var(--padding) / 2);
}

#up_media .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_buddies .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_pictures .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

#up_summary .catbg img {
   display: none;
}

#up_contact .catbg {
   text-align: center;
   text-shadow: 3px 3px 3px var(--mainBg);
}

img#upshrink_ic, img#newsupshrink
{
   float: right;
   margin: 10px 5px 0 0;
}
table.table_list a.unreadlink, table.table_list a.collapse
{
   float: right;
   display: block;
   visibility: visible;
}
@media (max-width: 767px)
{
   table.table_list a.unreadlink
   {
      display: none;
   }
}
table.table_list a.collapse
{
   margin: 4px 5px 0 1em;
   height: 31px;
   line-height: 31px;
}

/* The half-round header bars for some tables. */
.table_grid tr.catbg, .table_grid tr.titlebg
{
   font-size: 0.95em;
   border-bottom: 1px solid #fff;
}
.table_grid tr.catbg th, .table_grid tr.titlebg th
{
   height: 37px;
   line-height: 37px;
}
tr.catbg th.first_th, tr.titlebg th.first_th
{
   /*background: #4b698b;
   background: -moz-linear-gradient(top,  #4b698b 0%, #354a62 100%);
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4b698b), color-stop(100%,#354a62));
   background: -webkit-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: -o-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: -ms-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: linear-gradient(to bottom,  #4b698b 0%,#354a62 100%); */
   background: var(--linkBg);
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b698b', endColorstr='#354a62',GradientType=0 );
}
tr.catbg th:first-of-type, tr.titlebg th:first-of-type
{
   border-radius: 5px 0 0 0;
}
tr.catbg th.last_th, tr.titlebg th.last_th
{
   /*background: #4b698b;
   background: -moz-linear-gradient(top,  #4b698b 0%, #354a62 100%);
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4b698b), color-stop(100%,#354a62));
   background: -webkit-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: -o-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: -ms-linear-gradient(top,  #4b698b 0%,#354a62 100%);
   background: linear-gradient(to bottom,  #4b698b 0%,#354a62 100%); */
   background: var(--linkBg);
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b698b', endColorstr='#354a62',GradientType=0 );
}
tr.catbg th:last-of-type, tr.titlebg th:last-of-type
{
   border-radius: 0 5px 0 0;
}
.table_grid th.last_th input
{
   margin: 0 2px;
}

/* a general table class */
table.table_grid
{
   border-collapse: collapse;
   margin-top: 0.1em;
}
table.table_grid td
{
   padding: 3px;
}

/* GenericList */
.additional_row
{
   padding: 0.5em 0 0.5em 0;
}
table.table_grid thead tr.catbg th
{
   white-space: nowrap;
}

/* table_grid styles for Profile > Show Permissions. */
#permissions table.table_grid  td
{
   padding: 0.4em 0.8em;
   cursor: default;
}

/* Common styles used to add corners to divisions.
------------------------------------------------------- */
.windowbg span.topslice
{
   display: block;
   padding-left: 20px;
   background-color: var(--mainBgLighter);
}
.windowbg span.topslice span
{
   display: block;
   background-color: var(--mainBgLighter);
   height: 11px;
}
.windowbg span.botslice
{
   display: block;
   padding-left: 20px;
   background-color: var(--mainBgLighter);
   font-size: 5px;
   line-height: 5px;
   margin-bottom: 0.2em;
}
.windowbg span.botslice span
{
   display: block;
   background-color: var(--mainBgLighter);
   height: 11px;
}

.windowbg2 span.topslice
{
   display: block;
   padding-left: 20px;
   background-color: var(--mainBgLighter);
}
.windowbg2 span.topslice span
{
   display: block;
   background-color: var(--mainBgLighter);
   height: 11px;
}
.windowbg2 span.botslice
{
   display: block;
   padding-left: 20px;
   background-color: var(--mainBgLighter);
   font-size: 5px;
   line-height: 5px;
   margin-bottom: 0.2em;
}
.windowbg2 span.botslice span
{
   display: block;
   background-color: var(--mainBgLighter);
   height: 11px;
}
.approvebg span.topslice
{
   display: block;
   padding-left: 20px;
   background-color: #ffeaea;
}
.approvebg span.topslice span
{
   display: block;
   background-color: #ffeaea;
   height: 11px;
}
.approvebg span.botslice
{
   display: block;
   padding-left: 20px;
   background-color: #ffeaea;
   margin-bottom: 0.2em;
}
.approvebg span.botslice span
{
   display: block;
   background-color: #ffeaea;
   height: 11px;
}
.postbg
{
   border-left: 1px solid #7f7f7f;
   border-right: 1px solid #7f7f7f;
}

.detailed-status-info .main-info {
   display: flex;
}

.detailed-status-info .main-info .status.avatar {
   width: 150px;
}

.status-comments .status-comment .author-and-post {
   display: flex;
}

/* Used for sections that need somewhat larger corners.
----------------------------------------------------------- */
.roundframe
{
   padding: 0 10px;
   background-color: var(--mainBgLighter);
   color: var(--fgColor)
}
.roundframe dl, .roundframe dt, .roundframe p
{
   margin: 0;
}
.roundframe p
{
   padding: 0.5em;
}
span.upperframe
{
   padding: 0;
   display: block;
   background-color: var(--mainBgLighter);
   padding-left: 20px;
}
span.upperframe span
{
   padding: 0;
   height: 12px;
   display: block;
   background-color: var(--mainBgLighter);
}
span.lowerframe
{
   padding: 0;
   display: block;
   background-color: var(--mainBgLighter);
   padding-left: 20px;
}
span.lowerframe span
{
   padding: 0;
   height: 12px;
   display: block;
   background-color: var(--mainBgLighter);
}

/* The main content area.
------------------------------------------------------- */
.content
{
   padding: 0.5em 1.2em;
   margin: 0;
   border: none;
}
.content p
{
   margin: 0 0 0.5em 0;
}

/* Styles used by the auto suggest control.
------------------------------------------------------- */
.auto_suggest_div
{
   border: 1px solid #000;
   position: absolute;
   visibility: hidden;
}
.auto_suggest_item
{
   background-color: #ddd;
}
.auto_suggest_item_hover
{
   background-color: #888;
   cursor: pointer;
   color: #eee;
}

/* Styles for the standard dropdown menus.
------------------------------------------------------- */
#main_menu
{
   padding: 0 0.5em;
   float: left;
   margin: 0;
   width: 98%;
}
/* The dropdown menu toggle image */
#menu_toggle
{
   float: right;
   margin-right: 10px;
   padding-top: 3px;
}
#menu_toggle span
{
   position: relative;
   right: 5000px;
}

/* Styles for the standard button lists.
------------------------------------------------------- */
.buttonlist .nav, #admin_menu .nav
{
   padding: 0;
   margin: 0;
}
.buttonlist li a, #admin_menu li a.dropdown-toggle
{
   background: var(--linkBg);
   color: #FFF;
   border-radius: 0 0 0 0;
}
.buttonlist li:first-child a,
#admin_menu li:first-child a.dropdown-toggle
{
   border-bottom-left-radius: 4px;
   border-top-left-radius: 4px;
}
.buttonlist li:last-child a,
#admin_menu li:last-child a.dropdown-toggle
{
   border-bottom-right-radius: 4px;
   border-top-right-radius: 4px;
}
.buttonlist li a.active, .buttonlist li a:hover, .buttonlist li a:focus,
#admin_menu li a.dropdown-toggle:hover, #admin_menu li a.dropdown-toggle:focus
{
   background: var(--linearGradientEnd);
}
.buttonlist .nav-pills  li + li,
#admin_menu .nav-pills  li + li
{
   margin-left: 0;
}
#admin_menu li a.active, #admin_menu li a.active:hover, #admin_menu li a.active:focus
{
   background: var(--linearGradientEnd);
}
.align_top ul li a, .align_bottom ul li a
{
   margin: 0 12px 0 0;
}

@media only handheld and (max-width: 991px) {
   #profile_left {
      display: flex;
      width: 100% !important;
      flex-direction: column;
   }
   #profile_right {
      display: flex;
      width: 100% !important;
      flex-direction: column;
   }
}

@media (max-width: 660px) {
   .content .avatar {
      width: 100px;
   }
}
@media (min-width: 661px) and (max-width: 991px) {

   .content .avatar {
      width: 200px;
   }
   #admin_menu li, #adm_submenus li
   {
      float: none;
      margin-bottom: 5px;
   }
   #admin_menu li a, #adm_submenus li a
   {
      width: 100%;
      border-radius: 4px !important;
   }
   #admin_menu .dropdown-menu
   {
      width: 100%;
   }
}
/* the navigation list */
ul#navigation
{
   margin: 0;
   font-size: 0.9em;
   padding: 1em 0.4em;
}
ul#navigation li
{
   float: none;
   font-size: 0.95em;
   display: inline;
}

#adm_submenus
{
   overflow: hidden;
}
#adm_submenus span
{
   display: inline-block !important;
}
/* Styles for the general looks for the Curve theme.
------------------------------------------------------- */
/* the content section */
@media (max-width: 767px)
{
   #content_section
   {
      padding: 0 5px;
   }
}
#main_content_section
{
   width: 100%;
   min-height: 200px;
}

/* the main title, always stay at 45 pixels in height! */
h1.forumtitle
{
   line-height: 45px;
   font-size: 1.8em;
   font-family: Geneva, verdana, sans-serif;
   margin: 0;
   padding: 0;
   float: left;
}
/* float these items to the right */
#siteslogan, img#smflogo
{
   margin: 0;
   padding: 0;
   float: right;
   line-height: 3em;
}
h3, h4
{
   padding-bottom: 3px;
}
/* the upshrink image needs some tweaking */
img#upshrink
{
   float: right;
   margin: 1em;
}
/* ..so does the SMF logo */
img#smflogo
{
   margin-left: 1em;
}
/* the upper_section, float the two each way */
#upper_section
{
   padding: 5px;
   margin-bottom: 1.5em;
}
#upper_section ul li.greeting
{
   font-size: 1.3em;
   font-weight: bold;
   line-height: 1.5em;
}
#upper_section div.news
{
   width: 50%;
   float: right;
   text-align: right;
}
#guest_form
{
   overflow: hidden;
}
#guest_form .info
{
   padding: 4px 0 ;
   line-height: 1.3em;
}
div#upper_section div.user
{
   width: 50%;
   float: left;
   overflow: auto;
}
div#upper_section div.user p
{
   float: left;
   margin: 0 1em 1em 0;
   padding: 0;
}
div#upper_section div.user ul
{
   margin: 0;
   padding-left: 10px;
}
div#upper_section div.user ul li
{
   margin-bottom: 2px;
}
div#upper_section div.news p
{
   display: inline;
}
div#upper_section div.news form
{
   padding-bottom: 10px;
}
/* clearing the floats */
#top_section
{
   min-height: 65px;
   overflow: hidden;
   margin-bottom: 3px;
}
#upper_section
{
   overflow: hidden;
}

/* The navigation list (i.e. linktree) */
.navigate_section
{
   padding: 0.5em;
   margin: 0 0 0 0;
}
.navigate_section ul
{
   display: block;
   margin: 0;
   font-size: 0.9em;
   padding: 1em 0 0.5em 0;
   border-top: 1px solid #ccc;
   overflow: hidden;
   list-style: none;
   clear: both;
   width: 100%;
}
.navigate_section ul li
{
   float: left;
   padding: 0 0.5em 0 0;
   font-size: 0.95em;
}
.navigate_section ul li a
{
   white-space: pre;
}

/* The footer wih copyright links etc. */
footer
{
   display: block;
   overflow: hidden;
   padding: 15px 0;
   color: var(--fgColor);
}
footer a
{
   color: var(--linkFg);
}
foooter span.smalltext
{
   font-size: 100% !important;
}
footer ul li, footer p
{
   font-size: 12px;
}
footer ul li
{
   display: inline;
   padding-right: 5px;
}
footer ul li.copyright
{
   display: block;
}
select.qaction, input.qaction
{
   font-size: 0.85em;
   padding: 0;
}
#mlist table tbody td.windowbg2
{
   text-align: center;
}

/* Styles for a typical table.
------------------------------------------------------- */
table.table_list
{
   width: 100%;
}
table.table_list p
{
   padding: 0;
   margin: 0;
}
table.table_list td, table.table_list th
{
   padding: 5px;
}
table.table_list tbody.header td
{
   padding: 0;
}
table.table_list tbody.content td.stats
{
   width: 15%;
   text-align: center;
}
table.table_list tbody.content td.lastpost
{
   line-height: 1.3em;
   width: 24%;
}
table.table_list tbody.content td.icon
{
   text-align: center;
   width: 6%;
}

/* Styles for the board index.
------------------------------------------------- */

/* the board title! */
.table_list tbody.content td.info a.subject
{
   font-size: 110%;
   color: var(--linkFg);
}
.table_list tbody.content td.children
{
   color: #555;
}
p.moderators
{
   font-size: 0.8em;
   font-family: verdana, sans-serif;
}
/* hide the table header/footer parts - but its here for those needing to style it */
#boardindex_table .table_list thead, #boardindex_table .table_list tfoot
{
   display: none;
}

/* the posting icons */
#posting_icons
{
   padding: 0 1em 0.5em 1em;
   margin: 0 0 1em 0;
   line-height: 1em;
}
#posting_icons ul
{
   font-size: 0.8em;
}
#posting_icons img
{
   vertical-align: middle;
   margin: 0 0 0 4ex;
}
#postbuttons_upper ul li a span
{
   line-height: 19px;
   padding: 0 0 0 6px;
}
.nextlinks
{
   text-align: right;
   margin-top: -1px;
}
.nextlinks_bottom
{
   clear: right;
   text-align: right;
}
.mark_read
{
   padding: 0 0.5em;
}

/* the newsfader */
#newsfader
{
   margin: 0 0 15px;
}
#smfFadeScroller
{
   padding: 0;
   overflow: auto;
   margin: 0;
}

/* Styles for the info center on the board index.
---------------------------------------------------- */
dl#ic_recentposts
{
   margin: 0 0 0.5em 0;
   padding: 0.5em;
   line-height: 1.3em;
}
dl#ic_recentposts dt
{
   float: left;
}
dl#ic_recentposts dd
{
   text-align: right;
}
#upshrinkHeaderIC p
{
   margin: 0 0 0.5em 0;
   padding: 0.5em;
}

#upshrinkHeaderIC p.last
{
   margin: 0;
   padding: 0.5em;
   border-top: 2px dotted #bbb;
}
#upshrinkHeaderIC p.inline
{
   border: none;
   margin: 0;
   padding: 0.2em 0.5em 0.2em 0.5em;
}
#upshrinkHeaderIC p.stats
{
   font-size: 1.1em;
   padding-top: 8px;
}
form#ic_login
{
   padding: 0.5em;
   height: 2em;
}
form#ic_login ul li
{
   margin: 0;
   padding: 0;
   float: left;
   width: 20%;
   text-align: center;
}
form#ic_login ul li label
{
   display: block;
}

/* the small stats */
#index_common_stats
{
   display: block;
   margin: 0 30px 0.5em 0;
   text-align: right;
   font-size: 0.9em;
   position: relative;
   top: -38px;
   line-height: 1px;
}

img.new_posts
{
   padding: 0 0.1em;
}
/* Styles for the message (topic) index.
---------------------------------------------------- */
div.table_frame .table_list
{
   border-collapse: collapse;
   margin: 0;
}
#messageindex
{
   clear: both;
}
/* the page navigation area */
.childboards
{
   margin-bottom: 0.2em;
}
#childboards h3
{
   padding-bottom: 0;
}
#childboards .table_list thead
{
   display: none;
}
#childboards .table_list
{
   margin-bottom: 1em;
}
.lastpost img
{
   float: right;
   padding: 4px;
}

/* Styles for the display template (topic view).
---------------------------------------------------- */

#postbuttons div.buttons
{
   padding: 0.5em;
   width: 40%;
   float: right;
}
#postbuttons div.middletext
{
   width: 60%;
}
#postbuttons span
{
   display: block;
   text-align: right;
}
#postbuttons span.lower
{
   clear: right;
}
#postbuttons .buttonlist
{
   float: right;
}
#postbuttons #pagelinks
{
   padding-top: 1em;
}
#moderationbuttons
{
   overflow: hidden;
}
/* Events */
.linked_events
{
   padding: 1em 0;
}
.edit_event
{
   margin: 0 1em;
   vertical-align: middle;
}
/* Poll question */
#poll
{
   overflow: hidden;
}
#poll .content
{
   padding: 0 1em;
}
h4#pollquestion
{
   padding: 0 0 0.5em 2em;
}

/* Poll vote options */
#poll_options ul.options
{
   border-top: 1px solid #9999aa;
   padding: 1em 2.5em 0 2em;
   margin: 0 0 1em 0;
}
#poll_options div.submitbutton
{
   border-bottom: 1px solid #9999aa;
   clear: both;
   padding: 0 0 1em 2em;
   margin: 0 0 1em 0;
}

/* Poll results */
#poll_options dl.options
{
   border: solid #9999aa;
   border-width: 1px 0;
   padding: 1em 2.5em 1em 2em;
   margin: 0 1em 1em 0;
   line-height: 1.1em !important;
}

#poll_options dl.options dt
{
   padding: 0.3em 0;
   width: 30%;
   float: left;
   margin: 0;
   clear: left;
}

#poll_options dl.options .voted
{
   font-weight: bold;
}

#poll_options dl.options dd
{
   margin: 0 0 0 2em;
   padding: 0.1em 0 0 0;
   width: 60%;
   max-width: 450px;
   float: left;
}

#poll_options dl.options .percentage
{
   display: block;
   float: right;
   padding: 0.2em 0 0.3em 0;
}

/* Poll notices */
#poll_options p
{
   margin: 0 1.5em 0.2em 1.5em;
   padding: 0 0.5em 0.5em 0.5em;
}

div#pollmoderation
{
   margin: 0;
   padding: 0;
   overflow: auto;
}

/* onto the posts */
#forumposts
{
   clear: both;
}
#forumposts .cat_bar
{
   margin: 0 0 2px 0;
}
/* author and topic information */
#forumposts h3 span#author
{
   margin: 0 7.7em 0 0;
}
#forumposts h3 img
{
   float: left;
   margin: 4px 0.5em 0 0;
}
#forumposts h3.catbg
{
   margin-bottom: 3px;
}
p#whoisviewing
{
   margin: 0;
   padding: 0.5em;
}
/* poster and postarea + moderation area underneath */
.moderatorbar
{
   clear: right;
}
.body_message
{
   padding: 20px 0;
   display: flex;
}
.post_wrapper{
  width: 100%;
} 
.body_content
{
   background: var(--darkContent);
   color: var(--fgColor);
   border-radius: 4px;
   padding: 20px;
}
@media (min-width: 992px) {
   .body_content
   {
      margin-left: 35px;
   }
   .body_content span.arrow-left
   {
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 25px 35px 25px 0;
      border-color: transparent var(--darkContent) transparent transparent;
      position: absolute;
      left: 16px;
   }
}
/* poster details and list of items */
.poster
{
   margin-bottom: 10px;
   text-align: center;
}
.poster h4, .poster ul
{
   padding: 0;
   margin: 0;
}
.poster h4
{
   margin: 0;
   font-size: 14px;
   width: auto;
   padding: 7px 4px;
   border-radius: 4px 4px 0 0;
   background: var(--linkBg);
   text-align: center;
}
.poster h4, .poster h4 a
{
   color: #FFF;
}
.poster ul
{
   border-radius: 0 0 4px 4px;
}
.poster ul li
{
   background: var(--darkContent);
   color: var(--fgColor);
   padding: 5px 0;
   text-align: center;
   border-bottom: 1px solid var(--borderColor);
}
.poster ul li:last-child
{
   border-radius: 0 0 4px 4px;
   padding: 0;
   border-bottom: none;
}
.poster ul li:last-child, .poster ul li:last-child ul
{
   border-radius: 0 0 4px 4px;
}
.poster ul ul
{
   margin: 0;
   padding: 5px 0;
   border: none;
   border-radius: 0 0 0 0;
}
.poster ul ul li
{
   display: inline;
   background: none;
   border-bottom: none;
}
.poster li.stars
{
   padding: 15px 10px;
}
.poster li.postcount,
.poster li.karma
{
   font-size: 1.6em;
}
.poster img.img-circle
{
   margin-bottom: 10px;
   min-width: 64px;
}
@media (max-width:991px) {
   .poster img.img-circle
   {
      max-width: 35%;
   }
}
.poster li.warning
{
   line-height: 1.2em;
   padding-top: 1em;
}
.poster li.warning a img
{
   vertical-align: bottom;
   padding: 0 0.2em;
}
.messageicon
{
   float: left;
   margin: 0 0.5em 0 0;
}
.messageicon img
{
   padding: 6px 3px;
}
div.postarea .btn-group, div.postarea .btn-group-vertical
{
   margin: 0;
}
.modifybutton
{
   clear: right;
   float: right;
   margin: 6px 20px 10px 0;
   text-align: right;
   font: bold 0.85em arial, sans-serif;
   color: #334466;
}
.fa-fw
{
   margin-right: 5px;
}
@media (max-width: 991px) {
   .poster h4
   {
      border-radius: 5px;
   }
   .poster ul
   {
      display: none;
   }
   .buttonlist li span
   {
      display: none;
   }
   .buttonlist .fa-fw
   {
      margin-right: 0;
   }
}

/* The quick buttons */
div.quickbuttons_wrap
{
   padding: 0.2em 0;
   width: 100%;
   float: left;
}

ul.quickbuttons
{
   margin: 0.9em 11px 0 0;
   clear: right;
   float: right;
   text-align: right;
   font: bold 0.85em arial, sans-serif;
}
ul.quickbuttons li
{
   display: inline;
   margin: 0 0 0 11px;
}
ul.quickbuttons li a
{
   padding: 0 0 0 20px;
   display: block;
   height: 20px;
   line-height: 18px;
   float: left;
}
ul.quickbuttons a:hover
{
   color: #a70;
}
ul.quickbuttons li.quote_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 0;
}
ul.quickbuttons li.remove_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px;
}
ul.quickbuttons li.modify_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px;
}
ul.quickbuttons li.approve_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px;
}
ul.quickbuttons li.restore_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px;
}
ul.quickbuttons li.split_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px;
}
ul.quickbuttons li.reply_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}
ul.quickbuttons li.reply_all_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}
ul.quickbuttons li.notify_button
{
   background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px;
}
ul.quickbuttons li.inline_mod_check
{
   margin: 0 0 0 5px;
}

.post
{
   margin-top: 0.5em;
   clear: right;
}
.inner
{
   padding: 1em 1em 2px 0;
   margin: 0;
   border-top: 1px solid var(--borderColor);
}
img.smiley
{
   vertical-align: bottom;
}
#forumposts .modified
{
   float: left;
}
#forumposts .reportlinks
{
   margin-right: 1.5em;
   text-align: right;
   clear: right;
}
#forumposts .signature, .post .signature
{
   margin: 1em 0 0 0;
}
#forumposts span.botslice
{
   clear: both;
}
.attachments hr
{
   clear: both;
   margin: 1em 0 1em 0;
}
.attachments
{
   padding: 1em 0 2em 0;
}
.attachments div
{
   padding: 0 0.5em;
}

/* Styles for the quick reply area.
---------------------------------------------------- */

#quickreplybox
{
   padding-bottom: 1px;
}
#quickReplyOptions .roundframe
{
   padding: 0 10%;
}
#quickReplyOptions form textarea
{
   background-color: var(--darkContent);
   color: var(--fgColor);
   border-color: var(--borderColor);
   height: 100px;
   width: 635px;
   max-width: 100%;
   min-width: 100%;
   margin: 0.25em 0 1em 0;
}
/* The jump to box */
#display_jump_to
{
   clear: both;
   padding: 5px;
   margin-top: 6px;
   text-align: right;
}

/* Separator of posts. More useful in the print stylesheet. */
#forumposts .post_separator
{
   display: none;
}

/* Styles for edit post section
---------------------------------------------------- */
form#postmodify .roundframe
{
   padding: 0 12%;
}
#post_header, .postbox
{
   padding: 0.5em;
   overflow: hidden;
}
#post_header dt, .postbox dt
{
   float: left;
   padding: 0;
   width: 15%;
   margin: .5em 0 0 0;
   font-weight: bold;
}
#post_header dd, .postbox dd
{
   float: left;
   padding: 0;
   width: 83%;
   margin: .3em 0;
}
#post_header img
{
   vertical-align: middle;
}
ul.post_options
{
   margin: 0 0 0 1em;
   padding: 0;
   list-style: none;
   overflow: hidden;
}
ul.post_options li
{
   margin: 0.2em 0;
   width: 49%;
   float: left;
}
#postAdditionalOptionsHeader
{
   margin-top: 1em;
}
#postMoreOptions
{
   border-bottom: 1px solid #cacdd3;
   padding: 0.5em;
}
#postAttachment, #postAttachment2
{
   overflow: hidden;
   margin: .5em 0;
   padding: 0;
   border-bottom: 1px solid #cacdd3;
   padding: 0.5em;
}
#postAttachment dd, #postAttachment2 dd
{
   margin: .3em 0 .3em 1em;
}
#postAttachment dt, #postAttachment2 dt
{
   font-weight: bold;
}
#postAttachment3
{
   margin-left: 1em;
}
#post_confirm_strip, #shortcuts
{
   padding: 1em 0 0 0;
}
.post_verification
{
   margin-top: .5em;
}
.post_verification #verification_control
{
   margin: .3em 0 .3em 1em;
}
/* The BBC buttons */
#bbcBox_message
{
   margin: 0.75em 0.5em;
}
#bbcBox_message div
{
   margin: 0.2em 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: 0.5em;
}

/* Styles for edit event section
---------------------------------------------------- */
#post_event .roundframe
{
   padding: 0 12%;
}
#post_event fieldset
{
   padding: 0.5em;
   clear: both;
}
#post_event #event_main input
{
   margin: 0 0 1em 0;
   float: left;
}
#post_event #event_main div.smalltext
{
   width: 33em;
   float: right;
}
#post_event div.event_options
{
   float: right;
}
#post_event ul.event_main, ul.event_options
{
   padding: 0;
   overflow: hidden;
}
#post_event ul.event_main li
{
   list-style-type: none;
   margin: 0.2em 0;
   width: 49%;
   float: left;
}
#post_event ul.event_options
{
   margin: 0;
   padding: 0 0 .7em .7em;
}
#post_event ul.event_options li
{
   list-style-type: none;
   margin: 0;
   float: left;
}
#post_event #event_main select, #post_event ul.event_options li select, #post_event ul.event_options li .input_check
{
   margin: 0 1em 0 0;
}

/* Styles for edit poll section.
---------------------------------------------------- */

#edit_poll
{
   overflow: hidden;
}
#edit_poll fieldset
{
   padding: 0.5em;
   clear: both;
   overflow: hidden;
}
#edit_poll fieldset input
{
   margin-left: 8.1em;
}
#edit_poll ul.poll_main li
{
   padding-left: 1em;
}
#edit_poll ul.poll_main input
{
   margin-left: 1em;
}
#edit_poll ul.poll_main, dl.poll_options
{
   overflow: hidden;
   padding: 0 0 .7em .7em;
   list-style: none;
}
#edit_poll ul.poll_main li
{
   margin: 0.2em 0;
}
#edit_poll dl.poll_options dt
{
   width: 33%;
   padding: 0 0 0 1em;
}
#edit_poll dl.poll_options dd
{
   width: 65%;
}
#edit_poll dl.poll_options dd input
{
   margin-left: 0;
}

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

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

/* Styles for the move topic section.
---------------------------------------------------- */

#move_topic dl
{
   margin-bottom: 0;
}
#move_topic dl.settings dt
{
   width: 40%;
}
#move_topic dl.settings dd
{
   width: 59%;
}
.move_topic
{
   width: 710px;
   margin: auto;
   text-align: left;
}
div.move_topic fieldset
{
   padding: 0.5em;
}

/* Styles for the send topic section.
---------------------------------------------------- */

fieldset.send_topic
{
   border: none;
   padding: 0.5em;
}
dl.send_topic
{
   margin-bottom: 0;
}
dl.send_mail dt
{
   width: 35%;
}
dl.send_mail dd
{
   width: 64%;
}

/* Styles for the report topic section.
---------------------------------------------------- */

#report_topic dl
{
   margin-bottom: 0;
}
#report_topic dl.settings dt
{
   width: 20%;
}
#report_topic dl.settings dd
{
   width: 79%;
}

/* Styles for the split topic section.
---------------------------------------------------- */

div#selected, div#not_selected
{
   width: 49%;
}
ul.split_messages li.windowbg, ul.split_messages li.windowbg2
{
   margin: 1px;
}
ul.split_messages li a.split_icon
{
   padding: 0 0.5em;
}
ul.split_messages div.post
{
   padding: 1em 0 0 0;
   border-top: 1px solid #fff;
}

/* 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: 0.5em 0;
}

/* Styles for the login areas.
------------------------------------------------------- */
.login
{
   width: 55%;
   margin: 0 auto;
}
@media (max-width: 768px) {
   .login
   {
      width: 100%;
   }
}
.login dl
{
   overflow: auto;
   clear: right;
}
.login dt, .login dd
{
   margin: 0 0 0.4em 0;
   width: 44%;
   padding: 0.1em;
}
.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;
}

/* Styles for the registration section.
------------------------------------------------------- */
.register_error
{
   border: 1px dashed red;
   padding: 5px;
   margin: 0 1ex 1ex 1ex;
}
.register_error span
{
   text-decoration: underline;
}

/* Additional profile fields */
dl.register_form
{
   margin: 0;
   clear: right;
}

dl.register_form dt
{
   font-weight: normal;
   float: left;
   clear: both;
   width: 50%;
   margin: 0.5em 0 0 0;
}

dl.register_form dt strong
{
   font-weight: bold;
}

dl.register_form dt span
{
   display: block;
}

dl.register_form dd
{
   float: left;
   width: 49%;
   margin: 0.5em 0 0 0;
}

#confirm_buttons
{
   text-align: center;
   padding: 1em 0;
}

.coppa_contact
{
   padding: 4px;
   width: 32ex;
   background-color: #fff;
   color: #000;
   margin-left: 5ex;
   border: 1px solid #000;
}

.valid_input
{
   background-color: var(--mainBg);
}
.invalid_input
{
   background-color: var(--mainBgLighter);
}

/* Styles for maintenance mode.
------------------------------------------------------- */
#maintenance_mode
{
   width: 75%;
   min-width: 520px;
   text-align: left;
}
#maintenance_mode img.floatleft
{
   margin-right: 1em;
}

/* common for all admin sections */
h3.titlebg img
{
   vertical-align: middle;
   margin-right: 0.5em;
   margin-top: -1px;
}
tr.titlebg td
{
   padding-left: 0.7em;
}
#admin_menu
{
   min-height: 2em;
   padding-left: 0;
}
#admin_content
{
   clear: left;
   padding-top: 0.5em;
}
/* Custom profile fields like to play with us some times. */
#admin_content .custom_field
{
   margin-bottom: 15px;
}
#admin_login .centertext
{
   padding: 1em;
}
#admin_login .centertext .error
{
   padding: 0 0 1em 0;
}

/* Styles for sidebar menus.
------------------------------------------------------- */
.left_admmenu, .left_admmenu ul, .left_admmenu li
{
   padding: 0;
   margin: 0;
   list-style: none;
}
#left_admsection
{
   width: 160px;
   float: left;
   padding-right: 10px;
}
.adm_section h4.titlebg
{
   font-size: 95%;
   margin-bottom: 5px;
}
#main_container
{
   position: relative;
}
.left_admmenu li
{
   padding: 0 0 0 0.5em;
}
.left_admmenu
{
   margin-bottom: 0.5em;
}
#main_admsection
{
   position: relative;
   left: 0;
   right: 0;
   overflow: hidden;
}

tr.windowbg td, tr.windowbg2 td, tr.approvebg td, tr.highlight2 td
{
   padding: 0.3em 0.7em;
}
#credits p
{
   padding: 0;
   font-style: italic;
   margin: 0;
}

/* Styles for generic tables.
------------------------------------------------------- */
.topic_table table
{
   width: 100%;
}
.topic_table .icon1, .topic_table .icon2, .topic_table .stats
{
   text-align: center;
}
#topic_icons
{
   margin: 1em 0 0 0;
}
#topic_icons .description
{
   margin: 0;
}
.topic_table table thead
{
   border-bottom: 1px solid #fff;
}
/* the subject column */
.topic_table td
{
   font-size: 1em;
}
.topic_table td.subject p, .topic_table td.stats
{
   font-size: 0.85em;
   padding: 0;
   margin: 0;
}
.topic_table td.lastpost
{
   font-size: 0.85em;
   line-height: 1.3em;
   padding: 4px;
}
.topic_table td.stickybg2
{
   background-image: url(../images/icons/quick_sticky.gif);
   background-repeat: no-repeat;
   background-position: 98% 4px;
}
.topic_table td.lockedbg2
{
   background-image: url(../images/icons/quick_lock.gif);
   background-repeat: no-repeat;
   background-position: 98% 4px;
}
.topic_table td.locked_sticky2
{
   background-image: url(../images/icons/quick_sticky_lock.gif);
   background-repeat: no-repeat;
   background-position: 98% 4px;
}
.topic_table td.lastpost
{
   background-image: none;
}

/* Styles for (fatal) errors.
------------------------------------------------- */

#fatal_error
{
   width: 80%;
   margin: auto;
}

.errorbox
{
   padding: 1em;
   border: 1px solid #cc3344;
   color: #000;
   background-color: #ffe4e9;
   margin-bottom: 1em;
}
.errorbox h3
{
   padding: 0;
   margin: 0;
   font-size: 1.1em;
   text-decoration: underline;
}
.errorbox p
{
   margin: 1em 0 0 0;
}
.errorbox p.alert
{
   padding: 0;
   margin: 0;
   float: left;
   width: 1em;
   font-size: 1.5em;
}

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

dl
{
   overflow: auto;
   margin: 0;
   padding: 0;
}

/* The basic user info on the left */
#basicinfo
{
   /*width: 20%;
   float: left; */
}
#basicinfo .windowbg .content
{
   padding-left: 20px;
}
#detailedinfo
{
   /* width: 79.5%;
   float: right;*/
}
#basicinfo h4
{
   font-size: 135%;
   font-weight: 100;
   line-height: 105%;
   white-space: pre-wrap;
   overflow: hidden;
}
#basicinfo h4 span.position
{
   font-size: 80%;
   font-weight: 100;
   display: block;
}
#basicinfo img.avatar
{
   display: block;
   margin: 10px 0 0 0;
}
#basicinfo ul
{
   list-style-type: none;
   margin: 10px 0 0 0;
}
#basicinfo ul li
{
   display: block;
   float: left;
   margin-right: 5px;
   height: 20px;
}
#basicinfo span#userstatus
{
   display: block;
   clear: both;
}
#basicinfo span#userstatus img
{
   vertical-align: middle;
}
#detailedinfo div.content dl, #tracking div.content dl
{
   clear: right;
   overflow: auto;
   margin: 0 0 18px 0;
   padding: 0 0 15px 0;
   border-bottom: 1px #ccc solid;
}
#detailedinfo div.content dt, #tracking div.content dt
{
   width: 35%;
   float: left;
   margin: 0 0 3px 0;
   padding: 0;
   font-weight: bold;
   clear: both;
}
#detailedinfo div.content dd, #tracking div.content dd
{
   width: 65%;
   float: left;
   margin: 0 0 3px 0;
   padding: 0;
}
#detailedinfo div.content dl.noborder
{
   border-bottom: 0;
}
#detailedinfo div.content dt.clear
{
   width: 100%;
}
@media (max-width: 970px) {
   #detailedinfo, #basicinfo
   {
      width: 100%;
   }
   #detailedinfo
   {
      padding-left: 0;
   }
   #basicinfo
   {
      text-align: center;
   }
   #basicinfo ul li
   {
      float: none !important;
   }
}
.signature, .custom_fields_above_signature
{
   border-top: 1px #ccc solid;
}
.signature h5
{
   font-size: 0.85em;
   margin-bottom: 10px;
}
#personal_picture
{
   display: block;
   margin-bottom: 0.3em;
}
#avatar_server_stored div
{
   float: left;
}
#avatar_upload
{
   overflow: auto;
}
#main_admsection #basicinfo, #main_admsection #detailedinfo
{
   width: 100%;
}
#main_admsection #basicinfo h4
{
   float: left;
   width: 35%;
}
#main_admsection #basicinfo img.avatar
{
   float: right;
   vertical-align: top;
}
#main_admsection #basicinfo ul
{
   clear: left;
}
#main_admsection #basicinfo span#userstatus
{
   clear: left;
}
#main_admsection #basicinfo p#infolinks
{
   display: none;
   clear: both;
}
#main_admsection #basicinfo .botslice
{
   clear: both;
}

/* Simple feedback messages */
div#profile_error, div#profile_success
{
   margin: 0 0 1em 0;
   padding: 1em 2em;
   border: 1px solid;
}
div#profile_error
{
   border-color: red;
   color: red;
   background: #fee;
}

div#profile_error span
{
   text-decoration: underline;
}

div#profile_success
{
   border-color: green;
   color: green;
   background: #efe;
}

/* Profile statistics */
#generalstats div.content dt
{
   width: 50%;
   float: left;
   margin: 0 0 3px 0;
   padding: 0;
   font-weight: bold;
   clear: both;
}
#generalstats div.content dd
{
   width: 50%;
   float: left;
   margin: 0 0 3px 0;
   padding: 0;
}

/* Activity by time */
#activitytime
{
   margin: 6px 0;
}
.activity_stats
{
   margin: 0;
   padding: 0;
   list-style: none;
}
.activity_stats li
{
   margin: 0;
   padding: 0;
   width: 4.16%;
   float: left;
}
.activity_stats li span
{
   display: block;
   border: solid #000;
   border-width: 1px 1px 0 0;
   text-align: center;
}
.activity_stats li.last span
{
   border-right: none;
}
.activity_stats li div.bar
{
   margin: 0 auto;
   width: 15px;
}
.activity_stats li div.bar div
{
   background: #6294CE;
}
.activity_stats li div.bar span
{
   position: absolute;
   top: -1000em;
   left: -1000em;
}

/* Most popular boards by posts and activity */
#popularposts
{
   width: 49.5%;
   float: left;
}
#popularactivity
{
   width: 49.5%;
   float: right;
}

#popularposts div.content dt, #popularactivity div.content dt
{
   width: 65%;
   float: left;
   margin: 0 0 3px 0;
   padding: 0;
   font-weight: bold;
   clear: both;
}
#popularposts div.content dd, #popularactivity div.content dd
{
   width: 35%;
   float: left;
   margin: 0 0 3px 0;
   padding: 0;
}

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

/* View posts */
.topic .time
{
   float: right;
}

.counter
{
   margin: 0 0 0 0;
   padding: 0.2em 0.5em 0.1em 0.2em;
   font-size: 2.2em;
   font-weight: bold;
   color: #3f3f3f;
   float: left;
}
.list_posts
{
   border-top: 2px solid #b3b3bf;
   padding-top: 12px;
   margin-top: 6px;
   overflow: auto;
}

.core_posts
{
   margin-bottom: 3px;
}

.topic h4
{
   margin: 3px 0;
}

.topic .post
{
   margin: 0 1em;
   min-height: 80px;
   height: auto !important;
   height: 80px;
}

.topic .mod_icons
{
   text-align: right;
   margin-right: 1em;
}

#tracking div.content dl
{
   border-bottom: 0;
   margin: 0;
   padding: 0;
}

#creator dl
{
   margin: 0;
}
#creator dt
{
   width: 40%;
   float: left;
   clear: both;
   margin: 0 0 10px 0;
}
#creator dd
{
   float: right;
   width: 55%;
   margin: 0 0 10px 2px;
   overflow: auto;
}
@media (max-width: 767px) {
   #creator dd, #creator dt
   {
      width: 100%;
   }
}
.ignoreboards
{
   margin: 0 2%;
   padding: 0;
   width: 45%;
}
.ignoreboards a
{
   font-weight: bold;
   border-bottom: 1px solid #c4c4c4;
   padding: 0.1em 0;
}
.ignoreboards a:hover
{
   text-decoration: none;
   border-bottom: 1px solid #334466;
}
.ignoreboards ul
{
   margin: 0;
   padding: 0;
}
.ignoreboards li
{
   list-style: none;
   float: left;
   clear: both;
}
.ignoreboards li.category
{
   margin: 0.7em 0 0 0;
   width: 100%;
}
.ignoreboards li ul
{
   margin: 0.2em 0 0 0;
}
.ignoreboards li.category ul li.board
{
   width: 93%;
}

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

#theme_settings li
{
   list-style: none;
   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;
}
/*Issue a warning*/
#warn_body{
   width: 80%;
   font-size: 0.9em;
}

/* Styles for the statistics center.
------------------------------------------------- */
#statistics
{
   padding: 0.5em 0;
}
#statistics div.title_bar
{
   margin: 4px 0 -2px 0;
}
#statistics h3.catbg
{
   text-align: center;
}
#statistics div.content
{
   min-height: 210px;
}
#statistics div.top_row
{
   min-height: 150px;
}
#stats_left, #top_posters, #top_topics_replies, #top_topics_starter
{
   float: left;
   width: 49.5%;
}
#stats_right, #top_boards, #top_topics_views, #most_online
{
   float: right;
   width: 49.5%;
}
@media (max-width: 970px) {
   #stats_right, #top_boards, #top_topics_views, #most_online, #stats_left, #top_posters, #top_topics_replies, #top_topics_starter
   {
      width: 100%;
   }
}
dl.stats
{
   clear: both;
   overflow: hidden;
   margin: 0;
   padding: 0;
}
dl.stats dt
{
   width: 49%;
   float: left;
   margin: 0 0 4px 0;
   line-height: 16px;
   padding: 0;
   clear: both;
   font-size: 1em;
}
dl.stats dd
{
   text-align: right;
   width: 50%;
   font-size: 1em;
   float: right;
   margin: 0 0 4px 0;
   line-height: 16px;
   padding: 0;
}
.statsbar div.bar
{
   float: left;
   background: #4b698b;
   display: block;
   margin: 0 4px;
   height: 16px;
   border-radius: 4px;
}
.statsbar div.bar div
{
   position: relative;
   right: -4px;
   padding: 0 4px 0 0;
   background: #4b698b;
   height: 16px;
   border-radius: 4px;
}
tr.windowbg2 th.stats_month
{
   width: 25%;
   padding: 0 2em;
   text-align: left;
}
tr.windowbg2 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 0.5em;
}
#personal_messages h3 span#topic_title
{
   margin: 0 0 0 9em;
}
#personal_messages div.labels
{
   padding: 0 1em 0 0;
}
#personal_messages .capacity_bar
{
   background: #f0f4f7;
   display: block;
   margin: 0.5em 0 0 1em;
   height: 1em;
   border: 1px solid #adadad;
   width: 10em;
}
#personal_messages .capacity_bar span
{
   border-right: 1px solid #adadad;
   display: block;
   height: 1em;
}
#personal_messages .capacity_bar span.empty
{
   background: #a6d69d;
}
#personal_messages .capacity_bar span.filled
{
   background: #eea800;
}
#personal_messages .capacity_bar span.full
{
   background: #f10909;
}
.smalltext.reportlinks .pinned-non-owner {
   color: var(--linkFg)
}

#personal_messages .reportlinks
{
   padding: 0.5em 1.3em;
}
#searchLabelsExpand li
{
   padding: 0.3em 0.5em;
}
#manrules div.righttext
{
   padding: 0.3em 0.1em;
}
dl.addrules dt.floatleft
{
   width: 15em;
   color: #333;
   padding: 0 1.25em 0.5em 1.25em;
}
#addrule fieldset
{
   clear: both;
}

/* Styles for the calendar section.
------------------------------------------------- */
.calendar_table
{
   margin-bottom: 0.7em;
}

/* Used to indicate the current day in the grid. */
.calendar_today
{
   background-color: #fff;
}

#month_grid
{
   width: 200px;
   text-align: center;
   float: left;
}
#month_grid div.cat_bar
{
   height: 25px;
}
#month_grid h3.catbg
{
   height: 25px;
   line-height: 27px;
}
#month_grid table
{
   width: 200px;
}
#main_grid table
{
   width: 100%;
   padding-bottom: 4px;
}
#main_grid table h3.catbg
{
   text-align: center;
   height: 29px;
   border-top: 2px solid #fff;
   border-bottom: none;
}
#main_grid table.weeklist td.windowbg
{
   text-align: center;
   height: 49px;
   width: 25px;
   font-size: large;
   padding: 0 7px;
   border-bottom: 2px solid #fff;
}
#main_grid table.weeklist td.weekdays
{
   height: 49px;
   width: 100%;
   padding: 4px;
   text-align: left;
   vertical-align: middle;
   border-bottom: 2px solid #fff;
}
#main_grid h3.weekly
{
   text-align: center;
   padding-left: 0;
   font-size: large;
   height: 29px;
}
#main_grid h3 span.floatleft, #main_grid h3 span.floatright
{
   display: block;
   font-weight: bold;
}
#main_grid table th.days
{
   width: 14%;
   padding: 4px 0;
}
#main_grid table.weeklist h4.titlebg
{
   margin: 0 0 0 0;
   height: 23px;
   line-height: 27px;
}
#main_grid table td.weeks
{
   vertical-align: middle;
   text-align: center;
   font-weight: bold;
   font-size: large;
}
#main_grid table td.days
{
   vertical-align: top;
   text-align: center;
}
@media (max-width: 767px)
{
   #month_grid, #main_grid
   {
      width: 100%;
   }
   #main_grid
   {
      display: none;
   }
}
a.modify_event
{
   color: red;
}

span.hidelink
{
   font-style: italic;
}

#calendar_navigation
{
   text-align: center;
}

/* Styles for the memberlist section.
------------------------------------------------- */
#mlist_search
{
   margin: auto;
   width: 500px;
}

/* Styles for the basic search section.
------------------------------------------------- */
#searchform, #simple_search p
{
   padding: 0.5em;
   margin: 0;
}
#simple_search, #simple_search p, #advanced_search
{
   text-align: center !important;
   margin: 0;
}
#search_error
{
   font-style: italic;
   padding: 0.3em 1em;
}
#search_term_input
{
   font-size: 115%;
   margin: 0 0 1em;
}

/* Styles for the advanced search section.
------------------------------------------------- */
#searchform fieldset
{
   text-align: left;
   padding: 0;
   border: none;
}
#advanced_search dl#search_options
{
   margin: 0 auto;
   width: 600px;
   padding-top: 1em;
   overflow: hidden;
}
#advanced_search dt
{
   clear: both;
   float: left;
   padding: 0.2em;
   text-align: right;
   width: 20%;
}
#advanced_search dd
{
   width: 75%;
   float: left;
   padding: 0.2em;
   margin: 0 0 0 0.5em;
   text-align: left;
}
#searchform p.clear
{
   clear: both;
}
@media (max-width: 991px) {
   #advanced_search dd, #advanced_search dt
   {
      width: 100%;
   }
   #advanced_search dt
   {
      text-align: left;
   }
}

/* Styles for the search results page.
------------------------------------------------- */
.topic_table td blockquote, .topic_table td .quoteheader
{
   margin: 0.5em;
}
.search_results_posts
{
   overflow: hidden;
}
.search_results_posts .buttons
{
   padding: 5px 1em 0 0;
}

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

#help_container
{
   margin: 4px 0 0 0;
   padding: 0 0 8px 0;
}
#helpmain
{
   padding: 0 1em;
}
#helpmain p
{
   margin: 0 0 1.5em 0;
   line-height: 1.5em;
}
#helpmain ul
{
   line-height: 1.5em;
}

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

   .tborder
   {
      border: none;
   }
}
#topbar{
   background: var(--darkContent);
   -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .075);
   box-shadow: 0 6px 12px rgba(0, 0, 0, .075);
   min-height: 60px;
   padding: 0;
   margin-bottom: 20px;
}
#logo img
{
   position: absolute;
   right: 0;
   left: 0;
   margin: 0 auto;
   max-height: 60px;
}
#topbar li a
{
   color: #fff;
   text-transform: uppercase;
   font-weight: lighter;
   font-size: 18px;
}
#topbar .sign-in a, #topbar .sign-in a:hover, #topbar .sign-in a:focus
{
   background-color: #1e1e1e;
}
#topbar .sign-out a, #topbar .sign-out a:hover, #topbar .sign-out a:focus
{
   background-color: var(--linkBg);
}
#topbar .register a, #topbar .register a:hover, #topbar .register a:focus
{
   background-color: var(--linkBg);
}
#topbar .search a, #topbar .search a:hover, #topbar .search a:focus
{
   color: #444;
   background: #FFF;
}
#topbar li a, .navbar-default .navbar-nav > li > a
{
   padding-top: 20px;
   padding-bottom: 20px;
}
#topbar .navbar-nav
{
   margin: 0;
}
@media (max-width: 767px)
{
   #topbar li a span
   {
      display: none;
   }
   #topbar .nav li
   {
      display: table-cell;
   }
   #topbar li a
   {
      padding-top: 21px;
      padding-bottom: 21px;
   }
}
.search-form
{
   margin: 15px 12px 0 0;
}
.search-form .form-group {
  float: right !important;
  transition: all 0.35s, border-radius 0s;
  width: 32px;
  height: 32px;
  background-color: var(--mainBg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  border-radius: 25px;
  border: 1px solid var(--borderColor);
  color: var(--fgColor);
}
.search-form .form-group input.form-control {
  padding-right: 20px;
  border: 0 none;
  background: transparent;
  box-shadow: none;
  display:block;
  color: var(--fgColor);
}
.search-form .form-group input.form-control::-webkit-input-placeholder {
  display: none;
}
.search-form .form-group input.form-control:-moz-placeholder {
  /* Firefox 18- */
  display: none;
}
.search-form .form-group input.form-control::-moz-placeholder {
  /* Firefox 19+ */
  display: none;
}
.search-form .form-group input.form-control:-ms-input-placeholder {
  display: none;
}
.search-form .form-group:hover,
.search-form .form-group.hover {
  width: 100%;
  border-radius: 25px;
}
.search-form .form-group span.form-control-feedback {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  color: #444;
  left: initial;
  font-size: 14px;
}
#topbar .dropdown-menu
{
   box-shadow: none;
   background-color: #1e1e1e;
   margin-top: -1px;
   border-color: #1e1e1e;
   width: 295px;
   padding: 10px;
   border-radius: 0 0 0 0;
}
#topbar .dropdown-menu input
{
   display: inline-block;
}

.like_link, .unlike_link {
   margin-right: var(--padding);
   background: var(--linkBg) !important;
   padding: 5px 10px !important;
}

.dropdown-menu.emoji-flex .reaction-row {
   display: flex;
}

.reacted-to-wrapper {
   display: flex;
   flex-wrap: wrap;
}

.emojis-wrapper .single-emoji {
   display: flex;
   align-items: center;
}

.dropdown-toggle.emojidropdown {
   background: transparent;
   border: none;
}

.dropdown-toggle.emojidropdown img {
   width: 112px;
}

.emojis-wrapper .single-emoji p {
   margin: 0;
}

.emojis-wrapper {
   display: flex;
}

.emojis-wrapper .single-emoji img {
   max-width: 85px;
   margin: calc(var(--padding) / 2);
}

.versatile_reactions {
   display: flex;
}

#topbar .dropdown-menu input.input_text,#topbar .dropdown-menu input.input_password
{
   background-color: var(--mainBg);
   color: var(--fgColor);
   border-radius: 15px;
   border: 1px solid var(--borderColor);
   padding: 4px 8px;
   margin-top: 3px;
   margin-left: 2px;
}
.input_text {
   border: 1px solid var(--borderColor);
}
.input_text:focus-visible {
   border: 1px solid var(--borderColor);
   margin: 1px;
}
#topbar .dropdown-menu input[type="submit"]
{
   background: url(../images/login.png) center no-repeat;
   width: 40px; height: 34px;
   border: none;
   float: right;
}
@media (max-width: 767px)
{
   #topbar .dropdown-menu
   {
      position: absolute;
      margin-top: 0;
   }
}
.navbar-default
{
   background-color: var(--darkContent);
   -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .075);
   box-shadow: 0 4px 10px rgba(0, 0, 0, .075);
   border-radius: 0 0 0 0;
   margin-bottom: 0;
   border-color: var(--borderColor);
}
.nav.navbar-nav a span {
   color: var(--fgColor);
}
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav .dropdown-menu > li > a
{
   color: var(--fgColor);
   background-color: var(--darkContent);
   font-weight: lighter;
   text-transform: uppercase;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus
{
   background-color: var(--linkBg);
}
#button_logout,#button_login,#button_register, #button_profile, #button_help
{
   display: none;
}
.navbar-default .navbar-nav li .dropdown-menu
{
   border: none;
   border-radius: 0;
}
.breadcrumb
{
   background-color: var(--darkContent);
   -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .075);
   box-shadow: 0 4px 10px rgba(0, 0, 0, .075);
   border-radius: 0 0 5px 5px;
   margin: 0 15px 20px;
}
.breadcrumb a
{
   color: var(--linkFg);
}
@media (max-width: 767px)
{
   .breadcrumb li
   {
      display: none;
   }
   .breadcrumb li:first-child, .breadcrumb li:last-child
   {
      display: inline-block;
   }
}
#IC .nav
{
   margin: 0;
}
#IC ul.nav.nav-tabs
{
   background: var(--mainBg);
   border: 1px solid var(--borderColor);
   border-top: none;
}
#IC .nav-tabs > li:first-child > a
{
   margin-left: 4px;
}
#IC .nav-tabs > li > a:hover
{
   background: transparent;
   border-color: transparent;
}
#IC .nav-tabs > li.active > a:hover, #IC .nav-tabs > li.active > a
{
   background: var(--darkContent);
}
#IC .nav-tabs > li > a
{
   border-radius: 0 0 0 0;
   border-top: none;
   color: var(--linkFg);
}
#IC .nav-tabs > li.active > a, #IC .nav-tabs > li.active > a:hover
{
   border-left-color: var(--borderColor);
   border-right-color: var(--borderColor);
}
#IC .tab-content
{
   background: var(--darkContent);
   border-radius: 0 0 4px 4px;
   padding: 10px;
   color: var(--fgColor);
   border: 1px solid var(--borderColor);
   border-top: none;
}
@media (max-width:767px) {
   #IC .nav-tabs li span
   {
      display: none;
   }
}
ul.social
{
   float: right;
   list-style: none;
   margin: 0;
   padding: 0;
}
ul.social li
{
   float: left;
   margin-left: 5px;
}
ul.social li .fa,
ul.social li .fab
{
   border: 1px solid #444;
   padding: 7px;
   border-radius: 100%;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
   width: 40px;
   text-align: center;
   color: #444;
}
ul.social li .fa:hover,
ul.social li .fab:hover
{
   color: #fff;
}
ul.social li .fa-twitter:hover
{
   border: 1px solid #2FC2EF;
   background: #2FC2EF;
}
ul.social li .fa-facebook:hover
{
   border: 1px solid #3a5795;
   background: #3a5795;
}
ul.social li .fa-youtube:hover
{
   border: 1px solid #cc181e;
   background: #cc181e;
}
ul.social li .fa-rss:hover
{
   border: 1px solid #FF6600;
   background: #FF6600;
}
@media (max-width: 991px)
{
   ul.social
   {
      width: 100%;
      margin-bottom: 15px;
   }
}
header
{
   padding: 10px 0 30px;
   text-align: right;
   overflow: hidden;
}

.top-header {
   display: flex;
   flex-direction: row-reverse;
   justify-content: flex-start;
   margin-bottom: calc(var(--padding) * 2);
}
.top-header .top-header-user-section {
   display: flex;
   flex-direction: row-reverse;
   align-items: center;
}

.top-header .top-header-image {
   height: 180px;
   margin-left: 20px;
}

.top-header .top-header-image:first-child {
}

.top-header div:last-of-type {
   margin-right: auto;
}

.top-header .avatar
{
   width: 128px;
   height: 128px;
   margin-left: 15px;
   object-fit: contain;
   background: var(--darkContent);
   border-color: var(--borderColor);
}
.top-header a {
   color: var(--fgColor);
}

.top-header a.h4 {
   color: var(--linkFg);
}

.top-header .submenu-links {
   display: flex;
   flex-direction: column;
   margin-top: -35px;
   align-items: flex-end;
   min-width: 140px;
}

header a.h4,header a.h4:hover
{
   color: var(--linkFg);
   display: block;
}
header a
{
   display: block;
   color: var(--fgColor);
}
header a:hover
{
   text-decoration: none;
}

.top-header .topbar-image-links {
   display: flex;
   align-items: center;
}

.top-header .topbar-image-links .image-link {
   width: 80%;
   max-width: 150px;
   margin-right: calc(var(--padding) * 2);
}

@media (max-width: 1574px) and (min-width: 1214px) {
   .top-header .topbar-image-links img {
      height: 120px;
      margin-right: calc(var(--padding) / 2);
   }
}

@media (max-width: 1213px) and (min-width: 1031px) {
   .top-header .topbar-image-links img {
      height: 90px;
      margin-right: calc(var(--padding) / 2);
   }
}

@media (max-width: 1030px)
{

   .top-header .topbar-image-links {
      display: none;
   }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
@media (max-width: 991px) {
   #live_news, #supportVersionsTable, #quick_tasks li, .modblock_right, .modblock_left
   {
      width: 100% !important;
   }
   #quick_tasks li
   {
      height: auto !important;
   }
   td.icon a img
   {
      max-width: none;
   }
   #admin_content .table > thead > tr > th:nth-child(2), #admin_content .table > tbody > tr > td:nth-child(2),
   #admin_content .table > thead > tr > th:nth-child(4), #admin_content .table > tbody > tr > td:nth-child(4),
   #admin_content .table > thead > tr > th:nth-child(5), #admin_content .table > tbody > tr > td:nth-child(5),
   #mlist .table > thead > tr > th, #mlist .table > tbody > tr > td
   {
      display: none;
   }
   #admin_content .table > thead > tr > th:last-child, #admin_content .table > tbody > tr > td:last-child
   {
      display: table-cell !important;
      text-align: right !important;
   }
   #mlist .table > thead > tr > th:first-child, #mlist .table > tbody> tr > td:first-child,
   #mlist .table > thead > tr > th:nth-child(2), #mlist .table > tbody > tr > td:nth-child(2)
   {
      display: table-cell !important;
   }
}
.alert-exodus {
   border-color: var(--borderColor);
   background: var(--linkBg);
   color: var(--fgColor);
}
.display-info
{
   margin: 10px 0;
   overflow: hidden;
}
.display-info li
{
   float: left;
   margin-right: 10px !important;
}

/**** FontAwesome ****/
/* Mark Read */
.fa-markread::before,
.fa-markselectread::before {
   content: "\f00c";
}
/* Not Read */
.fa-mark_unread::before {
   content: "\f00d";
}
/* Read all */
.fa-readall::before {
   content: "\f06e";
}
/* Send Topic */
.fa-send::before {
   content: "\f1d8";
}
/* Notify */
.fa-notify::before {
   content: "\f0f3";
}
/* New Poll */
.fa-post_poll::before,
.fa-add_poll::before {
   content: "\f681";
}
/* Delete Poll */
.fa-remove_poll::before {
   content: "\f2ed";
}
/* New Topic */
.fa-new_topic::before {
   content: "\f15b";
}
/* Move Topic */
.fa-move::before {
   content: "\f0b2";
}
/* Delete Topic */
.fa-delete::before {
   content: "\f2ed";
}
/* Sticky Topic */
.fa-sticky::before {
   content: "\f08d";
}
/* Merge Topic */
.fa-merge::before {
   content: "\f248";
}
/* View All Members */
.fa-view_all_members::before {
   content: "\f0c0";
}
/* Find Member */
.fa-mlist_search::before {
   content: "\f4fc";
}
/* Calendar Menu */
.fa-calendar::before {
   content: "\f073";
}
/* Register */
.fa-register::before {
   content: "\f234";
}
/* Login */
.fa-login::before {
   content: "\f2f6";
}
/* Community */
.menu_icon.fa-community::before {
   content: "\f022";
}
.menu_icon.fa-forum::before {
   content: "\f07c";
}
/* FA Nav */
.fa-help::before {
   content: "\f128";
}
.fa-admin::before {
   content: "\f085";
}
.fa-moderate::before {
   content: "\f7d9";
}
.fa-profile::before {
   content: "\f007";
}
.fa-pm::before {
   content: "\f0e0";
}
.fa-mlist::before {
   content: "\f0c0";
}
.fa-logout::before {
   content: "\f2f5";
}
/**** FontAwesome *****/

/* ===== SMF 2.0 admin dropdown fix (Curve-style .dropmenu) ===== */
#admin_menu { margin: 0 0 10px; }
#admin_menu ul.dropmenu,
#adm_submenus ul.dropmenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* top-level items side-by-side */
#admin_menu ul.dropmenu > li,
#adm_submenus ul.dropmenu > li {
  position: relative;
  float: left;
}

/* clickable top-level links */
#admin_menu ul.dropmenu > li > a,
#adm_submenus ul.dropmenu > li > a {
  display: block;
  padding: 8px 12px;
  text-transform: uppercase;
}

/* hide submenus until hover */
#admin_menu ul.dropmenu li ul,
#adm_submenus ul.dropmenu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 6px 0;
  background: var(--darkContent);
  border: 1px solid var(--borderColor);
  z-index: 9999;
}

/* show submenu on hover */
#admin_menu ul.dropmenu li:hover > ul,
#adm_submenus ul.dropmenu li:hover > ul {
  display: block;
}

/* submenu items */
#admin_menu ul.dropmenu li ul li,
#adm_submenus ul.dropmenu li ul li {
  float: none;
}

#admin_menu ul.dropmenu li ul a,
#adm_submenus ul.dropmenu li ul a {
  display: block;
  padding: 8px 12px;
  white-space: nowrap;
  background: var(--darkContent);
  color: var(--fgColor);
}

#admin_menu ul.dropmenu li ul a:hover,
#adm_submenus ul.dropmenu li ul a:hover {
  background: var(--linkBg);
  color: var(--fgColor);
}

/* mobile: stack items nicely */
@media (max-width: 991px) {
  #admin_menu ul.dropmenu > li,
  #adm_submenus ul.dropmenu > li {
    float: none;
  }
  #admin_menu ul.dropmenu li ul,
  #adm_submenus ul.dropmenu li ul {
    position: static;
    border: none;
    min-width: 0;
  }
}

/* Improve visibility for system notices and member approval text */
#approval_members,
.approve_members,
.description,
.smalltext,
.infotext {
    color: #ff2a9e !important;  /* neon pink for brand match */
    font-weight: 500;
}

/* Make the “members awaiting approval” line readable in the upper header */
#upper_section .smalltext,
#upper_section .description,
#upper_section .notice,
#upper_section .infotext,
#upper_section #approval_members,
#upper_section .approve_members {
  color: var(--linkFg) !important;
  opacity: 1 !important;
}

/* Ensure the linked number matches too */
#upper_section .smalltext a,
#upper_section .description a,
#upper_section .notice a,
#upper_section .infotext a,
#upper_section #approval_members a,
#upper_section .approve_members a {
  color: var(--linkFg) !important;
  text-decoration: none;
}

html::before{content:"CSS OK";position:fixed;top:2px;left:6px;font:12px/1 sans-serif;background:#000;padding:2px 6px;border:1px solid #333;z-index:99999}

/* Approval notice color override – maximal specificity */
#upper_section #approval_members,
#upper_section #approval_members a,
#upper_section .approve_members,
#upper_section .approve_members a,
#top_section #approval_members,
#top_section #approval_members a,
#top_section .approve_members,
#top_section .approve_members a,
#user_section #approval_members,
#user_section #approval_members a,
#user_section .approve_members,
#user_section .approve_members a,
#approval_members,
#approval_members a,
.approve_members,
.approve_members a {
  color: var(--linkFg) !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Make the tiny toggle look like a real button */
#menu_toggle {
  width: 34px;
  height: 34px;
  padding: 4px;
  border: 2px solid var(--linkFg);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 2px rgba(255, 42, 158, 0.15);
  cursor: pointer;
  vertical-align: middle;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

#menu_toggle:hover,
#menu_toggle:focus {
  outline: none;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 0 0 3px rgba(255, 42, 158, 0.25);
  background: rgba(255,255,255,0.07);
}

/* Add a readable text label next to the icon */
#menu_toggle_label {
  margin-left: 8px;
  padding: 6px 10px;
  border: 1px solid var(--linkFg);
  border-radius: 10px;
  font-weight: 700;
  line-height: 1;
  color: var(--linkFg);
  cursor: pointer;
}

#menu_toggle_label:hover { filter: brightness(1.1); }

/* When the side menu is visible, make the label look "active" (optional; depends on body class) */
body.menu_open #menu_toggle_label { background: rgba(255, 42, 158, 0.08); }

/* Basic polish if the raw UL ever shows */
#profilemenu { list-style: none; margin: 8px 0 0; padding: 0; }
#profilemenu > li { margin: 6px 0; }
#profilemenu > li > a {
  display: block;
  padding: 12px 14px;
  background: #121212;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  color: #f2f2f2;
  font-weight: 700;
  text-decoration: none;
}
#profilemenu li > ul {
  list-style: none;
  margin: 6px 0 0 12px;
  padding-left: 10px;
  border-left: 1px solid #3a3a3a;
}
#profilemenu li > ul > li > a {
  display: block;
  margin-top: 6px;
  padding: 8px 10px;
  background: #1a1a1a;
  border: 1px solid #3a3aa;
  border-radius: 10px;
  color: #e6e6e6;
  font-weight: 600;
  text-decoration: none;
}
#profilemenu li::marker { content: ""; }

