﻿/* CSS Document */

a { 
    text-decoration: none;
}
a:hover { 
    text-decoration: underline;
}

html {
	display: block;
	width: 100%;
	min-height: 100%;
	background: #99f0ff url("../images/index_bgd_b.png") center bottom no-repeat;
	background-size: 100% auto;
}

body {
	background: url("../images/index_bgd_t.png") center top no-repeat;
	background-size: 100% auto;
}

/*--------sys_web--------*/
.sys_web {
	display: block;
	margin: 0 auto;
	padding: 0 0 4em 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 1em auto;
    padding: 1em;
}

/*----logo----*/
.gov_logo {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.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; /*希望元素在第一排上面，沒有斷行*/
}

/*----main_menu----*/
.menu_box {
	display: inline-block;
	margin: 1em 0 0 0;
	padding: 0;
	float: right;
}

#top_s_btn, #pull, #pull2 {
	display: none;
}

.main_menu {
	display: inline-block;
	margin: 0;
	padding: 0.1em 0.5em;
	background: rgba(255,255,255,0.8);
	border-radius: 1.5em;
}

.main_menu li {
	display: inline-block;
	list-style: none;
	margin: 0 0.2em;
	padding: 0.1em 0.2em;
	font-size: large;
	color: #00366d;
}

.main_menu li a {
	color: #00366d;
}

.sys_logo {
	display: block;
	margin: 4em auto;
	text-align: center;
}

.sys_logo img {
	display: inline-block;
	width: 60%;
	height: auto;
}

.sys_logo a:hover {
	text-decoration: none;
}

/*------con_head------*/
.con_head {
	position: relative;
    display: block;
	width: 100%;
    margin: 0;
    padding: 0 0.5em;
}

.con_gov_logo {
	display: inline-block;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0.5em;
	left: 1em;
}

.con_gov_logo a {
	display: inline-block;
	width: 180px;
	height: 38px;
	margin: 0;
	padding: 0;
	background: url("../images/gov_logo.png") no-repeat;
	background-size: 100% auto;
	text-indent: 101%; /*首行縮排*/
	overflow: hidden; /*自動隱藏超出的文字或圖片*/
	white-space: nowrap; /*希望元素在第一排上面，沒有斷行*/
}

.con_sys_logo {
	display: block;
	margin: 0 auto;
	padding: 1rem;
	text-align: center;
}

.con_sys_logo img {
	display: inline-block;
	width: 480px;
	height: auto;
}

.con_sys_logo a:hover {
	text-decoration: none;
}

/*----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.2em;
	padding: 0.2em 0.2em;
	text-align: center;
	color: #FFF;
}

.top_m_list li a {
	color: #FFF;
}

.con_head a:hover {
	text-decoration: none;
}

/*----con_main_menu----*/
.con_menu_box {
	display: block;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.con_main_menu {
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 0.1em 0.5em;
	background: rgba(255,255,255,0.8);
	border-radius: 1.5em;
}

.con_head a:hover {
	text-decoration: none;
}

.con_main_menu li {
	display: inline-block;
	list-style: none;
	margin: 0 0.2em;
	padding: 0.1em 0.4em;
	font-size: x-large;
	color: #008089;
}

.con_main_menu li a {
	color: #008089;
}

.con_main_menu .active {
	background: #008089;
	border-radius: 0.5em;
}

.con_main_menu .active a {
	color: #fff;
	font-weight: bold;
}

/*----bg-info breadcrumb style----*/
.bg-info .breadcrumb-item, .bg-info .breadcrumb-item a, .bg-info .breadcrumb-item+.breadcrumb-item::before {
    color: #cafcff;
}

.bg-info .breadcrumb-item.active {
    color: #fff;
}

/*----news_box----*/
.news_box {
	display: block;
	width: 100%;
	margin:0 auto 2em auto;
	padding: 1em;
	background: rgba(0,161,170,0.5);
	border-radius: 1em;
}

.box_head {
	border-bottom: 2px solid #fff;
	margin: 0;
	padding: 0.2em;
}

.box_title {
	font-size: 1.6667rem;
	font-weight: bold;
}

.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 #d7fdff;
}

.box_body li a {
	color: #fff;
}

/*----service_menu style----*/
.service_menu {
	display: block;
	max-width: 1280px;
	margin: 0.2em auto;
	padding: 0;
	text-align: center;
}

.service_menu span a {
	display: inline-block;
	width: 260px;
	height: 260px;
	margin: 0 20px 1em 20px;
	padding: 190px 0 0 0;
	text-align: center;
	background-size: 100% auto;
	font-size: xx-large;
	color: #0e5dad;
	font-weight: bold;
}

.s_btn_01 a {
	background: url("../images/m_menu_bgd_01.png") center no-repeat;
}

.s_btn_02 a {
	background: url("../images/m_menu_bgd_02.png") center no-repeat;
}

.s_btn_03 a {
	background: url("../images/m_menu_bgd_03.png") center no-repeat;
}

.s_btn_04 a {
	background: url("../images/m_menu_bgd_04.png") center no-repeat;
}

/*----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;
}

/*----驛站列表 style----*/
.photo_list {
	display: block;
	margin: 0;
	padding: 0;
	text-align: center;
}

