/* Base page styles — background color, base text color, default font and sizing.
   I like to start here so you know the overall look is a dark theme. */
body {
	background: #161616;
	color: #a3a3a3;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	overflow-y: scroll;
	text-decoration: none;
	font-family: Open Sans;
	font-size: 13px;
}

/* Ensure the html element always fills vertically — helpful for background and sticky/footer spacing. */
html{
	min-height: 100%;
	position: relative;
}

/* Small tweak to body margins so we can reserve room at the bottom (for footer/space). */
body {
	margin: 0;
	margin-bottom: 180px;
}

/* Centering helper for the main top panel — keeps the child list centered. */
#panel {
    text-align: center;
}

#panel ul {
    display: inline-block;
    margin: 0;
    padding: 0;
}

/* User menu: styling for a profile/username menu with a hover dropdown.
   Pretty standard pattern: hover the item to reveal the dropdown. */
.user-menu {
    position: relative;
    display: inline-block;
    list-style: none;
}

.user-menu > a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Hidden dropdown by default, shown on hover. Rounded corners and subtle shadow. */
.user-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    min-width: 150px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
}

/* Links inside the dropdown get block layout for comfortable click/tap targets. */
.user-menu .dropdown li a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
}

.user-menu .dropdown li a:hover {
    background: #444;
}

/* Show dropdown on hover (desktop). Mobile will fall back to whatever event triggers display. */
.user-menu:hover .dropdown {
    display: block;
}

/* --- Top bar / links area --- */
.top-links {background:#2d3742; height:36px;}
.top-links .wrap {max-width:1200px; margin:0 auto; padding:0 15px;}
/* Flexible top nav, centered items, and some spacing between them. */
.top-links .topnav {list-style:none; margin:0; padding:0; display:flex; gap:18px;   justify-content: center;}
.top-links .topnav li a {color:#e6e6e6; text-decoration:none; font-size:13px; line-height:36px;}
.top-links .topnav li a:hover {color:#ffffff;}

/* Site banner: large cover image at the top. Background is centered and covers area. */
.site-banner {
  height: 200px; /* adjust as needed */
  background-image: url(https://foros.urban-roleplay.com/images/banner.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;   /* so logo can be absolutely positioned inside */
  overflow: hidden;
}

/* Logo sits on top of the banner, centered horizontally and vertically. */
.site-banner .site-logo {
  position: absolute;
  top: 50%;       /* vertical center */
  left: 50%;      /* horizontal center */
  transform: translate(-50%, -50%); /* actually center it */
  text-align: center;
}

.site-banner .site-logo img {
  max-height: 120px;
  width: auto;
  display: block;
}

/* Announcement bar: light yellow box used for site-wide notices. */
.announcement {background:#FFF6B8; color:#222; padding:8px; border-radius:3px;
               max-width:1200px; margin:12px auto; text-align:center;
               box-shadow:0 1px 0 rgba(0,0,0,0.06);}
.announcement a {color:#0056b3; font-weight:bold;}

/* Small utilities and layout helpers for various blocks used across pages. */
.post_flexible
{
	display:flex;
}

/* Page headings/descriptions styling — used for titles and a subtitle area. */
.wo_title {
	color: #767a7e;
	margin-left: 15px;
	display: block;
	margin-top: 20px;
	font-family: Source Sans Pro;
	font-size: 25px;
}

.wo_desc {
	color: #787878;
	display: inline-block;
	margin: 15px 15px 40px;
	font-size: 15px;
}

#hb_title {
	color: white;
	font-size: 30px;
	position: relative;
	font-family: 'Roboto';
	left: 85px;
	top: 30px;
}

#hb_desc {
	font-size: 18px; text-align: left; font-family: Source Sans Pro;
}

/* Simple home link area — looks like a navigation bit. */
#home_bit {
	color: #f3f9f7;
	padding: 0px 3px 0px 17px;
	position: relative;
	cursor: pointer;
	font-size: 17px;
	transition: all 150ms;
	display: inline-block;
}

/* Small nav link styles used in header/navigation areas. */
.nav_link {
	text-decoration: none;
	color: #767a7e;
	float: right;
	position: relative;
	top: -15px;
	font-size: 15px;
	padding: 16px;
	transition: background 200ms;
	cursor: pointer;
}

.nav_link:hover {
	background: #FCFCFC;
	border-bottom: 2px solid #767a7e;
}

/* Generic anchor reset styles used in headers/menus. */
.nav_link a:link, a:hover, a {
	text-decoration: none;
}

/* Font-awesome pseudo-classes used for specific icons — kept for compatibility. */
.subforum_miniofflock i:before {
	content: "\f148";
}

.subforum_miniofflink i:before {
	content: "\f148";
}

/* Mobile nav is hidden by default; toggled with JS/CSS on small screens. */
#nav_mobile {
	display:none;
}

/* Basic forum layout helpers — many elements float left in the theme. */
.forum {
	float: left; 
}

/* Link color defaults for the theme (light text on dark background). */
a:link, a:active, a:visited {
	color: #e9e9e9;
	text-decoration: none;
}

a:hover{
	color: #f3f9f7;
	text-decoration: underline;
}

/* Container for main site content — note this uses a light background color when active. */
#container {
	background: #F6F6F6;
	color: rgb(134,134,134);
	text-align: left;
	line-height: 1.4;
	margin: 0;
	font-family: Roboto;
	font-size: 13px;
}

