@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap');

/* scrollbar */
::-webkit-scrollbar {
		background: #ddd;
		width: 10px;
		height: 10px;
}
::-webkit-scrollbar:hover {
	background: #ccc;
}
::-webkit-scrollbar-thumb {
	background: #999;
	border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
	background: #666;
}
body *::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}
body *::-webkit-scrollbar-thumb {
	background: #cc4518;
	border-radius: 4px;
	min-width: 30px;
	min-height: 30px;
}
body *::-webkit-scrollbar-thumb:hover {
	background: #b28a6b;
}


/* common */
body {
	margin: 0;
	color: #333;
	font-family: 'Noto Sans TC';
	font-weight: 300;
	background-color: #dbdcdc;
}
img {
	max-width: 100%;
}
a:link, a:visited {
	color: #0000CC;
	text-decoration: none;
}
a:hover, a:active {
	color: #CC6600;
}
section {
	margin-bottom: 30px;
}
h1 {
	font-size: 30px;
	text-align: center;
}
h1 img {
	width: 175px;
	display: block;
	margin: 0 auto;
}
h1 p {
	margin: 0;
}
h1 .big {
	font-size: 40px;
}
.container {
	max-width: 1300px;
}
.cf:before,.cf:after{
	content:'';
	display:table;
}
.cf:after{
	clear:both;
}


/* header */
header {
	top: 0;
	width: 100%;
	background-image: radial-gradient(at top, #08133d, #060e2e);
}
body.bg2 header {
	background: #1c4d5f;
}
body.nav_fixed {
	padding-top: 100px;
}
body.nav_fixed header {
	position: fixed;
}
header, footer,
header a:link, header a:visited,
footer a:link, footer a:visited {
	color: #dbdcdc;
	text-decoration: none;
}
footer a:hover, footer a:active {
	color: #ff6;
	text-decoration: none;
}
#logo-box {
	text-align: center;
	background-image: radial-gradient(at top, #1b4e60, #040b27);
	display: flex;
    align-items: center;
    justify-content: center;
	padding: 0;
	height: 50px;
}
body.bg2 #logo-box {
	background: #1c4d5f;
}
#logo {
	display: block;
	max-height: 100%;
}
#logo-box p {
	margin: 0;
	font-size: 20px;
    padding-left: 3px;
	letter-spacing: 3px;
}
#nav-box,
#nav-box nav,
#nav-box ul,
#nav-box li,
#nav-box a {
	height: 100px;
}
#nav-box::before {
	content: " ";
	display: block;
	height: 5px;
	background-image: radial-gradient(at top, #01081d, #060e2d);
}
body.bg2 #nav-box::before {
	background: #1c4d5f;
}
#nav-box ul {
	margin-top: -5px;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
}
#nav-box li:first-child {
	margin-left: -5px;
}
#nav-box li:last-child {
	margin-right: -5px;
}
#nav-box a {
	padding: 0 5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#nav-box a:hover,
#nav-box a:active {
	background-color: #020820;
}
#nav-box img {
	max-width: 60px;
	max-height: 60px;
}
#nav-box p {
	margin: 0;
}
#nav-box .big {
	font-size: 20px;
}
@media screen and (max-width: 767px) {
	#nav-box,
	#nav-box nav,
	#nav-box ul {
		height: 200px;
	}
	#nav-box ul {
		flex-wrap: wrap;
		justify-content: normal;
	}
	#nav-box li {
		width: 25%;
	}
}
@media screen and (min-width: 768px) {
	#logo-box {
		height: 100px;
		padding: 10px 0;
	}
	#logo-box p {
		font-size: 36px;
		padding-left: 6px;
		letter-spacing: 6px;
	}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
	#nav-box li:first-child {
		margin-left: -10px;
	}
	#nav-box li:last-child {
		margin-right: -10px;
	}
	#nav-box a {
		padding: 0 10px;
	}
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
	#nav-box li:first-child {
		margin-left: -20px;
	}
	#nav-box li:last-child {
		margin-right: -20px;
	}
	#nav-box a {
		padding: 0 20px;
	}
}
@media screen and (min-width: 1200px) {
	#nav-box li:first-child {
		margin-left: -30px;
	}
	#nav-box li:last-child {
		margin-right: -30px;
	}
	#nav-box a {
		padding: 0 30px;
	}
}


