#messagebox {
	background-color: #F7FDFE;
	display: none;
	cursor: default;
	width: 380px;
	height: 240px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -230px;
	margin-top: -125px;
	border-radius: 10px;
	text-align: center;
	padding: 5px;
}
#messageboxtitle {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 380px;
	height: 40px;
	background-color: #e5e5e5;
	border-radius: 15px;
	line-height: 40px;
	text-align: left;
	padding-left: 10px;
}
#messageboxcontant {
	width: 380px;
	height: 100px;
	top: 40px;
	left: 0px;
	overflow-y: hidden;
	position: absolute;
	text-align: center;
	font-size: 1.1em;
	padding: 5px;
	padding-top: 50px;
}
#messageboxbutton {
	position: absolute;
	top: 200px;
	left: 0px;
	width: 355px;
	height: 40px;
	padding: 5px;
	padding-right: 30px;
	text-align: right;
	line-height: 30px;
}
.datacacher {
	display: none;
}
#btnaccept {
	width: 100px;
	font-size: 0.85em;
}

/* RWD：手機時對話框收斂在視窗內（桌機維持 380px 原樣）。
   blockUI 會在包裹層塞 inline 尺寸、#messagebox 又用負 margin 置中，
   手機改 fixed 定位直接對視窗置中，用 !important 蓋過 inline。 */
@media only screen and (max-width: 480px) {
	#messagebox {
		position: fixed !important;
		width: calc(100vw - 30px) !important;
		left: 15px !important;
		top: 50% !important;
		margin-left: 0 !important;
		margin-top: -125px !important;
	}
	#messageboxtitle {
		width: calc(100vw - 40px);
	}
	#messageboxcontant {
		width: calc(100vw - 40px);
	}
	#messageboxbutton {
		width: calc(100vw - 65px);
	}
}
