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

/* colours.css changes */ 
html, body {
	background-color: #010206;
	    background-image: url("./images/sitebackground.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

body.simple {
	min-height: 100%;
	padding: 0 5px;
}

.wrap {
	border: 2px solid #FFF;
	border-radius: 15px;
	box-shadow: 0 0 5px 2px #9D9A93, inset 0 3px 18px rgba(100, 100, 100, .25);
	margin: 0 auto;
	max-width: 1400px;
	padding: 13px 23px;
}

.search-header {
	box-shadow: 0 0 10px #505C65;
}

#smiley-box {
    max-height: 200px;
    overflow-y: auto;
}

.headerbar {
	background-color: #7C8891;
	background-image: -webkit-linear-gradient(top, #7C8891 0%, #7C8790 4%, #76828B 10%, #6B7780 40%, #505C65 70%, #3d4a53 100%);
	background-image: linear-gradient(to bottom, #7C8891 0%, #7C8790 4%, #76828B 10%, #6B7780 40%, #505C65 70%, #3d4a53 100%);
	background-repeat: repeat-x;
}

.navbar {
	background-color: #DCDEE2;
}

.forabg, .forumbg {
	background-color: #505C65;
	background-image: -moz-linear-gradient(top, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%, #505C65 100%);
	background-image: linear-gradient(to bottom, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%,#505C65 100%);
	background-repeat: repeat-x;
}

.copyright a {
	color: #000000 !important;
}

li.row {
	background-color: #E8ECEE;
}

li.row:hover {
	background-color: #EBEFF1;
}

li.row.bg3 {
	background-color: #F0F4F6;
}

li.row.bg3:hover {
	background-color: #F4F8FA;
}

.site_logo {
    background-image: url("./images/site_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
	background-position: center;
    width: 100px;
    height: 100px;
    display: block;
}

.jumpbox-cat-link {
	background-color: #505C65;
	background-image: -moz-linear-gradient(top, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%, #505C65 100%);
	background-image: linear-gradient(to bottom, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%,#505C65 100%);
	background-repeat: repeat-x;
	color: #FFFFFF;
}

.jumpbox-sub-link {
	background-color: #E8ECEE;
}

/* responsive.css changes */
@media only screen and (max-width: 920px), only screen and (max-device-width: 920px) {
	html, body {
		background-color: #FFF;
	}

	body {
		padding-left: 5px;
		padding-right: 5px;
	}

	#wrap {
		width: 850px;
		padding: 0;
		border-width: 0;
		border-radius: 0;
		box-shadow: none;
	}
}

@media only screen and (max-width: 860px), only screen and (max-device-width: 860px) {
	#wrap {
		width: auto;
	}
}

/* Fix nested dropdown submenus - show only on hover */
.dropdown-contents .dropdown-container .dropdown {
    display: none !important;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px;
}
.dropdown-contents .dropdown-container:hover > .dropdown {
    display: block !important;
}

/* Make top level dropdowns open on hover instead of click */
#nav-main .dropdown-container:hover > .dropdown {
    display: block;
}


/* HRC flyout submenus */
.hrc-has-submenu { position: relative; }
.hrc-submenu { display: none; position: absolute; left: 100%; top: 0; z-index: 99999; min-width: 150px; padding: 5px 0; background: #f0f3f5; border: 1px solid #ccc; border-radius: 5px; }
.hrc-has-submenu:hover .hrc-submenu { display: block; }
#nav-gallery .dropdown, #nav-gallery .dropdown-contents { overflow: visible !important; max-height: none !important; }
#nav-forum .dropdown, #nav-forum .dropdown-contents { overflow: visible !important; max-height: none !important; }


/* ── HRC Dev Theme Header ── */

/* Submenus */
.hrc-has-submenu { position: relative; }
.hrc-submenu { display: none; position: absolute; left: 100%; top: 0; z-index: 99999; min-width: 150px; padding: 5px 0; background: #f0f3f5; border: 1px solid #ccc; border-radius: 5px; }
.hrc-has-submenu:hover .hrc-submenu { display: block; }

/* Header nav links colour */
#site-description a { color: #cccfd2 !important; text-decoration: none; }
#site-description a:hover { color: #fff !important; }

/* Remove top border on header dropdown triggers */
#site-description .dropdown-container > a,
#site-description a.dropdown-trigger { border-top: none !important; }

/* Open header dropdowns on hover */
#site-description .dropdown-container:hover > .dropdown { display: block !important; }

/* Header dropdown positioning */
#site-description .dropdown { top: 100% !important; border-top: none !important; z-index: 99999; }

/* Dropdown link colours (standard) */
#site-description .dropdown-contents a,
#site-description .dropdown-contents span { color: #536482 !important; }
#site-description .dropdown-contents a:hover { color: #333 !important; }

/* Divider lines full height */
#site-description .dropdown-container,
#site-description form { align-self: stretch; }

/* Search input */
#site-description input[type="search"] { color: #333 !important; }

/* Increase header height */




/* Nav links at bottom of header */
#site-description { justify-content: space-between !important; }
#site-description > div:first-child { flex: 0 0 auto; }

/* Remove ALL borders from header nav links */
#site-description .dropdown-container > a { border: none !important; border-top: none !important; }
#site-description a.dropdown-trigger { border: none !important; }

/* Divider lines full height using border-right only */
#site-description > div:last-child { align-items: stretch !important; }
#site-description > div:last-child > * { display: flex; align-items: center; }

/* Fix submenu overflow in header dropdowns */
#site-description .dropdown { overflow: visible !important; max-height: none !important; }
#site-description .dropdown .dropdown-contents { overflow: visible !important; max-height: none !important; }
#site-description .dropdown-contents { overflow: visible !important; max-height: none !important; }

/* Increase header height by 40px */


/* Gradient darker at bottom */

/* Nav links at bottom of header */
#site-description { justify-content: space-between !important; min-height: 180px; }

/* Nav links pinned to bottom of header, no top border */
#site-description > div:last-child { margin-top: auto; margin-bottom: 0; border-top: none !important; }

/* Increase header height by 30px */
#site-description { min-height: 210px !important; }

/* Darken divider lines between nav items */
#site-description > div:last-child > .dropdown-container,
#site-description > div:last-child > a,
#site-description > div:last-child > form { border-right: 1px solid #374147 !important; }
#site-description > div:last-child > a:first-child { border-left: none !important; }

/* Header nav divider lines */
#hrc-header-nav { border-top: none !important; }
#hrc-header-nav > a,
#hrc-header-nav > .dropdown-container,
#hrc-header-nav > form { border-right: 1px solid #374147 !important; display:flex; align-items:center; }
#hrc-header-nav > a:first-child { border-left: none !important; }

/* Rounded search box */
#hrc-header-nav input[type="search"] { border-radius: 6px 0 0 6px !important; }
#hrc-header-nav button[type="submit"] { border-radius: 0 6px 6px 0 !important; }

/* Darker divider lines */
#hrc-header-nav > a,
#hrc-header-nav > .dropdown-container,
#hrc-header-nav > form { border-right: 1px solid #2a3540 !important; }
#hrc-header-nav > a:first-child { border-left: 1px solid #2a3540 !important; }

/* Force darker dividers - higher specificity */
div#hrc-header-nav > a { border-right: 2px solid #1a2530 !important; border-left: 2px solid #1a2530 !important; }
div#hrc-header-nav > div.dropdown-container { border-right: 2px solid #1a2530 !important; }
div#hrc-header-nav > form { border-right: 2px solid #1a2530 !important; }

/* Darker search button */
div#hrc-header-nav button[type="submit"] { background: #2a3540 !important; border-color: #1a2530 !important; color: #cccfd2 !important; }



/* Fix flex children to stretch full height */
#hrc-header-nav > a,
#hrc-header-nav > div,
#hrc-header-nav > form { align-self: stretch !important; display: flex !important; align-items: center !important; }

/* Header nav dividers */
#hrc-header-nav > a,
#hrc-header-nav > div.dropdown-container,
#hrc-header-nav > form {
    border-right: 1px solid #374147 !important;
    height: 100% !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
}
#hrc-header-nav > a:first-child {
    border-left: none !important;
}

/* mChat dropdown on hover */
#nav-breadcrumbs .dropdown-container:hover > .dropdown { display: block !important; }

/* Center BBcode fix */
div[align="center"] { display: flex; flex-direction: column; align-items: center; text-align: center; }

#logo.logo { padding: 0; }

.hrc-stat-bar { display: flex; width: fit-content; height: 74px; margin-bottom: 15px 0 0 0; margin-top: -5px; align-self: center; }
.hrc-stat-left { width: 10px; flex-shrink: 0; background: url('images/stat-left.png') no-repeat; }
.hrc-stat-middle { flex: 1; background: url('images/stat-middle.png') repeat-x; display: flex; align-items: center; padding: 0 20px; gap: 20px; }
.hrc-stat-right { width: 9px; flex-shrink: 0; background: url('images/stat-right.png') no-repeat; }
.hrc-stat-title { text-transform: uppercase; margin-top: -5px; margin-bottom: 4px; text-align: center; color: #9fb0bd; font-size: 12px; letter-spacing: 0.00em; }
.hrc-stat-grid { display: grid; grid-template-columns: auto auto; gap: 2px 20px; color: #e6ebee; font-size: 10px; letter-spacing: -0.05em; white-space: nowrap; }
.hrc-stat-val { color: #d3ecff; font-weight: 500; }
.hrc-stat-group + .hrc-stat-group { border-left: 1px solid #516065; padding-left: 24px; margin-left: -0px; }
.hrc-stat-grid a { text-decoration: none; color: inherit; }

#site-description #hrc-advanced-search { border-left: none !important; border-right: none !important; }

/* HRC SEO (Oct 2026): topic/forum titles are the page h1 - keep the old h2 look */
h1.topic-title, h1.forum-title {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: normal;
	color: #28313F;
	margin: 16px 0 4px 0;
	line-height: normal;
}

/* HRC (Oct 2026): forum Gallery menu styled like the gallery's grey dropdown */
.hrc-gallery-menu .dropdown .dropdown-contents,
.hrc-gallery-menu .hrc-submenu {
	background: #7C8891;
	border: 1px solid #6A7880;
	border-radius: 0;
	box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}
.hrc-gallery-menu .hrc-submenu { padding: 4px 0; min-width: 0; }
.hrc-gallery-menu .hrc-submenu .dropdown-contents { background: transparent; border: 0; box-shadow: none; padding: 0; }
.hrc-gallery-menu .dropdown li { border-color: #6A7880; }
.hrc-gallery-menu .dropdown-contents a,
.hrc-gallery-menu .dropdown-contents a span {
	color: #FFFFFF;
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 12px;
	white-space: nowrap;
}
.hrc-gallery-menu .dropdown-contents a:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #FFFFFF;
	text-decoration: none;
}
.hrc-gallery-menu .dropdown .pointer,
.hrc-gallery-menu .dropdown .pointer-inner { border-color: #7C8891 transparent; }
#site-description .hrc-gallery-menu .dropdown-contents a,
#site-description .hrc-gallery-menu .dropdown-contents span,
#site-description .hrc-gallery-menu .dropdown-contents .icon { color: #FFFFFF !important; }