/* main */
main {
	padding: 20px 0;
}


/* footer */
footer {
	padding: 10px;
	background-image: radial-gradient(at top, #01081d, #060e2d);
	text-align: center;
}
body.bg2 footer {
	background: #1c4d5f;
}
footer .copy {
	display: none;
	margin: 10px 0 0 0;
	font-size: smaller;
	font-weight: lighter;
}


/* index */
#index_photos {
	padding: 0;
	margin: 7px -7px;
}
#index_photos .row {
	margin: -7px;
}
#index_photos img {
	width: 100%;
	object-fit: cover;
}
#index_photos .col-6,
#index_photos .col-md-6 {
	padding: 7px;
}
#index_photos .col-6 > img {
	height: 35vw;
}
@media screen and (min-width: 768px) {
	#index_photos .col-md-6 > img {
		height: 37vw;
		max-height: 480px;
	}
	#index_photos .col-6 > img {
		height: 17.8vw;
		max-height: 233px;
	}
}


/* line messager */
.messager-btn {
	right: 0;
	bottom: 15px;
	position: fixed;
	z-index: 999;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
	cursor: pointer;
	border-radius: 50%;
}
.messager-btn i.fa {
	right: 0;
	bottom: 0;
	position: absolute;
	border-radius: 50%;
	color: #fff;
    padding: 8px;
    line-height: 1;
    font-size: 12px;
    zoom: .8;
	background-image: radial-gradient(at 80% 20%, #3e3, #393);
}

/* bootstrap form */
.form-control+.form-control {
	margin-top: 0.5rem;
}
/* bootstrap modal */
.modal-content {
	background-image: radial-gradient(at top, #dcdfe9, #b2b7ca);
	padding: 0 3px 3px;
}
.modal-header {
	color: #111;
	padding: 0.2rem 1rem;
}
.modal-header .btn-close {
	background: transparent;
}
.modal-body {
	background: #eee;
}

/* 修正 Prompt 定位 */
.modal-dialog-scrollable .modal-content {
	overflow: initial;
}
.modal-footer {
    background: #eee;
	position: relative;
}
.modal-footer div.prompt {
    min-width: 220px;
}

/* prompt */
div.prompt {
    position: absolute;
    z-index: 990;
    cursor: pointer;
    text-align: left;
    color: #fff;
    min-width: 120px;
    max-width: 300px;
	line-height: 1.3;
	padding: 7px 10px;
}
.ui-dialog div.prompt {
    z-index: 5000;
}
div.prompt_pass {
    background-color: #159621;
}
div.prompt_load {
    background-color: #393939;
}
div.prompt_error {
    background-color: #e6173a;
}

/* #fixed-links */
#fixed-links {
	position: fixed;
	right: 0;
	bottom: 200px;
	z-index: 999;
	overflow: hidden;
	width: 45px;
	max-width: 100%;
	white-space: nowrap;
	transition: .3s;
}
#fixed-links:hover {
	width: 310px;
	background-color: rgba(91, 31, 15, 0.95);
	box-shadow: -3px 3px 5px #000;
}
#fixed-links a {
	display: block;
	height: 45px;
	font-family: arial;
	color: #eee;
	transition: .3s;
}
#fixed-links a:before {
	content: " ";
	display: inline-block;
	background: url(../assets/images/link_icons.png) no-repeat;
	width: 45px;
	height: 45px;
	vertical-align: middle;
}
#fixed-links a:hover {
	/* filter: brightness(110%); */
	background: #ad1818;
	color: #fff;
}
#fixed-links .fb:before {
	background-position-y: 0px;
}
#fixed-links .line:before {
	background-position-y: -45px;
}
#fixed-links .email:before {
	background-position-y: -90px;
}
#fixed-links .tel:before {
	background-position-y: -135px;
}
#fixed-links .ig:before {
	background-position-y: -180px;
}
#fixed-links .yt:before {
	background-position-y: -225px;
}
