﻿@charset "utf-8";
#divMaskFrame {background-color: #F2F4F7; display: none; left: 0px; position: absolute; top: 0px;}
#ainfoClose{ display:block; width:116px; height:39px; text-align:center; line-height:39px;cursor: pointer; border:solid 1px #999;font-size:10pt;}
#DivMessageBox{display: none; position: fixed; bottom: 50%; left: 40%; width: 200px; background-color: #fff; z-index: 1100; border: solid 1px #999; font-size:10pt;}/*提示視窗*/

#aFBTipClose{ display:block; width:116px; height:39px; text-align:center; line-height:39px;cursor: pointer; border:solid 1px #999;font-size:10pt;}
#DivFBTipBox{display: none; position: fixed; bottom: 50%; left: 40%; width: 200px; background-color: #fff; z-index: 1100; border: solid 1px #999; font-size:10pt;}/*提示視窗*/

@font-face {
    font-family: MyCustomFont;
    src: local("Microsoft JhengHei"), local("微軟正黑體");
}

/* 英文數字專用 */
@font-face {
    font-family: MyCustomFont;
    /* 同樣的 font-family */
    unicode-range: U+00-7F, U+00C0-U+00FF, U+2150-U+2169;
    /* ASCII,羅馬數字*/
    src: local(Verdana), local(Geneva), local(Arial), local(Helvetica);
}

/* 日文假名專用 */
@font-face {
    font-family: MyCustomFont;
    /* 同樣的 font-family */
    unicode-range: U+3040-30FF;
    /* Hiragana, Katakana */
    src: local("MS PGothic"),
        /* OS X */
        local(Meiryo);
    /* Windows Vista+ */
}

body {
    color: #595959;
    font-family: MyCustomFont, sans-serif;
    font-style: normal;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 20px;
}

body,
#loading {
    background-color: #d42b30;
}

a {
	cursor: pointer;
}
input{
	color: #595959;
    font-family: MyCustomFont, sans-serif;
    font-style: normal;
    font-size: 1em;
}
::placeholder {
  color: #b5b5b6;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #b5b5b6;
}

::-ms-input-placeholder { /* Microsoft Edge */
 color: #b5b5b6;
}
/*--------Loading--------*/
#loading {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 99;
}

#loading:after {
    position: absolute;
    content: "";
    border: 14px solid #f3f3f3;    
    border-top: 14px solid #ae2327;    
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    margin-top: -35px;
    margin-left: -35px;
    box-sizing: border-box;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--------Loading--------*/
#wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
}
.content{
	position: relative;
	width: 76.5%;
	margin: 0 auto;
}
.logoPic{
	position: relative;
	display: block;
	margin: 0 auto;
}
.logoPic img{
	position: relative;
	width: 74.4%;
	height: auto;
	display: block;
	margin: 1em auto;
	padding-left: 9.3%;
	box-sizing: border-box;
}

