/*基礎及共用設定開始*/
ul {
	margin:0px;
	padding:0px;
	list-style:none;
	}
ul li {
	margin:0px;
	padding:0px;
	list-style:none;
	}
html, body {
	font-family: "Noto Sans TC", "微軟正黑體", verdanaTimes, "arial";
    height: 100%;
    margin: 0px;
	padding: 0px;
	background-color:#140a01;
	font-weight:400;
	color:#FFF;

}
#main {
    height: 100%;
	width: 500px;
	margin: auto;
}

#content{
    position:absolute;
    width:500px;
	height: 100%;
    top:60px;
	bottom: 0px;
    margin: auto;
    left: 0;
    right: 0;
	z-index: 1;
}
.form-control {
	font-size:15px;
	}
a,a:hover{text-decoration:none;}
.container {
	width: 500px;
	padding:0;
	position: relative;
}

@media (max-width: 767px) {
	.form-control {
	padding: 20px;
	}
}
@media (max-width: 500px) {
	#content{width: 100%;position: relative;}
	.container {width:100%;}
	
}
.toplinkzone img {
	vertical-align:inherit;
	}
.block15 {
	margin:1.5% auto;
	}
header {
		z-index: 99;
		color:#fff;
		width: 100%;
		position: relative;
	}

/*選單*/
.header {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    box-shadow: none;
    background-color: #ca3b1d;
	z-index: 10;
	position: fixed;
    left: 0;
    right: 0;
}
.logo{
	padding:20px 10px;
}
.outer-menu {
	position: fixed;
    top: 35px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1;
    width: 500px;
  }
  .outer-menu .checkbox-toggle {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	cursor: pointer;
	width: 60px;
	height: 60px;
	opacity: 0;
  }
  .outer-menu .checkbox-toggle:checked + .hamburger > div {
	transform: rotate(135deg);
  }
  .outer-menu .checkbox-toggle:checked + .hamburger > div:before,
  .outer-menu .checkbox-toggle:checked + .hamburger > div:after {
	top: 0;
	transform: rotate(90deg);
  }
  .outer-menu .checkbox-toggle:checked + .hamburger > div:after {
	opacity: 0;
  }
  .outer-menu .checkbox-toggle:checked ~ .menu {
	pointer-events: auto;
	visibility: visible;
  }
  .outer-menu .checkbox-toggle:checked ~ .menu > div {
	transform: scale(1);
	transition-duration: 0.75s;
  }
  .outer-menu .checkbox-toggle:checked ~ .menu > div > div {
	opacity: 1;
	transition: opacity 0.4s ease 0.4s;
  }
  .outer-menu .checkbox-toggle:hover + .hamburger {
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .outer-menu .checkbox-toggle:checked:hover + .hamburger > div {
	transform: rotate(225deg);
  }
  .outer-menu .hamburger {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: 30px;
	height: 40px;
	padding: 0.2em 1em;
	border-radius: 0 0.12em 0.12em 0;
	cursor: pointer;
	transition: box-shadow 0.4s ease;
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .outer-menu .hamburger > div {
	position: relative;
	flex: none;
	width: 100%;
	height: 3px;
	background: #ffd04e;
	transition: all 0.4s ease;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .outer-menu .hamburger > div:before,
  .outer-menu .hamburger > div:after {
	content: '';
	position: absolute;
	z-index: 1;
	top: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: inherit;
	transition: all 0.4s ease;
  }
  .outer-menu .hamburger > div:after {
	top: 10px;
  }
  .outer-menu .menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	visibility: hidden;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
	outline: 1px solid transparent;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .outer-menu .menu > div {
	width: 500px;
	height: 200vw;
	color: #FEFEFE;
	background: rgba(202, 59, 29, 0.97);
	transition: all 0.4s ease;
	flex: none;
	transform: scale(0);
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .outer-menu .menu > div > div {
	text-align: center;
	max-width: 90vw;
	max-height: 100%;
	opacity: 0;
	transition: opacity 0.4s ease;
	overflow-y: auto;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .outer-menu .menu > div > div > ul {
	list-style: none;
	padding: 0 1em;
	margin: 0;
	display: block;
	max-height: 100vh;
  }
  .outer-menu .menu > div > div > ul > li {
	padding: 0;
	margin: 1em;
	font-size: 24px;
	display: block;
  }
  .outer-menu .menu > div > div > ul > li > a {
	position: relative;
	display: inline;
	cursor: pointer;
	transition: color 0.4s ease;
	color:#fff;
  }
  .outer-menu .menu > div > div > ul > li > a:hover {
	color: #ffd04e;
  }
  .outer-menu .menu > div > div > ul > li > a:hover:after {
	width: 100%;
  }
  .outer-menu .menu > div > div > ul > li > a:after {
	content: '';
	position: absolute;
	z-index: 1;
	bottom: -0.15em;
	left: 0;
	width: 0;
	height: 2px;
	background: #e5e5e5;
	transition: width 0.4s ease;
  }
/*蓋掉黑BAR影響*/
.toplinkzone .navRight .service span{
	display: none;
}  

/*首頁*/
.home{
	position: relative;
}
.home .container{
	background:#ca3b1d;
	height:100%;
	position: relative;
}
/*過場*/
.transitions{
	position: relative;
}
.transitions .container{
	background: url('https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/transitions_bg.png') no-repeat;
	height:100%;
	position: relative;
}

/*跑馬燈*/
marquee{
	width: 66%;
    font-size: 1.6em;
    color: #000;
    position: relative;
    bottom: 28em;
    left: 0;
    top: 0;
    right: 0;
    margin: 8px auto;
    padding: 5px;
    z-index: 9;
	background: #fff;
}

.marquee {
	position: absolute;
    overflow: hidden;
    top: 35em;
    right: 0;
    left: 0;
    margin: auto;
	text-align: center;
 }
.play{
	position: absolute;
	left:0;
	right:0;
    top:40rem;
    text-align: center;
}
.play img{
	display: block;
	margin: auto;
}
.info{
	position: absolute;
	bottom: 4em;
	right:1em;
}
/*登入頁*/
.prize_home{
	margin: auto;
    height: auto;
    padding: 45% 0;
}
/*彈跳視窗內容*/
.popupbox {
	width:95vw;
	max-width:800px;
	margin:auto;
	position: relative;
}
.popupbox.lottery{max-width: 500px;}
.popupbox.lottery .popbox{
	padding:3em 1em;
}
.popupbox.lottery .popbox span{
	padding:0 5px;
	margin-right: 5px;
}
.popupbox.lottery .ans_bg{
	padding:0;
	margin-top: 8vh;
}
.popbox {
	display:block;
	position:relative;
	background-color:#501d4a;
	padding:1em;
	width:100%;
	text-align: center;
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 35px;
	max-height:80vh;
}
.popbox a.btn{
	border: 1px solid #ffeb6c;
	font-size: 16px;
	padding:10px 20px;
	color: #ffeb6c;
	margin:10px 5px 15px 5px;
	border-radius: 60px;
}
.popbox a.btn.nolink{
	border: 1px solid #958581;
	font-size: 16px;
	padding:10px 20px;
	color: #958581;
	margin:10px 5px 15px 5px;
	border-radius: 60px;
	cursor: not-allowed;
}
.popbox .popup-modal-dismiss {
	display:block;
	position:absolute;
	top:0.5em;
	right:0.5em;
	font-size:1.2em;
	color:#501d4a;
	text-decoration:none;
	z-index:12;
	background: #fff;
	border-radius: 50%;
    width: 25px;
	height: 25px;
	line-height: 25px;
}
.popbox .btn.popup-modal-dismiss {
	display:inline-block;
	position: relative;;
	top:0;
	right:0;
	font-size:16px;
	color:#ffeb6c;
	text-decoration:none;
	margin:10px 0 15px 0;
	padding:10px 20px;

}
.popbox .activity{
	height: 62vh;
	overflow: auto;
	color:#fff;
}

.popbox .activity p{
	color:#fff;
	font-size:1em;
	text-align:justify;
}
.popbox .note{
	height: 62vh;
	overflow: auto;
	color:#fff;
	font-size:1em;
	text-align: center;
}
.popbox .note li{
	padding-bottom: 15px;
	text-align: left;
	font-size:1em;

}
.popbox .pass{
	height: 62vh;
	overflow: auto;
	color:#fff;
	font-size:1em;
	text-align:center;
}
.popbox .pass .title{
	margin-top: 3vh;
}
.popbox .pass h3{
	border-bottom: 1px solid;
}
.popbox .pass h3 i{
	display: block;
    font-size: 1.5em;
    padding-bottom: 2vh;
}
.popbox .pass .gift {
	margin-top: 5vh;

}
.popbox .pass .gift img{
	border-radius: 50%;
	width: 100%;
}
.popbox .pass .gift span{
	background: #fff;
	color:#501d4a;
	padding:1px 5px;
	margin: auto;
    display: table;
}
.popbox p::-webkit-scrollbar,.popbox .pass::-webkit-scrollbar,.popbox .note::-webkit-scrollbar{display: none}
.popbox p span{background: #fff;color:#501d4a;}
.mfp-close-btn-in .mfp-close {
   display:none;/*隱藏套件預設打叉鈕*/
}
.lottery_remind img{
	width: 50%;
    text-align: center;
    display: block;
    margin: 20px auto;
}

/*抽獎跳窗*/
.popupbox.join{
	max-width: 500px;
}
.popupbox.join#game_popup .popbox{
	max-height: 50vh;
	width: 80%;
    margin: auto;
    border-radius: 30px;
    border: 2px solid #fff;
}
.popupbox.join#game_popup .popbox:before{
	content: "";
	background: url('https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/results_icon.png');
	position: absolute;
	top:10px;
	left:10px;
	width:74px;
	height: 39px;
}
.popupbox.join#game_popup .popbox p{
	text-align: center;
    height: 100%;
	line-height:1.5em;
	font-size: 1.5em;
	padding-top: 1em;
}
.popupbox.join#game_popup .popbox a.btn{
	background: #ffffef;
	border:1px solid #ff8438;
	height: 60px;
	line-height: 35px;
	color:#000;
	font-size: 1.5em;
	width: auto;
}
/*入口頁*/

/*遊戲頁*/
.game{
	background: url('https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/index_bg.png') repeat;
	height:100%;
	position: relative;
}
/*抽獎頁*/
.results{
	position: relative;
}
.results .container{
	background: url('https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/results_bg.png') repeat;
	height:100%;
	position: relative;
}
.resultsbtn{
	text-align: center;
	font-size:20px;
	color:#fff;
	position:relative;
	width:90%;
	margin:auto;
	font-weight: 400;
}
.resultsbtn .results_btn{
	background: #ca3b1d;
	color:#fff;
    border: 3px solid #fff;
	border-radius: 50px;
    height: 40px;
	line-height: 37px;
	width: 46%;
	margin:5% 1%;
	float: left;
}
.resultsbtn .results_btn.ok-start{
	float: none;
	margin:10px auto;

}
.resultsbtn .results_btn.results_no{
	background: #646464;
}

.resultsbtn .results_btn.star{
	width:100%;
	margin: auto;
	background: #ffd04e;
}
.resultsbtn .results_btn.login{
	width:80%;
	margin:3% auto;
	float: none;
}
.resultsbtn .fb{
	background: #3b579d;
	border: 3px solid #fff;
	border-radius: 100px;
	height: 70px;
	line-height: 60px;
	color:#fff;
}
.resultsbtn .line{
	background: #01b901;
	border: 3px solid #fff;
	border-radius: 100px;
	height: 70px;
	line-height: 60px;
	color:#fff;
}
.results_eda{
	padding-top:20%;
}
.results_eda .results_btn{
	color:#000;
	border: 3px solid #000;
}
.results_eda .results_btn.star{
	margin: 20px auto;
}
.results_eda .share img{
	padding:5%;
}
.results_eda .share p{
	margin:0;
}
.eda_photo{
	width:250px;
}
/*Newyear*/
.newyear{
	background: url(https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/index_bg.png);
}
.newyearbtn{
	padding-top: 80px;
	text-align: center;
	margin:auto;
}
.newyearbtn p{
	font-size: 20px;
	color:#000;
}
.newyearbtn .newyear_btn{
	background: #ca3b1d;
	color:#fff;
    border: 3px solid #000;
	border-radius: 50px;
    height: 40px;
	line-height: 37px;
	width: 60%;
	font-size: 18px;
	margin:5% auto;
}
.newyearbtn p{
	padding:10px;
}
.newyearbtn .newyear_img{
	width:250px;
}
.newyearbtn .share{
	padding:20px 0;
}
/*活動辦法*/
.details .wrapper{
	padding:5% 0 0;
}
.details .frame{
	padding:8% 5%;
	background: url(https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/index_bg.webp);
}
.details .outline h3{
	text-align: center;
	font-size: 30px;
	color:#ca3b1d;
}
.details .outline p{
	font-size: 17px;
	color:#ca3b1d;
	font-weight: 500;
}
.details_text{
	color:#000;
}
.details_text p{
	margin:0;
}
.details ol li{
	color:#000;
}
/*Footer*/
footer {
	position: relative;
	bottom:0;
	left:0;
	z-index: 20;
	color:#fff;
	width: 100%;
	font-size: .8em;
}
footer .container{
	background: #ca3b1d;
	text-align: center;
	padding:5px 0;
	margin:auto;
}
footer p{
	margin:0;
	font-size: 12px;
}
 
  /*刮刮樂*/
.main_box{max-width: 500px; height: 100%; position: relative; margin: 0 auto;}
.main_box .box{
	height:60%;
	width: 90%;
	position: absolute;
	left: 5%;
	top: 2em;
	background:url(https://images.1111.com.tw/event/img/zone/jobsouth/images/event21/luckymoney/give.png) no-repeat;
}

.main_box .box .content{z-index: 10;position: relative; width:420px; height:228px;  margin: 7rem auto 0 auto; background:#ffd24d;}
#mask_img_bg{position: absolute; left: 0.2rem; top: 0.2rem; bottom: 0.2rem; right: 0.2rem; background:#fff;border-radius: 6px;-webkit-border-radius: 6px;}
#mask_img_bg img{width:100%; margin: 0 auto;display: block; }
#redux{z-index: 22; position: absolute;padding: 0.2rem; box-sizing: border-box; width:100%; height: 100%;}
.main_box .show{
	display: none;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	padding:10px;
	top:6rem;
	width: 90%; 
	z-index: 99;
	background: #ca3b1d;
	border:5px solid #000;
	text-align: center;
	border-radius: 20px;
	font-size: 26px;
}
.main_box .show .btn{display: inline-block;width: 180px; height:37px;position: absolute; bottom: 10px; left: 48px;z-index: 200;}
.main_box .mask{display: none; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5);z-index: 98;}
.know_btn{
	background: #ffd04e;
    border: 3px solid #000;
    border-radius: 25px;
    color: #000;
    font-size: 24px;
    padding: 10px 20px;
    font-weight: 600;
}
.give_footer{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	display: flex;
}
.give_footer img{
   margin:auto;
}
.show_bg p{
	padding-bottom: 20px;
}

/*手機板*/
@media(max-width:500px){

	#main{
		width:100%;
		height: auto;
	}
	.play{
		top:30rem;
		z-index: 99;
	}
	.outer-menu{
		width:100%;
	}
	marquee{
		width:66%;
		bottom: 2vh;
		font-size: 1.4em;
	}
	.marquee{
		top:25rem;
	}
	.marquee img{
		width:auto;
	}
	.luckymoney_bg img{
		width:100%;
	}
	.main_box .box{
		background-size: contain;
		top:3em;
	}
	.main_box .box .content{
		width:90%;
		height: 40%;
		margin: 8rem auto 0 auto;
	}
	.give_footer img{
		width: 100%;
	}
	.outer-menu .menu > div{
		width:100%;
		height: 100%;
	}
	.newyear{
		padding-bottom: 15%;
	}
	.newyearbtn p{
		padding:5%;
	}
	.newyearbtn .newyear_btn{
		width:80%;
	}
	.newyear .share p{
		margin:0;
	}

}
@media(max-width:375px){
	.marquee {
		top: 20rem;
	}
	.play {
		top: 25rem;
		z-index: 99;
	}
}