html{
	height: 100%
}

body {
  background: url(../img/bg2.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#login-wraper {
	width: 80%;
	max-width:530px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  position: absolute;
  display: block;
  padding: 25px;
  min-height: 320px;
  background: white;
}

.login-form legend {
  margin-top: 5px;
  margin-bottom: 30px;
  padding-bottom: 25px;
}
.login-form .body {
  padding-bottom: 30px;
  border-bottom: 1px solid #eeeeee;
  min-height:120px;
}
.login-form .footer {
  margin-top: 20px;
  margin-left: 0px;
}
.login-form .control-group {
	min-height: 40px;
}
.login-form .footer .btn {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  margin: 0 auto;
  padding: 7px 25px;
  background-image: none;
}

#wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* login form */
.login-form legend {
  font-family: 'Lato', Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #333333;
  -webkit-font-smoothing: subpixel-antialiased;
}

.login-form .loginlabel {
  font-family: 'Lato', Helvetica, sans-serif;
  font-size: 20px;
  color: #333333;
  font-weight: 300;
}

label.valid,span.valid {
	width: 24px;
	height: 24px;
	background: url(../img/valid.png) center center no-repeat;
	display: inline-block;
	text-indent: -9999px;
	vertical-align: middle;
}

label.error {
	font-weight: bold;
	color: red;
	padding: 2px 8px;
	margin-top: 2px;
	font-size: 13px;
}

.navbar{
	display: none;
}

#wrapper-brand{
	display: block;
}

label.error:empty {
	display: none !important;
}

@media(max-width: 495px){
	#login-wraper {
		width: auto;
	}
	.navbar{
		display: block;
	}
	.navbar .brand{
		position: fixed;
		top: 0px;
		left: 50%;
		margin-left: -90px;
	}
	#wrapper-brand{
		display: none;
	}
	}
}


