/*
 * Style sheet for printing the Perforce Schema document
 *
 * Copyright 2005, Perforce Software Inc.
 *
 * $Id: //depot/main/p4-doc/schema/schema.css#1 $
 *
 */

h1,h2,h3,h4,h5,h6
{
    color:		black;
}

h1
{
    text-align:		center;
}

h2
{
    margin-top:		3em;
    padding-top:	5px;
    border-top:		solid 2px black;
}

a
{
    text-decoration:	none;
    color:		black;
    font-weight:	bold;
}

div.copy
{
    margin-top:		2em;
    font-style:		italic;
}

div.desc
{
    margin-top:		1em;
}

div.highlight
{
    font-weight:	bold;
    margin-top:		1em;
    margin-bottom:	1em;
}

div.keying
{
    margin-left:	2em;
    margin-top:		1em;
    font-weight:	bold;
}

div.note
{
    margin-left:	2em;
    margin-top:		10px;
}

div.typedesc
{
    margin-left:	2em;
    margin-top:		1em;
}

div.section-body
{
    margin-left:	2em;
}

div.seeAlso
{
    margin-left:	2em;
    margin-top:		1em;
}

div.grouped
{
    page-break-inside:	avoid;
}


span.tag 
{
    color:		black;
    font-weight:	bold;
    margin-right:	5px;
}

span.xlink
{
    margin-right:	1em;
}

td
{
    padding-left:	5px;
    padding-right:	5px;
}
table.tablelist
{
    border-collapse:	collapse;
}

table.tablelist tr th
{
    color:		white;
    background-color:	#808080;
    font-weight:	bold;
    padding:		3px;
    border:		solid 1px black;
}
table.tablelist tr td
{
    border:		solid 1px black;
    padding:		3px;
}

table.tablespec
{
    border-collapse:	collapse;
    margin-top:		1em;
}

table.tablespec tr th
{
    border:		solid 1px black;
    padding:		3px;
    background-color:	#808080;
    color:		white;
    font-weight:	bold;
}
table.tablespec tr td
{
    border:		solid 1px black;
    padding:		3px;
}

table.typevalues
{
    border-collapse:	collapse;
    border:		solid 1px black;
}

table.typevalues tr th
{
    background-color:	#808080;
    color:		white;
    font-weight:	bold;
}
table.typevalues tr td
{
    border:		solid 1px black;
}

/*
 * Release markers.  Printing is black and white, so new items are bold on a light
 * grey background, new headings and list items get a change bar, and removed items
 * are struck through; the badge text says why.
 */

.new
{
    font-weight:	bold;
}

tr.new, td.new, span.new
{
    background-color:	#e6e6e6;
}

/* New headings and list items have no row to shade, so they get a change bar */
h3.new, h4.new, li.new
{
    border-left:	solid 4px black;
    padding-left:	5px;
}

.gone, .retired
{
    text-decoration:	line-through;
}

tr.gone td, tr.retired td
{
    text-decoration:	line-through;
}

span.tablemark
{
    margin-left:	1.5em;
    font-weight:	bold;
}

span.badge
{
    display:		inline-block;	/* keeps a strike-through off the label */
    margin-left:	0.5em;
    font-size:		80%;
    font-weight:	bold;
    font-style:		normal;
    text-decoration:	none;
}

div.legend
{
    margin-top:		1em;
}
