/*
Theme Name: Tempus360
Theme URI: https://www.tempus360.co.uk/
Author: SchoolCare (PSD Group)
Description: Block theme for the Tempus360 website: lockdown alerts, SchoolSafe PA, staff panic alarms with live positioning, desktop alerts and EnviroSentry. On activation it creates the site's pages and sets the home page.
Version: 1.1.5
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: tempus360
*/

/* Base */
body{margin:0;font-family:'IBM Plex Sans',system-ui,sans-serif;color:#0B1220;background:#F3F4F1;font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:#0033A0}a:hover{color:#001F66}
.wp-site-blocks{padding:0}
.wp-site-blocks > * + *, main.wp-block-group > * + *, .wp-block-post-content > * + *{margin-block-start:0}
*:focus-visible{outline:3px solid #FFB81C;outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Navigation */
.navlink:hover{background:rgba(255,255,255,.1);color:#fff!important}
body.tempus-page-home .nav-home,
body.tempus-page-martyns-law .nav-martyns-law,
body.tempus-page-staff-alert-positioning .nav-staff-alert-positioning,
body.tempus-page-solutions .nav-solutions,
body.tempus-page-envirosentry .nav-solutions,
body.tempus-page-desktop-alerts .nav-desktop-alerts,
body.tempus-page-manager-cloud .nav-manager-cloud,
body.tempus-page-sectors .nav-sectors{background:rgba(255,255,255,.12);color:#fff!important}

/* LED panel effect */
.led{background:#06080B;position:relative;overflow:hidden}
.led::after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,transparent 52%,rgba(6,8,11,.85) 62%);background-size:5px 5px;pointer-events:none}
.card:hover{border-color:#0033A0}

/* Forms */
input,select,textarea,button{font:inherit}
.tempus-form-notice{padding:14px 16px;border-radius:8px;margin:0 0 20px;font-weight:500}
.tempus-form-notice.ok{background:#E3F4EA;color:#0B5A2E;border:1px solid #9BD3B0}
.tempus-form-notice.err{background:#FBE5E8;color:#8A0F22;border:1px solid #F0A8B3}
.tempus-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Small screens */
@media (max-width:640px){
 header nav a{padding:10px 10px!important;font-size:.9rem}
}
.hm-thumb:hover{border-color:#0033A0!important}
.hm-thumb:hover img,.hm-thumb:focus-visible img{outline:3px solid #FFB81C;outline-offset:2px}
.hm-lightbox{display:none;position:fixed;inset:0;z-index:9999;background:rgba(11,18,32,.94);padding:56px 20px 24px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.hm-lightbox:target{display:flex}
.hm-lightbox img{display:block;max-width:min(1200px,100%);max-height:80vh;width:auto;height:auto;border-radius:10px}
.hm-close{position:absolute;top:10px;right:14px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:#fff!important;font-size:2.2rem;line-height:1;text-decoration:none}
