BODY {
	background-color: black;
	background-image: url(/_tmk_bg.png);
	background-repeat: repeat-y;
	font-family: helvetica,arial,sans-serif;
	font-size: 10pt;
	color: #a8a8a8;
}


/*
Removed because this made non-resized images look pixelated on certain devices :(
2021-02-27

img[src$=".gif"], img[src$=".png"] {
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
}
*/

/* added temporarily - see note above
div.pagelogo img { image-rendering:auto; }
td.leftmenu img { image-rendering:auto; }
table.feat img  { image-rendering:auto; }
img.gameinfo-ss { image-rendering:auto; }
img.to_top { image-rendering:auto; }
div.bug-ss img { image-rendering:auto; }
*/

img.pixelated-zoom,
.pixelated-zoom img {
	/* use this for resized pixel stuff */
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
}

table.generictable {
	font-family: helvetica, arial, sans-serif;
	border-collapse:collapse;
	margin-left: .5em;
}
.generictable th, .generictable td {
	border: 1px solid #505050;
	padding: .2em;
}
.generictable th {
	font-family: verdana, helvetica, arial, sans-serif;
	text-align: left;
	font-weight: bold;
}
.centered-cells th, .centered-cells td {
	text-align:center;
}

table td.num, table th.num {
	text-align:right;
}

div.adcode {
	text-align:center;
	margin-top:1em;
}
div.pagelogo img {
	margin-bottom: 1em;
}

TABLE.main {
	margin:0;
	font-family: helvetica, arial, sans-serif;
	font-size: 10pt;
}
table.main td {
	vertical-align: top; /* Opera */
}

TD.leftmenu {
	padding: 0px;
	width: 128px;
}

TD.content {
	padding-left: 32px;
}

TD.content UL {
	line-height: 1.3em;
}

/*** menu ***/

div#menublock-wrapper {
	font-size: .75em;
	font-family: helvetica, arial, sans-serif;
	margin:0;
	padding:0;
	border:0;
	background-color: black;
	background-image: url(_menu_back.png);
	background-repeat: repeat-y;
	width:126px;
}
div#menublock-wrapper img {
	border:0; /* IE9 */
}
div#menublock-top {
	height:8px;
	background-image: url(_menu_top.png);
	background-repeat: no-repeat;
}
div#menublock-middle {
	padding: .3em 0 .3em .5em;
}
div#menublock-bottom {
	height:8px;
	background-image: url(_menu_bot.png);
	background-repeat: no-repeat;
}
SPAN.menubull {
	font-size: 10px;
	color: #f8f800;
}

/*** menu (legacy) ***/

TABLE.menublock {
	border-collapse:collapse;
	width: 126px;
	border: 0px;
	padding: 0px;
	background-color: black;
	background-image: url(/_menu_back.gif);
	background-repeat: repeat-y;
	font-family: helvetica, arial, sans-serif;
	font-size: 10px;
	margin: 0px;
}
TABLE.menublock TD {
	padding-left: 6px;
	width: 126px;
	vertical-align: top; /* Opera 7 */
}
TD.menublock-top {
	width: 126px;
	height: 8px;
	background-image: url(/_menu_top.gif);
	background-repeat: no-repeat;
	font-size: 6px;
}
TD.menublock-middle {
	white-space: nowrap;
}
td.menublock-middle img {
	border:0;
}
TD.menublock-bottom {
	width: 126px;
	height: 8px;
	background-image: url(/_menu_bot.gif);
	background-repeat: no-repeat;
	font-size: 6px;
}

TABLE.search { /* table because of IE6 */
	border-collapse:collapse;
	font-size: 10px;
	margin-bottom: 1em;
	margin-top: .5em;
	font-family: helvetica, arial, sans-serif;
	vertical-align: middle;
}

INPUT.searchbox {
	font-family: helvetica, arial, sans-serif;
	font-size: 10px;
	border: 1px solid #003366;
	background-color: #000000;
	color: #888888;
	width: 96px;
	height: 16px;
	padding-left: 1px; /* Firefox 0.9.2 */
}

TD.searchicon {vertical-align: middle;}

INPUT.searchicon {
	padding-left: 2px;
	width: 16px; height: 16px;
	border: 0px;
}

