/*
 * Stilmall för dialogsidan
 * © 2002-2005 Peter Karlsson
 */

/* Indrag för bilderna */
.bild
{
	padding-left: 1em;
}

/* Jag vill inte att IE skall lägga in rullningslister runt bilden,
   men detta fungerar inte:
object
{
	padding: 0;
	margin: 0;
	border: 0;
}
*/

/* Ta bort streck från grafiska webbläsare */
.dialog hr, .webbsida hr
{
	display: none;
}

/* Men ta in dem igen i fejkdialogerna */
.dialog hr.display
{
	display: block;
	margin: 1em;
}

/* Fejka dialoger om vi inte visar bilder */
.dialog
{
	max-width: 60em;
}

.dialog, .buttons span
{
	color: MenuText;
	background: Menu;
	border-top: 2px solid ThreeDHighLight;
	border-left: 2px solid ThreeDHighLight;
	border-right: 2px solid ThreeDDarkShadow;
	border-bottom: 2px solid ThreeDDarkShadow;
	font: small-caption;
}

.dialog h3
{
	color: CaptionText;
	background: ActiveCaption;
	font: 1.1em bold caption;
	margin: 0 0 1em 0;
	padding: 2px;
	text-decoration: none;
}

.dialog h4
{
	font: 1em bold small-caption;
}

.dialog del
{
	color: GrayText;
	text-decoration: none;
}

.dialog p, .dialog ul
{
	margin: 1em;
}

.dialog table tr th, .dialog table tr td
{
	text-align: left;
	vertical-align: top;
}

.dialog table tr td.border
{
	border-top: 1px solid ThreeDDarkShadow;
	border-left: 1px solid ThreeDDarkShadow;
	border-right: 1px solid ThreeDHighLight;
	border-bottom: 1px solid ThreeDHighLight;
}

/* Knappar i dialoger */
.buttons
{
	text-align: center;
	border: 1em;
	padding: 0 0 1em;
}

.buttons span
{
	padding: 2px 2em;
}

/* Rityta för "inbäddade" webbsidor */
.webbsida
{
	border: 1px dashed #222;
	padding: 0.5em;
	margin: 0 1em 0 0;
}

.webbsida h3, .webbsida h4
{
	margin-top: 0.5em;
}

/* Gå runt ett fel i Opera 7 b1 och b2, de tror att <object>-innehållet
   avslutas när de stöter på <div>-märket inuti det. Vid korrekt tolkning
   av dokumentet matchas aldrig dessa regler. */
p.bild + div.dialog, p.bild + div.webbsida,
p.bild + div.dialog + p, p.bild + div.webbsida + p
{
	display: none;
}

/* Innehållsförteckningen blir överritad av bakgrundsfärgen i rubriken */
h2.empha 
{
	clear: both;
}
