

/*
Define default body elements
*/

BODY
{
  background-color: #9999CC;
  color: navy;
  margin-top: 5px;
  margin-bottom: 0;
  margin-left: 5px;
  margin-right: 5px;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  font-family: sans-serif;
}

BODY.mini
{
  background-color: #003300;
  color:#FFFF99;
  margin-top: 5px;
  margin-bottom: 0;
  margin-left: 5px;
  margin-right: 5px;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  font-family: sans-serif;
}
.mini A {color: YellowGreen; font-weight: normal;}
.mini A:visited {color: YellowGreen; font-weight: normal;}
.mini A:active {color: SkyBlue; text-decoration: underline; font-weight: normal;}
.mini A:hover {color: SkyBlue; text-decoration: underline; font-weight: normal;}

FORM { margin: 0; padding: 0;}

IMG {border-width:0;}

A { color: Snow;text-decoration: none;}
A:visited { color: Snow; text-decoration: none;}
A:active { color: Snow; text-decoration: underline; font-style: normal;}
A:hover { color: Snow; text-decoration: underline; font-style: normal;}

TD { text-align: center;}

/*
Now we set particulars for each page
(replace 750px with 100% as a test)
*/


/*
From here down we set the standard for header elements.
*/

TABLE.header
{
  background: #303030;
  color: #009999;
  width: 725px;
  border-style: none;
}

TD.logobox
{
  border-style: none;
  width: 70%;
}

TD.loginbox
{
  text-align: left;
  background-color: #989898;
  color: #000000;
  width: 30%;
  color: black;
  padding-left: 10px;
  padding-right: 10px;
}
.loginbox H2
{
  padding: 0px;
  margin: 0px;
  font-size: 16px;
}
.loginbox H3
{
  padding: 0px;
  margin: 0px;
  padding-bottom: 10px;
  font-size: 15px;
  color: purple;
}
.loginbox label
{
  font-family: courier;
  padding: 0px;
  margin: 0px;
  font-size: 14px;
}
.loginbox A:link { color: darkred; font-size: 12px;}
.loginbox A:visited { color: darkred; font-size: 12px;}

TD.menuitem
{
  font-size: 16px;
  width: 13.2%
}


TABLE.loginbox
{
  text-align: left;
  background-color: #989898;
  color: #000000;
  width: 225px;
  border-style: solid;
  color: black;
  padding-left: 10px;
  padding-right: 10px;}
/*
The sidebar and main document go in this table
*/

TABLE.bod
{
  padding: 0px;
  width: 100%;
}

/*
From here down we set the standard for sidebar elements.
*/

TD.sidebar
{
  vertical-align: top;
  background-color: #666699;
  color: black;
  width: 165px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: left;
  padding-bottom: 200px;
}

.sidebar H1
{
  font-size: 20px;
  padding: 0px;
  margin: 0px;
  color: Orange;
}

.sidebar H2
{
  font-size: 16px;
  padding: 0px;
  padding-left: 0px;
  margin: 0px;
  color: Orange;
}

.sidebar H3
{
  font-size: 12px;
  padding: 0px;
  padding-left: 10px;
  margin: 0px;
  color: Peru;
}
.sidebar H4
{
  font-size: 12px;
  padding: 0px;
  padding-left: 10px;
  margin: 0px;
  color: White;
}
.mini H1
{
  font-size: 18px;
  padding: 0px;
  margin: 0px;
}
.mini H2
{
  color: #669933;
  font-size: 14px;
  padding: 0px;
  margin: 0px;
}

.sidebar A:link { color: white; text-decoration: none; font-style: normal;}
.sidebar A:visited { color: white; text-decoration: none; font-style: normal;}
.sidebar A:active { color: white; text-decoration: underline; font-style: normal;}
.sidebar A:hover { color: white; text-decoration: underline; font-style: normal;}

#selected { color: GreenYellow; text-decoration: none; font-style: italic;}

/*
From here down we set the standard for the body elements.
*/

TD.main
{
  padding: 10px;
  vertical-align: top;
  font-size: 14px;
  text-align:left;
  font-family: serif
}
.main H1
{
  padding: 0px;
  margin: 0px;
}

.main H2
{
  padding: 0px;
  margin: 0px;
}
.main H3
{
  padding: 0px;
  margin: 0px;
  color: #CCCCCC;
}
.main H4
{
  padding: 0px;
  margin: 0px;
  color: #CCCCCC;
  padding-left: 25px;
}
.main H5
{
  padding: 0px;
  margin: 0px;
  font-size: 14px;
}
.main A:link { color: Navy; text-decoration: none; font-weight: bold; font-style: normal;}
.main A:visited { color: Navy; text-decoration: none; font-weight: bold; font-style: normal;}
.main A:active { color: blue; text-decoration: none; font-weight: bold; font-style: normal;}
.main A:hover { color: blue; text-decoration: none; font-weight: bold; font-style: normal;}

