/* This first section is for the page layout. DO NOT mess with these
   styles, since the layout is cranky as all hell. In fact, I don't know
   if I'll ever figure out the footer issue.
   */

html, body {
 margin:0;
 padding:0;
 background:#FFFFFF;
 height:100%;
 color:#000000;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size:small;
 }
#container {
 min-height:100%;
 background:#FFFFFF;
 }
* html #container {
 height:100%;
 }
#menu {
 width:200px;
 float:left;
 margin-left:5px;
 margin-top:5px;
 }
#content {
 margin-left:210px;
 background:#FFFFFF;
 }
* html #content {
 margin-right:-3px;
 }
#header {
 height:100px;
 margin-top:20px;
 margin-bottom:10px;
 background:#FFFFFF;
 }
#clearfooter {
 height:5px;
 clear:left;
 overflow:hidden;
 }
#footer {
 margin-top:-5px;
 height: 50px;
 text-align:center;
 border-top:2px solid #009900;
 padding: 5px;
 font-size:x-small;
 color: #33CCFF;
}


/* Following are generic tag styles and subclasses used throughout the site. */

H1{
 width:95%;
 padding-top:15px;
 padding-bottom:5px;
 padding-left:30px;
 color:#009900;
 font-size:large;
 font-weight:bold;
 letter-spacing:6px;
 text-transform: uppercase;
 border-bottom: 2px solid #009900;
 background-image: url(images/head_tag.jpg);
 background-repeat:no-repeat;
 background-position: left bottom;
 }
.translate {
 white-space: nowrap;
 color:#33CCFF;
 font-size: medium;
 font-weight:bold;
 letter-spacing:0px;
 text-transform:none;
 border-left: 2px solid #33CCFF;
 margin-left:10px;
 padding-left:7px;
 }
H2 {
 width:80%;
 margin-top:20px;
 padding-top:20px;
 padding-bottom:5px;
 padding-left:28px;
 color:#009900;
 font-size:medium;
 font-weight:bold;
 text-transform: uppercase;
 border-bottom: 1px solid #009900;
 }
H3 {
 font-size:medium;
 color:#009900;
 margin: 20px 0px 8px 0px;
 }
.smtrans {
 color:#33CCFF;
 font-size: small;
 font-weight:bold;
 letter-spacing:0px;
 text-transform:none;
 border-left: 2px solid #33CCFF;
 margin-left:15px;
 padding-left:7px;
 }
p {
 text-align:justify;
 width:95%;
 margin-bottom:2px;
 }
p.trans {
 color:#00CCFF;
 border-left: 2px solid #00CCFF;
 font-weight:bold;
 margin-left:0px;
 padding-left:7px;
 margin-bottom:0px;
 }
tt {
 white-space:pre;
 font-size:small;
 }
img {
 border:0;
 }
.bold {
 font-weight:bold;
 }
#trantext_container {
 margin:auto;
 width:auto;
 padding-bottom:20px;
 }
#trantext {
 float:left;
 width:50%;
 }
#trantext2 {
 width:50%;
 float:left;
 }

/* You guessed it, link effects follow here. */

a:link {
 color:#99CC99;
 font-weight:bold;
 text-decoration:none;
 border:0;
 }
a:visited {
 color:#99CC99;
 font-weight:bold;
 text-decoration:none;
 border:0;
 }
a:hover {
 color:#009900;
 font-weight:bold;
 text-decoration:none;
 border:0;
 }
a:active {
 color:#99CC99;
 font-weight:bold;
 text-decoration:none;
 border:0;
 }
#rdiv {
 position:relative;
 right:0;
 }

/* Following is generic table styles such as those used by CuteNews and
   other basic tables. NOT the styles for the PERIODIC CHART (See below) */

table {
 width:600px;
 height:0%;
 border:5px;
 color:#003300;
 }
td {
 width:200px;
 background: url(images/tablebg.jpg);
 padding:5px;
 }
td.hdr {
 background-image: url(images/tablehdrbg.jpg);
 font-weight:bold;
 }

table.white {
 background: #fff;
 height:0%;
 padding:0px;
 margin-left:30px;
 font-size:small;
 vertical-align:top;
 border:0px;
 }
td.white {
 background: #fff;
 width:0%;
 }

/* The following is for the STUPID STUPID STUPID Periodical chart.
   Not only designating classes for the dumbest most obscene table in the universe,
   but also to clear parent styles. My bad.
   */
#pronunciation {
  font-family: Arial MS Unicode, Lucida Sans Unicode;
}

table.periodic {
 width:95%;
 height:0%;
 padding:0px;
 margin:0px;
 color: #000;
 font-size:x-small;
 background: #fff;
 vertical-align: top;
 border: 0px;
 }
td.chart-green {
 background: url(images/tablebg.jpg);
 width:0%;
 height:0%;
 white-space:nowrap;
 }
td.chart-blue {
 background: url(images/tablebg-blue.jpg);
 width:0%;
 height:0%;
 white-space:nowrap;
 }
