body {
	margin: 0;
	background-color: #163f59;
}
a#hamburgerButton {
	left: 20px;
	height: 30px;
	width: 40px;
}
div#page_holder,
div#SAXmlFrame_content {
	background: transparent;
}



#meanderFrame h1 {
	display: none;
}
#meanderFrame {
	font-family: sans-serif;
	font-size: 16px;
	line-height: 30px;
	text-shadow: 0 0 2px black;
	width: 1000px;
	height: 920px;
	transform-origin: 0 0;
	overflow: hidden;
	position: relative;
	margin: auto;
}

#meanderFrame button,
#meanderFrame select {
	font-family: sans-serif;
	font-size: 16px;
	padding: 5px 10px;
	height: 40px;
	min-width: 40px;
	background: darkgreen;
	color: white;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 0 0 3px black;
	vertical-align: middle;
	text-align: center;
}
.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;
	background-image: url(felt_texture.80.png);
	border-radius: 40px;
}
.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);
	box-shadow: 0 0 10px black;
}
.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;
}
#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;
}

.meanderBoard.quest.complete i.tile,
#gameFrame i.tile:hover {
	background-image: url(meander_tile_white.png), url(felt_texture.80.png), radial-gradient( #fff1, #0000);
}
#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;
}
#meanderHead {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 5px;
	width: 380px;
	text-align: left;
}
#meanderQuests {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 400px;
}
#meanderQuests .meanderBoard  {
	margin-bottom: -340px;
	position: relative;
}
#meanderQuests:hover .meanderBoard {
	z-index: 1;
}
#meanderQuests:hover .meanderBoard:hover {
	z-index: 2;
}
#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;
}
.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;
	bottom: 5px;
	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;
}
#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) {
	
}





/* games.properform.ch template fix */
#SAXmlFrame_content {
	padding: 0;
}















/*
skins
*/

/* dark */
#meanderFrame a {
	color: #DDD;
}
#meanderFrame,
#meanderFrame button,
#meanderFrame select {
	color: #FFF;
	background-color: #222;
}
#meanderFrame button:hover,
#meanderFrame select:hover {
	background-color: #333;
}
#gameFrame,
.meanderBoard {
	background-color: #333;
}

.meanderBoard i.tile {
	background-color: #333;
}
#gameFrame i.tile:hover {
	background-color: #444;
}
.meanderBoard i.tile.empty,
.meanderBoard i.tile.blank {
	background-image: none;
	background-color: #444!important;
	border: 35px solid #444;
}


/*
LevelOneTech colors #07171f #163f59 #36BDC7 #bfbfbf
*/
/* L1t dark */
#meanderFrame a {
	color: #DDD;
}
#meanderFrame,
#meanderFrame button,
#meanderFrame select {
	color: #bfbfbf;
	background: #163f59;
}
#meanderFrame button,
#meanderFrame select {
	background-color: #07171f;
}
#gameFrame,
.meanderBoard {
	background-color: #163f59;
}
.meanderBoard i.tile {
	background-color: #163f59;
}
#gameFrame i.tile:hover {
	background-color: #36BDC7;
}
.meanderBoard i.tile.empty,
.meanderBoard i.tile.blank {
	background-image: none;
	background-color: #163f59!important;
	border: 35px solid #163f59;
}





/* L1t bright */
#meanderFrame a {
	color: #DDD;
}
#meanderFrame,
#meanderFrame button,
#meanderFrame select {
	color: #bfbfbf;
	background-color: #163f59;
}
#gameFrame,
.meanderBoard {
	background-color: #36BDC7;
}
.meanderBoard i.tile {
	background-color: #36BDC7;
}
#gameFrame i.tile:hover {
	background-color: #36BDC7;
}
.meanderBoard i.tile.empty,
.meanderBoard i.tile.blank {
	background-image: none;
	background-color: #36BDC7!important;
	border: 35px solid #36BDC7;
}
#gameFrame {
	background-color: #38A;
}









