/* 背景遮罩 */
#announcementdiv {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}




/* 公告視窗 */

@media only screen and (max-width:768px){


#announcementmodal {

	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	text-align: center;
}

.announcementdiv2{
	z-index: 1001;
	width:90%;
	height:60%;
	background: #fff;	
	padding: 15px 10px;
	border-radius: 10px;
}

.announcementdiv2 h2{text-align: left; color:#900000;font-weight:700;}

.announcementdesc{
	width:96%;
	height:auto;
	min-height:200px;
	margin:0 2%;
	font-size:16px;
	letter-spacing:1px;   
	font-weight:500;
	line-height:25px;
	text-align:left;
}

.announcementbuttondiv{
	width:100%;
	height:auto;
	text-align: right;
}

#closeannouncement {
	margin-top: 20px;
	padding: 10px 20px;
	font-size: 18px;
	cursor: pointer;
	background: #469BB3;
	color:#fff;
}


}

@media (min-width: 768px) and (max-width:1400px) {


#announcementmodal {

	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	text-align: center;
}

.announcementdiv2{
	z-index: 1001;
	width:500px;
	height:400px;
	background: #fff;	
	padding: 20px 30px;
	border-radius: 10px;
}

.announcementdiv2 h2{text-align: left; color:#900000;font-weight:700;}

.announcementdesc{
	width:96%;
	height:auto;
	min-height:200px;
	margin:0 2%;
	font-size:16px;
	letter-spacing:1px;   
	font-weight:500;
	line-height:25px;
	text-align:left;
}

.announcementbuttondiv{
	width:100%;
	height:auto;
	text-align: right;
}

#closeannouncement {
	margin-top: 20px;
	padding: 10px 20px;
	font-size: 18px;
	cursor: pointer;
	background: #469BB3;
	color:#fff;
}


}


@media only screen and (min-width:1400px){


#announcementmodal {

	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	text-align: center;
}

.announcementdiv2{
	z-index: 1001;
	width:500px;
	height:400px;
	background: #fff;	
	padding: 20px 30px;
	border-radius: 10px;
}

.announcementdiv2 h2{text-align: left; color:#900000;font-weight:700;}

.announcementdesc{
	width:96%;
	height:auto;
	min-height:200px;
	margin:0 2%;
	font-size:16px;
	letter-spacing:1px;   
	font-weight:500;
	line-height:25px;
	text-align:left;
}

.announcementbuttondiv{
	width:100%;
	height:auto;
	text-align: right;
}

#closeannouncement {
	margin-top: 20px;
	padding: 10px 20px;
	font-size: 18px;
	cursor: pointer;
	background: #469BB3;
	color:#fff;
}




}





