html, body {
	width: 100%;
	height: 100%;
	overflow: auto;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	line-height: 20px;
}

span, button, input, a {
	font-family: 'Roboto', sans-serif;
}

@font-face {
	font-family: 'Roboto';
	font-weight: 300;
	src:
		url("/ehfSSO/fonts/Roboto-300.woff2") format("woff2"),
		url("/ehfSSO/fonts/Roboto-300.woff") format("woff"),
		url("/ehfSSO/fonts/Roboto-300.ttf") format("truetype");
}

body {
	justify-content: center;
	overflow: auto;
	background-image: url('/ehfSSO/img/e-housing_login_bg.png');
	background-size: cover;
}

.page-container {
	position: relative;
	height: inherit;
	min-height: 800px;
}

.notice-box {
	display: none;
}

.notice-box.active {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #773431;
	background-color: #f7eded;
	padding: 5px;
}

#housing {
	position: absolute;
	top: 30px;
	right: 30px;
	height: 50px;
	float: right;
}

.content {
	max-width: 780px;
	/* max-height: 593px; */
	min-width: 600px;
	width: 80%;
	height: inherit;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

.page-header {
	width: 100%;
	text-align: center;
	margin-top: -20px;
}

.page-header-text {
	color: #015A8D;
	font-size: 32px;
	font-family: Times New Roman;
}

.login-container-background {
	z-index: 1;
	position: absolute;
	height: 100%;
	width: 100%;
	min-height: 593px;
	max-height: 593px;
	margin-top: 100px;
	opacity: 0.59;
	background: #FFFFFF;
	border-radius: 17px;
}

.login-container {
	z-index: 2;
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	/* justify-content: center; */
	align-items: center;
	min-height: 593px;
	max-height: 600px;
	padding-top: 100px;
	flex-flow: column nowrap;
}

.login-form {
	display: flex;
	flex-flow: column;
	justify-content: center;
	max-width: 635px;
	width: 100%;
}

/* Resend Code Form in OTP page */
.resend-form {
	display: flex;
	flex-flow: column;
	justify-content: center;
	max-width: 635px;
	width: 100%;
}

#ehousing {
	margin-bottom: 20px;
	margin-top: 20px;
	height: 110px;
	width: 100%;
}

.flex-c {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	padding: 12px;
}

.mw-478 {
	width: 100%;
	max-width: 478px;
	box-sizing: border-box;
}

input[type=text], input[type=password] {
	background: #FFFFFF 70%;
	border-radius: 4px;
	border: 1px solid #fff;
	height: 38px;
	width: 100%;
	text-indent: 15px;
	font-size: 16px;
}

input[type=text]:focus, input[type=password]:focus {
	border: 1px solid #007DA5;
}

.forgot-password {
	margin-top: 10px;
	color: rgba(0, 0, 0, 0.54);
}

.submitButton {
	min-height: 48px;
	background: #09ABBA;
	border-radius: 4px;
	color: #fff;
	font-size: 22px;
	border: none;
	cursor: pointer;
	max-width: 478px;
	width: 100%;
}

/* Resend Code button in OTP page */
.resendButton {
	min-height: 48px;
	background: #C0C0C0;
	border-radius: 4px;
	color: #fff;
	font-size: 22px;
	border: none;
	cursor: pointer;
	max-width: 478px;
	width: 100%;
}

.error-table {
	min-height: 55px;
	border-spacing: 0px;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

.error-box.active {
	visibility: visible;
}

.error-box {
	visibility: hidden;
	display: flex;
	font-size: 14px;
	color: #DE0000;
	min-height: 50px;
	max-width: 635px;
	margin: 8px 0 8px 0;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
}

.error-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 10px 0 10px;
}

.error-msg {
	max-width: 585px;
	text-align: left;
	word-wrap: break-word;
	white-space: pre-wrap;
	padding:0 10px 0 0;
}

.help-message {
	margin: 0 0 0 10px;
	z-index: 2;
	display: block;
	width: 100%;
	font-size: 13px;
}

.warning-message {
	display: block;
	text-align: center;
	width: 100%;
	margin-top: 10px;
}

.best-view-message {
	width: 100%;
	display: block;
	text-align: center;
	margin-top: 20px;
	height: 30px;
}

.copyright {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 50px;
	text-align: center;
}

.mobile-help {
	display: none;
	width: 100%;
	font-size: 14px;
	color: rgba(0, 0, 0, 0.54);
	justify-content: center;
	align-items: center;
}

.bb {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.help-content {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30px;
}

.help-content img {
	margin-right: 5px;
}

.mobile-restricted {
	display: none;
	width: 100%;
}

.restricted-title {
	font-size: 16px;
	color: #007DA5;
	letter-spacing: 0;
	text-align: center;
	line-height: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

.restricted-content {
	font-size: 14px;
	color: rgba(0, 0, 0, 0.54);
	letter-spacing: 0;
	text-align: center;
	line-height: 16px;
}

.mobile-copyright {
	width: 100%;
	display: none;
	justify-content: center;
	margin-top: 20px;
	text-align: center;
	font-size: 14px;
}

@media only screen and (max-width: 639px) {
	/*
	body {
		overflow: hidden;
	}
	*/
	#housing {
		left: calc(50% - 25px);
		z-index: 3;
		float: none;
	}
	
	.content {
		width: 100%;
		max-width: 100%;
		min-width: auto;
		position: static;
	}
	
	.login-container {
		align-items: flex-start;
		max-height: 100%;
		margin-top: 0;
		height: calc(100% - 100px);
	}
	
	.login-container-background {
		border-radius: 0;
		height: inherit;
		max-height: 100%;
		margin-top: 0px;
	}
	
	.login-form {
		max-width: 100%;
		justify-content: flex-start;
		padding: 1px;
		margin: 1px;
	}
	
	/* Resend Code Foom in OTP page */
	.resend-form {
		max-width: 100%;
		justify-content: flex-start;
		padding: 1px;
		margin: 1px;
	}
	
	#ehousing {
		margin: 0;
	}
	
	.help-message, .warning-message, .best-view-message, .copyright {
		display: none;
	}
	
	.help-content {
		display: block;
		text-align: center;
	}
	
	.mobile-help {
		display: block;
		text-align: center;
		z-index: 3;
	}
	
	.mobile-restricted {
		display: block;
		text-align: center;
		z-index: 3;
		margin-top: 10px;
	}
	
	.mobile-copyright {
		display: block !important;
		color: rgba(0, 0, 0, 0.54);
	}
}