/* *************************************************** A new-ish hope-ish */

:root {
	--caslonShadow: rgb(255 255 255 / 30%) 1px 1px 0;
	--legacyLink: #7a120a;
	--lightAccent: rgb(255 255 255 / 25%);
	--darkAccent: rgb(0 0 0 / 10%);
}

html {
	scroll-behavior: smooth;
}

body {
	background: url(/Glue/Images/clouds.webp) 0 0;
	margin: 20px 10px;
}


@font-face {
	font-display: swap;
	font-family: 'CaslonAntique';
	font-style: normal;
	src: local('CaslonAntique') local('Caslon Antique'), , url('/images/efmi.TTF') format('truetype');
}

code {
	background: var(--darkAccent);
}

hr {
	border: 0;
	border-top: 2px solid rgb(0 0 0 / 20%);
	margin: 35px auto;
	width: 50px;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

#mobileMenuButton {
	display: none;
}

#footer,
#container,
#inner {
	background-image: unset;
	min-width: 700px;
	max-width: 1000px;
	width: 100%;
}
	#container {
		position: relative;
	}

		#container::after,
		#container::before {
			background: url(/images/themes/default/reed.gif) 0 0;
			content: ' ';
			height: 100%;
			left: -3px;
			position: absolute;
			top: -3px;
			width: 3px;
		}
		
			#container::before {
				left: unset;
				right: -3px;
			}

	
	#inner {
		position: relative;
	}
	
		#inner::after {
			background: url(/images/themes/default/topbar.gif) 0 0;
			content: ' ';
			height: 3px;
			left: 0;
			position: absolute;
			top: -3px;
			width: 100%;
		}
	
	#header {
		background: url(/images/wood.webp) 0 0;
		height: unset;
		position: relative;
		width: 100%;
	}
	
	#footer {
		bottom: -3px;
		left: 0;
		position: absolute;
	}
	
		#footer::before {
			background: url(/images/themes/default/topbar.gif) 0 0;
			content: ' ';
			height: 3px;
			left: -3px;
			position: absolute;
			top: -3px;
			width: calc(100% + 6px);
		}
	
	#mobileHeader > span {
		background: url(/images/themes/default/topbar.gif) 0 0;
		bottom: 0;
		height: 3px;
		left: 0;
		position: absolute;
		width: 100%;
	}

	#inner {
		display: grid;
		grid-template-columns: 300px auto;
	}
	
		#inner > nav,
		#inner > [role="main"] {
			display: unset;
			width: unset;
		}
		
			#nav {
				/* background: transparent url(/images/bs2.webp) 0 0 no-repeat; */
				background: unset;
				background-size: 320px;
				font: bold 14pt/1.5em CaslonAntique, serif;
				height: 100%;
				padding: 185px 0 0;
				position: relative;
				width: 100%;
			}
			
				#innerNav::after {
					/*background: url(/images/themes/default/reed.gif) 0 0;
					content: ' ';
					height: calc(100% + 3px);
					position: absolute;
					right: -3px;
					top: -23px;
					width: 3px;*/
				}
			
				#logo {
					left: 50%;
					position: absolute;
					top: -7px;
					transform: translateX(-50%);
					width: 245px;
					z-index: 1;
				}
			
				.menu {
					margin: 0 10px 15px;
					overflow: hidden;
				}


	.innerMenu.innerGridMenu {
		display: grid;
		gap: 3px;
		grid-template-columns: repeat(3, 1fr);
		list-style: none;
		margin: 0 auto;
		/* padding: 3px 0; */
		width: calc(100% - 6px);
	}
	
		.innerMenu.innerGridMenu li {
			list-style: none;
			margin: 0;
			padding: 0;
		}
		
		form.menu .innerGridMenuSingle li p,
			.innerMenu.innerGridMenu li a {
				background: rgb(0 0 0 / 10%);
				border: 1px solid rgb(0 0 0 / 20%);
				display: block;
				height: 100%;
				position: relative;
				text-align: center;
				width: 100%;
			}
		
		.innerMenu.innerGridMenu span {
			display: none;
		}
		
		.innerMenu.innerGridMenu img {
			
			width: 90%;
		}
		
			.innerMenu.innerGridMenu.innerGameMenu li:nth-of-type(1) img { transform: translateY(9px); height: unset;}
			.innerMenu.innerGridMenu.innerGameMenu li:nth-of-type(2) img { transform: translateY(5px); height: unset;}
			.innerMenu.innerGridMenu.innerGameMenu li:nth-of-type(3) img { transform: translateY(8px); height: unset;}
			.innerMenu.innerGridMenu.innerGameMenu li:nth-of-type(4) img { transform: translateY(7px); height: unset;}
			.innerMenu.innerGridMenu.innerGameMenu li:nth-of-type(5) img { transform: translateY(8px); height: unset;}
			.innerMenu.innerGridMenu.innerGameMenu li:nth-of-type(6) img { transform: translateY(6px); height: unset;}

	.innerMenu.innerGridMenu.innerGridMenuSingle {grid-template-columns: 100%;}
	.innerMenu.innerGridMenu.innerGridMenuDuo {grid-template-columns: repeat(2, 1fr);}

		form.menu .innerGridMenuSingle li p,
		.innerMenu.innerGridMenuSingle li a {
			box-sizing: border-box;
			font-size: 18px;
			font-weight: bold;
			margin: 0;
			text-align: left;
			padding: 5px 15px;
		}

