body {
	margin: 0;
	min-width: 1080px;
}

.h1-title {
	margin-top: 0;
	margin-left: 50px;
	padding-top: 0.67rem;
}
.info {
	margin: 50px;
	font-size: 1.5rem;
	line-height: 15px;
}

/*  loading
-----------------------------------------*/
#loading {
	z-index: 100;
}
.lmask {
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: #000;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	z-index: 9999;
	opacity: 0.4;
	display: none;
}
.lmask.fixed {
	position: fixed;
}
.lmask:before {
	content: "";
	background-color: rgba(0, 0, 0, 0);
	border: 5px solid rgba(0, 183, 229, 0.9);
	opacity: 0.9;
	border-right: 5px solid rgba(0, 0, 0, 0);
	border-left: 5px solid rgba(0, 0, 0, 0);
	border-radius: 50px;
	box-shadow: 0 0 35px #2187e7;
	width: 50px;
	height: 50px;
	-moz-animation: spinPulse 1s infinite ease-in-out;
	-webkit-animation: spinPulse 1s infinite linear;
	margin: -25px 0 0 -25px;
	position: absolute;
	top: 50%;
	left: 50%;
}
.lmask:after {
	content: "";
	background-color: rgba(0, 0, 0, 0);
	border: 5px solid rgba(0, 183, 229, 0.9);
	opacity: 0.9;
	border-left: 5px solid rgba(0, 0, 0, 0);
	border-right: 5px solid rgba(0, 0, 0, 0);
	border-radius: 50px;
	box-shadow: 0 0 15px #2187e7;
	width: 30px;
	height: 30px;
	-moz-animation: spinoffPulse 1s infinite linear;
	-webkit-animation: spinoffPulse 1s infinite linear;
	margin: -15px 0 0 -15px;
	position: absolute;
	top: 50%;
	left: 50%;
}

@-moz-keyframes spinPulse {
	0% {
		-moz-transform: rotate(160deg);
		opacity: 0;
		box-shadow: 0 0 1px #2187e7;
	}
	50% {
		-moz-transform: rotate(145deg);
		opacity: 1;
	}
	100% {
		-moz-transform: rotate(-320deg);
		opacity: 0;
	}
}
@-moz-keyframes spinoffPulse {
	0% {
		-moz-transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(360deg);
	}
}
@-webkit-keyframes spinPulse {
	0% {
		-webkit-transform: rotate(160deg);
		opacity: 0;
		box-shadow: 0 0 1px #2187e7;
	}
	50% {
		-webkit-transform: rotate(145deg);
		opacity: 1;
	}
	100% {
		-webkit-transform: rotate(-320deg);
		opacity: 0;
	}
}
@-webkit-keyframes spinoffPulse {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}

/*  card
---------------------------------------- */
.new-record-popup-card,
.edit-record-popup-card,
.info-card {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000000b8;
	display: none;
}
.info-card .form-main-container {
	font-size: 1.5rem;
	width: 80%;
}
.show {
	display: block;
	z-index: 99;
}
.hide {
	display: none;
}

#btn-new-record {
	margin: 0;
	font-size: 1.3rem;
}
#btn-info {
	font-size: 1.3rem;
}
.div-filter {
	margin-left: 50px;
	margin-bottom: 15px;
	margin-top: 15px;
}
#input-filter {
	width: 96%;
	font-size: 1.3rem;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}
.center-text {
	text-align: center;
}
.form-main-container {
	display: block;
	position: relative;
	background-color: #fff;
	border-color: #d8e2e7;
	border: 1px solid #e5e5e5;
	border-radius: 0.25rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	margin-left: auto;
	margin-right: auto;
	width: 35%;
	padding: 1%;
}

#tabs {
	position: relative;
	width: 100%;
	margin: 0 auto;
	font-weight: 300;
	font-size: 1.5rem;
	text-align: center;
}

#tabs ul {
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -webkit-box;
	display: flex;
	margin: 0 auto;
	padding: 0;
	max-width: 90%;
	list-style: none;
	-webkit-box-orient: horizontal;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

#tabs ul li {
	position: relative;
	display: block;
	width: 100%;
	margin: 0.5%;
	padding: 1%;
	text-align: center;
	flex: 1;
	z-index: 1;
	border-radius: 2%;
}

#tabs ul li a {
	position: relative;
	display: block;
	color: #343434;
	overflow: visible;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	transition: border 0.5s;
	white-space: nowrap;
	line-height: 2.5;
	text-decoration: none;
	outline: none;
}

#tabs ul li a:hover {
	border-bottom: 1px solid rgba(0, 0, 0, 1);
	transition: border 0.5s;
}

#tabs ul li.active-tab a:before {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border: solid transparent;
	content: "";
	pointer-events: none;
	border-width: 1rem;
	border-top-color: rgba(0, 0, 0, 0.2);
	margin-left: -1rem;
	transition: border 0.5s;
}

