html {
	/* 為了footer而設 */
	position: relative; min-height: 100%;
}

body {
	font-family: Arial, sans-serif, Monospace, "微軟正黑體", "細明體", "標楷體";

	/* 設定最底部間隔(以便放置 footer列) */
	margin-bottom: 50px;

	/* 區域內背景全灰 */
	/* background-color: #eee; */

	/* font-family: 'Open Sans', sans-serif; */
}

.mono {font-family:"細明體", "Courier New", "Lucida Console", Monospace}

/* 固定size設定 */
.container {
	/* min-width:768px; */
}

/* 間隔設定 */
.dp_dp_dp {
	height:3px;
}

/* 選單追加設定(縮小最底部的間隔) */
/*
.navbar-static-top {
	margin-bottom: 3px;
}
*/

.row-top-buffer { margin-top:15px; }

.footer {
	position: absolute;
	bottom: 0;
	background-color: #333333;

	width: 100%;
	color:#ffffff;

	height: 50px; /* footer列高(與body的margin-bottom相同高度) */
	
	padding-top: 18px;
}

#GridView1 th, #GridView2 th, #GridView3 th, #GridView4 th, #GridView5 th, 
#GridView1 td, #GridView2 td, #GridView3 td, #GridView4 td, #GridView5 td {
	border: 1px solid white;
}


/* 指定Header的顏色 */
.header-default.table-striped > tbody > tr:nth-child(odd) > th {
	/* color: #777; */
	background-color: #ddd;
}
.header-primary.table-striped > tbody > tr:nth-child(odd) > th {
	color: #fff;
	background-color: #3071a9;
}
.header-success.table-striped > tbody > tr:nth-child(odd) > th {
	color: #3c763d;
	background-color: #d6e9c6;
}
.header-info.table-striped > tbody > tr:nth-child(odd) > th {
	/* color: #31708f; */
	background-color: #bce8f1;
}
.header-warning.table-striped > tbody > tr:nth-child(odd) > th {
	/* color: #8a6d3b; */
	background-color: #faebcc;
}
.header-danger.table-striped > tbody > tr:nth-child(odd) > th {
	/* color: #a94442; */
	background-color: #ebccd1;
}


/*
#GridView1.table-striped > tbody > tr:nth-child(2n+1) > td,
#GridView1.table-striped > tbody > tr:nth-child(2n+1) > th {
   background-color: red;
}
*/

.tr_money_default {
	text-align: right;
}
.tr_money_red {
	color:#f00;
	text-align: right;
}
.tr_money_green {
	color:#5cb85c;
	text-align: right;
}
.tr_money_blue {
	color:#0275d8;
	text-align: right;
}

.button_100p {
	width:100%;
}


.black-background {background-color:#000000;}
.transparent-background {background-color:transparent;}
.transparent-border {border: 1px solid transparent;}



/* 灰色按鈕(用來表示無法點選的按鈕) */
.btn-unable {
  color: #CCCCCC;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-unable:hover,
.btn-unable:focus, .btn-unable.focus, 
.btn-unable:active, .btn-unable.active {
  color: #CCCCCC;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-unable:active, .btn-unable.active {
  background-image: none;
}

.btn-unable.disabled, .btn-unable[disabled],
fieldset[disabled] .btn-unable, .btn-unable.disabled:hover, .btn-unable[disabled]:hover, fieldset[disabled] .btn-unable:hover, 
.btn-unable.disabled:focus, .btn-unable[disabled]:focus, fieldset[disabled] .btn-unable:focus, .btn-unable.disabled.focus, .btn-unable[disabled].focus, fieldset[disabled] .btn-unable.focus, 
.btn-unable.disabled:active, .btn-unable[disabled]:active, fieldset[disabled] .btn-unable:active,
.btn-unable.disabled.active, .btn-unable[disabled].active, fieldset[disabled] .btn-unable.active {
  background-color: #e6e6e6;
  border-color: #adadad;
}


.paging_middle_text {
  text-align: center;
  /* vertical-align: middle; */
  font-size:18px;
}

.middle_text {
  /* display: inline-block; */
  text-align: center;
  vertical-align: middle;
}

.text_transparent{ opacity: 0.1; }
.text-break{ word-break: break-all; }


/* v4的css */
.text-red{color:#f00!important}
.text-white{color:#fff!important}
.text-muted{color:#636c72!important}a.text-muted:focus,a.text-muted:hover{color:#4b5257!important}
.text-primary{color:#0275d8!important}a.text-primary:focus,a.text-primary:hover{color:#025aa5!important}
.text-success{color:#5cb85c!important}a.text-success:focus,a.text-success:hover{color:#449d44!important}
.text-info{color:#5bc0de!important}a.text-info:focus,a.text-info:hover{color:#31b0d5!important}
.text-warning{color:#f0ad4e!important}a.text-warning:focus,a.text-warning:hover{color:#ec971f!important}
.text-danger{color:#d9534f!important}a.text-danger:focus,a.text-danger:hover{color:#c9302c!important}
.text-gray-dark{color:#292b2c!important}a.text-gray-dark:focus,a.text-gray-dark:hover{color:#101112!important}
.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}

