html {
	overflow: hidden;
}
html, body {
	height: 100%;
}
body {
	margin: 0;
	padding: 0 0 20px 0;
	text-align: center;
	background-color: #FFF;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}
body.lg {
	background: url(/img/lgb.jpg) no-repeat;
	background-size: cover;
}
#lg {
	background: #FFF;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	transform: translate(0,-50%);
	text-align: left;
}
#lg>img {
	display: inline-block;
	vertical-align: top;
	width: 50%;
}
#lg>div {
	position: absolute;
	width: 50%;
	right: 0;
	top: 0;
	bottom: 0;
}
#lg>div>div {
	position: absolute;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
#lg>div>div>div {

}

#over {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: #EEE;
	background-color: rgba(0,0,0,0.5);
	z-index: 2147483647;
	opacity: 0;
}
#bx {
	position: absolute;
	display: none;
	background-color: #FFF;
	text-align: left;
	z-index: 2147483647;
	width: 660px;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	padding: 15px;
	border: 2px solid #333;
	-moz-box-shadow: 3px 3px 4px #555;
	-webkit-box-shadow: 3px 3px 4px #555;
	box-shadow: 3px 3px 4px #555;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#555')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#555');
	overflow-y: auto;
}
#bx>h1>span {
	display: block;
	width: 23px;
	height: 21px;
	background-color: #878585;
	background-image: url(/img/cls.png);
	background-repeat: no-repeat;
	position: absolute;
	right: 6px;
	top: 6px;
	cursor: pointer;
}
#bx>h1 {
	background-color: #610A1B;
	margin: -15px -15px 15px -15px;
	padding: 8px;
	font-size: 13px;
	cursor: default;
	background-image: none;
	color: #FFF;
}
#bx iframe {
	border: 0;
	margin: 0;
	width: 100%;
}
#bx form.c {
	text-align: center;
	margin: 20px 0 0 0;
}
#bprg {
	position: absolute;
	left: 50%;
	top: 50%;
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center
}
#bprg>span {
	display: block;
	margin: 0 0 20px 0;
	font-size: 18px;
	color: #FFF;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	min-width: 300px;
	max-width: 80%
}
#bprg>div>div {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #FFF;
	margin: 0 4px;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	vertical-align: middle
}
#bprg>div>div.a {
	background-color: #610a1b;
	width: 12px;
	height: 12px
}
#js_nd {
	text-align: center;
	font-weight: bold;
	padding: 20px  0;
}

#header, #main, #menu {
	min-width: 300px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
	position: relative;
}
#header {
	height: 63px;
}
#header>a:first-child {
	float: left;
}
#header>div {
	float: right;
	text-align: right;
}
#header>div>div:first-child {
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 5px;
}
#header>div>div:last-child {
	margin-top: 4px;
}
#menu {
	background-color: #610A1B;
	color: #FFF;
}
#menu a {
	color: #FFF;
	text-decoration: none;
}
#menu a:hover {
	text-decoration: underline;	
}
#menu>div {
	float: right;
	color: #FFF;
}
table.login {
	min-width: 300px;
	margin: 0 auto;
}
table.login td {
	padding: 3px 0;
}
table.login a.ll {
	display: block;
	float: right;
	margin: 5px 0 0 0;
}
div.info {
	margin: 10px 0;
	border: 2px solid #999;
	background: #EEE;
	padding: 10px;
	font-size: 1.2em;
}

form {
	margin: 0px;
}
textarea {
	resize: none;
}
select {
	background-color: #FFF;
}
.fld, .fld100, .fldq, .fld100q {
	border: 1px solid #333;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #FFF;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 4px;
}
.fld100, .fld100q {
	width: 100%;	
}
.fldq, .fld100q {
	background-image: url(/img/req.gif);
	background-repeat: no-repeat;
	background-position: right top;
}
.btn {
	border: 1px solid #000;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	padding: 5px 16px;
	background-color: #EEE;
	text-decoration: none;
}
.uootblm, .uootbl {
	width: 100%; border: 0;
}

