html, body {
    height: 100%;
    margin: 0px;
    -ms-high-contrast-adjust: none;
}

.SplashScreen {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 2em;    
    text-align: center;
    background-color: black; /*[{vs-command-bar-options-background-color}]*/
}

    /* splash message */
    .SplashScreen > div {
        position: relative;
        top: 40%;
    }

.ImageTile {
    position: relative;
    overflow: hidden;
    max-width: 16px;
    -ms-grid-row-align: center;
}

.ImageTile > .Spacer {
    max-height: 1.25em;
    height: 16px;
    float: left;
}

.ImageTile > .Sprite {
    position: absolute;
    top: 0px;
    bottom: 0px;
    max-height: 1.25em;
    margin-top: auto;
    margin-bottom: auto;
}

.ImageTile > .ViewInstancesIcon {
    left: -200%;
}

.ImageTile > .NotificationIcon {
    left: -300%;
}

.ImageTile > .ViewFilterIcon {
    left: -400%;
}

.ImageTile > .BackIcon {
    left: -500%;
}

/** 
  * The entire snapshot viewer container
  */
.SnapshotViewContainer {
    height: 100%;
    width: 100%;
    padding-top: 12px;
    padding-left: 6px;
}

/**
 * The viewer toolbar: process name, compare to, settings, etc
 */
