* { margin: 0; padding: 0; }
h1 { font-size: 120%; }
h2 { font-size: 115%; }
h3 { 
	font-size: 110%;
/*	width: 100%; */
	color: #333;
	background-color: #efe;
	padding: 2px;
	margin-top: 5px;
	margin-bottom: 5px;
}
body {
	font: normal 13px arial, helvetica, hirakakupro-w3, osaka, "ms pgothic", sans-serif;
}
a img { border-style:none; }
a { text-decoration: none; }
a:hover { background-color: #ff0; }

#header {
	min-height: 22px;
	background-color: #000;
	background-image:url(header.png);
	color: #666;
	padding: 2px;
}
#footer {
/*	border-top: #ccc 1px solid; */
/*	background-image:url(footer.png);
	background-repeat:repeat-x;
	background-color: #eee; */
	background-color: #008000;
	color: #eee;
	height: 20px;
	padding: 2px;
	font-size: small;
	text-align: center;
}

#container {
/*	width: 100%; */
/*	background-color: #efe; */
}

#main {
	background-color: #ffffff;
	width: auto ! important;
	margin-right: 200px ! important;
	min-width: 300px;
	min-height: 420px;
	padding: 0.2em 10px 5px 10px ! important;
}

#sidebar {
	background-color: #ffffff;
	font-size: small;
	width: 180px ! important;
	float: right;
	display: inline;
	top: auto ! important;
	right: 0px ! important;
	padding: 0.2em 10px 0 10px ! important;
}

.content {
	border: #eee 1px solid;
	background-color: #eef;
}

.list_table {
	width: 100%;
	font-size: small;
	border-collapse:collapse;
}

.list_table th { background: #eee; border:#ccc 1px solid; }
.list_table td { border: #ddd 1px solid; padding: 2px; }
.list_table tr {}
.list_table tr.odd { background:#f8f8f8; }
.list_table tr.even { background:#fff; }

#global_nav {
	clear: both;
	margin:0;
	padding:0;
	width: 100%;
	background-image:url(menu.png);
	background-repeat:repeat-x;
	background-color: #666;
	font-size: 9pt;
/*	display: inline-block; */ /* Firefox css error! */
	border-top: #ddd 1px solid;
/*	border-bottom: #ddd 1px solid; */
}
#global_nav ul {
	height: 1.6em;
	margin: 0;
	padding: 0;
/*	font-size: .85em; */
	list-style : none;
	text-align: center;
	color: #555;
	background: transparent;
}
#global_nav ul li {
	display: inline;
}
#global_nav ul li a {
/*	background: #666; */
	color: #333;
	text-decoration: none;
	border-right: 1px solid #fff;
	float: left;
	padding: 2px 5px;
	min-width: 40px;
}

#global_nav ul li a:active,
#global_nav ul li a:hover {
	background: #ffac59;
	color: #333;
}

#global_nav ul li.selected a,
#global_nav ul li.selected a:active,
#global_nav ul li.selected a:hover  {
	background: #777;
	color: #eee;
}

#header_nav {
	float: right;
	font-size: small;
	background: transparent;
	vertical-align: bottom;
}
#header_nav ul {
/*	background-color: #cce; */
	list-style: none;
}
#header_nav ul li {
	float: left;
	padding: 3px 3px;
/*	background-color: #cce; */
}
#header_nav ul li a {
	padding-right: 5px;
	text-decoration: none;
	border-right: 1px solid #aab;
	color: #666;
/*	font-weight: bold; */
}

.clear {
	clear: both;
}

#header_logo {
	float: left;
	background: transparent;
	margin-right: 300px ! important;
}
#header_logo a {
	text-decoration: none;
	color: #666;
/*	font-weight: bold; */
	font-family: arial;
}

/* form table */
.form_table {
	width: 98%;
	border-top: #999 1px solid;
}
.form_table tr {}
.form_table td { 
	border-bottom: #999 1px solid;
	padding: 2px;
}
.form_table th {
	font-weight: normal;
	border-bottom: #999 1px solid;
	border-right: #999 1px dashed;
	padding: 2px;
	text-align: right;
	width: 1%; white-space: nowrap;
}
.form_required { color: red; }

.msgbox {
	width: 100%;
	background: #eef;
	border: #ddd 1px solid;
	padding: 2px;
	font-size: small;
	font-weight: bold;
	margin-bottom: 4px;
}

.msgbox ul li {
	margin-left: 20px;
}

.icon_small { vertical-align:middle; }

.hint { font-size: small; color: #666; }

/** widget **/
.widget {
	line-height: 120%;
	margin-bottom: 5px;
	border: #ccc 1px solid;
}
.widget .title {
	color: #333;
/*	background-color: #66f; */
	background-image:url(title.png);
	background-repeat:repeat-x;
	font-weight: bold;
	font-size: small;
	padding: 2px;
/*	border-top: #ccc 1px solid;
	border-left: #ccc 1px solid;
	border-right: #ccc 1px solid; */
	border-bottom: #ccc 1px solid;
	min-height: 18px;
}
.widget .title a { /* color: #fff; */ text-decoration: none; }

.widget .title .left { float: left; }
.widget .title .right { float: right; }

.widget .main {
	clear: both;
	background:#fff; border: 0; line-height:140%;
	padding: 2px;
/*	border: #ccc 1px solid; */
}

.widget .main li {
	list-style-type: none;
}

.widget .main li a {
	text-decoration: none; color: #000; 
	display: block;
	border:#fff 1px solid;
/*	border-left: #ccc 1px solid;
	border-right: #ccc 1px solid;
	border-bottom: #ccc 1px solid; */
/*	padding: 2px 0 2px 2px; */
	margin-bottom: 2px;
}

.widget .main li a:hover {
	color: #fff;
	background-color: #555;
	border:#ccc 1px solid;
}

.widget .selected {
	border:#000 1px solid;
	background-color: #ccf;
}

/* jstab */
.tabheader {
}
.tabheader ul {
	list-style: none;
}
.tabheader ul li {
	float: left;
	padding: 3px 3px;
/*	background-color: #cce; */
	margin-right: 2px;
}

.tabheader .close {
  border-style: solid;
  border-width: 1px; 
  border-color: #666;
  background-color: #d0d0d0;
  margin:0;
  padding: 0.2em;
  white-space: nowrap;
}
.tabheader .open {
  border-style: solid;
  border-width: 1px; 
  border-color: #666 #666 #fff #666;
  background-color: white;
  margin:0;
  padding: 0.2em;
  white-space: nowrap;
}

.tabheader a {text-decoration: none;}
.tabbody {
  border-color: #666;
  border-style: solid;
  border-width: 0 1px 1px 1px;
  padding: 0.2em;
}
