@bg: #7c7874;
@bgContainer: #7c7874;
@bgCanvas: #7c7874;

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	box-sizing: border-box;
}

body {
	-webkit-touch-callout: none;
	-webkit-text-size-adjust: none;
	-webkit-user-select: none;
	background-color: @bg;
	margin:0px;
	padding:0px;
	width:100%;
	height:100%;
	background-image: url(../assets/images/common/window_base.jpg);
	background-repeat: repeat;
}
/* webfont */
@font-face {
	font-family: 'mplus';
	font-style: normal;
	font-weight: normal;
	src: url(../assets/fonts/mplus-2c-medium.ttf);
}
@font-face {
	font-family: 'mplus';
	font-style: normal;
	font-weight: bold;
	src: url(../assets/fonts/mplus-2c-bold.ttf);
}

/* Portrait layout (default) */
#container {
	width: 100%;
	height: 100%;
	/*background-color: @bgContainer;*/
}
#stage {
	/*
	position: absolute;
	left: 50%;
	top: 50%;
	width: 320px;
	height: 480px;
	margin: -240px 0 0 -160px;
	background-color: @bgCanvas;
	*/
}
/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
	#stage {
		/*
		left: 50%;
		top: 50%;
		width: 480px;
		height: 320px;
		margin: -160px 0 0 -240px;
		background-color: @bgCanvas;
		*/
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	body {
		/*background-image: url(../assets/images/window_base@2x.png);*/
		background-image: url(../assets/images/common/window_base@2x.jpg);
		background-repeat: repeat;
	}
}