div.pg {
	clear: both;
	padding: 2px 0;
	margin-bottom: 4px;
}
div.pg, div.pg td, div.pg select {
	font-family: Verdana;
	font-size: 11px;
	vertical-align: middle;
}
table.n {
	width: 100%;
	border: 0;
}
table.n td {
	vertical-align: top;
}
table.gal {
	width: 100%;
	border: 0;
}
table.gal td {
	vertical-align: top;
	text-align: center;
	padding-bottom: 10px;
}
table.gal img {
	border: 1px solid #999;
}
.break, .clear {
	clear: both;
	height: 1px;
	font-size: 1px;
}
* html .break {
	display:none;
}
#preloader {
	display:none;
}

@media print {
 #header, #menu {
	display: none;
 }
 #main {
	float: none;
	width: 100%;
 }
}

a.nx, a.pr {
	display: block;
	float: right;
	width: 24px;
	height: 24px;
	background: #DDD url(/img/ar.png) no-repeat center center;
	margin: 4px 0 0 4px;
	transition: all 0.3s ease-out;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}
a.nx {
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	-o-transform: rotate(270deg);
	transform: rotate(270deg);
}
a.nx:hover, a.pr:hover {
	background-color: #CCC;
}

table.pol {
	width: 100%;
	border: 0;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
}
table.pol td, table.pol th {
	text-align: left;
	padding: 4px;
	border-right: 1px solid #333;
	border-top: 1px solid #333;
	vertical-align: top;
}
table.pol td.pol {
	padding-top: 0;
	padding-bottom: 0;
}
table.pol th {
	background-color: #EEE;
}
tr.o td, tr.o td a {
	color: #009900;
}
tr.b td, tr.b td a {
	background-color: #D0D0D0;
}
table.pol table {
	width: 100%;
	border: 0;
}
table.pol td tr td:first-child {
	width: 90px;
}
table.pol td td {
	border-right: 0;
}
table.pol td tr:first-child td {
	border-top: 0;
}
table.pol tr tr td {
	cursor: default;
}
table.pol tr tr[data-j]:hover td {
	background-color: #EEE;
	cursor: pointer;
}
table.pol td tr td:nth-child(2) {
	width: 18px;
	padding-top: 2px;
	padding-bottom: 0;
}
table.pol td tr td:nth-child(3) {
	position: relative;
	width: 16px;
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	padding-top: 4px;
	padding-bottom: 2px;
}
table.pol div.p {
	padding: 4px;
}
#xcnt {
	position: absolute;
	z-index: 9999;
	background: #FFF;
	left: 0;
	top: -8px;
	border: 1px solid #666;
	-moz-box-shadow: 3px 3px 4px #555;
	-webkit-box-shadow: 3px 3px 4px #555;
	box-shadow: 3px 3px 4px #555;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#555')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#555');
	width: 106px;
}
#xcnt>input, #xcnt>div {
	display: inline-block;
	vertical-align: middle;
}
#xcnt>div {
	-webkit-user-select: none;
	-khtml-user-select: none
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#xcnt>input {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	width: 36px;
	border: 0;
	outline: none;
}
#xcnt>div {
	width: 70px;
}
#xcnt>div>div {
	display: inline-block;
	vertical-align: top;
	width: 32px;
	height: 32px;
	margin: 3px 3px 3px 0;
	background: url(/img/bm.png) no-repeat;
}
#xcnt>div>div:first-child{background-image:url(/img/bp.png)}

#xcnt>input[type="number"]::-webkit-inner-spin-button, 
#xcnt>input[type="number"]::-webkit-outer-spin-button { 
	-webkit-appearance: none; 
	margin: 0; 
}
#xcnt>input[type="number"] {
	-moz-appearance: textfield;
}

table.pol td tr td:nth-child(4) {
	width: 16px;
	text-align: center;
}
table.pol td tr td:nth-child(2) div {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	background: url(/img/chk.png) no-repeat;
	background-size: 100%;
}
table.pol td tr td:nth-child(2) div.s {
	background-image: url(/img/chkd.png);
}
table.pol td td div.s {
	background-color: #660000;
}
table.pol td span.al {
	display: block;
	float: right;
	margin: -2px 0 0 15px;
}
table.pol td span.al b {
	display: inline-block;
	vertical-align: middle;
	padding: 1px 3px;
	background: #EEE;
	border: 1px solid #666;
}
table.pol td span.al span {
	font-weight: bold;
	font-size: 16px;
	color: #666;
	line-height: 100%;
}
table.pol img {
	border: 0;
	vertical-align: top;
}

