*{
	margin: 0;
	padding: 0;
	list-style:none;
	text-decoration: none;
	box-sizing: border-box;
	/* font-family: 'Open Sans','微軟正黑體'; */
	font-family: 'Karla', ;
}
html{
	position: relative;
	height: 100%;
	width: 100%;
	/* border: 1px solid #000; */
	font-size: 12px;
}
body{
	position: relative;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	/* border: 1px solid #f00; */
	max-width: 1920px;
    min-width: 1280px;
    min-height: 658px;
    background-color: #000;
}
p{
	margin: 0;
}
.share-line{
	position: absolute;
	display: block;
	z-index: 1;
	opacity: 0;
}
.loading{
	position: absolute;
	display: block;
	z-index: 8;
	width: 100%;
	height: 100%;
	top: 0;
	background-color: #fff;
}
.index_loading_gif{
	position: absolute;
    display: block;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 10%;
    height: 0%;
    height: 20%;
}
.page1{
	position: relative;
	z-index: 3;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	/* border: 1px solid #00f; */
	/* filter: blur(4px); */
}
.logo{
	position: absolute;
	display: block;
	z-index: 2;
    left: 2%;
    top: 4%;
    width: 10%;
    height: 0;
    padding-bottom: 10%;
    background: url('../img/logo.png') center center no-repeat;
	background-size: contain;
	/* border: 1px solid #f00; */
}
.page1_content{
	position: absolute;
	display: block;
	z-index: 3;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	/* border: 1px solid #f00; */
}
.tittle{
	position: absolute;
	display: block;
	z-index: 2;
	left: 0;
	right: 0;
	top: 0;
	margin: auto;
	width: 52%;
	height: 30%;
	background: url('../img/tittle.png') center center no-repeat;
	background-size: contain;
	/* border: 1px solid #0f0; */
}
#gua1{
	position: absolute;
	display: block;
	/* border: 1px solid #00f; */
	z-index: 6;
	top: 34%;
	left: 0;
	right: 0;
	width: 67%;
	height: 50%;
	margin: auto;
}
.num_area{
	position: absolute;
	display: block;
    width: 93%;
    height: 84%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	/* border: 1px solid #f00; */
	font-size: 0;
}
.num{
	position: relative;
	display: inline-block;
	width: 20%;
	height: 50%;
	/* border: 1px solid #00f; */
	text-align: center;
	transform: rotate(-15deg);
	font-size: 3rem;
}
.num::before{
	content:'';
	display: inline-block;
	height: 100%;
	width: 0;
	vertical-align: middle;
}
#front{
	position: absolute;
	display: block;
	z-index: 3 !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	opacity: 1;
}
#front:hover{
	cursor: pointer;
}
.scratch_bg{
	position: absolute;
	display: block;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: url('../img/scratch_bg.png') center center no-repeat;
	background-size: contain;
}
.play{
	position: absolute;
	display: block;
	z-index: 3;
	left: 0;
	right: 0%;
	bottom: 1%;
	margin: auto;
	width: 19%;
    height: 13%;
	background: url('../img/play.png') center center no-repeat !important;
	background-size: contain !important;
	/* border: 1px solid #f00; */
}
.play:hover{
	background: url('../img/play_hover.png') center center no-repeat;
	background-size: contain;
	cursor: pointer;
}

.bg{
	position: absolute;
	display: block;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: url('../img/bg.png') center center no-repeat;
	background-size: cover;
}
.footer{
	position: absolute;
	display: block;
	bottom: 0;
	width: 100%;
	z-index: 2;
	height: 5%;
	background-color: #000;
	text-align: center;
	color: #fff;
}
.footer::before{
  content:'';
  display: inline-block;
  height: 100%;
  width: 0;
  vertical-align: middle;
}
.footer-Copyright{
	display: inline-block;
	vertical-align: middle;
	font-size: 1.3rem;
}

.page2{
	position: fixed;
	display: none;
	z-index: 2000;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-align: center;
	background-color: #000;
}
.page2::before{
	content:'';
	display: inline-block;
	height: 100%;
	width: 0;
	vertical-align: middle;
}
.page2 h2{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	font-weight: bold;
}

.page3{
	position: fixed;
	display: none;
	z-index: 2001;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-align: center;
	background-color: #000;
}
.page3::before{
	content:'';
	display: inline-block;
	height: 100%;
	width: 0;
	vertical-align: middle;
}
.page3 h1{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	font-weight: bold;
}

/*light*/
.light_area{
	position: absolute;
	display: block;
	z-index: -1;
	width: 100%;
	height: 100%;
	top: 0;
	overflow: hidden;
}
.light1{
	position: absolute;
	display: block;
	z-index: 3;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 100%;
	height: 0%;
	padding-bottom: 100%;
	background: url('../img/light1.png') center center no-repeat;
	background-size: 100% 100%;
	transform: rotate(0deg) scale(1.1, 1.1);
	opacity: 0;
}
.light2{
	position: absolute;
	display: block;
	z-index: 4;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 30%;
	height: 0%;
	padding-bottom: 30%;
	opacity: 0;
	/* border: 1px solid #f00; */
	background: url('../img/light2.png') center center no-repeat;
	background-size: 100% 100%;
}