.photo_lbox {
	display: inline-block;
	width: 23.5%;
	min-width: 300px;
	margin: 0.8em 0.5%;
	padding: 0.3em;
	border: #eee 1px solid;
	border-radius: 0.3em;
	box-shadow: 2px 2px 3px #ddd;
	background: #fff;
}

.photo_lbox .photo_btn {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
}

.photo_lbox a:hover {
	text-decoration: none;
}

.pbox_title {
	position: absolute;
	top: 0;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.5em 0;
	background: #017db6;
	color: #fff;
	font-weight: bold;
}

.pbox_con {
	display: block;
	min-width: 100%;
	height: 20em;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-align: center;
}

.pbox_inf {
	position: absolute;
	bottom: 0;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.2em 0.5em;
	background: rgba(0,53,64,0.8);
	color: #fff;
}

.pbox_con img {
	display: block;
	width: auto;
	height: 100%;
	margin: 0 auto;
	padding: 0;
}

.photo_show {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 0.5em auto;
	padding: 0.5em;
}

/*--相簿清單顯示--*/
.slider-for {
  background: #4c4c4c;
	max-height: 504px;
}

.slider-for img {
  margin:0 auto;
  position: relative;
 	 min-width: 100%;
	max-height: 504px;
	object-fit:contain;
	object-position: center center;
}

.slider-nav img {
  max-height: 120px;
  margin: 0 .3rem;
  cursor: pointer;
}

.slider.open {
  opacity: 1;
}

.slider-caption {
    position: absolute;
	width:100%;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding: 10px;
    color: #fff;
    text-align: center;
	background:rgba(23,23,23,.6)
}

.slick-dots li button:before {
    font-size: 24px;
}

/*----web_footer style----*/
.web_footer {
	display: block;
	background: rgba(0,80,84,0.8);
	margin: 0;
	padding: 1em 1.5em;
	color: #fff;
}

.web_footer p {
	margin: 0.2em;
	padding: 0.1em 0.2em;
	line-height: 1.2em;
	font-size: large;
}

.web_footer p a {
	color: #fffac2;
}

.footer_img {
	width: 96px;
	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%;
	
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: #333;
	margin: 0 0.5em;
	padding: 1em;
	background-size: 60% 60%;
    border-radius: 2em;
}
.carousel-control-next-icon {
	position: absolute;
	right: 0;
}

.carousel-control-prev-icon {
	position: absolute;
	left: 0;
}


.carousel-indicators li {
    background-color: #333;
}

/*------折疊table------*/

.table_dp_c {
	display: none;
}

/*-----------------1280_web-------------------*/

/*Styles for screen 1280 and lower*/
@media screen and (max-width: 1280px) {
	
	.sys_web {
		margin: 0;
		width: 100%;
	}

	/*------web_head------*/
	.web_head {
		padding-top: 0;
	}

	.gov_logo a {
		width: 180px;
		height: 38px;
	}

	.main_menu li {
		margin: 0 0.1em;
		padding: 0.1em 0.2em;
		font-size: medium;
	}

	.con_sys_logo img {
		width: 300px;
	}
}


/*-----------------880_web-------------------*/

/*Styles for screen 880 and lower*/
@media screen and (max-width: 880px) {
	
	.menu_box {
		position: absolute;
		top: 0;
		right: 0;
		margin: 0;
	}
	
	.main_menu {
		display: none;
		position: absolute;
		top: 30px;
		right: 0;
		z-index: 8;
    	box-shadow: #999999 2px 2px 4px;
		background: #fff;
		border-radius: 0.1em;
		padding-bottom: 1em;
	}
	
	.main_menu li {
		float: none;
		display: block;
		width: 100%;
		white-space:nowrap;
		margin: 0;
		padding: 0.2em 1em;
		border-bottom: #666 1px solid;
	}
	
	.main_menu .menu_f {
		display: none;
	}
	
	.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;
		right: 0;
		-webkit-border-bottom-left-radius: 6px;
		-moz-border-radius-bottomleft: 6px;
		border-bottom-left-radius: 6px;
	}

	.sys_logo {
		margin: 2em auto;
	}

	.sys_logo img {
		width: 80%;
	}

	.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;
		-webkit-border-bottom-left-radius: 6px;
		-moz-border-radius-bottomleft: 6px;
		border-bottom-left-radius: 6px;
	}
	
	.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) {
	
	/*----con_menu_box----*/
	.con_gov_logo {
		display: none;
	}
	
	.con_menu_box {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
	}	
	
	.con_main_menu {
		display: none;
		position: absolute;
		top: 30px;
		z-index: 8;
    	box-shadow: #999999 2px 2px 4px;
		background: #fff;
		border-radius: 0.5em;
	}
	
	.con_main_menu li {
		float: none;
		display: block;
		width: 100%;
		white-space:nowrap;
		margin: 0;
		padding: 0.2em 1em;
		border-bottom: #666 1px solid;
		font-size: large;
	}
	
	.con_main_menu .con_menu_f {
		display: none;
	}
	
	.con_menu_box #pull2 {
		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;
		-webkit-border-bottom-right-radius: 6px;
		-moz-border-radius-bottomright: 6px;
		border-bottom-right-radius: 6px;
	}
	
	/*----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 style----*/
	.link_box {
		margin: 0.2em 0.5em;
	}
	
	.link_box .link_title {
		font-size: medium;
	}
	
	.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;
	}
	
}