﻿@charset "utf-8";
/* CSS Document */
@import url("font-awesome.min.css");
/*icon設定載入*/
@import url("animate.css");
/*動畫設定載入*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@500;700;900&display=swap');

.clearBtn{ display: none; }
/* Show it's not fixed to the top */

/*基礎及共用設定開始*/
*{margin:0;padding:0;}
*:before,*:after{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;}
a {
	text-decoration:none;
	transition:.5s all;

	}
a:hover{
	text-decoration:none;
	}
ul {
	margin:0px;
	padding:0px;
	list-style:none;
	}
ul li {
	margin:0px;
	padding:0px;
	list-style:none;
	}
body {
  position: relative;
  background:url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg.webp") repeat;
  font-family: "Noto Serif TC", sans-serif;
  font-weight:300;
  color:#222;
}
.row{
	margin:0;
}
 /*lightbox 跑版修正*/
.ligthBoxFullBg {
    position: fixed !important;
    top: 0 !important;
}
/*chrome and safari hack*/
 @media screen and (-webkit-min-device-pixel-ratio:0){ 
    .myligthBox.noBg{
        display: block !important;
    }
 }  
 /*firefox hack*/
 @-moz-document url-prefix(){
    .myligthBox.noBg{
        display: table-cell !important;
    }
}


/*表頭*/
.navbar{
	background:#e06c3d!important;
	color:#000;
}
.navbar a{
	color:#000!important;
	font-weight:600;
}
.navbar a:hover{
	color:#fff!important;
	font-weight:500;
}
.navbar a.navbar-brand{
	font-weight:600;
}
.navbar-expand-md .navbar-collapse{
  flex-grow: inherit;
}
.navbar-dark .navbar-toggler{
	color:#fff;
	border-color: rgba(255,255,255,1);
}

/*BANNER*/
.top_bn {
	background:url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg_left.webp") no-repeat left center,url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg_right.webp") no-repeat right center,#faf6ea url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg.webp") repeat center;
	position:relative;
	overflow:hidden;
	width: 100%;
	text-align: center;
}

.top_bn .bg1{
	position:relative;
	z-index:2;
	width: 100%;
	height: auto;
	max-width: 674px;
}
.top_bn .bg2,.top_bn .bg3,.top_bn .bg4,.top_bn .bg5,.top_bn .bg6{
	position: absolute;
}
.top_bn .bg2{
	top:31%;
	left:30%;
	z-index: 9;
}
.top_bn .bg3{
	top:50%;
	right:30%;
}
.top_bn .bg4{
	top:65%;
	left:23%;
}
.top_bn .bg5{
	top:25%;
	right:25%;
}
.top_bn .bg6{
	bottom:0;
	right:0;
	left:0;
	margin: auto;
	z-index: 10;
	width:auto;
}



@media (max-width:450px){
.top_bn img{
	width:100%;
}
}

.anniversary{
	position: relative;
}
.anniversary:before{	
	content: "";
	position: absolute;
	width:312px;
	height:118px;
	left:0;
	bottom:0;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/footer_left.webp");
	z-index: 9;
}
.anniversary:after{	
	content: "";
	position: absolute;
	width:311px;
	height:194px;
	right:0;
	bottom:0;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/footer_right.webp");
	z-index: 9;
}
@media (max-width:767px){
	.anniversary:before,.anniversary:after{	
		display: none;
	}
	}
/*有情好禮*/
.giveaway{
	background: #e06c3d url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/home_giveway_bg.webp");
	text-align: center;
	padding:1% 0 3% 0;
}
.giveaway h3{
	font-size:1.3em;
	font-weight: 600;
	background:url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/home_title_bg.webp") no-repeat center;
	height: 124px;
    padding-top: 44px;
	line-height: 28px;
	margin-top: 1%;
	margin-bottom: 4%;
}
.giveaway h3 span{
	position: relative;
}
.giveaway h3 span::before{
	content: "";
	position: absolute;
	width:52px;
	height:51px;
	right:-55px;
	bottom:-15px;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/home_pen.webp");
	z-index: 9;

}
.giveaway .gift{
	border:10px solid #e3a751;
	margin:7% 0;
}
.giveaway .gift p{
	background: #e3a751;
	margin:0;
	padding:3% 0;
	font-size:1em;
	color:#000;
	font-weight: 600;
	position: relative;
}
.giveaway .gift_photo{
	position: relative;
}
.giveaway .gift_photo img{width:100%; height: auto;}
.giveaway .gift_photo::before{
	content: "";
	position: absolute;
    border-bottom: 25px solid transparent;
    border-left: 25px solid #e3a751;
    display:inline-block;
    z-index: 9;
}
.giveaway .gift_photo::after{
	content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-top: 25px solid transparent;
    border-right: 25px solid #e3a751;
    display: inline-block;
    z-index: 9;
}