/* Wrapper to center page content with a percent-based width. */
.wrapper {
	width: 90%;
	margin: auto auto;
}

/* Logo area styling — green accent and larger font. */
#logo, #logo:hover {
	color: #2cc670 !important;
	position: relative;
	padding: 15px 35px;
	top: 15px;
	font-family: 'Lobster', cursive;
	font-size: 27px;
}

/* Main content area card (dark) where most page content lives. */
#content {
	background: #161616;
	width: auto !important;
	padding: 20px 10px;
	overflow: hidden;
}

/* Header menu list reset and inline items. */
#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0 7px;
	display: inline;
}

#header ul.menu li a {
	padding-left: 20px;
	background-repeat: no-repeat;
	display: inline-block;
	line-height: 16px;
}

/* Top links area inside the logo block — bold and right aligned. */
#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}

/* Panel link/button tweaks (login, logout, register). */
#panel .upper a.logout {
	font-weight: bold;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .upper a.register {
	padding-right: 20px;
	margin-left: 10px;
	font-weight: bold;
}

/* Lower panel links (hidden by default here). */
#panel .lower ul.panel_links {
	float: left;
}

#panel .lower ul.user_links {
	float: right;
}

#panel .lower ul.user_links li a {
	padding: 0;
	background-image: none;
}

/* Top panel visual style — blue bar with white text. */
#panel .upper {
	background: rgb(15, 121, 242) none repeat scroll 0% 0%;
	color: #fff;
	padding: 2px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #fff;
}

/* Lower panel (hidden by default) — light grey background. */
#panel .lower {
	background: #efefef;
	color: #999;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccc;
	padding: 5px;
	display:none;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: #666;
}

/* Search box simple tweaks. */
#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: rgba(0, 0, 0, 0.36);
}

#search input.button {
	color: #fff;
}

#search input {
	margin: -3px 0;
}

/* Quick login checkbox spacing. */
#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

/* Footer region basics and menu styling inside footer. */
#footer {
	clear: both;
}

#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 5px;
	display: inline;
}

/* Footer upper area: light background with border and small font. */
#footer .upper {
	background: #efefef;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

/* Footer link colors. */
#footer a:link, #footer a:visited, #footer a:hover, #footer a:active {
	color: #777;
}

/* Footer utility areas: language/theme selects etc. */
#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: #ccc;
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border-color: #ccc;
}

/* Bottom links left-aligned inside footer. */
#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

/* Footer lower area for copyright / small text. */
#footer .lower {
	color: #666;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #444;
	font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #333;
	text-decoration: underline;
	font-weight: bold;
}

