/*!********************************************
* \file AutoDoc style sheets definition.
***********************************************/

/*!********************************************
* \progsection General settings.
***********************************************/
body 
{
    color: black;
    /* text-align: justify; */
    font-family: helvetica, sans-serif;
    background: white;
    margin: 5px;
}

h1, h2, h3, h4, h5, h6 
{
    text-align: left;
}

h1 
{
	font-size: 14pt;
}

h2 
{
	font-size: 12pt;
}

h3 
{
	font-size: 10pt;
}

h4 
{
	font-size: 9pt;
}

h5 
{
	font-size: 9pt;
}

h6 
{
	font-size: 9pt;
}

p 
{
	font-size: 9pt;
}

dl 
{
	font-size: 9pt;
}

dt
{
    font-weight: bold;
}

ul, ol
{
	font-size: 9pt;
}

pre
{
	font-size: 9pt;
	padding: 1ex;
}

table 
{
	empty-cells: show;
	border-collapse: collapse;
	border-spacing: 0px;
	border: solid 1px;
}

tr 
{
}

td 
{
	font-size: 9pt;
	border: solid 1px;
	padding: 5px;
}

th 
{
	font-size: 9pt;
	border: solid 1px;
	text-align: left;
	padding: 5px;
}

tr 
{
    vertical-align: top;
}

.center
{
    text-align: center;
}

.clearall
{
	clear: both;
}

/*!********************************************
* \progsection Settings for documentation components.
***********************************************/

/* Footer settings */
div.footer 
{
	font-size: 8pt;
}

/* Document section settings */
h1.docsection 
{
	font-size: 16pt;
}

h2.docsection 
{
	font-size: 14pt;
}

hr.docsection 
{
	height: 1px;
	border-width: 0;
	color: black;
	background-color: black
}

/* Header for files */
h1.fileheading 
{
	font-size: 16pt;
	page-break-before: always;
}

/* Index settings */
table.index 
{
	empty-cells: show;
	border: none;
}

tr.index 
{
	border: none;
}

td.index 
{
	font-size: 9pt;
	padding: 0px;
	padding-left: 2px;
	padding-right: 2px;
	border: none;
}

/* Parameter settings */
table.param 
{
	empty-cells: show;
	border: none;
}

tr.param 
{
	border: none;
}

td.param 
{
	font-size: 9pt;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 10px;
	padding-right: 10px;
	border: none;
}

td.param > p:empty
{
    margin-top: 0ex;
    margin-bottom: 0ex;
}

td.param > p
{
    /* Hack for Internet Explorer below version 9, because it doesent understand p:empty */
    margin-bottom: 0ex\9;
    margin-top: 0ex\9;
}

td.param > p:first-child
{
    margin-top: 0ex;
}

td.param > p:last-child
{
    margin-bottom: 0ex;
}

td.param > ul
{
    margin-top: 0ex;
    margin-bottom: 0ex;
    padding: 0pt;
    margin-left: 1.25em;
}

td.param > ol
{
    margin-top: 0ex;
    margin-bottom: 0ex;
    padding: 0pt;
    margin-left: 2em;
}

p.param
{
	font-size: 9pt;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 10px;
	padding-right: 10px;
    margin-top: 0ex;
    margin-bottom: 0ex;
}

p.param ~ p
{
	font-size: 9pt;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 10px;
	padding-right: 10px;
    margin-top: 0ex;
	margin-bottom: 0ex;
}

/* Structure output */
ul.struct
{ 
    font-weight: normal;
    font-size: 9pt;
    list-style-type: disc;
    padding-left: 10px;
}

ul.struct li.struct
{ 
    font-weight: normal;
	font-size: 9pt;
    list-style-type: disc;
    margin: 2px;
	margin-left: 5px;
    padding-left: 0px;
}

ul.struct li.structInclude
{ 
    font-weight: normal;
	font-size: 9pt;
    list-style-type: disc;
    margin: 2px;
	margin-left: 5px;
    padding-left: 1px;
}

ul.struct li.structClass
{ 
    font-weight: normal;
	font-size: 9pt;
    list-style-type: disc;
    margin: 2px;
	margin-left: 5px;
    padding-left: 0px;
}

