/*! JointJS+ v3.6.3 - HTML5 Diagramming Framework

Copyright (c) 2022 client IO

 2022-12-09 


This Source Code Form is subject to the terms of the JointJS+ License
, v. 2.0. If a copy of the JointJS+ License was not distributed with this
file, You can obtain one at http://jointjs.com/license/rappid_v2.txt
 or from the JointJS+ archive as was distributed by client IO. See the LICENSE file.*/


.joint-paper-scroller {
    position: relative;
    overflow: scroll;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    /* prevent an infinite loop when no size defined */
    max-height: 100000px;
    max-width: 100000px;
}

.joint-paper-scroller > .paper-scroller-background {
    margin: 0;
    position:relative;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}

.joint-paper-scroller .joint-paper {
    margin: 0;
    position:absolute;
    display: inline-block;
}

.joint-paper-scroller .joint-paper > svg {
    display: block;
}

/* Cursors */

.joint-paper-scroller[data-cursor="grab"] {
    cursor: all-scroll; /* fallback: no `url()` support or images disabled */
    cursor: -webkit-grab; /* Chrome 1-21, Safari 4+ */
    cursor: -moz-grab; /* Firefox 1.5-26 */
    cursor: grab; /* W3C standards syntax, should come least */
}

.joint-paper-scroller[data-cursor="grab"].is-panning {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.joint-paper-scroller.joint-theme-dark > .paper-scroller-background {
    background: #18191b;
}
.joint-paper-scroller.joint-theme-dark .joint-paper {
    border: 1px dotted #fefefe;
}

.joint-paper-scroller.joint-theme-material {
    background-color: #f3f5fa;
}

.joint-paper-scroller.joint-theme-modern {
    background-color: #f6f6f6;
}
.joint-paper-scroller.joint-theme-modern .joint-paper {
    box-shadow: 0 0 2px #d3d3d3;
}
