/*  Color scheme:
	- "DSL-blå": Pantone 302:   #004F6D
	- "Gul baggrund":           #fffbe5;
	- "Gul boksbaggrund":       #fffad5;
	- "Grå skrift":             #b5b5b5;
	- "Rødt blikfang":          #c81717;
	- "Næsten-hvid menuskrift": #dddddd;
	- "Besøgt ordhjul":         #aaaaaa;
	- "Mørk baggrund (bokse)":  #e3daaa;
*/


/* GENERAL */
body{
	font-family: verdana, arial, sans-serif;
	color: black;
}

input {
	background-color: white;
	border-bottom: black 2px solid;
	border-right: black 2px solid;
	border-top: #ddd 2px solid;
	border-left: #ddd 2px solid;
}

legend {
}

fieldset {
	border: 1px solid gray;
	margin: 0;
	padding: 5px;
}

fieldset a {
	display:block;
	color: #004F6D;
	text-decoration: underline;
	font-size: 0.7em;
	text-align: right;
}

/* CONTENT STYLE*/

div#main {
	max-width: 450px;
	/* Javascript has been removed!!! 28/11/2005 RIP */
	padding-bottom: 1em;
	margin-left: 20px;
	background: transparent;
	font-size: 0.9em;
}	

/* headings */
div#main h1 {
	padding: 0;
	margin: 1.5em 0 0.75em 0;
	letter-spacing: 0.02em;
	text-align: center;
	color: #004F6D;
}
div#main h2 {
	margin: 0; 
	margin-top: 2em;
	padding-bottom: 0.2em;
	font-size: 1.2em;
	font-family: sans-serif; 
	text-align: right; 
	border-bottom: solid 1px #004F6D;
	color: #004F6D;
}

div#main h3 {
	margin: 1.5em 0 0 0;
	color: #004F6D;
}

/* style for objects in paragraf */
div#main p {
	margin: 0;
	padding-top: 0.5em;
	text-align: justify;
}

div#main span.title {
	font-style: italic;
}

div#main span.exentry {
	font-family: serif;
	font-weight: bold;
	letter-spacing: 0.05em;
}

div#main span.keystroke {
	font-family: monospace;
}

div#main span.english {
	color: #b5b5b5;
}

/* links */
div#main a{
	color: #004F6D;
	text-decoration: none;
	background-color: transparent;
}

div#main a.backlink {
	font-size: 0.8em;
	text-align: center;
}


/* content illustations */
div#main div.illustrationpos{
	position: absolute;
	left: 670px; /* 480px for IE */
	border: 1px solid #fffbe5;
}

div#main div.illustrationpos>#bookmarkscon{
	margin-top: 0;
	position: relative;
	top: 120px;
}
/* IE hack */
* html div#main div.illustrationpos #bookmarkscon {margin-top: 160px;}

div#main div.illustrationpos #bookmarkscon{
	border: 1px solid black;
	background-color: #e3daaa;
	margin: 0 3px;
	width: 230px;
	padding: 5px;
	font-size: 0.8em;
}

div#main div.illustrationpos #bookmarkscon h4{
	margin-top: 5px;
	color: #004F6D;
	text-align: center;
}

div#main div.illustrationpos ul#bookmarks{
	padding-left: 20px;
	list-style-type: circle;
	position: relative;
	margin-left: 0;
}

div#main div.illustrationpos ul#bookmarks ul{
	margin-left: 15px;
	padding-left: 0;
}

/* Illustration in the right margin */
div#main div.illustrationpos .illustration{
	border: 1px solid black;
	background-color: #e3daaa;
	margin: 3px;
	padding: 5px;
	width: 230px;
}

/* hack to compensate for IE's broken box-model in quirks-mode */
* html div#main div.illustrationpos .illustration{
	width: 242px;
}

div#main div.illustrationpos .external{
	border: 1px solid black;
	background-color: #e3daaa;
	margin: 3px;
	padding: 5px;
	width: 230px;
}
* html div#main div.illustrationpos .external{
	width: 242px;
}
div#main div.illustrationpos .external h2{
	text-align: center;
	font-size: smaller;
}
div#main div.illustrationpos .external p{
	text-align: left;
}


/* Illustration in the text (full line width) added by nhs 2005-12-06 */
div#main .illustration {
	border: 1px solid black;
	background-color: #e3daaa;
	margin: 3px;
	padding: 5px;
}


