a img {
  border: 1px solid #000000;
}

html, body, #menu, #menu li, h1 img, p, h2, h3 {
  border: 0;
  margin: 0;
  padding: 0;
}

.clr {
  clear: both;
}

body {
  overflow: auto; /* IE6 */
  padding: 10px;
}

a {
  color: #0000ff;
  text-decoration: none;
}

a:visited {
  color: #804000;
}

a:active, a:hover {
  color: #ff0000;
}

h1 {
  margin-top: 0; /* FF3 */
  width: 230px;
  display: block;
  font-family: Arial;
  font-size: 36px;
}

h1 span {
  display: block;
  padding-top: 8px;
}

h2 {
  margin-left: 20px;
}

hr {
  color: #a2a2a2;
  background-color: #a2a2a2;
  height: 1px;
  border: 0;
  padding: 0;
  margin: 0 10px 0 10px;
  clear: both;
}

p, #menu li {
  font-family: Arial;
}

p {
  text-indent: 20px;
  text-align: justify;
  font-size: 14px;
}

#tmenu {
  overflow: hidden; /* OP12 */
  margin-bottom: 4px;
  padding: 0;
  border: 0;
}

#bmenu {
  float: left;
  left: 50%;
  position: relative;
  text-align: center;
}

#menu {
  position: relative;
  left: -50%;
  float: left;
  padding: 2px 0 2px 2px;
}

#menu li {
  list-style: none;
  display: inline;
  float: left;
  margin: 0 2px 2px 0;
  background-color: #eeeeee;
}

#menu li a span {
  background-image: url('images/iconlist.png');
  background-repeat: no-repeat;
  display: block;
  float: left;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer;
}

#li_main { background-position:0 0; }
#li_tool { background-position:-16px 0; }
#li_misc { background-position:-32px 0; }
#li_code { background-position:-48px 0; }
#li_read { background-position:-64px 0; }
#li_text { background-position:-80px 0; }
#li_mail { background-position:-96px 0; }

#menu a {
  color: #0033cc;
  text-decoration: none;
  display: block;
  padding: 4px 10px 4px 10px;
  border: 1px solid #c0c0c0;
  font-size: 16px;
}

#menu a:active, #menu a:hover {
  background-color: #e3ebf2;
  border: 1px solid #a1c6eb;
}

.new {
  background-color: #ffff00;
  font-weight: bold;
  border: 1px dotted #ff0000;
  padding: 4px;
}

#isx {
  background-color: #808080;
  position: absolute;
  top: 0;
  left: 0;
}

#isx img {
  cursor: pointer;
  border: 1px solid #000000;
}

.bd {
  font-weight: bold;
}

.fi {
  margin: 0 8px 0 8px;
}

.ci {
  margin-bottom: -3px;
  cursor: help;
}

pre {
  border: 1px dotted #000000;
  padding: 8px;
}

a.d, a.d:visited, a.d:active {
  background-color: #0d83bc;
  font-weight: bold;
  padding: 0 8px 0 8px;
  border: 1px solid #13577d;
  /* justify fix */
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  text-indent: 0;
  color: #ffffff;
}

a.d:hover {
  color: #ff0000;
}

a.d b {
  background-color: #13577d;
  padding: 0 8px 0 8px;
  margin-right: 8px;
}

cite {
  font-weight: bold;
}

#translate {
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}

#translate input {
  font-weight: bold;
  color: #008000;
  background-color: #80ff80;
  border: 1px solid #008000;
  margin-top: 3px;
  margin-left: 70px;
  padding: 0 5px;
  cursor: pointer;
}
