/* alpagman.css - (C) Jacek Chorobinski */

/* layout */

body {
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
    font-size: 10pt; 
    margin: 0;
    padding: 0; 
    background: #DDD; 
    height: 100%;
    -moz-tab-size: 2;
    -o-tab-size:   2;
    tab-size:      2;    
}

.fpage, .page {
    min-height: 100%;
    max-width: 1000px; 
    margin-left: auto; margin-right: auto; 
}

.fpage {
    padding: 4em 0 0 0;
    background: white;
}

.page {
    background: white;
    padding: 2em 0 0 0;
}

.phead {
    /*height: 2em;*/
    height: 20pt;
    width: 100%;
    /*max-width: 1000px;*/
    position: fixed;
    /*margin-left: auto; margin-right: auto; */
    top: 0;
    /*padding: 0.5em 10px 0 10px;*/
    padding: 4pt;
    background: #CDF; 
    z-index: 1;
    border-bottom: #036 1px solid;
    /*line-height: 1.3EM;*/
    font-size: 16pt;
}

.pheadcrumbs 
{
    margin-left: 6pt;
    display: inline-block;
    font-size: 10pt;
    vertical-align: middle;
}


.pheadrt {
    position: absolute; right: 20px;
    top: 0.5em;
    display: inline-block; 
    font-size: 10pt;
}

.pbody {
    padding: 20px 3em 20px 3em; font-size: 13pt; line-height: 1.3em;
}
    
.fbody {
    padding: 4em 2em 2em 2em;
    max-width: 900px; margin-left: auto; margin-right: auto; background: white;
    font-size: 14pt;
}    

.ftr 
{
    color: #999;
    font-style: italic;
    font-size: 10pt;
    position: static;
    margin: 0 4em;
    padding: 1em 0;
    border-top: solid #999 1px;
}
.ftrlks 
{
    margin: 1em 4em;
    text-align: right;
}

.ftrrt 
{
    float: right;
}

/* first page */

.title {
    text-align: center;
    font-size: 32pt;
}

.subtitle {
    text-align: center;
    font-size: 18pt;
    margin: 0.5em;
}
.subtitle2 {
    text-align: center;
    font-size: 14pt;
    margin: 0.5em;
}

.author {
    text-align: center;
    margin: 1em;
    font-style: italic;
    color: #666;
}



/* lists */
ul {
    margin: 0 0 0 10px;
    padding-left: 20px;
}

li { margin: 0.25em 0; }

ul.childs 
{
    margin-left:0;
    border-left: solid #CDF 2px;
    margin-bottom: 1.5em;
}
ul.childs, ul.childs2
{
    list-style-type: none;
}

.toc ul 
{
    list-style-type: none;
}

.findexf 
{
    margin-top: 2em;
    max-width: 25em;
    margin-left: auto;
    margin-right: auto;
    font-size: 15pt;
}

ul.findex {
    padding-top: 1em;
    padding-bottom: 1em;
    list-style-type: none;
    border-top: solid #CCC 3px;
    border-bottom: solid #CCC 3px;
}

ul.findex2 {
    font-size: 14pt;
    list-style-type: none;
}

ul.findex a { padding: 0 5px; }

ul.ptsnb { list-style-type: none; }
ul.pts { list-style-type: disc;}
ul.pts2 { list-style-type: square; }


