/* bootstrap 5 fix */
@media (prefers-reduced-motion: no-preference) {
	:root {scroll-behavior: auto;}
}
*{
	position: relative;
	box-sizing: border-box;
}
body{
	margin: 0;
	font-family: 'Microsoft JhengHei', sans-serif;
	padding-top: 90px;
}
img{
	position: relative;
	display: block;
	max-width: 100%;
}
a{display: inline-block;}
a, a:hover, a:focus{text-decoration: none;}
a:focus{outline: none;}
section{
	position: relative;
	overflow: hidden;
}
.flex{
	display: flex;
	flex-wrap: wrap;
}
.flex-row{
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}
.flex-1{flex: 1;}
.center{
	margin-left: auto;
	margin-right: auto;
}
.t-center{text-align: center;}
.t-right{text-align: right;}
.v-center{
	top: 50%;
	transform: translateY(-50%);
}
.flex-center{justify-content: center;}
.flex-v-center{align-items: center;}
.show-xl, .show-lg, .show-md, .show-sm, .hide{
	display: none;
}
.container, .container-fluid, .container-xxl{
	padding-left: 15px;
	padding-right: 15px;
}
.row-p15{
	margin-left: -15px;
	margin-right: -15px;
}
.row-p15 > *{
	padding-left: 15px;
	padding-right: 15px;
}
.p15{
	padding-left: 15px;
	padding-right: 15px;
}
.fh{height: 100%;}
.full-img{
	max-width: none;
	width: 100%;
}
.wow{visibility: hidden;}

/* header */
header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 90px;
	z-index: 9999;
}
.header_bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0f4c82;
}
.header_title{
	height: 46px;
	text-align: center;
	padding-top: 10px;
	padding-left: 30px;
	padding-right: 30px;
}
.header_title a{
	font-size: 24px;
	color: #fff;
	font-weight: bold;
}
.header_title a:hover{
	color: #84c5fd;
}
.menu{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 34px;
	background-color: #073c6b;
}
.menu_row{
	height: 100%;
	justify-content: center;
}
.menu_item{
	height: 100%;
}
.menu_btn{
	display: block;
	height: 100%;
	font-size: 16px;
	color: #fff;
	padding-top: 5px;
	padding-left: 25px;
	padding-right: 25px;
}
.menu_btn:hover{
	background-color: #428905;
}
.menu_item.active .menu_btn, .menu_btn.active{
	background-color: #428905;
}
.header_logo{
	position: absolute;
	top: 17px;
	left: 30px;
	width: 110px;
}
.mobile_btn{
	position: absolute;
	top: 13px;
	right: 20px;
	cursor: pointer;
	display: none;
}
.body_top{
	height: 80px;
}

/* footer */
footer{
	padding: 30px 0;
	background-color: #0f4c82;
}
.footer_arow{
	justify-content: center;
	margin-left: -12px;
	margin-right: -12px;
}
.footer_aitem{
	padding-left: 12px;
	padding-right: 12px;
}
.footer_abtn img{
	border-radius: 12px 0 12px 0;
}

