/* Name:"documentation.css
   Created by: Andrew Gent
   Date: June 2010
   Applies to: docbook generated HTML for display in Drupal
   Description: Need to style the links because docbook creates
     links with <a ... />, which result in endless
     anchor links in most browsers. Need only "link" links styled.

   History:
     May 23, 2011 - ajgent - Update link styling to be more specific.
         It is being overridden by the new site styling. 
         Add "div#main-content-wide a {..". to styling.

     Dec 6, 2012 - ajgent - Remove old anti-drupal styling. Keep primarily
	docbook specific formatting around syntax diagrams and code 
	examples. Add new styling to "turn off" parts of the new web site style
	that confict (especially around tables). Also style the navigation UI.

     Aug 19, 2013 - ajgent - Tweaks to counteract styling from new websie 
	design.

*/

div.docbookcontent a.target,
div.docbookcontent a.target:link,
div.docbookcontent a.target:visited,
div.docbookcontent a.target:hover
 {
    text-decoration:none;
    color:inherit;
}

/* Fix table-specific styling from site design */
/*
div.docbookcontent table td { 
	line-height: normal; 
	height: auto;
	padding: 2px 3px; 
	border: none;
}
div.docbookcontent table th { 
	line-height: normal; 
	height: auto;
	padding: 2px 3px; 
}

div.docbookcontent  div.table table { 
	border-collapse: collapse;
}

div.docbookcontent div.table table td { 
	border: 1px solid black;
}

div.docbookcontent .title { 
	margin: auto; 
	line-height: normal; 
	height: auto;
	margin-top: .75em;
	margin-bottom: .5em;
	float: none;
}

div.docbookcontent br.table-break { height: 1em; clear:both; }
*/

div.docbookcontent table td { 
	padding: .3em; 
}
div.docbookcontent table th { 
	padding: .3em; 
}

div.docbookcontent h1.title { margin-top: .75em; }

div.content h3 { font-size: 120%; }
div.content h3 a { font-size: 120%; }
div.content h4 { font-size: 100%; }
div.docbookcontent h5 { 
    font-size: 125%; 
    font-weight: bold;
}

pre.programlisting { 
    border: 1pt solid #aaa;
    background-color: #ddd;
    font-size: 10pt;
    padding: 2px;
}

div.docbookcontent td.navprev { 
    text-align: left;
    width: 25%;
}
div.docbookcontent td.navtop { 
    text-align: center;
    width: 50%;
}
div.docbookcontent td.navnext { 
    text-align: right;
    width: 25%;
}
div.docbookcontent div.navfooter { 
	margin-top: 2em;
	margin-bottom: 1em;
}
/*

The following styles provide a border around syntax diagrams. 
If a cmdsynopsis appears within a syntax section, the border
is turned off (since the bounding syntax does the border).
*/

div.voltsyntaxdiagram {
 border: 1pt solid black;
 padding: 4pt 4pt 0pt 4pt;
 margin-bottom: 6pt;

}
div.cmdsynopsis {
 border: 1pt solid black;
 padding: 4pt 4pt 0pt 4pt;
 margin-bottom: 6pt;
 text-indent: -20pt;
 padding-left: 24pt;
 
}
div.voltsyntaxdiagram div.cmdsynopsis { border: none; }


div.cmdsynopsis p { margin: auto; }

.replaceable { font-size: inherit; }

.underline { text-decoration: underline; }

/* 

The following style fixes a problem with headings
in Q&A sections where the heading is H5, resulting
in a display that is smaller than the entries themselves.

*/

/*
tr.qandadiv h5.title { font-size: 100%; }
*/

/* Turn off borders for simple tables, calloutlists, qanda sections, etc.
   Also reduce the top/bottom padding if there are no borders.  */

div.docbookcontent table.simplelist td,
div.docbookcontent div.qandaset td, 
div.docbookcontent div.calloutlist td {  
   border: none;
   padding-top: .2em; /* 5px; */
   padding-bottom: .2em; /* 5px; */
   border-top: none;

}


/* Push the footer down the page to get separation */
/*
div.docbookcontent {
	margin-bottom: 75px;
}
*/

/* Now let's force some normality to lists. This undoes global styling
   from the web site CSS. */

div.docbookcontent ul,
div.docbookcontent ol,
div.docbookcontent dl {
   font-family: inherit;
   font-size: 1em;
   line-height: normal;    
}
div.docbookcontent dl {
   margin-left: 1.5em;
}
div.docbookcontent hr {
   border-color: #aaa;
}

div.docbookcontent code {
   color: inherit;
   background-color: none;
   border: none;
}
 



