/* 左側選單選中項目樣式 */
.left-sidenav-menu .nav-link.active {
	background-color: rgba(94, 114, 228, 0.1);
	color: #5e72e4;
	font-weight: 500;
	border-left: 3px solid #5e72e4;
	padding-left: calc(1rem - 3px);
}

.left-sidenav-menu .nav-link.active i {
	color: #5e72e4;
}

.left-sidenav-menu .nav-link {
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.left-sidenav-menu .nav-link:hover {
	background-color: rgba(94, 114, 228, 0.05);
}

/* 確保選單可滾動 */
.left-sidenav-menu {
	overflow-y: auto;
	max-height: calc(100vh - 150px);
}

table.EditTable tbody tr td input:disabled, table.EditTable tbody tr td select:disabled {
	border: 0;
	background: 0 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none
}

table.EditTable tbody tr td .textarea_text {
	display: block;
	max-width: 100%;
	height: 33px;
	display: -webkit-box;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis
}

.modal-content {
	position: relative
}

	.modal-content .ModalLoading {
		position: absolute;
		top: 62px;
		left: 0;
		width: 100%;
		height: calc( 100% - 62px);
		background: #ffffffe0;
		z-index: 10;
		border-radius: 4px
	}

		.modal-content .ModalLoading .LodaingBox {
			text-align: center;
			margin-top: 27vh
		}

			.modal-content .ModalLoading .LodaingBox .spinner-border {
				width: 4rem;
				height: 4rem;
				border-width: .4rem
			}

			.modal-content .ModalLoading .LodaingBox .visually-hidden {
				display: none
			}

.LoginIndex {
	min-height: 90vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-align: center
}

	.LoginIndex img {
		width: 200px;
		display: block;
		margin: 0 auto
	}

.formSignin {
	width: 100%;
	max-width: 300px;
	padding: 15px;
	margin: auto
}

.ck-editor__editable_inline {
	min-height: 400px
}

#paginationbar .page-item a, .paginationbar .page-item a {
	position: relative;
	display: block
}

	#paginationbar .page-item a::after, .paginationbar .page-item a::after {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 5
	}

#paginationbar .page-item button, .paginationbar .page-item button {
	position: relative
}

	#paginationbar .page-item button::after, .paginationbar .page-item button::after {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%
	}

	#paginationbar .page-item button.page-link:disabled, .paginationbar .page-item button.page-link:disabled {
		background: #f9f9f9;
		color: #e3e3e3
	}

.PorductLabelContent {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-top: .5rem
}

	.PorductLabelContent .PorductLabelList {
		-webkit-box-shadow: 0 7px 14px 0 #eaf0f980;
		box-shadow: 0 7px 14px 0 #eaf0f980;
		margin-right: .5rem;
		border: 1px solid #9ba7ca;
		padding: .375rem .75rem;
		font-size: .845rem;
		line-height: 1.8;
		border-radius: .25rem;
		color: #9ba7ca;
		border-color: #9ba7ca;
		font-weight: 400;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-transition: .2s;
		-o-transition: .2s;
		transition: .2s
	}

	.PorductLabelContent .PorductList {
		-webkit-box-shadow: 0 7px 14px 0 #eaf0f980;
		box-shadow: 0 7px 14px 0 #eaf0f980;
		margin-right: .5rem;
		border: 1px solid #9ba7ca;
		padding: .375rem .75rem;
		font-size: .845rem;
		line-height: 1.8;
		border-radius: .25rem;
		color: #9ba7ca;
		border-color: #9ba7ca;
		font-weight: 400;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-transition: .2s;
		-o-transition: .2s;
		transition: .2s
	}

	.PorductLabelContent .PorductLabelList:hover {
		-webkit-transition: .5s;
		-o-transition: .5s;
		transition: .5s;
		color: #fff;
		background: #9ba7ca;
		border-color: #9ba7ca;
		cursor: pointer
	}

	.PorductLabelContent button {
		position: relative
	}

		.PorductLabelContent button::after {
			content: '';
			position: absolute;
			z-index: 5;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%
		}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	-moz-appearance: textfield
}

.radioStyle {
	position: relative
}

	.radioStyle input[type=radio] + label {
		position: relative
	}

		.radioStyle input[type=radio] + label::before {
			content: "";
			position: absolute;
			top: 0;
			left: -1.5rem;
			display: block;
			width: 1rem;
			height: 1rem;
			border: #8997bd solid 1px;
			border-radius: 50%;
			background: #fff
		}

	.radioStyle input[type=radio]:checked + label {
		position: relative
	}

		.radioStyle input[type=radio]:checked + label::before {
			border: solid 5px #506ee4
		}

