body {
	color: #555;
	width: 100%;
}

.tab-header {
	padding-top: 18px !important;
}

h2 {
	color: black;
	font-size: clamp(22px, 4vw, 32px);
}

h3 {
	margin: 10px 0 30px 0;
	letter-spacing: 10px;
	font-size: 24px;
	color: #111;
}

h4 {
	font-size: 8px;
	color: white;
}

h5 {
	color: white;
	font-size: 15px;
}

h6 {
	margin: 10px 0 30px 0;
	font-size: 20px;
	color: #111;
}

a {
	color: slategrey;
}
a:hover {
	color: black;
}

.lead {
	font-size: clamp(14px, 2.5vw, 20px);
}

.linkText a {
	word-break: break-word;
}
.card-narrow {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.list-group-item:hover {
	background-color: var(--bs-gray-100);
}

.card {
	opacity:0.9 !important;
}
.short-label {
	display: none;
}

.honours-bg {
	position: relative !important;
	height: 720px !important;
	max-height: 100% !important;
	overflow-y: auto;
}
.image-bg {
	position: relative;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: contain;
}

@media (max-width: 1200px) {
	.long-label {
		display: none;
	}
	.short-label {
		display: inline;
	}
}

.modal-dialog {
	margin: 0.5rem auto;
	max-height: 100vh;
}

.modal-content {
	max-height: 100vh;
}

.modal-body {
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}


.commentTitlelead {
	font-size: 36px;
}

.commentTitle {
	font-size: 22px;
}

.commentText {
	font-size: 14px;
}

.commentTextlead {
	font-size: 18px;
}

.slategrey {
	color: slategrey;
}

.table-fixed {
	table-layout: fixed;
	width: 100%;
}

.micro-col {
	width: 2rem;     /* Pld/Won/Drn/Lost */
}

.thin-col {
	width: 4rem;     /* Pld/Won/Drn/Lost */
}

.mid-col {
	width: 6rem;     /* Perf / Adjust / Diff */
}

.big-col {
	width: 10rem;
	word-wrap: break-word;
	white-space: normal;
}

.details-col {
	width: auto;     /* soak remaining space */
}

:root {
	--group-border-thick: 4px solid #212529; /* Bootstrap dark */
	--group-border-thin: 2px solid #dee2e6;  /* Bootstrap default table border */
}

.table-scroll {
	max-height: 600px;      /* adjust to suit page */
	overflow-y: auto;
}

.table-scroll thead th,
table-scroll thead th a {
	position: sticky;
	top: 0;
	z-index: 10;
	background: #d1e7dd;
	color: black;
	border-bottom: 2px solid #000;
}


/* Hidden on-screen */
.print-only {
	display: none;
}

.input-group-append {
	cursor: pointer;
}

/* Layout containers */
.container {
	padding: 10px 15px;
}

/* Mobile view */
@media (max-width: 991px) {
	body {
		padding-top: 10px;
	}
	
	h6 {
		margin: 10px 0 10px 0;
		font-size: 16px;
		color: #111;
	}

	.navbar-toggler {
		border: 1px solid black !important;
		padding: 5px 15px;
	}

	/* Darker background on mouse-over */
	.navbar-toggler:hover {
		background-color: lightslategrey !important;
	}
	.largetable, .largemenu { display: none; }
	.smalltable, .smallmenu { display: block; }
	
	/* Hide non-essential columns */
	.col-hidewhensmall {
		display: none;
	}

	/* Compact typography */
	table {
		font-size: 11px;
	}

	table th,
	table td {
		padding: 2px 3px !important;
		vertical-align: middle;
	}
}
