body {
	margin: 0;
	background-color: #163f59;
}
.navigation_closed,
a#hamburgerButton {
	left: 20px;
	height: 30px;
	width: 40px;
}
div#page_holder,
div#SAXmlFrame_content {
	background: transparent;
}

div#SAXmlFrame_content {
	padding: 0;
	margin: 0;
}






#meanderFrame {
	font-family: sans-serif;
	font-size: 16px;
	line-height: 30px;
	width: 1000px;
	height: 920px;
	transform-origin: 0 0;
	overflow: hidden;
	position: relative;
	margin: auto;
	background-color: #393;
	color: #DDD;
}
#meanderFrame h1 {
	display: none;
}
#meanderFrame a {
	color: #EEE;
	text-decoration: underline;
}

#meanderFrame button,
#meanderFrame select {
	font-family: sans-serif;
	font-size: 16px;
	padding: 5px 10px;
	height: 40px;
	min-width: 40px;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 0 0 3px black;
	vertical-align: middle;
	text-align: center;
	border-radius: 10px;
	background: darkgreen;
	color: white;
}
#meanderFrame button:hover,
#meanderFrame select:hover {
	box-shadow: 0 0 5px black;
	background-image: linear-gradient(180deg, #FFF1, #0001);
}
#meanderFrame button.i i {
	display: block;
	font-size: 24px;
}
#meanderFrame button.i {
	height: fit-content;
}

.meanderBoard {
	position: relative;
	transform: rotate(45deg);
	transform-origin: 0 0;
	border: 5px solid black;
	box-shadow: 0 0 5px black;
	overflow: hidden;
	background-color: #393;
	border-radius: 40px;
	line-height: 0;
}
.meanderBoard i.tile {
	position: relative;
	display: inline-block;
	height: 80px;
	width: 80px;
	border-radius: 40px;
	background-color: #3A3;
	background-image: url(meander_tile.png), url(felt_texture.80.png), radial-gradient( #fff0, #0001);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 1 1'%3E%3Cpath d='m 0.55,-9.8e-7 c 4e-7,0.303756 -0.2462456,0.55 -0.55,0.55 v -0.1 c 0.243,1e-6 0.45,-0.206997 0.45,-0.45 z M 1,0.45 v 0.1 C 0.757,0.55 0.55,0.757 0.55,1 H 0.45 C 0.45,0.69624202 0.6962434,0.44999702 1,0.45 Z' style='fill:%23000;' /%3E%3C/svg%3E%0A"), url(felt_texture.80.png), radial-gradient( #fff0, #0001);
	background-size: contain;
	box-shadow: 0 0 10px black;
}
.meanderBoard.quest.complete i.tile,
.meanderBoard i.tile:hover {
	background-image: url(meander_tile_white.png), url(felt_texture.80.png), radial-gradient( #fff1, #0000);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 1 1'%3E%3Cpath d='m 0.55,-9.8e-7 c 4e-7,0.303756 -0.2462456,0.55 -0.55,0.55 v -0.1 c 0.243,1e-6 0.45,-0.206997 0.45,-0.45 z M 1,0.45 v 0.1 C 0.757,0.55 0.55,0.757 0.55,1 H 0.45 C 0.45,0.69624202 0.6962434,0.44999702 1,0.45 Z' style='fill:%23FFF;' /%3E%3C/svg%3E%0A"), url(felt_texture.80.png), radial-gradient( #fff1, #0000);
}

.meanderBoard i.tile.rotate90 {
	transform: rotate(90deg);
	animation-name: rotate90;
}
#gameFrameHook{
	position: relative;
	top: 0px;
	left: 50%;
	height: 0px;
	width: 0px;
}
#gameFrame {
	position: relative;
	height: 800px;
	width: 800px;
	top: 0px;
	overflow: visible;
}
#gameFrame i.tile {
	animation-duration: 500ms;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-name: rotate0;
}
#gameFrame i.tile:hover {
	background-color: #3b3;
	box-shadow: 0 0 10px white;
	z-index: 2;
}

#gameFrame i.tile.rotate90 {
	transform: rotate(90deg);
	animation-name: rotate90;
}
.meanderBoard i.tile.empty,
.meanderBoard i.tile.blank {
	background-image: none!important;
	background-color: #393!important;
	border: 35px solid #393;
	margin: -35px;
	position: relative;
	z-index: 1;
	box-shadow: none!important;
}



