body {
   font-family: verdana,sans-serif;
   background-color:#E9DCB0;
   line-height: 1.3em;
   font-size: 67%;
   margin: 0px;
   padding: 0px;
}

/* DEFAULTS */
a:visited {
   color: #663300;
}

a:link {
   color: #663300;
}

a {
   color: #663300;
}

a:active {
   text-decoration: underline;
}

a:hover {
   text-decoration: underline;
   padding: 0px;
   margin: 0px;
}

html > body a:hover{
   padding: 2px;
}

a img {
   border: 0;
}

a:hover img{
   background-color:white;
}

h1 {
   font-size: 16pt;
   margin: 0px;
   font-weight: normal;
   font-family: Arial, Helvetica, sans-serif;
}

h2{
   font-size: 1.3em;
   margin-bottom: 0;
   padding-bottom: 0;
}

h3{
   font-size: 1.1em;
   margin-bottom: 0;
   padding-bottom: 0;
}

h4{
   font-size: 1.1em;
}

h5{
   font-size: 1em;
}

h6{
   font-size: .9em;
}

pre{
   white-space: normal;
}

ul{
   list-style-type: disc;
}

ol{
   color: #663300;
}

address{
   color: #ff6600;
}

p{
}

#wrapper {
   width: 100%;
   height:auto;
   background-color:#E9DCB0;
   float: none;
   margin:0 auto;
   padding:0px;
}

#container {
   width: 889px;
   margin:0 auto;
   background-color:white;
   border-right:1px black solid;
   border-left:1px black solid;
}

#mask {
   background-image: url(../images/mask3.gif);
   background-repeat:no-repeat;
   width:100px;
   height:175px;
   margin-top:-173px;
   margin-left:15px;
   clear:none;
}

#header {
   background-image: url(../images/dict_header2.gif);/*------changed--------*/
   background-repeat:no-repeat;
   background-color:#014021;
   margin:0;
   padding:0;
   width: 889px;
   height: 137px;
   clear:both;
}

#header h1 {
   color:#FFFFFF;
   /*	padding-left:200px;*/
   margin-left:-5000px;/*------changed--------*/
   text-align:center;
   padding-top:5px;
   font-size:22pt;
}

#header h3 {
   color: #FFE9BB;
   font-weight: normal;
   font-size: 1em;
   padding:0px 5px 5px 10px;
   border-left: 1px white solid;
}

#header ul	{
   font-weight:bold;
   list-style-type: none;
   display: block;
   margin:0px 0px 0px 0px;
   padding: 33px 0px 0px 150px;
}

#header li {
   list-style-type: none;
   display: block;
   float:left;
   padding:5px 5px 5px 5px;
}

#header li.title {
   background-image: url(../images/dict_title2.gif);
   background-repeat:no-repeat;
   width:315px;
   height:40px;
   clear:none;
   margin-top: 16px;
   list-style-type: none;
   display: block;
   float:left;
}

#nav {
   background-color:#DCC17A;
	text-align:left;
	margin:0px;
	padding:0px;
	height: 39px;
	clear:both;
	background-image: url(../images/nav_bg.gif);
}

#nav ul	{
   font-weight:bold;
	list-style-type: none;
	display: block;
	margin:0px;
	padding: 0px;
}

#nav li	{
   float:left;
	border-left:1px #968239 solid;
	list-style-type: none;
	display: block;
}

.end{
   border-right:1px #968239 solid;
}

#nav a {
   padding:7px 12px 6px 12px;
	font-size: 10px;
	color:black;
	display:block;
	text-decoration:none;
   font-weight: normal;
}

#nav a.active {
   color: white;
	background-color: #4F2700;
}

#nav a.active:hover {
   color: #4F2700;
   background-repeat:no-repeat;
   background-color:transparent;
   color:black;
}

#nav a:hover {
   color: white;
   background-color: #4F2700;
}

#content {
   width:100%;
   padding: 0px;
   background-color:white;
   margin: 0px;
}

html > body #content {
   padding:0px 0px 5px 0px;
   margin: auto;
}

#content h2{
   font-family: "Times New Roman", Times, serif;
   font-size: 14pt;
   color: #333300;
}

#content table{
   margin: 0px;
   text-align: left;
   width:auto;
}

html > body #content table{
   margin: 1px 0px auto 0px;
}

#content #showhidekybd table table{
   width: 310px;
}

#content td{
   border:0px;
   padding:2px;
}

#content td.pageName{
   border:0px;
   background-color:white;
   border-bottom:1px #663300 solid;
   text-align:center;
}

#content td.dark{
   border:0px;
   background-color: #003300;
   color:white;
   padding:5px 5px;
}

#content td.bodyText{
   padding:5px 25px 5px 25px;
}

