html,
body,
#applicationShell,
#flashPane {
    height: 100%;
}

#applicationShell {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#flashPane {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    min-width: 320px;
}

#viewerDivider {
    position: absolute;
    top: 0;
    bottom: 0;
    display: none;
    width: 7px;
    cursor: col-resize;
    background: #8b8b8b;
    border-right: 1px solid #555;
    border-left: 1px solid #bbb;
}

#viewerPanel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
    min-width: 300px;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid #555;
    box-sizing: border-box;
}

#viewerPanelHeader {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 34px;
    line-height: 34px;
    padding: 0 82px 0 10px;
    overflow: hidden;
    color: #111;
    background: #ddd;
    border-bottom: 1px solid #999;
    box-sizing: border-box;
    font: bold 14px/34px Arial, sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#viewerPanelActions {
    position: absolute;
    top: 4px;
    right: 5px;
    z-index: 1;
}

#viewerPanelActions button {
    width: 32px;
    height: 26px;
    margin-left: 3px;
    padding: 0;
    cursor: pointer;
}

#viewerPanelFrame {
    position: absolute;
    top: 35px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 35px);
    border: 0;
    background: #fff;
}

body.viewer-panel-resizing {
    cursor: col-resize;
    user-select: none;
}

body.viewer-panel-resizing #viewerPanelFrame {
    pointer-events: none;
}