/* Current time display styling inside footer. */
#footer .lower #current_time {
	float: right;
	color: #888;
}

/* Debug area small text style. */
#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
}

/* Make images responsive where used. */
.scaleimages img {
	max-width: 100%;
}

/* Forum status icon sizing. */
.forum_status {
height: 50px;
width: 50px;
font-size: 30px;
text-align: center;
}

.forum_status i {
display: inline-block;
line-height: 50px;
}

/* Colors for online/offline states. */
.forum_on {
color: #f3f9f7;
}

.forum_off, .forum_offlock, .forum_offlink {
color: #f3f9f7;
}

.forum_off i {
}

.forum_offlock i:before {
content: "\f023";
}

.forum_offlink i:before {
content: "\f0c1";
}

/* Subforum icon spacing. */
.subforumicon {
	display: inline-block;
	margin: 0 5px;
}

/* Subforum text color defaults. */
.subforum_minion {
	color: #f3f9f7;
}

.subforum_minioff {
	color: #f3f9f7;
}

.subforum_miniofflock {
	color: #f3f9f7;
}

.subforum_miniofflink {
	color: #f3f9f7;
}

/* Global table typography and colors. */
table {
	color: #ccc;
	font-size: 13px;
}

.tborder {
	width: 100%;
	margin: auto auto;
	border-radius: 2px;
	box-shadow: none;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

/* Header cells look with darker background and white text. */
.thead {
	background: #767a7e;
	color: #FFF;
	padding: 14px 17px;
	font-size: 15px;
}

.thead a:link {
	color: #ffffff;
	text-decoration: none;
}

.thead a:visited {
	color: #ffffff;
	text-decoration: none;
}

.thead a:hover,
.thead a:active {
	color: #ffffff;
	text-decoration: underline;
}

/* Category row style (dark strip) used in forum listings. */
.tcat {
	background-color: #2b2b2b;
	border-bottom: 1px solid #181818;
	font-weight: 500;
	padding: 9px;
	color: #b2b2b2;
}

.tcat a:link {
	color: #FFF;
}

.tcat a:hover,
.tcat a:active {
	color: #fff;
}

/* Row styles used across forum lists and tables. */
.trow1 {
	background: #202020;
	padding: 10px;
	border-top: 1px solid #222;
	border-bottom: 1px solid #222;
}

.trow2 {
	padding: 13px;
	background: #202020;
	border-top: none;
	border-bottom: 1px solid #222;
}

/* Some special states — shaded or deleted rows. */
.trow_shaded {
	background: #ffdde0;
	border: 1px solid;
	border-color: #fff #ffb8be #ffb8be #fff;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.post.unapproved_post .post_author {
	border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
	border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
	border-top-color: #ffb8be;
}

.trow_deleted,
.post.deleted_post {
	background: #62000a;
}

.trow_selected,
tr.trow_selected td {
	background: #a9a9a9;
	color: #333;
	border-bottom-color: #F6D1D6;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #333;
}

/* Separator row for lists with bold text. */
.trow_sep {
	background: #1a1919;
	color: #838383;
	padding: 8px;
	font-size: 12px;
	font-weight: bold;
}

/* Footer cell defaults. */
.tfoot {
	color: inherit;
	padding: 11px;
}

.tfoot a:link {
	color: rgb(58, 58, 59);
	text-decoration: none;
}

.tfoot a:visited {
	color: rgb(58, 58, 59);
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: rgb(58, 58, 59, 0.5);
	text-decoration: none;
}

/* Inputs inside header area styling. */
.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

/* Bottom menu area (legacy). */
.bottommenu {
	background: #efefef;
	color: #333;
	border: 1px solid #4874a3;
	padding: 10px;
}

/* Navigation block styling used in side areas. */
.navigation {
	background: #2B2B2B;
	color: #f3f9f7;
	padding: 17px 0px;
	border-bottom: 3px solid #202020;
	font-family: Open Sans;
	font-size: 15px;
	border-radius: 2px;
}

/* Large red advice/alert box (danger) used on pages. */
.advice {
	background: #E74C3C;
	width: 86%;
	color: #FFF;
	text-align: center;
	border-radius: 0px;
	padding: 13px;
	margin-top: 25px;
	font-size: 14px;
}

/* Mobile-only member block (hidden by default). */
#mobile_member {
	background: #767a7e;
	width: 86%;
	color: #FFF;
	text-align: center;
	border-radius: 0px;
	padding: 13px;
	margin-top: 25px;
	display: none;
	font-size: 14px;
}

