@charset "utf-8";
/* CSS Document */
html {
	height: 100%;
	width: 100%;
}
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: 'Noto Sans HK', 'Noto Sans TC', sans-serif;
	font-size: 16px;
	color: #333;
}
.body-wrapper {
	height: 100%;
}
.body-wrapper .wrapper {
	margin: 0 auto;
	background-image: url(../img/luckydraw-bg.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: auto;
	min-height: calc(100vh - 30px);
	padding: 15px;
    display: flex;
    align-items: center;
}
.body-wrapper .wrapper .form-box {
	max-width: 700px;
	margin: 0 auto;
	height: auto;
	background: #fff;
	border: 1px solid #d8d8d8;
	padding: 60px 30px;
}
.row-fluid {
	width: 100%;
	height: auto;
	margin: 24px 0;
}
.row-fluid:first-child {
	margin-top: 0px;
}
.row-fluid:last-child {
	margin-bottom: 0px;
}
.text-center {
	text-align: center;
}
.box-green {
	background: #017a57;
	padding: 4px 10px;
	display: inline-block;
	color: #fff;
	font-size: 20px;
	border-radius: 4px;
}
.box-green > font {
	color: #d8df20;
}
.input-wrapper {
	width: 100%;
	height: 1.75em;
	display: table;
	border-collapse: collapse;
	table-layout: fixed;
}
.input-wrapper > div {
	display: table-cell;
	vertical-align: middle;
	padding: 0 10px 0 0;
}
.input-wrapper > div:last-child {
	padding: 0;
	text-align: right;
}
.label-wrapper {
	display: flex;
	flex-wrap: wrap;
}
.flex {
	display: flex;
}
.checkbox.inline {
	display: inline-block;
	margin-bottom: 0;
	vertical-align: middle;
}
.checkbox {
	min-height: 20px;
	padding-left: 28px;
}
.checkbox input[type="checkbox"] {
	float: left;
	margin-left: -18px;
	margin-top: 6px;
}
.input-wrapper label {
	font-weight: 600;
}
.input-wrapper label em {
	font-style: normal;
}
.input-wrapper input[type="text"], .input-wrapper input[type="email"], .input-wrapper input[type="tel"], .input-wrapper input[type="password"] {
	border: 0px;
	border-bottom: 1px solid #949494;
	width: 100%;
	transition: 0.2s all ease-in-out;
	border-radius: 0px;
	box-shadow: 0px 0px 0px;
	padding: 4px 0;
}
.input-wrapper input[type="text"]:focus, .input-wrapper input[type="email"]:focus, .input-wrapper input[type="tel"]:focus, .input-wrapper input[type="password"]:focus {
	outline: 0;
	border-color: #ababab;
}

input, input::placeholder, select, option {
	font-family: inherit;
}

.form-label {
	width: 110px;
}
.asterisk {
	color: #f00;
}
.lower-box {
	text-align: justify;
	font-weight: 600;
}
.label-wrapper > div, .label-wrapper > div > span {
	display: inline-block;
	vertical-align: middle;
}
.label-wrapper > div > span {
	font-size: 14px;
	padding-right: 4px;
}
.general-box {
	font-weight: 600;
}
.general-box .text-pink {
	display: block;
	border-bottom: 1px solid #333;
	padding-bottom: 2px;
	color: #e6007e;
}
.btn {
	display: inline-block;
	margin: 10px;
	padding: 10px 24px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	border: 2px solid #f9c7dd;
}
.btn-back {
	background: #fff;
	color: #662e91;
}
.btn-submit {
	background: #662e91;
	color: #fff;
}
.image-box img {
	max-width: 100%;
}
.input-wrapper > div > select {
	width: 100%;
}
.input-phone-prefix {
	width: clamp(100px, 20vw, 160px);
}
.text-left {
	text-align: left !important;
}
.width-fixed {
	width: 110px;
}
@media (max-width: 640px) {
	.form-label, .width-fixed {
		width: 80px;
	}
}
.lower-box .label-wrapper {
	clear: both;
    overflow: hidden;	
}

.result-text {
	font-size: 112.5%;
	text-align: center;
}

.info-text {
	color: #c66;
	font-size: 32px;
	text-align: center;
}

.message-text {
	color: #f00;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	margin: 1em 0;
}

.staffBtn {
	background-color:#44c767;
	border-radius:5px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:17px;
	padding:10px 15px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
}
.staffBtn:hover {
	background-color:#5cbf2a;
}
.staffBtn:active {
	position:relative;
	top:1px;
}

.slide-submit {
	max-width: 300px;
    /* width: 100%; */
    margin: auto;
}

.slide-submit-thumb {
	background:#5cbf2a !important;
}

.slide-submit-thumb:hover, .draggable {
	background: linear-gradient(to top, #2f6627, #5cbf2a) !important;
}

.popup_container {
	height: 100%;
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #000000a3;
	z-index: 999;
}

.popup_wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-width: 500px;
	width: 80%;
	max-height: 400px;
	height: 50%;
	background-color: #fbfdfc;
	border-radius: 10px;
	padding: 35px clamp(5px, 5vw, 20px);
	height: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
}