@charset "utf-8";
/* CSS Document */

@import url(../../public/css/reset.css);
@import url(../../public/css/font-awesome-4.7.0/font-awesome.min.css);

html{
	height:100%;
}

body{
	font-family: Verdana, Calibri, Helvetica, Arial, 'Heiti TC', '蘋果儷中黑', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
	background-color: #fff;
	height:100%;
	/*overflow:hidden;*/
}

.b-box{
	box-sizing:border-box;
}

a {
	cursor:pointer;
	transition:all 0.4s ease;
}

.loading{
	background-color:#fff;
	font-size:18px;
	color:#333;
	width:40px;
	height:40px;
	line-height:40px;
	text-align:center;
	border-radius:5px;
	
	position:fixed;
	top:50%;
	left:50%;
	margin-top:-17px;
	margin-left:-17px;
}
	
/*=====系統對話====*/
/*loading*/
#loadingMask{
	display:none;
	width:150px;
	position: fixed;
	left: 50%;
	top: 40%;
	margin-left: -100px;
	z-index:9999;
}
	
#loadingMask .loading{
	border-radius: 10px;
	border: 3px solid #C7C7C7;
	box-shadow: 0 0 10px #000;
	padding: 5px;
	background: #FFF;
	z-index:9999;
}

#loadingMask .loading i{
	font-size:20px;
	color: #5E5E5E;
}
/*end*/

.loginArea {
	position: relative;
	height: 100%;
	background-color: #fff;
}

.loginArea.loaded .leftBox::before, .loginArea.loaded .rightBox::before {
	width: 100%;
}
.loginArea.loaded .power {
	transform: translate(0);
	opacity: 1;
}

.loginArea.loaded .loginBox {
	opacity: 1;
	transition-delay: 1s;
}

.loginArea.loaded .power {
	transition-delay: .7s;
}

.loginArea .leftBox::before, .loginArea .rightBox::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 0;
	height: 100%;
	background-position: 0 0;
	background-repeat: no-repeat;
	transition: .5s ease-out;
}

.loginArea .leftBox::before {
	background-image: linear-gradient(to bottom, #ec6666 0, #992525 100%);
}

.loginArea .rightBox::before {
	background-image: linear-gradient(to right, #efefef 0, #fff 70%);
}

.logo {
	width: 97px;
	margin-left: auto;
	margin-right: auto;
}
.logo img {
	display: block;
	max-width: 100%;
	height: auto;
	backface-visibility: hidden;
}

.ibestDataBox {
	text-align: center;
}
.ibestDataBox em {
	display: block;
	margin-top: 7px;
	font-size: 15px;
	color: #fff;
}

.iconService {
	width: 134px;
	height: 103px;
	margin-top: 44px;
	margin-bottom: 40px;
	fill: #fff;
}

.power {
	transform: translateY(20px);
	opacity: 0;
	font-size: 12px;
	color: #faa;
	transition: .5s ease-out;
}

.power a {
	color: #faa;
}
.power a:hover {
	color: #fdd;
}

.loginBox {
	opacity: 0;
	transition: .5s ease-out;
	box-sizing: border-box;
}

.loginBox h1 {
	margin-bottom: 35px;
	font-size: 14px;
	color: #4e4e4e;
}

.greetings {
	margin-bottom: 3px;
	font-size: 55px;
}

.formRow {
	max-width: 330px;
	margin-bottom:10px;
	position:relative;
}

.forget {
	max-width: 330px;
	font-family: Verdana, Calibri, Helvetica, Arial, 'Heiti TC', '蘋果儷中黑', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
	text-align:right;
	font-size:12px;
	color:#9b9b9b;
}

.forget a {
	color:#9b9b9b;
}

.forget a:hover {
	color: #7d7d7d;
}

.inputGroup::before, .inputGroup::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	height: 1px;
	box-sizing: border-box;
}

.inputGroup::before {
	width: 100%;
	background-color: #c2c2c2;
}

.inputGroup::after {
	width: 0;
	background-color: #d75353;
	transition: .5s ease-out;
}

.inputGroup.focus::after {
	width: 100%;
}

.inputGroup.error {
	background-color: #f7e0e0;
}

.inputGroup i {
	display:block;
	color: #7d7d7d;
	
	width:40px;
	height:45px;
	line-height:45px;
	text-align:center;
	
	position:absolute;
	left:0;
	top:0;
	z-index: 1;
	
	transition:all 0.4s ease;
}

.inputGroup input[type="text"], .inputGroup input[type="password"]{
	width:100%;
	padding: 15px 5px 15px 45px;
	border: none;
	outline: none;
	box-sizing:border-box;
	background-color: transparent;
}

.inputGroup input[type="text"]:focus ~ i, .inputGroup input[type="password"]:focus ~ i{
	color:#d75353;
}

.submitBox{
	margin-top: 33px;
}

.submitBox .btn {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}

.submitBox .btn.login #login_btn {
	color: #fa1744;
}
.submitBox .btn.login a:last-child {
	display: block !important;
}