#content td.sub{
   padding: 5px;
   background-color: #FFE9BB;
   border-bottom: 1px #DCC17A solid;
}

#content td.blank{
   padding: 5px;
   border-bottom: 0px;
}

#content td.frame{
   padding: 5px;
   background-color: white;
   border-bottom: 1px #663300 solid;
}

#content #hyperlink_image a{
   background-color: white;
 }

a img{
   background-color: white;
}

#content a{
   text-decoration:underline;
   padding:2px;
}

#content a:hover{
   background-color: #333300;		/*************VALUE LOST***************/
   color:#FFFFFF;
   text-decoration:none;
   padding:2px;
}

#content li{
   padding:5px;
}

#content li div div{
   float: none;
}

#word_tuple{
   height: auto;
   width: auto;
}

#word {
   border-bottom:1px maroon solid;
   font-family: verdana,sans-serif;
   font-size:14pt;
   text-align:left;
   clear:both;
   background-color:#003300;
   color:#ffffff;
   padding:10px;
}

#variation{
   width:98%;
   font-weight:bold;
   text-align:left;
   border-bottom:1px gray dotted;
   padding:3px;
}

#tuple{
   text-align:left;
   color:#336600;
   padding:5px;
}

#description{
   font-family:"Lucida Sans Unicode", "Arial Unicode MS", "Lucida Sans", "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
   font-size:10pt;
   text-align:left;
   margin-top: 5px;
}

#citation{
   text-align:right;
   width: 99%;
   padding:3px;
   height: 1px;
   border-bottom:1px gray dotted;
}

#citation a{
   text-decoration:underline;
   color:#336600;
}

#citation a:hover{
   text-decoration:underline;
   background-color:white;
   color:#003300;
}

#separator{
   clear:both;
   width:100%;
}

#line {
   clear:both;
   border-bottom:1px maroon dashed;
   width:inherit;
   margin:0px;
   padding:0px;
}

#footerlinks{
   clear:both;
   width:100%;
   text-align:center;
}

#keyboard{
   clear:both;
   border:1px black dotted;
   width:1000px;
   margin:0 auto;
   background-color:#FFE9BB;
}

#footer {
   /*background-color: #674722;
   font-size: 7pt;
   padding-top: 5px;
   padding-left: 10px;
   color: white;
   width: 881px;
   height: 30px;
   float: none;
   margin: 0 auto;*/
}

#footer h3	{
   color:white;
   padding-top:10px;
   padding-left:50px;
   margin:0px;
   float:left;
}

#footer ul	{
   list-style-type: none;
   display: block;
   margin:0px;
   padding: 10px 0px 0px 55px;
}

#footer li	{
   padding: 10px 15px 5px 20px;
   float: left;
   border-left: 1px #C0C0C0 solid;
   list-style-type: none;
   display: block;
}

#head2{
   background-color: #E0D6C2;
   border: 1px solid #CCCC66;
   font-size: 8pt;
   font-family:  Copperplate Gothic Bold;
   display: block;
   text-align: left;
   margin: 0px;
   padding: 3px 3px;
   position: relative; /* Forces the bottom border of the h2 to display in IE */
   height: 16px;
   vertical-align: middle;
}

.en_button{
   color: #663300;
   background: #ffffff;
   border: 1px solid gray;
   margin-bottom: 1px;
   font-family:"Courier New", Courier, monospace;
   font-size:9pt;
   font-weight: normal;
}

.en_button:hover{
   color: white;
   background-color: #663300;
   text-decoration: none;
}

.dis_button{
   color: #000000;
   background: #DCDCDC;
   border: 1px solid gray;
   margin-bottom: 1px;
}

.output{
   font-family:Arial;
   font-size: 10pt;
   color:black;
   padding-left: 3px;
   padding-top: 3px;
   border: 1px solid #000000;
   width: 100px;
   background: #fff;
}

.shadow{
   width:102px;
   position:relative;
   top: 2px;
   left: 2px;
   background: #555;
}

.shadow div{
   position:relative;
   top: -2px;
   left: -2px;
}

.pageName {
   font:20px Arial, Helvetica, sans-serif, georgia;
   color: #663300;
   line-height:20px;
}

#syllable{
   border-left: 1px dotted Black;
   border-right: 1px dotted Black;
   padding: 0px 0px 0px 0px;
   /*line-spacing: 1px;*/
   float: left;
   width:150px;
   clear:none;
}

#tuple1{
   width:50px;
   float: left;
   clear: none;
}

.syllable{
   border-left: 1px dotted Black;
   border-right: 1px dotted Black;
   padding: 0px 0px 0px 0px;
   word-spacing: 1px;
}

#searchbox {
   width:auto;
   height:auto;
   text-align:right;
   padding:5px 15px 5px 15px ;
   vertical-align:middle;
   float:right;
   clear:both;
   background-color:#F0E7C9;
}

