:root {
    --toolbarButton-editorFabric-icon: url(images/toolbarButton-editorFabric.svg);
}

html, body {
    height: 100%;
}

.diagram-container {
    height: 85vh;
}
app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/Logo.svg');
    mask: url('../images/Logo.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.main-box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.max-h-480 {
    max-height: 90vh;
}

.tabs-demo {
  display: flex;
}

.widget-container {
  display: flex;
  flex-grow: 1;
  width: 100%;
  min-width: 200px;
  overflow: clip;
}

.pdf-analysis {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    max-width: fit-content;
    min-width: 20%;
    padding: 20px;
    background-color: rgba(191, 191, 191, 0.15);
}

.caption {
  font-weight: 500;
  font-size: 18px;
}

.pdfside {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding: 20px;
    background-color: rgba(191, 191, 191, 0.15);
}

.pdfside .caption {
    font-weight: 500;
    font-size: 18px;
}

#view-test-drawer {
    height: 100%;
}

#main-toolbar, #ebdm-toolbar {
    flex: 0 1 auto;
    background-color: rgba(191, 191, 191, 0.15);
    padding: 5px 10px;
}

.main-content{
    flex: 1 1 auto;
}

#view-source, #view-test, #view-history {
    height: 100%;
}

#source-editor, #input-json-panel, #output-json-panel, #input-json, #output-json, #diff-viewer {
    height: 100%;
}

#view-test {
    display: flex;
    width: 100%;
    overflow: hidden;
}

#input-json-panel {
    width: 50%;
}
#input-json, #output-json {
    width: 100%;
}

#view-test-splitter {
    width: 10px;
    position: relative;
    cursor: w-resize;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

#output-json-panel {
    flex: auto;
}

#workspace {
        height: calc(100vh - 10.5em);
    }


#json-toolbar {
    background-color: rgba(191, 191, 191, 0.15);
    padding: 5px 10px;
}


#canvas {
    height: 100%;
    padding-left: 5px;
}

.xaf-item-previewjsontestfilecontent {
    visibility: hidden;
    width: 0 !important;
}

div.jse-menu > button:nth-child(-n+2) {
    display: none!important
}

div.jse-menu > div.jse-separator:nth-child(3) {
    display: none !important
}

#json-toolbar {
    background-color: rgba(191, 191, 191, 0.15);
    padding: 5px 10px;
}

#ebdm-menu, #decisions-list, #history-list {
    background-color: rgba(191, 191, 191, 0.15);
    padding: 5px 10px;
}


.dx-menu-items-container {
    vertical-align: top;
}
.dx-toolbar-before {
    width: 36px;
    padding-right: 0 !important;
    text-align: center;
}

.dx-list-item-content {
    padding-left: 10px !important;
}

#menu-toolbar-item, #back-toolbar-item, #properties-toolbar-item, #decisionslist-toolbar-item {
    background-color: rgba(191, 191, 191, -0.15);
    border: none;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    cursor: col-resize;
}

