html {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #FFFFFF;
}
body, td, th, input, select, textarea, option, optgroup {
	font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
}
input[type='text'], input[type='password'] {
	padding: 2px;
}
select {
	padding: 1px;
}
textarea {
	padding: 2px;
}
a, a:visited {
	color: #003366;
	text-decoration: underline;
	cursor: pointer;
}
a img {
	border: 0;
}
form {
	margin: 0;
	padding: 0;
}
label {
	cursor: pointer;
}
#header .div1 {
	height: 56px;
	padding: 0px 30px;
	background: url('../image/header.png') repeat-x;
	min-width: 900px;
}
#header .div2 {
	color: #FFFFFF;
	padding: 12px 0px 0px 0px;
	float: left;
}
#header .div3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFF;
	text-align: right;
	padding: 15px 0px 0px 0px;
	float: right;
}
#header .div2 span {
	font-weight: bold;
}
#menu {
	background: url('../image/menu.png') repeat-x;
	position: relative;
	z-index: 999999;
	height: 34px;
	clear: both;
	padding: 0px 30px;
	min-width: 900px;
	display:block;
}
#menu > ul.left {
	float: left;
}
#menu > ul.right {
	float: right;
}
#menu > ul {
	position: relative;
	margin: 0;
	padding: 0;
}
#menu > ul ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: url('../image/transparent.png');
	z-index: 999999;
}
#menu > ul a {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	padding: 5px;
}
#menu > ul > li + li {
	background: url('../image/split.png') center left no-repeat;
}
#menu > ul .top, #menu > ul li li.sfhover {
	padding: 10px 15px 9px 17px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #FFFFFF;
	text-align: center;
}
#menu > ul ul li {
	padding: 2px;
}
#menu > ul .selected .top {
	background: url('../image/selected.png') repeat-x;
	color: #FFFFFF;
}
#menu > ul > li:hover {
	background: url('../image/hover.png') repeat-x;
	color: #FFFFFF;
}
#menu > ul .selected:hover a.top, #menu > ul .sfhover a.top {
}
#menu > ul .parent {
	background: url('../image/arrow-right.png') 95% center no-repeat;
}
#menu > ul li {
	float: left;
	list-style: none;
}
#menu > ul li ul {
	position: absolute;
}
#menu > ul li li {
	clear: both;
}
#menu > ul li ul a {
	color: #FFFFFF;
	height: 15px;
	width: 150px;
}
#menu > ul li ul ul {
	margin: -27px 0 0 157px;
}
#menu > ul li li:hover, #menu > ul li li.sfhover {
	background: #EE7600;
	color: #000000;
}
#container {
	height: 100%;
}
body > #container {
	height: auto;
	min-height: 100%;
}
#content {
	background: #FFFFFF url('../image/background.png') 0px 1px repeat-x;
	padding: 10px 15px 0px 15px;
	min-width: 900px;
	padding-bottom: 128px;
}
#footer {
	background: #FFFFFF url('../image/footer.png') repeat-x;
	height: 90px;
	padding-top: 38px;
	text-align: center;
	font-size: 12px;
	color: #333;
	position: relative;
	margin-top: -128px;
	clear: both;
}
#footer a {
	color: #333;
	text-decoration: underline;
}
.breadcrumb, .breadcrumb a {
	font-size: 12px;
	color: #666;
	margin-bottom: 15px;
}
.success {
	padding: 10px 10px 10px 33px;
	margin-bottom: 15px;
	background: #EAF7D9 url('../image/success.png') 10px center no-repeat;
	border: 1px solid #BBDF8D;
	color: #555555;
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}
.warning {
	padding: 10px 10px 10px 33px;
	margin-bottom: 15px;
	background: #FFD1D1 url('../image/warning.png') 10px center no-repeat;
	border: 1px solid #F8ACAC;
	color: #555555;
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}
.attention {
	padding: 10px 10px 10px 33px;
	margin-bottom: 15px;
	background: #FFF5CC url('../image/attention.png') 10px center no-repeat;
	border: 1px solid #F2DD8C;
	color: #555555;
	-webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}
