html {
	/* font-size: 0.75em; */
	line-height: 1.25em;
}

/* .comment css definition must be top of .red/.green/.blue or it won't work */
.comment { color: #555555; background-color: #DDDDFF; }

.red { background-color: #FFCCCC; }
.green { background-color: #CCFFCC; }
.blue { background-color: #CCCCFF; }
.yellow { background-color: #FFF29F; }
.orange { background-color: #FFD59B; }
.gray { background-color: #D3D3D3; }

.solid { border: 2px solid #000000; padding: 2px; }
.dashed { border: 2px dashed #000000; padding: 2px; }
.dotted { border: 2px dotted #000000; padding: 2px; }

.right { text-align: right; }

#content div.caution-icon, 
#content div.important-icon, 
#content div.note-icon, 
#content div.tip-icon, 
#content div.warning-icon {
    margin: 10pt 0pt 10pt 0pt;
    background-repeat: no-repeat;
    background-position: 8px 8px;
    min-height: 64px; /*64=48+8+8 but doesn't work with IE*/
    padding-left: 64px;
}
#content div.caution-icon p, 
#content div.important-icon p, 
#content div.note-icon p, 
#content div.tip-icon p, 
#content div.warning-icon p {
    margin-top: 8px; /*to align text with bg graphic*/
}

#content div.tip-icon { background-image: url("../../modernized/img/admon-tip.png"); }
#content div.note-icon { background-image: url("../../modernized/img/admon-note.png"); }
#content div.important-icon { background-image: url("../../modernized/img/admon-important.png"); }
#content div.caution-icon { background-image: url("../../modernized/img/admon-caution.png"); }
#content div.warning-icon { background-image: url("../../modernized/img/admon-warning.png"); }

pre.tt { border: 0; background-color: transparent; }

blockquote.citation {
    margin: 0em 0em 0em 0.2em;
    border-style: solid;
    border-width: 0 0 0 2px;
    padding-left: .5em;
    border-color: #b44;
}
.citation blockquote.citation { border-color: #4b4; }
.citation .citation blockquote.citation { border-color: #44b; }
.citation .citation .citation blockquote.citation { border-color: #c55; }

.padding1  { padding:1px; }
.padding2  { padding:2px; }
.padding3  { padding:3px; }
.padding4  { padding:4px; }
.padding5  { padding:5px; }
.padding10 { padding:1em; }
.margin1   { margin:1px; }
.margin2   { margin:2px; }
.margin3   { margin:3px; }
.margin4   { margin:4px; }
.margin5   { margin:5px; }
.margin10  { margin:1em; }

.zh p, p.zh {text-indent: 2em;}
.zh li p, li p.zh {text-indent: 0;}
.zh li.indent, .zh li.indent p {text-indent: 2em;}
.zh td p, .nozh p, p.nozh, .en p, p.en {text-indent: 0;}
.zh ul { margin-left: 3.5em; }
.zh ol { margin-left: 5em; }
.nozh ul, .en ul { margin-left: 2em; }
.nozh ol, .en ol { margin-left: 3.5em; }

ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 2em;
padding: 0;
}
ol {
line-height: 1.5em;
margin: .3em 0 0 3.5em;
padding: 0;
list-style-image: none;
}
li {
margin-bottom: .1em;
}
dt {
font-weight: bold;
margin-bottom: .1em;
}
dl {
margin-top: .2em;
margin-bottom: .5em;
}
dd {
line-height: 1.5em;
margin-left: 2em;
margin-bottom: .1em;
}

.tree ul, .tree ul ul, ul.tree, ul.tree ul {
    list-style-type: none;
    list-style-image: none;
    background: url(tree_vline.png) repeat-y;
    margin: 0;
    padding: 0;
}
.tree ul, .tree ul ul, ul.tree, ul.tree ul {
    margin-left: 10px; 
}
.tree ul ul, ul.tree ul {
    margin-left: 10px; 
}
.tree ul li, ul.tree li
{
    margin-left: 0; 
    padding: 0 12px; 
    line-height: 20px;
    background: url(tree_node.png) no-repeat;
    color: #369;
    font-weight: bold;
}
.tree li:last-child, ul.tree li:last-child {
    background: #fff url(tree_lastnode.png) no-repeat;
} 

.tree li.last-child, ul.tree li.last-child {
    background: #fff url(tree_lastnode.png) no-repeat;
} 

#editor-textarea, #editor-help {
	font-size: 1em;
}

table {
float:none;
position:relative;
margin: 0 0 1em 0;
background:transparent;
border:0;
border-collapse: collapse;
empty-cells: show;
}

th, td {empty-cells: show;}

.float-left table, table.float-left, .float-left{
float:left;
position:relative;
margin: 0 0.5em 0.5em 0;
}

.float-right table, table.float-right, .float-right{
float:right;
clear:right;
position:relative;
margin: 0 0 0.5em 0.5em;
}

div.toggle {
font-size: 9pt;
text-align:left;
background:#F1F1ED;
border: 1pt solid #C1B496;
padding: 0.5em;
margin: 0.5em 0.5em 1em 1em;
}

/* TableOfContents macro */
.table-of-contents {
font-size: 9pt;
text-align:left;
background:#F1F1ED;
border: 1pt solid #C1B496;
padding: 0.5em;
min-width:50%;
}

.table-of-contents-left {
position:relative;
float:left;
margin: 0 1em 1em 0;
}

.table-of-contents-right {
position:relative;
float:right;
clear:right;
margin: 0 0 1em 1em;
}

.table-of-contents-normal {
margin: 0 0 1em 1em;
}

.table-of-contents ol {
margin:0;
margin-left:1em;
padding-left:1em; /* for stupid IE */
list-style-type:decimal;
}
.table-of-contents ul {
margin:0;
list-style-type:none;
}
.table-of-contents-heading {
text-align:center;
font-weight:bold;
padding:0;
margin:0;
}
.toctoggle {
font-weight:normal;
}

/* TOC in table, not float by default */
td div.table-of-contents-right, td div.table-of-contents-left {
float: none;
width:100%;
border: 0pt;
background:transparent;
margin: 0;
padding: 0.5em;
}
table.toc, table.toc-left, table.toc-right {
padding: 1em;
/* width:40%; */
position:relative;
background:#F1F1ED;
}
table.toc {
float:none;
clear:none;
margin: 0 1em 1em 0;
}
table.toc-left {
float:left;
margin: 0 1em 1em 0;
}
table.toc-right {
float:right;
clear:right;
margin: 0 0 1em 1em;
}

/* Set toggle region default not display. Not use visibility!!! */
.hidden {
display:none;
}

/* Include with editlink */
.include-link {
float:right;
font-size: 0.75em;
clear:right;
position:relative;
}
/*
.include-page-link {
visibility:hidden;
}
*/
/* .include-edit-link {} */

.borderless, .borderless table, .borderless th,.borderless td {
border:0;
}
table.borderless, table.borderless tr td, table.borderless th {
border:0;
}

/* #credits, #version, #timings{ */
#timings{
color: #FFFFFF;
}

.new-subcategory-dialog, .new-subpage-dialog {
z-index: 3;
position:absolute;
background-color: yellow;
padding:.5em;
}


/* apply to div. */
/* .gainlayout { zoom: 1;} */

/* ****************************************************** */
/* IE6 and IE7 both suck with :before */
.noimg a.www { padding-left:0; background:transparent; }
.noimg a.http { padding-left:0; background:transparent; }
.noimg a.https { padding-left:0; background:transparent; }
.noimg a.file { padding-left:0; background:transparent; }
.noimg a.ftp { padding-left:0; background:transparent; }
.noimg a.nntp { padding-left:0; background:transparent; }
.noimg a.news { padding-left:0; background:transparent; }
.noimg a.telnet { padding-left:0; background:transparent; }
.noimg a.irc { padding-left:0; background:transparent; }
.noimg a.mailto { padding-left:0; background:transparent; }
.noimg a.attachment { padding-left:0; background:transparent; }
.noimg a.badinterwiki { padding-left:0; background:transparent; }
.noimg a.interwiki { padding-left:0; background:transparent; }

/* FireFox support :before */
.noimg a.www:before {content: none; margin: 0;}
.noimg a.http:before {content: none; margin: 0;}
.noimg a.https:before {content: none; margin: 0;}
.noimg a.file:before {content: none; margin: 0;}
.noimg a.ftp:before {content: none; margin: 0;}
.noimg a.nntp:before {content: none; margin: 0;}
.noimg a.news:before {content: none; margin: 0;}
.noimg a.telnet:before {content: none; margin: 0;}
.noimg a.irc:before {content: none; margin: 0;}
.noimg a.mailto:before {content: none; margin: 0;}
.noimg a.attachment:before {content: none; margin: 0;}
.noimg a.badinterwiki:before {content: none; margin: 0;}
.noimg a.interwiki:before {content: none; margin: 0;}

/*
.navibar-edit-link {
    font-size: 0.75em;
    padding: 0 1em 0.5em 0;
    float:right;
    clear:right;
    position:relative;
}
*/

.edit-link {
    float:right;
    font-size: 0.75em;
    padding: 0 2em 0.5em 0;
    clear:right;
    position:relative;
}

/*
div.extra-navibar {
    font-size: 90%;
    line-height: 1.3;
    background: #feb;
    border: 1px solid #ea7;
    border-bottom: 1px solid #e83;
    padding: 1px;
    margin: 0;
}
*/

/*
div.extra-navibar p {
    margin: 0;
}
div.extra-navibar h1, 
div.extra-navibar h2, 
div.extra-navibar h3 { 
    font-size: 100%; 
    margin: 0 0 0.25em 0;
    letter-spacing: 0.05em;
    font-weight: normal;
    color: #852;
    border: 1px solid #ea6;
    background: #fc7;
    padding: 0.25em 0.5em;
    line-height: 1.1;
    font-family: "DejaVu Sans", "Segoe UI",Tahoma,Verdana,Arial,sans-serif;
}
div.extra-navibar ul { 
    margin: 0;
    list-style: none;
    padding: 0 0 0.25em 0;
}
div.extra-navibar li {
    list-style: none;
    background: url(bullet2.gif) no-repeat 3px 3px;
    padding: 0 0 0 15px;
}
div.extra-navibar a { color: #000; }
div.extra-navibar a:hover { text-decoration: underline }
*/

