* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Noto Sans TC', sans-serif;
}

body {
	/*background: #f4f6fa;
	color: #333;*/
}

#content {
	width: 720px;
	margin:0 auto;					/*左右置中*/
	margin-top:5%;
}

#userinfo {
	position: absolute;
	top: 0px;
	left: 5px;
	width: 99%;
	font-size: 22px;
	line-height: 50px;
	text-align: right;
	padding-right: 10px;
	background-color: #FFF;
	box-shadow: 2px 2px 8px 2px rgba(10%,10%,20%,0.1);
}

a.logout {
	padding: 8px 12px;
	border-radius: 6px;
	background-color: #eee;
	text-decoration: none;
	margin-left: 10px;
	transition: 0.3s;
}

a.logout:hover {
	background-color: #007BFF;
	color: white;
}

#usearea {
	text-align: center;
	margin-top: 40px;
}

#usearea a {
	margin: 0 10px;
	transition: transform 0.2s ease;
}

#usearea a:hover {
	transform: scale(1.1);
}

/* 三個功能圖按鈕 */
a.ex_creat,
a.ex_history,
a.ex_admin {
	width: 180px;
	height: 180px;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 120px 120px;
	background-color: #f9f9f9;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

a.ex_creat {
	background-image: url(../images/ex_creat.png);
}
/*a.ex_creat:hover {
	background-image: url(../images/ex_creat1.png);
}*/

a.ex_history {
	background-image: url(../images/ex_history.png);
}
/*a.ex_history:hover {
	background-image: url(../images/ex_history1.png);
}*/

a.ex_admin {
	background-image: url(../images/ex_admin.png);
}
/*a.ex_admin:hover {
	background-image: url(../images/ex_admin1.png);
}
*/
/* 彈出框樣式 */
div.usediv {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 900px;
	display: none;
	border: 4px solid #007BFF;
	border-radius: 12px;
	background-color: #ffffff;
	z-index: 101;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
	from {opacity: 0; transform: translate(-50%, -45%);}
	to {opacity: 1; transform: translate(-50%, -50%);}
}

div.usediv h1 {
	background-color: #007BFF;
	color: white;
	font-size: 20px;
	padding: 10px 16px;
	border-radius: 8px 8px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

div.usediv span {
	font-size: 14px;
	cursor: pointer;
	color: white;
}

div.usediv span:hover {
	color: #ff4d4f;
	text-shadow: 0 0 4px #fff;
}

iframe {
	width: 100%;
	height: 50vh;
	border: none;
}

#lightboxbg {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	display: none;
}