.mainBox{
	position: relative;
	width: 100%;
	min-height: 530px;
	margin: 0 auto 30px;
	padding-bottom: 1em;
	background-color: #FFF;
	border-radius: 15px;
	box-sizing: border-box;
}
.titleBox{
	position: relative;
	width: 100%;
}
.titleBox img{
	position: relative;
	width: auto;
    height: 1em;
	vertical-align: bottom;
	margin-right: 0.3em;
}
.titleBox p{
	position: relative;
	padding: 0.5em 0;
	font-size: 1.5em;
	text-align: center;
}
.hrLine{
	position: relative;
	width: 100%;
	height: 2px;
	background-color: #acabab;
}
.btnRectangle, .textRectangle{
	position: relative;
	width: 89.1%;
	height: 3em;
	display: block;	
	margin: 0 auto;
	display: table;
	border-radius: 8px;
}
.btnRectangle p{
	position: relative;
	color: #FFF;
	padding-left: 1em;
	display: table-cell;
    vertical-align: middle;
}
.btnRectangle img{
	position: relative;
	width: auto;
    height: 1em;
	vertical-align: middle;
	margin-right: 0.3em;
}
.btnRectangle.social img{
	height: 1.5em;
}
.btnRectangle.fb{
	margin-top: 1.5em;
	background-color: #4267b2;
}
.btnRectangle.line{
	margin-top: 1em;
	background-color: #40c005;
}
.btnRectangle.wechat{
	margin-top: 1em;
	margin-bottom: 1.5em;
	background-color: #01a628;
}
.btnRectangle.red{
	text-align: center;	
	margin-top: 1em;
	background-color: #d42b30;
}
.btnRectangle.red p{
	padding-right: 1em;
}
.pointWord{
	position: relative;
	width: 89.1%;
	padding-left: 1.1em;
	margin: 0 auto;
	font-size: 0.83em;
	line-height: 1.5em;
	box-sizing: border-box;
}
.pointWord:before{
	position: absolute;
	content: "★";
	top: 0;
	left: 0;
}
.pointWord a{
	color: #4267b2;
	text-decoration: underline;
}
.textRectangle{	
	position: relative;
}
.textRectangle input[type="text"]{
	position: relative;
	width: 100%;
	height: 100%;
	border: solid 1px #acabab;
	padding: 0 15px 0 45px;
	box-sizing: border-box;
	border-radius: 8px;
}
.textRectangle:after{
	position: absolute;
	content: "";
	width: 1.5em;
    height: 1.2em;
	top: 50%;
	left: 15px;
	margin-top: -0.6em;
}
.textRectangle.id{
	margin-top: 1.5em;
}
.textRectangle.id:after{
	background: url(../images/Icon/text-icon-id.png) no-repeat;
	background-size: contain;
}
.textRectangle.sms{
	margin-top: 1em;
}
.textRectangle.sms:after{
	background: url(../images/Icon/text-icon-sms.png) no-repeat;
	background-size: contain;
}

.btnRectangle.send{
	margin-top: 1em;
	background-color: #898989;
}
.btnText{
	position: relative;
	width: 89.1%;
	margin: 1em auto;
	line-height: 1.5em;
	box-sizing: border-box;
	text-align: right;
}
.btnText a{
	text-decoration: underline;
}
.textTitle{
	position: relative;
	padding: 0 5.45%;
	margin-top: 1em;
}
.snInputBox{
	position: relative;
	width: 89.1%;
	height: 1.5em;
	margin: 0.5em auto 0;
	display: table;
	padding-left: 1.7em;
	box-sizing: border-box;
}
.snInputBox:after{
	position: absolute;
	content: "";
	width: 1.5em;
    height: 1.2em;
	background: url(../images/Icon/text-icon-sn.png) no-repeat;
	background-size: contain;
	top:50%;
	left: 0.1em;
	transform: translate(0%, -50%);
}
.snInputBox input[type="text"]{
	position: relative;
	width: calc(100% / 8);
	height: 100%;
	border: solid 1px #acabab;
	/*padding: 0 15px 0 45px;*/
	box-sizing: border-box;
	float: left;
	text-align: center;
	border-radius: 0;
	padding: 0;
}
.snInputBox input[type="text"]:first-child{
	border-radius: 6px 0 0 6px;
}
.snInputBox input[type="text"]:last-child{
	border-radius: 0 6px 6px 0;
}

@media screen and (max-width: 360px) {
	body {
        font-size: 16px;
    }
    .content{
        width: 88%;
    }
    .titleBox p{
		font-size: 1.3em;
	}
}
@media screen and (min-width: 1024px) {
	/*垂直置中*/
	/*.content{
		position: absolute;		
		top:50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}*/
	.content{
		max-width: 400px;		
	}
	.logoPic img{
		width: 90%;
		margin: 1.5em auto 1em;
		padding-left: 0%;
	}
}