@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:500,700&display=swap&subset=chinese-traditional');
body,
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
	font-family: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.text-highlight{
	background-color: #000;
	color: #FFF;
}
.loader {
	border: 16px solid #f3f3f3;
	/* Light grey */
	border-top: 16px solid #3498db;
	/* Blue */
	border-radius: 50%;
	width: 80px;
	height: 80px;
	animation: spin 1s linear infinite;
}
.border-dashed {
	border: 5px dashed #AAA !important;
}
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.pointer {
	cursor: pointer;
}

.modal-xxl {
	min-width: calc(95%);
}

.avatar {
	/* width: 200px; */
	/* height: 200px; */
	border-radius: 50%;
	overflow: hidden;
}
.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dNone {
	display: none;
}
ul.tagNav {
	padding-left: 0px;
	/* margin-right:auto; */
	display: inline;
}
ul.tagNav li {
	z-index: 1000;
	display: inline-block;
	position: relative;
	/* float: left; */
	list-style: none;
	background: #fff;
	font-size: 0.9rem;
	/* padding : 5px; */
}
ul.tagNav li a {
	display: block;
	padding: 5px;
	margin-right: 5px;
	background: #0d6efd;
	color: #FFF;
	text-decoration: none;
}
ul.tagNav>li>a {
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
}
ul.tagNav>li>a:hover {
	color: #666;
	background: #DDD
}
ul.tagNav li a:hover {
	color: #666;
	background: #DDD
}
ul.tagNav li ul {
	display: none;
	float: left;
	position: absolute;
	border: 1px solid #BBB;
	margin: 0;
	padding: 0;
	/* box-shadow: inset 0px 0px 50px 0px #ABABAB, 5px 5px 5px 1px #242424; */
	-webkit-box-shadow: inset 0px 0px 50px 0px #FFF, 5px 5px 5px 1px #242424;
	-moz-box-shadow: inset 0px 0px 50px 0px #ABABAB, 5px 5px 5px 1px #242424;
	-o-box-shadow: inset 0px 0px 50px 0px #ABABAB, 5px 5px 5px 1px #242424;
}
ul.tagNav li:hover>ul {
	display: block;
	background: #FFF;
}
ul.tagNav ul li {
	border-bottom: 1px solid #DDD;
}
ul.tagNav ul li:last-child {
	border-bottom: none;
	background: #FFF;
}
/**/
ul.tagNav ul a {
	width: 200px;
	padding: 5px 5px;
	color: #666;
	background: #FFF;
}
ul.tagNav ul a:hover {
	background: #CCC;
}
ul.tagNav ul li:hover>ul {
	display: block;
	position: absolute;
	top: 0;
	left: 100%;
}
.img-hover:hover {
	/* transform: scale(101%); */
	box-shadow: 0 0 25px rgba(0, 0, 0, 1);
	cursor: pointer;
	border-radius: 5px;
}
.navbar .navbar-nav .nav-link:hover {
	background-color: #FFACB7;
	color: #000;
}
.text-bold {
	font-family: 'Arial Black', "Noto Sans TC", "微軟正黑體", "Microsoft JhengHei";
	font-weight: bold;
}
.fs-mini {
	font-size:0.8rem;
}
.fs-micro {
	font-size:0.6rem;
}

/* 設置 DIV 的高度 */
.img-container {
	position: relative;
	width: 100%;
	padding-top: 100%;
	/* 設置 DIV 的高度 */
}


/* 讓圖片填滿 DIV */
.img-container > form {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 10px;
}
.img-container > form {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
}

.badge > a{
	color:#FFF;
}


/* 讓圖片填滿 DIV */
.img-container img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.btn-xs{
	padding: .2rem .3rem!important;
	font-size: .8rem!important;
}

.sty-hover:hover {
	/* transform: scale(101%); */
	box-shadow: 0 0 10px rgba(0, 0, 0, 1);
	cursor: pointer;
}