.required {
	color: #FF0000;
	font-weight: bold;
}
.error {
	margin-top: 3px;
	color: #FF0000;
	display: block;
	font-size: 12px;
	font-weight: normal;
}
.help {
	color: #666;
	font-size: 11px;
	font-weight: normal;
	font-family: Verdana, Geneva, sans-serif;
	display: block;
}
.icon {
	vertical-align: middle;
	cursor: pointer;
}
.image {
	border: 1px solid #EEEEEE;
	padding: 10px;
	display: inline-block;
}
.image img {
	margin-bottom: 5px;
}
.box {
	margin-bottom: 15px;
}
.box > .heading {
	height: 38px;
	padding-left: 7px;
	padding-right: 7px;
	border: 1px solid #DBDBDB;
	background: url('../image/box.png') repeat-x;
	-webkit-border-radius: 7px 7px 0px 0px;
	-moz-border-radius: 7px 7px 0px 0px;
	-khtml-border-radius: 7px 7px 0px 0px;
	border-radius: 7px 7px 0px 0px;
}
.box > .heading h1 {
	margin: 0px;
	padding: 11px 0px 0px 0px;
	color: #003A88;
	font-size: 16px;
	float: left;
}
.box > .heading h1 img {
	float: left;
	margin-top: -1px;
	margin-left: 3px;
	margin-right: 8px;
}
.box > .heading .buttons {
	float: right;
	padding-top: 7px;
	margin-right: 5px;
}
.box > .heading .buttons .button {
	margin-left: 5px;
}
.box > .footing {
	height: 38px;
	padding-left: 7px;
	padding-right: 7px;
	border: 1px solid #DBDBDB;
	border-top:none;
	background: url('../image/box.png') repeat-x;
	-webkit-border-radius: 0px 0px 7px 7px;
	-moz-border-radius: 0px 0px 7px 7px;
	-khtml-border-radius: 7px 0px 7px 7px;
	border-radius: 0px 0px 7px 7px;
}
.box > .footing .buttons {
	float: right;
	padding-top: 7px;
	margin-right: 5px;
}
.box > .footing .buttons .button {
	margin-left: 5px;
}
.box > .content {
	padding: 10px;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	min-height: 300px;
	overflow: auto;
}
a.button, .list a.button {
	text-decoration: none;
	color: #FFF;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	background: #551A8B;
	-webkit-border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-khtml-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}