#leg {
	margin: 20px 0;
	color: #999;
	font-style: italic;
}

#kobj, #kobj div.s {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#kobj {
	position: relative;
	border: 1px solid #000;
}
#kobj div.s, #kobj div.o {
	position: absolute;
	border: 1px solid #000;
	cursor: pointer;
}
#kobj div.s {
	-webkit-box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.5); 
	box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.5);
}
#kobj div.s:hover {
	border-color: #C00;
}
#kobj div.s.obm {
	pointer-events: none;
	background: #00B200;
}
#kobj div.s.ob {
	pointer-events: none;
	background-image: linear-gradient(45deg, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 100%);
	background-size: 28.28px 28.28px;
}
#kobj div.s>div.m1, #kobj div.s>div.m2, #kobj div.s>div.m3, #kobj div.s>div.m4 {
	position: absolute;
	text-align: center;
}
#kobj div.s>div.m1>div, #kobj div.s>div.m2>div, #kobj div.s>div.m3>div, #kobj div.s>div.m4>div {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	white-space: nowrap;
}
#kobj div.s>div.m1>div>div, #kobj div.s>div.m2>div>div, #kobj div.s>div.m3>div>div, #kobj div.s>div.m4>div>div {
	display: inline-block;
	vertical-align: middle;
	width: 15px;
	height: 15px;
	border: 1px solid #000;
	border-radius: 50%;
}
#kobj div.s>div.m1{top:-12px;left:0;right:0}
#kobj div.s>div.m2{bottom:-12px;left:0;right:0}
#kobj div.s>div.m3{left:-12px;top:0;bottom:0}
#kobj div.s>div.m4{right:-12px;top:0;bottom:0}
#kobj div.s>div.m1>div>div,#kobj div.s>div.m2>div>div{margin:0 5px}
#kobj div.s>div.m3>div>div,#kobj div.s>div.m4>div>div{margin:5px 0}

#kobj div.s div.i {
	max-width: calc(100% - 10px);
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	text-align: center;
	text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF;
	padding: 4px;
	background: rgba(255,255,255,0.7);
}

#knab {
	width: 100%;
	border: 0;
	margin: 0 0 10px 0;
}
#knab th, #knab td {
	border-bottom: 1px solid #000;
	padding: 5px 5px 5px 0;
}
#knab tr:hover td {
	background: #F5F5F5;
}
#knab td:first-child {
	width: 50px;
}
#knab th {
	text-align: left;
}
#knab th:last-child, #knab td:last-child {
	text-align: right;
}
#knab input[type="number"] {
	width: 100%;
	background: transparent;
}

#ksop {
	margin: 10px -15px 0 -15px;
}
#ksop>div {
	display: inline-block;
	vertical-align: top;
	width: calc(20% - 10px);
	margin: 0 5px 15px 5px;
}
#ksop>div>div {
	padding: 5px;
	border-bottom: 1px solid #999;
}
#ksop>div>div.o {
	opacity: 0.5;
}
#ksop>div>div:first-child {
	border: 1px solid #000;
	padding: 5px;
	margin: 0;
	background: #EEE;
}
#ksop>div>div>div {
	background: #F9F9F9;
	padding: 5px;
	margin: 5px -5px -5px -5px;
}

div.kch a {
	display: inline-block;
	background: #610A1B;
	color: #FFF;
	padding: 8px 12px;
	text-decoration: none;
}
div.kch a:hover {
	background: #000;
}

.tcalInput {
	width: 100px;
	padding-right: 20px;
	cursor: pointer;
	background: #FFF url(/tcimg/cal.gif) no-repeat 96% center;

}
.tcalActive {
	background-image: url(/tcimg/no_cal.gif);
}
#tcal {
	position: absolute;
	visibility: hidden;
	z-index: 100;
	width: 170px;
	background-color: white;
	margin-top: 2px;
	padding: 0 2px 2px 2px;
	border: 1px solid silver;
	-moz-box-shadow: 3px 3px 4px silver;
	-webkit-box-shadow: 3px 3px 4px silver;
	box-shadow: 3px 3px 4px silver;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='silver')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='silver');
}
#tcalControls {
	border-collapse: collapse;
	border: 0;
	width: 100%;
}
#tcalControls td {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	width: 16px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
}
#tcalControls th {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	line-height: 25px;
	font-size: 10px;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: bold;
	white-space: nowrap;
}
#tcalPrevYear { background-image: url('/tcimg/prev_year.gif'); }
#tcalPrevMonth { background-image: url('/tcimg/prev_mon.gif'); }
#tcalNextMonth { background-image: url('/tcimg/next_mon.gif'); }
#tcalNextYear { background-image: url('/tcimg/next_year.gif'); }

