html, body {
	margin:0;
	min-width:0;
}
body {
	font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
	font-size: 14px;
	background:#bebebe url(../resources/website_bg_repeat-x.png) repeat-x;
	cursor: default;
	color:#17202a;
}

*, *::before, *::after { box-sizing:border-box; }

.app-shell { width:min(95%,1440px); margin:0 auto; }
.app-columns { width:100%; }
.app-sidebar { width:220px; padding-right:10px; }
.app-content { min-width:0; }

input, textarea, select {
	font:inherit;
	max-width:100%;
	padding:.45rem .55rem;
	border:1px solid #aab2bd;
	border-radius:4px;
}

button,input[type="submit"],input[type="button"] {
	min-height:36px;
	cursor:pointer;
}

img { max-width:100%; height:auto; }
table { max-width:100%; }

a:link,a:active,a:visited,a.postlink {
	color: #000000;
	text-decoration:underline;
}
a:hover {
	color:#606060;
	text-decoration:underline;
}

a img{
  border:0px;
}

.footer {
	text-align: center;
	padding-top: 5px;
	color: #909090;
	font-size: 8px;
}
th {
	font-size: 12px;
	text-align: left;
}
td {
	vertical-align: top;
	text-align: left;
}
td.menu {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	color: white;
}
th.block {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	padding-left: 5px;
	vertical-align: middle;
	color: white;
}
th.block a:link,th.block a:active,th.block a:visited,th.block a.postlink {
	color: #ffffff;
}
th.block a:hover {
	color: #aaaaaa;
}

.b_top_left {
background:#ffffff url(../resources/website_block_top_left.png);width: 14px;height: 40px;padding-left: 14px;
}
.b_top_center {
background:#ffffff url(../resources/website_block_top_center.png);width: 14px;height: 40px;
}
.b_top_right {
background:#ffffff url(../resources/website_block_top_right.png);width: 14px;height: 40px;padding-right: 14px;
}
.b_main_left {
background:#ffffff url(../resources/website_block_main_left.png);width: 14px;
}
.b_main_center {
background:#ffffff url(../resources/website_block_main_center.png);width: 100%;
}
.b_main_right {
background:#ffffff url(../resources/website_block_main_right.png);width: 14px;
}
.b_bottom_left {
background:#ffffff url(../resources/website_block_bottom_left.png);width: 14px;height: 14px;
}
.b_bottom_center {
background:#ffffff url(../resources/website_block_bottom_center.png) repeat-x;width: 14px;height: 14px;
}
.b_bottom_right {
background:#ffffff url(../resources/website_block_bottom_right.png);width: 14px;height: 14px;
}

.w_top_left {
background:#ffffff url(../resources/website_top_left.png);min-width: 32px;height: 32px;
}
.w_top_center {
background:#ffffff url(../resources/website_top_center.png);min-width: 32px;height: 32px;
}
.w_top_right {
background:#ffffff url(../resources/website_top_right.png);min-width: 32px;height: 32px;
}
.w_head_left {
background:#ffffff url(../resources/website_head_left.png);width: 32px;height: 120px;
}
.w_head_center {
/*background:#ffffff url(../resources/website_head.png) no-repeat;width: 32px;height: 120px;*/
	background:#ffffff url(../resources/website_head_moonsys.png) no-repeat center;width: 32px;height: 120px;
}
.w_head_right {
background:#ffffff url(../resources/website_head_right.png);width: 32px;height: 120px;
}
.w_menu_left {
background:#ffffff url(../resources/website_menu_left.png);width: 32px;height: 41px;
}
.w_menu_center {
background:#ffffff url(../resources/website_menu_center.png);width: 32px;height: 41px;
}
.w_menu_right {
background:#ffffff url(../resources/website_menu_right.png);width: 32px;height: 41px;
}
.w_main_left {
background:#ffffff url(../resources/website_main_left.png);width: 32px;height: 512px;
}
.w_main2_left {
background:#ffffff url(../resources/website_main2_left.png) repeat-y;width: 32px;height: 1px;
}
.w_main_center {
background:#ffffff;width: /*950px replaced with 100%*/100%;height: 512px;
}
.w_main_right {
background:#ffffff url(../resources/website_main_right.png);width: 32px;height: 512px;
}
.w_main2_right {
background:#ffffff url(../resources/website_main2_right.png) repeat-y;width: 32px;height: 1px;
}
.w_bottom_left {
background:#ffffff url(../resources/website_bottom_left.png);width: 32px;height: 32px;
}
.w_bottom_center {
background:#ffffff url(../resources/website_bottom_center.png);width: 32px;height: 32px;
}
.w_bottom_right {
background:#ffffff url(../resources/website_bottom_right.png);width: 32px;height: 32px;
}

/*PAGE SETUP of text, color, background and border(page means page box or block box)*/

.tsmall{
font-size:9px;
}
.tsmaller{
font-size:11px;
}

.bdarker{
background:#b5b5b5;
}

.bdark{
background:#c9c9c9;
}
.blight{
background:#dadada;
}

.aleft{
text-align:left;
}
.acenter{
text-align:center;
}
.aright{
text-align:right;
}
.hide, .hide a, .hide a:link, .hide a:visited{
	background:#ffffff;
	color: #cccccc;
}

.native-lightbox {
	position:fixed;
	inset:0;
	z-index:9999;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:2rem;
	background:rgba(4,12,22,.88);
}
.native-lightbox[hidden] { display:none; }
.native-lightbox img { max-width:min(96vw,1400px); max-height:90vh; border-radius:6px; }
.native-lightbox button {
	position:absolute;
	top:1rem;
	right:1rem;
	border:0;
	background:#fff;
	font-size:1.4rem;
	width:44px;
	height:44px;
	border-radius:50%;
}

@media (max-width: 760px) {
	body { background:#eef1f4; font-size:16px; }
	.app-shell { width:100%; }
	.w_top_left,.w_top_right,.w_head_left,.w_head_right,.w_menu_left,.w_menu_right,
	.w_main_left,.w_main_right,.w_main2_left,.w_main2_right,.w_bottom_left,.w_bottom_right {
		display:none;
	}
	.w_head_center { height:88px; background-size:contain; }
	.w_main_center { height:auto; padding:.75rem; }
	.app-columns,.app-columns tbody,.app-columns tr,.app-columns td { display:block; width:100%; }
	.app-sidebar { padding:0 0 .75rem; }
	.b_main_center { overflow-x:auto; }
	input,textarea,select,button { min-height:44px; }
}