#mobile_member a{
	color:white;
}

/* Minor link/reset for navigation anchors. */
.navigation a:link {
	text-decoration: none !important;
}

.navigation a:visited {
	text-decoration: none !important;
}

.navigation a:hover,
.navigation a:active {
	text-decoration: none !important;
}

.navigation .active {
	font-size: 14px;
	font-weight: bold;
}

/* Small and large text utility classes. */
.smalltext {
	font-size: 12px;
}

.largetext {
	font-size: 16px;
	font-weight: bold;
}

/* Form fieldset defaults. */
fieldset {
	padding: 12px;
	border: none;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #444;
}

fieldset.align_right {
	text-align: right;
}

/* Inputs and textareas styled to match the dark theme. */
input.textbox {	
	color: #878787;
    border: 1px solid #303030;
    outline: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    background-color: #242424;
	padding: 10px;
}

textarea {
	color: #878787;
    border: 1px solid #303030;
    padding: 2px;
    line-height: 1.4;
    outline: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    background-color: #242424;
}

select {
	background: #242424;
	color:#878787;
	padding: 9px;
	border: 1px solid #303030;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

/* Buttons (and hover states) — subtle animations and color changes. */
button,
input.button {
	background: #323232;
	color: #B3B3B3;
	padding: 10px 15px;
	cursor: pointer;
	border: 1px solid #333;
	border-radius: 2px;
	outline: 0;
	transition: 600ms;
	font-family: Roboto;
	font-size: 15px;
}

button:hover,
input.button:hover {
	background: #767a7e;
	color: white;
}

form {
	margin: 0;
	padding: 0;
}

/* Validation states (simple red/green border feedback). */
input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #0c0;
}

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: bold;
	font-size: 11px;
}

/* Editor width helper used on some pages. */
form #message {
    width: 500px;
}

/* Editor and control bar default lighter backgrounds (legacy editor). */
.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #ccc;
}

.post .editor_control_bar {
	background: #f5f5f5;
}

/* Popup menu base styles. */
.popup_menu {
	background: #fff;
	border: 1px solid #ccc;
	z-index: 100;
}

.popup_menu .popup_item {
	background: #efefef;
	color: #333;
}

.popup_menu .popup_item:hover {
	background: #0072BC;
	color: #fff;
}

/* Reputation row colors. */
.trow_reputation_positive {
	background: #006700;
}

.trow_reputation_negative {
	background: #8a0000;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px;
}

/* Legacy state boxes used in forms. */
._neutral {
	background-color:#FAFAFA;
	color: #999999;
	border:1px solid #CCCCCC;
}

._minus {
	background-color: #FDD2D1;
	color: #CB0200;
	border:1px solid #980201;
}

._plus {
	background-color:#E8FCDC;
	color: #008800;
	border:1px solid #008800;
}

/* Basic global image reset. */
img {
	border: none;
}

img.attachment {
	border: 1px solid #E9E5D7;
	padding: 2px;
}

/* Horizontal rule reset. */
hr {
	background-color: #000000;
	color: #000000;
	height: 1px;
	border: 0px;
}

/* Utility classes for clearing floats. */
.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

/* Hidden helper class used in templates for collapsible/hidden rows. */
.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: #FFFBD9;
	border-bottom: 1px solid #F7E86A;
	color: #333;
	text-align: center;
}

/* Small element positioning tweaks. */
.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

/* Quote block look — dark background and left border. */
blockquote {
	background: rgb(40, 40, 40) none repeat scroll 0% 0%;
	margin: 10px;
	padding: 10px;
	border-left: 3px solid rgba(102, 102, 102, 0.21);
}

