﻿    /* Stylesheet for whole page */
body.GloServer { font-family: sans-serif; }
body.GloServer a { text-decoration: none; }
    body.GloServer a:hover { text-decoration: underline; }

/* Stylesheet for browser */
body.GloServer a.ViewTab { color: #444444; }
    body.GloServer a.Selected { font-weight: bold; }
    body.GloServer a.Dominant { color: midnightblue; } 
   

/* Stylesheet for WPF elements */
.WPF { /*overflow: hidden;*/ }
/* Set WPF defaults: everything acts like a block with zero margin and padding unless specified */
.WPF * { display: block;padding: 0px; box-sizing:border-box;  /*overflow:hidden - off for debugging purposes*/
               margin: 0px; color:inherit; font-weight:inherit;  vertical-align:top;
               background-color:transparent;
}
    .WPF div { display: block; }
/* HTML tables do not inherit font-sizes or colors by default */
.WPF table { font-size: inherit; display:inline-table; text-align:left; table-layout:fixed; color:inherit}
.WPF tr { display: table-row; }
.WPF th, .WPF td { display: table-cell; }

/* Panel */
.Panel { position: relative; }
    .Panel > span { position: absolute; pointer-events:none; /*overflow:hidden;*/}
        .Panel > span > * { pointer-events: visible;}

/* Grid defaults */
table.Grid { border-spacing: 0px; height:100%; 
             border-collapse:collapse; } 
/* Grid cell  */ 
td.Grid { position:relative; }
    td.Grid > span { position: absolute; pointer-events:none;}
        td.Grid > span > * { pointer-events: visible; } 

/* Datagrid */
table.DataGrid, table.ListView {border-spacing:0px; border-collapse:collapse; }
    th.DataGridColumnHeader { overflow:hidden }
    td.DataGridCell { border-width: 0px 1px 1px 1px; border-style: solid; border-color: #E8E8E8;}
span.DataGrid { overflow: auto;  }

/* TextBlock defaults */
.TextBlock {/* overflow:hidden; white-space:pre;*/ line-height:normal;  }
span.Run { display:inline; }

/* Canvas */
.DesiredSizeBorder { pointer-events: none; }
.Canvas, .DragCanvas { overflow:visible; }
span.Canvas, span.DragCanvas, span.ColumnSeries, span.ScatterSeries { position: relative;  pointer-events:none;  }
.Canvas > *, .DragCanvas > * { pointer-events:visible;  }

/* WrapPanel */
.WrapPanel > *  { display: inline-block; }

/* ListView */
span.ListView { overflow: auto; }
table.ListView > thead { position:relative; z-index:2; }
tr.GridViewRowPresenter { min-height:22px; }
tr.GridViewRowPresenter:hover { background-color: aliceblue}
/*table.ListView > tbody { padding-top: 30px; }*/

/* Data points */
.ColumnDataPoint:hover, .LineDataPoint:hover, .ScatterDataPoint:hover { outline: 4px solid yellow; } 

/* Tooltip */
.Tooltip { position: absolute; background: #F2F2FF; border: 1px solid #888888; padding: 4px; margin-top: 10px; margin-left: 10%; text-align: center; transition: opacity linear 0.2s; z-index: 10; visibility: hidden; opacity: 0; color:black; }
*:hover > .Tooltip { opacity:1; visibility:visible;}