/* table containing week days header and calendar grid */
#tcalGrid {
	border-collapse: collapse;
	border: 1px solid silver;
	width: 100%;
}
#tcalGrid th {
	border: 1px solid silver;
	border-collapse: collapse;
	padding: 3px 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 10px;
	background-color: gray;
	color: white;
}
#tcalGrid td {
	border: 0;
	border-collapse: collapse;
	padding: 2px 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	width: 14%;
	font-size: 11px;
	cursor: pointer;
}		
#tcalGrid td.tcalOtherMonth { color: silver; }
#tcalGrid td.tcalWeekend { background-color: #E1DFDD }
#tcalGrid td.tcalToday { border: 1px solid #37176A; }
#tcalGrid td.tcalSelected { background-color: #37176A; color: #FFF; }

@media only screen and (max-width: 980px) {
 #lg>img {
	width: 100%;
 }
 #lg>div, #lg>div>div {
	position: relative;
	width: auto;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	-ms-transform: none;
	-o-transform: none;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;

 }
 #lg>div {
	padding: 30px 10px;
 }

}

@media only screen and (max-width: 580px) {
 #header {
	text-align: center;
	height: auto;
 }
 #header>a:first-child {
	float: none;
	display: inline-block;
	margin: 0 0 10px 0;
 }
 #header>div {
	float: none;
	width: 100%;
	text-align: center;
 }
 table.pol>tbody>tr>th:first-child {
	display: none;
 }
 table.pol>tbody>tr>td {
	display: block;
 }
 table.pol>tbody>tr>td:first-child {
	padding: 8px;
 }
 table.pol>tbody>tr>td:first-child div {
	display: inline-block;
 }
 table.pol>tbody>tr>td:first-child div::after {
	display: inline-block;
	content: ",";
	margin: 0 3px 0 0;
 }
 table.pol>tbody>tr>td:first-child, table.pol>tbody>tr>td:first-child div {
	font-weight: bold;
	font-size: 13px;
 }

}
@media only screen and (max-width: 420px) {
 table.pol td tr {
	display: block;
	position: relative;
 }
 table.pol td tr td:first-child, table.pol td tr td:last-child {
	width: auto;
	display: block;
 }
 table.pol td tr td:first-child {
	background: #F6F6F6;
 }
 table.pol td tr td:nth-child(2), table.pol td tr td:nth-child(3) {
	position: absolute;
	display: block;
	height: 16px;
	top: 3px;
	right: 3px;
	padding: 0;
	border: 0;
 }
 table.pol td tr td:nth-child(2) div {
	margin-top: 0;
 }
 table.pol td tr td:nth-child(3) {
	right: 20px;
 }
 table.pol td tr td:nth-child(4) {
	display: none;
 }
 table.pol td span.al {
	float: none;
	display: block;
	text-align: right;
	margin: 2px 0;
 }
 table.pol td tr:first-child td:first-child {
	border-bottom: 1px solid #333;
 }
 table.uootbl, table.uootbl>tbody, table.uootbl>tbody>tr, table.uootbl>tbody>tr>td,
 table.login, table.login>tbody, table.login>tbody>tr, table.login>tbody>tr>td {
	display: block;
	width: auto !important;
 }
 table.uootbl>tbody>tr>td:empty, table.login>tbody>tr>td:empty {
	display: none;
 }
 table.uootbl>tbody>tr>td:first-child, table.login>tbody>tr>td:first-child {
	padding-top: 8px;
	padding-bottom: 0;
 }
 h1:first-child {
	margin-bottom: 0;
 }
 a.nx+h1 {
	margin-top: 0;
 }
 table.login {
	margin: 10px 0;
 }
 #xcnt {
	left: auto;
	right: -16px;
	top: 0;
 }

}