.siteNavigator>ul {
	margin: 0;
	padding: 0;
}

.siteNavigator>ul>li {
	font-weight: bold;
	list-style: none;
	margin: 0;
	padding: 0;
}

.siteNavigator>ul>li a {
	font-weight: normal;
}

.gluePlatformSelector {
	text-align: center;
}

.glueTable.glueScreenshotCell td {
	padding: 1px;
}

	.glueTable.glueScreenshotCell td figure {
		margin: 0;
		padding: 0;
	}
	
.glueTable .glueTableCellNoPadding {
	line-height: 0;
	padding: 0;
}

	.glueTable .glueTableCellNoPadding img {
		width: 100%;
	}

.glueGameTable td {
	vertical-align: top;
}

.glueGameTable td:nth-of-type(2) {
	text-align: center;
}

	.glueGameTable td ul {
		list-style-type: square;
		margin: 0;
		padding: 0 0 0 15px;
	}
	
	.glueGameTable td strong,
	.glueGameTable td a {
		display: block;
		padding: 2px 0;
	}

.glueGameTable h4 {
	margin: 0;
}

.glueTableReleaseDates td:first-of-type {
	white-space: nowrap;
}

	.glueTableReleaseDates ul {
		margin: 0;
		padding: 0 0 0 20px;
	}
	
.glueTableReleaseDates small { display: none; }

form.menu .innerGridMenuSingle li p {
	box-sizing: border-box;
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(2, auto);
}
			
	select,
	input,
	button {
		border: 1px solid rgb(34 10 86);
		box-sizing: border-box;
		border-radius: 0;
		color: rgb(0 0 0);
		font: 16px/1.2em sans-serif;
		padding: 5px;
		width: 100%;
	}
	
		button,
		[type="submit"] {
			background: rgb(36 24 17);
			color: rgb(255 255 255);
			padding-left: 10px;
			padding-right: 10px;
			text-shadow: rgb(0 0 0) 1px 1px 0;
		}
	
	#archiveBrowser {
		align-items: end;
		display: flex;
		gap: 5px;
		text-align: left;
	}
	
		#archiveBrowser p { margin: 0; }
	
		#archiveBrowser [type="submit"] {
			/* margin-top: 21px; */
		}
	
.menuHeading span:nth-of-type(2) {
	font: bold 14pt/1.5em CaslonAntique, serif;
	text-shadow: var(--caslonShadow);
}



[role="main"] {
	padding: 20px 0 0;
}

a,
a:visited {
	color: var(--legacyLink);
	font-family: unset;
}

.article {
	font-size: 16px;
	line-height: 1.3em;
}

	.article .mdbGenericHolder div {
		/* line-height: 0; */
	}
	
	.glueImgHolder {
		line-height: 0;
		position: relative;
	}
	
		.glueImgHolder::before,
		.glueImgHolder::after {
			background: url(/images/themes/default/reed.gif) 0 0;
			content: ' ';
			height: 100%;
			left: -3px;
			position: absolute;
			top: 0;
			width: 3px;
		}
		
			.glueImgHolder::after {
				left: unset;
				right: -3px;
			}
			
			.glueTube .glueImgHolder::after {display: none;}

.articleHeader {
	position: relative;
}