#kanjicolor {color: #006600;}
#kanacolor {color: #990000;}
#tcolor {color: #CCEE44; font-weight: bold;}
#defcolor {color: navy;}
#tcolor A:link { text-decoration: underline}
TABLE.links
{
  border-width: thin;
  border-style: solid;
  border-color: black;
  width: 400px; 
  text-align: center;
}
.links td
{
  border-width: thin;
  border-style: solid;
  border-color: black;
  background-color: purple;
  width:50%;
}
.links A:link { color: lightgreen; text-decoration: none; font-style: normal;}
.links A:visited { color: Maroon; text-decoration: none; font-style: normal;}
.links A:active { color: white; text-decoration: none; font-style: normal;}
.links A:hover { color: white; text-decoration: none; font-style: normal;}

#red {color: darkred;}
#purple {color: purple;}
#white {color: white;}
#black {color: black;}
#green {color: darkgreen;}
#orangered {color: orangered;}
#yellow {color: yellow;}
#navy {color: navy;}
#seagreen {color: #009999;}

#xsmall {font-size: 10px;}
#small {font-size: 12px;}
#smed {font-size: 14px;}
#medium {font-size: 16px;}
#mlarge {font-size: 18px;}
#large{font-size: 20px;}

/*
From here down we set the standard for footer elements.
*/

TABLE.footer
{
  width: 725px;
  font-size: 10px;
  color: black;
}

.footer TD
{
  padding-left:2;
  padding-right:2;
  width: 20%;
  font-size: 10px;
}
.footer A:link { color: Maroon; text-decoration: none; font-style: italic;}
.footer A:visited { color: Maroon; text-decoration: none; font-style: italic;}
.footer A:active { color: Maroon; text-decoration: none; font-style: italic;}
.footer A:hover { color: red; text-decoration: none; font-style: italic;}

#acct
{
  background-color: darkred;
  border-style: solid;
  border-color: navy;
  color: white;
  border-width: 5px;
  text-align: right;
}

