html, body 
{
  width: 100%;
  height: 100%;
}
body 
{
	background-color: #eee;
}
.header 
{
  position: absolute;
  top: 0;
  width: 98%;
  background-color: #000;
  color: #eee;
  padding-left: 2%;
}
.header img
{
  display: inline-block;
  height: 40px;
  margin: 10px;
}
.pages
{
  margin: auto;
  width: 100%;
  height: 100%;
  position: relative;
}
.footer
{
	position:absolute;
	bottom:0px;
	left:0px;
	width:100%;
	text-align:right;
	color:#999;
}
.login-panel
{
  position: absolute;
  width: 300px;
  height: 350px;
  right: 0;
  background: #fff;
  background-color: #fff;
}

.login-panel h2
{
  font-size: 20px;
  padding: 10px 20px;
}

.login-panel h3
{
  font-size: 16px;
  padding: 10px 20px;
}

.login-panel > input[type=button]
{
  width: 40px;
  height: 40px;
  position: absolute;
  right: 20px;
  top: 20px;
  border: none;
  outline: none;
  background-image: url('../../img/qr_login.png')
  /* background: url('../../img/qr_login.png') no-repeat center/contain; */
}

.login-panel.use-qr-code > input[type=button]
{
  background-image: url('../../img/pwd_login.png');
}

.login-panel .inputs
{
  margin-top: 1em;
  overflow: hidden;
  margin-bottom: 1em;
}

.login-panel.use-qr-code .inputs
{
  display: none;
}

.login-panel .inputs input
{
  display: block;
  margin: 1em auto;
  width: 80%;
  padding: 0.5em;
  outline: none;
  /*border: 1px solid transparent;*/
  border: 1px solid #ccc;
  font-size: 16px;
  transition: all 0.5s;
  color: #333;
}

.login-panel .inputs input.error
{
  border-color: #d00;
}

.login-panel .inputs input:focus
{
}

.login-panel .inputs input.error:focus
{
}

.login-panel .inputs input:focus::-webkit-input-placeholder
{
  color: #333;
}


.login-panel .inputs input[type=button],
.login-panel .inputs input[type=submit]
{
  border: none;
  background-color: #3b5999;
  color: #fff;
}

.login-panel .inputs div
{
  width: 80%;
  margin: 0.5em auto;
  position: relative;
  display: block;
  overflow: hidden;
}

.login-panel .inputs div input
{
  width: 50%;
  margin: 0 0;
}

.login-panel .inputs div img
{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
}

.login-panel .qr-code
{
  display: none;
}

.login-panel.use-qr-code .qr-code
{
  margin-top: 1em;
  display: block;
}

.login-panel .qr-code img
{
  display: block;
  margin: 20px auto 0;
  width: 200px;
}


.loginfo{
	text-align: center;
	color: red;
}