ul.struct li.structSection
{ 
    font-weight: bold;
	font-size: 9pt;
    list-style-type: disc;
    margin: 2px;
	margin-left: 5px;
    padding-left: 0px;
}

/* Summaries of variables and functions */
table.varsum
{
	empty-cells: show;
	border-collapse: collapse;
	border-spacing: 0px;
	border: solid 1px;
	width: 600px;
}

table.varsum tr 
{
	vertical-align: top;
}

table.varsum td 
{
	font-size: 9pt;
	border: solid 1px;
	padding: 5px;
}

table.varsum th 
{
	font-size: 9pt;
	border: solid 1px;
	text-align: left;
	padding: 5px;
	background-color: #aaaaaa;
}

table.funcsum
{
	empty-cells: show;
	border-collapse: collapse;
	border-spacing: 0px;
	border: solid 1px;
	width: 600px;
}

table.funcsum tr 
{
	vertical-align: top;
}

table.funcsum td 
{
	font-size: 9pt;
	border: solid 1px;
	padding: 5px;
}

table.funcsum th 
{
	font-size: 9pt;
	border: solid 1px;
	text-align: left;
	padding: 5px;
	background-color: #aaaaaa;
}

div.funcdetail 
{
	border-bottom: solid 1px;
	border-collapse: collapse;
	padding: 5px;
	padding-bottom: 2ex;
	margin-bottom: 2ex;
	width: 100% minus 10px;  /* 600px - 2 * 5px from padding */
}

div.funcdetailbak
{
	border: solid 1px;
	border-collapse: collapse;
	padding: 5px;
	margin-bottom: 2ex;
	width: 590px;  /* 600px - 2 * 5px from padding */
}

/* Sub tags surroundig div component */
div.subtag
{
    margin-top: 1.5ex;
}

div.subtag > h4:first-child
{
    margin-top: 0px;
}

/* Logo image formatting */
img.logo
{
	float: left;
	padding-right: 10px;
}

/* @code formatting. Usually we use code for formatting, but for older IE we additionally add the pre tag. */
pre
{
	font-size: 9pt;
	padding: -1ex;
	margin: -1ex;
}

code.block
{
	font-size: 9pt;
	display: block;
	padding: 1ex;
	white-space: pre-wrap;
}

code.inline
{
	font-size: 9pt;
	white-space: pre-wrap;
}

/* Settings for the left window in the frames output */
body.list 
{
	margin: 5px;
	white-space: nowrap;
}

/*!********************************************
* \progsection Settings for the index tree.
***********************************************/
ul.indexTree
{ 
    font-weight: bold;
	font-size: 9pt;
    list-style: none;
    list-style-position: outside;
    display: block; 
    margin: 0px; 
    padding-left: 5px;
}

ul.indexTree ul.indexTree
{ 
    font-weight: normal;
	font-size: 9pt;
    list-style: none;
    list-style-position: outside;
    display: block; 
    margin: 0px;
    padding-left: 5px;
}

/*!********************************************
* \progsection Additional settings for IFrames output.
***********************************************/
body.Frames, html.Frames
{
    height: 100%;
    min-height: 100%;
    margin: 0px;
    padding: 0px;
}

div#MainTable
{
    position: relative;
    display: table;
    width: 99.8%;    /* Firefox adds a few pixels so 100% is too much */
    height: 99.5%;   /* Firefox adds a few pixels so 100% is too much */
}

div#Head
{
    position: relative;
    display: table-row;
    width: 100%;
    height: 36px;
}

div#Head div
{
    display: table-cell;
    font-family: helvetica, sans-serif;
    font-weight: bold;
    vertical-align: middle;
    font-size: 18pt;
    color: red;
    padding: 5px;
}

div#Body
{
    position: relative;
    display: table-row;
    width: 100%;
    height: auto;
}

div#Leftlist
{
    position: relative;
    display: table-cell;
    width: 300px;
    height: 100%;
}

div#Content
{
    position: relative;
    display: table-cell;
    height: 100%;
}

iframe#Navigation
{
    height: 100%;
    width: 100%;
    overflow: auto;
}

iframe#Main
{
    height: 100%;
    width: 100%;
    overflow: auto;
}