tr.bold {
 font-weight: bold;
 }

/* the following is for the cutenews blocks. */

table.cutenews {
 width:600px;
 height:0%;
 margin-bottom: 10px;
 border-top: 1px dotted #00CCFF;
 border-bottom: 1px dotted #00CCFF;
 color:#000000;
 }
table.cutenews-archive {
 width:90%;
 height:0%;
 margin-bottom: 10px;
 border-top: 1px dotted #00CCFF;
 border-bottom: 1px dotted #00CCFF;
 color:#000000;
 }
td.cutenews {
 width:100%;
 background: url(images/cutenews_tablebg.jpg);
 padding:5px;
 color: #003300;
 }
td.cutenews-hdr {
 background-image: url(images/cutenews_tablehdrbg.jpg);
 font-weight: bold;
 font-size:medium;
 width:100%;
 }
td.cutenews-story {
 background: url(images/cutenews_tablebg.jpg);
 width: 100%;
 padding: 10px 5px 10px 5px;
 }
td.cutenews-ftr {
 height:20px;
 background: url(images/cutenews_tablehdrbg.jpg);
 font-size: x-small;
 font-style:italic;
 width:100%;
 }
td.cutenews-ftr a {
 color: #666699;
 }
td.cutenews-ftr a:hover {
 color: #0000FF;
 }


/* The following is for the definition lists in the Quick Reference sections and the dictionary itself. */
dl {
 width: 98%;
 margin-bottom:10px;
 padding: 0;
 float: left;
 font-weight:bold;
 font-size:x-small;
 }
dl dt {
 float: left;
 width: 18%;
 padding: 2px 5px 0px 0px;
 margin: 8px 0px 1px 2px;
 clear: left;
 white-space:nowrap;
 }
dl dd {
 width: 70%;
 padding: 2px 5px 0px 7px;
 float: left;
 margin: 8px 0px 1px 2px;
 border-left: 2px solid #00CCFF;
 color: #00CCFF;
 }
dl > dd {
 padding: 3px 0 1px 8px;
 }

/* The following is for the menu system */

ul.makeMenu, ul.makeMenu ul {
  width: 140px;                /* sets the size of the menu blocks */
  border: 1px solid #FFF;      /* puts a white border around the menu blocks */
  background-color: #CFC;      /* makes the menu blocks mint green - a bg-color MUST be included for IE to work properly! */
  padding-left: 0px;           /* stops the usual indent from ul */
  cursor: default;             /* gives an arrow cursor */
  margin-left: 0px;            /* Opera 7 final's margin and margin-box model cause problems */
  font-weight: bold;
  font-size: x-small;
  color: #030;
  }
ul.makeMenu li {
  list-style-type: none;       /* removes the bullet points */
  margin: 0px;                 /* Opera 7 puts large spacings between li elements */
  position: relative;          /* makes the menu blocks be positioned relative to their parent menu item
                                  the lack of offset makes these appear normal, but it will make a difference
                                  to the absolutely positioned child blocks */
  color: #030;                 /* sets the default font colour to dk green */
  height:15px;
  border: 1px solid #FFF;
  padding:3px;
  }
ul.makeMenu li > ul {          /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
  display: none;               /* hides child menu blocks - one of the most important declarations */
  position: absolute;          /* make child blocks hover without leaving space for them */
  top: -1px;                   /* position slightly lower than the parent menu item */
  left: 138px;                 /* this must not be more than the width of the parent block, or the mouse will
                                  have to move off the element to move between blocks, and the menu will close */
  }
ul.makeMenu li:hover, ul.makeMenu li.CSStoHighlight {
  background-color: #9FF;      /* gives the active menu items a lite blue background */
  color: #030;                 /* makes the active menu item text black */ 
  }
ul.makeMenu ul.CSStoShow {     /* must not be combined with the next rule or IE gets confused */
  display: block;              /* specially to go with the className changes in the behaviour file */
  }
ul.makeMenu li:hover > ul {    /* one of the most important declarations - the browser must detect hovering over arbitrary elements
                                  the > targets only the child ul, not any child uls of that child ul */
  display: block;              /* makes the child block visible - one of the most important declarations */
  }

/* and some link styles */
ul.makeMenu li a { 
 color: #030; 
 display: block; 
 width: 100%; 
 height:15px;
 text-decoration: none; }
ul.makeMenu li a:hover, ul.makeMenu li a.CSStoHighLink { 
 color: #030; 
 }
ul.makeMenu li:hover > a { color: #030; } /* supports links in branch headings - must not be: display: block; */




/* All CSS, except for the core of the Menu system which was suggested by Mark Wilton-Jones's Modified
   Hybrid CSS Menu system (http://www.howtocreate.co.uk/tutorials/testMenu.html), was created by J. Denning
   (Kard), and can be contacted at kard@starwolf.org.  Job offers welcome...will write css for food.
   */
