﻿/* CSS Document */

a { 
    text-decoration: none;
}
a:hover { 
    text-decoration: underline;
}

html {
	background: #034d97;/* Old browsers */
	background: -moz-linear-gradient(top,  #39bbff 0%, #034d97 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#39bbff), color-stop(100%,#034d97)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #39bbff 0%,#034d97 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #39bbff 0%,#034d97 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #39bbff 0%,#034d97 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #39bbff 0%,#034d97 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39bbff', endColorstr='#034d97',GradientType=0 ); /* IE6-9 */
}

body {
	background: url("../images/footer_bgd.png") bottom right no-repeat;
}

/*--------sys_web--------*/
.sys_web {
	display: block;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	font-family: "Microsoft JhengHei",Verdana, Arial;
	text-shadow: none;
}

/*------web_head------*/
.web_head {
	position: relative;
    display: block;
	max-width: 1280px;
    margin: 0 auto 2em auto;
    padding: 60px 0 0 600px;
	background: url("../images/head_bgd.png") left bottom no-repeat;
}

/*------con_head------*/
.con_head {
	position: relative;
    display: block;
	width: 100%;
    margin: 0;
    padding: 0 0.5em;
	background: url("../images/head_bgd_m.png") center top no-repeat;
	background-size: 100% auto;
	border-bottom: #00366d 2px solid;
}

/*----top_menu----*/
.top_menu {
	position: absolute;
	top: 0;
	right: 2px;
}

.top_m_list {
	display: inline-block;
	height: auto;
	margin: 0 2px;
	padding: 0.3em 1em;
	float: right;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background: #333;
	text-align: center;
	color: #fff;
	z-index: 9;
}

.top_m_list a:hover, .top_m_list a:focus {
	color: #fff;
	text-decoration: none;
}

.top_m_list li {
	display: inline-block;
	float: left;
	margin: 0 0.3em;
	padding: 0.2em 0.3em;
	text-align: center;
	color: #FFF;
}

.top_m_list li a {
	color: #FFF;
}

/*----logo----*/
.gov_logo, .sys_logo, .con_sys_logo, .sys_logo span {
	display: block;
	margin: 0;
	padding: 0;
}

.gov_logo, .sys_logo {
	text-align: right;
}

.gov_logo a {
	display: inline-block;
	width: 264px;
	height: 56px;
	margin: 0.5em 0.5em 0.1em 0.5em;
	padding: 0;
	background: url("../images/gov_logo.png") no-repeat;
	background-size: 100% auto;text-indent:101%; /*首行縮排*/
	overflow:hidden; /*自動隱藏超出的文字或圖片*/
	white-space:nowrap; /*希望元素在第一排上面，沒有斷行*/
}

/*跑馬燈*/
.msg_box {
	color: #ffffd5;
	margin: 0;
	text-align: right;
	padding: 0.5em;
	text-shadow: 1px 1px 2px #666;
}

.msg_box a {
	color: #ffffd5;
}

.msg_block {
	display: inline-block;
	width: auto;
	min-width: 100%;
}

.con_gov_logo {
	display: inline-block;
	text-align: left;
	background: rgba(255,255,255,0.8);
	margin: 0;
	padding: 0 0.5em;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;	
}

.con_gov_logo a {
	display: inline-block;
	width: 180px;
	height: 38px;
	margin: 0.5em 0.5em 0.1em 0.5em;
	padding: 0;
	background: url("../images/gov_logo.png") no-repeat;
	background-size: 100% auto;text-indent:101%; /*首行縮排*/
	overflow:hidden; /*自動隱藏超出的文字或圖片*/
	white-space:nowrap; /*希望元素在第一排上面，沒有斷行*/
}

.sys_logo a {
	display: block;
	font-size: 48pt;
	margin: 0;
	padding: 0.3em 0;
	font-weight: bold;
	color: #fff;
	text-shadow: 2px 2px 2px #333;
}

.con_sys_logo a {
	display: block;
	text-align: center;
	font-size: 48pt;
	margin: 0;
	padding: 0.1em 0;
	font-weight: bold;
	color: #fff;
	text-shadow: 2px 2px 2px #333;
}

.sys_logo a:hover {
	text-decoration: none;
}

/*----main_menu----*/
.menu_box {
	display: block;
	margin: 0;
	padding: 0;	
}

#top_s_btn, #pull {
	display: none;
}

.main_menu {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.1em 0.5em;
	background: rgba(255,255,255,0.8);
	border-radius: 1.5em;
	text-align: center;
}

.con_head .main_menu {
	text-align: left;	
}

.con_head a:hover {
	text-decoration: none;
}

