/* CSS Document */
 * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	line-height: 150%;
}
body {
	margin: 0;
	padding: 0;
	font-family:"微軟正黑體", Microsoft JhengHei, Arial, helvetica;
}
a {
	outline: none;
	hlbr: expression(this.onFocus=this.blur());
	text-decoration: none;
}
:focus{
	border: 0;
	outline: 0;
}
*, *:before, *:after {
	box-sizing: border-box;
}
.open, .open th, .open td {
	background: #fffcd7!important;
}
/* header */
.sidebar-brand a {
	color: #fff;
	font-weight: bold;
	font-size: 1rem;
}
.sidebar a.nav-link{
	position: relative;
}
.sidebar .nav-item .nav-link:before {
	content: " ";
	display: inline-block;
	width: 1px;
	height: 100%;
	background: #666;
	position: absolute;
	top: 0;
	left: 16%;
}
.sidebar .nav-item .nav-link.index:before{
	display: none;
}
.sidebar .nav-group-items .nav-link.active{
	color: #fcff00;
}
.sidebar .header-nav .nav-link:before{
	display: none;
}
/* 上方區塊搜尋條件 */
.card-top .input-group label{
	margin: 0 1rem;
	text-align: left;
}
.card-top .input-group button.btn {
	margin: 0 0 0 10px;
}
.card-top .input-group .form-check label{
	margin: 0;
}
/* 樣式調整 */
.row{
	align-items: center;
}
.crumb{
	padding: .5rem;
	margin: 0 0 2% 0;
	background: #fff;
}
.card-title {
	margin: 1.5rem 0;
}
.card-header{
	font-size: .95rem;
	font-weight: bold;
	background: #f1f1f1;
}
.btn-sm, .btn-group-sm>.btn{
	font-size: .8rem;
}
.btn:disabled, .btn.disabled, fieldset:disabled .btn{
	border: 1px solid;
}
.btn-sm, .btn-group-sm>.btn, .btn-sm i.icon:not(.icon-c-s):not(.icon-custom-size), .btn-sm i.icon {
	font-size: .8rem;
}
.btn-success, .btn-danger, .btn-primary, .btn-info, .btn-success:hover, .btn-danger:hover, .btn-primary:hover, .btn-info:hover, .btn-success:focus, .btn-danger:focus, .btn-primary:focus, .btn-info:focus{
	color: #fff;
}
#set_category_box ol, #set_category_box ul{
	padding: 0 0 0 22px;
}
#set_category_box ol li, #set_category_box ul li{
	margin: 0 0 10px 0;
}
.col-form-label{
	text-align: right;
}
/* tab */
.nav-tabs {
	position: relative;
	font-size: 15px;
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	padding: 0;
	margin: 0 0 20px 0;
	background: #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,.3);

	width: 100%;
	overflow-x: scroll;
	overflow-y: hidden;
}
.nav-tabs .nav-item {
	margin: 0;
}
.nav-tabs .nav-link{
	color: #000;
	display: block;
	padding: 0.6em 1.12rem;
	outline: none;
	border:none;
	text-decoration: none;
	border-radius: 0;
}
.nav-tabs .nav-link.active {
	background: #321fdb;
	color: #fff;
}
/* table */
.dataTables_empty{
	display: none!important;
}
table tbody tr:hover {
	background: #fffff7;
	-webkit-box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
	box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
	z-index: 1;
}
.cke_dialog table tbody tr:hover {
	-webkit-box-shadow: inset 1px 0 0 #dadce000, inset -1px 0 0 #dadce000, 0 1px 2px 0 rgba(60,64,67,0%), 0 1px 3px 1px rgba(60,64,67,0%);
	box-shadow: inset 1px 0 0 #dadce000, inset -1px 0 0 #dadce000, 0 1px 2px 0 rgba(60,64,67,0%), 0 1px 3px 1px rgba(60,64,67,0%);
}
.table-th th ,.table-th-right th{
	background: #f7f7f7;
}
.table-th-right th{
	text-align: right;
}
.table img{
	max-width: 100%;
}
.table th, .table td{
	word-break: break-all;
}
.fancybox-slide--iframe .fancybox-content {
	width  : 800px;
	height : 600px;
	max-width  : 80%;
	max-height : 80%;
	margin: 0;
}
/*20220815增加*/
.print_show {
	display: inline-flex;
}
/*20221025 客戶備註(後台)*/
.memo_cir {
	padding: 10px;
	position: fixed;
	bottom: 40px;
	right: 15px;
	background: #3c4b64;
	border-radius: 50%;
	z-index: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.memo_cir svg {
	height: 30px;
	width: 30px;
	color: #ebedef;
}
.list_show_box {
	height: 340px;
	overflow-y: scroll;
}
.memo_cir_show_box {
	position: fixed;
	z-index: 1;
	right: 15px;
	bottom: 95px;
	width: 400px;
	height: 470px;
	padding: 10px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid black;
	display:none;
}
.add_memo_box {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.add_memo_box textarea {
	width: 100%;
}
.add_memo_box button {
	width: 35%;
	margin: 10px 0 0 0;
	color: #fff;
	border: 0;
	padding: 5px;
	border-radius: 5px;
	background-color: #3c4b64;
}
#vendor_note_list {
	padding: 5px;
	margin: 0 0 10px 0;
	border-bottom: 1px solid #dadadc;
}
#vendor_note_list p {
	margin: 0;
	display: flex;
	align-items: center;
}
.date_mark {
	color: #fff;
	padding: 5px;
	font-size: 10px;
	margin: 0 5px 0 0;
	border-radius: 5px;
	background-color: #adadad;
}
#vendor_note_list p.editor_mark {
	margin: 0;
	padding: 0 5px;
	text-align: end;
	display: block;
	font-size: 13px;
	color: #7a7a7a;
}
.red_notice {
	position: absolute;
	top: -5px;
	right: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: #f86c6b;
}

