* {
	box-sizing: border-box;
}
*:focus {
	outline: none;
}
html,
body {
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	background-color: white;
	margin: 0;
	padding: 0;
	color: darkslategrey;
}
h2 {
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 2rem;
	line-height: 1.5;
	background-color: white;
	margin: 0;
	padding: 0;
	color: darkslategrey;
}
#sm-screen {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
	cursor: wait;
}
.size-adj {
	display: inline-block;
	margin: 0px 15px;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
body > header {
	padding: 3px 2px;
	width: 12rem;
	overflow: hidden;
	height: 54px;
	user-select: none;
	border-bottom: 1px solid darkgray;
}
body > header.main-menu-shrinked:not(.no-main-menu) {
	width: 3rem;
	padding-top: 12px;
}
body > header.no-main-menu {
	width: auto;
	right: 0;
}
#main_logo {
	display: none;
}
body > header.no-main-menu #main_logo {
	display: block;
	float: left;
	height: 48px;
	padding: 2px 0;
}
#main_logo img {
	height: 44px;
}
#toggle_main_menu {
	display: none;
}
#login_state {
	margin: 0 5px;
	cursor: pointer;
}
body > header.no-main-menu #login_state {
	float: right;
}
#login_state_img {
	line-height: 30px;
	margin: 0 auto;
	width: 30px;
	font-size: 26px;
	color: gray;
}
#login_state.authenticated #login_state_img {
	color: green;
}
#login_state_text {
	line-height: 14px;
	max-width: 10rem;
	overflow: hidden;
	margin: 0 auto;
	font-size: 14px;
	text-align: center;
	padding: 2px 0;
}
.main-menu-shrinked:not(.no-main-menu) #login_state_text {
	display: none;
}
#login_state_menu {
	position: absolute;
	top: 54px;
	padding: 5px;
	background-color: white;
	z-index: 101;
	margin: 0 5px;
	border: 1px solid lightgray;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	/*+box-shadow: 2px 2px 4px gray;*/
	-moz-box-shadow: 2px 2px 4px gray;
	-webkit-box-shadow: 2px 2px 4px gray;
	box-shadow: 2px 2px 4px gray;
}
body > header.no-main-menu #login_state_menu {
	right: 0;
}
#login_state_menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#login_state_menu li.menu-item a {
	display: block;
	position: relative;
	width: 100%;
	min-height: 35px;
	padding: 7px 6px;
	text-decoration: none;
	border-radius: 5px;
	color: dimgrey;
}
#login_state_menu .login-menu-icon:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
#login_state_menu .login-menu-icon {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 30px;
	font-family: 'FontAwesome';
	font-size: 23px;
	text-align: center;
}
#login_state_menu .login-menu-title {
	font-size: 13px;
	margin: 0 0 0 40px;
	font-weight: bold;
}
#login_state_menu li.menu-item a:hover,
#main_menu li.menu-item a:focus {
	background-color: rgba(0, 0, 0, 0.05);
	transition: background-color 300ms ease, color 300ms ease;
}
#toggle_main_menu:hover,
#toggle_main_menu:focus {
	background-color: rgba(221, 72, 20, 0.8);
	color: rgba(255, 255, 255, 0.8);
}
#main_menu {
	position: absolute;
	top: 54px;
	bottom: 30px;
	width: 12rem;
	overflow-y: auto;
	padding: 2px;
	background-color: white;
	z-index: 100;
}
#main_menu.main-menu-shrinked {
	width: 3rem;
}
#main_menu_shrink {
	font-family: 'FontAwesome';
	width: 36px;
	user-select: none;
	font-size: 20px;
	font-weight: normal;
	padding: 3px 4px;
	text-align: center;
}
#main_menu.no-main-menu {
	display: none;
}
#main_menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	color: dimgrey;
}
#main_menu li.menu-item a {
	display: block;
	position: relative;
	width: 100%;
	min-height: 35px;
	padding: 7px 2px;
	text-decoration: none;
	border-radius: 4px 1.25rem 1.25rem 4px;
	color: dimgrey;
}
#main_menu .main-menu-icon:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
#main_menu .main-menu-icon {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 30px;
	font-family: 'FontAwesome';
	font-size: 23px;
	text-align: center;
}
#main_menu .main-menu-title {
	font-size: 13px;
	margin: 0 0 0 32px;
	font-weight: bold;
}
#main_menu.main-menu-shrinked .main-menu-title {
	display: none;
}
#main_menu li.menu-item a:hover,
#main_menu li.menu-item a:focus {
	background-color: rgba(0, 0, 0, 0.05);
	transition: background-color 300ms ease, color 300ms ease;
}
#main_menu li.menu-item.current a {
	background-color: lightblue;
	color: midnightblue;
}
#main {
	position: absolute;
	overflow-y: auto;
	left: 12rem;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 2px;
	background-color: white;
}
#main.no-main-menu {
	left: 0;
	top: 54px;
}
#main.main-menu-shrinked:not(.no-main-menu) {
	left: 3rem;
}
body > footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 12rem;
	height: 30px;
	z-index: -1;
}
body > footer.main-menu-shrinked {
	display: none;
}
div.copyrights {
	text-align: center;
	margin-top: 3px;
	font-weight: bold;
}
@media (max-width: 720px) {
	body > header {
		padding: 3px 2px !important;
		width: auto !important;
		right: 0 !important;
	}
	#main_logo {
		display: block;
		float: left;
		height: 48px;
		padding: 2px 0;
	}
	#login_state {
		float: right;
	}
	#login_state_menu {
		right: 0;
	}
	#toggle_main_menu {
		float: right;
		display: block;
		margin: 6px;
		height: 36px;
		width: 36px;
		line-height: 36px;
		font-size: 24px;
		text-align: center;
		background-color: rgba(221, 72, 20, 0.6);
		color: rgba(255, 255, 255, 1);
		border-radius: 3px;
		cursor: pointer;
	}
	#toggle_main_menu.no-main-menu {
		display: none;
	}
	#main {
		left: 0 !important;
		top: 54px;
	}
	.main-menu-hidden {
		display: none;
	}
	#main_menu {
		top: auto;
		bottom: auto;
		left: 0;
		right: 0;
		margin: auto;
		width: 16rem !important;
		border: 1px solid gray;
		/*+border-radius: 5px;*/
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		-khtml-border-radius: 5px;
		border-radius: 5px;
		/*+box-shadow: 2px 2px 5px gray;*/
		-moz-box-shadow: 2px 2px 5px gray;
		-webkit-box-shadow: 2px 2px 5px gray;
		box-shadow: 2px 2px 5px gray;
	}
	#main_menu_shrink {
		display: none;
	}
	#main_menu .main-menu-title {
		display: block !important;
		font-size: 16px;
		margin: 0 0 0 40px;
	}
	#login_state_text {
		display: block !important;
	}
}
/*common frontend styles*/
/*buttons*/
.c1-buttons-center {
	text-align: center;
}
.c1-buttons-right {
	text-align: right;
}
.c1-button {
	display: inline-block;
	width: 7rem;
	height: 30px;
	padding: 3px;
	-moz-box-shadow: 1px 1px 4px darkslategrey;
	-webkit-box-shadow: 1px 1px 4px darkslategrey;
	box-shadow: 1px 1px 4px darkslategrey;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
	margin: 0 4px;
	cursor: pointer;
	user-select: none;
	background-color: whitesmoke;
	font-weight: normal;
	border: 1px solid whitesmoke;
}
.c1-button:not(.disabled):hover {
	background: lightblue;
	border: 1px solid lightblue;
	transition: background-color 300ms ease, color 300ms ease;
}
.c1-button:focus {
	border: 1px solid gray !important;
}
/*resizer*/
.resizer-vert,
.resizer-horz {
	position: absolute;
	z-index: 2;
	touch-action:none;
}
.resizer-vert {
	width: 6px;
	top: 0;
	bottom: 0;
	cursor: col-resize;
}
.resizer-horz {
	height: 6px;
	left: 0;
	right: 0;
	cursor: row-resize;
}
.resizer-vert.in-resize,
.resizer-horz.in-resize {
	background-color: gray;
}
/*custom select 1*/
.custom-select1 {
	cursor: pointer;
	position: relative;
}
.custom-select1 > select::-ms-expand {
	display: none;
}
.custom-select1:after {
	position: absolute;
	content: "";
	top: 14px;
	right: 4px;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-color: currentColor transparent transparent transparent;
	pointer-events: none;
}
.custom-select1 > select {
	border: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	padding: 0 25px 0 5px;
	width: 100%;
	height: 100%;
	/*+border-radius: inherit;*/
	-moz-border-radius: inherit;
	-webkit-border-radius: inherit;
	-khtml-border-radius: inherit;
	border-radius: inherit;
	font-family: inherit;
	color: inherit;
	font-size: inherit;
	cursor: inherit;
	line-height: inherit;
	background-color: transparent;
}
.custom-select1 .select-static {
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 5px;
	right: 25px;
	background-color: inherit;
	padding: 0 2px;
	pointer-events: none;
}
.custom-select1 > select:focus {
	border: 1px solid gray;
}
/*custom CHECKBOX 1*/
.cust-chkbox-1 {
	width: 14px;
	position: relative;
	height: 14px;
}
.cust-chkbox-1:before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 1px solid lightgray;
	background-color: white;
	margin: 0;
}
.cust-chkbox-1:focus:before {
	border: 1px solid gray;
}
.cust-chkbox-1:checked:after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 3px;
	height: 8px;
	margin: 2px 5px;
	border-right: 2px solid steelblue;
	border-bottom: 2px solid steelblue;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.cust-chkbox-1:checked:disabled:after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 3px;
	height: 8px;
	margin: 2px 5px;
	border-right: 2px solid darkgray;
	border-bottom: 2px solid darkgray;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.cust-chkbox-1.weak-checked:after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 3px;
	height: 8px;
	margin: 2px 5px;
	border-right: 2px solid lightsteelblue;
	border-bottom: 2px solid lightsteelblue;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