.pageHeaderInner,
.headerFont,
.articleHeaderTitle,
.articleHeaderTitle a,
#mdbPlatformPicker h3,
.mdbVideoHeader .pageHeaderTitle,
.mdbGenericHeader .pageHeaderTitle {
	color: rgb(0 0 0);
	font: bold 16pt/1.3em CaslonAntique, serif !important;
	text-shadow: var(--caslonShadow);
}

	.pageHeaderImageFrame {
		display: none;
	}

.articleHeader time {
	font-size: 14px;
}

	.mdbGenericHolderTrivia h4,
	h4 {
		font: bold 14pt/1.3em CaslonAntique, serif !important;
		text-shadow: var(--caslonShadow);
	}
	
	.mdbGenericHolderTrivia .right {
		font-weight: bold;
	}

iframe {
	width: 100%;
}

blockquote p {
	margin: 0 0 15px 10px;
	position: relative;
	z-index: 1;
}

blockquote>p:first-of-type::before {
	color: rgb(0 0 0 / 5%);
	content: '\201C';
	font-family: serif;
	font-size: 158px;
	left: -60px;
	position: absolute;
	top: 35px;
	z-index: 0;
}

blockquote cite {
	display: block;
	padding: 10px;
}

[role="main"] .innerGameMenu {
	margin: -10px auto 20px;
	position: relative;
	z-index: 0;
}

	nav .innerGameMenu a.selected,
	[role="main"] .innerGameMenu a.selected {
		background: rgb(255 255 255 / 30%);
		position: relative;
	}
	
		[role="main"] .innerGameMenu a.selected::after {
			background: var(--legacyLink);
			border-radius: 30px;
			border: 2px solid #fff;
			bottom: 5px;
			color: #fff;
			content: '✔';
			line-height: 30px;
			position: absolute;
			text-align: center;
			right: 5px;
			width: 30px;
		}

#gamesHeader,
.glueTable {
	border-collapse: collapse;
	margin-bottom: 20px;
	position: relative;
	width: 100%;
}

	.glueTable::after,
	.glueTable::before {
		content: ' ';
		background: url(/images/themes/default/reed.gif) 0 0;
		height: calc(100% + 3px);
		left: -3px;
		position: absolute;
		top: 0;
		width: 3px;	
	}
	
		.glueTable::after {
			left: unset;
			right: -3px;
		}

	.glueTable caption {
		background: url(/images/themes/default/windowbackground.gif) 0 0;
		font: bold 18px/1.2em CaslonAntique, serif;
		padding: 5px;
		position: relative;
		text-shadow: var(--caslonShadow);
	}
	
		.glueTable caption a {
			text-shadow: none;
		}
	
	
	.glueTable td,
	.glueTable th	{
		padding: 13px 8px 10px;
		position: relative;
	}
	
		.glueTable th {
			font: bold 18px/1.2em CaslonAntique, serif;
		}
	
		.glueTable tr:nth-of-type(even) td {
			background: rgb(255 255 255 / 10%);
		}
		
		#mdbPlatformPicker > li,
		.glueTable tr:nth-of-type(odd) td {
			background: var(--lightAccent);
		}
	
		.glueTable caption::after,
		.glueTable caption::before,
		.glueTable th::after,
		.glueTable td::after {
			content: ' ';
			background: url(/images/themes/default/topbar.gif) 0 0;
			bottom: -3px;
			height: 3px;
			left: 0;
			position: absolute;
			width: 100%;
		}
		
		.glueTable caption::before {
			bottom: unset;
			left: -3px;
			top: -3px;
			width: calc(100% + 6px);
		}
		
		.glueTable td::before,
		.glueTable th::before {
			content: ' ';
			background: url(/images/themes/default/reed.gif) 0 0;
			height: 100%;
			right: -3px;
			position: absolute;
			top: 0;
			width: 3px;	
		}

.glueCreditsTable td {
	vertical-align: top;
}

	.glueCreditsTable td:first-of-type {
		font-weight: bold;
		width: 33%;
	}
	
.musicTable td:nth-of-type(2) {
	text-align: center;
}

.musicTable td:last-of-type {
	text-align: right;
	width: 100px;
}

.musicTable td:last-of-type span {
	display: block;
}

#articleMediaBrowser table .mobileStrong { display: none; }

/*.article li {
	list-style-image: url(/images/themes/default/midarrow.gif);
}*/

