.wrapper {
	width: 500px;
	min-width: 280px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -200px 0 0 -250px;
}
h1 {
	margin-top: 10px;
	font-weight: 400;
	font-size: 30px;
	float: right;
	color: #393939;
	text-shadow: 0 1px 0 #fff;
}
.inner {
	width: 460px;
	margin: auto;
}
.logo {
	height: 40px;
	width: 500px;
	background: url(../img/nomotech_logo_loggin.png) no-repeat;
}
.lg-body {
	margin-top: 10px;
	height: 235px;
	background: url(../img/login-bg.jpg);
	border-radius: 5px;
	border: 1px solid #444;
	border-bottom: 4px solid #333;
	box-shadow: inset 0 1px 0 0 #999;
}
#lg-head {
	height: 26px;
	margin: 10px 0;
	background: url(../img/login-sprite.png) no-repeat 0 0;
}
#lg-head p {
	padding: 6px 0 0 34px;
	font-size: 17px;
	color: #d3d3d3;
	text-shadow: 0 1px 0 #292929;
}
.separator {
	height: 2px;
	background: url(../img/separator-dark-hz.png) repeat-x;
	margin: 14px 0;
}
.login {
	width: 460px;
	margin: auto;
	padding-top: 5px;
}
.login ul li {
	margin-top: 14px;
}
#usr-field, #psw-field {
	background: url(../img/nav/nav-hover.png);
	border-radius: 3px;
	box-shadow: inset 0px 0px 1px 0px #000;
	height: 32px;
	position: relative;
}
#usr-field-icon {
	display: block;
	width: 22px;
	height: 18px;
	background: url(../img/login-sprite.png) no-repeat 0 -28px;
	position: absolute;
	top: 8px;
	left: 8px;
}
#psw-field-icon {
	display: block;
	width: 22px;
	height: 20px;
	background: url(../img/login-sprite.png) no-repeat 0 -48px;
	position: absolute;
	top: 6px;
	left: 8px;
}
.input {
	width: 100%;
	height: 32px;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	text-indent: 40px;
	position: relative;
	font-size: 12px;
	color: #ccc;
	text-shadow: 0 1px 0 #292929;
}
#checkbox {
	margin: 16px 0 16px 4px;
}
.checkbox-text {
	color: #d3d3d3;
	margin-left: 6px;
	font-size: 13px;
	float: none;
}
.submit {
	width: 82px;
	height: 26px;
	border: 1px solid #444 !important;
	font-size: 13px !important;
	padding: 0;
}
#lost-psw {
	float: right;
	margin-top: -24px;
}
#lost-psw a {
	color: #d3d3d3;
	font-size: 13px;
}
label.error {
	width: 22px;
	height: 22px;
	display: block;
	clear: both;
	text-indent: -9999px;
	position: absolute;
	top: 6px;
	right: 6px;
	background: url(../img/login-sprite.png) no-repeat 0 -68px;
	border: none;
	float: none;
}

/* ADAPTIVE LAYOUT */

@media only screen and (min-width: 0px) and (max-width: 500px){
	.wrapper {
	width: 300px;
	position: relative;
	top: 0;
	left: 0;
	margin: 4px auto !important;
	}
	.inner, .login, fieldset, .logo {
		width: 280px !important;
		margin: auto;
	}
	.logo h1 {
		display: none;
	}
	#lg-head {
		background: none;
	}
	#lg-head p {
		padding: 2px 0 0 2px;
	}
	.separator {
		margin: 6px 0 0 0;
	}
}