/* dict.css 
 * bodyig dictionary style sheet for bodyig.tibetangeeks.com
 * For form and content only.
 * Changes to base styles should be main in tibetangeeks-main.css,
 *   based on body id or class.
 * -> This is loaded *after* the main stylesheet
 * HISTORY:
 *  28 nov 2008 jw - made it.
 *
*/

/* ============================================
   ===== { Forms: =====
   ============================================ */

/* for form table: */
div#form {
  width: 1000px;
  float: left;
}
form {
  border: none;
}

form table#dict-form {
  border: 0;
  border-collapse: collapse;
  width: 900px;
}
form table#dict-form.input {
  width: 850px;
}

form table tr {
  vertical-align: top;
}
form table#dict-form td {
  padding-top: 10px;
}

#content div#db_results {
  display: table;
  clear: both;
  color: #cc0000;
  padding: 8px;
  margin: auto;
  margin-top: 10px;
  text-align: center;
  border: 4px double #cc0000;
}
#content div#db_results p {
  margin: 0;
}
#content div#instructions, 
#content div#table_instructions {
  float: left;
  font-size: 80%;
  border: 1px dashed #6666cc;
  padding: 8px 8px 8px 0;
  width: 50%;
}
#content div#instructions { 
  margin-left: 10px;
  padding-left: 1em;
}
#content table#dict-form.input div#instructions {
  margin-top: 10px;
}
#content div#table_instructions {
  clear: both;
  width: 97%;
  margin-top: 10px;
  margin-left: 20px;
}
#content div#instructions h3 {
  color: #006600;
  background-color: transparent;
  margin: 0;
  padding-left: 8px;
}
#content div#instructions ul li, 
#content div#table_instructions ul li {
  margin-top: .2ex;
}
#content div#instructions ul li:first-child, 
#content div#table_instructions ul li:first-child {
  margin-top: 0;
}

input.button-submit {
  font-size: 70%;
  padding: 0;
  padding-bottom: 4px;
  margin-bottom:  4px;
}

/* for dictionary table: */
table#dict {
  clear: both;
  border-collapse: collapse; 
  border: 1px solid #000000;
  width: 100%;
  margin-left: 20px;
}
table#dict tr {
  vertical-align: middle;
}
table#dict th {
  font-size: 80%;
  color: #006600;
  padding-left: 8px;
  padding-right: 8px;
}
table#dict th.bo {
  font-size: 130%;
  font-weight: normal;
  padding-top: 0;
}
table#dict th a {
  color: #006600;
  text-decoration: none;
  cursor: help;
}
table#dict td {
  padding: 8px;
  border: 1px solid #000000;
}

/* for "show/hide" javascript: */
table#dict td.inf {
  border-right: none;
}
table#dict td.inf.nodata {
  text-align: center; 
  font-size: 80%;
}
table#dict td.bod {
  /* font-family: "tibetan machine uni"; */
  font-size: 220%;
  width: 2em;
}
table#dict td.part {
  text-align: left;
  font-size: 80%;
  width:     7em;
}
table#dict td.sh {
  border-left: none;
  text-align: right;
}
table#dict td a {
  font-size: 80%;
  text-decoration: none;
}
div.info, 
span.info {
  display: none;
}
span.bo, 
span.bod {
  font-size: 160%;
}
/* Temporary, for viewing all bodyig. */
span.info.bod {
  display: block;
}
span.much {
  font-size: 80%;
}

/* e o f */
