body, div, h1, h2, h3, h4, p, ul, li {
	margin:0;
	padding:0;
}
body {
	margin-top:5px;
	font-size:14px;
}
a{
    font-size:12px;
    color:#2c4359;
    text-decoration:none;
}
/*---- 最外層包裝 ----*/
#WRAPPER {
	width: 1000px;
	margin:0 auto;
	border:0px #666 solid;
}
/*---- 頁首 ----*/
#HEADER {
	width: 1000px;
	height:80px;
	background:url("../images/backgroungtop.png");
}
#GOOD{
	float:right;
	width:100px;
	min-height:20px;
	font-size:12px;
	margin-top:15px;
	margin-right:0px;
	color:#000;
}
#LOGO{
	float:left;
	width:150px;
	height:50px;
	text-align:center;
	padding-top:15px;
	margin-top:5px;
}
#SCHOOLNAME{
	float:left;
	width:540px;
	text-align:left;
	font-size:20px;
	font-weight:bold;
	color:#C03;
	font-family:"標楷體";
    margin-top:15px;
}
#SUBJECT{
    float:right;
	height:30px;
}
#SUBJECT ul {
	list-style-type:none;
	float:right;
}
#SUBJECT li {
	float:left;
	font-size:14px;
	margin-right:10px;
	height:18px;
}
#MEMBER{
	float:left;
	font-size:14px;
	width:145px;
	height:120px;
	margin:5px;
}
#DM{
	text-align:right;
	float:left;
	width:840px;
	height:160px;
	background:url("../images/dmbackground.jpg");
    margin-top:5px;
	margin-bottom:5px;
}
#MENU{
	float:left;
	width:150px;
	min-height:400px;
	font-size:12px;
	clear:both;
}
#NEWS{
	height:20px;
	float:left;
	border:1px dashed #CCC;
    width:830px;
	margin-left:5px;
	background:#D2F0FF;
	color:#F06;
	font-size:14px;
	font-weight:bold;
	padding-top:3px;
}
#MAIN{
	float:left;
    margin-top: 15px;
	min-height:460px;
}
#BOTTOM{
	float:left;
	width:1000px;
	height:60px;
	text-align:center;
	padding-top:5px;
	font-size:12px;
	color:#666;
	background:url(../images/backgroungbottom.png);
}
input[type="submit"]{
    font-size:12px;
}
ul#menu{
    font-size: 12px;
    list-style: none;
    margin: 0px;
    border: 0px solid #333;
    padding: 0px;
    overflow: auto;
}
ul#menu li{
    position:relative; /* allows us to set the z-index */
    z-index:5; /* raises the z-index of the line item 5 levels all other elements */
    margin:3px 0px;
    padding:5px 8px 3px 8px;
    float:left; /* floats list items to the left, creating a horizontal menu */
    border-width:0 1px 0 0;
    border-color: #fff;
    border-style:solid;
    color:#fff;
}
ul#menu li.backLava {
    background-color:#A563A5;
　  border:0px solid #90c6Ff;
　  /* 以下是圓角效果*/
　  border-radius: 20px; /* Opera 10.5+ */
　  -moz-border-radius: 20px; /* Firefox */
　  -webkit-border-radius: 20px; /* Safari 和 Chrome */
}
ul#menu li a{
    color:#000;
    text-decoration:none;
}
ul#menu li a:hover{
    color:#fff;
    text-decoration:none;
}
p{
    margin-bottom:3px;
    padding-top:10px;
    font-size:14px;
    color:#333;
    font-weight:bold;
    text-align:center;
}
#member {
    border:1px dashed #CCC;
}
#member td{
    border-color:#CCC;
    border-width:0px 0px 1px 0px;
    border-style:dashed;
}
#errordialog {
    display:none;
}
#title {
    float:right;
    margin-top:10px;
}
#title li{
    float:left;
    margin-right:10px;
}
h1{
    margin-top:15px;
    font-family:"標楷體";
    font-size:30px;
    color:#C03;
    font-weight:bold;
}
#DM .img{
    float:left;
    text-align:left;
    width:210px;
    height:145px;
    margin:5px 0px 0px 50px;
    border:1px dashed #CCC;
    border-radius: 10px;
}
img{
    border:0px;
}
/*內頁樣式*/
#table1 {
    border-collapse:collapse;
    font-size:12px;
    border-color:#CCC;
    border-width:1px 1px 1px 1px;
    border-style:solid;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 1px 1px 1px #191919;
    -webkit-box-shadow: 1px 1px 1px #191919;
    box-shadow: 1px 1px 1px #191919;
}
#table1 td {
    border-collapse:collapse;
    border-color:#CCC;
    border-width:1px 1px 1px 1px;
    border-style:solid;
}
#table1 th {
    border-collapse:collapse;
    background:url("table_ht_bg.jpg");
    color:#FFF;
    font-size:12px;
    border-color:#CCC;
    border-width:1px 1px 1px 1px;
    border-style:solid;
    height: 25px;
}
#table1 #th1 {
    border-collapse: collapse;
    background:url("table_ht_bg.jpg");
    color:#FFF;
    font-size: 16px;
    border-color: #CCC;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    height: 30px;
}