.dx-icon-cdx-zoom-in {
    background-color: currentColor;
    -webkit-mask: url(/images/ZoomIn.svg);
    mask: url(/images/ZoomIn.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    height: 18px;
    width: 18px;
    mask-size: 18px;
    -webkit-mask-size: 18px;
}

.dx-icon-cdx-zoom-out {
    background-color: currentColor;
    -webkit-mask: url(/images/ZoomOut.svg);
    mask: url(/images/ZoomOut.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    height: 18px;
    width: 18px;
    mask-size: 18px;
    -webkit-mask-size: 18px;
}

.dx-icon-cdx-zoom-100 {
    background-color: currentColor;
    -webkit-mask: url(/images/Zoom100.svg);
    mask: url(/images/Zoom100.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    height: 18px;
    width: 18px;
    mask-size: 18px;
    -webkit-mask-size: 18px;
}

.dx-icon-cdx-zoom-fit {
    background-color: currentColor;
    -webkit-mask: url(/images/Icon_Scale.svg);
    mask: url(/images/Icon_Scale.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    height: 18px;
    width: 18px;
    mask-size: 18px;
    -webkit-mask-size: 18px;
}

div.row:has(.main-box), div.dxbs-fl:has(.main-box), div.dxbs-fl-ctrl.dxbs-fl-ctrl-nc:has(.main-box) {
    height: 100%;
}

.hiddenHeader {
    display: none;
}

.SearchResults td {
    border-left-width: 0px;
    border-right-width: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
}

.SearchResults tr {
    border-left-width: 0px;
    border-right-width: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
}

.SearchResults table {
    border-left-width: 0px;
    border-right-width: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
}

.search-crumbs {
    display: block;
    width: 100%;
    padding: .0rem .6rem;
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin-block-end: 0px;
    /* border: 1px solid #ced4da; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.search-title {
    display: block;
    width: 100%;
    padding: .0rem .6rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: var(--bs-body-bg);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin-block-end: 0px;
    /* border: 1px solid #ced4da; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.search-preview {
    display: block;
    width: 100%;
    padding: .0rem .6rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin-block-end: 0px;
    /* border: 1px solid #ced4da; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.search-detail-cell {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.0rem;
    padding-bottom: 0.5rem;
    opacity: 0.75;
}

.search-card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    border-radius: 2px;
}

#help-search-results-grid > div.card {
    border: 0px;
}

.monaco-json-viewer {
    width: 100%;
    height: calc(80vh - 180px);
}

.monaco-diff-viewer {
    width: 100%;
    height: calc(100vh - 120px);
}

table.mcs-table-result {
    --sash-size: 4px;
    -webkit-font-smoothing: antialiased;
    color: var(--dxbl-text-edit-color);
    font-family: "Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
    font-size: 14px;
    text-overflow: ellipsis;
    border-collapse: collapse;
    border-color: gray;
    border-spacing: 2px;
}

    table.mcs-table-result tr {
        --sash-size: 4px;
        -webkit-font-smoothing: antialiased;
        color: var(--dxbl-text-edit-color);
        font-family: "Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
        font-size: 14px;
        border-collapse: collapse;
    }
    table.mcs-table-result th {
        --sash-size: 4px;
        -webkit-font-smoothing: antialiased;
        color: var(--dxbl-text-edit-color);
        font-family: "Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
        border-collapse: collapse;
        border: 1px solid #d2d0ce;
        padding: .55rem 1rem;
        white-space: nowrap;
        font-size: 15px;
        font-weight: 600;
    }

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .buttons > div {
        width: 300px;
        flex-wrap: nowrap;
        display: flex;
    }

.buttons-column > div {
    width: 150px;
    height: 50px;
    text-align: center;
}

.buttons-column {
    width: 150px;
    justify-content: center;
}

.detail-view-content {
    height:100%;
}

.property-richeditor {
    width: 100%;
    height: 10rem;
}

div.dmn-definitions {
    display: none;
}
button.view-drd-button {
    display: none;
}

#decisions-list, #history-list {
    background-color: rgba(191, 191, 191, 0.15);
    padding: 5px 10px;
}
.splash-padding {
    padding: 0.1rem !important;
}

.splash-wrapper {
    padding-top: 100px;
    width: 400px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: 80vw;
    max-height: 80vh;
}

.splash-main-element {
    position: absolute;
    top: 1%;
    left: 1%;
    display: block;
    height: 98%;
    width: 98%;
    margin: auto;
    align-self: center;
    background: #fff;
    z-index: 1;
}

.splash-border {
    position: absolute;
    display: block;
    top: -50%;
    left: -50%;
    z-index: -9;
    display: block;
    height: 200%;
    width: 200%;
    transform: rotate(-45deg);
    overflow: hidden;
    background: linear-gradient(to right, #fff 20%, #fff 40%, #ECD08C 50%, #ECD08C 55%, #fff 70%, #fff 100%);
    background-size: 200% auto;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.leader-line {
    z-index: 1502;
}

.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    width: 400px;
    height: 300px;
    max-width: 80vw;
    max-height: 80vh;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 0px;
}

    .signature-pad::before,
    .signature-pad::after {
        position: absolute;
        z-index: -1;
        content: '';
        width: 40%;
        height: 10px;
        bottom: 10px;
        background: transparent;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    }

    .signature-pad::before {
        left: 20px;
        -webkit-transform: skew(-3deg) rotate(-3deg);
        transform: skew(-3deg) rotate(-3deg);
    }

    .signature-pad::after {
        right: 20px;
        -webkit-transform: skew(3deg) rotate(3deg);
        transform: skew(3deg) rotate(3deg);
    }

.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
}

    .signature-pad--body canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    }

.signature-pad--footer {
    color: #c3c3c3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}

    .signature-pad--actions .column {
        padding: 0.1em;
    }

    .signature-pad--actions .button {
        margin: 0.2em;
    }

@media (max-width: 480px) {
    .signature-pad--actions .button {
        display: block;
        width: 100%;
        min-height: 2em;
    }
}

@media (max-width: 480px) {
    #toolbarViewerMiddle {
        display: none;
    }
    #pageNumber {
        width: 35px;
    }
}
/* Theme changer is the second element under settings */
div.settings-bar nav.themes-menu:nth-of-type(2) {
    display: none;
}