/* 字體，因為這裡沒有引入style.css，再設一次  */
body {
  	font-family: 'Roboto', 'Noto Sans TC', sans-serif;
	background-color: #FFCD00;
}

/* 隱藏滾動條 */
::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}
 
.container {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.container > .row {
	width: 26vw;
	max-width: 400px;
	min-width: 318px;
}

.login-info {
	color: #333;
	background-color: #fefefe;
	padding: 10%;
	border-radius: 20px;
}

/* AAD Google 登入按鈕 */
.login-info button {
	background-color: #FEFEFE;
	border:	1px solid #FFA900;
	display: flex;
	justify-content: center;
	align-items: center;
}

.login-info button:hover {
	background-color: #FFF0D2;
}

.login-info button img {
	margin-right: 8px;
}

/* 各個登入方式的區塊 */
.login-info div {
	margin-bottom: 25px;
}

/* 登入方式的最後一個跟倒數第二個不要有margin-bottom，不然下面留白會特別多 */
.login-info div:nth-last-child(2), .login-info div:last-child {
	margin-bottom: 0;
}

/* 歡迎詞 */
.login-welcome-msg {
	font-size: 18px;
	color: #333;
	letter-spacing: 0;
	text-align: center;
	margin-bottom: 4%;
}

/* 錯誤訊息 */
#message{
	color: #CB0915;
	font-size: 14px;
	margin-top: 40px;
}

/* 登入錯誤訊息顯示 */
.login-welcome-msg > label{
	display: block;
	text-align: center;
	font-weight: normal;
}

/* 分隔線 */
.divider {
	margin: 40px 0;
}

/* 過期密碼修改的訊息顯示 */
#Expired{
	display: block;
    color: #CB0915;
    font-size: 14px;
    text-align: left;
	margin-bottom: 12px;
}

.login-info div.msgArea {
    color: #CB0915;
    font-size: 14px;
    text-align: left;
	margin-bottom: 12px;
}

/* 表單 & 輸入框，蓋過預設css */
.form-signin:focus-visible {
	outline: none;
}

.form-signin input {
	color: #333;
	background-color: #fefefe;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
	margin-bottom: 9%;
}

.form-signin .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 10px 10px 0;
}

.form-signin .form-control:focus {
	border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    box-shadow: none;
}

.form-signin .form-control:focus-visible {
	outline: none;
}

/* label字體 */
label[for=username], label[for=password]{
	font-size:18px;
}

/* 按鈕統一樣式 */
.form-signin input.loginBtn,
.loginBtn:focus,
#changeButton,
#changeButton:hover,
#changeButton:focus {
	font-size: 18px;
	border-radius: 50px;
	background-color: #FFA900;
	color: #fcfcfc;
	width: 60%;
	margin: 40px auto 0;
}

.loginBtn:hover {
	box-shadow: 0 0 10px 0 #FFA900;
}

/* logo圖片 */
#logoContainer {
	height: 42px;
	overflow: hidden;
	position: relative;
	margin-bottom: 30px;
}

#logoContainer img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-58%, -50%);
	width: 250px;
	height: 250px;
}