#meanderFrame.s80 #gameFrame { border-radius: 40px; }
#meanderFrame.s160 #gameFrame { border-radius: 80px; }
#meanderFrame.s160  #gameFrame i.tile {
	border-radius: 80px;
	height: 160px;
	width: 160px;
	box-shadow: 0 0 20px black;
}
#meanderFrame.s60 #gameFrame { border-radius: 30px; }
#meanderFrame.s60 #gameFrame i.tile {
	border-radius: 30px;
	height: 60px;
	width: 60px;
	box-shadow: 0 0 8px black;
}
#meanderFrame.s40 #gameFrame { border-radius: 20px; }
#meanderFrame.s40 #gameFrame i.tile {
	border-radius: 20px;
	height: 40px;
	width: 40px;
	box-shadow: 0 0 5px black;
}
#meanderFrame.s20 #gameFrame { border-radius: 10px; }
#meanderFrame.s20 #gameFrame i.tile {
	border-radius: 10px;
	height: 20px;
	width: 20px;
	box-shadow: 0 0 3px black;
}





#meanderHead {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 5px;
	width: 380px;
	text-align: left;
}
#meanderHead button,
#meanderHead select {
}
#meanderHead button {
	position: relative;
}
#meanderHead:hover button {
}
#meanderHead button:hover,
#meanderHead select:hover {
	opacity: 1;
}
#meanderQuests {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 400px;
}
#meanderQuests .meanderBoard.quest {
	margin-bottom: -200px;
	margin-left: 200px;
	position: relative;
	pointer-events: none;
}
#meanderQuests:hover .meanderBoard {
	z-index: 1;
}
#meanderQuests:hover .meanderBoard:hover {
	z-index: 2;
}
#meanderQuests button {
	position: absolute;
	left: 0px;
	top: 10px;
}
#meanderQuests button {
	position: absolute;
	left: 0px;
	top: 10px;
}
.meanderBoard.quest {
	transform: rotate(45deg) scale(0.4);
	animation-duration: 500ms;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
	animation-name: questIn;
	margin-left: 125px;
}
.meanderBoard.quest.complete {
	z-index: 1;
	opacity: 0;
	border-color: #0A0;
	background: #0A0;
	animation-duration: 1000ms;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-name: questOut;
}
.meanderBoard.quest.skip {
	opacity: 1;
	border-color: transparent;
	background: transparent;
	animation-duration: 1000ms;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-name: questBack;
}
#meanderScore {
	position: absolute;
	top: calc(50% + 150px);
	left: 5px;
	text-align: left;
}
#meanderLog {
	position: absolute;
	top: 700px;
	right: 10px;
	width: 400px;
	font-size: 12px;
	line-height: 12px;
	color: darkgreen;
	text-shadow: none;
	max-height: 280px;
	overflow-y: auto;
	overflow-x: hidden;
}
#meanderLog:hover {
	z-index: 1;
	color: green;
	text-shadow: inherit;
}
#meanderShowPoints {
	position: absolute;
	font-size: 200px;
	z-index: 2;
	color: white;
	text-shadow: 0 0 10px blue;
	display: none;
	pointer-events: none;
}
#meanderShowPoints.anim {
	animation-duration: 1000ms;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-name: meanderShowPoints;
	opacity: 0;
	display: block;
}





/* animations */
@keyframes meanderShowPoints {
	0% {
		transform: scale( 0.01);
		opacity: 1;
		left: 200px;
		top: 300px;
	}
	50% {
		opacity: 1;
		transform: scale( 3);
	}
	100% {
		transform: scale( 0.01);
		opacity: 0;
		left: -200px;
		top: 700px;
	} }
@keyframes questIn {
	from {
		transform: rotate(45deg) scale( 0.01);
		opacity: 0;
	}
	to {
		transform: rotate(45deg) scale( 0.4);
		opacity: 1;
	} }
@keyframes questBack {
	from {
		transform: rotate(45deg) scale( 0.4);
	}
	to {
		transform: rotate(45deg) scale( 0.001);
	} }
@keyframes questOut {
	0% {
		transform: rotate(45deg) scale( 0.4);
		opacity: 1;
		left: 0px;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: rotate(45deg) scale( 2);
		opacity: 0;
		left: -100px;
	} }
@keyframes rotate90 {
	from {
		transform: rotate(0deg); }
	to {
		transform: rotate(90deg); } }
/* rotate reverse */
@keyframes rotate0 {
	from {
		transform: rotate(90deg); }
	to {
		transform: rotate(0deg); } }
/* rotate same direction */
@keyframes rotate180 {
	from {
		transform: rotate(90deg); }
	to {
		transform: rotate(180deg); } }
		