blockquote cite {
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
	font-style: normal;
	font-weight: bold;
}

blockquote cite span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: #666;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

/* Code block styling for preformatted code snippets. */
.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
}

.codeblock .title {
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
}

/* Smilies inline baseline alignment. */
.smilie {
	vertical-align: middle;
}

.smilie_pointer {
	cursor: pointer;
}

/* Separators used around elements. */
.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

/* Popup item container alignment. */
.popup_menu .popup_item_container {
	margin: 1px;
	text-align: left;
}

.popup_menu .popup_item {
	display: block;
	padding: 4px;
	white-space: nowrap;
	text-decoration: none;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

/* New thread subject emphasis. */
.subject_new {
	font-weight: bold;
}

/* Highlight utility for search / find results. */
.highlight {
	background: #FFFFCC;
	padding-top: 3px;
	padding-bottom: 3px;
}

/* PM alert (yellow-ish) styling — used on message pages. */
.pm_alert {
	background: #FFF6BF;
	text-align: center;
	padding: 12px 20px;
	margin-bottom: 15px;
	border-radius:2px;
	font-size: 13px;
}

.red_alert {
	background: #FBE3E4;
	color: #A5161A;
	text-align: center;
	padding: 12px 20px;
	margin-bottom: 15px;
	word-wrap: break-word;
	border-radius: 2px;
	font-size: 13px;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert  a:active {
	color: #A5161A;
}

/* Warning color utilities. */
.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

/* Online status colors. */
.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}

/* Error box — yellow with top/bottom emphasis. */
div.error {
	padding: 5px 10px;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #333;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #C00;
}

div.error ul {
	margin-left: 24px;
}

/* Pagination styles — small pill-like links. */
.pagination {
	padding-top: 5px;
	position: relative;
	display: block;
	font-size: 13px;
	top: 15px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: bold;
}

.pagination .pagination_current,
.pagination a {
	background: #f5f5f5;
	padding: 8px 8px;
	transition:200ms;
}

.pagination a {
	background: #323232;
}

.pagination .pagination_current {
	background: none;
	color: #e9e9e9;
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: #f3f9f7;
	color: #fff;
	border-color: #f3f9f7;
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

/* Breadcrumb/pagination container visual. */
.drop_go_page {
	background: #f5f5f5;
	padding: 4px;
}

.pagination_breadcrumb {
	background-color: #2b2b2b;
	border: 1px solid #202020;
	padding: 9px;
	margin-top: 5px;
	font-weight: normal;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

/* Thread legend small text and spacing rules. */
.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

/* Forum legend layout tweaks. */
.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
position: relative;
top: 11px;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
	margin-top: 7px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

/* Success/error tiny message styling. */
.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

/* Posts container overall padding and background. */
#posts_container {
	padding: 0;
	background: rgb(22, 22, 22);
}

/* Ignored posts get a subtle border and padding. */
.ignored_post {
	border-top: 3px solid #333;
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

/* Post card background and border — the main post box look. */
.post {
	background: #282828;
	overflow: hidden;
	border-radius: 2px;
	border: 1px solid #303030;
}

.post.classic {
	margin-top: 15px;
}

/* Author column styling on classic posts. */
.post .post_author {
	background: #282828;
	overflow: hidden;
}

/* RANK BADGES - pixel-styled badges for group/rank visuals */
/* Uses a retro font and creates compact badge blocks for ranks. */
@import url(https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap);

.rank-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 6px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.45);
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: middle;
  margin: 6px 0;
  min-height: 42px;
}

.rank-badge .rank-icon{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
  margin-left: -6px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.6);
  background: transparent;
}

.rank-badge .rank-text{
  display: inline-block;
  padding-left: 6px;
  padding-right: 8px;
  line-height: 1;
}

/* Responsive tweaks for rank badge on smaller screens. */
@media (max-width: 600px){
  .rank-badge{ padding:6px 10px; font-size:10px; }
  .rank-icon{ width:34px; height:34px; }
}

