* {
	margin: 0;
	padding: 0;
}

#navcontainer {
	float: left;
	width: 100%;
	background-color: #f5f5f5;
}


#main {
	clear: both;
}

#footer {
	text-align: right;
	clear: both;
	padding-top: 15px;
	font-size: 10px;
}

.center {
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
}

.small    { font-size: small; }

img       { border-style: none; }

a, a:visited  { text-decoration: none; color: #3366ff; }
a:hover   { color: #ff6633; }

tr.gray, td.gray { background-color: #cccccc; }
span.gray   { color: #cccccc; }
span.match  { background-color: #ffff99; }
th, td.th   { color: #ffffff; background-color: #6d88ad; font-weight: bold; text-align: center; }
fieldset    { padding: 2px; }
ul, ol      { padding-left: 2em; }
li.help     { margin: 20px 0px; }
option      { padding: 0px 3px; }

th, td   { padding: 0px 5px; }
.form td { padding: 5px 5px; }

table.frame {
	border: 1px solid #556;
	text-align: left;
	margin-top: 3px;
	margin-left: auto;
	margin-right: auto;
}

table caption {
	margin: 0pt auto;
}

div.process p {
	margin-left: 30px;
}

.rss      {
	font-size: small;
	text-align: left;
	border: 1px solid #6d88ad;
	background-color: #bbeeff;
	padding: 0 40px;
	clear: both;
}

.image   {
	width: 512px;
}

.history, .pol {
	width: 512px;
	height: auto;
	margin-top: 15px;
	margin-bottom: 15px;
}

.counter {
	width: 60px;
}

.ads {
	width: 512px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.google {
	width: 468px;
}

/* nifty corner */
div#error {
	margin: 10px 10px;
	width: 20em;
	background: #ffeeee;
}

#error b.rtop b, #error b.rbottom b {
	background: #ffeeee;
}

div#login {
	margin: 10px 10px;
	width: 12em;
	background: #eeeeff;
}

#login b.rtop b, #login b.rbottom b {
	background: #eeeeff;
}

#inputpanel {
	border-width: 0;
}

#inputpanel b.rtop b, #inputpanel b.rbottom b {
	background: #cce;
}

.notice {
	background: #cce;
	border-width: 0;
	width: 270px;
}

.notice b.rtop b, .notice b.rbottom b {
	background: #cce;
}

b.rtop b, b.rbottom b {
	display:block;
	height: 1px;
    overflow: hidden;
}

b.rtop, b.rbottom{
	display:block;
	background: #FFF;
}

b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, b.rbottom b.r4{
	margin: 0 1px;
	height: 2px;
}

/* menu */
#nav, #nav ul {
	float: left;
	list-style: none;
	line-height: 1;
	background: #f5f5f5;
	font-weight: bold;
	padding: 0;
	border-width: 1px 0;
	z-index: 100;
	display: inline;
}

#nav a {
	text-align: center;
	display: block;
	width: 10em;
	w\idth: 5em;
	color: #3366ff;
	text-decoration: none;
	padding: 0.1em 1em;
}

#nav li {
	border-top-color: #e5e5e5;
	border-right-color: #999999;
	border-bottom-color: #999999;
	border-left-color: #e5e5e5;
	border-width: 1px;
	border-style: solid;
	float: left;
	padding: 0;
	width: 7em;
}

#nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 12.4em;
	w\idth: 9.9em;
	font-weight: normal;
	margin: 0;
}

#nav li li {
	width: 10em
}

#nav li ul a {
	width: 13em;
	w\idth: 8em;
}

#nav li ul ul {
	margin: -1.75em 0 0 14em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.sfhover {
	background: #ffccff;
}

/* tooltip */
a.tooltip, a.tooltip:link, a.tooltip:visited, a.tooltip:active {
    position:relative;
    color:#000;
	text-decoration:none
}

a.tooltip:hover {
    color:#f00;
	background: transparent;
	z-index: 10;
}

a.tooltip span.popup{
	display: none
}

a.tooltip:hover span.popup {
    display:block;
    position:absolute;
    top:2em; left:1em; width:13em;
    border:1px solid #6d88ad;
    background-color:#ffffe1; color:#000;
	text-align: center
	z-index: 20;
}

.popup .caption,
.popup .content {
	display:block;
	position:relative;
}

.popup .caption {
	text-align:center;
	background-color:#6d88ad;
	color:white;
	font-weight:bold;
}

.popup .content {
	padding:4px 6px;
}

/* popup */
.panel {
	display:none;
	position:absolute;
	width:14em;
	border:1px solid #6d88ad;
	background-color:#ffffe1;
	z-index: 50;
}

.ajaxpanel {
	display:none;
	position:absolute;
	border:1px solid #6d88ad;
	background-color:#ffffe1;
	width:15em;
	z-index: 50;
}

.ajaxpanel .border {
	border-width: 0 0 1px 0;
	border-color: #6d88ad;
	border-style: solid;
}

.bar {
	background-color:#6d88ad;
}

.title {
	font-weight:bold;
	color:white;
	text-align:center;
}

.content {
	padding: 3px;
}

/* tool */
#tool-reg {
	float: left;
	width: 680px;
	margin: 10px 0 20px 10px;
	border: 1px solid #7788dd;
}

.tool-bar {
	background: #ecf4ff;
	cursor: pointer;
	border-width: 0 0 1px 0;
	border-color: #7788dd;
	border-style: solid;
}

.tool-title {
	height: 25px;
}

#tool-reg-content {
	margin: 5px 0 0 5px;
}

#item-box {
	display: inline;
	float: left;
	width: 185px;
	height: 175px;
	margin-right: 10px;
}

#item-list {
	float: left;
	overflow: auto;
	padding: 0px 8px;
	width: 160px;
	height: 145px;
	border: 1px solid #c9c7ba;
}

#comment-box {
	display: inline;
	float: left;
	width: 183px;
	margin-right: 10px;
}

#comment-box textarea {
	width: 181px;
	height: 143px;
}

#tool-box {
	display: inline;
	float: left;
	padding-top: 20px;
}

#tool-box label {
	width: 3em;
	float: left;
	text-align: right;
	margin-right: 1em;
}

#tool-box #num {
	padding: 2px 4px;
	ime-mode:disabled;
}

#tool-box input, #tool-box select {
	margin-bottom: 10px;
}

#tool-util {
	float: left;
	margin: 10px 0 20px 25px;
	width: 370px;
	border: 1px solid #7788dd;
}

#tool-util-content, #tool-move-content {
	margin: 5px 0 0 5px;
	height: 30px;
}

#tool-move-content {
	margin: 5px 0 0 5px;
	height: 30px;
}

#tool-move {
	float: left;
	margin: 10px 0 20px 40px;
	width: 230px;
	border: 1px solid #7788dd;
}

#posslist {
	clear: left;
	margin-left:   10px;
	width: 58em;
}

.toggle {
	margin: 0 2px 0 2px;
}

.clear {
	clear: both;
}

.display {
	float: left;
}

.command {
	float: left;
	margin: 0 30px;
}

.list {
	border: 1px solid black;
	margin-left: auto;
	margin-right: auto;
}

.list_body {
	margin: 2px 0px 2px 0px;
	float: left;
	width: 18em;
}

.mv_button {
	margin-top: 1.3em;
	float: left;
}

.pointer {
	cursor: pointer;
}

.reload {
    cursor: pointer;
    padding: 0 3px;
}

#loading {
    text-align: center;
    margin-top: 50px;
}
