/* ===== Header, top bar, menus, footer: matched to the Joomla template settings ===== */

/* Top bar: same height (46px), type and layout as the Tascomp and PAMS sites' top bars (17 Nov 2026),
   in PlantRun's own dark grey (each group site keeps its brand colour). */
.pr-toolbar { background: var(--pr-dark); color: #fff; font-family: 'Roboto', sans-serif; font-size: 12px; line-height: 1.4; padding: 14px 0; }
.pr-toolbar__inner { padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.pr-toolbar__left { display: flex; align-items: center; }
.pr-toolbar__right { display: flex; align-items: center; gap: 25px; }
.pr-toolbar a { color: #fff; text-decoration: none; transition: opacity .2s, color .2s; }
.pr-toolbar a:hover { color: #fff; opacity: .8; }
.pr-toolbar .fas, .pr-toolbar .fab { font-size: 13px; line-height: 1.4; }
.pr-toolbar .fas { margin-right: 5px; }
.pr-social { list-style: none; margin: 0 12px 0 0; padding: 0; display: flex; gap: 12px; }
.pr-social a { color: #fff; }
.pr-toolbar__divider { display: inline-block; width: 1px; height: 14px; background: rgba(255,255,255,.2); margin-right: 14px; }
.pr-toolbar__tagline { color: #888; white-space: nowrap; }
.pr-toolbar .pr-toolbar__tagline a { color: #888; }
.pr-toolbar .pr-toolbar__tagline a:hover { color: #94cef2; opacity: 1; }
/* Narrow screens, as on Tascomp/PAMS: wrap, then drop the hours, then show only the left side. */
@media (max-width: 900px) { .pr-toolbar__right { flex-wrap: wrap; justify-content: flex-end; gap: 10px; } }
@media (max-width: 700px) { .pr-toolbar__hours { display: none; } }
@media (max-width: 600px) { .pr-toolbar__right { display: none; } }

/* Header */
.pr-header { background: #fff; position: sticky; top: 0; z-index: 980; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.admin-bar .pr-header { top: 32px; }
.pr-header__inner { padding: 0 40px; display: flex; align-items: center; min-height: 85px; gap: 20px; }
.pr-logo { display: flex; align-items: center; margin-right: auto; }
.pr-logo img { height: 2rem; width: auto; display: block; }
.pr-menu-toggle { display: none; }

.pr-nav__list, .pr-nav__list ul { list-style: none; margin: 0; padding: 0; }
.pr-nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.pr-nav__list > li { position: relative; }
.pr-nav__list > li > a {
	display: flex; align-items: center; min-height: 85px; padding: 0 15px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 24px; font-weight: 400; line-height: 85px; color: #020d26; text-decoration: none;
}
.pr-nav__list > li > a:hover,
.pr-nav__list > li.current-menu-item > a,
.pr-nav__list > li.current-menu-ancestor > a,
.pr-nav__list > li.current-page-ancestor > a { color: var(--pr-blue); text-decoration: none; }
/* Dropdowns */
.pr-nav__list .sub-menu {
	position: absolute; top: 100%; right: 0; width: 240px; background: var(--pr-navy); padding: 10px 0;
	opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 990;
}
.pr-nav__list .sub-menu .sub-menu { top: 0; right: 100%; }
.pr-nav__list li:hover > .sub-menu, .pr-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.pr-nav__list .sub-menu li { position: relative; }
.pr-nav__list .sub-menu a { display: block; padding: 8px 20px; color: #fff; font-size: 15px; text-decoration: none; }
.pr-nav__list .sub-menu a:hover, .pr-nav__list .sub-menu .current-menu-item > a { color: #8fcbff; }

/* Highlighted items: copied from the Joomla site's custom CSS (matches on the link URL) */
.pr-nav__list > li > a[href*="enquire"], .pr-nav__list > li > a[href*="enquiry"] { background-color: #4990ba; color: #fefef8; }
.pr-nav__list > li > a[href*="enquire"]:hover, .pr-nav__list > li > a[href*="enquiry"]:hover { background-color: #2d6b94; color: #fefef8; }
.pr-nav__list > li > a[href*="insights"] { background-color: rgba(73,144,186,.1); color: #4990ba; border-left: 3px solid #4990ba; transition: all .2s ease; }
.pr-nav__list > li > a[href*="insights"]:hover { background-color: rgba(73,144,186,.2); border-left-color: #0d5175; }

.pr-search-toggle { background: none; border: 0; padding: 10px; color: #020d26; cursor: pointer; display: flex; }
.pr-search-toggle:hover { color: var(--pr-blue); }

/* Search overlay */
.pr-search { position: fixed; inset: 0; background: #fff; z-index: 10010; display: flex; align-items: center; justify-content: center; }
.pr-search[hidden] { display: none; }
.pr-search form { width: min(800px, 90vw); }
.pr-search input { width: 100%; border: 0; border-bottom: 1px solid #e5e5e5; font-size: 2.6rem; padding: 10px 0; font-family: var(--pr-font); outline: none; background: transparent; }
.pr-search__close { position: absolute; top: 20px; right: 30px; background: none; border: 0; font-size: 44px; line-height: 1; cursor: pointer; color: #666; }

/* Mobile */
.pr-mobile-menu { background: #fff; border-top: 1px solid #eee; box-shadow: 0 10px 20px rgba(0,0,0,.08); position: sticky; top: 64px; z-index: 970; max-height: calc(100vh - 64px); overflow-y: auto; }
.pr-mobile-menu[hidden] { display: none; }
.pr-mobile-menu__list, .pr-mobile-menu__list ul { list-style: none; margin: 0; padding: 0; }
.pr-mobile-menu__list a { display: block; padding: 12px 20px; color: #020d26; font-family: var(--pr-font-heading); text-decoration: none; border-bottom: 1px solid #f1f1f1; }
.pr-mobile-menu__list .sub-menu a { padding-left: 40px; font-size: 15px; }
.pr-mobile-menu__list .sub-menu .sub-menu a { padding-left: 60px; }

@media (max-width: 1199px) {
	.pr-nav, .pr-search-toggle { display: none; }
	.pr-header__inner { min-height: 64px; padding: 0 20px; }
	.pr-menu-toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 4px;
		width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 10px; color: #020d26;
	}
	.pr-menu-toggle span { display: block; height: 2px; background: currentColor; }
	.pr-logo { margin-right: 0; margin-left: auto; }
	.pr-logo img { height: 20px; }
}

/* Bottom + footer */
.pr-bottom { background: var(--pr-dark); color: #fff; padding: 70px 0 50px; }
.pr-bottom__grid { display: grid; grid-template-columns: 3fr 9fr; gap: 30px; }
.pr-bottom__menus { display: flex; flex-direction: column; gap: 30px; }
.pr-bottom__title { color: #fff; font-size: 1.25rem; margin-bottom: 20px; }
.pr-bottom a { color: #c4c4c4; }
.pr-bottom a:hover { color: #fff; }
.pr-bottom address { font-style: normal; }
.pr-bottom ul.fontawesome { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
/* Footer social icons in the same light blue as the top bar ones (white on hover) */
.pr-bottom ul.fontawesome a { color: #94cef2; }
.pr-bottom ul.fontawesome a:hover { color: #fff; }
.pr-bottom__list { list-style: none; padding: 0; margin: 0; }
.pr-bottom__list li { margin: 0 0 10px; }
.pr-footer { background: var(--pr-dark); color: #d6d5d5; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
@media (max-width: 991px) {
	.pr-bottom__grid { grid-template-columns: 1fr; }
}

/* Sticky "Request Demo" button: from the Joomla site's custom CSS. Since 20 Nov 2026 (U-21) it uses PlantRun blue
   (was #0074cc) and a fixed text size, so it is the same size on every page (it used to grow on pages with larger body text). */
#sticky-demo-button {
	position: fixed; bottom: 20px; right: 20px; z-index: 9999;
	background-color: var(--pr-blue) !important; color: #fff !important; padding: 15px 25px; text-decoration: none !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px; font-weight: 400; line-height: 26px; letter-spacing: normal; white-space: nowrap;
	border-radius: 8px; transition: all .2s ease; box-shadow: 0 2px 8px rgba(0,0,0,.15); display: inline-block; border: none;
}
#sticky-demo-button:hover { background-color: var(--pr-blue-dark) !important; box-shadow: 0 4px 12px rgba(0,0,0,.2); color: #fff !important; }
@media (max-width: 768px) {
	#sticky-demo-button { padding: 12px 20px; font-size: 14px; line-height: 23px; bottom: 15px; right: 15px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
}