/* Example group ID mapping — replace 4,5,6 with your actual group IDs to style each group badge. */
.usergroup_4.rank-badge,
.rank-badge.usergroup_4{
  background: linear-gradient(135deg,#8d2b2b 0%, #6b1e1e 100%);
  border: 1px solid rgba(0,0,0,0.55);
}

.usergroup_5.rank-badge,
.rank-badge.usergroup_5{
  background: linear-gradient(135deg,#b77a2b 0%, #855a1f 100%);
  border: 1px solid rgba(0,0,0,0.45);
}

.usergroup_6.rank-badge,
.rank-badge.usergroup_6{
  background: linear-gradient(135deg,#22262b 0%, #0f1113 100%);
  border: 1px solid rgba(255,255,255,0.03);
}

/* FORCE: mostrarlos uno por línea — aggressive selectors with !important */
.usergroups-fix,
.post .usergroups,
.postprofile .usergroups,
.post_author .usergroup,
.post_author .author_information .usergroup,
.post .post_author .author_information .usergroup,
.post .post_author .usergroups,
.usergroup, .additionalgroups, .usergroups, .groupnames {
  white-space: normal !important;
  line-height: 1.25 !important;
}

/* Force links and spans inside to be block-level so each group queda en su línea */
.usergroups-fix a,
.usergroups-fix span,
.post .usergroups a,
.post .usergroups span,
.postprofile .usergroups a,
.postprofile .usergroups span,
.usergroup, .additionalgroups {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}

/* small safety so long list-wrap no overflow */
.usergroups-fix { word-break: break-word !important; }


/* Classic post author column layout specifics (width, padding, border). */
.post.classic .post_author {
	width: 20%;
	border-left: none;
	float: left;
	padding: 20px 20px;
	border-right: 1px solid #303030;
}

/* Buddy / friends status small alignment tweak. */
.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

/* Avatar block float and spacing. */
.post .post_author div.author_avatar {
	float: left;
	margin-right: 3px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-top: 14px;
}

.post .post_author div.author_avatar img {
	background: #FFF none repeat scroll 0% 0%;
	border-radius: 50%;
	box-shadow: 0px 0px 2px #696969;
}

/* Author information block (name, title) layout. */
.post .post_author div.author_information {
	float: left;
	padding: 6px 8px;
}

.post.classic .post_author div.author_information {
	text-align: center;
	padding: 0px;
	float: none;
}

/* Author statistics/mini info area (posts, join date) styling. */
.post .post_author div.author_statistics {
	float: none;
	font-size: 13px;
	padding: 17px 19px;
	color: #a3a3a3;
	line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
	margin: 2px;
	padding: 17px 19px;
	float: none;
	margin-bottom: 10px;
}

/* Post header meta (date, edited) styles. */
.post .post_head {
	font-size: 11px;
	padding-bottom: 4px;
	margin-bottom: 15px;
}

.post .post_head span.post_date {
	color: #666;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a {
	color: #666;
}

/* Post content area size and padding. */
.post_ {
	font-size: 14px;
	padding: 12px 0;
}

.post.classic .post_content {
	width: 90%;
	position:relative;
	padding-left: 25px;
	padding-right: 25px;
}

.post_content {
	padding: 22px 13px;
}

.post_content .signature {
	margin-top: 5px;
	border-top: 1px dotted #ddd;
	padding: 10px 0 4px 0;
}

/* Small meta links under each post (time, edit, etc). */
.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: #777;
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: #777;
}

/* Post controls (reply, quote) area styling at bottom of post. */
.post_controls {
	clear: both;
	padding: 5px 10px;
	overflow: hidden;
	border-top: 1px solid #303030;
	background:#282828;
}

/* Postbit buttons (small action buttons) styling. */
.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	color: #CCC;
	display: inline-block;
	margin: 2px;
	padding: 7px;
	transition:200ms;
	font-size: 15px;
}

.postbit_buttons > a:hover {
	opacity: 0.8;
}

.postbit_buttons a span {
	display: inline-block;
	height: 16px;
}

/* Button link styles used for larger CTA buttons. */
a.button:link,
a.button:visited,
a.button:active {
	background: #323232;
	color: #FFF;
	margin: 2px;
	border-radius: 2px;
	padding: 11px 15px;
	transition: all 600ms;
	border: none;
	text-decoration: none;
	font-size: 14px;
}

a.button:hover {
	background: #767a7e;
	color: #FFF;
	text-decoration: none;
	font-size: 14px;
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 11px 15px;
}

a.button span {
	display: inline-block;
}

/* Quick jump (forum jump) area placeholder. */
.quick_jump {
}

/* Poll progress bar styles. */
.pollbar {
	border: 1px solid #3f3f3f;
	height: 10px;
}

.pollbar .percent {
	display: none;
}

/* Make sure post icons don't wrap unexpectedly. */
.posticons_label {
	white-space: nowrap;
}

/** jGrowl notifications styling (toast-like messages). **/

/* Special IE6 absolute positioning rules — ancient fallback. */
.ie6 {
	position: absolute;
}

.ie6.top-right {
	right: auto;
	bottom: auto;
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.top-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-right {
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.center {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 100%;
}

/* Toast container base styles and positioning. */
.jGrowl {
	z-index: 9999;
	color: #fff;
	font-size: 12px;
	position: fixed;
}

.jGrowl.top-left {
	left: 0px;
	top: 0px;
}

.jGrowl.top-right {
	right: 0px;
	top: 0px;
}

.jGrowl.bottom-left {
	left: 0px;
	bottom:	0px;
}

.jGrowl.bottom-right {
	right: 0px;
	bottom: 0px;
}

.jGrowl.center {
	top: 0px;
	width: 50%;
	left: 25%;
}

/* Notification box visual styles — dark semi-opaque background used for message boxes. */
.center .jGrowl-notification,
.center .jGrowl-closer {
	margin-left: auto;
	margin-right: auto;
}

.jGrowl .jGrowl-notification,
.jGrowl .jGrowl-closer {
	background-color: #000;
	opacity: .85;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
	zoom: 1;
	width: 235px;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 1em;
	text-align: left;
	display: none;
	border-radius: 5px;
}

.jGrowl .jGrowl-notification {
	min-height: 40px;
}

.jGrowl .jGrowl-notification,
.jGrowl .jGrowl-closer {
	margin: 10px;
}

.jGrowl .jGrowl-notification .jGrowl-header {
	font-weight: bold;
	font-size: .85em;
}

.jGrowl .jGrowl-notification .jGrowl-close {
	z-index: 99;
	float: right;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
}

.jGrowl .jGrowl-closer {
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: bold;
}

/* Hide notifications when printing pages. */
@media print {
	.jGrowl {
		display: none;
	}
}

/** Modal styling for site dialogs — centered overlay with box and close button. **/
.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.65);
    text-align: center;
}

.blocker::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}

