/* Colors
#999
#bbb
#ddd
#eee
*/

/* General */
body {
	background-color: #eee;
	color: dimgray;
	min-width: 700px;
}

h1 {
	margin: 0;
	text-align: center;
}

h2 {
	margin: 0;
	text-align: center;
	font-size: 1.4em;
}

h3 {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
}

h4 {
	margin: 0;
}

.nowrap {
	white-space: nowrap;
}

.clearfix {
	display: inline flex;
}

.clearfix:after,
.clearfix:before {
	content: "";
	display: block;
	clear: both;
}

.clearfix {
	display: inline flex;
}

.bolder {
	font-weight: bolder;
}

.cap {
	padding: .5em;
	width: 100%;
}

/* incHeader */
header {
	width: 90%;
	margin: 1em auto 1em;
	height: 80px;
}

.site-header {
	display: block;
	width: 100%;
	margin: 0 0 1.5em;
	padding: 0;
}

.inc-logo {
	margin: 0;
	padding: 0;
}

.menu-head {
	margin: 0;
	padding: 0;
	text-align: right;
}

a.btn-001 {
	display: inline-block;
	margin: 0;
	padding: .2em 1em;
	background-color: #bbb;
	border-radius: 7px;
	box-sizing: border-box;
	text-decoration: none;
	transition: 0.3s;
}

a.btn-001 span.btn-001_text {
	display: block;
	position: relative;
	color: #fff;
	font-size: 16px;
	text-align: center;
	padding-left: 30px;
}

a.btn-001 span.btn-001_text:before {
	content: '';
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	margin: auto;
}

a.btn-001 span.btn-001_text:after {
	content: '';
	width: 8px;
	height: 8px;
	border-top: 3px solid #bbb;
	border-right: 3px solid #bbb;
	box-sizing: border-box;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	left: 5px;
	bottom: 0;
	margin: auto;
	transition: 0.3s;
}

a.btn-001:hover {
	background-color: #ddd;
}

/* Login screen */
.login-screen .login-wrapper {
	width: 32em;
	margin: 5em auto;
	box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
	text-align: center;
	padding: 2em;
}

.login-screen .login-wrapper ul {
	list-style-type: none;
	margin-block-start: 0;
	padding-inline-start: 0;
}

.login-screen .login-wrapper .inp-login {
	font-size: 1.25em;
	padding: 0.2em;
}

.login-screen .login-wrapper .btn-Login {
	margin-top: 2em;
	padding: 0.2em 1.5em;
}

.login-wrapper {
	background-color: #fff;
}

.login-screen .wrapper-logout {
	display: none;
}

/* MENU */
.menu main {
	background-color: #fff;
	width: 90%;
	height: auto;
	min-height: 10em;
	max-width: 650px;
	margin: 3em auto 0;
	box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
	text-align: center;
	padding: 2em;
}

.menu main h2 {
	margin-bottom: .5em;
}

.menu main .prd {
    text-align: left;
    margin: 0 1.5em .5em;
}

.menu main .prd select {
	font-size: .9em;
}

.menu main .menu-items {
	display: flex;
	flex-wrap: wrap;
	margin-block-start: 0;
	margin-inline-start: 0;
	padding: 0;
	text-align: center;
}

.menu main .menu-items li {
	list-style: none;
	width: 200px;
	text-align: center;
	font-size: 1.2em;
	margin: 10px auto;
	border: 2px solid #999;
	background-color: #bbb;
}

.menu main .menu-items li a {
	display: block;
	padding: 5px 0;
	background-color: #bbb;
	color: white;
	text-decoration: none;
}

.menu main .menu-items .nondisp {
	border: hidden;
	margin: 0 auto;
	background-color: transparent;
}

/* REGS ---------------------  */
.regs main {
	margin: 3em auto auto;
	width: fit-content;
	background-color: #fff;
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
    padding: 2em 2em;
    display: block;
}

.regs form {
	margin-top: 30px;
}

.regs main table {
	border: 1px solid gray;
	margin: auto;
	width: 100%;
}

.regs main table thead {
	background-color: lightgray;
	font-size: 90%;
} 

.regs main table th,
.regs main table td {
	border: 1px solid gray;
	white-space: nowrap;
}