/* RWD TABLE*/
/*額外做顏色，沒有什麼意義*/
tr.tr-only-hide {
	color: #D20B2A;
}

@media (max-width: 736px) {
	.table-rwd {
		min-width: 100%;
	}

	/*針對tr去做隱藏*/
	tr.tr-only-hide {
		display: none !important;
	}

	/*讓tr變成區塊主要讓他有個區塊*/
	.table-rwd tr {
		display: block;
		border: 1px solid #ddd;
		margin-top: 15px;
	}

	.table-rwd td {
		text-align: left;
		font-size: 15px;
		overflow: hidden;
		width: 100%;
		display: block;
	}

	.table-rwd td:not(:empty):before {
		/*最重要的就是這串*/
		content: attr(data-th) "　";
		/*最重要的就是這串*/
		display: inline-block;
		text-transform: uppercase;
		font-weight: bold;
		margin-right: 0px;
		color: #444;
	}

	.table-rwd td:empty {
		display: none;
	}



	/*當RWD縮小的時候.table-bordered 會有兩條線，所以針對.table-bordered去做修正*/
	.table-rwd.table-bordered td,
	.table-rwd.table-bordered th,
	.table-rwd.table-bordered {
		border: 0;
	}

}

/* RWD TABLE*/



.scrollable-menu {
    height: auto;
    max-height: 500px;
    overflow-x: hidden;
}


.valid-msg{
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
	text-align: left;
}


/* inPlace */
	.inPlace {
		display: inline-block; /* 設定為 inline 類型，符合內容寬度 */
		white-space: nowrap; /* 設定內容不換行 */
		min-width: 100px; /* 設置最小寬度為 100 像素 */
		cursor: pointer;
	}

	.buttonContainer {
		display: inline-flex; /* 使用 flexbox 佈局，使按鈕元素在同一行 */
		align-items: center; /* 垂直居中對齊 */
	}

	.editing {
		background-color: #F88; /* 設定編輯中的背景色 */
		border: 1px solid #000; /* 設定編輯中的框線樣式 */
		padding: 3px 10px;
		margin: 0px;
	}
/* inPlace */


/* popup */
	.popup {
		cursor: pointer;
	}

	.popup:hover>.pop {
		opacity: 1;
	}

	.pop {
		position: fixed;
		opacity: 0;
		z-index: 1000;
		padding: 8px;
		border: 1px solid #ccc;
		max-width: 300px;
		background: #FEA;
		border-radius: 5%;
	}
/* popup */

/* popupClick */
.popup-click {
    cursor: pointer;
}

.pop-click {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    padding: 8px;
    border: 1px solid #ccc;
    background: #FEA;
    border-radius: 5%;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-click.show .pop-click {
    opacity: 1;
    visibility: visible;
}

.noUnderline {
    text-decoration: none;
}

.stamp-square {
	width: 3cm;
	display: inline-block;
	padding: 5px 2px;
	border: 2px solid #F00;
	border-radius: 2px;
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	color: #F00;
	background-color: #f9f9f9;
	font-family: 'Noto Sans TC', sans-serif;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.stamp-small {
	width: 1.5cm;
	height: 0.6cm;
	display: inline-block;
	padding: 3px 1px;
	border: 1px solid #F00;
	border-radius: 2px;
	font-size: 0.7rem;
	font-weight: bold;
	text-align: center;
	color: #F00;
	background-color: #f9f9f9;
	font-family: 'Noto Sans TC', sans-serif;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.stamp-small .time {
	height: 0.7cm;
	font-size: 0.5rem;
	text-align: center;
	right: 0;
	bottom: 20;
	color: #000;
	font-family: 'Noto Sans TC', sans-serif;
}

.watermark {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
	font-size: 120px;
	font-weight: bold;
	color: rgba(255, 0, 0, 0.3);
	pointer-events: none;
	z-index: 1000;
	user-select: none;
}
.title{
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 1rem;
	margin-right: 0.5rem;

}