/* index */
main{
	min-height: calc(100vh - 206px);
}
.main_bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(#b3c577, #ffffff);
}
.kv{
	height: 150px;
}
.kv_bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
}
.kv_bg_img{
	max-width: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.kv_con{
	max-width: 1000px;
	padding-top: 50px;
	margin-left: auto;
	margin-right: auto;
}
.kv_title{
	font-size: 36px;
	color: #fff;
	font-weight: bold;
	line-height: 1.2em;
	text-align: center;
	text-shadow: 1px 1px 3px #000000;
	margin-bottom: 0;
}
.main_sec{
	padding-top: 50px;
	padding-bottom: 50px;
}
.w1000{
	max-width: 1000px;
}

/* news */
.news_con{
	max-width: 1000px;
}
.news_box{
	display: block;
	color: #333;
	padding: 20px 15px;
	border-bottom: 1px solid #ddd;
}
.news_box:nth-child(even){
	background-color: #f2f2f2;
}
.news_date{
	font-size: 13px;
	color: #428905;
	margin-bottom: 5px;
}
.news_category{
	font-size: 14px;
	color: #c08640;
	margin-top: 10px;
}
.news_box:hover{
	color: #000099;
	background-color: #f0f0ff;
}
.navigation_div{
	padding-top: 50px;
}
.pagination{
	justify-content: center;
}
.page-link{
	color: #000;
	background: none;
}
.page-link:focus{
	color: #000;
	box-shadow: none;
	background: none;
}
.page-item:hover .page-link{
	color: #000;
	background-color: #f0f0ff;
}
.page-item.active .page-link{
	color: #fff;
	background-color: #0f4c82;
	border-color: #0f4c82;
}
.news_page_title{
	font-size: 24px;
	color: #990000;
	font-weight: bold;
	margin-bottom: 40px;
}
.sort_div{
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 12px;
}
.sort_title{
	font-size: 14px;
	color: #990000;
	padding-right: 10px;
}
.sort_sel{
	max-width: 200px;
	font-size: 14px;
}

/* login */
.login_div{
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}
.login_title{
	color: #990000;
	margin-bottom: 20px;
}
.login_row{
	align-items: center;
	margin-bottom: 15px;
}
.login_rtitle{
	width: 60px;
}

/* inspect */
.inspect_sort{
	justify-content: space-between;
	margin-bottom: 15px;
}
.inspect_sort_date{
	margin-bottom: 10px;
}
.inspect_sort_arrow{
	display: inline-block;
	top: 2px;
	cursor: pointer;
}
.inspect_sel_year{
	display: inline-block;
	width: 90px;
	font-size: 14px;
}
.inspect_sel_mouth{
	display: inline-block;
	width: 90px;
	font-size: 14px;
}
.inspect_sort_btn{
	font-size: 14px;
	top: -1px;
}
.inspect_frame{
	overflow-x: auto;
}
.main_table{
	width: 100%;
}
th, td{
	border: 1px solid #000;
}
.inspect_table{
	min-width: 800px;
}
.inspect_table th{
	text-align: center;
	padding: 5px;
	background-color: #ccc;
}
.inspect_table td{
	width: 14.28%;
	padding: 10px;
}
.inspect_table p{
	margin-bottom: 10px;
}

/* present */
.pres_main_title{
	font-size: 26px;
	color: #990000;
	font-weight: bold;
	margin-bottom: 10px;
}
.pres_title{
	font-size: 20px;
	color: #990000;
	font-weight: bold;
	margin-bottom: 10px;
}
.main_text{
	line-height: 1.7em;
}

/* project */
.proj_title{
	font-size: 20px;
	color: #990000;
	font-weight: bold;
	margin-bottom: 10px;
}
.proj_new{
	padding: 20px;
	background-color: #f2f2f2;
}
.proj_new_title{
	font-size: 18px;
	color: #339966;
	font-weight: bold;
	margin-bottom: 5px;
}
.btn_more{
	color: #fff;
	padding: 7px 20px;
	background-color: #2b74b4;
	border-radius: 15px;
}
.btn_more:hover{
	background-color: #5499d6;
}
.proj_table{
	margin-bottom: 60px;
}
.proj_table td{
	padding: 5px;
	border-color: #ccc;
}
.prot_title{
	width: 120px;
	color: #0f4c82;
	font-weight: bold;
}
.project_ctitle{
	font-size: 18px;
	color: #0f4c82;
	font-weight: bold;
	margin-bottom: 10px;
}
.proj_hr{
	margin-top: 0;
}

/* camera */
.camera_box{
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}
.camera_point{
	position: absolute;
	cursor: pointer;
}

/* other */
.edit_area img{
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
}
.edit_area iframe{
	width: 100%;
}
.video_frame{
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.video_frame iframe, .video_frame video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* setting */
.white{color: #fff;}
.red{color: #f00;}
.mb-10{margin-bottom: 10px;}
.mb-20{margin-bottom: 20px;}
.mb-30{margin-bottom: 30px;}

/* xl */
@media (max-width: 1199px){
	.show-xl{display: block;}
	.hide-xl{display: none;}
	
	/* header */
	body{
		padding-top: 50px;
	}
	header{
		height: 50px;
	}
	.header_title{
		height: 100%;
		text-align: left;
		padding-left: 15px;
	}
	.header_title a{
		font-size: 20px;
	}
	.menu{
		position: absolute;
		top: 50px;
		left: 0;
		width: 100%;
		height: calc(100vh - 50px);
		background-color: #0f4c82;
		padding: 10px 0;
		overflow-y: auto;
		display: none;
	}
	.menu_row{
		height: auto;
		justify-content: flex-start;
	}
	.menu_item{
		width: 100%;
		height: auto;
	}
	.menu_btn{
		height: auto;
		padding: 13px;
		text-align: center;
	}
	
	
	.mobile_btn{
		display: block;
		
	}
}

/* lg */
@media (max-width: 991px){
	.show-lg{display: block;}
	.hide-lg{display: none;}
}

/* md */
@media (max-width: 767px){
	.show-md{display: block;}
	.hide-md{display: none;}
	
	.kv_title{
		font-size: 30px;
	}
	.main_sec{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.news_box{
		padding: 20px 0;
	}
	.news_page_title{
		font-size: 20px;
	}
	.proi_title{
		width: 120px;
	}
	.pres_main_title{
		font-size: 22px;
	}
}

/* sm */
@media (max-width: 575px){
	.show-sm{display: block;}
	.hide-sm{display: none;}
	
	.header_title{
		padding-top: 12px;
	}
	.header_title a{
		font-size: 15px;
	}
	.footer_arow{
		margin-left: -7px;
		margin-right: -7px;
	}
	.footer_aitem{
		width: 50%;
		padding-left: 7px;
		padding-right: 7px;
	}
}