/*詳細說明*/
.explanation{
	font-family: 'Noto Sans TC', sans-serif;
	text-align: center;
	font-size:1.3em;
	font-weight: 500;
	padding-top:50px;
	padding-bottom:150px;
}
.explanation p{
	text-align: left;
	font-size:16px;
}
.explanation b{
	font-weight: 700;
}
.explanation ol{
	font-size: 16px;
}
.explanation li{
	text-align: left;
}
.explanation .send{
	background: #0c8e71;
	padding:1px 5px;
	color:#fff;
	margin-right: 5px;
}
.explanation .receive{
	background: #e06c3d;
	padding:1px 5px;
	color:#fff;
	margin-right: 5px;
}
.explanation .caption{
	display: initial;
}
.explanation .card{
	background-color: transparent;
	border:none;
}
.explanation .card-header{
	background-color: transparent;
	border-bottom: none;
	padding:0;
}
.explanation h5{
	text-align: left;
	font-weight: 700;
	font-size: 1.1em;
}
.explanation .card-header a{
    color: #000;
	font-size: 16px;
	position: relative;
}
.card-header .accordion-toggle:before {  
	content: "－"; 
	position: absolute;
    right: -20px;
	top: 5px;

}
.card-header .accordion-toggle.collapsed:before {
	content: "＋";
    position: absolute;
    right: -20px;
	top: 5px;
	font-weight: 600;
}

.method{
	background: #fff;
    border: 2px solid #000;
	font-size: 1.1em;
	line-height:1.5em ;
    padding: 2% 1%;
	margin: 2% 0;
	font-weight: 700;
}
/*贊助廠商*/
.sponsor .sponsor_photo{
	margin:10% 0;
	background: #fff;
	padding:2%;
}
/*測字開始*/
.game_bg{
	background:url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg_left.webp") no-repeat 5% center,url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg_right.webp") no-repeat 95% center;
}
.game{
	padding-top:2%;
	padding-bottom: 210px;


}
.game_bird{
	position: relative;
}
.game_bird .bird_01{
	position: absolute;
	left:4%;
	top:10rem;
	z-index: 10;
}
.game_bird .bird_02{
	position: absolute;
	right:5%;
	top:18rem;
	z-index: 10;
}
.game_title{
	color:#fff;
	margin:3em 0 1em 0;
	text-align:center;
}
.game_title h2{
	background:#000;
	display: inline;
	font-size:1.1em;
	padding: 5px 4%;
	position: relative;
}
.game_title h2:before{	
	content: "";
	position: absolute;
	width:94px;
	height:34px;
	left:0;
	right:0;
	margin:auto;
	top:-23px;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/game_flower.webp");
	z-index: 9;
}
.game_paint{
	margin: auto;
	height:480px;
	width:480px;
	position: relative;
}
.game_paint:before{
	content: "";
	position: absolute;
	width:60px;
	height:448px;
	left:-60px;
	margin:auto;
	top:0;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/game_left.webp");
	z-index: 9;
}
.game_paint:after{
	content: "";
	position: absolute;
	width:60px;
	height:448px;
	right:-60px;
	margin:auto;
	top:0;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/game_right.webp");
	z-index: 9;
}

.game .btn{
	text-align: center;
    background: #0c8e71;
    color: #fff;
    display: table;
	margin: 1% auto;
	border-radius: 0;
	border:1px solid #000;
}
.game .btn a{
    color: #fff;
}
canvas{
	display: block;
	background: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/game_paint.webp");
	background-size:contain ;
	border: 6px solid #0c8e71;
}
@media (max-width:768px){
	.game_bird{
		display: none;
	}
	.game .btn{
		position: fixed;
		bottom:0;
		width:100%;
		left: 0;
		right: 0;
		z-index: 11;
		font-size: 1.5em;
		margin:0;
	}
}
@media (max-width:767px){
	.game_paint:before,.game_paint:after{
		display: none;
	}
	.game_title h2{
		display: block;

	}
	}
@media (max-width:550px){
	.anniversary .container{
		padding:0 0 100px 0;
	}
	.game_paint{
		margin: auto;
		height:100%;
		width:100%;
	}
	.game_title{
		width:90%;
		margin: 3em auto 1em;
	}
}
/*測驗結果*/

