body {
  margin: 0;
  padding: 0;
}

img.nobdr {
  margin: 0;
  padding: 0;
  border-style: none;
  vertical-align: top;
}

img.smlbook {
  margin: 5px 5px 5px 5px;
  padding: 0;
  border-style: none;
}

hr {
  border-style: solid;
  border-color: #909090;
  border-width: 1px 0 0 0;
}

table.cartline {
  width: 100%;
  background: #cccccc;
  padding: 0;
  margin: 0;
  border-color: #606060;
  border-style: solid;
  border-width: 0 0 1px 0;
}
td.cartline {
  padding: 0;
  margin: 0;
  text-align: right;
  line-height: 1em;
}

table.banner {
  width: 100%;
  background: #ffffff;
  padding: 0;
  margin: 0;
}
td.banner_left {
  text-align: left;
  vertical-align: bottom;
  padding: 0;
  margin: 0;
}
td.banner_center {
  text-align: center;
  padding: 0;
  margin: 0;
}
td.banner_right {
  text-align: right;
  padding: 0;
  margin: 0;
}

.defaultcolor {
  background: #990000;
  color:      #ffffff;
}

table.header {
  width: 100%;
  font-size: 0.8em;
  padding: 5px 0 5px 0;
  margin: 0;
  border-style: solid;
  border-color: #909090;
  border-width: 0 0 1px 0; 
}

a.headnavbar {
  text-decoration: underline;
  line-height: 20px;
  padding: 0 5px 0 5px;
}


table.navbar {
  width: 100%;
  background: #ffffff;
  padding: 0;
  margin: 0; 
}
td.leftnavbar {
  width: 150px;
  background: #000000;
  color: #ffffff;
  text-align: left;
  vertical-align: top;
  padding-top: 14px;
}

/* Main document area */
td.main {
  background: #ffffff;
  vertical-align: top;
  padding: 10px 15px 20px 15px;
  margin: 0;
}

table.maintable {
  width: 100%;
}


td.footer {
  text-align: center;
  padding-bottom: 20px;
}

div.footer {
  color: #000000;
  font-size: 10px;
  padding: 0;
  margin: 0;
}

div.footerauthor {
  font-weight: bold;
}
div.footercopyright {
  font-style: italic;
  margin: 0;
  padding: 6px 0 0 0 ;
}

div.stdblock {
  padding: 0;
  margin: 0;
}

div.leftnavbarlist {
  padding: 0 0 14px 7px; 
  font-family: sans-serif;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.4em;
}

a.leftnavbarlabel {
  color: #ffffff;
  text-decoration: none;
}

a.leftnavbaritem {
  color: #ffffff;
  text-decoration: none;
  font-weight: normal;
}

span.leftnavbarlabel {
  color: #c0c0c0;
  text-decoration: none;
}


table.maincontents {
  width: 100%;
}

td.bookimage {
  width: 145px;
  text-align: center;
  padding: 0;
  margin: 0;
}
td.bookinfo {
  width: 100%;
  padding: 0px 10px 20px 10px;
}
td.buyinfo {
  padding: 0;
}
span.buyinfo {
  font-size: 0.9em;
  font-weight: bold;
}

span.bookimage {
  font-size: 0.8em;
  line-height: 1em;
}

h1.bookinfo {
  font-size: 1.6em;
  line-height: 1.2em;
  font-weight: bold;
  padding: 0 0 10px 0;
  margin: 0;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Std', sans-serif;
}

h2.bookinfo {
  font-size: 1.0em;
  line-height: 1.0em;
  text-decoration: none;
  margin: 0;
  padding: 0 0 10px 5px;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
}

h2.newbooks {
  font-size: 1.0em;
  line-height: 1.0em;
  text-decoration: none;
  margin: 0;
  padding: 10px 0 0 0;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
}

div.bookinfo {
  font-size: 0.9em;
  line-height: 1.4em;
}


td.relinfo {
  padding: 10px 0 25px 0;
}
div.relinfo {
  line-height: 1.5em;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
}

table.relinfomenu {
  width: 100%;
  padding: 0 0 14px 0;
}

td.relinfotab {
  width: 100px;
  text-align: center;
  vertical-align: bottom;
  font-size: 14px;
  line-height: 20px;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  background: #e0e0e0;
  border-color: #808080;
  border-width: 0 0 1px 0;
  border-style: solid;
  padding: 3px 0 0 0;
  margin: 0;
}

td.relinfotabopen {
  width: 100px;
  text-align: center;
  vertical-align: bottom;
  font-size: 14px;
  line-height: 20px;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  background: #ffffff;
  border-color: #808080;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  padding: 3px 0 0 0;
  margin: 0;
}

td.relinfotabblank {
  background: #e0e0e0;
  border-color: #808080;
  border-width: 0 0 1px 0;
  border-style: solid;
  padding: 3px 0 0 0;
  margin: 0;
}