.glueTube {
	margin: 20px 0;
	padding: 0;
	position: relative;
}

	.menu .glueTube {
		margin: 3px;
	}

	.glueTube div {
		line-height: 0;
		position: relative;
	}

	.glueTube>div::after,
	.glueTube>div::before {
		content: ' ';
		background: url(/images/themes/default/reed.gif) 0 0;
		height: 100%;
		right: -3px;
		position: absolute;
		top: 0;
		width: 3px;	
	}
	
		.glueTube>div::before {
			left: -3px;
			right: unset;
		}
	
	.glueTube::after,	
	.glueTube::before,
	.glueTube figcaption::before {
		content: ' ';
		background: url(/images/themes/default/topbar.gif) 0 0;
		bottom: -3px;
		height: 3px;
		left: -3px;
		position: absolute;
		width: calc(100% + 6px);
	}
	
		.glueTube::before,
		.glueTube figcaption::before {
			bottom: unset;
			top: -3px;
		}
		
	.glueTube figcaption {
		background: var(--lightAccent);
		font-size: 90%;
		line-height: 1.1em;
		padding: 10px;
		position: relative;
	}
	
		.glueTube figcaption {
			background: #dfd0b3;
			font: 13px/1.1em verdana, sans-serif;
			margin-top: 3px;
		}
		
	.glueTube img,
	.glueTube iframe,
	.glueTube video {
		height: unset;
		max-width: 100%;
		width: 100%;
	}
	
	.glueTube iframe {
		height: 350px;
	}
	
	.glueTube blockquote {
		background: #dfd0b3;
		line-height: 1.3em;
		margin: 0;
		padding: 10px;
	}
	
		.glueTube blockquote p:first-of-type { margin-top: 0; }
		.glueTube blockquote p:last-of-type { margin-bottom: 0; }
		
		.menu .glueTube blockquote p:last-of-type {
			font: 13px/1.1em verdana, sans-serif;
			text-align: right;
		}

/* ######################### ReMI Trivia ######################### */

.remiTriviaTable ul {
	margin: 0;
	padding: 0;
}

.remiTriviaTable li {
	display: none;
}

.remiTriviaTable.show li,
.remiTriviaTable li.correctAnswer {
	display: block;
}

	.remiTriviaTable.show li.correctAnswer { font-weight: bold; }

.pageJumpTable {
	text-align: center;
}

	.pageJumpTable a {
		display: block;
		height: 100%;
		width: 100%;
	}

/* ######################### Show/Hiders ######################### */

.toggleShowHide {
	font-weight: bold;
}


.showHide {
	display: none;
}

.showHide.show {
	display: block;
}


/* ######################### Figure Columns ######################### */

.glueFlexColumns {
	margin: 0;
	padding: 0;
}

	.glueFlexColumns>div {
		display: flex;
		gap: 20px;
	}
	
	.glueFlexColumns figcaption {
		font-size: 12px;
		font-weight: bold;
		text-align: center;
	}
	
	.glueFlexColumns .glueTube {
		margin-bottom: 0;
	}

/* ######################### Character Grid ######################### */

.characterGrid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 40px;
}

	.characterGrid figure {
		margin: 0;
		padding: 0;
		text-align: center;
	}
	
		.characterGrid figure a::after,
		.characterGrid figure a::before {
			background: url(/images/themes/default/reed.gif) 0 0;
			content: ' ';
			height: calc(100% + 3px);
			left: 0;
			position: absolute;
			top: -3px;
			width: 3px;
		}
		
			.characterGrid figure a::after {
				left: unset;
				right: 0;
			}

	.characterGrid a {
		background: rgb(0 0 0 / 10%);
		box-sizing: border-box;
		display: block;
		line-height: 0;
		overflow: hidden;
		position: relative;
		text-align: center;
		width: 100%;
	}

	.characterGrid figcaption {
		font-size: 90%;
		font-weight: bold;
		line-height: 1.2em;
	}
	
		.characterGrid figcaption span {
			display: block;
			font-weight: normal;
		}

/* ######################### Menu Closer ######################### */

.menuCloser {
	background: #dfd0b3;
	display: none;
	margin: 0 auto;
	position: relative;
	text-align: center;
	width: 150px;
}

.menuCloser span {
	background: url(/images/themes/default/topbar.gif);
	display: block;
	height: 3px;
	width: 100%;
}

.menuCloser::before,
.menuCloser::after {
	content: ' ';
	background: url(/images/themes/default/reed.gif) 0 0;
	top: 0;
	height: 100%;
	left: -3px;
	position: absolute;
	width: 3px;
}

	.menuCloser::after {
		left: unset;
		right: -3px;
	}

