@charset "UTF-8";


.loginZone{ position: relative;}

.l-overlay-mask{ transition: .3s; pointer-events: none;}
.l-overlay-mask.active{ position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #000; opacity: .8; cursor: pointer; z-index: 20; pointer-events: visible;}


.loginZone .wrapper{ 
	position: fixed; 
	top: 50%; 
	left: 50%; 
	transform: translate(-50%,-50%); 
	padding: 20px;
	width: 480px; 
	max-width: 90%;
	background: url(https://static.gnjoy.com.tw/GNJOY/img/common/bg_content.png); 
	z-index: 21;
	box-sizing: border-box;
	border-radius: 10px;
}

.loginZone .wrapper.email_verification_notice{
	width: 640px;
}

.loginZone .wrapper.email_verification_notice img{
	max-height: calc(90vh - 40px);
	width: auto;
	margin: 0 auto;
}

.loginZone .login{
	width: 100%;
    max-width: 440px;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
}
.loginZone .login h1 {
	font-family: "Microsoft JhengHei", \5FAE\8EDF\6B63\9ED1\9AD4, PMingLiU, \65B0\7D30\660E\9AD4, Arial, "Oswald", Helvetica, sans-serif;
	font-size: 24px;
	width: 100%;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px; 
	font-weight: bold;
	margin: 0;
}
.loginZone .login h1 em {
	font-weight: bold;
	color: #c31919;
	font-style: normal;
}
.loginZone .login-form {
    padding-top: 20px; 
}

.loginZone .login-form_member, 
.loginZone .login-form_pw {
	position: relative;
	float: left;
	width: 100%;
	margin-bottom: 10px;
	font-weight: bold; 
	border: 1px solid #ccc;
    
    background-color: #fff;
	box-sizing: border-box;
}

.loginZone .login-form_member input[type="text"],
.loginZone .login-form_pw input[type="password"] {
	font-size: 15px;
	width: 100%;
	padding: 10px 14px 10px 30px;
	box-sizing: border-box;
}

.loginZone .login-form_member:after, 
.loginZone .login-form_pw:after {
	display: block;
	content: '';
	position: absolute;
	pointer-events: none;
	left: 8px;
	top: 10px;
	width: 20px;
	height: 20px; 
}

.loginZone .login-form_member:after {
	background: url("https://static.gnjoy.com.tw/GNJOY/img/common/icon_member.png") no-repeat;
	background-size: 20px; 
}
.loginZone .login-form_pw:after {
	background: url("https://static.gnjoy.com.tw/GNJOY/img/common/icon_pw.png") no-repeat;
	background-size: 20px; 
}

.login-code, .login-btn, .login-txt, .login-others {
	width: 100% !important;
	display: block;
	text-align: center; 
}
.login-code {
	overflow: hidden; 
}
.login-code .codeBox {
	width: 100%; 
}

.loginZone .login-btn {
	background-color: #c31919;
	color: #fff;
	padding: 10px;
	cursor: pointer;
	font-size: 15px;
	height: 66px;
	margin: 10px 0 0 0;
}
.loginZone .login-btn:hover {
	-webkit-filter: brightness(105%);
	filter: brightness(105%); 
}

.loginZone .login-txt {
	position: relative;
	margin-top: 20px; 
}
.loginZone .login-txt a {
	color: #777;
	margin: 0 4px;
	display: inline-block;
	font-size: 14px;
	position: relative;
}
.loginZone .login-txt a.impt {
	color: #c31919; 
}
.loginZone .login-txt a:hover {
	top: 1px; 
}
.loginZone .login-others {
	position: relative;
	margin-top: 30px; 
}
.loginZone .login-others span {
	font-size: 14px; 
}
.loginZone .login-others a {
	display: inline-block;
	width: 28px;
	height: 28px;
	vertical-align: middle;
	text-indent: -9999px;
	cursor: pointer;
	margin: 0 4px; 
}
.loginZone .login-others_fb {
	background: url("https://static.gnjoy.com.tw/GNJOY/img/common/icon_facebook.png") no-repeat;
	background-size: 100%; 
}
.loginZone .login-others_google {
	background: url("https://static.gnjoy.com.tw/GNJOY/img/common/icon_google.png") no-repeat;
	background-size: 100%; 
}
.loginZone .login-others_baha {
	background: url("https://static.gnjoy.com.tw/GNJOY/img/common/icon_apple.png") no-repeat;
	background-size: 100%; 
}
.loginZone .login-others_apple {
	background: url("https://static.gnjoy.com.tw/GNJOY/img/common/icon_baha.png") no-repeat;
	background-size: 100%; 
}


@media only screen and (max-width: 768px) {
	.loginZone .login-others {
		margin-left: 0;
		margin-top: 30px; 
	}
	.loginZone .login-others span {
		display: block;
		margin-bottom: 10px; 
	}
	.loginZone .login-others a {
		width: 28px;
		height: 28px;
		margin: 0 2px 4px; 
	} 
}


@media screen and (orientation: landscape) and (max-height: 480px) {
	.loginZone .wrapper{ 
        max-height: 90vh;
        width: 80vw;
		max-width: none;
	}
	.loginZone .login{
		max-width: none;
      	padding: 15px; 
	}
	.loginZone .login-form_member, .loginZone .login-form_pw {
		display: inline-block;
		vertical-align: top;
		width: calc(50% - 6px); 
	}
	.loginZone .login-form_pw{
		margin: 0 0 0 12px;
	}
	.login-code, .login-btn, .login-txt, .login-others {
		display: inline-block;
		vertical-align: top; 
	}
	.login-code {
		width: calc(70% - 16px) !important;
		margin-right: 8px;
		border-right: 1px solid #d8d8d8;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		border-radius: 4px; 
	}
	.login-code .codeBox {
		margin-bottom: 0; 
	}
	.login-code .codeBox .img {
		z-index: 5; 
	}
	.loginZone .login-btn {
		width: 30% !important;
		margin-top: 0; 
	}
	.loginZone .login-txt {
		width: 35% !important;
		margin-top: 30px; 
	}
	.loginZone .login-others {
		width: 60% !important; 
	}
	.loginZone .login-others a {
		width: 28px;
		height: 28px;
		margin: 0 4px; 
	}
}



.l-overlay_close {
	position: absolute;
	z-index: 1;
	width: 28px;
	height: 28px;
	background-color: #fff;
	border: 1px solid #ccc;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 50%;
	right: 5px;
	top: 5px;
	cursor: pointer;
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-ms-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	transition: all .3s ease-in;
}

.l-overlay_close:after, .l-overlay_close:before {
	content: '';
	position: absolute;
	top: 12px;
	left: 5px;
	display: block;
	width: 16px;
	height: 2px;
	border-radius: 5px;
	background-color: #ccc;
}

.l-overlay_close:after {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.l-overlay_close:before {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.l-overlay_close:hover {
	background-color: #c31919;
}

.l-overlay_close:hover:after, .l-overlay_close:hover:before {
	background-color: #fff;
}
