/* Main Style */

body{
	margin:0;
	padding: 0;
	font-family: Meiryo, 'メイリオ', Verdana, Helvetica, Osaka, Arial, sans-serif;
	color: #333;
	font-size : 86%;
	line-height: 1.4;
	color : black;
	word-break: breal-all;
	background-color: #FFFFFF;
}

h1{
	margin: 0px;
	padding: 10px;
	font-size : 125%;
	line-height: 1.3;
}

h2{
	font-size : 120%;
	margin: 0;
	padding: 2px;
}

h3{
	font-size : 100%;
	font-weight : bold;
	margin: 0;
	padding: 2px;
}

/* Link Style */

a:link{
	color: #0000FF;
	text-decoration: none;
}
a:visited{
	color: #0000FF;
	text-decoration: none;
}
a:hover{
	color: #FF0000;
	text-decoration: underline;
}

img{
	border: 0;
}


/* form */
form {
	margin: 0;
	padding: 0;
}


/* Box Style */

body#main
{
	text-align: center;
}

div#wrapper
{
	margin: 0 10px;
	padding: 0;
}

body#main div#wrapper
{
	float: none;
	width: 700px;
	margin: auto;
}

div#header
{
	position:relative;
	margin: 0;
	padding: 0;
}


body#main div#header
{
	padding: 8px;
}

div#content
{
	margin: 0;
	padding: 8px;
}


div#footer
{
	clear:left;
    margin: 4px;
	padding: 4px;
	text-align:center;
	color: #666666;
}
div#footer p.menu{
	margin: 4px 0;
	padding: 2px;
	border-top: 1px solid #CCCCCC;
	line-height: 1.4;
}

div#home {
	position: absolute;
	right: 20px;
	top: 10px;
}

div#sticker{
	position:absolute;
	top:0;
	left:0;
	filter:alpha(opacity=85);
	opacity:0.85;
	-moz-opacity:0.85;
	margin:0;
	padding:0;
}

div.ataribox{
	float:left;
	margin:8px;
	padding:8px;
	border:1px solid #FFCC66;
	background:url('../img/atari-bg.jpg') repeat-x;
	line-height:1.8;
	text-align:center;
	width:300px
}

/* wrapped contents */

div#wrapper h2
{
	clear: both;
	margin: 6px 0 2px 0;
	padding: 5px 0 0 18px;
	height: 28px;
	background: url('/img/subtitle_bg.jpg') no-repeat;
	overflow: hidden;
	border-bottom: 1px solid #CCCCCC;
}

div#wrapper p
{
	margin: 0;
	padding: 6px 4px;
}

div#wrapper .title
{
	font-weight: bold;
	font-size: 125%;
}

body#main div#wrapper p
{
	margin: 0;
	padding: 8px 4px;
}

div#wrapper .clear
{
	clear: left;
}

/* navigation bar */

div#navigation{
	color: #666666;
	margin: 0 0px 4px 0px;
	padding:6px 4px 6px 8px;
	border-top: 1px solid #E7E7E7;
	border-bottom: 1px solid #CCCCCC;
	overflow: hidden;
	background: url('/img/navigation_bg.jpg') repeat-x;
/*	background-color: #F3F3F3; */
}

/* menu bar */

div#menu{
	margin: 0 4px 0px 4px;
	padding:0;
	height: 23px;
	border: 1px solid #CCCCCC;
	border-right: 0px;
	background: url('/img/menuoff.gif') repeat-x;
}

div#menu ul{
	margin:0;
	padding:0;
  	overflow: hidden;
}

div#menu li{
	margin: 0; 
	padding: 0;
	text-align:center;
	width:120px;
	height:18px;
  	display: inline;
  	list-style-type: none;
  	overflow: hidden;
}

div#menu a:link, div#menu a:visited {
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
	color: #666666;
	margin:0;
	padding:0;
	padding-top:5px;
	float: left;
	text-decoration: none;
	text-align:center;
	width:100px;
	height:18px;
}

div#menu li#here a:link, div#menu li#here a:visited{
	color: #FFFFFF;
	background: url('/img/menuon.gif') repeat-x;
}

div#menu a:hover, div#menu li#here a:hover{
	color: #FF0000;
}

body#main div#menu
{
	border: 1px solid #CCCCCC;
	width: 400px;
	margin: auto;
}

/* updating */

div.topbanner{
	position:absolute;
	top:0;
	left:0;
	height:34px;
	width:100%;
	background-color:#FFFFCC;
	text-align:center;
	padding:0px;
	font-size:14px;
	font-weight:bold;
	line-height:2.5;
	margin:0;
	padding: 0;
	color:#993333;
}

div.rateit{
	float: right;
	margin: 0;
	padding: 2px;
}

div.rateit span{
	color: #CCCCCC;
}

/* table class */

table.list
{
	border: 0;
	margin: 0;
}

table.list tr
{
}

table.list th
{
	padding: 4px;
	width: 120px;
	white-space: nowrap;
	color: #666666;
	text-align: right;
	border-right: 1px solid #CCCCCC;
	vertical-align: top;
	font-weight: bold;
}
table.list td
{
	padding: 4px;
	text-align: left;
	vertical-align: top;
}

table.list form
{
	margin: 0;
	padding: 0;
}
table.list input
{
	width: 200px;
	height: 16px;
	margin: 0;
	padding: 0;
}


/* error and advice */

.error {
	color: red;
	background-color: #ffff55;
	padding: 4px;
}

.example {
	color: darkgreen;
	font-size: 85%;
}