.main_menu li {
	display: inline-block;
	list-style: none;
	margin: 0 0.2em;
	padding: 0.1em 0.4em;
	font-size: 16pt;
	color: #00366d;
}

.main_menu li a {
	color: #00366d;
}

.main_menu .active {
	background: #00366d;
	border-radius: 0.5em;
}

.main_menu .active a {
	color: #fff;
	font-weight: bold;
}

/*----news_box----*/
.news_box {
	display: block;
	width: 100%;
	margin:0 0 0.5em 0;
	padding: 1em;
	background: rgba(0,0,0,0.7);
	border-radius: 1em;
}

.box_head {
	border-bottom: 2px solid #fff;
	margin: 0;
	padding: 0.2em;
}

.box_title {
	font-size: 20pt;
	font-weight: bold;
	color: #fff;
}

.box_body {
	display: block;
	margin: 0;
	padding: 0.5em;
}

.box_body li {
	display: block;
	list-style: none;
	margin: 0.5em 0;
	padding: 0.1em 0.3em;
	font-size: large;
	border-bottom: 1px dashed #ccc;
}

.box_body li a {
	color: #fff;
}

/*----service_box style----*/
.service_box {
	display: block;
	width: 100%;
	background: rgba(255,255,255,0.8);
	margin: 0;
	padding: 0.5em;
	text-align: center;
}

.service_title {
	display: inline-block;
	margin: 0.5em;
	padding: 0.2em 1em;
	font-size: 20pt;
	font-weight: bold;
	background: #00366d;
	border-radius: 1.5em;
	color: #fff;
}

.service_menu {
	display: block;
	max-width: 1280px;
	margin: 0.2em auto;
	padding: 0 10px;
}

.service_menu li {
	list-style: none;
	display: inline-block;
	width: 300px;
	margin: 0 0.2em 1em 0.2em;
	padding: 0;
}

.service_menu li a {
	font-size: 30pt;
	color: #333;
	font-weight: bold;
}

.service_menu li img {
	width: 300px;
	height: auto;
	margin-bottom: 0.1em;
}

/*----link_box style----*/
.link_box {
	display: block;
	max-width: 1280px;
	margin: 0.2em auto;
	padding: 0;
}

.link_box .link_title {
	font-size: large;
}

.link_list img {
	width: 100%;
	height: auto;	
}

/*----con_box style----*/
.con_box {
	display: block;
	margin: 0;
	padding: 1em 0.5em;
	min-height: 60vh;
}

/*----web_footer style----*/
.web_footer {
	display: block;
	background: rgba(29,46,103,0.8);
	margin: 0;
	padding: 1em 1.5em;
	color: #fff;
}

.web_footer p {
	margin: 0.5em;
	padding: 0.1em 0.2em;
	line-height: 1.5em;
	font-size: large;
}

.web_footer p a {
	color: #fffac2;
}

.footer_img {
	width: 128px;
	height: auto;
	
}

/*--rwd_table style--*/
.rwd-table td:before {
	display: none;
}

.rwd-table th, .rwd-table td {
	display: table-cell;
	padding: 0.25em 0.5em;
}

.rwd-table th:first-child, .rwd-table td:first-child {
	padding-left: 0;
	padding-right: 0;
}

.rwd-table th, .rwd-table td {
	padding: 0.5em !important;
}

/*--tableScroll_box style--*/
.tableScroll_box { 
    display: block;
    width: 100%;
	height: 100%;
    margin: 0;
    padding: 0;
}/*----外層元件要設定固定高度----*/

.inf_con_box_00 .tableScroll {
	margin-bottom: 0;	
}

.tableScroll thead th {
	position: sticky;
	width: auto;
	top: 0; /* 列首永遠固定於上 */
	z-index: 7;
}

.inf_con_table {
	height: 240px;	
}

.report_con_table {
	max-height: 600px;
}

/*------web_style------*/
.pull-right {
    float: right!important;
}

.pull-left {
    float: left!important;
}

.modal-xxl {
	max-width: 95%;
	
}

/*------折疊table------*/

.table_dp_c {
	display: none;
}

/*-----------------1280_web-------------------*/

/*Styles for screen 1280 and lower*/
@media screen and (max-width: 1280px) {

	body {
		background-size: 50% auto;
	}
	
	.sys_web {
		margin: 0;
		width: 100%;
	}
	
	.web_head {
		max-width: 100%;
		margin: 0 auto;
		padding: 0 1em 1em 1em;
		background: url("../images/head_bgd_m.png") top center no-repeat;
		background-size: 100% auto;
	}
	
	.sys_logo {
		height: auto;
	}
	
	.con_sys_logo a {
		font-size: 32pt;
	}
	
	.sys_logo a {
		text-align: center;
	}
	
	.gov_logo {
		display: inline-block;
		text-align: left;
		background: rgba(255,255,255,0.8);
		padding: 0 0.5em;
		-webkit-border-bottom-right-radius: 10px;
		-webkit-border-bottom-left-radius: 10px;
		-moz-border-radius-bottomright: 10px;
		-moz-border-radius-bottomleft: 10px;
		border-bottom-right-radius: 10px;
		border-bottom-left-radius: 10px;
	}

	.gov_logo a {
		width: 180px;
		height: 38px;
	}
	
}


