/* Catch rule for unparsed nodes */
.invalid:before, .invalid:after {
  border: 1px solid red;
  background: lightblue;
  color: black;
  padding: 3px;
}

.invalid:before {
	content: "[ " attr(title) " ]";
}

.invalid:after {
	content: "[/ " attr(title) " ]";
}

/* Core Article info block */
.articleinfo {
    /*border: 1px dashed black;*/
    margin-bottom: 1em;
}

.articleinfo .author {
   margin-top: 1ex;
   margin-bottom: 1ex;
   font-weight: bold;
}

.articleinfo .contrib {
  margin-left: 1ex;
}

.articleinfo .authorblurb {
  text-align: right;
}

.revhistory {
  border-top: 1px solid black;
  border-left: 1px solid black;
  /*border-collapse: collapse;*/
  width: 100%;
}

.revhistory caption {
  font-weight: bold;
}

.revhistory tr td {
   border-bottom: 1px solid black;
   border-right: 1px solid black;
}

/* Block Styles */
.programlisting {
/*  overflow: hidden;*/
  border: 1px solid rgb(192,192,192);
}
.section {
/*  border-left: 1px dashed red;*/
  margin-top: 5px;
}
.section > .section {
  margin-left: 1em;
}

p.para {
    margin-top: 1ex;
    margin-bottom: 0px;
}

p.simpara {
  margin-bottom:0px;
  margin-top:0px;
}
.example {
  border-left: 2px solid rgb(192,192,192);
  padding-left: 5px;
}
.example h3 {
 border-bottom: 1px solid blue;
}
/* Q and A set */
div.qandaset {
/*  border-left: 1px dashed blue;*/
}
dl.qandadiv {
  margin-left: 1em;
/*  border-left: 1px dashed blue;*/
}
dl.qandadiv dt { /*qandaentry question*/
  margin-top: 1ex;
  margin-bottom: 1em;
/*  border-left: 1px dashed purple;*/
  font-weight: bold;
}
dl.qandadiv dt > span.question {
  margin-left: 0em;
  margin-right: 1em;
}
dl.qandadiv dd { /*qandaentry answer */
  margin-left: 1em;
/*  border-left: 1px dashed green;*/
}

/* Inline Styles */
.filename {
  font-family: monospace;
  background-color: cornsilk;
  border: solid 1px cornsilk;
}
.emphasis, .replaceable, .application {
  font-style: italic;
}
.command {
  font-weight: lighter;
}
/* List styles */
dl.variablelist dt {
  font-weight: bold;
}
dl.variablelist dd {
  margin-left: 3em;
}
/* Note styles */
img.note {
  float: left;
  margin-right: 7px;
  margin-bottom: 7px;
}
div.note, div.tip, div.caution, div.importation, div.warning {
  border: 1px solid red;
  min-height: 30px;
  background: rgb(224,224,224);
}
/* Table Styles */
.table table, .informaltable table {
  margin-bottom: 5px;
  border-collapse: collapse;
}

.table table * tr td, .informaltable table * tr td {
  border: 1px solid silver;
}

.table table caption,  .informaltable table caption {
  text-align: left;
  font-weight: bold;
}
.table table thead tr td, .informaltable table thead tr td {
  font-weight: bold;
}

/* TOC */
dl.toc, dl.qandatoc {
    margin-top:0px;
    margin-bottom:0px;
}

dl.toc dd, dl.qandatoc dd {
    margin-left: 2em;
}
