/* general */
html, body, div, span, h1, h2, h3, h4, h5, h6 {
	margin:0;
	padding:0;
}

body {
	font:90%/1.5 "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	text-align:justify;
}

h2, h3, h4, h5, h6 {
	margin-top:0.5em;
}

small {
	font-size:0.8em;
}
big {
	font-size:1.15em;
}

.no_display {
	display:none;
}

p {
	margin:0px;
	padding:0.15em 0px;
	text-indent:0.6em;
}

p:first-child {
	text-indent:0;
}
ul {
	margin:0 0 0 0.5em;
	padding:0.15em 0;
	list-style-position:inside;
}
ul li {
	margin:0;
	padding:0 0.1em 0 1em;
	text-indent:-1em;
}

dl dt {
	font-weight:bold;
}

a {
	padding:0.5em 0;
	text-decoration:underline;
}

#contents a[href ^="http://"] {
/*	content:" »";*/
	background:url(img/external.png) center right no-repeat;
	padding-right:13px;
}

a.vocabulary {
	cursor:help;
}
a.vocabulary:after {
	content:"?";
	vertical-align:super;
	font-size:0.7em;
	color:#000;
}

a.vocabulary:hover:after {
	color:#f00;
}

abbr {
	text-decoration:none;
	font-style:normal;
	outline:none;
	border-bottom:1px dashed #000;
}
/* Generic quotes */
q { quotes: '\201C' '\201D' '\2018' '\2019'; }
q:lang(sv) { quotes: '\201D' '\201D' '\2019' '\2019'; }
q:lang(da) { quotes: '\00BB' '\00AB' '\203A' '\2039'; }

q:before { content: open-quote; }
q:after  { content: close-quote; }


.accesskey {
	text-decoration:underline;
	display:inline !important;
}

select {
	margin:0.2em 0;
	padding:0.15em;
}
select {
	margin:0.2em 0;
	padding:0;
}

/* site specific; basic layout */

div#container_container-4 {
	padding:1.5em;
}
div#container_container-3 {
	width:80%;
	min-width:40em;
	max-width:70em;
	margin:0px auto;
}

div#header_banner {
	height:6em;
}
div#contents_container-4 {
	width:75%;
	float:right;
}

div#main_contents_end {
	clear:both;
}

div#nav_container-4 {
	float:left;
	width:25%;
}
div#nav ul {
	padding:0;
	margin:0;
	list-style:none;
}
div#footer {
	clear:both;
}

/* more specialized layout */

div#header_banner h1 {
	float:right;
	font:3em/1.0 "Lucida Grande", Georgia, Times, "Times New Roman", serif;
	padding:0.25em 0.5em;
	margin:0.4em 1.5em 0.1em 0;
}
div#header_banner div#header_page_description {
	float:left;
	margin:0.5em 1em 3.5em 1em;
	padding:0.5em;
	font-size:0.8em;
	line-height:1.0;

	/* we have to include colors, since it could be extremely hard to see the text, if the user stylesheet isn't well formed */
	background:#fff;
	color:#000;
	border:1px solid #999;
}
div#contents div#page_description {
	float:right;
	font-size:0.85em;
	margin:0 0 1.5em 1.5em;
	padding:0.5em;
	width:25%;
	border-width:1px;
	border-style:solid;
	text-align:left;
}

div.see_also {
	float:right;
	clear:right;
	margin:0.3em 0 1.5em 1.5em;
	padding:0.5em 0 0.5em 1em;
	border-left:2px solid #666;
	width:25%;
	font-size:0.8em;
	text-align:left;
}
div.see_also small {
	font-size:1em;
}

div#header_banner a#banner {
	float:left;
	width:25%;
	text-decoration:none;
	display:block;
	padding:0;
	margin:0;
}
div#header_banner a#banner:hover, div#header_banner a#banner {
	text-decoration:none;
}

div#header_banner a#banner span {
	display:block;
	height:6em;
	padding:0px;
}

div#nav ul li {
	margin:0;
	padding:0;
	text-indent:0;
}
div#nav ul ul {
	padding:0 0 0 1em;
/*	display:none;*/
}
/*div#nav li.active, div#nav ul ul.active {
	display:block;
}*/

div#nav a, div#nav span.no_link {
	display:block;
	margin:0;
	padding:0;
}
div#nav a span, div#nav span.no_link span {
	display:block;
	padding:0.1em 0.4em;
	margin:0;
}
div#nav a span.accesskey, div#nav span.no_link span.accesskey {
	display:inline;
	padding:0;
}

div#nav span.no_link {
	cursor:text;
}

div#footer hr.spacer {
	display:none;
}
div#footer div#validating_container {
	float:left;
	width:25%;
}
div#footer div#validating {
	text-align:right;
	padding-right:1em;
}
div#footer div#validating a {
	text-decoration:underline;
	font-weight:bold;
}


div#footer div#copyright {
	margin-left:25%;
	padding:0px 3em;
	text-align:center;
}
div#footer div#footer_end {
	clear:both;
}

/* Forms */
input.main.button {
	font-weight:bold;
}


/* Cursors */
* {
	cursor:inherit;
}
body, label, select, option, button, input[type=submit], input[type=reset], input[type=button], input[type=radio], input[type=checkbox], img {
	cursor:default;
}
div#contents, div#footer {
	cursor:text;
}
a, a * {
	cursor:pointer;
}

.spacer_top {
	margin-top:1em !important;
}
.spacer_bottom {
	margin-bottom:1em !important;
}

.preview_note {
	margin:1em;
	padding:1em;
	border:1px solid #999;
}
.preview_note h2 {
	font-size:1.2em;
}
.preview_note hr {
	display:none;
}

.warning {
	border:2px solid #c00;
}
div.warning, p.warning {
	margin:1em;
	padding:1em;
}
b.warning {
	font-weight:bold;
	border-style:none;
	background-color:transparent;
	color:#c00;
}

/* images */

img {
	margin:5px;
	border:2px solid #999;
	text-align:center;
}

img.tex {
	vertical-align: middle;
	border:none;
	margin:0;
}


div.img_frame {
	text-align:center;
	border:1px solid #999;
	margin:0.3em 1em;
	padding:3px;
	float:right;
	clear:right;
	font-size:0.8em;
}
div.img_frame img {
	border:1px solid #000;
	margin:0px;
}

img.inline {
	margin:0px;
	border-width:0px;
}