button[data-action=LoginEye] {
	background: 0 0;
	border: 0;
	right: 0;
	top: 0;
	color: #7081b9;
	width: 60px;
	height: 100%;
	position: absolute;
	padding-top: 4px;
	z-index: 1
}

	button[data-action=LoginEye]:after {
		content: '';
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
		z-index: 5
	}

.factorybody label:hover, .productbody label:hover {
	cursor: pointer
}

.factorybody input[type=radio], .productbody input[type=radio] {
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none
}

	.factorybody input[type=radio] + label, .productbody input[type=radio] + label {
		width: 100%;
		display: block;
		padding: 12px 10px;
		border: solid 1px #7081b9;
		background: #eaf0f7;
		border-radius: 5px
	}

	.factorybody input[type=radio]:checked + label, .productbody input[type=radio]:checked + label {
		border: solid 1px #eaf0f7;
		background: #7081b9;
		color: #fff
	}

.page_prompt {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-left: .5rem
}

	.page_prompt input {
		width: 50px;
		margin: 0 .5rem;
		height: 34px
	}

.searchClear {
	display: none
}

	.searchClear.active {
		display: inline-block;
		margin-left: .5rem
	}

.w-35 {
	width: 35% !important
}

@media screen and (min-width:960px) {
	.w-lg-700x {
		width: 700px
	}

	.w-lg-500x {
		width: 500px
	}

	.w-lg-400x {
		width: 400px
	}

	.w-lg-300x {
		width: 300px
	}

	.w-lg-292x {
		width: 292px
	}

	.w-lg-255x {
		width: 255px !important
	}

	.w-lg-200x {
		width: 200px !important
	}

	.w-lg-188x {
		width: 188px
	}

	.w-lg-178x {
		width: 178px
	}

	.w-lg-165x {
		width: 165px
	}

	.w-lg-150x {
		width: 150px
	}

	.w-lg-125x {
		width: 125px
	}

	.w-lg-124x {
		width: 124px
	}

	.w-lg-100x {
		width: 100px !important
	}

	.w-lg-90x {
		width: 90px
	}

	.w-lg-80x {
		width: 80px !important
	}

	.w-lg-60x {
		width: 60px
	}

	.w-lg-58x {
		width: 58px
	}

	.w-lg-38x {
		width: 38px !important
	}
}

.HiddenWall {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2000;
	background-color: gray;
	opacity: .5
}

.left-sidenav-menu li > a {
	padding: 12px 8px;
}

.left-sidenav-menu {
	padding: 0;
}

	.left-sidenav-menu li ul {
		padding: 0;
	}

.left-sidenav {
	max-width: 350px;
}

.page-content-tab {
	width: calc(100% - 350px);
}

.navbar-custom {
	margin-left: 350px;
}

.dark-sidenav.enlarge-menu .topbar-left .logo {
	display: none;
}

body.enlarge-menu .left-sidenav {
	width: 0;
}

.enlarge-menu .topbar .navbar-custom {
	margin-left: 0;
}

.enlarge-menu .page-content-tab {
	width: 100%;
}


/*250206���~�������*/
.CusRadio-form-label {
	padding: 10px;
	border-radius: 5px;
	background: #FFF;
	cursor: pointer;
	color: #373737;
	border: 1px solid #CDCDCD;
	width: 100%;
	margin-bottom: 12px;
}

.CusRadio-form.form-check-inline {
	margin-right: 0;
	width: 100%;
}

.CusRadio-form.form-check {
	padding-left: 0;
}

.CusRadio-form input[type="radio"] {
	display: none;
}

	.CusRadio-form input[type="radio"]:checked ~ .CusRadio-form-label {
		border: 5px solid #3C9BD7;
		background-color: #FFF;
	}

.CusRadio-form {
	position: relative;
	margin-bottom: 25px;
}

.chosenItem {
	position: absolute;
	top: -20px;
	right: -10px;
	opacity: 0;
}

.CusRadio-form input[type="radio"]:checked ~ .CusRadio-form-label .chosenItem {
	opacity: 1;
}

.macbook {
	margin: 0 auto;
	max-width: 800px;
}

.screen {
	margin: 0 auto;
	/* for aspect ratio */
	position: relative;
	width: 100%;
}

	.screen:before {
		content: "";
		display: block;
		/* for aspect ratio ~67:100 */
		padding-top: 67%;
	}

.viewport {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	margin: 4.3% 3.2%;
	background: #333;
}


/* Screenshot Hover Scroll Addition
-------------------------------------------------------------- */

.macbook .viewport {
	transition: background-position 10s ease;
	background-position: 0 0;
	background-size: 100% auto;
	overflow: hidden;
	cursor: pointer;
}

.macbook:hover .viewport {
	background-position: 0 100%;
}

.macbook .viewport:after {
	background: radial-gradient(circle at right bottom, transparent 75%, rgba(255, 255, 255, 0.05) 75%, transparent);
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