#tabs ul li.active-tab a:hover:before {
	border-top-color: rgba(0, 0, 0, 0.5);
	transition: border 0.5s;
}

#tabs ul li.active-tab a:after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border: solid transparent;
	content: "";
	pointer-events: none;
	border-width: 0.9rem;
	border-top-color: #fff;
	margin-left: -0.9rem;
}

#form-area {
	position: relative;
	overflow: hidden;
	width: 100%;
	font-weight: 300;
	font-size: 1.2rem;
	margin: 1rem;
	margin-top: 2rem;
}

#form-title {
	border-bottom: solid 1px #d8e2e7;
	padding-bottom: 0.8rem;
	width: 97%;
	font-weight: 600;
	color: #8120a1;
}

#form-body {
	margin-top: 1rem;
}

.col-3 {
	float: left;
	width: 30%;
	margin: 1%;
	padding: 1%;
}

.col-6 {
	display: inline-block;
	width: 62.5%;
	margin: 1%;
	padding: 1%;
}

.col-12 {
	display: inline-block;
	width: 95%;
	margin: 0.1%;
	padding: 1%;
}

.col-2 {
	display: inline-block;
	width: 17%;
	margin: 1%;
	padding: 1%;
}

.row {
	display: block;
	margin: 2%;
	margin-top: 0;
	padding: 2%;
	padding-top: 0;
}

.left-align {
	float: left;
}

.right-align {
	float: right;
}

.button-area {
	margin-top: 1%;
	margin-right: 5%;
	margin-left: 1%;
	padding: 2%;
}

.button-area-new, .lang-area{
	margin-left: 50px;
	padding-top: 13px;
}

.button-save-area {
	margin-top: 1%;
	margin-left: 10%;
	padding: 2%;
}

.form-group {
	margin-bottom: 0.2rem;
}

fieldset {
	border: 0;
	padding: 0;
}

.form-label {
	display: block;
	margin-bottom: 6px;
	font-size: 1rem;
}

label {
	margin: 0;
	display: block;
}

.form-control {
	box-shadow: none;
	font-size: 1rem;
	color: #343434 !important;
	width: 100%;
	padding: 0.375rem 0.75rem;
	line-height: 1.5;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	-webkit-border-radius: 0.25rem;
	border-radius: 0.25rem;
}

textarea {
	resize: none;
	border: 0.1rem solid #ccc;
	border-radius: 0.25rem;
	width: 100%;
}

.btn {
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #00a8ff;
	background: #00a8ff;
	color: #fff;
	font-weight: 600;
	display: inline-block;
	padding: 0.375rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	margin-left: 2rem;
	margin-right: 2rem;
}

.btn-cancel {
	background-color: #8120a1;
	border-color: #8120a1;
}

.btn-send {
	background-color: #6b7a85;
	border-color: #6b7a85;
}

.btn-save {
	background-color: #0e9802;
	border-color: #0e9802;
}

.btn-new-record {
	margin: 0;
}
.btn-info-close {
	font-size: 1.5rem;
}
.btn-edit {
	background-color: #6b7a85;
	border-color: #6b7a85;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}
.btn-delete {
	background-color: #af0f00;
	border-color: #af0f00;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}
label {
	color: #777;
	font-weight: 600;
	text-transform: camel;
}
.form-control {
	color: #777 !important;
}

/*  table-outbox
			------------------------------------- */
.table-outbox {
	margin: 50px; /* 添加外距 */
	margin-top: 10px;
	box-shadow: 0px 35px 50px rgba(27, 31, 49, 0.1); /* 添加表格陰影 */
	font-size: 1.5rem;
}

/*  table
			------------------------------------- */
table {
	border-collapse: collapse; /* 表格邊框合併 */
	width: 100%; /* 寬度 100% */
	background-color: white; /* 背景白色 */
}

table thead th {
	color: #ffffff; /* 表頭文字白色 */
	background: #2f4961; /* 表頭背景白色 */
}

table td,
table th {
	text-align: center; /* 文字置中顯示 */
	padding: 10px; /* 添加內距 */
}
table th {
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
table th[order="no"]:after {
	content: "▲▼";
	color: #777;
}
table th[order="sb"]:after {
	content: "▲";
}
th[order="bs"]:after {
	content: "▼";
}

table td {
	border-right: 1px solid #f1f1f1; /* 表格 td 右邊框顏色 */
}

table tr:nth-child(even) {
	background: #f8f8f8; /* 表格偶數 tr 灰色背景 */
}

.td1 {
	width: 10%;
}
.td2 {
	width: 10%;
}
.td3 {
	width: 25%;
}
.td4 {
	width: 15%;
}
.td5 {
	width: 15%;
}

/* Customize the label (the container) */
.radio-container {
	display: inline-block;
	position: relative;
	padding-left: 35px;
	padding-right: 10px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default radio button */
.radio-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom radio button */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input ~ .checkmark {
	background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked ~ .checkmark {
	background-color: #2196f3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
	display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}
