/* 
 * Shamelessly copied from FreeBSD docbook.css,
 * adapted to DocBook XSL output, and customized.
 * Original copyright notice:
 */

/*
 * Copyright (c) 2001, 2003, 2010 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: doc/share/misc/docbook.css,v 1.15 2010/03/20 04:15:01 hrs Exp $
 */

body {
    font-family: 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;
}
*/

.toc dt {
    margin-bottom: 2px;
}

.toc a {
    display: inline-block;
    padding: 6px 6px 6px 6px;
    border: 1px solid white;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.toc a:hover {
    border: 1px solid #edd400;
}

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: #204a87;
}

a:link {
    color: #3465a4;
}

a:visited {
    color: #75507b;
}

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%;
}

body h3, body h4 {
    margin: .8em 0 0 -3%;
}

body h5 {
    margin: .8em 0 0 -2%;
}

body h6 {
    margin: .8em 0 0 -1%;
}

body hr {
    margin: .6em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #cecece;
}

body img.navheader {
    margin: 0 0 0 -4%;
}

ol {
    margin: 0 0 0 0;
    line-height: 1.2;
}

body pre {
    margin: .75em 0;
    line-height: 1.0;
    font-family: monospace;
}

body td, body th {
    line-height: 1.2;
}

ul, body dir, body menu {
    margin: 0 0 0 0;
    line-height: 1.2;
}

html {
    margin: 0; 
    padding: 0;
}

body p b.application {
    color: #73d216;
}

.filename {
    color: #4e9a06;
}

.guimenu, .guimenuitem, .guisubmenu,
.guilabel, .interface,
.shortcut, .shortcut .keycap {
    font-weight: bold;
}

.guibutton {
    background-color: #cfcfcf;
    padding: 2px;
}

.accel {
    background-color: #f0f0f0;
    text-decoration: underline;
} 

.example .programlisting {
    margin-left: -1.5em;
}

.programlisting {
    padding: 1ex;
    background-color: #eee;
    border: 1px solid #ccc;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.screen {
    padding: 1ex;
    color: #eeeeec;
    background-color: black;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    max-width: 100ex;
}

a[href]:hover {
    background: #ffa
}

div.note {
    color: #222;
    background: #eee;
    border: 1px solid #ccc;
    padding: 0.4em 0.4em;
    width: 75%;
}

div.tip {
    color: #004f00;
    background: #d8ecd6;
    border: 1px solid green;
    padding: 0.2em 2em;
    width: 75%;
}

div.important {
    font-style:italic;
    border: 1px solid #a00;
    border-left: 12px solid #c00;
    padding: 0.1em 1em;
    width: 75%;
}

div.warning {
    color: #9f1313;
    background: #f8e8e8;
    border: 1px solid #e59595;
    padding: 0.2em 2em;
    width: 75%;
}

div.note h3:after,
div.tip h3:after,
div.important h3:after,
div.warning h3:after {
    content: ":";
}

div.note h3,
div.tip h3,
div.important h3,
div.warning h3 {
    display: inline;
    margin: 0;
    color: #2e3436;
    font-size: 100%;
}

.example {
    background: #fefde6;
    border: 1px solid #f1bb16;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin: 1em 0;
    padding: 0.2em 2em;
    width: 90%;
}

.example .title {
    margin-left: -1em;
}

.informaltable table.calstable tr td {
    padding-left: 1em;
    padding-right: 1em;
}

.productname
{
    font-variant: small-caps
}

.command
{
    font-family: monospace;
}