TABLE.kanjitable { border-width: 5; border-style: solid; border-color: black; text-align: center; background-color: #989898; color: #000000; width: 500px; color: black; font-family: MS Mincho,Mincho; font-size:10px}
.kanjitable H1 { padding: 0px; margin: 0px; font-size: 40px;}
.kanjitable H2 { padding: 0px; margin: 0px; font-size: 20px;}
.kanjitable A:link { color: #303030; text-decoration: none; font-style: normal;}
.kanjitable A:visited { color: #303030; text-decoration: none; font-style: normal; }
.kanjitable A:active { color: #303030; text-decoration: none; font-style: normal;}
.kanjitable A:hover { color: red; text-decoration: none; font-style: normal;}

TABLE.wordtable { text-align: left; border-width: 5; border-style: solid; border-color: black; background-color: #989898; color: #000000; width: 500px; color: black; font-family: MS Mincho,Mincho;}
.wordtable H1 { padding: 0px; margin: 0px; font-size: 20px;}
.wordtable H2 { padding: 0px; margin: 0px; font-size: 16px;}
.wordtable H3 { padding: 0px; margin: 0px; font-size: 14px;}
.wordtable H4 { padding: 0px; margin: 0px; font-size: 10px;}
.wordtable A:link { color: #303030; text-decoration: none; font-style: normal;}
.wordtable A:visited { color: #303030; text-decoration: none; font-style: normal; }
.wordtable A:active { color: #303030; text-decoration: none; font-style: normal;}
.wordtable A:hover { color: red; text-decoration: none; font-style: normal;}
.wordtable TD {text-align: left; font-size:10;}

TABLE.wordtablev { text-align: left; border-width: 5; border-style: solid; border-color: black; background-color: #989898; color: #000000; width: 500px; color: black; font-family: MS Mincho,Mincho;}
.wordtablev H1 { padding: 0px; margin: 0px; font-size: 16px;}
.wordtablev H2 { padding: 0px; margin: 0px; font-size: 14px;}
.wordtablev H3 { padding: 0px; margin: 0px; font-size: 12px;}
.wordtablev H4 { padding: 0px; margin: 0px; font-size: 10px;}
.wordtablev A:link { color: #303030; text-decoration: none; font-style: normal;}
.wordtablev A:visited { color: #303030; text-decoration: none; font-style: normal; }
.wordtablev A:active { color: #303030; text-decoration: none; font-style: normal;}
.wordtablev A:hover { color: red; text-decoration: none; font-style: normal;}
.wordtablev TD {text-align: left; font-size:12; padding: 5px}


TABLE.kanjidata { width: 100%; border-width: 1; border-style: outset; border-color: black;}
.kanjidata TD { border-width: 1; border-style: inset; border-color: black;}

#kanjikcell { color: white; font-size: 125; width: 40%;}
#linekcell { color: #009999; font-size: 12; font-weight: bold; width: 75px;}
#datakcell { font-size: 14; color: #669933;}
#borderless { width: 50%; font-size: 14; color: #669933; border-style: none;}

TABLE.nextprev
{
  border-width: 0;
  border-style: none;
  border-color: black;
  width: 100%;
  font-family: MS Mincho;
}
.nextprev TD { width: 33%; font-family: serif;}
.nextprev A { color: #99FFFF; text-decoration: none; font-style: normal;}
.nextprev A:visited { color: #FF9900; text-decoration: none; font-style: normal;}
.nextprev A:active { color: #FF9900; text-decoration: none; font-style: normal;}
.nextprev A:hover { color: #FF9900; text-decoration: underline; font-style: normal;}

TABLE.nav { border-width: 0; border-style: solid; border-color: black; width: 100%; font-family: MS Mincho;}
.nav TD { width: 50%; font-family: serif;}
.nav A { color: purple; text-decoration: underline; font-style: normal; font-weight: bold;}
.nav A:hover { color: violet; text-decoration: underline; font-style: normal; font-weight: bold;}

TABLE.kvocab
{
  border-width: 1;
  border-style: outset;
  border-color: black;
  text-align: center;
  color: #000000;
  width: 100%;
  color: black;
  font-family: MS Mincho;
}
.kvocab TD
{
  border-style: inset;
  border-color: black;
  border-width: 1;
}
.kvocab TH
{
  color: #009999;
  font-size: 14;
  border-style: inset;
  border-color: black;
  border-width: 1;
}
.kvocab H2
{
  font-weight: normal;
  color: #669933;
  margin: 0;
  padding: 0;
  font-size: 16;
}
.kvocab H3
{
  font-weight: normal;
  margin: 0;
  padding: 0;
  color: #669933;
  font-size: 12;
}

TABLE.worddata {border-style: outset; border-width: 1; border-color: black; width: 100%; font-family: serif;}
.worddata TD {border-style: inset; border-width: 1; border-color: black; text-align: center;}
#headwcell {width: 33%; font-weight: bold; font-size: 16; color: #009999;}
#datawcell {font-size: 16; color: #669933;}
#spwcell {color: magenta;}

TABLE.listmenu
{
  width: 35%;
  background-color: darkred;
  border-style: solid;
  border-color: navy;
  color: white;
  border-width: 5px;
  text-align: right;
}

A.sh {color: black; font-weight: bold;}
A:hover.sh {color: white; font-weight: bold;}

TABLE.mksearch
{
  text-align: left;
  border-style: none;
  width: 100%;
}
.mksearch TD
{
  width:25%;
  text-align: left;
}
#tdright
{
  text-align: right;
}

TABLE.ksearch
{
  text-align: left;
  border-style: none;
  border-width: 0;
  margin: 0;
  margin-bottom: 25px;
  padding: 0;
  width: 100%;
}
.ksearch TH
{
  color: #CCCCCC;
  padding: 0;
  margin: 0;
  font-size: 25px;
  text-align: left;
  font-family: MS Mincho;
}
.ksearch TD
{
  color: #CCCCCC;
  padding: 0;
  padding-left: 25px;
  margin: 0;
  text-align: left;
  font-weight: bold;
}

TABLE.search
{
  text-align: left;
  border-style: none;
  border-width: 0;
  margin: 0;
  margin-bottom: 25px;
  padding: 0;
  width: 100%;
}
.search TH
{
  color: #CCCCCC;
  padding: 0;
  margin: 0;
  font-size: 18px;
  text-align: left;
  font-family: MS Mincho;
}
.search TD
{
  color: #CCCCCC;
  padding: 0;
  padding-left: 14px;
  margin: 0;
  text-align: left;
  font-weight: bold;
}

TABLE.simpler
{
  width: 75%;
  border-style: none;
  text-align: right;
}
.simpler TD
{
  text-align: right;
}