.regs main table th {
	padding: 2px 8px;
	white-space: nowrap;
}

.regs main table td {
	height: 1em;
	font-size: 85%;
}

.frm-ctrl {
	margin: auto;
	width: 100%;
}

.reg-mst {
	margin: 1em auto 0;
	text-align: center;
}

.tmpl-row {
	display: none;
}

.errortxt {
	color: red;
}

#tbl-mstcategory td.cat-id,
#tbl-mstcategory td.cat-lower input,
#tbl-mstcategory td.cat-upper input,
#tbl-mstcategory td.cat-diff,
#tbl-mstcategory td.cat-incedit input,
#tbl-mstcategory td.cat-evRatio input,
#tbl-mstclass td.cls-id,
#tbl-mstoffice td.ofc-id,
#tbl-mstoffice td.ofc-salary input,
#tbl-mstqual td.qual-id,
#tbl-msttitle td.title-id,
#tbl-msttitle td.title-salary input {
	text-align: right;
}

#tbl-mstcategory td.cat-del,
#tbl-mstclass td.cls-del,
#tbl-mstoffice td.ofc-del,
#tbl-mstqual td.qual-del,
#tbl-msttitle td.title-del {
	text-align: center;
}

#tbl-mstcategory td.cat-del input,
#tbl-mstclass td.cls-del input,
#tbl-mstoffice td.ofc-del input,
#tbl-mstqual td.qual-del input,
#tbl-msttitle td.title-del input {
	color: red;
}


#diag {
	display: none;
}

.tbl-wrap {
	margin: auto;
	width: 100%;
}

/* regEmployee ------------------------------------------- */
.reg-employee main section table th {
	background-color: lightgray;
}

.reg-employee #tbl-salaries {
	margin-top: 1em;
}

.reg-employee #tbl-mstemployee th,
.reg-employee #tbl-mstemployee td,
.reg-employee #tbl-salaries th,
.reg-employee #tbl-salaries td {
	border: 1px solid gray;
	font-size: 85%;
	padding: 2px 4px;
}

.reg-employee #tbl-mstemployee th,
.reg-employee #tbl-salaries th {
	white-space: nowrap;
	padding: 2px;
}

.reg-employee #tbl-mstemployee td,
.reg-employee #tbl-salaries td {
	padding: 2px 4px;
}

.reg-employee #tbl-mstemployee .lbl-empvaluer {
	margin-right: 2em;
}

.reg-employee #tbl-mstemployee .emp-empcat select,
.reg-employee #tbl-mstemployee .emp-empclass select,
.reg-employee #tbl-mstemployee .emp-emptitle select,
.reg-employee #tbl-mstemployee .emp-empoffice select,
.reg-employee #tbl-mstemployee .emp-empqual select {
	width: 16em;
}

.reg-employee .frm-empremark {
	resize: auto;
}

.reg-employee .tmpl {
	display: none;
}

.reg-employee label.error,
.errortxt {
	color: red;
}

.reg-employee input.btn-del-empcls,
.reg-employee input.btn-del-empoffice,
.reg-employee input.btn-del-empcat,
.reg-employee input.btn-del-emptitle,
.reg-employee input.btn-del-empqual,
.reg-employee input.btn-del-salaryBase,
.reg-employee input.btn-del-salaryRegion,
.reg-employee input.btn-del-salaryOpt,
.reg-employee input.btn-del-salaryFamily {
	color: red;
}

/* list-employee (listEmployee, listEval1, listEval2) --------------------- */
.list-employee main {
	margin: 3em auto auto;
	width: fit-content;
	min-width: 1200px;
	background-color: #fff;
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
    padding: 2em 2em;
    display: block;
}

.list-employee main h4 {
	margin-top: .5em;
}

.list-employee main section table thead {
	background-color: lightgray;
	height: 37px;
}

.list-employee #tbl-employee,
.list-employee .tbl-employee {
	border: 1px solid gray;
	margin: 0;
	width: 100%;
}

.list-employee #tbl-employee tbody tr,
.list-employee .tbl-employee tbody tr {
	height: 2.7em;
}

