html, body {
    height: 100%;
}

body{
	font-family: Microsoft JhengHei;
	background-color:#f5f5f5;
}
 	
.login-bg {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
}

.userportal{
	background-image: url("../images/portal_background.png");
	-webkit-background-position: center;
	-webkit-background-repeat: no-repeat;
	-webkit-background-size: cover;	
}
 	
.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.portalInner {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    max-width: 425px;
    width: fit-content;
    height: fit-content;
    padding: 27px;
    min-width: 320px;
    min-height: 338px;
    overflow: hidden;
}

.portalInputBackground {
	background-color: transparent;
}

.portalLogo {
	text-align:center;
}

.portalLogo img{
	width:150px;
}

.logintitle {
	text-align:center;
	font-size:36px;
	font-weight:700;
	color: #FFFFFF;
}

.blockinterval {
	padding:10px 0px;
}

.portalLabelText {
	text-align: left;
	color: #FFFFFF;
	max-width: 290px;
	font-size:17px;
	background-color: transparent;
	margin-top: 20px;
	display: block;
	font-weight: normal;
}

.portalInputText {
	color: #FFFFFF;
	font-size:17px;
	width: 290px;
	height: 35px;
	background-color: transparent;
	border-color: #FFFFFF;
	border: solid;
	border-width: thin;
	border-radius: 3px;
	padding-left: 10px;
	margin-top: 20px;
	display: block;
}

.portalInputText::-webkit-input-placeholder {
    color: #FFFFFF;
}

.portalInputText::-moz-placeholder {
    color: #FFFFFF;
}

.portalInputText::-ms-placeholder {
    color: #FFFFFF;
}

.portalInputText::placeholder {
    color: #FFFFFF;
}

.portalSelector {
	color: #FFFFFF;
	font-size:17px;
	width: fit-content;
	height: 35px;
	background-color: transparent;
	border: solid;
	border-width: thin;
	border-radius: 3px;
	display: inline-block;
}

.portalSelector > option {
    color: #FFFFFF;
	width: fit-content;
    background-color: #2C6D99;
}

.portalDescription {
	font-size:11px;
	color:#FFFFFF;
	margin:5px 0px;
	line-height:2
}

.portalSubmitButton {
	width: 290px;
	height: 40px;
	display: block;
	margin-top: 20px;
	color: #FFFFFF;
	background-color: transparent;
	border: solid;
	border-width: thin;
	border-radius: 3px;
}
.portalSubmitButton:disabled {
	background-color: #3E3E3E;
}

.portalSubmitButton:hover {
	background-color: #4A9DD7;
}

.portalSubmitButton:disabled:hover {
	background-color: #3E3E3E;
}

.errorMsgLabel {
    font-size: 17px;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-weight: bold;
    max-width: 270px;
    text-align: left;
    display: block;
}