body {
	background-color: #f2f2f2;
	font-family: "OpenSansRegular";
	font-size: 14px;
}

a {
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
}

#bg {
	position: absolute;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
}

#bg-mobile {
	display: none;
	background-position: 50% 100%;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	z-index: 10;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

#page {
	position: relative;
	z-index: 20;
}

#page-h {
	height: 80px;
	padding-left: 40px;
}

#page-h .logo {
	float: left;
	display: block;
	width: 156px;
	height: 80px;
	background: url("logo.png") no-repeat 0 17px;
}

#page-h .title {
	position: absolute;
	top: 28px;
	left: 10%;
	width: 450px;
	text-align: center;
	font-size: 20px;
	color: #fff;
	transition-property: all;
	transition-duration: 250ms;
}

#page-h .logo span {
	display: none;
}

#page-h .links {
	height: 80px;
	line-height: 80px;
}

#page-h .logo + .links {
	float: left;
	margin-left: 45px;
}

#page-h .links .link {
	color: #88ccff;
	text-decoration: none;
}

#page-h .links .link:hover, #page-h .links .link:focus {
	text-decoration: underline;
}

#page-h .links .link.home {
	background: url("../new/icons/icon-home.png") no-repeat 0 50%;
	padding-left: 24px;
}

#login-box {
	box-sizing: border-box;
	position: absolute;
	left: 10%;
	top: 95px;
	width: 450px;
	background-color: #f2f2f2;
	border-radius: 3px;
	box-shadow: 0 0 10px 3px rgba(0, 0, 0, .25);
	transition-property: all;
	transition-duration: 250ms;
}

.login-box-part {
	
}

.login-box-part.padded {
	padding: 30px;
}

.login-box-part.bottom {
	display: block;
	position: relative;
	padding: 0 30px;
	border-top: 1px solid #dedede;
	box-sizing: border-box;
	height: 50px;
	line-height: 50px;
	transition-property: background-color;
	transition-duration: 500ms;
	padding-left: 34px;
}

.login-links .login-links-item {
	display: block;
	position: relative;
	padding: 0 30px;
	border-top: 1px solid #dedede;
	box-sizing: border-box;
	height: 50px;
	line-height: 50px;
	transition-property: background-color;
	transition-duration: 500ms;
}
	.login-links .login-links-item:after {
		display: block;
		content: "";
		position: absolute;
		right: 30px;
		top: 18px;
		width: 10px;
		height: 16px;
		background: url("../new/icons/link-arrow.png") no-repeat 0 0;
	}
	.login-links .login-links-item.create-account {
		background: url("../new/icons/user-add.png") no-repeat 30px 50%;
		padding-left: 54px;
	}
	.login-links a.login-links-item:hover,
	.login-links a.login-links-item:focus {
		text-decoration: none;
		background-color: #e6e6e6;
	}

#login-box h2 {
	font-size: 16px;
}

#login-box form table {
	width: 100%;
}

.error {
	font-weight: normal;
	padding-left: 24px;
	background: url("../new/icons/error.png") no-repeat 0 50%;
}

/* Lightbox */
#lightbox .ltb-content {
	padding: 15px;
}
#lightbox .ltb-content h1 {
	display: none;
}
#lightbox .ltb-content .box {
	margin-bottom: 0;
	background: none;
	border: 0;
	padding: 0;
	box-shadow: none;
}
#lightbox .ltb-content .box-h {
	padding-bottom: 0;
	font-size: 16px;
	border: 0;
}
#lightbox th label {
	max-width: 200px;
	display: inline-block;
	font-weight: normal;
	color: #666;
}

@media (max-width: 1130px) {
	#page-h .title, #login-box {
		left : 10%;
	}
}

@media (max-width: 450px) {
	#page-h .title, #login-box {
		left : 10%;
		right : 10%;
		width : auto;
	}
}

@media (max-width: 350px) {
	#login-box .padded {
		padding: 20px;
	}
	
	.login-links .login-links-item.create-account {
		padding-left: 44px;
		padding-right: 20px;
		background-position: 20px 50%;
	}
	
	.login-links .login-links-item:after {
		right: 20px;
	}
}

@media (orientation: portrait) {
	#bg {
		display: none;
	}
	
	#bg-mobile {
		display: block;
	}
}

@media (orientation: landscape) and (max-height: 450px) {
	#login-box .padded {
		padding: 20px;
	}
	
	.login-links .login-links-item.create-account {
		padding-left: 44px;
		padding-right: 20px;
		background-position: 20px 50%;
	}
	
	.login-links .login-links-item:after {
		right: 20px;
	}
}

@media (orientation: landscape) and (max-height: 360px) {
	#login-box {
		top: 70px;
	}
	
	#login-box .padded {
		padding: 10px;
	}
	
	.login-links .login-links-item.create-account {
		padding-left: 34px;
		padding-right: 10px;
		background-position: 10px 50%;
	}
	
	#login-box form table {
		margin-top: 5px;
	}
	
	.login-links .login-links-item {
		height: 40px;
		line-height: 40px;
	}
	
	.login-links .login-links-item:after {
		top: 13px;
		right: 10px;
	}
}