.memo_ani_blink {
	animation: aBlink 500ms infinite;
	-webkit-animation: aBlink 500ms infinite;
}
/*20230627增加按鈕樣式*/
.btn-css-gray {
    color: #ffffff;
    border: 1px solid #565b61;
    background-color: #565b61;
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}
.btn-css-gray:hover {
	color: #fff;
	background-color: #b1b7c2;
}

@keyframes aBlink {
	from { background-color: #f86c6b; }
	50% { background-color: #d04a4a; }
	to { background-color: #f86c6b; }
}


@media screen and (max-width:1500px) {
	.card-top .input-group {
		margin:0 1rem 1rem 1rem;
	}
	.nav-tabs{
		font-size: .9rem;
		width: 100%;
		white-space: nowrap;
		overflow-x: scroll;
		overflow-y: hidden;
	}
	.table-responsive-xl {
		display: block;
		width: 100%;
		white-space: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
@media screen and (max-width:1024px) {
	.c-main > .container-fluid, .c-main > .container-sm, .c-main > .container-md, .c-main > .container-lg, .c-main > .container-xl{
		padding: 0 15px;
	}
}
@media screen and (max-width:768px) {
	#life-count-down{
		display: none;
	}
}
@media screen and (max-width:767px) {
	.col-form-label{
		text-align: left;
	}
	/*nav-tabs*/
	.nav-tabs .nav-link {
		padding: 0.5em 1rem;
		font-size: .95rem;
	}
	/*card-top*/
	.card-top .input-group {
		width: 100%;
	}
	.card-top .input-group  {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
	}
	.card-top .input-group label {
		margin: 0 0 6px 0;
		min-width: 80px;
	}
	.card-top .input-group  button.btn {
		margin:10px 0 0 0;
		width: 100%;
	}
	.table tr td .btn{
		min-width: 55px;
	}
	.m-flex-wrap{
		flex-wrap: wrap;
	}
	.m-flex-wrap .input{
		width: 100%;
		margin: 0 0 10px 0;
	}
	.m-flex-wrap select{
		margin: 0 0 10px 0;
	}
	.table-w-auto .form-control{
		width: auto;
	}
}
