﻿/*******************
FONTS
*******************/

/*******************
SELECTION STYLING
*******************/

::selection {
	color: #000;
	background: #FFF; /* Safari 7690F6*/
}
::-moz-selection {
	color: #000;
	background: #FFF; /* Firefox 7690F6*/
}

/*******************
BODY STYLING
*******************/

* {
	margin: 0;
	padding: 0;
	border: 0;
}

html,body {
	background-color: #FFF; 	/*#001D61*/
	background-repeat: repeat-x;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif, songti,宋体;
	font-weight:300;
	text-align: left;
	text-decoration: none;
}

#wrapper {
	/* Center wrapper perfectly */
	position: absolute;
	left: 50%;
	top: 160px;
	background-color: #f3f3f3;
	width:50%;
	margin-left: -28%;		
}

.background-module{
	position: absolute;
	z-index:1;
	width:100%;
	repeat-x;
	height:662px;
	overflow: hidden;
}

.background-module img{	
	width:100%;
	height:662px;
}

.login-top {	
	width:100%;position: absolute;z-index:2;background:url(../images/B2Blogin_img03-n.jpg) repeat-x;
}

.head-title{
	font-weight: bold;
}

/*******************
LOGIN FORM
*******************/
.login-form {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	position: relative;
	z-index:5;
	
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/*******************
HEADER 1F4E79
*******************/
.login-form .logo {
	background-color: #001D61;
	height: 144px;
	padding: 10px 10px;
	display: none;
}

.login-form .logoImg {
	width: 280px;
	height: 127px;

}

.login-form .header{
	/*display: none;*/
}

.login-form .header h1 {
	/*font-family: 'Bree Serif', serif;*/
	font-weight: 300;
	font-size: 30px;
	height:54px;
	line-height:54px;
	color: #414848;
	text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
	text-align: center;		
	overflow:hidden;  	
	background-color: #f3f3f3;
	padding-bottom: 10px;
	margin: 0px;
  	display: block;
}

.login-form .btnlogon {
	color: #FFFFFF;
	background-image: url(../images/bgbtnlogon.gif);
	background-color: #072e6f;
	background-repeat: repeat-x;
	height: 38px;
	width: 100px;
	padding: 2px 2px;
	border: 1px solid #062a6b;
	margin: 5px 10px;
}

/*******************
CONTENT
*******************/

.login-form .content {
	padding: 0 30px 25px 30px;
	background-color: #f3f3f3;
}

/* Input field */
.login-form .content .input {
	width: 90%;
	padding: 15px 15px;
	
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #9d9e9e;
	text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
	
	background: #fff;
	border: 1px solid #fff;
	border-radius: 5px;
	
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
	-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}

/* Second input field */
.login-form .content .password, .login-form .content .pass-icon {
	margin-top: 25px;
}

.login-form .content .input:hover {
	background: #dfe9ec;
	color: #414848;
}

.login-form .content .input:focus {
	background: #dfe9ec;
	color: #414848;
	
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}

.VerifyContainer{
	display: none;
}

.input-group-addon{
	background-color: #6E7474;
}

.mobile-button{
	background-color: #f3f3f3; 
	padding: 0px;
	height:30px;
}

.dynic-picture{
	padding: 0; 
	cursor: pointer;
}

.dynic-picture img{
	height: 36px;
}

.user-icon, .pass-icon {
	width: 46px;
	height: 47px;
	/*left: 0px;
	display: block;
	position: absolute;
	
	padding-right: 2px;
	z-index: 3;
	*/
	
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

.user-icon {
	/*top:277px;  Positioning fix for slide-in, got lazy to think up of simpler method. */
	background: rgba(65,72,72,0.75) url(../images/user-icon.png) no-repeat center;	
}

.pass-icon {
	/*top:355px; */
	background: rgba(65,72,72,0.75) url(../images/pass-icon.png) no-repeat center;
}

/* Animation */
.input, .user-icon, .pass-icon, .button, .register {
	transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
}

/*******************
FOOTER
*******************/

.login-form .footer {
	
	
	background: #d4dedf;
	padding: 10px 30px;
	overflow: hidden;
	
	box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
	-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
}

/* Login button */
.login-form .footer .button {
	/*float:left;
	padding: 11px 25px; */
	
	font-family: 'Bree Serif', serif;
	font-weight: 300;
	font-size: 18px;
	color: #fff;
	text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
	
	background: #56c2e1;
	border: 1px solid #46b3d3;
	border-radius: 5px;
	cursor: pointer;
	
	box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
	-moz-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
	-webkit-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
}

.login-form .footer .button:hover {
	background: #3f9db8;
	border: 1px solid rgba(256,256,256,0.75);
	
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.login-form .footer .button:focus {
	position: relative;
	bottom: -1px;
	
	background: #56c2e1;
	
	box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
	-moz-box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
	-webkit-box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
}

/* Register button */
.login-form .footer .register {
	display: block;
	float: right;
	padding: 10px;
	margin-right: 20px;
	
	background: none;
	border: none;
	cursor: pointer;
	
	font-family: 'Bree Serif', serif;
	font-weight: 300;
	font-size: 18px;
	color: #414848;
	text-shadow: 0px 1px 0 rgba(256,256,256,0.5);
}

.login-form .footer .register:hover {
	color: #3f9db8;
}

.login-form .footer .register:focus {
	position: relative;
	bottom: -1px;
}

#errorMsg {
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	color:red;
}

@media screen and (min-width: 768px) {
	html,body {
		background-color: #FFF; 
	}

	#wrapper {
		/* Center wrapper perfectly */
		width:50%;
		position: absolute;
		left: 50%;
		top: 160px;
		margin-left: -28%;		
	}

	.login-form{
		width: 100%;
		height: 100%;
	}

	.login-form .content {
		padding: 25px 30px 25px 30px;
		min-height: 144px;
		border: 1px solid #e1e1e1;
		background: #F3F3F3;
	}

	.login-form .row {
		margin: 0px;
		display: none;
	}

	.form-group{
		margin-bottom: 20px;
	}

	.input-group .form-control{
		height: 38px;
	}

	.login-form .btnlogon{
		height: 46px;
	  	width: 140px;
	  	font-size: 20px;
	}

	.login-form .footer {
		width: 100%;
	  	padding: 10px 10px 10px 10px;
	  	bottom: 0px;
	  	height: 132px;
	  	background-color: #f1f1f1;
	  	border: 1px solid #e1e1e1;
	  	border-top: 0;
	}

	.login-form .logo{
	  	background-color: #001D61;
		padding: 10px 10px;
		border-top: 1px solid #FFF;
		border-left: 1px solid #FFF;
		border-right: 1px solid #FFF;
	}

	.header{
		/*display: none;*/
		background: #F8F8F8;
	}

	.head-title h1 {
		color: #FFF;
		height: 127px;
		margin-bottom: 0px;
		margin-top: 0px;
		padding: 0px;
		padding-top: 18px;		
		font-weight: bold;
		font-size: 48px;
	}	

	.head-title h1 p {		
		height: 10px;
	}	

	.input-group .form-control{
		font-size: 20px;
		padding-top: 4px;
	}

	.forgetPwd {
	  /* display: block; */
	  padding: 14px;
	  font-size: 18px;
	}
}

@media screen and (max-width: 767px) {
	html, body {
	  background-color: #d4dedf;
	  position:realtive;	 
	  height: 100%; 
	}
	
	.background-module {
		height: 0px;
	}

	#wrapper{
	  width: 100%;
	  min-width : 260px;
	  height: 100%;
	  min-height:320px;
	  _height:320px;
	  left: 0px;
	  top: 0px;
	  margin: 0px;
	  border: 1px solid #FFF;	
	  border-bottom: 0px;
	}	

	#wrapper .login-form{
	   width: 100%;
	   height: 100%;
	   border: none;
	   box-shadow:none;
	}

	#wrapper .login-form .row {
	  margin: 0px;
	  display: block;
	}

	#wrapper .login-form .logo{
	  width: 100%;
	  height: 25%;
	  min-height:119px;
	  _height:119px;
	  padding: 5px;
	  z-index: 1;
	  display: block;
	}

	.login-form .logoImg {
		width: 240px;
		height: 108px;
	}

	#wrapper .login-form .header{
	  background-color: #f3f3f3;
	  height: 10%;
	  line-height: 10%;
	  min-height:54px;
	  _height:54px;
	  margin: 0 auto;
	  text-align:center;
	  vertical-align: middle;
	  z-index: 2;
	  display: block;
	}

	#wrapper .login-form .header h1{
		padding-top: 10px;
		padding-bottom: 10px;
		margin: 0px;		
	  	display: block;
	}

	h1{		
		margin: 0px;
	}

	#wrapper .login-form .head-title{
		display: none;
	}
	
	#wrapper .login-form .input-group .form-control{
		height: 50px;
	}

	#wrapper .login-form .content{
	  width: 100%;
	  margin:0px;
	  padding: 15px 25px;	
	  height: 40%;
	  min-height:120px;
	  _height:120px;
	  z-index:3;
	}

	.login-form .footer{
	  width: 100%;
	  padding: 25px 10px 5px 15px;
	  height: 25%;
	  min-height: 40px;
	  _height:40px;
	  z-index:4;
	}

	.login-form .footer .button {
	  float:none;
	  padding: 0px;
	}

	.login-form .btnlogon{
		height: 55px;
		width: 120px;
		font-size: 28px;
	}

	.forgetPwd {
	  /* display: block; */
	  padding: 5px;
	  line-height: 30px;
	}

	.login-form .input-group .form-control{
		padding-top: 10px;
		font-size: 20px;
	}

	.background-module{
		display:none;
	}

	.login-top{
		display:none;
	}
}