ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,table
{ margin: 0; padding: 0; }
a img,:link img,:visited img { border: none; }

a
{
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}
body#mobile{
  font-size: x-small;
}
body, td
{
  margin: 0;
  padding: 0;
  font-family: "メイリオ", Arial, Verdana, sans-serif;
  font-size: 18px;
}

body
{
  text-align: center;
  background-image: url("/images/_bimage.gif");
  background-position: left top;
  background-repeat: repeat;
}
h1{
  font-size: 40px;
}
h2{
  font-size: 30px;
  color: #330000;
}
#box
{
  width: 800px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
#header{
  text-align: left;
}
input#west, input#east
{
  width: 180px;
  height: 16px
}

.content{
  margin: 10px 0 0 0;
  width: 630px;
  float: left;
  background-color: #fff;
  }
ul.tabs li
{
  display: inline;
}
ul.tabs li a
{
  margin-right: 2px;
  padding: 3px;
  float: left;
  background-color: #715c1f;
  color: #ffffff;
  display: block;
}
ul.tabs li a:hover
{
  background-color: #996633;
  text-decoration: none;
  color: #ffffff;
}


.autopagerize_page_element
{
  text-align: center;
  clear: both;
  width: 100%:
  padding: 0;
}
table {
width: 100%;
border-top:1px solid #fff1cf;
border-right:1px solid #fff1cf;
border-collapse:collapse;
}
td, th {
border-bottom:1px solid #fff1cf;
border-left:1px solid #fff1cf;
text-align:center;
}
th{
  color: #d4dcd6;
}
span.result a,
span.result a:hover,
span.result a:active,
span.result a:link,
span.result a:visited
{
  font-size: 30px;
  color: #433d3c;
  text-decoration: none;
}

span.permalink a,
span.permalink a:hover,
span.permalink a:active,
span.permalink a:link,
span.permalink a:visited
{
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
span.username a,
span.username a:hover,
span.username a:active,
span.username a:link,
span.username a:visited
{
  color: #433d3c;
  font-weight: bold;
}
span.kimarite a,
span.kimarite a:hover,
span.kimarite a:active,
span.kimarite a:link,
span.kimarite a:visited
{
  color: #e9546b;
  font-weight: bold;
}

span.winnum a,
span.winnum a:hover,
span.winnum a:active,
span.winnum a:link,
span.winnum a:visited
{
  color: #6699cc;
  font-size: 30px;
  font-weight: bold;
}

span.losenum a,
span.losenum a:hover,
span.losenum a:active,
span.losenum a:link,
span.losenum a:visited
{
  color: #6699cc;
  font-size: 30px;
  font-weight: bold;
}

span.ratenum
{
  color: #cc0033;
  font-size: 30px;
  font-weight: bold;
}

.toritable,
.westtable,
.easttable,
.kimaritable,
.rikishitable,
.wintable,
.losetable,
.ratetable
{
  background-color: #715c1f;
}
.kimaritable,
.kimaritable2
{
  text-align: center;
}
.permalinktable
{
  width: 30px;
  background-color: #dcd3b2;
}
.rikishi_icontable{
  width: 73px;
}
.icontable{}
.resulttable{}
.icontable{}
.usertable{}
.result
{
  font-size: 30px;
  font-weight: normal;
}
.paginate ul {
  clear: both;
  text-align: center;
  width:100%;
  padding: 10px 0 10px 0;
}
.paginate ul li {
  display: inline;
  margin: 0 5px 10px 5px;
  padding: 2px;
  height: 20px;
  width: 20px;
  border-style: solid;
  border-color: black;
  border-width: 1px;
}
#sidebar {
  margin: 10px 0 0 0;
  background-color: #e0ebaf;
  width: 160px;
  float: right;
}
#sidebar h2
{
  font-size: 20px;
  font-color: #c1d8ac;
}
.amazon {
  margin: 5px;
}
span.amazon_text
{
  font-size: 12px;
}


#footer
{
  width: 800px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  clear: both;
}

#footer p {

  background-color: #deb068;

}