a:link, a:visited {color: #4888b8; text-decoration: none;}
a:active, a:hover {color: #00f800; text-decoration: underline;}
A:link.red, A:visited.red {color: #F80000;}
A:hover.red {color: #00F800;}
A:link.yellow, A:visited.yellow {color: #F8F800;}
A:hover.yellow {color: #00F800;}
A:link.gray, A:visited.skip {color: #C8C8C8;}
A:hover.gray {color: #00F800;}
A:link.skip, A:visited.skip {color: #C8C8C8;}
A:hover.skip {color: #00F800;}
A:hover.ex {color: #00F800; text-decoration: none;}

img.tn, p.tn img /* IE6 */
{
	border: 2px solid #4888b8;
}

/* No hover color for e-mail addresses - @ is an image */
:hover.at {color: #4888b8;}
IMG.at {vertical-align: text-bottom;}

.title {
	font-family: verdana, helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 18pt;
	color: #F80000;
}
A.title {
	font-family: verdana, helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 18pt;
	color: #F80000;
	text-decoration: underline;
}
A:visited.title, A:hover.title {
	color: #F80000;
	text-decoration: underline;
}

IMG.to_top { float: right; border: 0px; }

/* darker text for non-Mario list items */
.dim {color: #666666;}

.red {color: #F80000;}
.yellow {color: #F8F800;}
.blue {color: #3878F8;}
.green {color: #00F800;}
.grey {color: #CCCCCC;}

.sub, .sub:hover, .sub:visited, .sub:active {
	font-family: helvetica, arial, sans-serif;
	margin-left: 1px;
	font-weight: bold;
	font-style: italic;
	color: #f8f800;
	font-size: 10pt;
}
A.sub, A.sub:hover, A.sub:visited, A.sub:active  {
	font-family: helvetica, arial, sans-serif;
	font-weight: bold;
	font-style: italic;
	color: #f8f800;
	margin-left: 1px;
	font-size: 10pt;
	text-decoration: none;
}

.subdelimiter {
	font-family: helvetica, arial, sans-serif;
	margin-left: 1px;
	font-weight: bold;
	color: #a8a800;
	font-size: 10pt;
}


div.pagetitle {width:100%; margin-bottom: 1em;}

/* Headings */

SPAN.head, FONT.head, .head, h3.head {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #bbbbbb;
	font-size: 1.3em;
	border-bottom: 1px solid #555555;
	display:block;
}
SPAN.subhead, FONT.subhead {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #f80000;
	font-size: 10pt;
}

h3.head:target::before {
	content: "\2BC8";
	color: #185888;
	margin-right: .1em;
}

h2 {
	font-family: verdana, helvetica, arial, sans-serif;
	font-size: 1.4em;
	margin-bottom: 0;
}
/* Links under H2 */
div.gametitlelinks {
	font-size: .85em;
	margin-left: .2em;
}

H4.subhead {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-weight: bold;
	color: #bbbbbb;
	font-size: 1.05em;
	margin-top: 1.4em;
}

h5 {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 1em;
	color: #bbbbbb;
}

a[name]:hover { text-decoration:none; }

/* Mailbag submission */
.wrc {color: #8899AA;}

/* Password font (monospace) */
.pw {
	font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

/* codes pages - separate codes from spoilers */
div.spoilerwarning {
	border-bottom: 1px solid #3878f8;
	border-top: 1px solid #3878f8;
	font-family: Verdana, Helvetica, Arial, sans-serif;
}


.inlisthead {	/* headings inside OL/UL */
	font-weight: bold;
	margin-left: -2.8em;
}


/*** _images.shtml tables ***/

TABLE.img {
	border: 0px solid #383838;
	background-color: #383838;
	padding: 0px;
	margin-left: 3px;
	margin-top: 0px;
	font-family: Arial;
	font-size: 10pt;
}
TR.img {
	background-color: #000000;
}
TD.img-head {
	font-weight: bold;
	font-family: Verdana;
	font-size: 10pt;
	padding: 3px;}
TD.img {
	padding: 3px;
}


/*** J2E table ***/

TABLE.j-e {
	border: 1px outset #666666;
	font-family: Arial;
	font-size: 10pt;
}
TABLE.j-e TH {
	text-align: left;
	font-weight: bold;
	border: 1px inset #333333;
}

TABLE.j-e TD {
	border: 1px inset #333333;
}
TD.j-e-span {
	letter-spacing: .3em;
	text-align: center;
	font-style: italic;
	border: 1px inset #333333;
}

IMG.j2e {
	margin-left: 1em;
	margin-bottom: .5em;
}

/* page sections */

DIV.botnav {
	margin-top: 2.5em;
	font-weight: bold;
}
DIV.footer {
	font-size: 10px;
}


DIV.pagenav-top {
	margin-top: .7em;
	margin-left: 3em;
	margin-bottom: 1.3em;
	font-size: 10px;
}
DIV.pagenav-bottom {
	margin-top: 15px;
	font-size: 10px;
	clear:both;
}

DIV.pagejump-top {
	margin-top: .7em;
	margin-bottom: 1.3em;
	font-family: verdana,helvetica,arial,sans-serif;
	font-weight:bold;
}
DIV.pagejump-bottom {
	margin-top: 1em;
	font-family: verdana,helvetica,arial,sans-serif;
	font-weight:bold;
}
div.pagenote {
	border:  2px dotted #c8c800;
	padding: .6em;
	font-family: verdana,helvetica,arial,sans-serif;
}

/* Individual credit */
DIV.credit {
	font-size: 10px;
}

/* Special thanks on bottom of pages */
DIV.credits {
	font-size: 10px;
	padding-top: 10px;
}

/* 3 newest additions to sections */
DIV.newstuff {
	font-size: 10pt;
}
img.new {
	width: 32px; height: 12px;
}

div.zmvlink {
	margin-left: 20px;
}

/* superscript */
span.sup {
	vertical-align: top;
	font-size: 10px;
}

/* KTN button */
div.gsbutton img {
	padding-top:.8em;
	border:0px;
}

div.hr {
	border-bottom: 1px solid #303030;
	margin: 1em 0 1em 0;
}
div.hr2 {
	border-bottom: 1px solid #303030;
	margin: 2em 0 2em 0;
}

/* HTML5 soundclips */

div.soundclips {
	margin-left: 1em;
	margin-top: .2em;
}
span.soundclips-arrow {
	font-weight: bold;
	font-family: verdana, helvetica, arial, sans-serif;
	font-size: 1em;
}

audio:not([controls]) { display: none; height: 0; } /* iOS */

img.img-play-stop {
	cursor: pointer;
	vertical-align: text-bottom;
	padding: 0 .3em 0 0;
}
img.soundclipcompare-right {
	margin-left: .6em;
}