.SnapshotViewToolbar {
    display: -ms-grid;
    -ms-grid-columns: 1fr auto;
    width: 100%;
    overflow: auto;
    cursor: default;
}

    .SnapshotViewToolbar .ToolbarLabel {
        display: inline-block;
        vertical-align: middle;
    }

    .SnapshotViewToolbar > .HeaderCaptionDiv {
        -ms-grid-column: 1;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space:nowrap;
    }

        .SnapshotViewToolbar > .HeaderCaptionDiv > span {
            font-weight: bold;
        }

        .SnapshotViewToolbar > .HeaderCaptionDiv > span > a {
            color: black; /*[{vs-tab-title-link}]*/
            font-weight: normal;
            text-decoration: none;
        }

        .SnapshotViewToolbar > .HeaderCaptionDiv > span > a:hover {
            cursor: pointer;
        }

    .SnapshotViewToolbar > .HeaderCaptionDiv > .GoBackDiv {
        display: inline-block;
        border: 1px solid transparent;
        padding: 3px;
        padding-top: 1px;
    }

    .SnapshotViewToolbar > .HeaderCaptionDiv > .GoBackDiv:hover {
        cursor: pointer;
        border: 1px solid black; /*[1px solid {vs-command-bar-mouse-over-border-color}]*/
        background-color: black; /*[{vs-command-bar-mouse-over-background-begin-color}]*/
    }

    .SnapshotViewToolbar > .HeaderCaptionDiv > .GoBackDiv:focus {
        border: 1px dotted transparent; /*[1px dotted {plugin-perftools-focusdots}]*/
    }

        .SnapshotViewToolbar > .HeaderCaptionDiv > .GoBackDiv > .ImageTile {
            display: inline-block;
            vertical-align: middle;
        }

            .SnapshotViewToolbar > .HeaderCaptionDiv > .GoBackDiv > .ImageTile > img {
                max-height: none;
            }

        .SnapshotViewToolbar > .HeaderCaptionDiv > span {
            vertical-align: sub;
        }

    .SnapshotViewToolbar > .GeneralCaptionDiv {
        display: none;
        font-weight: 600;
        font-size: 1.3em;
    }

    .SnapshotToolbarDiv {
        -ms-grid-column: 2;
        box-sizing: border-box;
        float: right;
        margin-left: auto;
        white-space: nowrap;
        display: -ms-grid;
        -ms-grid-columns: auto auto auto 1fr;
    }

    .SnapshotToolbarDiv > div {
        display: inline-block;
        -ms-grid-row-align: center;
        -ms-grid-column-align: end;
        vertical-align: middle;
        margin-right: 12px;
        margin-bottom: 12px;
    }

    .SnapshotToolbarDiv > * select {
            width: 21em;
            margin-left: 8px;
            vertical-align: middle;
            min-height: 24px;
            border: 1px solid black; /*[1px solid {vs-tree-view-selected-item-inactive-color}]*/
            background-color: rgb(252, 252, 252); /*[{plugin-textbox-background-color}]*/
    }

    .SnapshotToolbarDiv > .ViewModeDropDownDiv {
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        float: right;
    }

        .SnapshotToolbarDiv > .ViewModeDropDownDiv > span {
            vertical-align: middle;
        }

    .SnapshotToolbarDiv > .SelectHeapDropDownDiv {
        -ms-grid-column: 2;
        -ms-grid-row: 2;
        -ms-grid-column-span: 4;
        display: none;
        float: right;
    }

        .SnapshotToolbarDiv > .SelectHeapDropDownDiv > label {
            vertical-align: middle;
        }

        .SelectIsDefault {
            color: black; /*[{vs-watermark-text}]*/
        }

        .SelectIsDefault:hover {
            color: black; /*[{vs-watermark-text}]*/    
        }

    .ToggleButton {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
        -ms-grid-column-span: 4;
        float: right;
        display: -ms-grid,inline;
        -ms-grid-columns: auto auto auto;
        -ms-grid-rows: auto;
        margin-left: auto;
        margin-right: 10px;
        font-size: 9pt; /*[{plugin-font-size}]*/
        font-family: "Segoe UI", Arial, sans-serif; /*[{plugin-font-family} , Arial, sans-serif]*/
    }

    .ToggleButton a:focus {
        outline: 1px dotted TRANSPARENT; /*[1px dotted {plugin-perftools-focusdots}]*/
    }

    .ToggleButton > .toggleTabLabel {
        display: inline-block;
        margin-top: 7px;
        margin-bottom: 7px;
        -ms-grid-column: 1;
    }

    .ToggleButton > .toggleTabButtonContainer {
        display: inline-block;
        border-top: 2px solid TRANSPARENT;
        border-right: 2px solid TRANSPARENT;
        border-bottom: 2px solid TRANSPARENT;
        border-left: 2px solid TRANSPARENT;
        cursor: pointer;
        margin-left: 10px;
    }

    .toggleTabSelectedButtonOutline {
        outline: 1px solid;
        outline-color: transparent; /*[{plugin-link-color}]*/
}

    .ToggleButton > .toggleTabFirstButtonContainer {
        -ms-grid-column: 2;
    }

    .ToggleButton > .toggleTabSecondButtonContainer {
        -ms-grid-column: 3;
    }


    .SnapshotToolbarDiv > .DiffDropDownDiv {
        -ms-grid-column: 1;
        float:right;
    }

        .SnapshotToolbarDiv > .DiffDropDownDiv > .DiffDropDownGrid {
            display: inline-block;
        }

            .SnapshotToolbarDiv > .DiffDropDownDiv > .DiffDropDownGrid > progress {
                width: 21em;
                margin-right: -21em;
                float: right;
                display: none;
            }

    .SnapshotToolbarDiv > .ViewSettingsDiv {
        -ms-grid-column: 3;
        display: inline-block;
        overflow: hidden;
    }

        .SnapshotToolbarDiv > .ViewSettingsDiv {
            display: inline-block;
            border: 1px solid black; /*[1px solid {vs-tree-view-selected-item-inactive-color}]*/
            padding: 3px;
            padding-top: 1px;
        }

        .SnapshotToolbarDiv > .ViewSettingsDiv:hover {
            cursor: pointer;
            border: 1px solid black; /*[1px solid {vs-command-bar-mouse-over-border-color}]*/
            background-color: black; /*[{vs-command-bar-mouse-over-background-begin-color}]*/
        }

        .SnapshotToolbarDiv > .ViewSettingsDiv:focus {
            border: 1px dotted transparent; /*[1px dotted {plugin-perftools-focusdots}]*/
        }

        .SnapshotToolbarDiv > .ViewSettingsEnabled {
            background-color: black; /*[{vs-command-bar-mouse-over-background-begin-color}]*/
        }

            .SnapshotToolbarDiv > .ViewSettingsDiv > .ImageTile {
                display: inline-block;
                vertical-align: middle;
            }

                .SnapshotToolbarDiv > .ViewSettingsDiv > .ImageTile > img {
                    max-height: none;
                }

    .SnapshotToolbarDiv > .SearchFilterDiv {
        display: block;
        -ms-grid-column: 4;
        -ms-grid-column-align: stretch;
    }

        .SnapshotToolbarDiv > .SearchFilterDiv > .FilterInput {
            width: 100%;
            box-sizing: border-box;
            vertical-align: middle;
            min-height: 24px;
        }

        .SnapshotToolbarDiv > .SearchFilterDiv > .FilterInput:-ms-input-placeholder {
            color: black; /*[{vs-watermark-text}]*/
        }

        @media screen and (-ms-high-contrast: active) {
            /* Set background-color to make the text visible for for high contrast themes. We explicitly don't want to set background-color
               for all themes because it makes normal theme look bad. */
            .SnapshotToolbarDiv > .SearchFilterDiv > .FilterInput:-ms-input-placeholder {
                background-color: rgb(252, 252, 252); /*[{plugin-textbox-background-color}]*/
            }  
        }

        .SnapshotToolbarDiv > .SearchFilterDiv > .FilterInput > input {
            min-height: 24px;
        }

        .SnapshotToolbarDiv > .SearchFilterDiv > .FilterInputProgressBar {
            width: 100%;
            height: 3px;
            border: none;
            display: none !important; /* TODO: Return to `display: block;` and fix progress bar after RTM. */
            visibility: hidden;
        }

    .SnapshotViewToolbar > .NotificationBar {
        -ms-grid-row: 2;
        -ms-grid-column-span: 2;
        margin-right: 0.5em;
        display: -ms-grid;
        -ms-grid-columns: auto 1fr;
        width: auto;
        height: auto;
        line-height: 1.5em;
        cursor: default;
        margin-bottom: 12px;
    } 

        .SnapshotViewToolbar > .NotificationBar > .NotificationBarInfoIcon {
            display: inline-block;
            -ms-grid-row-align: center;
            -ms-grid-column: 1;
        }

        .SnapshotViewToolbar > .NotificationBar > .NotificationBarMessage {
            -ms-grid-column: 2;
            margin-left: 0.25em;
        }