div#main .illustration p img{
	width: 100%;
}

div.illustration p a img{
	border: none;
}

/* caption */
div#main .illustration p{
	text-align: center;
	font-size: 0.8em;
	font-style: italic;
	margin: 0;
	padding: 0;
}

/* lists */

div#main ul{
	list-style: circle;
}

div#main ul li{
	font-size: 0.9em;
}

div#main ol {
	list-style: circle;
	margin-left: 20px;
	padding-left: 0;
}
div#main ol li{
	padding-right: 15px;
	text-align: left;
	font-size: 0.9em;
}
/* ---------------------- */
/* Long lists added by nhs 2006-10-18 */
div#main table {
    width: 100%;
}

div#main table tr.super {
    font-size: 1.3em;
}

div#main table tr.sub {
    font-size: 1.2em;
}

div#main table tr.super td.key {    
    padding-top: 10px;
}
div#main table tr.super td.def {    
    padding-top: 10px;
}

div#main table tr td.key{
    color: #004F6D;
    width: 30%;
    font-weight: bold;
    vertical-align: top;
}
div#main table tr td.def{
    vertical-align: top;
}

div#main table tr.sub td {
    padding-left: 1em;
}

div#main table tr td span.dotSpaced {
    color: black;
}

div#main table tr td b {
    color: #004F6D;
}
/* ----------------------- */


/* bibliography */
div#main ol li.literature{
	font-size: 0.8em;
	margin-bottom: 4px;
}

div#main ol li.literature span.litauthor{
	font-weight: bold;
}

div#main ol li.literature span.littitle{
	font-style: italic;
}
/* -------------- */

div#main dt {
	float: left;
	width: 5 em;
	font-weight: bolder;
}

div#main dd {
	margin-left: 6em;
}

div#main dl.exentry dt{
	float: none;
}

div#main dl.exentry dd{
	margin-left: 3em;
}
/* forms */

div#main form {
	color: #004F6D;
}

div#main form fieldset {
	padding-bottom: 10px;
	padding-left: 20px;
}

div#main legend {
	color: #004F6D;
	margin-left: -5px;
}

/* Added by nhs 2005-12-06 */
div#main div.editorial_comment {
	border: 1px solid #004F6D;
	background-color: #e3daaa;
	margin: 3px;
	padding: 5px;
	font-size: 0.75em;
}

/* Table_of_contents boxes */
/* Added by nhs 2005-12-06 */
div#main div.external_index {
	/* float: right;*/
	border: 1px solid #004F6D;
	background-color: #e3daaa;
	margin-left: 3px;
	padding: 5px;
	font-size: 0.75em;
	width: 200px;
	position: absolute;
	left: 670px;
}
/* Added by nhs 2005-12-06 */
div#main div.external_index li, div.index li {
	text-align: left;
}
/* Added by nhs 2005-12-06 */
div#main div.external_index ol, div.index ol {
	margin-bottom: 0.25em;
}
/* Added by nhs 2005-12-06 */
div#main li.marked {
	list-style: square;
	font-weight: bold;
	font-size: 1em;
	padding-right: 0px;
}
/* Added by nhs 2005-12-06 */
div#main div.index {
	float: left;
	border: 1px solid #004F6D;
	background-color: #e3daaa;
	margin-left: 3px;
	padding: 5px;
	font-size: 0.75em;
	width: 225px;
}



/* ARTICLE STYLE */

.article p{
	font-size: 1em;
	margin-left: 50px;
	margin-bottom: 10px;
	margin-top: 10px;
}

.article ul {
	margin-top: -10px;
	list-style: circle;
	font-size: 0.9em;
}

.article ul li {
	list-style: circle;
	margin-left: 80px;
	padding-left: 0;
	text-align: left;
	}

p.firstpara {
	text-indent: -50px;
}

a.textlinks {
	color: #004F6D;
	text-decoration: none;
	background-color: transparent;
}

span.title {
	font-style: italic;
}

/* betydningsnummer */
.dotBetNo{
	font-weight: 600;
	margin-top: 10px;
}

/* underbetydningsnummer */
.dotSubBetNo{
	font-size: 0.75em;
}

/* spatieret tekst */
.dotSpaced, dotSpaced{
	letter-spacing: 0.15em;
	color: navy;
}

/* lemmal = opslagsord */
.dotLemma{
	font-size: 1.2em;
}

