*{
	margin: 0px;
	padding: 0px;
	outline: none;
	border: none;
}
.game .cards .elem *,
.game .window{
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
html {
	-webkit-text-size-adjust: none;
}
body{
	background-color: gray;
	-moz-user-select: -moz-none;
	-o-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	min-width: 600px;
}
.w1{
	top: -50px;
}
.w2{
	top: -10px;
}
.backwindow{
	position: absolute;
	z-index: 10000;
	width: 100%;
	height: 50px;
	background-color: rgb(255,255,255);
	-webkit-box-shadow: 0px 5px 5px rgb(200, 198, 195);
	-moz-box-shadow: 0px 5px 5px rgb(200, 198, 195);
	box-shadow: 0px 5px 5px rgb(200, 198, 195);
	-webkit-transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.3);
	-moz-transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.3);
	-o-transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.3);
	-ms-transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.3);
	transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.3);
	display: none;
}
.backwindow .contents{
	position: relative;
	width: 100%;
	height: 40px;
	max-width: 900px;
	margin: 10px auto;
	text-align: center;
	line-height: 40px;
}
.backwindow .contents a{
	font-size: 13px;
	font-family: Arial;
	color: rgb(119, 119, 119);
	border-bottom: 1px solid rgb(119, 119, 119);
}
.backwindow .contents .logo{
	position: absolute;
	width: 83px;
	height: 30px;
	top: 5px;
	left: 5px;
	background-image: url(http://62.141.123.25/my_d/img/style/logo_m.png);
}
.backwindow .backwindowbtn{
	position: absolute;
	width: 50px;
	height: 25px;
	left: 50%;
	bottom: -20px;
	margin-left: -25px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: rgb(255,255,255);
}
.bg{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: -1;
}
.bg1{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 0;
	background: #634f26;
	background: -moz-linear-gradient(45deg, #634f26 0px, #d0c8ba 21%, #d0c8ba 70%, #665546 100%);
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0px,#634f26), color-stop(21%,#d0c8ba), color-stop(70%,#d0c8ba), color-stop(100%,#665546));
	background: -webkit-linear-gradient(45deg, #634f26 0px,#d0c8ba 21%,#d0c8ba 70%,#665546 100%);
	background: -o-linear-gradient(45deg, #634f26 0px,#d0c8ba 21%,#d0c8ba 70%,#665546 100%);
	background: -ms-linear-gradient(45deg, #634f26 0px,#d0c8ba 21%,#d0c8ba 70%,#665546 100%);
	background: linear-gradient(45deg, #634f26 0px,#d0c8ba 21%,#d0c8ba 70%,#665546 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#634f26', endColorstr='#665546',GradientType=1 );
}

.bg2{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 1;
	background-image: url(../img/style/bgg.png);
	background-size: 6px 6px;
}
.game{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	height: 600px;
	margin: -300px 0px 0px -300px;
	background-image: url(../img/style/bg.png);
	overflow:  hidden;
	border-radius: 13px;
	-webkit-border-radius: 13px;
	-moz-border-radius: 13px;
}
.game .window{
	position: absolute;
	width: 300px;
	height: 684px;
	top: -685px;
	left: 50%;
	margin: 0px 0px 0px -150px;
	background-image: url(../img/style/window.png);
	overflow:  hidden;
	text-align: center;
	z-index: 4;
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	-ms-transition: all 0.25s linear;
	transition: all 0.25s linear;
}
.game .window .good{
	position: absolute;
	width: 67px;
	height: 88px;
	bottom: 400px;
	left: 120px;
}
.game .win .good{
	background-image: url(../img/style/good.png);
}
.game .select .good{
	background-image: url(../img/style/select.png);
}
.game .window .btn{
	position: relative;
	display: inline-block;
	width: 95px;
	height: 70px;
	margin: 0px 20px;
	cursor: pointer;
}
.game .select .rst{
	display: none;
}
.game .window .ext{
	background-image: url(../img/style/exit.png);
}
.game .win .rst{
	background-image: url(../img/style/rest.png);
}
.game .window .el{
	position: relative;
	width: 270px;
	height: 90px;
	margin: 13px auto;
	cursor: pointer;
}
.game .window .el:first-child{
	margin: 286px auto 13px auto;
}
.game .activewindow{
	top: -130px;
}
.game .window p{
	line-height: 40px;
	font-size: 30px;
	color: RGB(255,66,74);
	margin: 5px 0px;
}
.game .window span{
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin: 10px 20px;
	width: 80px;
	height: 20px;
	line-height: 20px;
	background-color: RGB(255,66,74);
	color: rgb(255,255,255);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	cursor: pointer;
}
.game .restart{
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	background-image: url(../img/style/restasrt.png);
	background-size: cover;
	background-position: center center;
	cursor: pointer;
	z-index: 3;
}
.game .sound{
	position: absolute;
	top: 10px;
	left: 10px;
	width: 40px;
	height: 40px;
	background-size: cover;
	background-position: center center;
	cursor: pointer;
	z-index: 3;
}
.game .son{
	background-image: url(../img/style/sound_on.png);
}
.game .soff{
	background-image: url(../img/style/sound_off.png);
}
.game .cards{
	position: absolute;
	width: 560px;
	height: 560px;
	top: 20px;
	left: 20px;
	font-size: 0px;
}
.game .cards .elem{
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin: 5px;
	background-image: url(../img/style/cards.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}
.game .cards .elem .img{
	position: absolute;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	top: 0px;
	left: 0px;
	opacity: 0;
}
.game .cards .active .img,
.game .cards .unactive .img{
	opacity: 1;
}
.game .cards .elem .t1{background-image: url(../img/1.png);}
.game .cards .elem .t2{background-image: url(../img/2.png);}
.game .cards .elem .t3{background-image: url(../img/3.png);}
.game .cards .elem .t4{background-image: url(../img/4.png);}
.game .cards .elem .t5{background-image: url(../img/5.png);}
.game .cards .elem .t6{background-image: url(../img/6.png);}
.game .cards .elem .t7{background-image: url(../img/7.png);}
.game .cards .elem .t8{background-image: url(../img/8.png);}
.game .cards .elem .t8{background-image: url(../img/8.png);}
.game .cards .elem .t9{background-image: url(../img/9.png);}
.game .cards .elem .t10{background-image: url(../img/10.png);}
.game .cards .elem .t11{background-image: url(../img/11.png);}
.game .cards .elem .t12{background-image: url(../img/12.png);}
.game .cards .elem .t13{background-image: url(../img/13.png);}
.game .cards .elem .t14{background-image: url(../img/14.png);}
.game .cards .elem .t15{background-image: url(../img/15.png);}
.game .cards .elem .t16{background-image: url(../img/16.png);}
.game .cards .elem .t17{background-image: url(../img/17.png);}
.game .cards .elem .t18{background-image: url(../img/18.png);}
.game .cards .elem .t19{background-image: url(../img/19.png);}
.game .cards .elem .t20{background-image: url(../img/20.png);}
.game .cards .elem .t21{background-image: url(../img/21.png);}
.game .cards .elem .t22{background-image: url(../img/22.png);}
.game .cards .elem .t23{background-image: url(../img/23.png);}
.game .cards .elem .t24{background-image: url(../img/24.png);}
.game .cards .elem .t25{background-image: url(../img/25.png);}
.game .cards .elem .t26{background-image: url(../img/26.png);}
.game .cards .elem .t27{background-image: url(../img/27.png);}
.game .cards .elem .t28{background-image: url(../img/28.png);}