/* This class is to work around a Firefox rendering bug:
 * Borders don't always display with overflow: auto;
 */
div.textcontainer
{
    margin: 1em 1em 1em 0;
    padding: 0px;
    border-style: solid;
    border-width: 1px;
    background-color: #eee;
    clear:right;
}

div.nicetext, div.rawtext
{
    min-height:1.5em;
    margin: 0 0 0.5px 0;
    padding: 0.5em 0.5em 0.5em 1em;
    background-color: #eee;
    border-style:none;
    overflow: auto;
}

div.rawtext
{
    padding-bottom: 0.75em;
    font-family: monospace;
}

div.specialchars
{
    margin-top: 1.3em;
}

div.specialchars A
{
    color: blue;
    text-decoration: none;
}

div.specialchars A:hover
{
    color: red;
}

table.form th
{
    text-align: right;
}

div.htmlchars_form
{
    float:right;
    margin-right: 1em;
}

table.htmlchars th, table.htmlchars td
{
    padding:0;
    margin:0;
}

div.specialchars table td
{
    width: 1.5em;
    overflow: hidden;
}

div.specialchars table td div
{
    text-align: right;
    max-width: 1.5em;
    overflow: hidden;
}

div.specialchars table th
{
    font-family:Georgia,"Times New Roman",Times,serif;
    font-style: normal;
    text-align: right;
    font-weight: normal;
}

div#htmlchars_ranges div.specialchars
{
    height: 24em;
    overflow: auto;
}

table.htmlfont
{
    margin-top: .3em;
}

table.htmlfont th, table.htmlfont td
{
    padding: 0 .1em 0 0;
    margin: 0 .2em 0 0;
}

table.HTMLEntities
{
    border-color: #666;
    border-style: solid;
    border-width: 0 0 1px 1px;
    text-align: right;
    border-collapse: collapse;
}

table.unicodelookup
{
    margin-top: 1.3em;
}

table.HTMLEntities td, table.HTMLEntities th
{
    border-color: #666;
    border-style: solid;
    border-width: 1px 1px 0 0;
    text-align: left;
    margin: 0;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

table.HTMLEntities th
{
}

table.HTMLEntities td.char
{
    text-align: center;
}

div.lorem
{
    margin: 1em 1em 1em 0;
    padding: 0.5em 0.5em 0.5em 1em;
}

.hexdump
{
	font-family: monospace, "DejaVu Sans Mono";
	font-size:10pt;
    white-space:nowrap;
    overflow:auto;
}
.hexdump-inner
{
	display:inline-block;
}

.hexdump .hex-display, .hexdump .text-display, .hexdump .line-numbers
{
	border-style:solid;
	border-width:thin;
	border-color:lightgray;
	display:inline-block;
	padding:0.2em;
	margin:0;
	min-height:15em;
}

.hexdump .line-numbers
{
	border-style:none;
	color:#989898;
	text-align:right;
	margin-right:0.5em;
}

.hexdump .hex-display
{
	margin-right:2em;
}

.dragarea
{
	min-height:3em;
	border-radius:5px;
	background-color:lightgreen;
	font-family:Verdana, sans-serif;
	padding:0.5em;
	margin:0.5em 0 0.5em 0;
}

.dragarea p
{
	margin-top:0;
}

.dragarea.dragging
{
	background-color:lightpink;
}

.hexdump-prev, .hexdump-next
{
	text-decoration:none;
}

.hexdump-disabled, .hexdump-disabled:hover
{
	color:lightgray;
}

.dictionarylookup-results, .dictionarylookup-error {
    margin-top:1em;
}

.dictionarylookup-results p {
    margin-top:2px;
    margin-bottom:2px;
}