body {
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
}

html, body, #contents {
	min-height: 100%;
	width: 100%;
	height: 100%;
}
html>body, html>body #contents {
	height: auto;
}

form {
	text-align: left;
}

/* 全部外包 */
#contents {
	position: absolute;
	top: 0;
	left: 0;
}

/*上方標題 */
#header {
	border-top: 1px solid #778899;
	border-bottom: 1px dotted #B2BCC6;
	height: 3em;
}
#header .strapline {
	font: 120% Georgia, "Times New Roman", Times, serif;
	color: #778899;
	background-color: transparent;
	float: right;
	margin-right: 2em;
	margin-top: 0.5em;
}
#header .logo {
	float: left;
	margin-left: 1.5em;
	margin-top: 0.5em;
	border: 0px solid #000000;
}

/* 上方選單 */
ul#tabnav {
	list-style-type: none;
	margin: 0;
	padding-left: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid #711515;

	margin-left: 2em;
	margin-right: 2em;	
}
ul#tabnav li {
	float: left;
	height: 21px;
	background-color: #B51032;
	color: #FFFFFF;
	margin: 2px 2px 0 2px;
	border: 1px solid #711515;
}
ul#tabnav a:link, ul#tabnav a:visited {

	color: #FFFFFF;
	background-color: transparent;
	text-decoration: none;
	padding: 2px;
}
ul#tabnav a:hover {
	background-color: #F4869C;
	color: #FFFFFF;
}


/* 左方選單 */
#nav {
	/* position: absolute; */
	top: 1em;
	left: 1em;
	width: 10em;
	text-align: left;
	margin-bottom: 3em;
}
#nav ul {
	list-style: none;
	margin-left: 1em;
	padding-left: 0;
}
#nav li {
	font-size: 100%;
	border-bottom: 1px dotted #B2BCC6;
	margin-bottom: 0.3em;
}
#nav a:link, #nav a:visited {
	text-decoration: none;
	color: #2A4F6F;
	background-color: transparent;
}
#nav a:hover {
	color: #778899;
}
#nav h2 {
	font: 110% Georgia, "Times New Roman", Times, serif;
	color: #2A4F6F;
	background-color: transparent;
	border-bottom: 1px dotted #cccccc;
}

/* 右方內容 */
#content {
	margin-left: 0em;
	margin-right: 0em;
	margin-bottom: 3em;
}
h1 {
	font: 150% Georgia, "Times New Roman", Times, serif;
}

#content h2  {
    border-bottom: 1px dotted;
	font-size: 16px;	
	padding: 10px;
	margin-top: -0px;
}
#content h5 {

	margin-left: 10px;
	margin-top: 0px;
}

blockquote {
	padding: 10px;	
	border-left: 1px dotted blue;	
}

#content p {
	font-size: 80%;
	line-height: 1.6em; 
	padding-left: 1.2em;
}

/* 下方 */
#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	border-top: 1px dotted #AAAAAA;
	background-color: #CCCCCC;
	color: #626262;
	font-size: 70%;
}
#footer p {
	margin: 0.5em 0 1em 2em;
	padding: 0;
}

/*  表格套色 */
.datatable {
	border: 1px solid #D6DDE6;
	border-collapse: collapse;
	width: 80%;
	text-align: left;
}

.datatable tr:hover {
	background-color: #DFE7F2;
	color: #000000;
}

.datatable td {
	border: 1px solid #D6DDE6;	
	padding: 4px;
}
.datatable th {
	border: 1px solid #828282;
	background-color: #BCBCBC;
	font-weight: bold;
	text-align: left;
	padding-left: 4px;
	white-space: nowrap; 
}
.datatable caption {
	font: bold 0.9em Arial, Helvetica, sans-serif;
	color: #33517A;
	text-align: left;
	padding-top: 3px;
	padding-bottom: 8px;
	caption-side: top;
}
.datatable tr.altrow {
	background-color: #DFE7F2;
	color: #000000;
}