@media screen and (max-width: 424px) {
    .SnapshotViewToolbar {
        display: inline-block;
    }

        .SnapshotViewToolbar > .SnapshotToolbarDiv {
            display: block;
            min-width: 0px;
            width: 100%;
            white-space: normal;
            text-align: right;
        }

        .SnapshotViewToolbar > .NotificationBar {
            width: 100%;
        }
}

@media screen and (min-width: 900px) {
    .SnapshotViewToolbar > .GeneralCaptionDiv {
        display: inline-block;
    }
}

/**
 * Snapshot view: types, objects, references graph
 */

.SnapshotView {
    position: relative;
    width: 100%;
    height: 100%;
}

    .SnapshotView > .TypesObjectsViewer {
        position:absolute;
        left:0; 
        right: 0;
    }

        .SnapshotView > .TypesObjectsViewer > div {
            width: 100%;
            height: 100%;
        }

        .SnapshotView > .TypesObjectsViewer > .ViewDisabledMessage {
            display: block;
            width: 100%;
            text-align: center;
            position: absolute;
            left: 0%;
            top: 50%;
            margin-top: -0.5em;
        }

            .SnapshotView > .TypesObjectsViewer > .ViewDisabledMessage p {
                margin-top: auto;
                margin-bottom: auto;
                color: black; /*[{vs-gray-text}]*/
            }

    .SnapshotView > .Splitter {
        position:absolute;
        left:-10px; /* compensate padding of SnapshotViewContainer */
        right: 0; 
        height: 3px;
        z-index: 10;
        box-sizing: border-box;
        background-color: black; /*[{vs-command-bar-options-background-color}]*/
    }

    .SnapshotView > .RefGraph {
        position:absolute;        
        left:0; 
        right: 0; 
    }

        .SnapshotView > .RefGraph > .RefGraphHeader {
            padding-left: 0em;
            padding-top: 0.25em;
            font-weight: bold;            
        }

        .SnapshotView > .RefGraph > .RefGraphHeader > .RefGraphDirection > * Separator {
            opacity:0.3;
            font-weight:bold;
            padding-left: 0.1em;
            padding-right: 0.1em;
        }

        .SnapshotView > .RefGraph > .RefGraphHeader > .RefGraphDirection * a.enabled {
            font-weight: normal;
            text-decoration: none;
            color: black; /*[{plugin-color}]*/
        }

        .SnapshotView > .RefGraph > .RefGraphHeader > .RefGraphDirection * a.enabled:hover {
            cursor: pointer;
            font-weight: normal;
            text-decoration: none;
            color: black; /*[{vs-tab-title-link}]*/
        }

        .SnapshotView > .RefGraph > .RefGraphHeader > .RefGraphDirection * a.disabled {
            color: black; /*[{vs-tab-title-link}]*/
            font-weight: bold;
            text-decoration: none;
            pointer-events: none;
            cursor: default;
        }

        .SnapshotView > .RefGraph > .RefGraphHeader > .RefGraphDirection * a.disabled:hover {
            cursor: default;
        }

        .SnapshotView > .RefGraph > .RefGraphNoData {
            padding: 6px;
        }

        .SnapshotView > .RefGraph > .RefGraphContainer {
            position: absolute;
            top: 2em;
            left:0; 
            right: 0; 
            bottom: 0;     
        }