/* mindre tekst */
.dotSmall{
	font-size: 0.7em;
}

/* hÃ¦vet skrift */
.dotRaised{
	font-size: 0.75em;
    vertical-align: top;
}

/* to lodrette streger */
.dotEdBreak{
	letter-spacing: -0.22em;
}

/* ?? */
.dotEdParenth{

}

/* kursiv skrift */
.italics{
	font-style: italic;
}

/* fed skrift */
.bold{
	font-weight: bold;
}

/* pictogrammer */
img.pictogram {
	height: 1em;
}

/* Description of phoneticsigns the browser can not render */
/* Unknown character */
/* The unknown character have to be in an a-tag. */
/* IE does not support hovereffect on other tags than a */
p a.dotUChar{
	position: relative;
	color: rgb(70, 80, 130);
	cursor: help;
	text-decoration: none;
}

/* When not hover the description is hidden */
p a.dotUChar span.dotUCharDesc{
	display: none;
}

p a.dotUChar:hover {
	/*the following declaration is needed. Otherwise the hovereffect will not work in IE*/
	/*Have a look at http://www.xs4all.nl/~ppk/css2tests/ie6/purecsspopups.html*/
	border: none;
}

/* When hover the decription appear in a box. */
p a.dotUChar:hover span.dotUCharDesc{
	position: absolute;
	top: 10px;
	left: 0;
	color: black;
	text-indent: 0;
	display: block;
	border: 1px navy solid;
	padding: 10px;
	background-color: #FFF;
	width: 200px;
	z-index: 200;
}

/* ?? */
p a.dotUChar span.dotUCharType{
	display: block;
	color: black;
	font-weight: bold;
}

/* WORDWHEEL STYLE */
/* part of speach */
li span.pos{
	font-style: italic;
	font-size: 0.7em;
}

/* homograph number */
li span.homno{
	text-align: right;
	font-size: 0.7em;
	margin-top: 0.3em;
	line-height: 1em;
}

/* style for items in wordwheel */
div.wheelcontainer ol li {
	margin-top: 0.5em;
	/*line-height: 0.5em;*/
}
div.wheelcontainer ol li a:visited {
	color: #000000;
	background-color: transparent;
	text-decoration: none;
}

div.wheelcontainer ol li a:link {
	color: #000000;
	background-color: transparent;
	text-decoration: none;
}

div.wheelcontainer ol li a:hover {
	color: #000000;
	background-color: transparent;
	text-decoration: underline;
}

div.wheelcontainer ol li a:active {
	color: rgb(200, 0, 0);
	background-color: transparent;
	text-decoration: underline;
}

/* Marked word in wordwheel */
div.wheelcontainer ol li.shown {
	line-height: 1.1em;
}
div.wheelcontainer ol li.shown a {
	color: black;
	font-weight: 900;
	border-bottom: 1px solid red;
}

div.wheelcontainer ol li.shown span.homno{
	font-weight: 900;
}



/* style for items in matches */
div.wheelcontainer_matches ol li {
	margin-top: 0.5em;
	/*line-height: 0.5em;*/
}
div.wheelcontainer_matches ol li a:visited {
	color: #000000;
	background-color: transparent;
	text-decoration: none;
}

div.wheelcontainer_matches ol li a:link {
	color: #000000;
	background-color: transparent;
	text-decoration: none;
}

div.wheelcontainer_matches ol li a:hover {
	color: #000000;
	background-color: transparent;
	text-decoration: underline;
}

div.wheelcontainer_matches ol li a:active {
	color: rgb(200, 0, 0);
	background-color: transparent;
	text-decoration: underline;
}

/* Marked word in wordwheel */
div.wheelcontainer_matches ol li.shown {
	line-height: 1.1em;
}
div.wheelcontainer_matches ol li.shown a {
	color: black;
	font-weight: 900;
	border-bottom: 1px solid red;
}

div.wheelcontainer_matches ol li.shown span.homno{
	font-weight: 900;
}


/* TRASH */
/*div#punchleft {
	float: left; 
	width: 1em; 
	margin-right: 10px;
	font-size: 500%; 
	text-align: center; 
	padding: 0.1em 0.1em 0; 
	background: #fffbe5; 
	color: #004F6D; 
	border: solid #003F6D; 1px; 
	border-width: 0.2em 0.2em 0.2em 0.2em; 
}*/