/* settings */
.anim_off *,
.anim_off #gameFrame i.tile.rotate90,
.anim_off .meanderBoard i.tile.rotate90,
.anim_off #gameFrame i.tile,
.anim_off .meanderBoard.quest,
.anim_off .meanderBoard.quest.complete,
.anim_off .meanderBoard.quest.skip {
	animation: none!important;
}
.anim_off .meanderBoard.quest.complete {
	opacity: 1;
}
.anim_off #meanderShowPoints.anim  {
	opacity: 1;
	top: 120px;
	left: 160px;
}
.anim_oneway #gameFrame i.tile {
	animation-name: rotate180;
}
.anim_oneway #gameFrame i.tile.rotate90 {
	animation-name: rotate90;
}

@media handheld, screen and (max-width: 1000px) {
	
}






/*

.tile::before {
	content: ")(";
	position: absolute;
	font-family: monospace;
	font-style: normal;
	font-weight: bold;
	transform: rotate( 44.6deg );
	transform-origin: 0 0;
	font-size: 1em;
	letter-spacing: -0.19em;
	margin: 0.14em;
}
.tile::before {
	font-family: Roboto;
	font-weight: bold;
	transform: rotate( 44.6deg );
	font-size: 1em;
	letter-spacing: 0.30em;
	margin: 0;
	top: 0.10em;
	left: 0.18em;
}
.tile.empty::before,
.tile.blank::before {
	content: none;
	display: none;
}
.tile {
	font-size: 80px;
	overflow: hidden;
}
#meanderFrame.s160 #gameFrame i.tile::before {
	font-size: 2em;
}
#meanderFrame.s60 #gameFrame i.tile::before {
	font-size: 0.75em;
}
#meanderFrame.s40 #gameFrame i.tile::before {
	font-size: 0.5em;
}
#meanderFrame.s20 #gameFrame i.tile::before {
	font-size: 0.25em;
}
*/









/*
skins
*/

















/* dark */
#meanderFrame.dark a {
	color: #DDD;
}
#meanderFrame.dark ,
#meanderFrame.dark button,
#meanderFrame.dark select {
	color: #FFF;
	background-color: #222;
}
#meanderFrame.dark button:hover,
#meanderFrame.dark select:hover {
	background-color: #333;
}
#meanderFrame.dark #gameFrame,
#meanderFrame.dark .meanderBoard {
	background-color: #333;
}
#meanderFrame.dark .meanderBoard i.tile {
	background-color: #333;
}
#meanderFrame.dark #gameFrame i.tile:hover {
	background-color: #333;
}
#meanderFrame.dark .meanderBoard i.tile.empty,
#meanderFrame.dark .meanderBoard i.tile.blank {
	background-image: none;
	background-color: #333!important;
	border: 35px solid #333;
}


/*
LevelOneTech colors #07171f #163f59 #36BDC7 #bfbfbf
*/
/* L1t dark */
#meanderFrame.L1td a {
	color: #DDD;
}
#meanderFrame.L1td,
#meanderFrame.L1td button,
#meanderFrame.L1td select {
	color: #bfbfbf;
	background: #163f59;
}
#meanderFrame.L1td button,
#meanderFrame.L1td select {
	background-color: #07171f;
}
#meanderFrame.L1td #gameFrame,
#meanderFrame.L1td .meanderBoard {
	background-color: #163f59;
}
#meanderFrame.L1td .meanderBoard i.tile {
	background-color: #163f59;
}
#meanderFrame.L1td #gameFrame i.tile:hover {
	background-color: #36BDC7;
}
#meanderFrame.L1td .meanderBoard i.tile.empty,
#meanderFrame.L1td .meanderBoard i.tile.blank {
	background-image: none;
	background-color: #163f59!important;
	border: 35px solid #163f59;
}





/* L1t bright */
#meanderFrame.L1t a {
	color: #DDD;
}
#meanderFrame.L1t,
#meanderFrame.L1t button,
#meanderFrame.L1t select {
	color: #bfbfbf;
	background-color: #163f59;
}
#meanderFrame.L1t #gameFrame,
#meanderFrame.L1t .meanderBoard {
	background-color: #36BDC7;
}
#meanderFrame.L1t .meanderBoard i.tile {
	background-color: #36BDC7;
}
#meanderFrame.L1t #gameFrame i.tile:hover {
	background-color: #36BDC7;
}
#meanderFrame.L1t .meanderBoard i.tile.empty,
#meanderFrame.L1t .meanderBoard i.tile.blank {
	background-image: none;
	background-color: #36BDC7!important;
	border: 35px solid #36BDC7;
}
#meanderFrame.L1t #gameFrame {
	background-color: #38A;
}









