/* Cascading Style Sheet for American Wrestling Trivia
 * © 2000-2023 Peter Krefting
 */

/* Standard colours */
body {
	color: black;
	background: white;
}

/* Link colours */
a:link {
	color: #00c;
	background-color: inherit;
}

a:active {
	color: #800;
	background-color: inherit;
}

a:visited {
	color: #008;
	background-color: inherit;
}

a:hover {
	color: #800;
	background: inherit;
}

/* Linked logo */
h1 a img {
	border: none;
}

/* Columns for year list */
.eventlist {
	column-width: 25em;
}

/* Make definition lists pretty */
dt {
	text-indent: 0;
	margin-top: 1em;
	margin-bottom: 0;
	font-weight: bold;
	text-decoration: underline;
	margin-left: 1em;
}

dd {
	text-indent: 0;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
}

/* Navigation box */
div.navigation {
	text-align: center;
	border: 5px solid black;
	padding: 5px;
	background: #262;
	color: #8f8;
}

div.navigation a:link {
	color: white;
	background: inherit;
}

div.navigation a:hover, div.navigation a:active {
	color: white;
	background: #484;
}

div.navigation a:visited {
	color: #ccc;
	background: inherit;
}

/* Panel */
div.panel, p.panel {
	text-align: left;
	border-left: 4px solid #eef;
	padding: 0.5em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

div.panel p {
	margin-top: 0;
}

/* Year, tournament, section, title */
div.year {
	margin-top: 0.5em;
}

div.year h1, div.tournament h1, div.section h1, div.title h1, div.finstilt h1 {
	margin: 0;
	background: #444;
	color: #ff4;
	text-align: center;
	font-family: "Verdana", "Arial", sans-serif;
	font-size: 2em;
	font-weight: bold;
	text-decoration: none;
}

div.tournament p, div.section p, div.title p, div.title form, div.comment form {
	margin: 1em;
}

div.title h2 {
	margin: 1em;
	text-decoration: underline;
}

/* Section */
div.section dt {
	text-indent: 0;
	margin-top: 1em;
	margin-bottom: 0;
	font-weight: bold;
	margin-left: 1em;
	margin-right: 1em;
}

dl.changelog dt, dl.yearindex dt {
	text-indent: 0;
	display: block;
	background: black;
	color: #dfd;
	margin: 0.5em 0;
	padding: 0 1em 1px;
	font-family: "Verdana", "Arial", "Helvetica", "Helv", sans-serif;
	text-decoration: none;
}

dl.changelog dd, dl.yearindex dd {
	text-indent: 0;
	margin: 0 1em 1em 1em;
	color: #002;
}

div.section dd {
	text-indent: 0;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 1em;
	margin-right: 1em;
}

div.section h2, div.section h3 {
	margin-left: 1em;
	margin-right: 1em;
	text-decoration: underline;
}

/* Card */
div.card, div.contributors, div.tournament {
	border: thin solid black;
	position: relative;
	clear: both;
}

div.card, div.contributors, div.tournament {
	margin: 1em 0.5em;
	background: white;
	color: black;
}

div.card h2, div.contributors h2, div.tournament h2 {
	border: 0;
	margin: 0;
	padding: 0 1em;
	background: black;
	color: #ffc;
	text-align: center;
	font-family: "Nimrod", "Georgia", "Times New Roman", "Times", serif;
	font-size: 2em;
}

div.card h3, div.tournament h3 {
	color: #404;
	text-align: left;
	font-size: 1.2em;
	margin: 0.5em 1em;
}

div.card h4, div.tournament h4 {
	color: #004;
	text-align: left;
	font-size: 1.1em;
	margin: 0.5em 1em;
}

div.card p.watch {
	float: right;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
}

div.card span.date {
	border: 0;
	margin: 0;
	padding: 0 1em;
	background: black;
	color: #aff;
	text-align: center;
	font-family: "Verdana", "Arial", sans-serif;
	font-size: 1.2em;
	display: block;
}

div.card span.date a:link, div.card span.date a:hover {
	color: #fff;
}

div.card span.date a:visited, div.card span.date a:active {
	color: #eee;
}

div.card big {
	font-size: 1.1em;
	font-weight: bold;
	color: #004;
}

div.card p, div.card pre, div.contributors p {
	margin: 1em;
}

div.card small {
	font-size: 0.9em;
	font-weight: normal;
	color: #666;
}

/* Royal Rumble, War Games and round-robin tournaments */
table.rr, table.war, table.score, table.winners {
	border-collapse: collapse;
}

table.score, table.winners {
	margin: 0 1em;
}

div.score {
	float: right;
}

h3.score {
	clear: right;
}

div.clearfix {
	clear: both;
}

table.rr th, table.rr td, table.war th, table.score th, table.score td, table.winners th, table.winners td {
	border-bottom: 1px solid #eee;
	padding: 2px;
}

table.score th.winner {
	font-weight: bold;
}

table.war td {
	border-bottom: 1px solid #eee;
	padding: 2px 2em;
}

table.rr th, table.war th, table.score th, table.winners th {
	background: #ddd;
	text-align: left;
	font-weight: normal;
}

table.rr td, table.war td, table.winners td {
	text-align: left;
}

table.score td {
	text-align: right;
	padding-right: 1em;
	border-right: 1px solid #eee;
}

table.score td.total {
	font-weight: bold;
}

/* King of the Ring & tournament */
table.king {
	border-collapse: collapse;
	margin: 1em;
}

table.king th, table.king td {
	padding: 2px;
}

table.king td.a {
	border-bottom: 1px solid black;
	vertical-align: bottom;
}

table.king td.b {
	vertical-align: top;
	padding-bottom: .5em;
}

table.king td.a.y, table.king td.b.x, table.king td.m {
	border-right: 1px solid black;
}

table.king td.c {
	border-bottom: 1px solid black;
}

table.king td.m {
	border-bottom: 1px solid black;
	vertical-align: bottom;
}

/* Misc */
div.email {
	text-align: center;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	border: thin solid black;
	font-family: "Verdana", "Arial", sans-serif;
	background: white;
	color: black;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
	content: " \25B4\25BE";
}

/* Format the address field */
address {
	font-style: normal;
	font-weight: normal;
	font-family: "Verdana", "Arial", "Helvetica", "Helv", sans-serif;
	font-size: smaller;
	padding-left: 1em;
	padding-right: 1em;
	text-align: left;
	border-top: thin solid black;
}

address a:link, address a:visited, address a:active {
	font-style: normal;
	font-weight: bold;
	color: #033;
	background: inherit;
	text-decoration: none;
}

address a:hover {
	font-style: normal;
	font-weight: bold;
	color: #099;
	background: inherit;
	text-decoration: none;
}

/* Hidden text */
.hide, dl.changelog dt.hide, dl.changelog dd.hide {
	display: none;
}

/* Hide numbers in certain lists */
ol.nonums {
	list-style-type: none;
}