/*jump*/
.jump_tittle{
	position: absolute;
	display: block;
	z-index: 4;
	width: 46%;
    height: 24%;
	background: url('../img/jump_tittle.png') center center no-repeat;
	background-size: contain;
	top: 13%;
	left: 0;
	right: 0;
	margin: 0 auto;
	/* border: 1px solid #f00; */
}
.get_money{
	position: absolute;
	display: block;
	z-index: 2;
    width: 90%;
    height: 46%;
	top: 32%;
	left: 0;
	right: 0;
	margin: 0 auto;
	/* border: 1px solid #f00; */
	text-align: center;
}
.get_money::before{
	content:'';
	display: inline-block;
	height: 100%;
	width: 0;
	vertical-align: middle;
}
.get_money p{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	font-size: 14rem;
	color: #fff;
	font-weight: bold;
	letter-spacing: 2px;
}
.fail_text{
	position: absolute;
	display: none;
	z-index: 3;
	width: 54%;
    height: 36%;
    background: url('../img/fail_text.png') center center no-repeat;
    background-size: contain;
    top: 31%;
	left: 0;
	right: 0;
	margin: 0 auto;
	/* border: 1px solid #f00; */
}

/*model-------*/
.modal-header{
	position: relative;
	display: block;
	height: 45px;
}
.jackie_close{
	position: absolute;
	display: block;
	z-index: 2;
	top: 76%;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 19%;
    height: 11%;
	background: url('../img/jackie_close.png') center center no-repeat;
	background-size: contain;
	opacity: 1 !important;
	outline: none !important;
    outline: 0 !important;
    /* border: 1px solid #f00; */
}
.jackie_close:hover{
	transform: scale(1.1, 1.1);
	cursor: pointer;
}
.modal-backdrop{
	background-color: transparent;
}
.modal{
	background-color: rgba(0,0,0,.8);
}
/* .modal2{
	background-color: transparent;
} */
.modal-open .modal{
	overflow-x: auto;
    overflow-y: auto;
}
.modal-open{
	padding-right: 0px !important;
}
.modal-header{
	border-bottom: 1px solid transparent;
}
.modal-content{
	background-color: transparent;
	border:transparent;
    -webkit-box-shadow:transparent !important;
    box-shadow:0px 0px 0px rgba(0,0,0,0) !important;
}
.thumbnail{
	background-color: transparent;
	border: 1px solid transparent;
}
.carousel-inner > .item > img{
	max-width: 100%;
	margin: auto;
}
@media (min-width: 768px){
	.modal-dialog {
	    width: 768px;
	}
	.jackie-modal-dialog2{
		width: 1000px !important;
	}
}
@media screen and (max-width:768px){
	.jackie-modal-dialog2{
		width: auto;
	}
	.carousel-inner > .item > img{
		max-width: 95%;
	}

	body{
		max-width: 100%;
	    min-width: 100%;
	    min-height: 100%;
	}

	.index_loading_gif{
	    width: 20%;
	    height: 12%;
	}

	.logo{
		top: 83%;
		left: 80%;
	    width: 17%;
	    height: 0;
	    padding-bottom: 17%;
	}

	.page1_content{
		width: 95%;
		height: 0%;
		padding-bottom: 140%;
	}

	.tittle{
	    top: -6%;
	    width: 80%;
	    height: 30%;
		background: url('../img/mb/tittle.png') center center no-repeat;
		background-size: contain;
	}

	#gua1{
	    top: 27%;
	    width: 74%;
	    height: 61%;
	}

	.num_area{
	    width: 87%;
	    height: 90%;
	}

	.num{
	    width: 50%;
	    height: 20%;
	    font-size: 2rem;
	}

	.scratch_bg{
		background: url('../img/mb/scratch_bg.png') center center no-repeat;
		background-size: contain;
	}

	.play{
	    bottom: -4%;
	    width: 45%;
	    height: 13%;
	}

	.footer-Copyright{
		font-size: 1rem;
	}

	.jump_bg{
		content: url('../img/mb/jump_bg.png') !important;
	}

	.jump_tittle{
		width: 54%;
	    height: 20%;
	    top: 10%;
	}

	.get_money{
		top: 27%;
	}

	.get_money p{
	    font-size: 7rem;
	}

	.fail_text{
	    width: 82%;
	    height: 31%;
	    top: 27%;
	}

	.light1{
		left: -50%;
		width: 200%;
		padding-bottom: 200%;
	}
	.light2{
		width: 50%;
		padding-bottom: 50%;
	}

	.jackie_close {
	    top: 73%;
	    width: 34%;
	}
}
@media screen and (orientation: landscape) and (max-width:846px) {/*阿頡*/
	.page2{
		display: block;
	}
}