#foundword {
   padding: 0px 0px 10px 190px;
   font-family: "Doulos SIL", "Charis SIL", Arial, Helvetica, sans-serif;
   font-size: 30px;
   color:maroon;
   float: left;
   height: auto;
}

#foundword #inputId{
   float: right;
}

#wordlist {
   width: 160px;
   height: 395px;
   float: left;
   padding: 10px 0px 10px 35px;
   overflow: auto;
   border-top: 1px black solid;
   border-right: 1px solid #4F2700;
   background-color: #F5F1E3;
}

#wordlist strong {
   color:maroon;
}

#wordlist div div a{
   padding-left:20px;
   font-family: "Charis SIL", "Doulos SIL", Arial;
}

#wordlist div div a:hover{
   padding-left:20px;
   font-family: "Charis SIL", "Doulos SIL", Arial;
}

#wordlist div div span{
   padding-left:20px;
   font-family: "Charis SIL", "Doulos SIL", Arial;
}

/********************ADDED***********************/
#wordlist a{
   text-decoration: none;
   padding: 0px;
   margin: 0px;
}

#wordlist a:hover{
   text-decoration: none;
   background-color: transparent;
   color: Maroon;
   padding: 0px;
   margin-top: 0px;
}

#wordlist strong{

}

html > body #wordlist a:hover{
   margin: 0px;
}
/*************************************************/

#wordresult {
   width:675px;
   height:380px;
   float:left;
   padding:0px;
   overflow-y: auto;
}

html > body #wordresult {
   width:680px;
   height:380px;
   float:left;
   padding:5px;
   overflow:auto;
}

#wordnav {
   width:690px;
   height:auto;
   float:left;
   padding:0px;
   background-image: url(../images/dict_nav_bg.gif);
   background-repeat:repeat-x;
}

#wordnav ul	{
   font-weight:bold;
   list-style-type: none;
   display: block;
   margin:0px;
   padding: 0px 0px 0px 5px;
}

#wordnav li	{
   float: left;
   list-style-type: none;
   text-align: center;
   display: block;
   padding: 0px;
   margin: 2px 0px;
   
}

#wordnav a, li span {
   padding:2px 10px 4px 10px;
   font-size: 10px;
   background-color:#241500;
   color:white;
   display:block;
   text-decoration:none;
   border-left: 1px #674722 solid;
}

#wordnav a.active {
   color:black;
   font-weight:bold;
   background-color: transparent;
}

#wordnav a.active:hover {
   color: white;
   background-color:#241500;
}

#wordnav a:hover {
   color: black;
   /*background-image: url(../images/dict_nav_active.gif);*/
   padding:2px 10px 4px 10px;
   font-size: 10px;
   background-color: #E9DCB0;
}

#map {
   width:300px;
   height:300px;
   border:1px maroon solid;
   float:left;
   margin:5px 10px 10px 10px ;
}

#morelinks {
   width:98%;
   height:auto;
   float:left;
   padding:5px;
   text-align:center;
   border-top:1px maroon dotted;
   margin-top: 5px;
}

#nearwords{
   margin: 0px 0px 0px 53px;
   width: 675px;
   padding: 5px;
   float: left;
   background-image: url('../images/fade_bg.gif');
   background-repeat: repeat-x;
   border: 1px #E9DCB0 dotted;
}

html > body #nearwords{
   margin: 0px 0px 0px 93px;;
}

#nearwords strong{
   color: #003300;
   text-align:center;
   display:block;
   border-bottom:none;
   font-family: Doulos SIL, Charis SIL;
   padding: 5px;
}

#nearwords a{
   text-decoration: none;
}

#nearwords a:hover{
   color: #663300;
   text-decoration: underline;
   background: none;
}

#fontresize {
   width:165px;
   border:1px black solid;
   background-color:white;
   padding:0px 0px 5px 5px ;
   font-size:11px;
   float:right;
   margin-right:5px;
   clear:both;
}

#fontresize img {
   margin-bottom:-7px;
   border:none;
}

#login{
   margin: 3px 25%;
}

.dict_quotes{
   margin-top: 2px;
}

.dict_vars{
   text-align: right;
   margin-top: -18px;
}

.dict_vars div, .dict_quotes{
   font-size: 13px;
   font-family: "Charis SIL", "Doulos SIL";
}

.input_td{
    width:80%;
    text-align:center;
    vertical-align:top;
    padding:0px;
    margin:0px;
}

html > body .input_td{
    padding:0px;
    margin:0px;
}

#results_contents{
   margin-top: -10px;
}

html > body #results_contents{
   margin: 0px;
}

#content .lexicon li{
   padding: 2px;
}