#preLDSC:target{background:lightyellow; border:orange 2px solid;  }
a:link{color:blue; }
a:visited{color:#9F009F; }
dfn{background:#6FC; }
html,body{font:1em/1 'Lucida Grande',sans-serif; margin:0; border:0.19px gray dotted; padding:0; background:gray; text-align:left; }

html{border-bottom:0;position:relative;bottom:0;height:100%;overflow:auto;background:gray;}
body{border-top:1px gray solid;margin:auto;margin-top:-1px;_width:21cm;max-width:21cm; border-left:10px solid;min-height:100%; border-right:0;background:#F1FFED;}
h1{font:2.2em/1.1 'Times New Roman',serif;margin:auto 2cm 1px; padding:23px 1px 1px; top:0; left:0; position:relative; width:auto; float:none; background:transparent; text-align:left;}
h1 span{background:#F6FFF8; line-height:.8;padding:0;height:.5em;;}
img{font:inherit !important; border:0 !important; background:none !important; margin:0; padding:0; color:red; line-height:2em; }

p{text-align:left;}

/* margins inside */
pre,div.sample,p,h1,h2,h3,h4,h5,h6,ol,ul{margin-left:.5cm;margin-right:2cm;}
ol p,ul p{margin:0;}
ol li,ul p{padding-left:1px;background:lightgreen;}

h2+h3{margin-top:0;}
h2{margin-bottom:0;font-family:'Hoefler Text','New York',serif; font-variant:small-caps;text-transform:lowercase;border:0;}
h3{margin-bottom:0;font-family:'Hoefler Text','New York',serif; font-variant:small-caps;text-transform:lowercase;border:0;}
h6{margin-bottom:0;}
h6+pre,h6+div.sample{margin-top:0;}
h2 abbr, h3 abbr{text-transform:uppercase;}
h2+p,h2+ol,h3+p,h3+ol{margin-top:0;}
/* code */
pre,div.sample{background:white;border:1px solid black;padding:3px;text-align:center;font-family:monaco,monospace;}
q{text-decoration:underline; background:white;}
strong{padding-left:0;background:lightyellow;}
code{font-size:1.3em;color:black;background:none;}
pre code{font-size:1.3em;color:black;background:none;}
pre i{color:green;font-weight:bold;border:solid 1px;padding:0 3px;}
pre {white-space:inherit !important;}
em em{font-weight:bold;}
i[longdesc]{color:red;}

/*kasta*/

a:link{color:blue; }
a:visited{color:#D500D5; }


i a:first-child:link{color:#008080;background:#DBF6F1;}
i a:first-child:visited{color:#008080; background:#DBF6F1;}
/*#ldid2{background:green;color:white;}
/*
#tocNOTE{height:0;position:absolute;bottom:0;overflow:hidden;}
*/

/* table of contents, TOC */
#table_of_contents{background:#D3E7C3;position:static;/*z-index:9*/;padding-bottom:1em;height:100%;}
#table_of_contents:target{border-top:0 red solid;border-right:1px solid; border-left:10px solid;border-right:0.19px dotted gray;position:absolute;top:0; margin:0;width:21cm;overflow:hidden;margin-left:-10px;margin-top:-1px; min-height:100%;font:inherit/.9 'Gill Sans',sans-serif;/*z-index:12*/;}
#table_of_contents:target #tocHeading{width:50%;/*float:right;*/ position:static;left:1em;top:0em;margin:0 0em 0 0;text-align:center;}
#table_of_contents:target #tocList{/*float:left;*/background:none;margin:0 auto auto 2em;}
#table_of_contents:target #backLink{position:fixed;top:0;}
#table_of_contents #backLink{position:absolute;top:inherit;display:block;text-align:center;/*z-index:10*/}
#table_of_contents:target #backLink{/*z-index:15*/;}
.hidden{display:none;}
#tocNOTE{position:fixed;_position:absolute;top:-17px;_top:0;/*z-index:11*/;}
#tocNOTE,#backLink{left:85%;width:70px;border:0;padding:5px;line-height:1;background:white;border:double 3px blue;font-weight:bold;height:57px;height:4ex;}
/*p#backLink span.FirstChild,p#tocNOTE span.FirstChild {display:table-cell;vertical-align:middle;}
*/

#tocNOTE *,#backLink *,#tocNOTE:before,#backLink:before,#tocNOTE:after,#backLink:after;{border:0 !important;}
img{width:90px;}

div.sample img{vertical-align:middle;border:solid red 2px !important;padding:3px;}
div.sample{margin-top:1em;}
/*
#topmost{position:fixed;left:-4px;top:7em;width:60px;border:2px dashed blue;padding:1px;line-height:16px;background:orange;display:none;text-align:center;}

