/*
 * ClubOps -- club operations software.
 * Copyright © 2026 Information Dynamics Inc. All rights reserved.
 * Proprietary and confidential. No part of this software may be copied, modified,
 * distributed or used except under a written licence from Information Dynamics Inc.
 */
/* BOTSC Club Operations styles (originally from the old club site; assets now local) */

body {
	background-color: #F0F1F3;
	height: 100%;
	max-width: none;
}

a {
  	color: #252525;
  	text-decoration: none;
  	background-color: transparent;
  	-webkit-text-decoration-skip: objects;
}

a:hover {
  	color: #252525;	
  	text-decoration: underline;
}
.email a {
 	color: #007bff;
  	text-decoration: none;
  	background-color: transparent;
  	-webkit-text-decoration-skip: objects;
}
.email a:hover {
	color: #003bff;
	text-decoration: underline;
}
.link a {
 	color: #007bff;
  	text-decoration: none;
  	background-color: transparent;
  	-webkit-text-decoration-skip: objects;
}
.link a:hover {
	color: #003bff;
	text-decoration: underline;
}

.checkmark {
  color: #007bff;      /* BOTSC blue or Bootstrap blue */
  font-weight: bold;
}

/* botsc-bg-colors */
.bg-input-label { background-color: #e9ecef; }
.bg-botscwhite { background-color: #F0F1F3; }
.bg-whitesmoke { background-color: #F5F5F5; }
.bg-black {	background-color: black; }
.bg-red { background-color:red;}
.bg-white { background-color:white; }
.bg-blue { background-color:blue; }
.bg-lightblue { background-color:lightblue; }
.bg-lightblue-25 { background-color:rgba(173,216,230,.25); }
.bg-lightblue-50 { background-color:rgba(173,216,230,.50); }
.bg-skyblue { background-color:skyblue; }
.bg-lightskyblue { background-color:lightskyblue; }
.bg-palegreen { background-color:palegreen }
.bg-paleblue { background-color:#A5CEE4; }
.bg-memoriam { background-color:#CFF6FF;}
.bg-memoriam-1 { background-color:rgba(173,216,230,.25); } /* bg-color for inmemoriam pages */
.bg-shyblue { background-color:#E1F3FF; }

.bg-shyblue-25 { background-color:rgba(193,223,240,.25); }
.bg-shyblue-50 { background-color:rgba(193,223,240,.50); }
.bg-shyblue-75 { background-color:rgba(193,223,240,.75); }
.bg-table-success { background-color:#D1E7DD;}
.bg-table-danger { background-color:#F8D7DA;}
.bg-table-warning { background-color:#FFF3CD;}
.bg-warning { 
	background-color: #fff3cd !important; /* alert-warning background */
}
.bg-danger { 
	background-color: #f8d7da !important; /* alert-warning background */
}
.bg-botsc {	background-color: rgba(204,213,153,1.00); }
.bg-photos { background-color:#414141;}

/* botsc-font-colors */
.font-title { color: rgba(0,0,102,1.00); }
.font-email { color: #507D00; }
.font-green { color: #507D00; }

/* botsc-border-colors */
.b-botsc-1 {
	border-top: solid 1px #507D00; 
	border-bottom: solid 1px #507D00;
}
.bt-botsc-3 { border-top: solid 3px #507D00; }
.bb-botsc-3 { border-bottom: solid 3px #507D00; }
.bt-botsc-2 { border-top: solid 2px #507D00; }
.bb-botsc-2 { border-bottom: solid 2px #507D00; }
.bt-botsc-1 { border-top: solid 1px #507D00; }
.bb-botsc-1 { border-bottom: solid 1px #507D00; }

.bg-yellow { background-color: rgba(255,255,125,.75); }
.bg-green {	background-color: rgba(140,193,87,.50); } 
/* .bg-green {	background-color: #8CC157; }*/
.bg-red { background-color: rgba(255,0,0,.75); }
.bg-gainsboro {	background-color: rgba(220,220,220,1.00); }
.bg-silver { background-color: rgba(192,192,192,1.00); }
.bg-lightgray {	background-color: rgba(211,211,211,1.00); }
.bg-gray-200 { background-color: #E9ECEF;}
.bg-disabled { background-color: #E9ECEF;}

/* navigation bar*/
.header2 {
/*	background-color:#E5F1FF; */
	background-image:url(images/backgrounds/botsc-header-bg.png);
	background-size:cover;
	background-position:top;
}
.footer {

	background-image:url(images/backgrounds/botsc-footer-bg.png);
	background-size:cover;
	background-position:top;
}

.header-bg {
    width: 100%;
    background-image: url(images/backgrounds/botsc-header-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.nav {
    padding: 0px 0px;
}

.nav a {
	text-decoration: none;
	color: #507D00; 
}
.nav li {
    padding: 0px 6px;
    cursor: pointer;
}

.nav li:after {
    content: '';
    display: block;
    border-bottom: 3px solid #507D00;
    transform: scaleX(0);
    transition: .2s ease-in-out;
}

.nav li:hover:after {
    transform: scaleX(1);
}

/* navigation menu */

.navmenu a {
	text-decoration: none;
	color: #507D00; 
}
.navmenu-item {
	color:#507D00;
    cursor: pointer;
}
.navmenu-item:after {
    content: '';
    display: block;
    border-bottom: 3px solid #507D00;
    transform: scaleX(0);
    transition: .2s ease-in-out;
}
.navmenu-item:hover:after {
    transform: scaleX(1);
}

/* botsc button */
.btn-botsc {
	color: rgba(0, 0, 0, 0.75);
	background-color: rgba(204,213,153,1.00);
	border-color: rgba(204,213,153,1.00);
}
.btn-botsc:hover {
	color: rgba(0,0,102,1.00);
	text-decoration: none;
	background-color: rgba(235,241,222,1.00);
	border-color: rgba(204,213,153,1.00);
}
.btn-botsc a:hover {
	color: rgba(0,0,102,1.00);
	background-color: rgba(235,241,222,1.00);
	border-color: rgba(204,213,153,1.00);
	text-decoration: none;
}
.btn-botsc:active {
	color: rgba(0, 0, 0, 0.75);
	background-color: rgba(204,213,153,1.00);
	border-color: rgba(204,213,153,1.00);
}

.menu:hover {
	background-color:white;
}

/* font css */
.semi-bold {
	font-weight:600;
}

.lh-10 {line-height: 1.0em;}
.lh-11 {line-height: 1.1em;}
.lh-12 {line-height: 1.2em;}
.lh-13 {line-height: 1.3em;}
.lh-14 {line-height: 1.4em;}

.font-8 {font-size:0.8em;}
.font-9 {font-size:0.9em;}
.font-11 {font-size:1.1em;}
.font-12 {font-size:1.2em;}
.font-14 {font-size:1.4em;}
.font-15 {font-size:1.5em;}
.font-16 {font-size:1.6em;}
.font-17 {font-size:1.7em;}
.font-18 {font-size:1.8em;}

.spacing-05 {
	letter-spacing: 0.05em;
}
.spacing-025 {
	letter-spacing: 0.025em;
}
.underline {
	text-decoration: underline;
}
/*signature fo coc and tor*/
.text-sign {
	font-family: "Segoe Script" , sans-serif;
}
/* Set various widths */
.mw-000 {max-width:100%;}
.mw-150 {max-width:150px;}
.mw-175 {max-width:175px;}
.mw-200 {max-width:200px;}
.mw-250 {max-width:250px;}
.mw-300 {max-width:300px;}
.mw-350 {max-width:350px;}
.mw-400 {max-width:400px;}
.mw-600 {max-width:600px;}
.mw-660 {max-width:660px;}
.mw-700 {max-width:700px;}
.mw-750 {max-width:750px;}
.mw-800 {max-width:800px;}
.mw-850 {max-width:850px;}
.mw-900 {max-width:900px;}
.mw-930 {max-width:930px;}
.mw-960 {max-width:960px;}
.mw-1000 {max-width:1000px;}
.mw-1080 {max-width:1080px;}
.mw-1100 {max-width:1100px;}
.mw-1140 {max-width:1140px;}
.mw-1320 {max-width:1320px;}
.mw-1200 {max-width:1200px;}
.mw-1400 {max-width:1400px;}
.mw-1500 {max-width:1500px;}
.mw-1600 {max-width:1600px;}
.mw-1700 {max-width:1700px;}

.min-150 {min-width:150px;}
.min-175 {min-width:175px;}
.min-200 {min-width:200px;}
.min-225 {min-width:225px;}
.min-800 {min-width:800px;}

.wd-30 {width:30px;}
.wd-40 {width:40px;}
.wd-50 {width:50px;}
.wd-60 {width:60px;}
.wd-70 {width:70px;}
.wd-75 {width:75px;}
.wd-80 {width:80px;}
.wd-90 {width:90px;}
.wd-100 {width:100px;}
.wd-110 {width:110px;}
.wd-120 {width:120px;}
.wd-125 {width:125px;}
.wd-130 {width:130px;}
.wd-150 {width:150px;}
.wd-175 {width:175px}
.wd-180 {width:180px}
.wd-200 {width:200px}
.wd-225 {width:225px}
.wd-250 {width:250px}
.wd-275 {width:275px}
.wd-300 {width:300px}
.wd-325 {width:325px}
.wd-350 {width:350px}
.wd-400 {width:400px;}
.wd-500 {width:500px;}
.wd-600 {width:600px;}
.wd-700 {width:700px;}
.wd-800 {width:800px;}
.wd-900 {width:900px;}

/* set image height for team-photo thumbnails*/
.hd-136 {height:136px;}

/* message borad */
.message-board {	
	line-height:1.2;
	max-height:400px;
	overflow-y: scroll;	
}

/* print page */
@media print {
    .pagebreak { page-break-before: always;}
	.dontprint { display: none; }
 	thead {display: table-header-group;}
}

/* season page event items */
.event {
	position: relative;
	border-radius: 5px;
}

.event-item-link {
	background-color: white;
}
.event-item-link:hover {
	background-color: white;
	text-decoration: none;
}
.event-focus-dark:hover {
	box-shadow: 0px 0px 4px 3px gainsboro;
}
.event-focus-light:hover {
	box-shadow: 0px 0px 4px 3px gray;
}
.event-image {
	position:relative;
	padding-right:3px;
	padding-bottom:3px; 
}
.event-menu {
	text-decoration: none
}

.event-menu:hover {
	box-shadow: 0px 0px 4px 3px gainsboro;
	border-radius: 7px;
}
.post-top-left {
    top:0;
    left:0;
	border-top-left-radius: 5px;
    position: absolute;
	background-color: skyblue;
	padding: 0px 10px;
}
.post-top-left a {
   text-decoration:none;
}

/*css for member photos*/
.sponsor-photo {
	float:left;
	width:300px;
	text-align:center;
}
.sponsor-photo img{
	height:150px;
	text-align:center;
	margin:5px;
}
.member-photo {
	float:left;
	width:150px;
	text-align:center;
}
.member-photo img{
	 width:120px;
	 height:150px;
	 margin:5px;
}
.img-framed {
	margin: 3px;
	border-radius: 25;
}

/* mc apps */
.mc-header {
	margin-top:10px;
	margin-left:-15px;
	margin-right:-15px;
}
.mc-header img {
	margin-top:-10px;
	margin-left:10px;
	width:100px;
	float:left;
}
.mc-title {	
	margin-top:15px;
	background-color:#ccd599;
	padding: 10px 0px;
	font-size:2.0em;
}


/* Photo Albums */
.highslide img { 
	border: 1px solid black;
	margin:5px;
}
.highslide img:hover {
	border: 1px solid silver;
}
.highslide-thumbstrip-horizontal .highslide-marker {
	top: 49px; border-bottom-color: white; border-right-width: 6px; border-bottom-width: 6px; border-left-width: 6px; border-bottom-style: solid;
} 
.floating-caption .highslide-caption {
	background: none; padding: 0px; border: currentColor; border-image: none; color: gray; font-weight: 400; position: absolute;font-size:.5em;
}

.arrow {
	background-color: rgba(0,0,0,0)
}
.arrow:hover {
	background-color: rgba(255,255,255,0.20);
}

/*constitution */
.article:hover {
	cursor:pointer;
	background-color: silver;
}
.pointer:hover {
	cursor:pointer;
}
.option:hover {
	cursor:pointer;
}
/* memoriam */
.memoriam-top {
	background-image:url(../images/memoriam/memoriam-top.png);
	background-size:cover;
	background-repeat: no-repeat;
	background-position: right;
	margin-right:-12px;
	margin-left:-12px;
}

.gallery-card {
    display: inline-block;
    width: auto;
    margin: 0 auto;
}

.thumb-wrapper {
    display: flex;
    justify-content: center;   /* horizontal centering */
    align-items: center;       /* vertical centering */
    padding: 6px;              /* optional */
}

.gallery-thumb-sm {
    max-height: 180px;
    width: auto;
    object-fit: cover;
    display: block;
}


/*
.img-thumbnail-linked:hover { transform: scale(1.2); }  */
.img-thumbnail-linked:hover { 
	background-color: silver; 
} 

/* homepage sponsor scroller */
#scroller {
	position: relative;
}
#scroller .innerScrollArea {
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
#scroller ul {
	padding: 0;
	margin: 0;
	position: relative;
}
#scroller li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	position: absolute;
}
/* events scroller */
.event-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.event-scroll-inner {
    display: inline-flex;
    gap: 1rem;
}

.event-scroll-inner .card {
    width: 300px;
    flex-shrink: 0;
}


/* ------------------------------------------------------------
   Club Operations: dashboard and section cards
------------------------------------------------------------ */
:root {
    --botsc-navy: #000066;
    --botsc-green: #507D00;
    --botsc-green-soft: rgba(80, 125, 0, .10);
    --botsc-navy-soft: rgba(0, 0, 102, .07);
}

/* Dashboard: one card per section */
.ops-card {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1.1rem 1.1rem 1rem;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-left: 4px solid var(--botsc-green);
    border-radius: .6rem;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ops-card:hover,
.ops-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
    border-color: #c9d2bf;
    border-left-color: var(--botsc-navy);
    color: inherit;
}
.ops-card-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--botsc-navy-soft);
    color: var(--botsc-navy);
    font-size: 1.2rem;
}
.ops-card-title {
    margin: 0 0 .2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--botsc-navy);
}
.ops-card-text {
    margin: 0;
    font-size: .85rem;
    color: #6c757d;
}
.ops-card-meta {
    margin-top: .6rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--botsc-green);
}
.ops-card-meta.is-empty { color: #adb5bd; }

/* Section page: one tile per program */
.ops-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    height: 100%;
    padding: .85rem 1rem;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-left: 4px solid var(--botsc-green);
    border-radius: .5rem;
    color: var(--botsc-navy);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ops-tile:hover,
.ops-tile:focus-visible {
    transform: translateY(-1px);
    background: var(--botsc-green-soft);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    color: var(--botsc-navy);
}
.ops-tile .fa-arrow-right { color: var(--botsc-green); font-size: .85rem; }
.ops-tile.is-coming {
    background: transparent;
    border: 1px dashed #c3c8ce;
    color: #8a939c;
    font-weight: 500;
    cursor: default;
}
.ops-tile.is-coming:hover { transform: none; box-shadow: none; background: transparent; }
.ops-tile .badge { font-weight: 500; }

.ops-stage {
    margin: 1.5rem 0 .6rem;
    font-size: .95rem;   /* was .75rem -- too small (Paul, 2026-10-10) */
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--botsc-green);
}

@media (prefers-reduced-motion: reduce) {
    .ops-card, .ops-tile { transition: none; }
    .ops-card:hover, .ops-tile:hover { transform: none; }
}

/* Country flag at the far right of the banner (config: branding.flag_path) */
.banner-flag {
    height: 40px;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 1px 3px rgba(0, 0, 0, .15);
}

/* Banner: logo side and flag/menu side share the leftover width equally,
   so whatever sits between them is centred on the page. */
.banner-side { flex: 1 1 0; min-width: max-content; }

/* Account menu under the banner flag */
.banner-account { color: var(--botsc-navy); font-size: 1rem; font-weight: 600; }
.banner-account:hover, .banner-account:focus { color: var(--botsc-green); }
.banner-roles { font-size: .9rem; color: #6c757d; }
.banner-roles a { color: var(--botsc-navy); }

/* Shared table editor (200s): strong column titles, visible cell borders. */
.te-grid thead th {
    background: var(--botsc-navy);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
    border-color: var(--botsc-navy);
}
/* Every input box clearly outlined (Paul, 2026-10-02: Bootstrap's pale default
   border was almost invisible) -- the table editor's darker grey, app-wide. */
.form-control,
.form-select,
.form-check-input {
    border: 1px solid #6c757d;
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--botsc-green);
    box-shadow: 0 0 0 .15rem var(--botsc-green-soft);
}

/* Card-style forms (206 Season Setup): navy card titles, green group titles. */
.te-head {
    background: var(--botsc-navy);
    color: #fff;
    font-weight: 600;
}
.te-group {
    color: var(--botsc-green);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 1px solid var(--botsc-green-soft);
}

/* Operations Guide (docs/operations-guide.md rendered). */
.guide h1 { color: var(--botsc-navy); font-size: 1.6rem; font-weight: 700; }
.guide h2 { color: var(--botsc-navy); font-size: 1.3rem; font-weight: 700; margin-top: 1.5rem;
            padding-bottom: .25rem; border-bottom: 2px solid var(--botsc-green); }
.guide h3 { color: var(--botsc-green); font-size: 1.05rem; font-weight: 700; margin-top: 1.25rem; }
.guide .guide-table th { background: var(--botsc-navy); color: #fff; font-weight: 600; }
.guide .guide-table { font-size: .9rem; }
.te-grid .te-thumb { max-height: 48px; max-width: 120px; border: 1px solid #ced4da; border-radius: .25rem; background: #fff; }
.te-grid td { vertical-align: top; }

/* Reminders bell in the banner. */
.banner-bell { color: var(--botsc-navy); font-size: 1.4rem; line-height: 1; }
.banner-bell:hover, .banner-bell:focus { color: var(--botsc-green); }
.banner-bell .badge { font-size: .65rem; }
.reminders-menu { width: 22rem; max-width: 90vw; }
.reminder-item { border-left: 3px solid var(--botsc-green); margin-bottom: .25rem; white-space: normal; }

/* Club documents (modules/governance/documents.php). */
.club-document h2 { color: var(--botsc-navy); font-size: 1.4rem; font-weight: 700; }
.club-document h3 { color: var(--botsc-navy); font-size: 1.15rem; font-weight: 700; margin-top: 1.25rem; border-bottom: 2px solid var(--botsc-green); padding-bottom: .2rem; }
.club-document h4 { color: var(--botsc-green); font-size: 1rem; font-weight: 700; margin-top: 1rem; }
.club-document table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; font-size: .9rem; }
.club-document td, .club-document th { border: 1px solid #ced4da; padding: .3rem .5rem; vertical-align: top; }
.club-document .card-yellow { color: #f2c200; }
.club-document .card-red { color: #d62828; }

/* Sign-in page (2026-10-02): the box in the middle, the toolbox on the left,
   signposts for members on the right. */
.login-box { background: #fff; border: 1px solid #dee2e6; border-top: 1px solid #dee2e6; border-radius: 6px; padding: 1.15rem; box-shadow: 0 .25rem .75rem rgba(0,0,0,.06); }
.login-panel { padding: 0; }
.login-panel-title { color: var(--botsc-navy); font-weight: 600; border-bottom: 2px solid var(--botsc-green); padding-bottom: .35rem; margin-bottom: .75rem; }
/* The toolbox strip under the banner: each bucket's icon and short name. */
.toolbox-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .5rem; }   /* one row, however many buckets (2026-10-13) */
.toolbox-strip li { display: flex; background: #fff; border: 1px solid #dee2e6; border-radius: 8px; }
.toolbox-strip li > a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .7rem .25rem .55rem; text-align: center; text-decoration: none; border-radius: 8px; }
.toolbox-strip li > a:focus-visible { outline: 2px solid var(--botsc-green); outline-offset: 2px; }
.toolbox-strip li i { color: var(--botsc-green); font-size: 2rem; }
.toolbox-strip li i.fa-futbol { color: #111; }      /* a black-and-white ball (Paul) */
.toolbox-strip li i.fa-shirt { color: #c20229; }    /* the club's red shirt (Paul) */
.toolbox-strip .tb-name { font-size: .72rem; font-weight: 600; color: var(--botsc-navy); line-height: 1.15; }
.toolbox-strip li:hover { border-color: var(--botsc-green); background: var(--botsc-green-soft); }
@media (max-width: 991.98px) { .toolbox-strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); } }
.website-link { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .75rem 1rem; background: var(--botsc-navy); color: #fff; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.website-link:hover { background: var(--botsc-green); color: #fff; }
.help-line { display: flex; gap: .6rem; align-items: flex-start; background: var(--botsc-green-soft); border-radius: 4px; padding: .6rem .75rem; }
.help-line i { color: var(--botsc-green); font-size: 1.1rem; margin-top: .1rem; }
.coming-up li { display: flex; gap: .75rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid #eef0f2; }
.coming-up li:last-child { border-bottom: 0; }
.cu-date { flex-shrink: 0; width: 3rem; text-align: center; background: #fff; border: 1px solid #dee2e6; border-top: 3px solid var(--botsc-green); border-radius: 4px; line-height: 1.1; padding: .2rem 0; }
.cu-mon { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; color: var(--botsc-green); font-weight: 600; }
.cu-day { display: block; font-size: 1.15rem; font-weight: 700; color: var(--botsc-navy); }
.sponsor-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: .6rem; }
@media (min-width: 992px) { .sponsor-logos { grid-template-columns: repeat(var(--sponsor-cols, 8), 1fr); } }
.sponsor-logos > a, .sponsor-logos > div { display: flex; align-items: center; justify-content: center; height: 4rem; padding: .4rem; background: #fff; border: 1px solid #dee2e6; border-radius: 6px; text-decoration: none; color: var(--botsc-navy); font-size: .7rem; font-weight: 600; text-align: center; }
.sponsor-logos > a:hover { border-color: var(--botsc-green); }
.sponsor-logos img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* The club at a glance (sign-in page): totals as tiles */
.stat-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; }   /* 4 across, each tile 2 tracks */
.stat-tiles .stat-tile { grid-column: span 2; }
/* The last row centred (Paul, 2026-10-22 / 10-29): its first tile starts at track 2, 3 or 4 for 3, 2 or 1 tiles */
.stat-tiles .stat-tile.start-2 { grid-column: 2 / span 2; }
.stat-tiles .stat-tile.start-3 { grid-column: 3 / span 2; }
.stat-tiles .stat-tile.start-4 { grid-column: 4 / span 2; }
@media (max-width: 575.98px) {
    .stat-tiles { grid-template-columns: repeat(4, 1fr); }
    .stat-tiles .stat-tile.start-2, .stat-tiles .stat-tile.start-3, .stat-tiles .stat-tile.start-4 { grid-column: span 2; }
    .stat-tiles .stat-tile.centre-2 { grid-column: 2 / span 2; }
}
.stat-tile { background: #fff; border: 1px solid #dee2e6; border-radius: 8px; padding: .7rem .5rem; text-align: center; }
.stat-tile.stat-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }   /* opens its data (Paul, 2026-10-24) */
.stat-tile.stat-link:hover, .stat-tile.stat-link:focus-visible { border-color: var(--botsc-green); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.stat-tile i { color: var(--botsc-green); font-size: 1.1rem; }
.stat-tile i.fa-futbol { color: #111; }
.stat-icon-text { display: inline-block; font-weight: 800; font-size: 1rem; line-height: 1.1; color: var(--botsc-green); letter-spacing: .03em; }   /* the AGM tile's icon */
.stat-value { font-size: 1.1rem; font-weight: 700; color: var(--botsc-navy); line-height: 1.15; margin-top: .2rem; }
.stat-label { font-size: .9rem; font-weight: 600; color: #333; }   /* numbers ~15% smaller, topic larger (Paul, 2026-10-22) */
.stat-sub { font-size: .7rem; color: #6c757d; line-height: 1.2; }
/* Toolbox strip pictures: the ball symbol, a badge on an icon, the club's years */
.toolbox-strip .tb-ball { font-size: 2rem; line-height: 1; }
.toolbox-strip .tb-stack { position: relative; display: inline-block; line-height: 1; }
.toolbox-strip .tb-stack .tb-badge { position: absolute; right: -.45rem; top: -.35rem; font-size: 1rem; color: #f5b400; text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.toolbox-strip .tb-years { display: inline-block; font-weight: 800; font-size: .95rem; line-height: 1.05; color: var(--botsc-green); letter-spacing: .02em; }
.stat-tile .stat-ball { font-size: 1.1rem; line-height: 1; }
.toolbox-strip .tb-squad { position: relative; display: inline-block; width: 3.3rem; height: 2.1rem; }
.toolbox-strip .tb-squad i { position: absolute; color: #c20229; font-size: 2rem; }
.toolbox-strip .tb-squad .tb-back { left: .95rem; top: -.2rem; color: #1f5fbf; }   /* two teams: blue v red (Paul) */
.toolbox-strip .tb-squad .tb-front { left: 0; top: .25rem; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff; }
.toolbox-strip li i.fa-chart-simple { color: #3aa0e6; }   /* reports: sky blue (Paul) */
.toolbox-strip li i.fa-newspaper { color: #111; }        /* events & news: black newspaper, yellow bolt (Paul) */
/* Officials & Discipline: a raised black flag and a yellow card (Paul) */
.toolbox-strip .tb-ref { position: relative; display: inline-block; width: 3rem; height: 2.1rem; }
.toolbox-strip .tb-ref .tb-ref-flag { position: absolute; left: .15rem; top: .05rem; font-size: 1.8rem; color: #c20229; transform: rotate(-18deg); transform-origin: 20% 90%; }
.toolbox-strip .tb-ref .tb-card { position: absolute; right: .1rem; top: .35rem; width: .95rem; height: 1.35rem; background: #f5c400; border: 1px solid #c9a000; border-radius: 2px; transform: rotate(12deg); box-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* Which install (config.local 'environment_label', e.g. TEST SERVER): a badge in the banner */
.env-label { display: inline-block; vertical-align: middle; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #d9480f; border-radius: 4px; padding: .2rem .55rem; margin-left: .5rem; }

/* Banner in the club website's look (Paul, 2026-10-08): a red strip half the
   height of the black bar -- (left kept open), "Club Operations - 2026" centred,
   reminders + account at the right -- over a black bar: crest + BOTSC, the
   club and season, the flag. */
.ops-header { --ops-red: #c20229; --ops-black: #111; }
.ops-topbar { background: var(--ops-red); color: #fff; font-size: .95rem; min-height: 38px; display: flex; align-items: center; }
.ops-topbar > .container-xxl { min-height: 38px; }
.ops-topbar-side { flex: 1 1 0; min-width: 0; }
.ops-topbar-app { font-family: "Sofia Sans Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1;
    text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }   /* almost fills the strip (Paul, 2026-10-13) */
@media (max-width: 767.98px) { .ops-topbar-app { font-size: 1.15rem; } }
.ops-topbar .banner-account, .ops-topbar .banner-account:hover, .ops-topbar .banner-account:focus { color: #fff; font-size: .95rem; font-weight: 600; }
.ops-topbar .banner-roles { color: rgba(255,255,255,.85); font-size: .85rem; }
.ops-topbar .banner-roles a { color: #fff; text-decoration: underline; }
.ops-topbar .banner-bell, .ops-topbar .banner-bell:hover { color: #fff; font-size: 1.1rem; }
.ops-topbar .env-label { background: #fff; color: var(--ops-red); font-size: .72rem; padding: .1rem .45rem; margin-left: 0; }
/* With an icon (UNDER CONSTRUCTION): road-works amber, black text. */
.ops-topbar .env-wrap { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; }
/* A sign (🚧) on both sides, taller than the label, like brackets; the label road-works amber. */
.ops-topbar .env-label.has-sign { background: #ffc107; color: #111; font-size: .78rem; padding: .15rem .5rem; }
.ops-topbar .env-sign { font-size: 1.6rem; line-height: 1; }
/* In the black bar, left of the flag (Paul, 2026-10-14): a road-sign yellow block, two
   lines, black text, a picture sign (40 km/h speed limit) on each side. */
.ops-mainbar .env-wrap { display: inline-flex; align-items: center; gap: .4rem; }
.ops-mainbar .env-label { margin-left: 0; background: #ffc107; color: #111; text-transform: none; letter-spacing: .01em;
    font-size: .85rem; font-weight: 700; line-height: 1.25; padding: .3rem .6rem; border-radius: 4px; white-space: nowrap; text-align: center; }
.ops-mainbar .env-label a { color: inherit; text-decoration: underline; }
.ops-mainbar .env-sign-img { height: 44px; width: auto; }
.ops-mainbar .env-sign { font-size: 2rem; line-height: 1; }
@media (max-width: 991.98px) {
    .ops-mainbar .env-sign-img { height: 36px; }
    .ops-mainbar .env-label { font-size: .75rem; padding: .2rem .45rem; }
}
/* Phones: the block and the flag get a row of their own under the crest. */
@media (max-width: 767.98px) {
    .ops-mainbar > .container-xxl:has(.env-wrap) { flex-wrap: wrap !important; }
    .ops-mainbar > .container-xxl:has(.env-wrap) > .ms-auto { flex-basis: 100%; justify-content: center; padding-bottom: .45rem; }
}
@media (max-width: 575.98px) { .ops-mainbar .env-sign-img, .ops-mainbar .env-sign { display: none; } }   /* the flag must fit */
.ops-mainbar { background: var(--ops-black); border-bottom: 1px solid #2a2a2a; min-height: 76px; display: flex; align-items: center; }
.ops-mainbar > .container-xxl { min-height: 76px; }
.ops-crest { height: 58px; width: auto; }
.ops-wordmark, .ops-app { font-family: "Sofia Sans Condensed", "Arial Narrow", sans-serif; color: #fff; line-height: 1; }
.ops-wordmark { font-weight: 800; font-size: 2.3rem; letter-spacing: .02em; }
.ops-app { font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85); border-left: 1px solid #444; padding-left: .75rem; }
.ops-menu-btn { background: #c20229; color: #fff; border: 0; font-weight: 600; }
.ops-menu-btn:hover, .ops-menu-btn:focus { background: #9c0120; color: #fff; }
.ops-mainbar .banner-flag { height: 34px; }
@media (max-width: 767.98px) {
    .ops-topbar .container-xxl { flex-wrap: wrap; justify-content: center; }
    .ops-topbar-side:first-child:empty { display: none; }
    .ops-topbar-side { flex-basis: 100%; justify-content: center !important; padding-bottom: .2rem; }
}
@media (max-width: 575.98px) {
    .ops-crest { height: 40px; }
    .ops-wordmark { font-size: 1.6rem; }
    .ops-app { font-size: .8rem; padding-left: .5rem; }
    .ops-mainbar .banner-flag { height: 24px; }
    .ops-mainbar, .ops-mainbar > .container-xxl { min-height: 56px; }
}

/* Footer to match the banner (Paul, 2026-10-08): black bar, red rule on top. */
.ops-footer { background: #111; border-top: 3px solid #c20229; color: rgba(255,255,255,.75); font-size: .85rem; margin-top: 1.5rem; }
.ops-footer-crest { height: 26px; width: auto; }
.ops-footer-name { color: #fff; font-weight: 500; }

/* Version + build in the footer (2026-10-11). */
.ops-footer-version { font-size: .72rem; opacity: .6; }
a.ops-footer-version { color: inherit; text-decoration: none; }
a.ops-footer-version:hover, a.ops-footer-version:focus { opacity: 1; text-decoration: underline; }   /* opens About ClubOps (2026-11-03) */

/* Test As a Role (2026-10-14): a hazard strip above the banner while Club IT tests as a role. */
.test-as-strip { background: repeating-linear-gradient(45deg, #ffc107 0 14px, #ffcd38 14px 28px); color: #111; font-size: .9rem; border-bottom: 2px solid #111; }

/* Club IT: a database update is waiting to be applied (2026-10-14). */
.db-pending-strip { background: #b02a37; color: #fff; font-size: .9rem; }

/* Programs tile: a soccer field icon (2026-10-14). */
.stat-tile .stat-field { width: 1.7rem; height: 1.1rem; color: var(--botsc-green); display: inline-block; vertical-align: middle; }

/* The drawn soccer field (lib/Icons.php) in the toolbox strip and on the Main Menu card. */
.toolbox-strip .tb-field { width: 2.9rem; height: 1.9rem; color: var(--botsc-green); }
.ops-card-icon .card-field { width: 1.6rem; height: 1.05rem; }

/* Division rosters: the number column beside each team's names. */
.roster-no { width: 2.4rem; color: #495057; font-variant-numeric: tabular-nums; border-right: 0 !important; }
.roster-no + td { border-left: 0 !important; }

/* Keyboard shortcuts list (? -- Paul, 2026-10-29) */
.ops-shortcuts { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; }
.ops-shortcuts.d-none { display: none !important; }
.ops-shortcuts-box { background: #fff; border-radius: 8px; padding: 1rem 1.25rem; width: min(26rem, 92vw); }
.ops-shortcuts kbd { background: #f1f3f5; color: #212529; border: 1px solid #ced4da; font-size: .8rem; }
