﻿/* 表格 清單 */
TABLE th {white-space: nowrap;}
.text-con TABLE {font-family: "細明體";}
.tab-list tr {background-color: #fff;}
.tab-list th {
	text-align: center;
	font-family: Microsoft JhengHei;
}
.tab-list .date{ display: block; font-size: small;}

/* 最新訊息 */
.tab-news th:nth-child(3) {text-align: left;}
.tab-news td:nth-child(1),
.tab-news td:nth-child(2),
.tab-news td:nth-child(4) {white-space: nowrap; text-align: center;}

/* 查詢結果 */
.tab-result th:nth-child(3) {text-align: left;}
.tab-result td:nth-child(1),
.tab-result td:nth-child(2) {white-space: nowrap; text-align: center;}

/* 法規體系 */
.tab-category th:nth-child(3) {text-align: left;}
.tab-category td:nth-child(1),
.tab-category td:nth-child(2),
.tab-category td:nth-child(4) {white-space: nowrap; text-align: center;}

/* 法規草案 */
.tab-forum th:nth-child(3) {text-align: left;}
.tab-forum td:nth-child(1),
.tab-forum td:nth-child(2) {white-space: nowrap; text-align: center;}

/* 法規內容 */
.tab-law th ,
.tab-law td {line-height: 1.7em;}
.tab-law th {
	text-align: right;
	font-family: "細明體";
	font-weight: normal;
}
.tab-law > thead > tr > th,
.tab-law > tbody > tr > th,
.tab-law > tfoot > tr > th,
.tab-law > thead > tr > td,
.tab-law > tbody > tr > td,
.tab-law > tfoot > tr > td {
  border-top: none;
}
.tab-law tr {border-bottom: 1px dotted #aaa;}
.tab-law .date {
	display: inline-block;
	font-size: 0.8125em;
	margin-left: 8px;
}
.tab-law .text-eng {
	margin-left: 0.5em;
	font-size: 0.9125em;
	font-weight: normal;
}
.tab-law .law-char th,
.tab-law .law-no th{text-align:left;font-weight:800;}
.tab-law .FileList{margin-top:0.5em;}

/* 全文檢索欄位說明 */
.tab-help > thead > tr > th,
.tab-help > tbody > tr > th,
.tab-help > tfoot > tr > th,
.tab-help > thead > tr > td,
.tab-help > tbody > tr > td,
.tab-help > tfoot > tr > td {
  border-color: #ccc;
}
.tab-help tr:nth-child(1) {background-color: #f4f4f4;}
.tab-help ul {list-style-position: outside;}
.tab-help ul li {
	background: url(../images/icon_arrow01.png) no-repeat 0 0.25em;
	padding-left: 1em;
	padding-bottom: .3em;
}
.tab-help span {color: #090;}
@media (max-width: 767px) {
.tab-list,
.tab-list thead,
.tab-list tbody,
.tab-list th,
.tab-list td,
.tab-list tr {
	display: block;
	text-align: left!important;
}
.tab-list thead {display: none;}
.tab-list tr {
	margin-bottom: 10px;
	border: 2px solid #ddd;
}
.tab-list tr.law-no {
	margin-bottom:-1px;
    border-bottom-color:transparent;
}
.tab-list .date{ font-size: inherit;}
/* 最新訊息 */
.tab-news td:nth-child(2) {border-top: none;}
.tab-news td:first-child,
.tab-news td:last-child {display: none;}
/* 查詢結果 */
.tab-result td:nth-child(2) {border-top: none;}
.tab-result td:first-child {display: none;}
/* 法規體系 */
.tab-category td:nth-child(2) {border-top: none;}
.tab-category td:first-child,
.tab-category td:last-child {display: none;}
/* 法規內容 */
.tab-law th {
	background-color: #f5f5f5;
	width:100%;
}
/* 法規草案 */
.tab-forum td:nth-child(2) {border-top: none;}
.tab-forum td:first-child {display: none;}
/* 全文檢索欄位說明 */
.tab-help {border: none;}
.tab-help tr:nth-child(1) {display: none;}
.tab-help tr > td:nth-child(1) {display: none;}
.tab-help tr > th:nth-child(2) {background-color: #f4f4f4;}
.tab-help ul li {background-size: 15px;}
.tab-help-no tr > td:nth-child(1) {display: inherit;}
}
@media (max-width: 590px) {
.tab-list .date{ font-size: x-large;}
}

/* 表格 內容 */
.tab-edit > thead > tr > th,
.tab-edit > tbody > tr > th,
.tab-edit > tfoot > tr > th,
.tab-edit > thead > tr > td,
.tab-edit > tbody > tr > td,
.tab-edit > tfoot > tr > td {
	border-color: #ccc;
}
.tab-edit {
	background-color: #fff;
	word-break: normal;
	word-wrap: break-word;
}
.tab-edit th {
	text-align: right;
	background-color: #f5f5f5;
	font-weight: normal;
    width:14%;
}
.tab-edit .text-middle {
	vertical-align: middle;
	line-height: 2.125em;
}

@media (max-width: 767px) {
.tab-edit {
	background-color: inherit;
	border: none;
}
.tab-edit,
.tab-edit thead,
.tab-edit tbody,
.tab-edit th,
.tab-edit td,
.tab-edit tr {
	display: block;
	text-align: left!important;
}
.tab-edit th {width: 100% !important; border-bottom: none !important;}
.tab-edit tr {
	margin-bottom: 10px;
	border: 1px solid #ddd;
}
.tab-edit td {background-color: #fff; border-top: none !important;}
.tab-edit .text-middle {
	vertical-align: inherit;
	line-height: inherit;
}
.tab-edit .text-left {
	margin-left:0;
}
}

/* 表格 查詢 */
.tab-qry {background-color: #fff;}
.tab-qry > thead > tr > th,
.tab-qry > tbody > tr > th,
.tab-qry > tfoot > tr > th,
.tab-qry > thead > tr > td,
.tab-qry > tbody > tr > td,
.tab-qry > tfoot > tr > td {
	border-color: #ccc;
	padding: 8px 15px;
	line-height:1.6em;
	vertical-align: middle;
}
.tab-qry tr {vertical-align: text-bottom !important;}
.tab-qry th {
	text-align: right;
	background-color: #f5f5f5;
}
.tab-qry td span {display: inline-block;}
.tab-qry td Input[type='checkbox'] + label,
.tab-qry td Input[type='radio'] + label {
	margin-right: 0.8em;
	vertical-align: middle;
}
.tab-qry .row .law-date {margin-right: -15px;}
.tab-qry .row .text-date {
	width: 1%;
	line-height: 34px;
}
.tab-qry .btn-help {margin-left: -20px;}
.tab-qry .memoZone {
	display: inline-block;
	font-size: 0.9375em;
	margin-left: 1em;
}

/* 表格 英譯法規 */
.tab-qry-eng th {line-height: 1.2125em;}
.tab-qry-eng td {vertical-align: middle!important;}
.tab-qry-eng .text-eng {
	display: block;
	font-size: 0.9125em;
	color: #666;
	font-weight: normal;
	line-height: 0.9125em;
}
.tab-eng th {background-color: #f9f9f9;}
.tab-eng td:nth-child(1) {text-align: center;}
.tab-engresult th:nth-child(3) {text-align: left;}
.tab-engresult td:nth-child(1),
.tab-engresult td:nth-child(2) {text-align: center;}
.tab-engresult .law-chi,
.tab-engresult .law-eng {
	background-color: #888;
	color: #fff;
	padding: 0px 3px;
	border-radius: 5px;
	margin-right: 0.5em;
	font-size: 0.9125em;
	font-family: Microsoft JhengHei;
}
@media (max-width: 767px) {
/* 表格 內容 */
.tab-qry {
	border: none!important;
	background-color: transparent;
}	
.tab-qry th {
	height:2.2em;
	text-align: left;
	border: none!important;
	background-color: transparent;
}
.tab-qry th,
.tab-qry td {
	display: block;
	white-space: normal;
	overflow:hidden;
}
.tab-qry td {
	border: #ddd 2px solid!important;
	border-radius: 10px;
	margin-bottom: 20px!important;
}
.tab-qry .row .law-date {margin-right: 0px;}
.tab-qry .memoZone {display: none;}
/* 表格 英譯法規 */
.tab-qry-eng .text-eng {
	display: inline-block;
	margin-left: 0.5em;
}
.tab-eng {border: none;}
.tab-engresult td:nth-child(2) {border-top: none;}
.tab-engresult td:nth-child(1) {display:none;}
}

/* 草規法案 發表建議 */
.tab-post .tab-th {
	letter-spacing: 1pt;
	text-align: right;
}
.tab-post .code a{margin-left: -20px;}
.tab-post .code button {margin-left: 20px;}
.tab-post .memoZone {
	display: inline-block;
	font-size: 0.9375em;
}
@media (max-width: 992px) {
.tab-post .tab-th {text-align: left;}
.tab-post .code a{margin-left: 0px;}
.tab-post .memoZone {
	display: inline-block;
	font-size: 0.9375em;
	padding: 0;
	margin:0 0 1em 0;
}
}
/* 相關實務見解 */
.table-extent th{width:5em;}
.table-extent td > div{clear:both;overflow:hidden;line-height:1.6em;}
.table-extent td > div > b{float:left;width:5.5em;}
.table-extent td > div > pre{margin-left:5.5em;}
@media (max-width: 767px) {
.table-extent td > div > pre{ clear:both; margin-left:0em;}
}