/*custom CHECKBOX 2*/
.cust-chkbox-2 {
	width: 50px;
	position: relative;
	height: 16px;
}
.cust-chkbox-2:before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 50px;
	height: 16px;
	border: 1px solid lightgray;
	/*+border-radius: 6px;*/
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	background-color: white;
	/*+box-shadow: inset 1px 1px 0.5px gray;*/
	-moz-box-shadow: inset 1px 1px 0.5px gray;
	-webkit-box-shadow: inset 1px 1px 0.5px gray;
	box-shadow: inset 1px 1px 0.5px gray;
}
.cust-chkbox-2:focus::before {
	border: 1px solid gray;
}
.cust-chkbox-2:not(:checked):after {
	content: "НІ";
	position: absolute;
	left: 3px;
	top: 2px;
	display: inline-block;
	width: 25px;
	height: 12px;
	margin: 1px 0;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	background-color: darkgray;
	/*+box-shadow: 1px 1px 1px gray;*/
	-moz-box-shadow: 1px 1px 1px gray;
	-webkit-box-shadow: 1px 1px 1px gray;
	box-shadow: 1px 1px 1px gray;
	font-size: 9px;
	text-align: center;
	line-height: 15px;
	color: black;
}
.cust-chkbox-2:checked:after {
	content: "ТАК";
	position: absolute;
	right: 1px;
	top: 2px;
	display: inline-block;
	width: 25px;
	height: 12px;
	margin: 1px 0;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	background-color: steelblue;
	/*+box-shadow: 1px 1px 1px gray;*/
	-moz-box-shadow: 1px 1px 1px gray;
	-webkit-box-shadow: 1px 1px 1px gray;
	box-shadow: 1px 1px 1px gray;
	font-size: 9px;
	text-align: center;
	line-height: 15px;
	color: white;
}
/*objectbox, datebox*/
.obj-box::after {
	position: absolute;
	content: "\f141";
	font-family: FontAwesome;
	top: 0;
	right: 0;
	width: 20px;
	height: 100%;
	text-align: center;
	border-left: 1px solid gray;
	cursor: pointer;
}
.date-box::after {
	position: absolute;
	content: "\f073";
	font-family: FontAwesome;
	right: 0;
	top: 0;
	bottom: 0;
	width: 20px;
	text-align: center;
	border-left: 1px solid gray;
	cursor: pointer;
}
.obj-box:hover::after,
.date-box:hover::after {
	background-color: rgba(0, 0, 0, 0.05);
	transition: background-color 300ms ease, color 300ms ease;
}
.obj-box input,
.date-box input {
	display: block;
	padding-right: 22px;
	width: 100%;
	height: 100%;
	border: 1px solid transparent;
}
.obj-box input:focus,
.date-box input:focus {
	border: 1px solid gray;
}
/*bubble message*/
.bubble-msg-class:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 5px;
	border-width: 7px;
	border-style: solid;
	border-color: gray transparent transparent transparent;
	margin: 0 0 0 0;
}
.bubble-msg-class:not(.bubble-msg-err):after {
	content: "";
	position: absolute;
	top: 100%;
	left: 7px;
	border-width: 5px;
	border-style: solid;
	border-color: whitesmoke transparent transparent transparent;
	margin: 0 0 0 0;
}
.bubble-msg-class:not(.bubble-msg-err) {
	z-index: 9999;
	background-color: whitesmoke;
	margin: 0 0 8px 0;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	padding: 1px 5px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	color: black;
	border: 1px solid gray;
}
.bubble-msg-class.bubble-msg-err:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 7px;
	border-width: 5px;
	border-style: solid;
	border-color: lemonchiffon transparent transparent transparent;
	margin: 0 0 0 0;
}
.bubble-msg-class.bubble-msg-err {
	z-index: 9999;
	background-color: lemonchiffon;
	margin: 0 0 8px 0;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	padding: 1px 5px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	color: red;
	border: 1px solid gray;
}
/*misc*/
.sm-form input[type=text],
.sm-form input[type=password],
.sm-form select {
	border-radius: 2px;
	border: 1px solid #377AAC;
	/*+box-shadow: 1px 1px 2px #377AAC;*/
	-moz-box-shadow: 1px 1px 2px #377AAC;
	-webkit-box-shadow: 1px 1px 2px #377AAC;
	box-shadow: 1px 1px 2px #377AAC;
	font-size: 14px;
	padding: 3px 4px;
	margin: 3px 0;
}
.sm-init-hidden {
	display: none;
}
.hidden {
	display: none !important;
}
.top-view {
	z-index: 10;
}
div[data-hidden-by-group^="|"] {
	display: none;
}
.popup-caption {
	text-align: center;
	font-size: 20px;
	margin: 0 -20px 8px -20px;
	background-color: lightblue;
	font-weight: bold;
	padding: 3px;
}
/*dialog frame*/
.dialog-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	z-index: 998;
}
.dialog-wrapper.dialog-modal {
	right: 0;
	bottom: 0;
	width: auto;
	height: auto;
	z-index: 999;
}
.dialog-main {
	position: absolute;
	overflow: hidden;
	border: 1px solid darkgray;
	background-color: steelblue;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	touch-action:none;
}
.dialog-main.resizable {
	border: 4px solid steelblue;
	outline: 1px solid darkgray;
}
.dialog-main.is-error {
	background-color: lightcoral;
}
.dialog-main.is-error.resizable {
	border: 4px solid lightcoral;
}
.dialog-caption {
	color: white;
	padding: 1px 6px 2px 6px;
	user-select: none;
	cursor: move;
}
.dialog-caption-text {
	display: inline;
	font-size: 1.2rem;
	line-height: 1.3rem;
}
.dialog-caption-button {
	float: right;
	font-family: FontAwesome;
	font-size: 1.3rem;
	line-height: 1.4rem;
}
.dialog-but {
	display: inline;
	margin: 0 0 0 3px;
	cursor: pointer;
	padding: 1px;
}
.dialog-but:not(.disabled):hover {
	background: lightblue;
	color: darkslategrey;
	transition: background-color 300ms ease, color 300ms ease;
}
.dialog-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	background-color: white;
	cursor: default;
}
.dialog-flash {
	-webkit-animation: dialog-flash 0.08s 6 alternate;
	animation: dialog-flash 0.08s 6 alternate;
}
@-webkit-keyframes dialog-flash {
	from {
		color: white;
		opacity: 0;
	}
	to {
		color: black;
		background-color: white;
		opacity: 0.2;
	}
}
@keyframes dialog-flash {
	from {
		color: white;
		opacity: 0;
	}
	to {
		color: black;
		background-color: white;
		opacity: 0.2;
	}
}
/*ShortcutMenu*/
.sc-menu-wrapper {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.sc-menu-main {
	position: absolute;
	overflow: hidden;
	padding: 5px 0;
	border: 1px solid gray;
	background-color: snow;
	/*+border-radius: 5px;*/
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	cursor: default;
}
.sc-menu-separator {
	border-top: 1px solid lightgray;
}
.sc-menu-item {
	padding: 3px;
}
.sc-menu-item.sc-menu-grayed {
	color: darkgray;
}
.sc-menu-text {
	display: inline-block;
}
.sc-menu-left-area {
	display: inline-block;
	width: 2.5rem;
	text-align: center;
	font-family: FontAwesome;
}
.sc-menu-right-area {
	display: inline-block;
	width: 2rem;
	text-align: center;
	font-family: FontAwesome;
}
.sc-menu-current {
	background-color: lightblue;
}
/*Calendar*/
.calendar-wrapper {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.calendar-frame {
	position: absolute;
	width: 15rem;
	overflow: hidden;
	padding: 0 0.5rem;
	border: 1px solid gray;
	background-color: white;
	/*+border-radius: 5px;*/
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	cursor: default;
	user-select: none;
}
.calendar-main {
	width: 14rem;
}
.calendar-hdr > div,
.calendar-body > div,
.calendar-ftr > div {
	float: left;
}
.calendar-hdr,
.calendar-ftr {
	float: left;
	margin: 5px 0;
}
.ctl-prevMonth,
.ctl-nextMonth {
	width: 1.5rem;
	font-family: FontAwesome;
	text-align: center;
	font-size: 1.4rem;
	line-height: 1.5rem;
	padding-top: 1px;
}
.ctl-month {
	width: 7rem;
	text-align: center;
}
.ctl-year {
	width: 4rem;
	text-align: center;
}
.ctl-now {
	width: 14rem;
	text-align: center;
	background-color: steelblue;
	color: white;
	padding: 1px 0;
}
.month-data {
	width: 4.66rem;
	text-align: center;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	margin: 1px 0;
	border: 1px solid transparent;
}
.year-data {
	width: 4.66rem;
	text-align: center;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	margin: 1px 0;
	border: 1px solid transparent;
}
.wday-hdr,
.wday-data {
	width: 2rem;
	text-align: center;
	padding: 1px;
}
.wday-hdr {
	font-weight: bold;
	font-size: 0.8rem;
}
.calendar-body .weekend {
	color: red;
}
.wday-data {
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	margin: 1px 0;
	border: 1px solid transparent;
}
.wday-data.prevMonth,
.wday-data.nextMonth {
	color: lightgray;
}
.wday-data.prevMonth.weekend,
.wday-data.nextMonth.weekend {
	color: lightpink;
}
.wday-data.today,
.month-data.curmonth,
.year-data.curyear {
	background-color: steelblue;
	color: white;
}
.wday-data.initday,
.month-data.initmonth,
.year-data.inityear {
	border: 1px solid gray;
}
.wday-data:hover,
.month-data:hover,
.year-data:hover {
	background-color: rgba(0, 0, 0, 0.05);
}
/*SelectPeriod*/
.period-wrapper {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.period-frame {
	position: absolute;
	width: 15rem;
	overflow: hidden;
	padding: 8px 6px;
	border: 1px solid gray;
	background-color: white;
	/*+border-radius: 5px;*/
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	cursor: default;
	user-select: none;
}
.period-main {
	width: 14rem;
}
.period-select {
	width: 100%;
	height: 30px;
	margin: 0 0 10px 0;
	/*+box-shadow: 1px 1px 4px;*/
	-moz-box-shadow: 1px 1px 4px;
	-webkit-box-shadow: 1px 1px 4px;
	box-shadow: 1px 1px 4px;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	text-align: left;
}
.period-date-outer {
	position: relative;
	height: 26px;
	margin: 0 0 10px 0;
}
.period-date {
	position: absolute;
	width: 8rem;
	top: 0;
	right: 0;
	height: 100%;
	border: 1px solid darkgray;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
}
.period-date input {
	padding: 0 3px;
	color: inherit;
}
.period-date::after {
	padding-top: 2px;
}
.period-date:focus {
	border: 1px solid gray;
}
.period-main .has-error {
	background-color: lightpink !important;
}
/*SelectColor*/
.selclr-wrapper {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.selclr-frame {
	position: absolute;
	overflow: hidden;
	border: 1px solid gray;
	background-color: white;
	/*+border-radius: 2px;*/
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	cursor: default;
	user-select: none;
}
.selclr-main {
	position: relative;
	width: 340px;
	height: 345px;
	background-color: whitesmoke;
}
.selclr-group {
	float: left;
	margin: 0 3px 0 5px;
}
.selclr-field {
	margin: 1px 5px 0 5px;
}
.selclr-group1 input {
	width: 50px;
	font-size: 12px;
	padding: 0 3px;
}
.selclr-group2 input {
	width: 60px;
	font-size: 12px;
	padding: 0 3px;
}
.selclr-group1 .selclr-lbl {
	display: inline-block;
	width: 55px;
	font-size: 11px;
}
.selclr-group2 .selclr-lbl {
	display: inline-block;
	width: 65px;
	font-size: 11px;
}
.selclr-clr {
	position: absolute;
	top: 5px;
	right: 8px;
	width: 60px;
	height: 60px;
	border: 1px solid gray;
}
.selclr-select {
	position: absolute;
	top: 70px;
	left: 0;
	right: 0;
	bottom: 0;
}
.selclr-hue-wrap {
	position: absolute;
	left: 8px;
	top: 8px;
	width: 21px;
	height: 258px;
}
.selclr-shade-wrap {
	position: absolute;
	left: 42px;
	top: 8px;
	width: 258px;
	height: 258px;
}
.selclr-alpha-wrap {
	position: absolute;
	right: 8px;
	top: 8px;
	width: 21px;
	height: 258px;
}
.selclr-hue,
.selclr-alpha {
	position: absolute;
	left: 5px;
	top: 0px;
	width: 16px;
	height: 258px;
	border: 1px solid gray;
}
.selclr-alpha canvas {
	position: absolute;
}
.selclr-shade {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	border: 1px solid gray;
}
.selclr-point {
	position: absolute;
	margin-top: -4px;
	width: 10px;
	height: 10px;
	border: 5px solid whitesmoke;
	border-left: 5px solid black;
}
.selclr-circle {
	position: absolute;
	margin-left: -7px;
	margin-top: -7px;
	width: 16px;
	height: 16px;
	border: 4px solid gray;
	/*+border-radius: 8px;*/
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	border-radius: 8px;
}
.selclr-circle1 {
	position: absolute;
	left: -3px;
	top: -3px;
	width: 14px;
	height: 14px;
	border: 2px solid white;
	/*+border-radius: 7px;*/
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	-khtml-border-radius: 7px;
	border-radius: 7px;
}
/*MsgBox*/
.msgbox-wrapper {
	overflow: hidden;
	max-width: 80rem;
	min-width: 20rem;
	padding: 0 0 10px 0;
	background-color: white;
}
.msgbox-body {
	text-align: center;
	padding: 10px;
	font-size: 1.3rem;
}
/*AskParam*/
.askparam-wrapper {
	overflow: hidden;
	max-width: 80rem;
	min-width: 20rem;
	padding: 0 0 10px 0;
	background-color: white;
}
.askparam-body {
	padding: 10px;
	font-size: 1.3rem;
	text-align: center;
}
.askparam-param {
	margin-bottom: 5px;
	text-align: left;
}
.askparam-body label {
	margin: 0 1rem 0 0;
	line-height: 2.3rem;
}
.askparam-field {
	font-size: 1.3rem;
	height: 2.3rem;
	min-width: 8rem;
	float: right;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	padding: 2px 4px;
	border: 1px solid lightgray;
	color: darkslategrey;
}
.askparam-field:focus {
	border: 1px solid gray !important;
}
.askparam-psw {
	float: right;
	margin-right: 5px;
}
.askparam-psw.ap-psw-visible .ap-psw-show {
	display: none;
}
.askparam-psw:not(.ap-psw-visible) .ap-psw-show {
	display: normal;
}
.askparam-psw.ap-psw-visible .ap-psw-hide {
	display: normal;
}
.askparam-psw:not(.ap-psw-visible) .ap-psw-hide {
	display: none;
}
/*ProgressBar*/
.prbar-wrapper {
	overflow: hidden;
	max-width: 80rem;
	min-width: 30rem;
	padding: 0 0 5px 0;
	background-color: white;
}
.prbar-body {
	text-align: center;
	padding: 10px;
}
.prbar-state {
	position: relative;
	width: 100%;
	height: 10px;
	border: 1px solid darkgray;
}
.prbar-state span {
	background-color: green;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}
/*FindFilterDlg*/
.ff-criteria-label {
	display: inline-block;
}
.find-filter {
	margin: 10px;
}
.ff-sc {
	float: right;
	width: 15rem;
	padding: 2px 0;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	color: inherit;
	background-color: white;
	border: 1px solid darkgray;
}
.find-filter select:focus {
	border: 1px solid gray !important;
}
.ff-expr {
	margin: 3px 0 0 0;
	position: relative;
}
.find-filter .c1-buttons-center {
	margin: 10px 0 0 0;
}
.find-filter .disabled {
	color: darkgray;
}
/*MakeExpression*/
.expr-criteria {
	width: 100%;
	height: 8rem;
	margin: 6px 0 0 0;
	padding: 2px 3px;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: white;
	line-height: inherit;
	border: 1px solid darkgray;
	resize: none;
}
.expr-criteria:focus {
	border: 1px solid gray !important;
}
.expr-options {
	margin: 3px 0 0 0;
	position: relative;
}
.expr-fields {
	width: 10.5rem;
	margin: 0 0 0.6rem 0;
}
.expr-field-list {
	width: 10rem;
	height: 2rem;
	color: inherit;
	border: 1px solid darkgray;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
}
.expr-field-add {
	width: 10rem;
	height: 2rem;
	margin: 0.2rem 0;
	line-height: 1;
	padding: 6px 0 0 0;
}
.expr-func {
	width: 10.5rem;
}
.expr-func-list {
	width: 10rem;
	height: 2rem;
	color: inherit;
	border: 1px solid darkgray;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
}
.expr-func-add {
	width: 10rem;
	height: 2rem;
	margin: 0.2rem 0;
	line-height: 1;
	padding: 6px 0 0 0;
}
.expr-oper {
	position: absolute;
	right: 0;
	top: 1px;
	width: 15rem;
	height: 10.2rem;
	text-align: right;
	padding: 0 2px 0 0;
}
.expr-oper .c1-button {
	width: 3rem;
	height: 2rem;
	text-align: center;
	margin: 0 0 0.9rem 0.4rem;
}
.expr-label {
	display: inline-block;
}
.expr-chkbox-wrapper {
	display: inline-block;
	float: right;
	width: 14px;
	margin: 0 10px 0 0;
	padding: 0;
}
.expr-casesense {
	width: 6rem;
}
#find_filter .c1-buttons-center {
	margin: 10px 0 0 0;
}
#find_filter .disabled {
	color: darkgray;
}
/*SMTable*/
.smt-table {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow-y: hidden;
	overflow-x: auto;
	background-color: white;
}
.smt-header:not(.for-print) {
	position: absolute;
	overflow: hidden;
	border-bottom: 1px solid darkgray;
	background-color: whitesmoke;
	user-select: none;
}
.smt-total:not(.for-print) {
	position: absolute;
	overflow: hidden;
	background-color: whitesmoke;
}
.smt-body:not(.for-print) {
	position: absolute;
}
.smt-header.for-print {
	overflow: hidden;
	border-top: 1px solid gainsboro;
	background-color: whitesmoke;
	user-select: none;
}
.smt-total.for-print {
	overflow: hidden;
	background-color: whitesmoke;
}
.smt-body.for-print {
}
.smt-body .body-outer {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	overflow-y: auto;
	overflow-x: hidden;
}
.smt-header table,
.smt-body table,
.smt-total table {
	border-collapse: collapse;
}
.smt-header th {
	position: relative;
	white-space: nowrap;
	text-align: center;
	padding: 0 2px;
	border-left: 1px solid gainsboro;
	border-right: 1px solid gainsboro;
	border-bottom: 1px solid gainsboro;
	cursor: pointer;
}
.smt-header th .col-caption {
	overflow: hidden;
	max-width: 100%;
}
.smt-header th[data-sort="Desc"] .col-caption,
.smt-header th[data-sort="Asc"] .col-caption {
	margin: -4px 0 0 0;
}
.smt-header th[data-sort="Desc"]:after {
	content: "";
	display: block;
	width: 0;
	height: 0px;
	margin: -1px auto -7px auto;
	border: 6px solid transparent;
	border-color: currentColor transparent transparent transparent;
}
.smt-header th[data-sort="Asc"]:after {
	content: "";
	display: block;
	width: 0;
	height: 0px;
	margin: -8px auto 0 auto;
	border: 6px solid transparent;
	border-color: transparent transparent currentColor transparent;
}
.smt-header div.col-resize {
	position: absolute;
	top: 0;
	bottom: 0;
	cursor: col-resize;
	z-index: 2;
	touch-action:none;
}
.smt-header div.col-resize.in-resize {
	background-color: gray;
}
.smt-body tr:not(.even) {
	background-color: aliceblue;
}
.smt-body tr.curr-rec {
	background-color: lightblue;
}
.smt-body tr.rec-is-edited {
	background-color: floralwhite;
}
.smt-body tr.rec-is-edited td.smt-selector::before {
	display: inline-block;
	content: "\f040";
	font-family: FontAwesome;
	height: 16px;
	font-size: 18px;
	line-height: 1;
}
.smt-selector .new-rec-ind {
	display: inline-block;
	font-family: FontAwesome;
	height: 16px;
}
.smt-body tr.rec-is-edited td.smt-selector * {
	display: none;
}
.smt-body td {
	overflow: hidden;
	white-space: nowrap;
	padding: 0 3px;
	text-align: right;
	border-left: 1px solid gainsboro;
	border-right: 1px solid gainsboro;
	border-bottom: 1px solid gainsboro;
}
.smt-body td.ff-is-match {
	background-color: rgba(192, 240, 192, 0.5);
}
.smt-body td.empty {
	border-bottom: 1px none;
}
.smt-table .body-field-edit {
	position: absolute;
	overflow: hidden;
	border: 1px solid gray;
}
.smt-table .field-input {
	display: block;
	height: 100%;
	border: none;
	outline: none;
	padding: 0 3px;
	text-align: right;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}
.smt-table .field-select {
	display: block;
	height: 100%;
	border: none;
	outline: none;
	padding: 0;
	text-align: left;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin-left: -1px;
}
.smt-table .field-objbox {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	background-color: white;
	border-left: 1px solid darkgray;
	text-align: center;
	padding: 3px 0 0 0;
}
.smt-table .field-objbox span {
	display: inline-block;
	font-family: FontAwesome;
	height: 16px;
}
.smt-table .body-field-ff {
	position: absolute;
	overflow: hidden;
	background-color: oldlace;
	white-space: nowrap;
	border: 1px solid gray;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
	vertical-align: middle;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	user-select: none;
	z-index: 3;
}
.smt-table .field-ff {
	display: inline-block;
	min-width: 10rem;
	border: 1px solid gray;
	padding: 2px 3px;
	margin: 2px 3px;
}
.smt-table .field-ff-nav {
	display: inline-block;
	margin: 0 8px 0 8px;
}
.smt-table .field-ff-prev,
.smt-table .field-ff-next,
.smt-table .field-ff-close,
.field-ff-type {
	display: inline-block;
	font-family: FontAwesome;
	height: 22px;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0 4px 0 4px;
}
.smt-table .field-ff-mode {
	display: inline-block;
	width: 4.5rem;
	height: 21px;
	text-align: center;
	margin: 2px 3px;
	cursor: pointer;
	padding: 0 4px 0 4px;
	border: 1px solid gray;
	/*+box-shadow: 1px 1px 3px gray;*/
	-moz-box-shadow: 1px 1px 3px gray;
	-webkit-box-shadow: 1px 1px 3px gray;
	box-shadow: 1px 1px 3px gray;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	background-color: whitesmoke;
}
.smt-table .field-ff-close {
	margin: 0px 2px;
}
:not(.for-print) th.smt-selector,
:not(.for-print) td.smt-selector {
	width: 2rem;
	min-width: 2rem;
	text-align: center;
	padding: 3px 0 0 0;
}
.for-print th.smt-selector,
.for-print td.smt-selector {
	display: none;
}
.smt-selector > div {
	display: inline-block;
	overflow: hidden;
	width: 14px;
	height: 14px;
	border: 1px solid lightgray;
	background-color: white;
	margin: 0;
}
.smt-selector > div.cust-checked:after {
	content: "";
	display: inline-block;
	width: 3px;
	height: 8px;
	margin: 0 0 6px 1px;
	border-right: 2px solid steelblue;
	border-bottom: 2px solid steelblue;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.smt-selector > div.cust-checked-weak:after {
	content: "";
	display: inline-block;
	width: 3px;
	height: 8px;
	margin: 0 0 6px 1px;
	border-right: 2px solid lightsteelblue;
	border-bottom: 2px solid lightsteelblue;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.smt-total.totals-down:not(.for-print) {
	border-top: 1px solid darkgray;
	border-bottom: 1px solid darkgray;
}
.smt-total.totals-up:not(.for-print) {
	border-bottom: 1px solid darkgray;
}
.smt-total.totals-down.for-print {
}
.smt-total.totals-up.for-print {
	border-bottom: 1px solid gainsboro;
}
.smt-total td {
	overflow: hidden;
	white-space: nowrap;
	padding: 0 3px;
	text-align: right;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	border-bottom: 1px solid gainsboro;
}
.smt-total td.totals-field {
	background-color: white;
	border-left: 1px solid gainsboro;
	border-right: 1px solid gainsboro;
	font-weight: bold;
	font-size: 13px;
}
.smt-total.for-print td:not(.totals-field) {
	border-left: 1px solid gainsboro;
}
.smt-total td.totals-last-unvisible {
	border-right: 1px solid gainsboro;
}
.table-cm-wrapper {
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	overflow: auto;
}
.table-cm-wrapper:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.table-cm-main {
	display: inline-block;
	overflow: hidden;
	vertical-align: middle;
	padding: 0 10px 10px 10px;
	text-align: center;
	border: 1px solid gray;
	background-color: white;
	/*+border-radius: 10px;*/
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 10px;
	/*+box-shadow: 3px 3px 8px gray;*/
	-moz-box-shadow: 3px 3px 8px gray;
	-webkit-box-shadow: 3px 3px 8px gray;
	box-shadow: 3px 3px 8px gray;
}
.table-cm-caption {
	text-align: center;
	font-size: 1.5rem;
	margin: 0 -20px;
	background-color: lightblue;
	/*font-weight: bold;*/
	padding: 3px;
}
.table-cm-body {
	margin: 10px 0;
}
#table_cm_list {
	width: 22rem;
	overflow: auto;
	height: 15rem;
	padding: 2px 4px;
	border: 1px solid lightgray;
	text-align: left;
	margin: 0;
}
#table_cm_list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.table-cm-item li {
	padding: 0 20px;
}
.table-cm-item:not(.visible-item),
.table-cm-item:not(.visible-item) li {
	color: darkgray;
}
.table-cm-show {
	display: inline-block;
	overflow: hidden;
	width: 20px;
	height: 20px;
	border: 1px solid lightgray;
	background-color: white;
	margin: 0 3px -2px 0;
	cursor: pointer;
}
.table-cm-item.visible-item > .table-cm-show:after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 12px;
	margin: 0 0 6px 5px;
	border-right: 2px solid steelblue;
	border-bottom: 2px solid steelblue;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.table-cm-label {
	display: inline-block;
	font-size: 1.5rem;
	padding: 4px 6px;
	/*+border-radius: 4px;*/
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	border-radius: 4px;
	line-height: 1;
	cursor: pointer;
}
.table-cm-item.current-item > .table-cm-label {
	background-color: lightblue;
}
.table-cm-buttons {
	text-align: center;
	margin: 12px 0 0 0;
}
.table-cm-buttons > div {
	display: inline-block;
	height: 30px;
	/*+box-shadow: 1px 1px 4px;*/
	-moz-box-shadow: 1px 1px 4px;
	-webkit-box-shadow: 1px 1px 4px;
	box-shadow: 1px 1px 4px;
	/*+border-radius: 3px;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
	cursor: pointer;
	user-select: none;
	background-color: whitesmoke;
	border: 1px solid whitesmoke;
	vertical-align: top;
}
div.table-cm-order {
	font-family: 'FontAwesome';
	font-size: 1.5rem;
	line-height: 1;
	width: 30px;
	padding: 3px;
	margin: 0 14px 0 -8px;
}
div.table-cm-button {
	width: 7rem;
	padding: 3px;
	margin: 0 -6px 0 14px;
}
.table-cm-button:hover,
.table-cm-order:not(.disabled):hover {
	background: lightblue;
	border: 1px solid lightblue;
	transition: background-color 300ms ease, color 300ms ease;
}
.table-cm-button:focus,
#table_cm_list:focus,
.table-cm-order:focus {
	border: 1px solid gray !important;
}
.table-cm-order.disabled {
	color: darkgray;
}
/*fade*/
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1s;
	animation-name: fade;
	animation-duration: 1s;
}
@-webkit-keyframes fade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}
@keyframes fade {
	from {
		opacity: 0.4;
	}
	to {
		opacity: 1;
	}
}
/*print support*/
#print_container {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	visibility: hidden;
}
@media print {
	body.doc-print {
		visibility: hidden;
	}
	body:not(.doc-print) {
		visibility: visible;
	}
	#print_layout.doc-print {
		visibility: visible;
		position: absolute;
		left: 0;
		top: 0;
	}
	#print_layout:not(.doc-print) {
		display: none;
	}
}
@media screen {
	body {
		visibility: visible;
	}
	#print_layout {
		display: none;
	}
}