.result{
    padding-top: 2%;
	padding-bottom: 160px;
	font-size:20px;
}
.result p{
	text-align: center;
	font-size:20px;
	color:#000;
	font-weight: 700;
	margin-bottom: 0;
}
.result .outcome{
	background: #fbf9f3;
	margin-top:16%;
	padding:25px 1% 10px;
}
.result .outcome:before{	
	content: "";
	position: absolute;
	width:133px;
	height:40px;
	left:0;
	top:-20px;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/result_title_01.webp");
	z-index: 9;
}
.result .outcome a{
	color:#0c8e71;
}
.result .link p{
	text-align: right;
	padding: 0;
}
.result .link a{
	color:#0c8e71;
    font-size: 16px;
}
.result .participate{
	background: #fbf9f3;
    padding: 25px 10% 20px;
    margin-top: 10%;
}
.result .result_btn{
	margin:2% 0;
}
.result .result_go{
	font-weight: 700;
	font-size:20px;
	background: #f8743f;
	border:2px solid #000;
	text-align: center;
	height: 45px;
	line-height:42px;
	width:100%;
}
.result  a.result_go{
	color:#000;
}
.result .share{
	background: #0c8e71;
	border:2px solid #000;
	text-align: center;
	margin:2% 0;
	height: 45px;
    line-height:43px;
}
.result .share a{
	color:#fff;
	font-weight: 700;
	font-size:20px;
}
.result .repeat{
	background: #000;
	border:2px solid #000;
	text-align: center;
	margin:2% 0;
	height: 45px;
    line-height:43px;
}
.result .repeat a{
	color:#fff;
	font-weight: 700;
	font-size:20px;
}
.result .prize:before{	
	content: "";
	position: absolute;
	width:133px;
	height:40px;
	left:0;
	top:-20px;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/result_title_02.webp");
	z-index: 9;
}

.result .prize:after{	
	content: "";
	position: absolute;
	width:102px;
	height:96px;
	right:-20px;
	top:-45px;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/result_pigeon_right.webp");
	z-index: 9;
}
.result_btn_footer{
	display: none;
	position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    width: 100%;
    padding: 10px;
    background: #0c8e71;
	text-align: center;
	border: 2px solid #000;
}
.result_btn_footer a{
	color:#fff;
}
.result_btn_footer .btn{
	width:100%;
	color:#ff0;
	font-size:1.2em;
	font-weight: 700;
}
@media (max-width:768px){
	.result_btn_footer{
		display: block;
	}	
	.result img{
		width:100%;
	}
}
@media (max-width:767px){
	.result .participate:after{
		display: none;
	}
	.result{
		width:90%;
	}
	.lottery_bg {
		background: none;
	}
	
}
@media (max-width:550px){
	.anniversary:before{
		display: none;
	}
}


/*抽獎*/
.lottery_bg {
	position:relative;
	overflow:hidden;
	width: 100%;
	text-align: center;
	background:url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg_left.webp") no-repeat left center,url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg_right.webp") no-repeat right center,#faf6ea url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/bg.webp") repeat center;

}

.lottery_bg .bg2,.lottery_bg .bg3,.lottery_bg .bg4,.lottery_bg .bg5,.lottery_bg .bg6{
	position: absolute;
}
.lottery_bg .bg2{
	top:31%;
	left:30%;
	z-index: 9;
}
.lottery_bg .bg3{
	top:50%;
	right:30%;
	z-index: 9;
}
.lottery_bg .bg4{
	top:65%;
	left:23%;
}
.lottery_bg .bg5{
	top:25%;
	right:25%;
}
.lottery_bg .bg6{
	bottom:0;
	right:0;
	left:0;
	margin: auto;
	z-index: 10;
	width:auto;
}
.lottery{
    padding-top: 2%;
	padding-bottom: 160px;
	font-size:20px;
	width:600px;
	margin:auto;
}
.lottery p{
	text-align: center;
	font-size:20px;
	color:#000;
	font-weight: 700;
	padding-top: 20px;
}
.lottery .link p{
	text-align: right;
	padding: 0;
}
.lottery .link a{
	color:#0c8e71;
    font-size: 16px;
}
.lottery .participate{
	background: #fbf9f3;
    padding: 25px 10% 20px;
    margin-top: 10%;
}
.lottery .result_btn{
	margin:2% 0;
}
.lottery .result_go{
	font-weight: 700;
	font-size:20px;
	background: #f8743f;
	border:2px solid #000;
	text-align: center;
	height: 45px;
	line-height:42px;
	width:100%;
}
.lottery  a.result_go{
	color:#000;
}
.lottery .share{
	background: #0c8e71;
	border:2px solid #000;
	text-align: center;
	margin:2% 0;
	height: 45px;
    line-height:43px;
}
.lottery .share a{
	color:#fff;
	font-weight: 700;
	font-size:20px;
}
.lottery .repeat{
	background: #000;
	border:2px solid #000;
	text-align: center;
	margin:2% 0;
	height: 45px;
    line-height:43px;
}
.lottery .repeat a{
	color:#fff;
	font-weight: 700;
	font-size:20px;
}

