body {
    margin: 0px;
    height: 100%;
}

#header {
    position: absolute;
    z-index: 1;
    width: 100%;
    top: 0px;
    height: 50px;
    background-color: #887;
    background-image: url("../pic/stone.png");
    background-size: 489px 50px;
    box-sizing: border-box;
    border-bottom: 1px solid #765;
    font-family: "Libre Baskerville", serif;
}

#header a#distlink {
    text-decoration: none;
    color: inherit;
}
#header a#distlink:hover {
    text-decoration: underline;
    text-decoration-color: #EDC;
    text-shadow: 2px 2px 5px #FC8, -2px -2px 5px #FC8;
}

#header #rightlink {
    position: absolute;
    height: 50px;
    right: 20px;
    top: 13px;
}
#header #rightlink a {
    border: 1px solid #FFFFE0;
    border-radius: 4px;
    padding: 3px 4px;
    color: #FFFFE0;
    font-family: "Lato";
    font-size: 12px;
    text-decoration: none;
}
#header #rightlink a:hover {
    background: #FFFFE040;
}

#subheader {
    position: absolute;
    z-index: 1;
    width: 100%;
    top: 50px;
    height: 30px;
    background: #DFDCCF;
    box-sizing: border-box;
    border-bottom: 1px solid #765;
    font-family: "Lato";

    padding-left: 20px;
}

#subheader a {
    display: inline-block;
    font-size: 85%;
    margin: 4px 4px;
    padding: 2px 8px;
    background: #F4F4F0;
    border: 1px solid #888;
    border-radius: 8px;
    text-decoration: none;
    color: black;
}

#subheader a.RightLink {
    float: right;
    margin-right: 16px;
    font-weight: bold;
    color: #860;
    border: 1px solid #884;
    background: #F8F8F0;
}

#header h1 {
    font-size: 20px;
    margin-left: 20px;
    color: #FFF;
    text-shadow: 2px 2px 3px #A93, -2px -2px 3px #A93;
}

#content {
    position: absolute;
    z-index: 1;
    width: 100%;
    top: 80px;
    bottom: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
}

#appbody {
    width: 100%;
    background: #FFF;
    margin: 0px;
    box-sizing: border-box;
    font-family: "Lato";
    padding: 10px 20px;
}

#appbody h2 {
    font-size: 20px;
}

.Symbol {
    font-family: "Courier Prime", monospace;
}

.Doc {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.Col {
    max-width: calc(100% - 300px);
}

.IndexList {
    list-style: none;
    padding-left: 0px;
}

.IndexList li {
    margin-top: 4px;
    margin-bottom: 4px;
}

.IndexTable {
}

.TableAddr {
    font-family: "Courier Prime", monospace;
    font-size: 85%;
    text-align: right;
    padding-right: 1em;
    vertical-align: bottom;
}

.TableCellRight {
    text-align: right;
}

.TableCellUp {
    vertical-align: top;
    padding-right: 10px;
}
.TableHasNote .TableCellUp {
    padding-top: 10px;
}

.TableCellType {
    font-style: italic;
    font-size: 85%;
    vertical-align: top;
    padding-top: 4px;
    padding-right: 10px;
}
.TableHasNote .TableCellType {
    padding-top: 10px;
}

.TableLoc {
    font-style: italic;
    font-size: 85%;
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: bottom;
}

.TableComment {
    vertical-align: bottom;
}

.TableComment img {
    position: relative;
    top: 4px;
}

.Line {
    line-height: 1.10;    
}

.LineSrc {
    white-space: pre-wrap;
    font-family: "Courier Prime", monospace;
    font-size: 90%;
    background: white;
}

.HasNote {
    clear: both;
    background: linear-gradient(white, white 40%, #40D04060 50%, white 60%, white);
    background-size: 100% 1.3em;
    background-repeat: no-repeat;
}

.Note {
    float: right;
    width: 300px;
    margin-right: -300px;
    box-sizing: border-box;
    white-space: normal;
    font-family: "Libre Baskerville", serif;
    font-size: 90%;
    line-height: 1.33;
    background: #B0FFB0;
    color: #000;
    border: 2px solid #40D040;
    border-radius: 12px;
    margin-bottom: 6px;
}

.Note p {
    margin: 12px 12px;
    text-indent: 12px;
}

.Note code {
    font-family: "Courier Prime", monospace;
    font-size: 100%;
}

.Note .Com_Id {
    font-family: "Courier Prime", monospace;
    font-size: 100%;
}

.Note a.Internal {
    color: #A40;
}

.Note a.External {
    color: #00C;
}

.Note .Contrib {
    text-align: right;
    font-size: 85%;
}

.Src_Comment {
    color: #292;
}

.Src_Ifndef {
    color: #999;
}

.Src_Str {
    color: #A44;
    font-weight: bold;
}

.Src_Dict {
    color: #A2A;
}

.Src_Iddef {
    color: #44C;
    font-weight: bold;
}

.Src_Id {
    color: #44C;
}

.Src_Implid {
    color: #44C;
}

.Src_Localid {
    color: #850;
}