/*-----------------768_web-------------------*/

/*Styles for screen 768 and lower*/
@media screen and (max-width: 768px) {
	
	.web_footer {
		padding: 0.5em;
	}

	.web_footer p {
		margin: 0.2em;
		padding: 0;
		line-height: 1.2em;
		font-size: medium;
		text-align: center;
	}

	.footer_img {
		width: 64px;
		height: auto;

	}
	
}


/*-----------------680_web-------------------*/

/*Styles for screen 680 and lower*/
@media screen and (max-width: 680px) {

	.top_menu {
		right: 0;
	}
	
	.top_m_list {
		display: none;
		position: absolute;
		-webkit-border-top-left-radius: 10px;
		-moz-border-radius-topleft: 10px;
		border-top-left-radius: 10px;
		top: 30px;
		right: 0;
		margin: 0;
		width: 10em;
	}
	
	.top_m_list li {
		display: block;
		float: none;
		margin: 0 0.1em;
		padding: 0.1em 0.2em;
	}	
	
	.top_menu #top_s_btn {
		display: block;
		width: 30px;
		height: 30px;
		text-align: center;
		padding-top: 3px;
		position: absolute;
		top: 0;
		right: 0;
		color: #fff;
		background: #666666;
	}

	.sys_logo a {
		font-size: 20pt;
	}
	
	.con_sys_logo a {
		font-size: 24pt;
	}
	
	.con_sys_logo a span {
		display: block;
	}

	.gov_logo a, .con_gov_logo a {
		width: 132px;
		height: 28px;
	}

	.menu_box {
		margin: 0.5em 0 0 0;
	}

	.main_menu li {
		font-size: 12pt;
		margin: 0 0.1em;
		padding: 0.1em 0.2em;
	}
	
	.main_menu .menu_f {
		display: none;
	}
	
	.rwd-table {
		background: #fff;
		min-width: 100%;
	}

	.rwd-table th {
		display: none;
	}

	.rwd-table td {
		display: block;
	}

	.rwd-table td:before {
		content: attr(data-th) " : ";
		font-weight: bold;
		display: inline-block;
		margin-right: 0.5em;
	}

	.rwd-table th, .rwd-table td {
		margin: 0.2em 0.5em;
		text-align: left;
	}

	.rwd-table th, .rwd-table td:before {
		font-weight: bold;
	}
	
}



/*-----------------320_web-------------------*/

/*Styles for screen 320 and lower*/
@media screen and (max-width: 320px) {
	
	.web_head {
    	margin: 0 auto;
		padding-top: 1em;
	}

	.sys_logo {
		margin-bottom: 0.3em;
	}

	.sys_logo a, .con_sys_logo a {
		font-size: 16pt;
	}

	.gov_logo, .con_gov_logo {
		display: none;
	}

	.service_menu li {
		width: 90%;
	}

	.service_menu li a {
		font-size: 16pt;
	}

	.service_menu li img {
		width: 100%;
		height: auto;
	}
	
	.menu_box {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
	}	
	
	.menu_box .main_menu {
		position: absolute;
		top: 30px;
		z-index: 8;
		display: none;
    	box-shadow: #999999 2px 2px 4px;
		background: #fff;
		border-radius: 0.5em;
		width: 8em;
	}
	
	.main_menu li {
		display: block;
		float: none;
		margin: 0;
		padding: 0.2em 1em;
		border-bottom: #666 1px solid;
	}
	
	.main_menu .active {
		text-align: right;
	}
	
	.menu_box #pull {
		display: block;
		width: 30px;
		height: 30px;
		padding-top: 3px;
		position: absolute;
		text-align: center;
		vertical-align:middle;
		background: #005fb7;
		color: #fff;
		top: 0;
		left: 0;
	}
	
	/*----news_box----*/
	.news_box {
		border-radius: 0.5em;
	}

	.box_title {
		font-size: 14pt;
	}
	.box_head .pull-right {
		margin-top: -0.5em;
	}

	.box_body {
		padding: 0.2em;
	}

	.box_body li {
		margin: 0.1em 0;
		padding: 0.1em 0.2em;
		font-size: small;
	}
	
	.link_box .link_title {
		font-size: medium;
	}
	
}