/***********************************/
/******  Слой 0 - Главный!!!  ******/
/***********************************/

/*viewer - agent*/
/*здесь все кроме program-page и #login-page и в нем .page-content, сам #login-page #title-panel описываеться здесь*/

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    #only-for-svg{ display:none !important; }
}

#GBVP_VIEWER{
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #fff;
    box-sizing: border-box;
    position: relative;
}

#GBVP_VIEWER{
    #viewer-page{
        inset: 0;
        display: flex;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        background: #fff;
        z-index: 2;
        
    }
    #print-page{
        display: none;
    }
}

#GBVP_VIEWER{
    *{box-sizing: border-box;}
    &>*{position: absolute;}
    #viewer-page{
        > .title-panel{
            flex: 0 0 45px;
            height: 45px;
            display: flex;
            align-items: center;
            min-width: 0;
            padding: 6px 9px;
            overflow: hidden;
            border-bottom: 1px solid #e1e5e9;
            background: #f7f8fa;
            .title-panel-flex-logo {
                height: 100%; flex-shrink: 0;
                img{
                    display: block;
                    width: auto;
                    max-width: 100%;
                    object-fit: fill;
                    object-position: left center;
                    height: 100%;
                    filter: drop-shadow(1px 1px 0px #1d5078);
                }
            }
            .title-panel-flex-separator {
                flex: 1;
            }
            .title-panel-flex-indicator {
                display: flex;
                align-items: center;
                height: 100%;
                gap: 10px;
                flex-shrink: 0;
            }
        }
        > .page-content{
            flex: 1 1 0;
            min-width: 0;
            min-height: 0;
        }
    }
}
#GBVP_VIEWER {
    & * {
        &::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        &::-webkit-scrollbar-button {
            display: none;
            width: 0;
            height: 0;
        }
        &::-webkit-scrollbar-track, &::-webkit-scrollbar-corner {
            background: transparent;
        }
        &::-webkit-scrollbar-thumb {
            background: #9bafbf;
            border-radius: 3px;
            &:hover {
                background: #6f8ba1;
            }
        }
    }
}
