/*
 * Style sheet for the CSS3 specification,
 * to be used in addition to http://www.w3.org/StyleSheets/TR/W3C-{WD,PR,REC}
 * $Id: default.css,v 1.1 2001/05/17 15:05:53 dom Exp $
 */

@media print {

    /* the following doesn't work for now,
       instead we rely on a patched version of html2ps which has this built-in */
    .dlink { display: none }

    /* the following doesn't work for now,
       instead we rely on a patched version of html2ps which has this built-in */
    div.navbar {
       display: none;
    }
}

body { text-align: justify }
h2, h3, h5, h6 { text-align: left }

p, p.note + p, p.testlink + p, p.note, p.issue {
    text-indent: 0;
    margin-bottom: 0;
    margin-top: 0.8em
}
p + p {
    text-indent: 2em;
    margin-top: 0
}

h1 + h2 {
    margin-top: 0;
}

pre {
    font-size: 90%;
    text-align: left; /* fixes justification in Mac IE 5 */
    text-indent: 0;   /* fixes indent in Mac Netscape 6 */
}
var {
    font-style: normal;
}
img {
    border-style: none;
    color: white;
}
.toc {
    text-indent: 0;
    text-align: left;
}

/* I don't like all that blue text, how about this: */
/* It should be 'inherit', but Netscape inserts a random color :-( */
a.noxref:link, a.noxref:visited {color: black; /*color: inherit*/}
div.example a:link, div.example a:visited {color: maroon; /*color: inherit*/}
div.deprecated-html-example a:link,
div.deprecated-html-example a:visited {color: red; /*color: inherit*/}
.note a:link, .note a:visited {color: green; /*color: inherit*/}


@media all { /* NS < 6 doesn't like borders around inline elements... */

    body {
        line-height: 1.4;
    }

    a:link, a:visited {
        color: inherit;
        text-decoration: underline;
        /* padding: 0 0.3em; */
    }
    a:link:before, a:visited:before {
        content: counter(dummy, disc);
    }
    a.logo:link, a.logo:visited {
        padding: 0;
        border-style: none;
    }

    /* Hmm, this seems to confuse many browsers... */
    dt { margin-left: 0 }
    dd { margin-left: 2em }
    dl, ul, ol { margin-left: 0 }
    li { margin-left: 2em }

}

div.example { color: maroon }
pre.example { color: maroon }
pre.illegal-example { color: red }
div.illegal-example { color: red }
div.illegal-example p { color: black }


div.html { color: maroon }
pre.html { color: maroon }
pre.illegal-html { color: red }
div.illegal-html { color: red }
div.illegal-html p { color: black }
pre.deprecated-html { color: red }
div.deprecated-html { color: red }
div.deprecated-html p { color: black }

div.xml { color: maroon }
pre.xml { color: maroon }
pre.illegal-xml { color: red }
div.illegal-xml { color: red }
div.illegal-xml p { color: black }

.css { color: #7F0000 }		/* inline CSS code (SPAN) */
code.html { color: maroon }	/* inline HTML */
code.xml { color: maroon }	/* inline XML */
.property { /* font-weight: bold */ }	/* name of a CSS property (SPAN) */
.issue { color: #E50000 }	/* editorial remark, open issue (P or DIV) */
.type { font-style: italic } /* A <type> value for a property */

.note {				/* non-normative note (P or DIV) */
    /* font-weight: bold; */
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 2em;
    margin-right: 2em;
    color: green
}

.normref { 
    color: red;
}	

.informref {
    color: green;
}	

ol.toc {
  list-style: disc;		/* Mac NS has problem with 'none' */
  list-style: none;
}
div.toc ul ul, div.toc ol ol {margin-left: 0}
div.toc ul ul ul, div.toc ol ol ol {margin-left: 1em}
div.toc ul ul ul ul, div.toc ol ol ol ol {margin-left: 0}
li.tocline1 {font-weight: bold}
li.tocline2 {font-weight: normal}
li.tocline4 {font-style: italic}
/* div.subtoc ul, div.subtoc ol {list-style: none} */
/* The border in the following rule crashes NN4 on fonts.html :-(
div.subtoc {padding: 1em; border: solid black thin; margin: 1em 0;
    background: #ddd}
*/
ul.index {
  list-style: disc;		/* Mac NS has problem with 'none' */
  list-style: none;
}

s, del {text-decoration: line-through; color: red}
u, ins {text-decoration: underline; background: #bfa}

div.figure {
    text-align: center;
    /*border: solid thin;
    width: 100%;*/
    margin: 2.5em 0
}
p.caption, caption {
    text-align: center;
    font-style: italic;
    /* font-weight: bold; */
    font-size: 90%;
    /* color: #088; */
    margin: 1.5em 25% 0 25%;
}
div.toc, ul.index, dt {
    text-align: left
}
sup {
    vertical-align: super;
    font-size: 80%
}

/* "Equations" (not real MathML, but simple HTML) are put in a
blockquote and may have an equation number. We make sure the
blockquote has enough margin on the right and then put the equation
number there. */

blockquote {
    margin: 0.5em 4em 0.5em 2em;
    text-align: left;
}
.eqno {
    text-align: right;
    float: right;
    width: 3em;
    margin: 0 -4em 0 0;
    font-weight: bold;
    /* background: silver; color: black; padding: 0.1em */
}

table.equiv-table { border-spacing: 0; margin: 0.5em 0 }
table.equiv-table th, table.equiv-table td { padding: 0.3em }
table.equiv-table th { text-align: left }
table.equiv-table th:first-child { text-align: right }
table.equiv-table td, table.equiv-table th { border-bottom: thin solid #666 }
table.equiv-table { border-bottom: hidden }
table.equiv-table { empty-cells: show }
table.equiv-table caption { margin: 0.5em 0 0 0 }

/* Almost every section starts with a link to the test suite. We put
that link in the margin and make it look like a button. */

p.testlink {
    float: left;
    width: 3em;
    margin: 0 0 0 -3.6em;
    font-weight: bold
}
p.testlink a {
    color: black;
    background: silver;
    border: thin outset silver;
    text-decoration: none;
    padding: 0.2em 0.6em;
    font-size: smaller;
    text-shadow: -1px -1px white;
}
p.testlink a:active {
    border-style: inset;
}

dl.bibliography {
    text-align: left;
}

/* Style for table of properties */
table.proptable {
    font-size: small;
    border-collapse: collapse;	/* default */
    border-spacing: 0;		/* default */
}
table.proptable td, table.proptable th {
    padding: 1ex;
    border-style: solid none none dotted;
    border-width: thin;
    border-color: red;
}
table.proptable th:first-child, table.proptable td:first-child {
    border-left-style: none;
}