.url {
	color: #66A366;
	font-size: 85%;
	padding: 0 0 4px 0;
}

.match{
	font-weight: bold;
}

.notice {
	color: #666666;
}

.noticemessage {
	border: 1px solid #CC3333;
	background-color: #ffff55;
	padding: 4px 10px;
}


.greyout, .greyout a:visited, .greyout a{
	color: #666666;
}
.greyout a:hover{
	color: #FF0000;
}

.datetime {
	color: #CCCCCC;
	float: right;
	}

/* ranking table */

table.ranking {
   border-width: 1px;
   border-color: #999999;
   border-style: solid;
   border-collapse: collapse;
}

table.ranking th {
   border-width: 1px;
   border-color: #999999;
   border-style: solid;
   padding: 6px;
   background-image: url('/img/titlebg.jpg');
   background-color: #CCCCCC;
   text-align:left;
   color: #333333;
}

table.ranking td {
   border: 1px gray dotted;
   border-width: 1px 1px 0px 1px;
   padding: 2px 6px;
}

table.ranking tr.select {
   background-color: #FFCC00;
   font-size: 120%;
   font-weight: bold;
}

/* awasetebox */

div.awaseteboxtop {
	padding: 0;
	width: 640px;
	height: 120px;
	background: url('../img/awaseteboxtop.jpg') no-repeat;
	line-height: 1.4;
	position: relative;
}

div.awaseteboxtop h1{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	height: 28px;
	width: 600px;
	margin: 0 auto;
	padding: 16px 0 0 0;
	color: #555566;
}

div.awaseteboxtop h1 a, div.awaseteboxtop h1 a:visited{
	color: #5555FF;
}

div.awaseteboxtop a.logo{
	position: absolute;
	left: 70px;
	bottom: 31px;
	width: 500px;
	height: 38px;
	margin: 0;
	padding: 0;
}


div.awaseteboxmiddle {
	margin: -2px 0 0 0 ;
	padding: 10px 0;
	width: 640px;
	background: url('../img/awaseteboxmiddle.jpg') repeat-y;
	font-size: 96%;
}

div.awaseteboxmiddle .inner{
	margin: 0 40px;
	padding: 0;
}

.inner hr{
	border: 1px solid #CCCCCC;
}
.inner .ad{
	text-align: left;
	margin: 0 0 0 20px;
}


div.awaseteboxmiddle ul{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
div.awaseteboxmiddle li{
	line-height: 1.4;
}

div.awaseteboxbottom {
	margin: 0;
	padding: 0;
	width: 640px;
	height: 40px;
	background: url('../img/awaseteboxbottom.jpg') no-repeat;
}


/* bar */

body#barbody
{
	overflow: hidden;
}
div#barheader
{
	position: absolute;
	top:0;
	left: 0;
	margin: 0;
	width: 100%;
	height: 44px;
	padding: 0;
	z-index: 0;
	background: url('../img/barbg.gif') repeat-x;
}

div#bartitlebox
{
	margin: 0;
	padding: 0;
	font-size: 12px;
	position: absolute;
	top: 12px;
	left: 200px;
}

div#barmenubox
{
	position:fixed;
	top:30px;
	left:196px;
	border:1px solid #999999;
	background: url('../img/barmenubg.jpg') repeat-x;
	padding:6px;
	z-index:999;
	display: none;
}

div#barmenubox ul
{
	margin:0;
	padding:0;
	list-style:none;
}
div#barmenubox li
{
	line-height: 1.5;
	display: block;
}
div#randomlinks a:visited
{
	position: absolute;
	top: 0;
}

div#barrightbox
{
	position: absolute;
	top: 4px;
	right: 6px;
}
div#barrightbox form
{
	margin: 4px 0 0 0;
	padding: 0;
}


/* external link */

span.external a
{
	width: 14px;
	height: 14px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: url('../img/new-window.gif') no-repeat 0 2px;
}
span.external a:visited
{
	background: url('../img/new-window-visited.gif') no-repeat 0 2px;
}

/* table style */

table.formtable, table.listtable {
	border: solid 1px #EFEEBE;
	margin: 5pt auto;
}

table.formtable th, table.listtable th{
	padding: 3px;
	background-color: #F4F2E3;
	vertical-align: top;
}

table.formtable td, table.listtable td{
	background-color: #FFFFFF;
	padding: 3px;
}
table.formtable td.desc{
	text-align: left;
}
table.listtable td, table.listtable th{
	border-right: 1px solid #DEDEDE;
	border-bottom: 1px solid #DEDEDE;
}


/* Overture ads */

div.im 
	{
	margin-top: 0px;
	margin-left:0px;
	padding: 0;
	}

div.im_label 
	{
	text-align: right;
	color: #666666;
	font-size: 80%;;
	padding: 1px;
	}


#immm 
	{
	color:#333333;
	background-color: #FEF8F0;
	display:block; 
	margin:0px 0;
	padding: 4px 16px;
	line-height: 1.3;
	font-weight: normal;
	}

div#immm a SPAN.title
{
	font-size: 120%;
}

SPAN.im-text 
{
	text-decoration:none;
	font-size; 90%;
	color: #555;
}

SPAN.host 
	{
	font:italic; 
	font-size:80%; 
	color:#77AA77;
	text-decoration:none;
	}

a:hover SPAN.im-text, a:link SPAN.im-text {
	text-decoration: none;
}

SPAN.im_label 
	{
	font:italic; 
	font-size:80%;
	color:#616161; 
	text-decoration:none;
	}