/*  表格套色 小計 */
.sumtable {
	border: 1px solid #D6DDE6;
	width: 20%;
	border-collapse: collapse;
}

.sumtable tr:hover {
	background-color: #DFE7F2;
	color: #000000;
}

.sumtable td {
	border: 1px solid #D6DDE6;	
	padding: 4px;
}
.sumtable th {
	border: 1px solid #828282;
	background-color: #FF8000;
	font-weight: bold;
	text-align: left;
	padding-left: 4px;
	white-space: nowrap; 
}
.sumtable caption {
	font: bold 0.9em Arial, Helvetica, sans-serif;
	color: #008000;
	text-align: left;
	padding-top: 3px;
	padding-bottom: 8px;
	caption-side: top;
}
.sumtable tr.altrow {
	background-color: #DFE7F2;
	color: #000000;
}

.gray {
    color: #999999;
}

.red {
    color: red;
}

/*  表格套色 2 */
.datatable2 {
	border: 1px solid #D6DDE6;
	border-collapse: collapse;
	width: 100%;
}

.datatable2 tr:hover {
	background: #DFE7F2;
	color: #000000;
}

.datatable2 tr:hover td{
    background: none;
}

.datatable2 td {
	border: 1px solid #D6DDE6;	
	padding: 4px;
}
.datatable2 th {
	border: 1px solid #828282;
	background-color: #BCBCBC;
	font-weight: bold;
	text-align: left;
	padding-left: 4px; 
}
.datatable2 caption {
	font: bold 0.9em Arial, Helvetica, sans-serif;
	color: #33517A;
	text-align: left;
	padding-top: 3px;
	padding-bottom: 8px;
	caption-side: top;
}
.datatable2 tr.altrow {
	background-color: #DFE7F2;
	color: #000000;
}

/*  表格套色 scoretable*/
.scoretable {
	border: 1px solid #000000;
	border-collapse: collapse;
	width: 80%;
}

.scoretable tr:hover {
	background-color: #DFE7F2;
	color: #000000;
}

.scoretable td {
	border: 1px solid #000000;	
	padding: 4px;
}
.scoretable th {
	border: 1px solid #000000;
	background-color: #BCBCBC;
	font-weight: bold;
	text-align: left;
	padding-left: 4px;
	white-space: nowrap; 
}
.scoretable caption {
	font: bold 0.9em Arial, Helvetica, sans-serif;
	color: #33517A;
	text-align: left;
	padding-top: 3px;
	padding-bottom: 8px;
}
.scoretable tr.altrow {
	background-color: #DFE7F2;
	color: #000000;
}

/* 原表格 */
.tr1 {  background-color: #FFFFCC; text-align: center}
.tr2 {  background-color: #CCFF99; text-align: center}
.tr3 {  background-color: #ff00ff; text-align: center}
.trtop {  font-weight: bold; background-color: #CCCCFF; text-align: center}


/* 相片 */
#albumlist {
	list-style-type: none;
}
#albumlist li {
	float: left;
	margin-right: 6px;
	margin-bottom: 3em ;
    
	color: #333333;
}

#img_auto {
	display: block;
	border: 1px solid #333300;
}

.photo_box {
	float: left;
	width: 150px;
	height: 200px;
}

.message {
	font-size: larger;
	color: #FF0000;
}

br.pageEnd {page-break-after:always}

/* float: left; */
/*
.card {	
	clear:both ;
	width: 9.5cm;
  height: 5cm;
	font-size: 13pt;
}



.card p {
	margin-left:0.1cm;
	font-size: 14pt;
}
*/

.photo_space{
	height: 4cm;
}

.top_space{
	height: 1cm;

}

.photo_img_auto {

	border: 1px solid #333300;

	left: 1cm;	
}


.marktable {

	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;    
}

fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid silver;
}

legend {
    padding: .5em;
    border: 0;
    width: auto;
}