.list {
	border-collapse: collapse;
	width: 100%;
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	margin-bottom: 20px;
}
.list td {
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
}
.list thead td {
	background-color: #EFEFEF;
	padding: 0px 5px;
}
.list thead td a, .list thead td {
	text-decoration: none;
	color: #222222;
	font-weight: bold;
}
.list tbody td a {
	text-decoration: underline;
}
.list tbody td {
	vertical-align: middle;
	padding: 0px 5px;
	background: #FFFFFF;
}
.list .left {
	text-align: left;
	padding: 7px;
}
.list .right {
	text-align: right;
	padding: 7px;
}
.list .center {
	text-align: center;
	padding: 7px;
}
.list .asc {
	padding-right: 15px;
	background: url('../image/asc.png') right center no-repeat;
}
.list .desc {
	padding-right: 15px;
	background: url('../image/desc.png') right center no-repeat;
}
.list tbody tr:hover td { background: #ACEECB;}
.list tr.filter td {
	padding: 5px;
	background: #E7EFEF;
}
.list tr.filter:hover td {
	background: #E7EFEF;
}
.pagination {
	border-top: 1px solid #DDDDDD;
	display: inline-block;
	width: 100%;
	padding-top: 6px;
}
.pagination .links {
	float: left;
	padding-top: 6px;
}
.pagination .links a {
	border: 1px solid #DDDDDD;
	padding: 4px 10px;
	font-size: 12px;
	text-decoration: none;
	color: #A3A3A3;
}
.pagination .links b {
	border: 1px solid #269BC6;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
	color: #269BC6;
	background: #FFFFFF;
}
.pagination .results {
	float: right;
	padding-top: 6px;
	font-size: 12px;
}
table.form {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
table.form > tbody > tr > td:first-child {
	/*width: 200px;*/
}
table.form > tbody > tr > td {
	padding: 10px;
	color: #000000;
	border-bottom: 1px dotted #CCCCCC;
}
table.form > tbody > tr > td.caption {
	padding: 10px;
	color: #000000;
	border-bottom: 1px dotted #CCCCCC;
	background:#EFFDFF;
}
.scrollbox {
	border: 1px solid #CCCCCC;
	width: 350px;
	height: 150px;
	background: #FFFFFF;
	overflow-y: scroll;
}
.scrollbox img {
	float: right;
	cursor: pointer;
}
.mybox {

}
.mybox div {
	display: inline;
	padding: 3px 3px 3px 6px;
	margin-right: 5px;
}
.mybox div input {
	margin: 0px;
	padding: 0px;
	margin-right: 3px;
}
.mybox div.odd, .mybox div.even {
	cursor: pointer;
}
.htabs {
	padding: 0px 0px 0px 10px;
	height: 30px;
	line-height: 16px;
	border-bottom: 1px solid #DDDDDD;
	margin-bottom: 15px;
}
.htabs a {
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	border-right: 1px solid #DDDDDD;
	background: #FFFFFF url('../image/tab.png') repeat-x;
	padding: 7px 15px 6px 15px;
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	color: #000000;
	margin-right: 2px;
	display: none;
}
.htabs a.selected {
	padding-bottom: 7px;
	background: #FFFFFF;
}
.vtabs {
	width: 190px;
	padding: 10px 0px;
	min-height: 300px;
	float: left;
	display: block;
	border-right: 1px solid #DDDDDD;
}
.vtabs a {
	display: none;
}

.vtabs a, .vtabs span {
	display: block;
	float: left;
	width: 160px;
	margin-bottom: 5px;
	clear: both;
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	background: #F7F7F7;
	padding: 6px 14px 7px 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-align: right;
	text-decoration: none;
	color: #000000;
}
.vtabs a.selected {
	padding-right: 15px;
	background: green;
	color: #FFFFFF;
}
.vtabs a img, .vtabs span img {
	position: relative;
	top: 3px;
	cursor: pointer;
}
.vtabs .scrolldiv {
	width: 190px;
	padding: 0px;
	float: left;
	display: block;
	border-right: 1px solid #DDDDDD;
	height:500px;
	margin-bottom:5px;
}
.vtabs .scrolldiv a {
	text-align:center;
}
.vtabs-content {
	margin-left: 205px;
}
.vtabs-content  .inner-heading {
	height:38px;
	background: #EFEFEF;
	border: 1px solid #DDDDDD;
	padding: 8px;
	font-weight: bold;
	color: #555555;
	margin-bottom: 15px;
}
.vtabs-content  .inner-heading h1 {
	margin: 0px;
	padding: 11px 0px 0px 0px;
	color: #003A88;
	font-size: 16px;
	float: left;
}
.vtabs-content  .inner-heading h1 img {
	float: left;
	margin-top: -1px;
	margin-left: 3px;
	margin-right: 8px;
}
.vtabs-content  .inner-heading .buttons {
	float: right;
	padding-top: 7px;
	margin-right: 5px;
}
.vtabs-content  .inner-heading .buttons .button {
	margin-left: 5px;
}
.vtabs-content  .inner-footing {
	height:38px;
	background: #EFEFEF;
	border: 1px solid #DDDDDD;
	padding: 8px;
	font-weight: bold;
	color: #555555;
	margin-bottom: 15px;
	clear: both;
}
.vtabs-content  .inner-footing .buttons {
	float: right;
	padding-top: 7px;
	margin-right: 5px;
}
.vtabs-content  .inner-footing .buttons .button {
	margin-left: 5px;
}
.accordion-heading {
	background: #EFEFEF;
	border: 1px solid #DDDDDD;
	padding: 8px;
	font-weight: bold;
	font-size: 13px;
	color: #555555;
	margin-bottom: 15px;
}
.accordion-heading a {
	float: right;
	margin-top: 1px;
	font-weight: normal;
	text-decoration: none;
}
.accordion-content {
	padding: 0px 0px 15px 0px;
	overflow: auto;
}
.scrollbox div {
	padding: 3px;
}
.scrollbox div input {
	margin: 0px;
	padding: 0px;
	margin-right: 3px;
}
.scrollbox div.even {
	background: #FFFFFF;
}
.scrollbox div.odd {
	background: #E4EEF7;
}
.overview {
	float: left;
	width: 49%;
	margin-bottom: 20px;
}
.overview table {
	width: 100%;
}
.overview td + td {
	text-align: right;
}
.statistic {
	float: right;
	width: 49%;
	margin-bottom: 20px;
}
.range {
	float: right;
	color: #FFF;
	vertical-align: middle;
}
.range {
	padding-top: 1px;
	padding-right: 1px;
}
.range, .range select {
	font-size: 11px;
}
.latest {
	clear: both;
}
.latest tbody td {
	background: #FFF;
}
.dashboard-heading {
	background: #547C96;
	color: #FFF;
	border-bottom: 1px solid #8EAEC3;
	padding: 5px;
	font-size: 14px;
	font-weight: bold;
}
.dashboard-content {
	background: #FCFCFC;
	border: 1px solid #8EAEC3;
	padding: 10px;
	min-height: 180px;
}
.refresh {
	cursor: pointer;
	position: relative;
	top: 3px;
}
.roomarea {
	margin-bottom:1em;
	width:100%;
}
.homebox {
  float: left;
  width: 300px;
  height: 200px;
  margin: 1em;
  border:1px solid #aaa;
  box-shadow: 5px 5px 5px #ccc;
  position: relative;
  /*background-color:#E01010; */
}
.homebox .label {
  position: absolute;
  background-color: #cceedd;
  color: #333;
  line-height: 1.5em;
  padding: 1px 3px;
  top:0;
  left:0;
}
.homebox .endlabel {
  position: absolute;
  background-color: #cceedd;
  color: #333;
  line-height: 1.5em;
  padding: 1px 3px;
  bottom:0;
  right:0;
}
.homebox .endlabel.greenlabel {background-color: #cceedd;}
.homebox .endlabel.redlabel {background-color: #ffaaaa;}
.homebox .endlabel.greylabel {background-color: #dcdcdc;}
.homebox ul {
	list-style: none;
}
.endlabel-left {
  position: absolute;
  background-color: #cceeff;
  color: #333;
  line-height: 1.5em;
  padding: 1px 3px;
  bottom:0;
  left:0;
}
.after-box {
  clear: left;
}

/* -------------------- Dashboard ICON START -------------------- */
a.dashboard-module,
a.dashboard-module:visited {
	width: 142px;
	height: 142px;
	display: block;
	float: left;
	background: url(../image/dashboard-module.gif) top left no-repeat;
	margin: 0 8px 8px 0;
	text-align: center;
	color: #444444;
	}

a.dashboard-module:hover,
a.dashboard-module:active {
	background-position: bottom left;
	text-decoration: none;
	color:#0063be;
	}

a.dashboard-module img {
	margin-top: 20px;
	}

a.dashboard-module span {
	margin-top: 10px;
	display: block;
	}
/* -------------------- Dashboard ICON END -------------------- */



/* toggle */
.display {
	margin-bottom: 0px;
	margin-left: 5px;
	float:right;
	overflow: auto;
}
.display .tog {
	width: 20px;
	height: 20px;
	background: url('../image/display.png') no-repeat;
	cursor: pointer;
	float: left;
	margin-right: 5px;
	background-position: 0px 0px;
}
.display .tog:hover {
	background-position: 0px -20px;
}




/* menu2 for stick header */

#menu2 {
	background: url('../image/menu.png') repeat-x;
	position: relative;
	z-index: 999999;
	height: 34px;
	clear: both;
	padding: 0px 30px;
	min-width: 900px;
	display:none;
}
#menu2 > ul.left {
	float: left;
}
#menu2 > ul.right {
	float: right;
}
#menu2 > ul {
	position: relative;
	margin: 0;
	padding: 0;
}
#menu2 > ul ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: url('../image/transparent.png');
	z-index: 999999;
}
#menu2 > ul a {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	padding: 5px;
}
#menu2 > ul > li + li {
	background: url('../image/split.png') center left no-repeat;
}
#menu2 > ul .top, #menu2 > ul li li.sfhover {
	padding: 10px 15px 9px 17px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #FFFFFF;
	text-align: center;
}
#menu2 > ul ul li {
	padding: 2px;
}
#menu2 > ul .selected .top {
	background: url('../image/selected.png') repeat-x;
	color: #FFFFFF;
}
#menu2 > ul > li:hover {
	background: url('../image/hover.png') repeat-x;
	color: #FFFFFF;
}
#menu2 > ul .selected:hover a.top, #menu2 > ul .sfhover a.top {
}
#menu2 > ul .parent {
	background: url('../image/arrow-right.png') 95% center no-repeat;
}
#menu2 > ul li {
	float: left;
	list-style: none;
}
#menu2 > ul li ul {
	position: absolute;
}
#menu2 > ul li li {
	clear: both;
}
#menu2 > ul li ul a {
	color: #FFFFFF;
	height: 15px;
	width: 150px;
}
#menu2 > ul li ul ul {
	margin: -27px 0 0 157px;
}
#menu2 > ul li li:hover, #menu2 > ul li li.sfhover {
	background: #EE7600;
	color: #000000;
}