.modal {
    width: 400px;
    text-align: left;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	font-size:0px;
}

.modal a.close-modal:before{
  font-family:"Font Awesome 5 Free";
  font-size:25px;
  content:"\f410";
}

/* Modal spinner used when waiting for async actions (hidden by default). */
.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Impromptu (jQuery-Impromptu) dialog styling — used for confirm/prompts. **/
.jqifade {
	position: absolute;
	background-color: #777777;
}

div.jqi {
	width: 400px;
	max-width:90%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	background-color: #ffffff;
	font-size: 11px;
	text-align: left;
	border: solid 1px #eeeeee;
	border-radius: 6px;
	padding: 7px;
}

div.jqi .jqiclose {
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: #bbbbbb;
	font-weight: bold;
}

div.jqi .jqistate {
	background-color: #fff;
}

div.jqi .jqititle {
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eeeeee;
}

div.jqi .jqimessage {
	padding: 10px;
	line-height: 20px;
	color: #444444;
}

div.jqi .jqibuttons {
	text-align: right;
	margin: 0 -7px -7px -7px;
	border-top: solid 1px #e4e4e4;
	background-color: #f4f4f4;
	border-radius: 0 0 6px 6px;
}

div.jqi .jqibuttons button {
	margin: 0;
	padding: 6px 20px;
	background-color: transparent;
	font-weight: normal;
	border: none;
	border-left: solid 1px #e4e4e4;
	color: #777;
	font-weight: bold;
	font-size: 12px;
}