/* anchor */
a { text-decoration: none; color: black; border-bottom: 1px dotted #00F; }
a:visited { color: black; }
a:hover { background: #DEF; }

/* paragraphs */
h3 { margin: 0 0  0.5em 0; color: #009; }
h4 { margin: 1em 0  0.5em 0; color: #006; font-size: 16pt; }
h5 { margin: 1em 0 0.5em 0; color: #006; font-size: 12pt; }
h6 { margin: 0.75em 0 0.2em 0; color: #006; font-size: 13pt; }
h7 { color: #006; font-weight: bold; }

p { margin: 0.5em 0; }
p.spb {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.examp {
    font-style: italic; font-weight: bold;
    margin-top: 1em;
}

.phint , .pwarn , .pnote { margin-top: 0.75em; margin-bottom: 0.75em; padding-right: 0.75em; }
.phint { border-right: solid 22px #9C9; position: relative; }
.pwarn { border-right: solid 22px #FC0; position: relative; }
.pnote { border-right: solid 22px #C9C; position: relative; }
.sideIco { position: absolute; right: -19px; top: 3px; }

.center { text-align: center; }

/* runs */

em { font-style: normal; font-weight: bold; }
.app { font-weight: bolder; } /* some app name */

/* figures */
.fig { border: solid 1px #666; }
.figTitle { padding: 4px; background: #EEC; border-bottom: solid 1px #CCC; }
.figTitle2 { padding: 4px; background: #FFE; border-bottom: solid 1px #DDD; }
.figBody { margin: 0.5em; }
.figFtr { margin: 0.5em; border-top: solid #CCC 1px; margin-top: 0.5em; padding-top: 0.25em; }
.figImg { display: block; margin-left: auto; margin-right: auto; margin-top: 20px; margin-bottom: 20px; }
.figTxt { line-height: 1.3em; margin: 0.1em 0; }

/* tables */
table.figTab {
    width: 100%;
    border-collapse: collapse;
    border: solid white 2px;
}

tr { border: solid 1px black; }
td {
    border: solid 1px black;
    margin: 0;
    vertical-align: middle;
    padding: 5px;
}

/* File contents */
.file, .fil 
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    font-size: 12pt;
}
.file {
    border: solid 1px #CCC;
    padding: 0.5em; white-space: pre-wrap;
}
.fil {
    padding: 0 2px; 
}

/* input */
.in, .inx 
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    font-size: 12pt;
}
.inx  
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    font-size: 12pt;
    border: solid #AAA 1px; padding: 0 2px; background: #FFD;
}

.in 
{
    padding: 0.5em 0;
}

/* command line and command inline */
.cmdil, .cmdln 
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    font-size: 12pt;
    background: #EEE; border: solid 1px #CCC;
}
.cmdil { padding: 0 2px; }
.cmdln { padding: 0 5px; }

/* regex */
/*.rxx { background: #DEF; border: solid #AAD 1px; padding: 0 2px; font-family: Courier, monospace; }*/
.rex, .rexx  
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    color: navy; 
}
.rexx { /*border: solid #69F 1px; padding: 0px 2px;  */
    /*background: #DEF; */
    background: #EFF;
    border: solid #CCF 1px; padding: 0 2px;
    /*border: solid #AAD 1px; padding: 0 2px; */
}
/*.rex, .rexx { font-weight: bold; }*/

/* grammar */
.figGr, .grs, .gr
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
}
.grhd { background: #FF9; }
.gr  
{
    line-height: 1.5em; 
    border: solid 1px #666;
    padding: 5px; 
      
      }
.grs { padding: 0.5em 0; line-height: 1.5em;  }
.figGr { line-height: 1.5em; margin: 0.1em 0; }

/* ----- code ----- */
.figCode, .cd, .cds, .cdi
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    font-size: 12pt;
}
.cdhd { background: #FFE; margin: -5px -5px 0; padding: 2px; } /* CodeParaHeader */
.figCode { line-height: 1.3em; }
.cd { /* code div */
      border: solid 1px #999;
      padding: 5px; line-height: 1.3em;
      white-space: pre-wrap;
      /*background: #F8F8E8;*/
}
.cds 
{
    background: #F0F0D8;
    /*background: #EED;*/
    white-space: pre-wrap; padding: 5px;
    /*font-weight: bold;*/
} /* CodeParaSimple - no frames */
/*.cds span { font-weight: normal; }*/

/*.cdi,  .cdx { background: #FFD; color: black; }*/
.cdx { border: solid #CC9 1px; padding: 0px 2px; }

.sect, .cmd, .kw, .id, .brf, .arg
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
    font-size: 12pt;
}
.sect, .cmd { font-weight: bold }

.ntx, .tex
{
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
    font-size: 12pt;
}
.te, .nt 
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
}
.te , .tex { color: #C30; font-weight: bold }
.tex { border: solid #C30 1px; padding: 0px 2px; }
/*.te , .tex { color: #D60; font-weight: bold }
.tex { border: solid #D60 1px; padding: 0px 2px; }*/
/*.te , .tex { color: #A33; font-weight: bold }
.tex { border: solid #A33 1px; padding: 0px 2px; }*/

.nt , .ntx { color: #A0C; font-weight: bold; }
.ntx { border: solid #A0C 1px; padding: 0px 2px; }


.brf { font-weight: bold; }

.kw { color: #00F; }
.str { color: #B22222; }
.chr { color: #FF1493; }
.cmt { color: #060; }
.cmd { color: #00C; }
.sect { color: fuchsia; }
.id { color: #000080; }


/*.nt , .ntx { color: #D09; font-weight: bold; }
.ntx { border: solid #D09 1px; padding: 0px 2px; }*/
/*.nt , .ntx { color: #73a; font-weight: bold; }
.ntx { border: solid #73a 1px; padding: 0px 2px; }*/

.vtype { color: #008080; } /* <value-type> name */
.lname { color: #FF4500; } /* local in-produciton name */
.plc { color: #DC143C; } /* ^place */
.num { color: #000080; }
.pct { font-weight: bold; }

.pp { /* parser pos */
    min-width: 0.8em;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    color: blue;
    background: #CEF;
}
.aph
{
    background: #EFE;
    /*background: #FFC;*/
    font-style: italic;
    border-bottom: dotted 1px black;
}
.arg { color: #0000f0; border-bottom: 1px dotted black; } /* ?8background: #DED; } */

.copt 
{
    color: #999;
    font-size: 15pt;
}

.on, .ov  
{
    font-family: Courier New, Consolas, Menlo, Courier, monospace;
}
.on { color: #00C; background: #EFF; }
.ov { color: #C00;  }


.og 
{
    margin-top: 0.5em;
    border-left: solid #999 1px;
    border-top: solid #999 1px;
    border-bottom: solid #999 1px;
    margin-bottom: 0.5em;
}
.ogn { padding: 2px; background: #FFD; border-bottom: 1px solid #DD9; margin-bottom: 0.5em; }
.ogc { margin-left: 1em; }

.optn { margin-top: 0.5em; }
.optc { margin-left: 1em; }

.oev { margin-left: 1em; }
.oevn { display: inline-block; min-width: 8em; }






.hdrlg, .hdrlga 
{
    margin: 0 5pt 0 5pt;
    font-style: italic;
    font-size: 12pt;
    font-weight: bold;
}

.hdrlg a { padding: 0 5pt; border-bottom: 0; }

.hdrit, .hdrita { margin: 0 5pt; font-size: 16pt; } 
.hdrita { padding: 0 5pt; }

.hdrit a, .hdrita a {  border-bottom: none; color: #006; padding: 0 5pt; }