/*by Sphinx*/

/* drag container */
#main_container{
	margin: auto;
	width: 570px;
}
		/* container for the left table */
		#main_container #left{
			float: left;
			width: 100px;
			height: 200px;
		}
		/* container for the right table */
		#main_container #right{
		  	display: table;
		    table-layout: auto;
			padding-left: auto;
			padding-right: 0px;
			margin-right: 20px;
			/* align div to the right */
			margin-left: auto;

		}


/* drag objects (DIV inside table cells) */
.drag{
	cursor: move;
	margin: auto;
	z-index: 10;
	background-color: white;
	text-align: center;
	font-size: 25pt; /* needed for cloned object */
	opacity: 0.7;
	filter: alpha(opacity=70);
	/* without width, IE6/7 will not apply filter/opacity to the element ?! */
	/* IE needs element layout */
	width: 87px;
	height: 35px;
	line-height: 35px;
	/* round corners */
	border-radius: 4px; /* Opera, Chrome */
	-moz-border-radius: 4px; /* FF */
}


/* tables */
div#drag table {
	background-color: #eee;
	border-collapse: collapse;
}
		/* timetable */
		div#drag #table2 {
			/* align table to the right */
			margin-left: auto;
		}


/* table cells */
div#drag td,th{
	border-style: solid;
	height: 50px;
	text-align: center;
	font-size: 10pt;
	padding: 2px;
}
		/* left table - td */
		div#drag #table1 td{
			border-width: 0px 0px 1px 0px;
			border-color: white;
		}

		/* right table - td */
		div#drag #table2 td{
			border-width: 0px 3px 3px 0px;
			border-color: #DDC5B5;
			font-weight: normal;
		}

		/* right table - th */
		div#drag #table2 th{
			border-width: 3px 0px 0px 3px;
			border-color: #DDC5B5;
			font-weight: normal;
		}

		/* right table - upper right cell */
		div#drag #table2 .upper_right{
			border-width: 0px;
		}

		/* right table - lower left cell */
		div#drag #table2 .lower_left{
			border-width: 0px;
		}



/* last row and last column without border */
.noborder{
	border-width: 0px;
}


/* green objects */
.green {
	border: 2px solid #499B33;
}


/* orange objects */
.orange {
	border: 2px solid #BF6A30;
}


/* last row background color */
.last {
	background-color: #e0e0e0;
}


/* message line */
#message{
	color: white;
	background-color: #aaa;
	text-align: center;
	margin-top: 10px;
}


/* dark cells (first column and table header) */
.dark{
	color: #444;
	background-color: #e0e0e0;
}

/* trash cell */
.trash {
	color: white;
	background-color: SteelBlue;
}

table.form2 {
	width: 200px;
	border-collapse: collapse;
	margin-bottom: 20px;
}
table.form2 > tbody > tr > td:first-child {
	/*width: 200px;*/
}
table.form2 > tbody > tr > td {
	padding: 10px;
	color: #000000;
	border-bottom: 1px dotted #CCCCCC;
}
table.form2 > tbody > tr > td.caption {
	padding: 10px;
	color: #000000;
	border-bottom: 1px dotted #CCCCCC;
	background:#EFFDFF;
}