body {
	color: #555;
	width: 100%;
	padding-top: 100px;
}

@media screen and (max-width: 991px) {
    body { padding-top: 60px; }
}

h2 {
	color: black;
}

h3 {
	margin: 10px 0 30px 0;
	letter-spacing: 10px;
	font-size: 24px;
	color: #111;
}

h4 {
	font-size: 11px;
	color: white;
}

h5 {
	color: white;
	font-size: 8px;
}

h6 {
	margin: 10px 0 30px 0;
	font-size: 20px;
	color: #111;
}

a {
	color: slategrey;
}
a:hover {
	color: black;
}

:root {
  --group-border-thick: 4px solid #212529; /* Bootstrap dark */
  --group-border-thin: 2px solid #dee2e6;  /* Bootstrap default table border */
}

/* =========================
   Single-row group
   ========================= */
tr.group-single td {
  border-top: var(--group-border-thick);
  border-bottom: var(--group-border-thick);
}

tr.group-single td:first-child {
  border-left: var(--group-border-thick);
}

tr.group-single td:last-child {
  border-right: var(--group-border-thick);
}

/* =========================
   Group start
   ========================= */
tr.group-start td {
  border-top: var(--group-border-thick);
}

tr.group-start td:first-child {
  border-left: var(--group-border-thick);
}

tr.group-start td:last-child {
  border-right: var(--group-border-thick);
}

/* =========================
   Group middle
   ========================= */
tr.group-middle td {
  border-top: var(--group-border-thin);
  border-bottom: var(--group-border-thin);
}

tr.group-middle td:first-child {
  border-left: var(--group-border-thick);
}

tr.group-middle td:last-child {
  border-right: var(--group-border-thick);
}

/* =========================
   Group end
   ========================= */
tr.group-end td {
  border-bottom: var(--group-border-thick);
}

tr.group-end td:first-child {
  border-left: var(--group-border-thick);
}

tr.group-start td:last-child,
tr.group-middle td:last-child,
tr.group-end td:last-child,
tr.group-single td:last-child {
  border-right-width: 4px !important;
  border-right-style: solid;
  border-right-color: #212529;
}

.title {
	margin: 10px 0 30px 0;
	font-size: 20px;
	color: #111;
}
.teamtitle {
	font-size: 26px;
}

.nav-link:focus,
.nav-link:hover {
	color: white !important;
}

/* Consolidated table link styles */
table td a,
table th a {
	color: black !important;
	text-decoration: none;
}
table td a:hover,
table th a:hover,
table td a:focus,
table th a:focus {
	color: black !important;
	text-decoration: underline;
}

/* Scrollable table wrapper */
.table-responsive parent {
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

/* Fixed header table layout */
table.table-fixedheader {
	width: 100%;
	display: block;
}
table.table-fixedheader > thead,
table.table-fixedheader > tbody,
table.table-fixedheader > thead > tr,
table.table-fixedheader > tbody > tr,
table.table-fixedheader > thead > tr > th,
table.table-fixedheader > tbody > td {
	display: block;
}
table.table-fixedheader > thead > tr:after,
table.table-fixedheader > tbody > tr:after {
	content: ' ';
	display: block;
	visibility: hidden;
	clear: both;
}
table.table-fixedheader > tbody {
	overflow-y: scroll;
	height: 800px;
}
table.table-fixedheader > thead {
	overflow-y: scroll;
}
table.table-fixedheader > thead::-webkit-scrollbar {
	background-color: inherit;
}
table.table-fixedheader > thead tr th,
table.table-fixedheader > tbody tr td {
	float: left;
	word-wrap: break-word;
}

/* Large data tables */
#largegamelisttable,
#largefixturelisttable,
#largestatslisttable {
	margin: auto;
	width: 90% !important;
}

/* Table and section backgrounds */
.statsheader,
.bg-upperslot,
.bg-lowerslot {
	background-color: ghostwhite !important;
	border: 2px solid grey;
}

.bg-info {
	background-color: slategrey !important;
}

/* Buttons */
.btn-info {
	color: white !important;
	background-color: slategrey !important;
	border-color: darkgrey !important;
}
.btn-info:hover {
	color: black !important;
}
.btn-outline-info {
	color: slategrey !important;
	border-color: darkgrey !important;
}

/* Form and input spacing */
.seasonselect {
	min-width: 90px !important;
	max-width: 105px !important;
}

.text-info {
	color: grey !important;
}

.statsfield,
.playername,
.detailsbutton {
	padding: .10rem !important;
	height: 35px;
}