.list-employee #tbl-employee th,
.list-employee #tbl-employee td,
.list-employee .tbl-employee th,
.list-employee .tbl-employee td {
	border: 1px solid gray;
	font-size: 85%;
	padding: .05em .2em;
	line-height: 1.25em;
}

.list-employee #tbl-employee th,
.list-employee .tbl-employee th {
	white-space: nowrap;
}

.list-employee #tbl-employee th.tbl-sortable,
.list-employee .tbl-employee th.tbl-sortable {
	padding-right: 1.5em;
}

.list-employee #tbl-employee .evReg:after,
.list-employee #tbl-employee .btReg:after,
.list-employee .tbl-employee .evReg:after,
.list-employee .tbl-employee .btReg:after {
	content: "";
	display: block;
	clear: both;
}

.list-employee .frm-ctrl {
	margin: auto;
	width: 100%;
}

.list-employee .btn-addNewbie {
	margin: 0;
}

.list-employee .reg-mst {
	margin-top: 1em;
	text-align: center;
}

.list-employee .sec-control {
	text-align: center;
	margin-top: 1em;
}

.note {
	font-size: 0.9em;
}

/* tablesorter */
.list-employee .tablesorter-default .header,
.list-employee .tablesorter-default .tablesorter-header {
	background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
	background-position: center right;
	background-repeat: no-repeat;
	cursor: pointer;
}

.list-employee .tablesorter-default thead .headerSortUp,
.list-employee .tablesorter-default thead .tablesorter-headerAsc,
.list-employee .tablesorter-default thead .tablesorter-headerSortUp {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}

.list-employee .tablesorter-default thead .headerSortDown,
.list-employee .tablesorter-default thead .tablesorter-headerDesc,
.list-employee .tablesorter-default thead .tablesorter-headerSortDown {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

/* tablefilter */
.th-tblfilter {
	width: 23px;
}

.filter-area {
	font-weight: normal;
	text-align: left;
	background-color: #eaeaea;
	display: none;
	top: 2.4em;
	padding: 4px;
}

/* listRank */
.listRank #ctrl-box {
	float: left;
}

.listRank #ctrl-right {
	text-align: right;
}

.listRank #ctrl-right span {
	font-size: 80%;
}

.listRank #tbl-employee td.evTotal .spn-ratio,
.listRank #tbl-employee td.btTotal .spn-ratio,
.listRank .tbl-employee td.evTotal .spn-ratio,
.listRank .tbl-employee td.btTotal .spn-ratio {
	font-size: 85%;
	vertical-align: text-top;
	color: #aaa;
}

.listRank #tbl-employee td.autoRank,
.listRank #tbl-employee td.finalRank,
.listRank .tbl-employee td.autoRank,
.listRank .tbl-employee td.finalRank {
	text-align: center;
}

.hide-for-csv {
	display: none;
}

/* incFooter --------------------- */
footer .site-footer {
	padding: 1em;
	text-align: center;
}

.copyright {
	font-size: .8em;
}

/* print --------------------- */
@media print {
	input,
	select {
		border: none;
	}

	select {
		appearance: none;
	}

	.bizTarget .div-ctrl {
		display: none;
	}

	.list-employee header,
	.list-employee footer {
		display: none;
	}

	.list-employee main {
		box-shadow: none;
		min-width: 1024px;
	}

	.list-employee #tbl-employee .evReg,
	.list-employee #tbl-employee .btReg,
	.list-employee .tbl-employee .evReg,
	.list-employee .tbl-employee .btReg {
		width: 0px;
	}

	.list-employee #tbl-employee .evReg a,
	.list-employee #tbl-employee .btReg a.lnk-bt,
	.list-employee .tbl-employee .evReg a,
	.list-employee .tbl-employee .btReg a.lnk-bt {
		display: none;
	}

	.list-employee #tbl-employee .evReg:after,
	.list-employee #tbl-employee .btReg:after,
	.list-employee .tbl-employee .evReg:after,
	.list-employee .tbl-employee .btReg:after {
		content: "";
		display: block;
		clear: both;
	}
	
	.list-employee #tbl-employee th.tbl-sortable,
	.list-employee .tbl-employee th.tbl-sortable {
		padding-right: 0;
	}

	.listRank .sec-control,
	.list-employee .sec-control {
		display: none;
	}
}