/*---------------------------------------
	MahJongg: global page-properties
---------------------------------------*/
html, body {
	border:0;
	margin:0;
	padding:0;
	height:100%;
	width:100%;
}
body {
	background:url(layout/bk-metal_darkgrey.jpg) center center #333;
	/* schaltet beim event tab im ipad/iphone das highlighting aus. */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

/*---------------------------------------
	MahJongg: playfield design
---------------------------------------*/
#GameDIV {
	border:1px outset #000;
	width:786px;
	height:616px;
	color:#000;
	margin:0px auto;
	padding:0;
	overflow:hidden;
}
#GameCopyright {
	height:16px;
	font-family:arial;
	font-size:0.70em;
	font-weight:normal;
	text-align:center;
	background-color:#e1c293;
	color:#000;
	padding:0;
	margin:0;
	border:0;
}
#GamePoints {
	height:33px;
	line-height:21px;
	font-family:arial;
	font-size:0.70em;
	font-weight:normal;
	text-align:center;
	background:url(layout/line-sand.gif) repeat-x bottom left #e1c293;
	text-align:center;
	color:#000;
	padding:0;
	margin:0;
	border:0;
}
#GameCONT {
	position:relative;
	height:530px;
	border:0;
	padding:0;
	margin:0;
	background-color:#000;
}
#GameButtons {
	font-family:arial;
	font-size:0.80em;
	font-weight:normal;
	border:0;
	text-align:center;
	color:#eee;
	padding:12px 0px 0px 0px;
	height:25px;
	background:url(layout/line-sand.gif) repeat-x top left #e1c293;
	line-height:25px;
}

/* AniStone */
/* .AniStone { */
	/*
	-moz-transition: all 700ms linear,
					background-color 700ms linear,
					color 700ms linear,
					opacity 700ms linear,
					display 700ms linear;
	-webkit-transition: all 700ms linear,
					background-color 700ms linear,
					color 700ms linear,
					opacity 700ms linear,
					display 700ms linear;
	-o-transition: all 700ms linear,
					background-color 700ms linear,
					color 700ms linear,
					opacity 700ms linear,
					display 700ms linear;
	transition: BAKleft 2000ms linear, BAKtop 2000ms linear,
					opacity 700ms linear,
					visibility 700ms linear,
					XXbackground-color 700ms linear,
					XXcolor 700ms linear,
					XXopacity 700ms linear,
					XXdisplay 700ms linear;
	*/
/* } */


/*---------------------------------------
	mahjong design: points etc.
---------------------------------------*/
.spanText {
	display:inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	/*
	*display: inline;
	float:right;
	*/
}
.spanText span {
	-webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-top-left-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    -moz-border-radius-top-left: 10px;
    -moz-border-radius-top-right: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
	text-align:center;
	color:#000;
	padding:0;
	margin:0;
	border-bottom:0;
	background-color:#fff;
	line-height:19px;
	height:17px;
	padding:0px 4px;
	display:inline-block;
	
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	/* *display: inline; */
	
	border-bottom:2px solid #fff;
	border-right:2px solid #fff;
	border-top:2px solid #555;
	border-left:2px solid #555;
	width:60px;
	margin-left:4px;
	margin-right:4px;
	font-weight:normal;
	font-size:12px;
}
.spanTextLeft  {
	float:left;
	margin-left:8px;
}
.spanTextRight {
	float:right;
}

/*---------------------------------------
	mahjong design: buttons
---------------------------------------*/
.spanSpace {
	display:inline;
	margin-left:3px;
	margin-right:3px;
}
.spanButton {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-top-left-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    -moz-border-radius-top-left: 10px;
    -moz-border-radius-top-right: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -khtml-border-bottom-left-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -moz-border-radius-bottom-left: 10px;
    -moz-border-radius-bottom-right: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
	border-top:2px solid #fff;
	border-left:2px solid #fff;
	border-bottom:2px solid #555;
	border-right:2px solid #555;
	height:22px;
	padding:2px 6px 2px 6px;
	color:#000;
	cursor:pointer;
	display:inline;
	margin-left:1px;
	margin-right:1px;
}
.spanButton.pressed {
	border-bottom:2px solid #fff;
	border-right:2px solid #fff;
	border-top:2px solid #555;
	border-left:2px solid #555;
	color:#000;
	padding:2px 6px 2px 6px;
}
.spanButton.disabled {
	color:#888;
}
.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}


/**
 * Mahjongg Stone
 * DIV.Stone
 * - IMG.StoneImage
 * - IMG.StoneTile
 * - DIV.StoneFocus
 */
/*
DIV.Stone {
}
DIV.Stone IMG.StoneImage {	
}
*/
DIV.Stone IMG.StoneTile {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	
	border: 0px solid transparent;
}
DIV.Stone DIV.StoneFocus {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;	
	
	border: 1px solid transparent;
}