.helpbutton {
	border: none;
	color: white !important;
	background-color: #6c757d !important;
	padding: 3px 3px;
	margin-top: 5px;
	cursor: pointer;
	font-size: 18px;
	text-decoration: none;
}
.helpbutton:hover {
	background-color: lightslategrey !important;
	color: black !important;
}

/* Forms */
.col-form-theme {
	padding-top: 1px !important;
	line-height: 1.0 !important;
}

.form-group {
	margin-bottom: 2px !important;
	font-size: 13px !important;
	color: black;
	text-align: left;
}

.form-select {
	display: inline-block !important;
}

.formpulldown {
	font-family: verdana;
	font-size: 13px;
	margin-bottom: 5px;
}

/* Hidden on-screen */
.print-only {
	display: none;
}

.input-group-append {
  cursor: pointer;
}

/* ===== Print view ===== */
@media print {
	body {
		font-family: "Times New Roman", serif;
		font-size: 12pt;
		background: #fff;
		color: #000;
	}
	h2 {
		text-align: center;
		font-size: 16pt;
		margin: 0 0 10px 0;
	}
	table {
		width: 100%;
		border-collapse: collapse;
	}
	th, td {
		border: 1px solid #000;
		padding: 6px;
		text-align: center;
	}
	.text-start { text-align: left !important; }
	.text-end { text-align: right !important; }
	.no-print, nav, footer {
		display: none !important;
	}
	tr { page-break-inside: avoid; }
}

/* Layout containers */
.container {
	padding: 10px 15px;
}

/* Colour palette */
.white { color: darkgray; }
.black { color: black; }

.coloura { background-color: seashell; }
.colourb { background-color: aliceblue; }
.colourc { background-color: honeydew; }
.colourd { background-color: mistyrose; }
.coloure { background-color: azure; }
.colourf { background-color: papayawhip; }
.colourg { background-color: mintcream; }
.colourh { background-color: lightcyan; }
.colourrooks { background-color: navajowhite; }
.colourbishops { background-color: lightpink; }
.colourpawns { background-color: powderblue; } /* fixed */
.colourjuniors { background-color: beige; }
.colourladies { background-color: slategray; }
.colourseniors { background-color: lightsalmon; }

#mapid { height: 400px; }

.clubmap {
	width: 600px;
	height: 400px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 75%;
}

/* Navbar styling */
.navbar {
	padding-left: 5px;
	padding-right: 5px;
}
.navbar-brand {
	color: white;
}
.nav .nav-link {
	font-size: 14px;
	padding-left: 0px;
	padding-right: 0px;
}
.nav-link.active {
	background-color: slategrey !important;
}
.nav-link:hover {
	background-color: lightslategrey !important;
	color: black !important;
}

/* Dropdown menus */
.dropdown-submenu {
	position: relative;
	color: black;
	font-size: 14px;
	padding-left: 0px;
	padding-right: 0px;
}
.dropdown-submenu .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -1px;
	color: white;
	font-size: 14px;
	padding-left: 0px;
	padding-right: 0px;
}
.dropdown-item {
	color: black !important;
}
.dropdown-item:hover {
	background-color: lightslategrey !important;
}

#myTab a {
	padding-left: 7px;
	padding-right: 7px;
}

/* Carousel */
.carousel {
	height: 500px;
}
.carousel-inner img {
	width: 90%;
	height: 90%;
}
.carousel-control-prev,
.carousel-control-next {
	margin: 100px 0;
	border-radius: 30px;
	height: 26%;
	top: 43%;
	width: 46px;
	background: black;
}
.h1-carousel {
	width: 100%;
	text-align: center;
	color: white;
	text-shadow: 1px 1px 2px rgba(2, 15, 19, 0.70);
	font-family: Serif;
	font-style: normal;
	font-weight: 400;
	font-size: 4vw;
	transition: 0.4s;
}
.carousel-caption {
	position: absolute;
	top: 40%;
	opacity: 1;
	transition: 0.4s;
}
.person {
	border: 10px solid transparent;
	margin-bottom: 25px;
	width: 80%;
	height: 80%;
	opacity: 0.7;
}
.person:hover {
	border-color: #f1f1f1;
}

/* Mobile view */
@media (max-width: 991px) {
	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; }
}

/* Desktop view */
@media only screen and (min-width: 992px) {
	.largetable, .largemenu { display: block; }
	.smalltable, .smallmenu { display: none; }
}

/* Miscellaneous */
.logo {
	margin: 0px !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* jQuery UI Datepicker */
.ui-datepicker {
	background-color: gainsboro;
	border: 1px solid #ccc;
	padding: 4px;
	border-radius: 6px;
}