/**
 * Goto objects icons
 */
.SnapshotGotoObjectsIconHover {
    margin-top: 0.1em;
    position: absolute;
    right: 0.25em;
    cursor: pointer;
}

.SnapshotGotoObjectsIconSelection {
    margin-top: 0.1em;
    position: absolute;
    right: 0.25em;
    cursor: pointer;
}

.SnapshotGotoObjectsIconOverlay {
    z-index: 100;
    margin: 0px;
    height: 1.5em;
    width: 2em;
    max-width: 16px;
}

.SnapshotGotoObjectsIconGrayOut {
    opacity:0.4;
}

/**
 * Sampling objects icon
 */
.SamplingIcon {
    display: inline-block;
    margin-left: 0.125em;
}

/**
 * Make grid control header look good
 */
.grid-cell-ref {
    padding-top: 1px;
    width: 100px;
    height: 100%;
    text-align: left;
    text-indent: 2px;
    overflow: visible;
    vertical-align: middle;
    float: left;
    display: table-cell;
    white-space: nowrap;
    position: relative;
    cursor: default;
    
    border-left-width: 0px;
    border-right-width: 1px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-color: black; /*[{plugin-table-header-background-color}]*/
    border-style: solid;
}

.grid-row {
    height: 1.75em;
}

.grid-row-normal {
    border-bottom-width: 1px;
    border-top-width: 0px;
    border-left-width: 1px;
    border-right-width: 0px;
    border-style: solid;
    border-color: black; /*[{plugin-table-header-background-color}]*/
}

.grid-header {
    background: url("./BptDiagnosticCommon/icons/grid-header-separator.png") no-repeat right top;
    background-color: black; /*[{plugin-table-header-background-color}]*/
    border-color: black; /*[{vs-tree-view-selected-item-inactive-color}]*/
    border-width: 1px;
    border-style: solid;
}

.grid-header-canvas {
    border-bottom-color: transparent;
    border-bottom-width: 0px;
    border-bottom-style: solid;
}

.grid-cell {
    padding-top: 1px;
    height: 100%;
    border-style:solid;
    border-right-width: 1px;
    border-left-width: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-color: black; /*[{plugin-table-header-background-color}]*/
}

.grid-header-column {
    border-color: black; /*[{vs-tree-view-selected-item-inactive-color}]*/
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-style: solid;
}

.icon-information {
    display: block;
    float: right;
    margin-left: 0.25em;
}

.icon-grid {
    display: -ms-grid;
    -ms-grid-columns: 1fr auto;
}

.rightAlignedColumn {
    text-align: right;
    padding-right: 5px;
}
