/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.3.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=7c5543be");
@import url("utilities.css?hash=d8f72c42");
@import url("common.css?hash=843d5d5f");
@import url("links.css?hash=18286e16");
@import url("content.css?hash=d0e24377");
@import url("buttons.css?hash=56f0d25f");
@import url("cp.css?hash=50d868ab");
@import url("forms.css?hash=9016b55c");
@import url("icons.css?hash=64da33ce");
@import url("colours.css?hash=fcb2f289");
@import url("responsive.css?hash=c9d32cba");

/* ===========================
   Custom overrides — logo & header
   Drop this at the END of stylesheet.css
   =========================== */

/* 1) Center the logo in the header */
.headerbar .logo {
    float: none !important;        /* cancel float:left */
    display: block;
    margin: 0 auto;                /* center block */
    text-align: center;            /* center inline contents */
    padding: 10px 0;               /* adjust spacing as needed */
    width: auto;
}

/* Ensure the logo image (or site_logo element) centers and is visible */
.headerbar .logo img,
.headerbar .site_logo,
.site_logo {
    display: inline-block !important;
    margin: 0 auto !important;
    vertical-align: middle;
}

/* If the theme hides .site_logo, force it visible */
.site_logo { display: inline-block !important; }

/* 2) Top/header gradient (red tones). Adjust the colours to taste. */
.headerbar {
    /* dark red -> lighter red gradient */
    background: linear-gradient(180deg, #8B0000 0%, #ff6666 100%) !important;
    background-color: #b30000 !important; /* fallback */
}

/* 3) Disable underline for the logo link */
.headerbar .logo a,
.headerbar .logo a:hover,
.logo a,
.logo a:hover {
    text-decoration: none !important;
    border-bottom: none !important; /* in case underline is applied as border */
}

/* Optional: if the logo still gets an underline from more general rules */
.headerbar .logo a *,
.logo a * {
    text-decoration: none !important;
}

/* Option B: visually scale the logo to 50% (good when width rules are inconvenient) */
.headerbar .logo img,
.logo img,
#logo img {
    transform: scale(0.5);
    transform-origin: center center;
    display: inline-block !important;
    height: auto !important;
}

blockquote { text-align: right; font-size: 15px; position: fixed; bottom: 88px; right: 10px; margin: 0px; text-shadow: 0px 1px 1px white; color: #e3e3e3; }
::-webkit-scrollbar {
height: 25px;
width: 25px;
background: silver;
}
::-webkit-scrollbar-thumb {
background: red;
-webkit-border-radius: 12px;
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-corner {
background: blue;
}
::-webkit-scrollbar-button {
background: navy;
}

/* Block TopicList */
ul.topiclist li.row dl {
    margin: 2px 0;
    padding-top: 21px !important;
}

/* Make sure the page layout doesn't reserve space */
.headerbar, .header, #header, .site-header {
    height: 0 !important;
    min-height: 0 !important;
    line-height: 2 !important;
}

/* Strongly hide the header area, logo and header search */
.headerbar,
.site-header,
.site_header,
.site_logo,
.logo,
.header-logo,
.header-profile,
.header-search,
.search-box,
.searchbox,
.header .search,
.header .searchbox,
#search,
#searchbox,
.headerbar * {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* hide footer stat blocks everywhere */
.stat-block,
.stat-block.online-list,
.stat-block.birthday-list,
.stat-block.statistics,
.online-list,
.birthday-list,
.statistics {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.phpbb_announcement {
    font-size: 15px !important;
    background-color: #efefef !important;
}

/* Hide Members & The team links in the footer (common phpBB link patterns) */
/* a[href*="memberlist"], */             /* memberlist.php and variants */
/* a[href*="memberlist.php"], */
/* a[href*="mode=team"], */             /* memberlist.php?mode=team or similar */
/* a[href*="mode=leaders"], */             
/* a[href*="u=team"], */             
/* a[href*="/memberlist"], */             /* some clean-URL setups */
/* a[href*="/team"] */             /* fallback for different routing */
{
    display: none !important;
}

/* Hide "All times are UTC" lines if they are wrapped in footer-row/copyright elements */
.footer-row, 
.copyright,
.footer-row small,
.footer-row .small,
.footer-row .copyright-text
{
    /* Do not hide whole footer unless necessary — below removes only exact small lines */
}

/* Aggressive (uncomment only if the UTC text is isolated and you want it removed for all users) */
/*
.footer-row, .copyright {
    display: none !important;
}
*/

/* Nested subforum list styling */
.subforum-wrapper { margin-top: 6px; }
.subforum-label { display: block; font-weight: 700; margin-bottom: 6px; }
.subforumlist { list-style: none; margin: 0 0 0 12px; padding: 0; display: block; }
.subforum-item { margin: 2px 0; padding-left: 6px; border-left: 2px solid rgba(0,0,0,0.04); }
.subforum-link { text-decoration: none; color: inherit; }
.subforum-item.unread .subforum-link { font-weight: 600; } /* highlight unread */

/* Toggle button styling */
.toggle-subforums { background: transparent; border: 0; padding: 0 6px; margin-left: 8px; cursor: pointer; font-size: 0.9em; }
.toggle-subforums .toggle-icon { display: inline-block; transform-origin: 50% 45%; transition: transform .15s ease; }
.toggle-subforums[aria-expanded="false"] .toggle-icon { transform: rotate(-90deg); }

/* Collapsed state hides subforumlist */
.subforumlist.collapsed { display: none !important; }
