form {
	background-color: transparent;
}
body[id^='registration'] #banner {
	display: none;
}

#nav-global .login.js-only {
	display: none;
}
#login-div {
	position: absolute;
	top: 0;
	display: inline-block;
	display: none;
	vertical-align: top;
	height: 362px;
	padding: 32px 24px;
	background-color: #ffffff;
	z-index: 100;
	/* mobile only */
	width: calc(100% - 48px);
}
#login-div:hover {
	background-color: #ffffff;
}

#top #lbl-login-toggle {
	background: url(/d/archindy/i/icon-collapse.png) center;
}
input#toggle:checked ~ input#login-toggle:checked ~ #banner #login-div {
	display: block;
}
#login-toggle-icon {
	display: none;
}
input#toggle:not(:checked) ~ #banner #login-div {
	display: none;
}
input#toggle:not(:checked) ~ input#login-toggle:checked ~ #banner #login-div {
	display: block;
	z-index: 1100;
}
input#toggle:not(:checked) ~ input#login-toggle:checked ~ #top #toggle-icon,
input#toggle:checked ~ input#login-toggle:checked ~ #top #toggle-icon {
	display: none;
}
input#toggle:not(:checked) ~ input#login-toggle:checked ~ #top #login-toggle-icon,
input#toggle:checked ~ input#login-toggle:checked ~ #top #login-toggle-icon {
	display: block;
}
input#toggle:checked ~ input#login-toggle:not(:checked) ~ #top #toggle-icon {
	display: block;
}
#lbl-login-button {
	position: relative;
	display: block;
	margin: 0 auto;
	top: 234px;
	width: 216px;
	height: 52px;
	line-height: 52px;
	font-size: 18px;
	background-color: #1C3F67;
	color: #ffffff;
	text-align: center;
}

#login-div h2 {
	line-height: 48px;
	margin: 0;
	padding: 0 0 32px 0;
	font-family: 'Cardo',serif;
	font-weight: 400;
	color: #232020;
	font-size: 34px;
}
#login-form input[type="text"],
#login-form input[type="password"] {
	height: 40px;
	line-height: 40px;
	width: 270px;
	max-width: 270px;
	margin-bottom: 10px;
	padding: 0 10px;
	border: 1px solid #D2D4D6;
	text-align: left;
}
#login-form div[data-passview-wrapper="true"] [data-passview-target="button"] {
	top:calc(50% - 6px);/* adjust for input padding and border */
}
#login-form #d-rememberme {
	margin-top: 32px;
}
#login-form input[type="checkbox"] {
	transform: scale(1.5);
}
#login-form #sysRememberMe + label {
	font-size: 14px;
	vertical-align: top;
}
#login-form input[type="submit"].signin {
	display: block;
	height: 48px;
	width: 100%;
	max-width: 290px;
	line-height: 48px;
	margin: 32px 0;
	border: 2px solid #877B5B;
	color: #877B5B;
	font-size: 18px;
	text-align: center;
	background-color: transparent;
}
#login-form input[type="submit"].signin:hover {
	background-color: #877B5B;
	color: #ffffff;
}
#login-form a {
	font-size: 14px;
	color: #226FB6;
	text-decoration: none;
}
#login-form a:hover {
	text-decoration: underline;
}
#login-form a.forgot {
	float: left;
}
#login-form a.register {
	float: right;
}

/* Media queries */
@media (min-width:1224px) {
	body#index #login-div {
		display: block;
		top: 48px;
		height: 362px;
		width: 294px;
		background-color: rgba(255, 255, 255, 0.90);
	}
	body#index input#toggle:not(:checked) ~ #banner #login-div  {
		display: block;
	}
	#lbl-login-button {
		display: none;
	}
	body#index #banner-title {
		margin-left: 415px;
	}
}