#login_btn {
	display:block;
	background-color:#fa1744;
	font-size:15px;
	color:#fff;
	text-align:center;
	
	width: 85px;
	height: 45px;
	line-height: 45px;
	border-radius: 25px;
}
#login_btn:hover {
	box-shadow: 0 0 10px 2px rgba(255, 95, 127, .4);
}

.submitBox .btn a:last-child {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	margin-left: -10px;
	text-align: center;
	color: #fff;
}

/*slideUnLock*/
.captchaArea {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	width: 230px;
	height: 45px;
	margin-right: 20px;
	border: 2px solid #7d7d7d;
	border-radius: 25px;
	box-sizing: border-box;
}
.captchaArea.unlocking .sliderBtn {
	transition: none;
}
.captchaArea .note {
	position: absolute;
	top: 50%;
	left: 50px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 1;
	font-size: 15px;
	text-align: center;
	font-family: Verdana, Calibri, Helvetica, Arial, 'Heiti TC', '蘋果儷中黑', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
	color: #7d7d7d;
	letter-spacing: 1px;
	pointer-events: none;
}

.sliderBtn {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 50px;
	height: 100%;
	border: none;
	outline: none;
	cursor: pointer;
	background-color: transparent;
	box-sizing: border-box;
	transition: all .3s linear;
}
.sliderBtn::before {
	content: '\f18e';
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	margin-top: -14px;
	margin-left: -12px;
	color: #7d7d7d;
	font-size: 28px;
	font-family: FontAwesome;
	pointer-events: none;
}
/*slideUnLock end*/

@media (min-width: 841px){
	.loginArea .leftBox, .loginArea .rightBox {
		position: absolute;
		top: 0;
		z-index: 1;
		width: 50%;
		height: 100%;
	}
	.loginArea .leftBox {
		left: 0;
	}

	.loginArea .rightBox {
		right: 0;
	}
	.ibestDataBox, .loginBox {
		position: absolute;
		top: 50%;
		z-index: 1;
	}
	.ibestDataBox {
		right: 70px;
		transform: translateY(-50%);
	}
	.loginBox {
		left: 50px;
		transform: translate(20px, -50%);
	}
	.loginArea.loaded .loginBox {
		transform: translate(0, -50%);
	}
}

@media (max-width: 840px){
	.loginArea .leftBox, .loginArea .rightBox {
		position: relative;
		z-index: 1;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.loginArea .rightBox {
		min-height: calc(100vh - 133px);
		text-align: center;
	}
	.iconService {
		display: none;
	}
	.power {
		margin-top: 10px;
	}
	.formRow, .forget {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 540px){
	.greetings {
		font-size: 40px;
	}
}

@media (max-width: 400px){
	.loginBox {
		padding-left: 20px;
		padding-right: 20px;
	}
	.greetings {
		font-size: 26px;
	}
	.captchaArea {
		margin-right: 0;
	}
	.submitBox {
		margin-top: 23px;
	}
	.submitBox .btn {
		width: 230px;
		margin-top: 10px;
	}
	#login_btn {
		width: 100%;
	}
	.loginArea .leftBox, .loginArea .rightBox {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.loginArea .rightBox {
		min-height: calc(100vh - 113px);
	}
}