.menuCloser a {
	display: block;
	line-height: 42px;
}

/* ######################### Mobile ######################### */

@media(max-width: 850px) {
	/*@font-face {
		font-family: 'OneSize';
		src: url('/layout/themes/defaultest/ONESIZE_.TTF')  format('truetype');
	}*/
	
	#container,
	#inner,
	#footer {
		min-width: 300px;
	}
	
	#inner > [role="main"] {
		display: block;
		/* padding-top: 30px; */
		padding: 30px 0 10px; 
	}
	
	#nav {
		padding: 0 0 0;
	}
	
	#inner {
		display: block;
	}
	
	#header {
		height: 100px;
	}
	
	#header #logo {
		height: unset;
		top: -5px;
		width: 190px;
		z-index: 3;
	}
	
	#innerNav {
		background: url(/images/wood.webp) 0 0;
		margin: 0 auto;
		max-width: 330px;
		min-width: 330px;
		padding: 10px 0 1px;
		position: relative;
		top: 120px;
		transform: scale(0) rotate(33deg) perspective(600px);
		transform-origin: top center;
		transition: .3s all;
		visibility: hidden;
		width: 100%;
		z-index: 2;
	}
	
		#innerNav::after,
		#innerNav::before {
			/* background: url(/images/themes/default/reed.gif) 0 0; */
			content: ' ';
			height: calc(100% + 3px);
			left: -3px;
			position: absolute;
			top: -3px;
			width: 3px;
		}
	
			#innerNav::before {
				background: url(/images/themes/default/topbar.gif) 0 0 repeat-x;
				left: 0;
				width: 100%;
			}
	
	.menu {
		margin: 0 10px 10px;
		position: relative;
	}
	
		#highlights::before {
			background: url(/images/themes/default/topbar.gif) 0 0;
			content: ' ';
			height: 3px;
			left: -10px;
			position: absolute;
			top: -13px;
			width: calc(100% + 20px);
		}
		
			#oldStuff:last-of-type::after {
				background: url(/images/themes/default/topbar.gif) 0 0;
				bottom: -13px;
				content: ' ';
				height: 3px;
				left: -13px;
				position: absolute;
				width: calc(100% + 26px);
			}
			
	#mobileMenuButton {
		background: url(/images/themes/default/reed.gif) 0 0;
		border: 0;
		border-radius: 0;
		color: #7a120a;
		display: block;
		padding: 0;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		width: 105px;
		z-index: 1;
	}
	
		#mobileMenuButton span:nth-of-type(2) {
			background: #dfd0b3 url(/images/themes/default/windowbackground.gif) 0 0;
			display: block;
			font: bold 24px/1em CaslonAntique, serif;
			margin: 0 3px;
			padding: 15px 0;
		}
		
		#mobileMenuButton span:first-of-type,
		#mobileMenuButton span:last-of-type {
			display: block;
			background: url(/images/themes/default/topbar.gif) 0 0;
			height: 3px;
		}
		
		#innerNav.shower {
			opacity: 1;
			transform: scale(1) rotate(0) perspective(0);
			transition: .3s all;
			visibility: visible;
			z-index: 2;
		}
	
	.menuCloser {
		display: block;
		margin: 0 auto 20px;
	}
	
	[role="main"] .article:last-of-type {
		margin-bottom: 20px;
	}
}

#lightboxContainer[aria-hidden="true"] * {
  display: none;
}

#lightboxContainer[aria-hidden="false"] * {
  display: unset;
}


@media(max-width: 480px) {
	#header #logo {
		left: -5px;
		transform: unset;
		width: 150px;
	}
	
	.glueGameTable td:nth-of-type(2) {
		display: none;
	}
	
	#mdbPlatformPicker {
		grid-template-columns: 100% !important;
	}
}

@media(max-width: 395px) {
	
	.glueTableReleaseDates td:first-of-type {
		white-space: unset;
	}
	
	.glueTableReleaseDates td:nth-of-type(2),
	.glueTableReleaseDates th:nth-of-type(2) {
		display: none;
	}
	
	.glueTableReleaseDates small { display: block; }
	
	#articleMediaBrowser th:nth-of-type(2),
	#articleMediaBrowser td:nth-of-type(2) {
		display: none;
	}
	
	#articleMediaBrowser table .mobileStrong { display: inline; }
}