/*
 * Copyright (c) 2001, 2003 The FreeBSD Documentation Project
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * $FreeBSD: /repoman/r/dcvs/doc/share/misc/docbook.css,v 1.8 2006/02/26 13:16:52 ceri Exp $
 */
 
BODY {
	font-family: Helvetica, Arial, Sans-Serif;
}

BODY ADDRESS {
	line-height: 1.3;
	margin: .6em 0;
}

BODY BLOCKQUOTE {
	margin-top: .75em;
	line-height: 1.5;
	margin-bottom: .75em;
}

HTML BODY {
	margin: 1em 8% 1em 10%;
	line-height: 1.2;
}

.LEGALNOTICE {
	font-size: small;
	font-variant: small-caps;
}

BODY DIV {
	margin: 0;
}

DL {
	margin: .8em 0;
	line-height: 1.2;
}

BODY FORM {
	margin: .6em 0;
}

H1, H2, H3, H4, H5, H6,
DIV.EXAMPLE P B,
.QUESTION,
DIV.TABLE P B,
DIV.PROCEDURE P B {
	color: #990000;
}

BODY H1, BODY H2, BODY H3, BODY H4, BODY H5, BODY H6 {
	line-height: 1.3;
	margin-left: 0;
}

BODY H1, BODY H2 {
	margin: .8em 0 0 -4%;
	font-size: 100%;
}

BODY H3, BODY H4 {
	margin: .8em 0 0 -3%;
	font-size: 100%;
}

BODY H5 {
	margin: .8em 0 0 -2%;
	font-size: 100%;
}

BODY H6 {
	margin: .8em 0 0 -1%;
	font-size: 100%;
}

BODY HR {
	margin: .6em;
}

BODY IMG.NAVHEADER {
	margin: 0 0 0 -4%;
}

OL {
	margin: 0 0 0 1.5%;
	line-height: 1.2;
}

BODY PRE {
	margin: .75em 0;
	line-height: 1.0;
	color: #461b7e;
}

BODY TD, BODY TH {
	line-height: 1.2;
}

UL, BODY DIR, BODY MENU {
	margin: 0 0 0 1.5%;
	line-height: 1.2;
}

HTML {
	margin: 0; 
	padding: 0;
}

.FILENAME {
	color: #007a00;
}

.GUIMENU, .GUIMENUITEM, .GUISUBMENU,
.GUILABEL, .INTERFACE, .GUIBUTTON,
.SHORTCUT, .SHORTCUT .KEYCAP {
	background-color: #F0F0F0;
}

.ACCEL {
	background-color: #F0F0F0;
	text-decoration: underline;
} 

.PROGRAMLISTING, .SCREEN {
	margin-left: 3ex;
}

/* DAC changes ... */

table {
    margin-left: auto;
    margin-right: auto;
}

table caption {
	font-weight: bold;
    margin-left: auto;
    margin-right: auto;
}

td {
    padding: 5px;
    border: solid #000 1px;
    color: #000000;
    text-align: left;
    vertical-align: top;
    background-color: #CCCCCC;
}

/* Need to add this to control spacing above and below lines in tables that changed when moved to XHTML from HTML that caused big increase in line spacing :( */
td p {
    margin-top: 0em;
    margin-bottom: 0.5em;
}

td > p:last-child {
    margin-bottom: 0em;
}

th {
    padding: 5px;
    border: solid #000 1px;
    color: #000000;
	font-weight: bold;
    text-align: center;
    vertical-align: top;
    background-color: #CCCCCC;
}

div[class=note] {
	font-style: italic;
}

span[class=italic] {
	font-style: italic;
}

div[class=figure-contents] {
    text-align: center;
}

div[class=informalfigure] {
    text-align: center;
}

pre[class=literallayout] {
}

p[class=title] {
    text-align: center;
    background-color: #CCCCCC;
}

div[class=variablelist] p[class=title] {
    text-align: left;
}

div[class=variablelist] p[class=title] strong {
	font-weight: normal;
}
div[class=example] {
    padding: 5px;
    border: solid #000 1px;
}

/* Stuff for when docbook make.clean.html = '1' rather than '0' ... not currently used */
/*
span[class=formalpara-title] {
	color: #990000;
}
*/