a.relinfotab {
  color: #000000;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  text-decoration: none;
}

/* catalog index */
table.booklist {
  margin: 5px 0 30px 0px;
  border-color: #909090;
  border-width: 0 0 1px 0;
  border-style: solid;

}

th.booklist {
/*  background: #990000; */
/*  color: #ffffff; */
  font-size: 0.8em;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  border-color: #909090;
  border-width: 0 0 1px 0;
  border-style: solid;
  white-space: nowrap;
}

td.booklistisbn {
  padding: 0 0 0 5px;
  font-size: 0.7em;
  white-space: nowrap;
}
td.booklisttitle {
  padding: 0 0 0 5px;
  font-size: 0.8em;
  white-space: nowrap;
}
td.booklistprice {
  text-align: right;
  padding-right: 10px;
  font-size: 0.8em;
  white-space: nowrap;
}
td.booklistdate {
  padding-right: 10px;
  font-size: 0.8em;
  white-space: nowrap;
}
tr.up {
  background: #d0d0d0;
}
tr.down {
  background: #ffffff;
}


table.cart {
   border-color: #606060;
   border-style: solid;
   border-width: 1px 1px 1px 1px;
   padding-bottom: 5px;
   margin-bottom: 10px;
}

th.cart {
  background: #606060;
  color: #ffffff;
  font-size: 0.9em;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
}
td.cart {
  background: #ffffff;
  color: #000000;
  font-size: 0.9em;
  line-height: 1.2em;
  /* font-family: serif; */
  padding: 0 5px 0 5px;
}
td.cartprice {
  background: #ffffff;
  color: #000000;
  font-size: 0.9em;
  line-height: 1.2em;
  /* font-family: serif; */
  padding: 0 5px 0 0;
  text-align: right;
}
span.carterror {
  color: #bb0000;
  font-weight: bold;
  line-height: 1.6em;
}


table.cartsum {
   border-width: 0;
   margin-bottom: 10px;
}
td.cartsum {
   text-align: right;
}
td.cartsumprice {
   text-align: right;
   padding-right: 5px;
}
td.cartsumtotalprice {
   text-align: right;
   font-size: 1.2em;
   color: #d01020;
   padding-right: 5px;
}

td.cartsumline {
   border-color: #606060;
   border-style: dotted;
   border-width: 1px 0 0 0;
}

table.cartbutton {
   width: 100%;
}
td.cartbuttonleft {
  width: 33%;
  text-align: left;
}
td.cartbuttoncenter {
  width: 33%;
  text-align: center;
}
td.cartbuttonright {
  width: 33%;
  text-align: right;
}

span.cartoff {
   color: #d01020;
}

input.image {
   margin: 0;
   padding: 0;
   line-height: 1em;
   vertical-align: middle;
}

table.order {
  width :100%;
  padding: 0;
  margin: 0;
}
td.ordername {
  width: 200px;
  padding: 0 5px 5px 0;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  text-align: right;
  vertical-align: top;
}
span.orderex {
  /* font-family: serif; */
  font-size: 0.9em;
}

td.ordervalue {
  padding: 0 10px 5px 5px;
  /* font-family: serif; */
  vertical-align: top;
}

h2.order {
  padding: 0 0 0 20px;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  font-weight: bold;
  font-size: 1.3em;
  line-height: 1em;
}

div.status {
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Std', sans-serif;
  font-weight: bold;
  color: #bb0000;
}
td.error {
  background: #ffa0a0;
}
span.error {
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Std', sans-serif;
  font-weight: bold;
  color: #bb0000;
}

/* index pages */
table.topindex {
  margin: 0;
  padding: 0 0 15px 0;  
}
td.topindex {
  width: 50%;
  margin: 0;
  padding: 0;
  vertical-align: top;
}
td.indexleft {
  margin: 0;
  padding: 0 10px 0 0;
}
td.indexright {
  margin: 0;
  padding: 0 0 0 10px;
}

h2.topindex {
  font-size: 0.8em;
  line-height: 1em;
  font-weight: bold;
  padding: 4px 10px 4px 10px;
  margin: 0;
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
}

div.topindex {
  margin: 0;
  padding: 18px 0 0px 0;
  font-size: 0.9em;
  line-height: 1.5em;
  /* font-family: serif; */
  color: #000000;
}

a.topindex {
  font-family: 'MS PGothic', 'Hiragino Kaku Gothic Pro', sans-serif;
  font-weight: bold;
}


td.adtype1 {
  margin: 0;
  padding: 0;
  width: 120px;
  vertical-align: top;
}

div.adtype3 {
  margin: 0;
  padding: 0;
  width: 210;
  height: 45;
}

.center {
  text-align: center;
}