div.jqi .jqibuttons button.jqidefaultbutton {
	color: #489afe;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus {
	color: #287ade;
	outline: none;
}

/* Sub-state overlay used for multi-step prompts inside the impromptu dialog. */
div.jqi .jqiparentstate::after {
	background-color: #777;
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	border-radius: 6px;
}

div.jqi .jqisubstate {
	position: absolute;
	top: 0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px #eeeeee;
	border-top: none;
	border-radius: 0 0 6px 6px;
}

div.jqi .jqisubstate .jqibuttons button {
	padding: 10px 18px;
}

/* Arrow indicators used on tooltips/tours for pointing to elements. */
div.jqi .jqiarrow {
	position: absolute;
	height: 0; width: 0;
	line-height: 0;
	font-size: 0;
	border: solid 10px transparent;
}

div.jqi .jqiarrowtl {
	left: 10px;
	top: -20px;
	border-bottom-color: #ffffff;
}

div.jqi .jqiarrowtc {
	left: 50%;
	top: -20px;
	border-bottom-color: #ffffff;
	margin-left: -10px;
}

div.jqi .jqiarrowtr {
	right: 10px;
	top: -20px;
	border-bottom-color: #ffffff;
}

div.jqi .jqiarrowbl {
	left: 10px;
	bottom: -20px;
	border-top-color: #ffffff;
}

div.jqi .jqiarrowbc {
	left: 50%;
	bottom: -20px;
	border-top-color: #ffffff;
	margin-left: -10px;
}

div.jqi .jqiarrowbr {
	right: 10px;
	bottom: -20px;
	border-top-color: #ffffff;
}

div.jqi .jqiarrowlt {
	left: -20px;
	top: 10px;
	border-right-color: #ffffff;
}

div.jqi .jqiarrowlm {
	left: -20px;
	top: 50%;
	border-right-color: #ffffff;
	margin-top: -10px;
}

div.jqi .jqiarrowlb {
	left: -20px;
	bottom: 10px;
	border-right-color: #ffffff;
}

div.jqi .jqiarrowrt {
	right: -20px;
	top: 10px;
	border-left-color: #ffffff;
}

div.jqi .jqiarrowrm {
	right: -20px;
	top: 50%;
	border-left-color: #ffffff;
	margin-top: -10px;
}

div.jqi .jqiarrowrb {
	right: -20px;
	bottom: 10px;
	border-left-color: #ffffff;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  background: #1c1f26;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.profile-left {
  display: flex;
  gap: 15px;
}

.profile-left .avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.user-info h2 {
  margin: 0 0 5px;
  font-size: 22px;
  color: #fff;
}

.user-info p {
  margin: 2px 0;
  font-size: 14px;
  color: #bbb;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.profile-actions .btn {
  background: #2d6cdf;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.profile-actions .btn:hover {
  background: #1b4bb8;
}

.profile-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.card {
  background: #1c1f26;
  border-radius: 6px;
  padding: 15px 20px;
  font-size: 14px;
}

.card h3 {
  margin-top: 0;
  font-size: 16px;
  border-bottom: 1px solid #2c2f38;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  padding: 5px 0;
  border-bottom: 1px solid #2c2f38;
}

.groups-section {
  margin: 10px 0;
  background: none; /* sin card */
  padding: 10px 0;
  border-top: 1px solid #2c2f38;
}

.groups-section h3 {
  font-size: 15px;
  margin-bottom: 6px;
}


/* That's the end of the CSS file. 
   If you'd like, I can also insert a short JS snippet that will force user groups to display one-per-line
   (useful for the "Administrator / SAPD" case you mentioned), but since you already asked for CSS comments only,
   I'll stop here. Want me to add that JS too? */
