body,
html {
	height: 100%;
}

@font-face {
	font-family: 'THBaijam';
	src: url('../fonts/THBaijam.eot');
	src: url('../fonts/THBaijam.eot') format('embedded-opentype'),
		url('../fonts/THBaijam.woff2') format('woff2'),
		url('../fonts/THBaijam.woff') format('woff'),
		url('../fonts/THBaijam.ttf') format('truetype'),
		url('../fonts/THBaijam.svg#THBaijam') format('svg');
}

body {
	background: url(../images/background.jpg) no-repeat center bottom fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.h-100 {
	height: 100% !important;
}

.logo-box,
.login-box {
	padding: 30px;
}

.login-box {
	width: 100%;
	max-width: 490px;
}

.nsc-logo {
	display: block;
	width: 100%;
	max-width: 540px;
}

.ear-logo {
	display: block;
	width: 100%;
	max-width: 540px;
}

.text-baijam {
	font-family: 'THBaijam', sans-serif;
	font-size: 1.8rem;
	color: black;
}

span#plan {
	font-size: 1.4rem;
	line-height: 1.6rem;
}

.login-box h1 {
	font-family: 'THBaijam', sans-serif;
	font-size: 2rem;
	line-height: 1.8rem;
	color: #000080;
	font-weight: bold;
	text-align: center;
}

.login-box .box {
	background: rgba(211, 211, 211);
	border-radius: 15px;
	width: 100%;
	max-width: 320px;
	margin: 15px auto 0px auto;
	padding: 15px;
	text-align: center;
}

::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	font-family: 'THBaijam', sans-serif;
	font-weight: normal;
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1;
	/* Firefox */
}

:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	font-family: 'THBaijam', sans-serif;
	font-weight: normal;
	color: rgba(255, 255, 255, 0.5) !important;
}

::-ms-input-placeholder {
	/* Microsoft Edge */
	font-family: 'THBaijam', sans-serif;
	font-weight: normal;
	color: rgba(255, 255, 255, 0.5) !important;
}

.login-box input,
.login-box input:focus,
.login-box input:active {
	background: rgba(255, 255, 255, 0) !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
	color: #000 !important;
	font-size: 1.4rem !important;
	border-radius: 0 !important;
	font-family: Tahoma, sans-serif; :
}

.btn,
.btn:hover {
	padding: 5px 10px;
	font-family: 'THBaijam', sans-serif;
	font-size: 1.4rem;
	background-color: #243e8a !important;
	color: #ffffff !important;
	border-color: #243e8a !important;
	border-radius: 10px !important;
}

.contact {
	margin-top: 5px;
	padding: 5px;
	background-color: #B4C7DA;
	border-radius: 10px;
	text-align: center;
}

.contact h5{
	color: #ffffff;
	font-family: 'THBaijam', sans-serif;
	font-size: 1.4rem;
	line-height: 1.6rem;
}

.forgot-text {
	font-family: 'THBaijam', sans-serif;
	font-size: 1.4rem;
	line-height: 1.6rem;
}

.footer {
	width: 100%;
	padding: 15px;
	text-align: center;
	background-color: #243e8a;
	color: #fff;
	font-family: 'THBaijam', sans-serif;
	font-size: 1.4rem;
}

@media only screen and (max-width: 991px) {

	.h-100 {
		height: auto !important;
		min-height: 100%;
	}

	body {
		background: url(../images/background.jpg) no-repeat center top fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	.logo-box {
		padding: 15px 15px 0 15px;
		text-align: center;
	}

	.nsc-logo {
		display: block;
		width: 100%;
		max-width: 380px;
		margin: 0 auto;
	}

	.ear-logo {
		display: block;
		width: 100%;
		max-width: 380px;
		margin: 0 auto;
	}

	.login-box {
		margin: 0 auto 15px auto;
	}

}