@media (max-width:767px){
	.lottery_bg {
		background: none;
	}
	.lottery{
		width:90%;
		margin:auto;
	}
	.lottery_bg .bg2,.lottery_bg .bg3,.lottery_bg .bg4,.lottery_bg .bg5,.lottery_bg .bg6{
		display: none;
	}
	
	
}

/*footer*/
footer {
	background-color:#e06c3d;
	color:#fff;
	padding:20px;
	}
footer p{
	margin:0;
	text-align: center;
	position: relative;
}
footer p:before{
	content: "";
	position: absolute;
	width:149px;
	height:55px;
	left:0;
	right:0;
	top:-55px;
	margin:auto;
	background-image: url("https://images.1111.com.tw/event/img/zone/jobsouth/images/event20/anniversary/footer_center.webp");
	z-index: 9;
}
footer img{
	width:auto;
}	
@media (max-width:768px){
	footer .container{
		padding:0 !important;
	}

}
/*跳窗設定調整*/
.fancybox-skin {
    padding:15px !important;
}
@media (max-width: 767px) {
	.fancybox-skin {
		padding:5px !important;
	}
}

	
/*彈跳視窗*/
.modal-content{
	background: #000;
	color:#fff;
	font-size:20px;
	font-weight: 800;
}
.modal-header{
	border-bottom:none;
}
.modal-body{
	padding: 8% 15%;
	text-align: center;
}
.close{
	font-size:16px;
	text-shadow: none;
	color:#f8743f;
	font-weight: 700;
	opacity: 1;
}
.close:focus, .close:hover{
	color:#ff4900;
}
.certification{
	width: 100%;
    margin: auto;
    background: #f8743f;
    height: 40px;
	line-height: 35px;
	border:2px solid #000;
	text-align: center;
}
.certification a{
	color:#000;
	font-weight: 600;
}
.certification.gray{
    background: #808080;
}

.controller {
	-webkit-animation: bounce-left 2.6s linear infinite;
	animation: bounce-left 2.6s linear infinite;
}

.owl-carousel .owl-item .item{
	text-align: center;
	margin:5px;
}
.item img{
	padding:2%;
	width:100%;
	height: auto;
}
@-webkit-keyframes bounce-left {
   25% {
		-webkit-transform: translateX(-10px);
   }
   50%, 100% {
		-webkit-transform: translateX(0);
   }
   75% {
		-webkit-transform: translateX(10px);
   }
}

@keyframes bounce-left {
	25% {
		 transform: translateX(-10px);
	}
	50%, 100% {
		 transform: translateX(0);
	}
	75% {
		 transform: translateX(10px);
	}
}

.controller2 {
	-webkit-animation: bounce-right 2.6s linear infinite;
	animation: bounce-right 2.6s linear infinite;
}

@-webkit-keyframes bounce-right {
   25% {
		-webkit-transform: translateX(10px);
   }
   50%, 100% {
		-webkit-transform: translateX(0);
   }
   75% {
		-webkit-transform: translateX(-10px);
   }
}

@keyframes bounce-right {
	25% {
		 transform: translateX(10px);
	}
	50%, 100% {
		 transform: translateX(0);
	}
	75% {
		 transform: translateX(-10px);
	}
}


.star_up {
	-webkit-animation: bounce-up 2s linear infinite;
	animation: bounce-up 2s linear infinite;
}

@-webkit-keyframes bounce-up {
   25% {
		-webkit-transform: translateY(20px);
   }
   50%, 100% {
		-webkit-transform: translateY(0);
   }
   75% {
		-webkit-transform: translateY(-20px);
   }
}

@keyframes bounce-up {
	25% {
		 transform: translateY(20px);
	}
	50%, 100% {
		 transform: translateY(0);
	}
	75% {
		 transform: translateY(-20px);
	}
}
@media (max-width: 768px) {
	.sponsor .sponsor_photo img{
		width:100%;
		padding:2%;
	}
	.top_bn .bg2,.top_bn .bg3,.top_bn .bg4,.top_bn .bg5{
		display: none;
	}
	.method{
		padding:2%;
	}

}
@media (max-width: 767px) {
	.top_bn .bg6{
		width:30%;
	}
	.giveaway h3 span::before{
		right:-45px;
	}
	.giveaway .container{
		padding-bottom: 0;
	}
	.anniversary .container.explanation,.anniversary .container.sponsor{
		padding:20px 0;
	}
}

/*浮動參加活動扭*/
.float_right{
	position: fixed;
	right:0;
	top:25%;
	z-index: 99;
}