@import "/styles/platform/switcher.css";
@import "/styles/platform/license.css";
@import "/styles/platform/card.css";
@import "/styles/platform/avatar.css";
@import "/styles/platform/headerDisplay.css";
@import "/styles/platform/inlineInfo.css";
@import "/styles/platform/funkyNoti.css";
@import "/styles/platform/tabs.css";
@import "/styles/platform/list.css";
@import "/styles/platform/listItem.css";
@import "/styles/platform/flowableListItem.css";
@import "/styles/platform/tagLine.css";
@import "/styles/platform/menu.css";
@import "/styles/platform/userProfileMenu.css";
@import "/styles/platform/dmn.be22d8f8162da2bede72.css";
@import "/styles/platform/flwforms.min.css";
@import "/styles/platform/animation.css";
@import "/styles/fira_sans.css";

/*
	Colors:
	   - Header dark: #384042
	   - Activiti blue: #2674aa
	   - Activiti green: #55ae4d
	   - Body/border grey: #eef1f1
	   - Component border: #c9d2d2
	   - Non-focus header-text: #6b7a7a
	   - Selection blue: #aad1ec
*/

@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: normal;
url('/fonts/TitilliumWeb-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: bold;
url('/fonts/TitilliumWeb-Bold.ttf') format('truetype');
}

html {
    font-size: 16px;
}

body {
    font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji";
    background-color: #eef1f1;
}

.body-no-padding {
    padding: 0;
}

.body-padding {
    padding-top: 90px;
    padding-bottom: 20px;
}

.container {
    margin: 0;
    /*min-width: 1024px;*/
}

.no-top-gutter {
    margin-top: -40px;
!important;
}

.error-text {
    color: red;
}


[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none;
}

.inline-button input.form-control {
    width: 80%;
}

.inline-button > .btn-group {
    width: 20%;
    padding-right: 5px;
}

.inline-button > .btn-group button {
    width: 100%;
    margin: 0 5px;
}

.inline-button .checkbox label {
    font-size: 12px;
}

.inline-button {
    margin-bottom: 5px;
}

.inline-button:last-child {
    margin-bottom: 0;
}

.inline-button > .btn-group > .btn:first-child {
    margin-left: 5px;
}

.inline-button.wide input.form-control {
    width: 65%;
}

.inline-button.wide > .btn-group {
    width: 35%;
}

/* Navigation */

.nav > li > a {
    padding: 10px 25px;
}

.navbar {
    background-color: #1f3245;
    border: none;
    min-height: 40px;
    margin-bottom: 5px;
}

.nav.navbar-nav {
    background-color: #1f3245;
    color: #eef1f1;
    border: none;
}

.navbar-header .navbar-brand {
    position: relative;
    padding-top: 0px;
    top: 2px;
    line-height: 35px;
    height: 35px;
    background: url(/images/flowable-logo.png) no-repeat 15px center;
    width: 180px;
}

.nav.navbar-nav li a {
    line-height: 40px;
    height: 40px;
    padding-top: 0;
    color: #eef1f1;
    font-size: 16px;
}

.navbar-inverse .navbar-nav > .active-process > a, .navbar-inverse .navbar-nav > .active-process > a:hover, .navbar-inverse .navbar-nav > .active-process > a:focus {
    background: rgb(162, 204, 70);
    color: #ffffff;
}

.navbar-inverse .navbar-nav > .active-cmmn > a, .navbar-inverse .navbar-nav > .active-cmmn > a:hover, .navbar-inverse .navbar-nav > .active-cmmn > a:focus {
    background: rgb(253, 229, 65);
    color: #ffffff;
}

.navbar-inverse .navbar-nav > .active-app > a, .navbar-inverse .navbar-nav > .active-app > a:hover, .navbar-inverse .navbar-nav > .active-app > a:focus {
    background: rgb(227, 58, 58);
    color: #ffffff;
}

.navbar-inverse .navbar-nav > .active-form > a, .navbar-inverse .navbar-nav > .active-form > a:hover, .navbar-inverse .navbar-nav > .active-form > a:focus {
    background: rgb(0, 102, 153);
    color: #ffffff;
}

.navbar-inverse .navbar-nav > .active-dmn > a, .navbar-inverse .navbar-nav > .active-dmn > a:hover, .navbar-inverse .navbar-nav > .active-dmn > a:focus {
    background: rgb(227, 154, 33);
    color: #ffffff;
}

.navbar-inverse .navbar-nav > .active-content > a, .navbar-inverse .navbar-nav > .active-content > a:hover, .navbar-inverse .navbar-nav > .active-content > a:focus {
    background: rgb(102, 153, 255);
    color: #ffffff;
}

.navbar .btn-group > .btn-default {
    background-color: #000000;
    border-color: #000000;
    color: #eef1f1;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-top: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.navbar .dropdown-menu {
    background-color: #384042;
}

.navbar .dropdown-menu > li > a:hover, .navbar .dropdown-menu > li > a:focus {
    background-color: #384042;
}

.navbar .dropdown-menu > .active-process > a, .navbar .dropdown-menu > .active-process > a:hover, .navbar .dropdown-menu > .active-process > a:focus {
    background: rgb(162, 204, 70);
    color: #ffffff;
}

.navbar .dropdown-menu > li > a {
    color: #ffffff;
}

.sub-navbar.active-process {
    background: rgb(162, 204, 70);
    background: linear-gradient(to right, rgba(162, 204, 70, 1.0), rgba(162, 204, 70, 1.0), rgba(162, 204, 70, 1.0), rgba(162, 204, 70, 0), rgba(162, 204, 70, 0));
}

.sub-navbar.active-cmmn {
    background: rgb(253, 229, 65);
    background: linear-gradient(to right, rgba(253, 229, 65, 1.0), rgba(253, 229, 65, 1.0), rgba(253, 229, 65, 1.0), rgba(253, 229, 65, 0), rgba(253, 229, 65, 0));
}

.sub-navbar.active-app {
    background: rgb(227, 58, 58);
    background: linear-gradient(to right, rgba(227, 58, 58, 1.0), rgba(227, 58, 58, 1.0), rgba(227, 58, 58, 1.0), rgba(227, 58, 58, 0), rgba(227, 58, 58, 0));
}

.sub-navbar.active-form {
    background: rgb(0, 102, 153);
    background: linear-gradient(to right, rgba(0, 102, 153, 1.0), rgba(0, 102, 153, 1.0), rgba(0, 102, 153, 1.0), rgba(0, 102, 153, 0), rgba(0, 102, 153, 0));
}

.sub-navbar.active-dmn {
    background: rgb(227, 154, 33);
    background: linear-gradient(to right, rgba(227, 154, 33, 1.0), rgba(227, 154, 33, 1.0), rgba(227, 154, 33, 1.0), rgba(227, 154, 33, 0), rgba(227, 154, 33, 0));
}

.sub-navbar.active-content {
    background: rgb(102, 153, 255);
    background: linear-gradient(to right, rgba(102, 153, 255, 1.0), rgba(102, 153, 255, 1.0), rgba(102, 153, 255, 1.0), rgba(102, 153, 255, 0), rgba(102, 153, 255, 0));
}

.sub-navbar .drop-menu {
    background: none;
}

.sub-navbar .navbar-nav, .sub-navbar .navbar-nav, .sub-navbar .navbar-nav {
    background: none;
    color: #384042;
}

.sub-navbar .navbar-nav > .active > a, .sub-navbar .navbar-nav > .active > a:hover, .sub-navbar .navbar-nav > .active > a:focus {
    background: none;
    color: #ffffff;
!important;
}

.sub-navbar .nav.navbar-nav li.active a {
    color: #ffffff;
!important;
}

.sub-navbar .nav.navbar-nav li a {
    font-size: 14px;
    color: #384042;
    background-color: unset;
}

.tabs-wrapper-flexible-height {
    margin-bottom: 20px;
    min-height: 600px;
}

.tabs-wrapper {
    margin-bottom: 20px;
    min-height: 600px;
}

.row.fixed .tabs {
    position: fixed;
    width:calc(100% - 250px);
    background-color: white;
}

.tabs-wrapper.fixed .grid-wrapper {
    padding-top: 40px;
}

.tabs-wrapper .badge, .tabs-wrapper-flexible-height .badge {
    background-color: #bfbfbf;
    font-size: 10px;
}

.component .tabs-wrapper .title, .component tabs-wrapper-flexible-height .title {
    background: rgb(238, 241, 241);
}

/* On instance/task pages the title strip is empty; drop its grey background so it doesn't show as a
   stray rectangle under the tabs toolbar. */
.component .tabs-wrapper .title:empty, .component tabs-wrapper-flexible-height .title:empty {
    background: none;
}

.tabs {
    padding: 0px;
    margin-bottom: -1px;
    margin-left: -1px;
    margin-top: -1px;
    z-index: 1;
}

.tabs.system-info {
    z-index: 1000;
}

.tabs-sm {
    margin-left: 5px;
    padding-top: 10px;
}

.tabs .tab {
    float: left;
    border-right: 1px solid #eef1f1;
    border-bottom: 1px solid #eef1f1;
    background-color: #f5f7f7;
    margin-top: 0;
}

.tabs .tab a {
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
    padding: 8px 15px;
    line-height: 39px;
    color: #7b8a8a;
    background-color: #f5f7f7;
    cursor: pointer;
}

.tabs-sm .tab {
    border-top: 1px solid #eef1f1;
}

.tabs-sm .tab a {
    font-size: 13px;
    padding: 7px 15px;
    line-height: 32px;
}

.tabs-sm .tab:first-child {
    border-left: 1px solid #eef1f1;
}

.tabs .tab:first-child a {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.tabs .tab.active {
    border-bottom-color: #ffffff;
    background-color: #ffffff;
}

.flw-diagram_toolbar--tabs {
    float: right;
    height: 40px;
    opacity: 1;
    background-color: transparent;
}

/* The tabs toolbar is meant to be transparent, but the generic `.flw-diagram_toolbar` rule (defined
   later in this file) re-applies a grey background by source order. The combined selector is more
   specific, so transparency wins — removing the grey square behind the expand icon. */
.flw-diagram_toolbar.flw-diagram_toolbar--tabs {
    background-color: transparent;
}

.flw-diagram_toolbar--tabs .flw-diagram_icon {
    padding: 0 10px;
    height: 40px;
}


.tabs .tab a:hover {
    color: #384042;
}


.tabs .tab.active a, .tabs .tab.active a:hover {
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
}


/* Components boxes */

.component {
    background-color: #ffffff;
    margin-top: 10px;
    min-height: 300px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    padding: 1px;
}

.component.full-width {
    width: 100%;
}

.component pre {
    margin: 10px;
    font-size: 12px;
}

.component.component-pack {
    min-height: 50px;
}

.component h2 {
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
    padding: 10px 10px 10px 10px;
    background-color: #ffffff;
    min-height: 36px;
}

.component h1 {
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
    padding: 10px 10px 10px 10px;
    background-color: #ffffff;
    min-height: 36px;
}

.component h3 {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
    padding: 5px 10px 5px 10px;
    background-color: #ffffff;
}

.component .no-results {
    margin: 20px 10px;
    color: #6b7a7a;
}

.component .no-results .glyphicon-info-sign {
    color: inherit;
}

.component .list-group {
    list-style: none;
    list-style-position: inside;
    margin-bottom: 5px;
    padding: 5px 0px 0px 0px;
}

.component .list-group li {
    padding: 5px 10px 5px 10px;
    font-size: 13px;
}

.component .list-group .btn, .component .list-group .btn-group {
    width: 100%;
    text-align: left;
}

.component .list-group .btn-danger {
    background-color: #ffffff;
    color: #d9534f;
    border-color: #d9534f;
}

.component .list-group .btn i.glyphicon {
    margin-right: 10px;
}

.component .title a.action, .component .tabs-wrapper a.action,  .component .title a.action, .component .tabs-wrapper-flexible-height a.action{
    font-size: 11px;
    line-height: 35px;
    margin: 0 10px;
    cursor: pointer;
}

.component.no-top-margin {
    margin-top: 0;
}

.label-wrapper {
    margin: 5px 5px 0px 0px;
}

.component .title, .component .seperator, .modal-header-wrapper, .modal-footer-wrapper {
    padding-bottom: 1px;
    background: #c9d2d2; /* Old browsers without gradient */
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(238, 241, 241, 1) 5%, rgba(238, 241, 241, 1) 95%, rgba(255, 255, 255, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(5%, rgba(238, 241, 241, 1)), color-stop(95%, rgba(238, 241, 241, 1)), color-stop(100%, rgba(255, 255, 255, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(238, 241, 241, 1) 5%, rgba(238, 241, 241, 1) 95%, rgba(255, 255, 255, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(238, 241, 241, 1) 5%, rgba(238, 241, 241, 1) 95%, rgba(255, 255, 255, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(238, 241, 241, 1) 5%, rgba(238, 241, 241, 1) 95%, rgba(255, 255, 255, 1) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(238, 241, 241, 1) 5%, rgba(238, 241, 241, 1) 95%, rgba(255, 255, 255, 1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9d2d2', endColorstr='#c9d2d2', GradientType=1); /* IE6-9 */
}

.modal-footer-wrapper {
    padding-top: 1px;
    padding-bottom: 0;
}

.component .title > .btn-group {
    margin-top: 2px;
    margin-right: 2px;
}

.component .title.process {
    color: rgb(162, 204, 70)
}

.component .title.cmmn {
    color: rgb(253, 229, 65)
}

.component .title.dmn {
    color: rgb(227, 154, 33)
}

.component .title.form {
    color: rgb(0, 102, 153)
}

.component .title.content-engine {
    color: rgb(102, 153, 255)
}

.component .title.action {
    color: rgb(102, 153, 255)
}

.component .input-group {
    width: 100%;
}

.component .input-group .btn-group {
    width: 100%;
}

.component .input-group .btn-group .dropdown-menu {
    width: 100%;
}

.component .input-group .btn-group .btn {
    text-align: left;
}

.component .input-group span {
    font-size: 12px;
}

.dropdown-menu {
    font-size: 12px;
}

.component .section {
    margin: 5px 10px 10px 10px;
}

.component .section .subtitle {
    color: #6b7a7a;
    font-size: 12px;
    margin-bottom: 2px;
}

.component .section .subtitle a {
    text-decoration: none;
    cursor: pointer;
    color: #6b7a7a;
}

.component .section .subtitle .glyphicon-remove {
    display: none;
}

.component .section .subtitle a:hover .glyphicon-remove {
    display: inherit;
}

.component .section .subtitle label {
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}

.component p {
    font-size: 12px;
    margin: 10px;
}

.component .glyphicon-info-sign {
    color: #2674aa;
    margin-right: 5px;
}

.no-min-height {
    min-height: 0px;
}

/* Grids */

.gridStyle, .grid {
    width: 100%;
    height: 600px;
    /*border: none;*/
    margin-bottom: 5px;
}

.grid-wrapper-compact .gridStyle, .grid-wrapper-compact .grid {
    height: 500px;
}

.grid-wrapper-compact .gridStyle .flowable-agent-timeline, .grid-wrapper-compact .flowable-agent-timeline .grid {
    height: auto;
}

.row--expanded-details .full-width,
.row--expanded-details .tabs-wrapper,
.row--expanded-details .grid-wrapper,
.row--expanded-details .flowable-agent-timeline,
.row--expanded-details .flowable-agent-timeline > div:first-child {
    height: 100%;
}

.flowable-agent-timeline > div:first-child {
    height: 600px;
    overflow: hidden;
    display: flex;
}

/* Left column: the agent list column. The insights component wraps it in a `flex flex-col` div
   holding the compact token-summary strip on top and the scrollable agent list below it. The
   summary added one nesting level versus the original layout, so the list is now this column's
   LAST child (or its only child while loading/erroring). These selectors are positional and must
   stay in sync with AgentsDashboard's DOM. */
.flowable-agent-timeline > div:first-child > div:first-child {
    height: 100% !important;
    overflow: hidden !important;
    flex: 2 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Right column: the selected agent/exchange details. */
.flowable-agent-timeline > div:first-child > div:last-child {
    overflow-y: auto !important;
    flex: 1 !important;
}

/* The agent list takes the height left under the summary strip; min-height:0 lets it shrink
   inside the flex column so its inner region can scroll. */
.flowable-agent-timeline > div:first-child > div:first-child > div:last-child {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* The scrollable region inside the agent list. */
.flowable-agent-timeline > div:first-child > div:first-child > div:last-child > div:first-child {
    height: 100% !important;
    overflow-y: auto !important;
}

.grid-wrapper {
    width: 100%;
    padding: 10px;
}

.flw-report-details__body > .grid-wrapper:last-child {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.flw-report-details__body > .grid-wrapper:last-child > .grid {
    flex: 1;
    min-height: 0;
    height: auto;
}

.grid-wrapper .gridStyle, .grid-wrapper .grid {
    margin-bottom: 5px;
    /*border: 1px solid transparent;*/
}

.grid-wrapper .ngTopPanel {
    background-color: transparent;
    border: none;
}

.grid-wrapper .ngHeaderText {
    padding: 8px 0px 0px 0px;
}

.gridStyle .ngHeaderCell, .grid .ngHeaderCell {
    padding-left: 5px;
    font-weight: bold;
    font-size: 12px;
    background-color: transparent;
}

.grid-wrapper .ngVerticalBar.ngVerticalBarVisible {
    background-color: #eef1f1;
}

.grid-wrapper .ngCellText {
    font-size: 12px;
    padding: 10px 5px 10px 5px;
}

.grid-wrapper .ngCellTextCenter {
    text-align: center;
    font-size: 15px;
    color: #55ae4d;
}

.grid-wrapper .ngCellTextCenter .glyphicon {
    color: #55ae4d;
}

.grid-wrapper .ngRow.even {
    background-color: #f6f7f7;
}

.grid-wrapper .ngRow.odd {
    background-color: #ffffff;
}

.grid-wrapper .ngRow.even.selected {
    background-color: #aad1ec;
}

.grid-wrapper .ngRow.odd.selected {
    background-color: #aad1ec;
}

.grid-wrapper .ngRow:hover {
    background-color: #aad1ec;
}

.grid-wrapper .ngRow:hover .ngVerticalBar.ngVerticalBarVisible {
    background-color: #aad1ec;
}

.grid-wrapper .ngRow.selected .ngVerticalBar.ngVerticalBarVisible {
    background-color: #aad1ec;
}

.grid-wrapper i {
    color: #6b7a7a;
}

.grid-wrapper .grid-message {
    margin: 0px 0px 10px 0px;
    color: #6b7a7a;
    font-size: 12px;
}

.grid-wrapper .grid-message .highlight, .grid-wrapper .grid-message .highlight i {
    color: #2674aa;
    font-weight: bold;
}

.grid-wrapper .gridStyle-highlight {
    border: 1px solid #aad1ec;
}

/* Properties */

.property-wrapper {
    margin: 10px;
}

.property-wrapper table {
    width: 100%;
}

.property {
    font-size: 12px;
}

.property td {
    padding: 5px 5px;
    width: 25%;
    vertical-align: top;
}

.property-dialog td {
    padding: 5px 5px;
    width: 15%;
    vertical-align: top;
}

.property-name {
    font-weight: bold;
    width: 25%;
    white-space: nowrap;
}

.property-name span.glyphicon {
    margin-right: 5px;
}

.property.property-float-2 {
    width: 50%;
    float: left;
    padding: 0 15px 10px 0;
}

.property.property-float-3 {
    width: 33%;
    float: left;
    padding: 0 15px 10px 0;
}

.property.property-float-2 .property-name, .property.property-float-3 .property-name {
    margin-right: 15px;
    width: inherit;
}

.property a {
    cursor: pointer;
}

.property ul {
    padding: 5px;
    list-style: square inside;
}

/* Flowable Icon font */

@font-face {
    font-family: 'svgfont_1regular';
    src: url('/fonts/font3933-webfont.eot');
    src: url('/fonts/font3933-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/font3933-webfont.woff') format('woff'),
    url('/fonts/font3933-webfont.ttf') format('truetype'),
    url('/fonts/font3933-webfont.svg#svgfont_1regular') format('svg');
    font-weight: normal;

}

/* Loading animation */

.loading {
    margin: 0px 15px;
    text-align: center;
    line-height: 34px;
}

.message .loading {
    line-height: 40px;
    margin-left: 0px;
}

.loading > div {
    width: 10px;
    height: 10px;
    background-color: #9fd7e5;
    margin: 1px;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.loading .l1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loading .l2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0.0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    40% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

/* Modal window */
.modal-header {
    margin-top: 6px;
    border-bottom: none;
    background-color: white;
    padding: 4px 10px 10px 10px;
}

.modal-header h2 {
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
    background-color: #ffffff;
}

.modal-header a.action {
    font-size: 11px;
    line-height: 18px;
    margin: 0 10px;
    cursor: pointer;
}

.modal-body {
    padding: 5px 15px;
    max-height: 850px;
    min-height: 100px;
    overflow: auto;
}

.modal-body.modal-body-high {
    min-height: 850px;
}

.modal-body.modal-body-medium {
    min-height: 300px;
}

.modal.modal-full-width .modal-dialog {
    width: 95%;
}

.modal-body p {
    font-size: 13px;
    margin: 20px 0px;
}

.modal-footer {
    margin-top: 0;
    padding: 11px 10px 5px 10px;
    border: none;
    background-color: #ffffff;
    margin-bottom: 6px;
}

.with-right-marging {
    margin-right: 20px;
}

.edit-table {
    width: 100%;
    padding: 10px;
    font-size: 12px;
}

.edit-table .message {
    font-size: 12px;
    color: #6b7a7a;
    padding: 0;
    margin: 2px 5px;
}

.edit-label {
    width: 30%;
    vertical-align: middle;
    text-align: left;
}

.edit-label-top {
    width: 30%;
    vertical-align: top;
    text-align: left;
}

.edit-table input, .edit-table .input-group {
    width: 95%;
}

.edit-table input[type=checkbox] {
    width: inherit;
}

.edit-table td {
    padding: 5px;
}

.master-config-modal > .modal-dialog {
    width: 1100px;
}

/* Graph bars */
.graph-wrapper {
    height: 15px;
    width: 100%;
    margin: 2px 0;
    background-color: #384042;
    border: 1px solid #384042;
    overflow: hidden;
}

.graph-bar {
    background-color: #55ae4d;
    height: 13px;
    content: ' ';
}

/* CSS Arrow */
.tip-left {
    position: relative;
    min-height: 100px;
}

.tip-left:after, .tip-left:before {
    right: 100%;
    top: 20px;
    border: solid transparent;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.tip-left:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #ffffff;
    border-width: 6px;
    margin-top: -6px;
}

.tip-left:before {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #c9d2d2;
    border-width: 7px;
    margin-top: -7px;
}

/* Retina tweaks */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (   min--moz-device-pixel-ratio: 1.5), only screen and (     -o-min-device-pixel-ratio: 3/2), only screen and (        min-device-pixel-ratio: 1.5), only screen and (min-resolution: 192dpi) {

    .navbar-header .navbar-brand {
        background: url(/images/flowable-logo@2x.png) no-repeat 20px center;
        background-size: 140px 35px;
        background-repeat: no-repeat;
    }
}


.engine-section {
    margin: 20px 0 10px 0;
}

/* Login */

.login-wrapper {
    width: 100%;
    padding: 15px 10px;
}

.login {
    /*margin-top: 45px;*/
}

/* Cluster config */

.cluster-config-wizard-step-cluster {
    background: url(/images/cluster.png) no-repeat left center;
    background-repeat: no-repeat;
    padding-left: 44px;
}

.cluster-config-wizard-step-network {
    background: url(/images/network.png) no-repeat left center;
    background-repeat: no-repeat;
    padding-left: 44px;
}

.cluster-config-wizard-step-security {
    background: url(/images/settings.png) no-repeat left center;
    background-repeat: no-repeat;
    padding-left: 44px;
}

.cluster-config-wizard-step-activiti {
    background: url(../images/activiti.png) no-repeat left center;
    background-repeat: no-repeat;
    padding-left: 44px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (   min--moz-device-pixel-ratio: 1.5), only screen and (     -o-min-device-pixel-ratio: 3/2), only screen and (        min-device-pixel-ratio: 1.5), only screen and (min-resolution: 192dpi) {

    .cluster-config-wizard-step-cluster {
        background: url(/images/cluster-x2.png) no-repeat left center;
        background-size: 40px 40px;
    }

    .cluster-config-wizard-step-network {
        background: url(/images/network-x2.png) no-repeat left center;
        background-size: 40px 40px;
    }

    .cluster-config-wizard-step-security {
        background: url(/images/settings-x2.png) no-repeat left center;
        background-size: 40px 40px;
    }

    .cluster-config-wizard-step-activiti {
        background: url(../images/activiti-x2.png) no-repeat left center;
        background-size: 40px 40px;
    }

}

.bpm-suite-config {
    height: 500px;
    max-height: 500px;
}


/* Upload from Modeler */

.upload-from-modeler-dialog > .modal-dialog {
    width: 800px;
    min-height: 0px;
}

.upload-from-modeler-form {
    text-align: center;
    margin: 20px 0 20px 0;
}

.upload-from-modeler-form span {
    margin-bottom: 20px;
}

.upload-from-modeler-form form {
    margin-left: 20%;
    margin-right: 20%;
    text-align: left;
}

.modeler-processes-error {
    color: red;
    font-size: smaller;
    padding: 7px 5px 0 0;
}

.process-model-wrapper {
    padding-left: 0;
    margin-top: 5px;
}

.process-model-wrapper .message {
    text-align: left;
    margin-left: 5px;
    line-height: 40px;
    color: #606b7d;
}

.process-model-wrapper .message span {
    font-size: 14px;
}

.process-model-wrapper .process-model {
    width: 33%;
    padding: 0;
    margin: 0;
    float: left;
}

.process-model-wrapper .process-model .process-model-box {
    margin: 5px;
    border: 1px solid #e8edf1;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center 20px;
    background-size: 100% auto;
}

.process-model-box .details {
    background-color: #e8edf1;
    height: 160px;
    margin-top: 120px;
    padding: 5px;
    color: #373e48;
    font-size: 13px;

    transition: margin-top .5s ease;
    -moz-transition: margin-top .5s ease;
    -webkit-transition: margin-top .5s ease;
    -o-transition: margin-top .5s ease;
}

.process-model-box .selected-process {
    background-color: #55ae4d;
}

.process-model-box:hover .details, .process-model-box.active .details {
    margin-top: 50px;
}

.process-model-box .actions {
    padding: 5px;
    height: 45px;
}

.process-model-box .actions .btn-group {
    visibility: hidden;
}

.process-model-box:hover .actions .btn-group, .process-model-box.active .actions .btn-group {
    visibility: inherit;
}


.process-model-box .details h3 {
    font-size: 14px;
    margin: 0;
    padding: 2px;
    color: #373e48;
}

.process-model-box .details span {
    display: block;
    margin-top: 5px;
}

.process-model-box .details span i {
    padding-right: 10px;
    padding-left: 5px;
}

.process-model-box .details .basic-details {
    min-height: 60px;
}

.process-model-box .details p {
    width: 100%;
    height: 70px;
    font-size: 12px;
    overflow: hidden;
}

/* Alerts */
.alert-wrapper {
    position: fixed;
    top: 40px;
    left: 30%;
    right: 30%;
    z-index: 1030;
}

.alert {
    width: 100%;
    margin: 5px auto;
    min-height: 20px;
    background-color: #eef4d7;
    border-color: #bcd35f;
    padding: 4px 10px;
}

.alert .pull-right {
    margin-left: 10px;
}

.alert .badge {
    background-color: #bcd35f;
    color: #ffffff;
    font-size: 12px;
    margin-top: 2px;
}


.alert .glyphicon {
    padding-right: 8px;
    color: #bcd35f;
}

.alert span {
    color: #445016;
    font-size: 15px;
}

.alert.error {
    background-color: #e9af9f;
    border-color: #e4593d;
}

.alert.error .glyphicon {
    color: #e4593d;
}

.alert.error span {
    color: #471313;
}

.alert.error .badge {
    background-color: #e4593d;
    color: #ffffff;
}

/* Upload deployment */

.upload-deployment-form {
    margin: 0 20% 0 20%;
    text-align: center;
}

.dropbox {
    background: #F8F8F8;
    border: 5px dashed #DDD;
    color: #8e8e8e;
    text-align: center;
    padding: 35px 0 35px 0;
    margin: 20px 0 20px 0;
}

.dropbox.dragover {
    border: 5px dashed #55ae4d;
    color: #55ae4d;
}


#bpmnModel {
    /* margin-top: 15px;
    margin-bottom: 15px; */
}


/* Monitoring */

.metrics {
    font-size: 12px;
    float: left;
}

.metrics-numbers {
    width: 300px;
    float: left;
    margin-top: 26px;
}

.metrics-count-chart {
    float: left;
}

.metrics-title {
    font-weight: bold;
}

.metrics-titles td {
    font-weight: bold;
    padding-top: 30px;
}


/* Inpired by http://icant.co.uk/csscharts/ */

/* Hour count chart */

.hour-count-chart {
    position: relative;
    margin: 0;
    padding: 0;
    background: #fc6;
    border: 1px solid #999;
    height: 100px;
    width: 500px;
    list-style: none;
    overflow: hidden;
}

.hour-count-chart-entry {
    height: 100px;
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 20px;
    border: 1px solid #eee;
    background-color: #fc6;
    border-right-width: 2px;
}

.hour-count-chart-entry span {
    display: none;
    position: absolute;
    top: 1em;
    font-size: 14px;
    font-weight: bold;
}

.hour-count-chart-entry:hover {
    background: #693;
    border-color: #ddd;
}

.hour-count-chart-entry:hover span {
    left: 1em;
    display: inline;
}

/* Weekday css */

.weekday-count-chart {
    position: relative;
    margin: 0;
    padding: 0;
    background: #fc6;
    border: 1px solid #999;
    height: 100px;
    width: 182px;
    list-style: none;
    overflow: hidden;
}

.weekday-count-chart-entry {
    height: 100px;
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 24px;
    border: 1px solid #eee;
    background-color: #55ae4d;
    border-right-width: 2px;
}

.weekday-count-chart-entry span {
    display: none;
    position: absolute;
    top: 1em;
    font-size: 14px;
    font-weight: bold;
}

.weekday-count-chart-entry:hover {
    background: #693;
    border-color: #ddd;
}

.weekday-count-chart-entry:hover span {
    left: 1em;
    display: inline;
}

.no-overflow {
    overflow: visible;
}

.type-ahead-scrollable .dropdown-menu {
    max-height: 300px;
    overflow: auto;
    width: 100%;
}

.type-ahead-scrollable .dropdown-menu a .user-label {
    padding-left: 8px;
}

.decision-table-grid {
    border: 1px solid rgb(212, 212, 212);
    width: 100%;
    height: 372px;
    margin-bottom: 10px;
}

.decision-table .btn-success {
    color: #fff;
    background-color: #5cb85c;
}

.decision-table .btn-success:hover,
.decision-table .btn-success:focus {
    background-color: #419641;
    background-position: 0 -15px;
}

.decision-table-grid .ui-grid-header-viewport, .decision-table-grid .ui-grid-header-canvas {
    height: 70px;
}

.decision-table-grid .header-expression {
    height: 70px;
    border-bottom: 5px solid rgb(43, 37, 37);
    border-bottom: 5px solid rgba(43, 37, 37, 0.22);
}

.decision-table-grid .header-input-expression {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(54, 167, 196);
    /* RGBa with 0.6 opacity */
    background: rgba(54, 167, 196, 0.6);
    /*background-color: #668b94;*/
    color: #ffffff;
    font-size: 14px;
}

.decision-table-grid .header-output-expression {
    border-left: 5px solid rgb(212, 212, 212);
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(92, 184, 92);
    /* RGBa with 0.6 opacity */
    background: rgba(92, 184, 92, 0.6);
    color: #ffffff;
    font-size: 14px;
}

.decision-table-grid .header-output-expression ~ .header-output-expression {
    border-left: none;
}

.decision-table-grid .cell-input-expression {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(54, 167, 196);
    /* RGBa with 0.6 opacity */
    background: rgba(54, 167, 196, 0.1);
}

.decision-table-grid .cell-output-expression {
    border-left: 5px solid rgb(212, 212, 212);
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(92, 184, 92);
    /* RGBa with 0.6 opacity */
    background: rgba(92, 184, 92, 0.1);
    border-left: 3px solid rgb(212, 212, 212);
}

.decision-table-grid .cell-output-expression ~ .cell-output-expression {
    border-left: none;
}

.decision-table-grid {
    font-size: 13px;
    line-height: 20px
}

.decision-table-output-expression-input, .decision-table-output-expression-input:active, .decision-table-output-expression-input:focus, .decision-table-output-expression-input:visited {
    background-color: inherit;
}

.decision-table-output-expression-input:hover {
    background-color: #287d92;
}

.decision-table-input-expression-input .caret {
    display: none;
}

.decision-table-grid .ui-grid-row.ui-grid-row-selected .cell-input-expression > [ui-grid-row] > .ui-grid-cell {
    background: rgba(92, 184, 92, 0.4);
}

.decision-table-grid .ui-grid-row:nth-child(odd) .ui-grid-cell.cell-output-expression,
.decision-table-grid .ui-grid-row:nth-child(even) .ui-grid-cell.cell-output-expression {
    background: rgb(92, 184, 92);
    /* RGBa with 0.6 opacity */
    background: rgba(92, 184, 92, 0.1);
    border-bottom: 1px solid rgba(43, 37, 37, 0.22);
}

.decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(odd) .ui-grid-cell.cell-output-expression,
.decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(even) .ui-grid-cell.cell-output-expression {
    background: rgba(92, 184, 92, 0.2);
}

.decision-table-grid .ui-grid-row:nth-child(odd) .ui-grid-cell.cell-input-expression,
.decision-table-grid .ui-grid-row:nth-child(even) .ui-grid-cell.cell-input-expression {
    background: rgb(54, 167, 196);
    /* RGBa with 0.6 opacity */
    background: rgba(54, 167, 196, 0.1);
    border-bottom: 1px solid rgba(43, 37, 37, 0.22);
}

.decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(odd) .ui-grid-cell.cell-input-expression,
.decision-table-grid .ui-grid-row.ui-grid-row-selected:nth-child(even) .ui-grid-cell.cell-input-expression {
    background: rgba(54, 167, 196, 0.2);
}

.decision-table-grid .ui-grid-render-container-left .ui-grid-header-cell {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(54, 167, 196);
    /* RGBa with 0.6 opacity */
    background: rgba(54, 167, 196, 0.6);
    /*background-color: #668b94;*/
    color: #ffffff;
    font-size: 14px;

    border-bottom: 5px solid rgb(43, 37, 37);
    border-bottom: 5px solid rgba(43, 37, 37, 0.22);

}

.decision-table-grid .ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-header-cell:last-child {
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom: 5px solid rgb(43, 37, 37);
    border-bottom: 5px solid rgba(43, 37, 37, 0.22);
}

.decision-table-grid .ui-grid-cell-focus {
    outline: 0;
    background-color: transparent;
}

.decision-table .ui-grid-row-selected .customRowHeader {
    background-color: #c9dde1;
    color: #ffffff;
    border-bottom: 1px solid rgba(43, 37, 37, 0.22);
}

.decision-table .ui-grid-cell-contents {
    position: relative;
}

.decision-table .ui-grid-cell-contents-empty::before {
    content: "-";
    text-align: center;
    width: 100%;
    position: absolute;
    height: 100%;
    color: gray;
}

.decision-table .ui-grid-cell-contents .show-error-icon {
    display: none;
}

.decision-table .ui-grid-cell-contents .edit-icon {
    position: absolute;
    right: 0;
}

.decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error {
    padding-left: 20px;
}

.decision-table .decision-table-grid-wrapper {
    position: relative;
    margin-top: 10px;
}

.decision-table .decision-table-grid-wrapper > span {
    display: none;
}

.decision-table .decision-table-grid-wrapper .ui-grid-header-cell .ui-grid-cell-contents .text-center {
    min-height: 20px;
}

.decision-table .decision-table-grid-wrapper.ui-grid-cell-contents-has-error > .decision-table-grid {
    border: 1px solid #a94442;
}

.decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error .contents-value,
.decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error .text-center {
    color: #a94442;
}

.decision-table .ui-grid-cell-contents.ui-grid-cell-contents-has-error .show-error-icon,
.decision-table .decision-table-grid-wrapper.ui-grid-cell-contents-has-error .show-error-icon {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px;
    cursor: pointer;
    z-index: 1;
}

#dmnModel {
    padding: 20px;
}

.activiti-table .ui-grid-pinned-container .ui-grid-header-cell-row::before {
    content: "#";
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.activiti-table .ui-grid-top-panel {
    background: #FAFAFB none repeat scroll 0% 0%;
    font-weight: normal;
}

.activiti-table .ui-grid-top-panel .header-output-expression {
    background: #f2f2f3 none repeat scroll 0% 0%;
}

.activiti-table .ui-grid-top-panel .text-center {
    min-height: 20px;
}

.activiti-table .ui-grid-top-panel .text-center.subtle {
    text-transform: uppercase;
    min-height: 15px;
    font-size: 10px;
    margin-top: 3px;
}

.activiti-table .ui-grid-top-panel .text-value,
.activiti-table .ui-grid-top-panel .text-label {
    text-overflow: ellipsis;
    overflow: hidden;
}

.activiti-table .ui-grid-top-panel .text-label {
    color: #646464;
}

.activiti-table .ui-grid-top-panel .text-value {
    font-family: 'Courier', 'Lato', sans-serif;
    font-size: 12px;
}

.activiti-table .ui-grid,
.activiti-table .ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-header-cell:last-child {
    border: none;
}

.activiti-table .ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-cell:last-child,
.activiti-table .ui-grid-header-cell,
.activiti-table .ui-grid-cell {
    border-right: none;
}

.activiti-table .ui-grid-top-panel .header-output-expression--first {
    border-left: 1px solid #d4d4d4;
}

.activiti-table .ui-grid-canvas {
    padding-top: 0;
}

.activiti-table .ui-grid-row .ui-grid-cell.ui-grid-row-header-cell {
    background-color: white;
    border-bottom: none;
}

.activiti-table .ui-grid-row:nth-child(odd) .ui-grid-cell {
    background-color: white;
}

.activiti-table .ui-grid-row:nth-child(even) .ui-grid-cell {
    background-color: #fcfcfc;
}


.activiti-table .ui-grid-row {
    margin-top: 2px;
    margin-bottom: 1px;
}

.activiti-table .ui-grid-cell-contents {
    margin-left: 1px;
    margin-right: 1px;
}

.activiti-table .decision-table-display-cell-notexecuted {

}

.activiti-table .cell-expression {
    position: relative;
    overflow: visible;
}

.activiti-table .decision-table-display-cell-match {
    border: 1px solid #2980b9;
}

.activiti-table .decision-table-display-cell-nomatch,
.activiti-table .decision-table-display-cell-exception {
    border: 1px solid #9C4337;
}

.activiti-table .decision-table-display-cell-exception::before {
    content: "!";
    background-color: #9C4337;
    color: white;
    border-radius: 10px;
    position: absolute;
    right: 0;
    display: block;
    width: 20px;
    text-align: center;
    height: 20px;
    margin-right: 5px;
    font-weight: bold;
}

.activiti-table .header-output-expression-first,
.activiti-table .cell-output-expression-first {
    border-left: 1px solid #d4d4d4;
}

.activiti-table .cell-output-expression-first::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -1px;
    background-color: #d4d4d4;
    width: 1px;
    height: 3px;
}

.activiti-table .section h3 {
    margin: 0;
    margin-bottom: 1rem;
    font-size: 14px;
    color: rgb(100, 100, 100);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.activiti-table .ui-grid.activiti-ui-grid-noscroll {
    height: auto !important;
    margin-bottom: 2rem;
}

.activiti-table .ui-grid.activiti-ui-grid-noscroll .ui-grid-render-container-body .ui-grid-viewport {
    overflow-x: auto !important;
    overflow-y: auto !important;
    height: auto !important;
}

.activiti-table h3.header-expandable {
    cursor: pointer;
}

.activiti-table h3.header-expandable span.glyphicon {
    vertical-align: middle;
    display: inline-block;
    margin-top: -6px;
}

.activiti-table h3.header-expandable.header-expanded span.glyphicon {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}

.activiti-table .section.pack {
    min-height: inherit;
}

.activiti-table .section {
    margin: 10px 0;
    padding: 10px 0 0px 0;
    min-height: 120px;
}

.activiti-table label {
    color: #636363;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 700;
}

.form-preview input:disabled, .form-preview select:disabled, .form-preview textarea:disabled {
    background: #fff;
    cursor: default;
}

.form-popup input:disabled, .form-popup select:disabled, .form-popup textarea:disabled {
    cursor: default;
}

.publish-pop-body .ngViewport {
    overflow-x: hidden;
}

/*login*/
#login-root {
    height: 100vh;
}

.login {
    background-color: #1f3245;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji";
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.login-form {
    padding: 20px 25px 35px 25px;
    width: 500px;
    background: rgba(0, 0, 0, 0.4);
    color: #FFF;
    border: 1px solid #999;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
}

.login-form-field {
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.login-form-field input {
    flex: 1;
    height: 35px;
    line-height: 35px;
    border: 0;
    border-bottom: 1px solid #3F4B58;
    border-radius: 0px;
    background: transparent;
    font-size: 16px;
    color: #EEE;
}

.login-form-field input:focus {
    border-color: #ee8177;
    outline: none !important;
    outline-offset: 0;
    box-shadow: none;
}

.login-form-field input:active {
    border-color: #ee8177;
}

.login-submit {
    display: flex;
    margin-top: 15px;
}

.login-submit button {
    border: 1px solid #e95e50;
    background: #e74c3c;
    color: #FFF;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 400;
}

.login-submit-left {
    flex: 1;
}

.login-submit-right {
    flex: 1;
    text-align: right;
}

.login-form-error {
    padding: 10px;
    margin-bottom: 10px;
    background: #e95e50;
}

.flowable-logo-full {
    width: 180px;
    height: 45px;
}


.flowable-logo-full .able, .flowable-logo-full .makingpersonal {
    fill: #A8BAC1;
}

.flowable-logo-full .flow {
    fill: #FFFFFF;
}

.flowable-logo-full .process, .flowable-logo-full .glyph {
    fill: #e74c3c;
}

/** Main list **/
.main-list {
    position: relative;
    float: left;
    width: 400px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin-right: 20px;
    height: 100%;
    overflow: hidden;

    -webkit-box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.50);
    -moz-box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.50);
    box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.50);
}

.main-list .sort {
    position: absolute;
    top: 12px;
    right: 5px;
}

.main-list .list-subheader {
    margin-top: 40px;
    position: relative;
    border-bottom: 1px solid #f2f2f2;
}

.main-list .list-subheader > .btn-group {
    margin: 10px 5px 10px 10px;
}


.main-content {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding-bottom: 10px;
}

.main-content-wrapper {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    -webkit-box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.50);
    -moz-box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.50);
    box-shadow: 2px 2px 2px 0px rgba(220, 220, 220, 0.50);
}

.main-content > .header {
    background-color: #e8edf1;
    min-height: 60px;
    border-bottom: 1px solid #a4acb9;
    padding: 15px 15px;
}

.main-content > .header h2 {
    margin: 0 0 5px 0;
    font-size: 26px;
}

.content {
    padding: 0 10px;
    overflow: auto;
}

.content .split-left {
    float: left;
    width: 60%;
    padding: 0 10px 0 5px;
}

.content .split-right {
    float: right;
    width: 40%;
    padding: 0 0 0 15px;
}

.container.user-mgmt {
    /*height: calc(100vh - 140px);*/
    width: 100%;
}

.user-summary {
    text-align: center;
    margin: 5px 1%;
    float: left;
    width: 23%;
}

.user-summary .icon {
    font-size: 30px;
    height: 30px;
    padding: 0;
    margin: 5px 0 0 0;
    line-height: 30px;
    color: #606b7d;
}


.user-summary span {
    line-height: 30px;
}

.item-wrapper .message a {
    padding: 0 10px;
}

.users td {
    border: 1px solid #f1f1f1;
    padding: 5px;
    color: #373e48;
}

td.control {
    text-align: center;
}

.users tr.selected td {
    background-color: #f4f4f4;
}

.users tr:hover td {
    background-color: #e8edf1;
    border: 1px solid #e8edf1;
    cursor: pointer;
}


.users th {
    height: 20px;
    background-color: #a4acb9;
    color: #ffffff;
    padding: 5px;
}

ul.user-list {
    padding-left: 10px;
}

ul.user-list i {
    padding-right: 5px;
}

ul.user-list li span {
    color: #666666;
}

/*
 * new styling
 */

.flw-root-app {
    height: 100%;
    width: 100%;
}

.flw-root-main-container {
    box-sizing: border-box;
    padding: 20px;
    height: 100%;
    background: #f6f5f4;
    display: flex;
    align-items: stretch;
    overflow: initial;
}

.flw-switcher a {
    color: inherit;
}

.flw-switcheritem.flw-switcheritem--sub {
    display: none !important;
}

.flw-switcheritem.flw-switcheritem--sub.flw-switcheritem--active {
    display: flex !important;
}

.flw-switcher a:hover, .flw-switcher a:active, .flw-switcher a:focus {
    text-decoration: none;
}


.flowable-logo-full__process, .flowable-logo-full__glyph, .flowable-logo-full--color__process, .flowable-logo-full--color__glyph {
    fill: #e74c3c;
}

.flowable-logo-full__flow, .flowable-logo-full--color__flow {
    fill: #FFFFFF;
}

.flowable-logo-full__able, .flowable-logo-full__makingpersonal, .flowable-logo-full--color__able, .flowable-logo-full--color__makingpersonal {
    fill: #A8BAC1;
}

.flw-header-detail .component {
    border: none;
    box-shadow: none;
    min-height: unset;
    display: flex;
    flex-grow: 1;
    justify-content: start;
}

.flw-report-details__header {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flw-report-details__header__row {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 5px 0;
}

.flw-report-details__header__row.dashboard {
    flex-wrap: wrap;
}

.flw-report-details__header__row.dashboard > * {
    margin-bottom: 15px;
}

.flw-report-details__header__row__column {
    display: flex;
    flex: 1;
}

.flw-report-details__header__row-list {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 20px;
}

.flw-report-details__header__row-label {
    flex: 0 0 auto;
    text-align: right;
    overflow: hidden;
    flex-wrap: wrap;
}

.flw-report-details__header__row-list .input_container {
    padding-left: 20px;
    flex: 1;
}

.flw-report-details__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #FFF;
    border-radius: 5px;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.1);
    min-height: 0;
}

.component .flw-report-details__body {
    box-shadow: none;
    border-radius: 0;
}

.flw-report-summary__container {
    padding: 10px;
}

.flex-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.flex-container > .row:last-child {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.flex-container > .row:last-child > .component {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.flex-container > .row:last-child > .component > .tabs-wrapper,
.flex-container > .row:last-child > .component > .tabs-wrapper-flexible-height {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tabs-wrapper > .flw-header-detail__details {
    flex: 0 0 auto;
}

.tabs-wrapper > .grid-wrapper-compact {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.row.full-height {
    flex: 2;
    display: flex;
}

.row--expanded {
    max-height: 100%;
    overflow: hidden;
}

.row--hidden {
    display: none;
    flex: 0;
}

.row:last-of-type {
    height: 100%;
    overflow: auto;
}

.ngViewport {
    overflow-y: auto;
    overflow-x: hidden;
}

.flw-report-details__header.bpmnModel_container {
    display: block;
    overflow-y: auto;
    overflow-x: auto;
}

.flw-report-details__header.bpmnModel_container--expanded {
    max-height: none;
    overflow-y: hidden;
    overflow-x: hidden;
}

.flw-report-details__header.bpmnModel_container--expanded .flw-diagram {
    max-height: none;
    height: calc(100vh - 300px);
}


.flw-report-details__header.formModel_container {
    display: block;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: auto;
}

#frmPlaceholder {
    width: 95%;
    padding-bottom: 20px;

}

.flw-header-detail__details__sidebar .flw-inlineInfoItem {
    font-size: 12px;
    cursor: pointer;
}

.grid-wrapper .variable-action-container .btn {
    margin-left: 10px;
}


.actionDefinitionModel_container > div {
    margin-top: 15px;
    margin-bottom: 15px;
}

.actionDefinitionModel_container div.jsoneditor {
    border: none;
}

.actionDefinitionModel_container div.jsoneditor-tree div.jsoneditor-tree-inner {
    padding-bottom: 0;
}

.actionDefinitionModel_container table.jsoneditor-tree > tbody > tr.jsoneditor-expandable:first-child {
    display: none;
}

.engageMessage_container {
    padding-top: 25px;
    padding-right: 55px;
    padding-left: 55px;
    padding-bottom: 25px;
}

.flw-header-detail__body__buttons button i, .grid-wrapper .variable-action-container button i {
    padding-right: 5px;
}

.json-result-container {
    max-height: 150px;
    overflow: auto;
    display: block;
}

.json-result-container.large {
    max-height: 250px;
}

.flw-switcher__container.sub-menu {
    position: relative;
    width: 250px;
    flex: unset;
}

.main-sub-menu {
    top: 0;
    bottom: 0;
    left: 0;
    width: 250px;
    display: block;
    position: absolute;
    border-right: solid 1px rgba(51, 51, 51, 0.2);
}

.main-sub-menu .flw-list__items {
    /*padding-top: 20px;*/
}

.main-sub-menu-active {
    top: 0;
    right: 0;
    bottom: 0;
    width: 250px;
    display: block;
    position: absolute;
}

.flw-flowableListItem__content {
    display: flex;
    flex: 1 1 auto;
}

.flw-flowableListItem__content__title {
    font-size: 14px;
}

.flw-switcher__container .main-sub-menu .flw-flowableListItem {
    width: 100%;
    height: 60px;
}

.flw-switcher__container .main-sub-menu .flw-flowableListItem.button-group {
    background: rgb(246, 245, 244);
    height: 80px;
}

.left-menu-container {
    flex: 1;
    display: flex;
    overflow: auto;
    width: 100%;
}

.left-menu-container .menu-item-container {
    min-height: -webkit-min-content;
    display: flex;
    height: 100%;
    width: 100%;
}

.left-menu-container .menu-items {
    height: 250px;
    width: 100%;
}

.flw-switcher--expand .flw-switcher__nav__start {
    flex-shrink: 1;
}

.flw-switcher--expand .flw-switcher__nav__end {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}

.align-bottom-right {
    align-items: flex-end;
    display: flex;
    justify-content: right;
}

.flw-flowableListItem--selected {
    background: #dadada;
}

.flw-root-main-container.sub-menu-active {
    padding: 0;
}

.container.sub-menu-active {
    padding: 20px 40px;
}

.active-cluster-select {
    width: 100%;
    height: 30px;
}

.flw-header-detail__info.cluster {
    margin-top: 10px;
    font-size: 13px;
}

.flw-switcher {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.flw-root-app :focus {
    outline: none;
}

.flw-root-app a, .flw-root-app a:hover {
    text-decoration: underline;
}

.flw-root-app .flw-switcheritem a {
    text-decoration: none;
}

.flw-root-app .variable-action-container {
    float: right;
}

.flw-switcherProfile-container {
    cursor: pointer;
    display: flex;
    flex: 1;
    width: inherit;
}

.flw-userProfileMenu-container {
    display: none;
}

.flw-userProfileMenu-container.active {
    display: block;
}


.grid-wrapper .variable-action-container i {
     color: unset;
}

.contentItem_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contentItem_container img {
    padding: 0 10px 10px;
    -webkit-filter: drop-shadow(3px 3px 3px #222222bf);
    filter: drop-shadow(3px 3px 3px #222222bf);
}

.es-index-document .modal-dialog {
    width: 60%;
}

.es-index-document .jsonmodel {
    height: 100%;
}

.es-index-document div.jsoneditor-tree, .es-index-document div.jsoneditor-tree-inner {
    padding-bottom: 25px!important;
}

.incident-details .modal-dialog {
    width: 80%;
}

.grid-wrapper.audit {

}

#dmnTable-wrapper {
    height: 563px;
    overflow-x: auto;
}

#dmnTable-wrapper table {
    padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 400px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 620px;
  }
}
@media (min-width: 1200px) {
    .container {
        width: 820px;
    }
}
@media (min-width: 1450px) {
    .container {
        width: 1000px;
    }
}

.jsoneditor, .ace-jsoneditor {
    min-height: 300px;
}

#control-charts-containers {
    display: flex;
    flex: 1;
    flex-direction: row;
    height: 100%;
    width: 100%;
    flex-wrap: wrap;
    overflow: auto;
}

.control-chart-controls {
    padding-top: 15px;
    padding-left: 28px;
}

.control_chart_container {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex-basis: 50%;
}

.control_chart_container .no-data-message {
    margin-left: 15px;
    font-style: italic;
    font-weight: lighter;
}

.control_chart_title {
    padding: 15px;
}

.control_chart_label {
    padding-left: 15px;
    padding-top: 10px;
}

.control_chart_content {
    flex: 0 0 auto;
    display: flex;
}

.flw-chart__container {
    justify-content: flex-start;
    padding: 0 0 0 15px;
}

.control_chart_container.full-row {
    flex-basis: 100%;
}

.component.statistics-diagram {
    margin: 0;
}

.statistics-diagram.bpmnModel_container {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: 100%;
}

.statistics-diagram .statistics-toggle-container {
    top: 0;
    left: 0;
    padding: 15px;
    display: flex;
}

.statistics-diagram .statistics-fixed-container {
    position: fixed;
    flex: 1;
    z-index: 999;
    background: white;
}

.statistics-diagram .statistics-toggle-wrapper {
    display: flex;
    justify-content: space-between;
}

.statistics-diagram .statistics-toggle-label {
    margin-left: 5px;
}

.diagram-container {
    flex-grow: 1;
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.diagram-react-container {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: block;
}

.statistics-diagram .statistics-legend-wrapper {
    display: flex;
}

.statistics-diagram .statistics-legend {
    margin-left: 10px;
    display: flex;
}

.statistics-legend .legend-box {
    width: 14px;
    height: 20px;
    border-radius: 4px;
    margin-right: 4px;
}

.statistics-legend .legend-box.active-elements {
    background-color: #62707e;
}

.statistics-legend .legend-box.deadletter-jobs {
    background-color: #e74c3b;
}

.system-info-sub-header {
    padding: 20px 0 10px 5px;
}

.system-configuration.open-modal-link {
    font-size: 12px;
    /*margin-left: 10px;*/
}

.system-configuration .node-selector {
    text-align: center;
}

.system-configuration .sub-callout {
    padding: 4px;
    margin-top: 6px;
    margin-bottom: 6px;
    text-align: center;
}

.system-configuration.btn-no-border {
    border-color: transparent;
    /*padding: 2px 5px;*/
}

.system-configuration.btn-no-border:hover {
    border-color: #ccc;
}

.component .system-configuration h3 {
    padding-left: 0;
}

.system-configuration.error-message {
    color: #d9534f;
    margin-top: 4px;
    margin-bottom: 4px;
    font-weight: bold;
    display: block;
}


.flw-license .flw-card.narrow {
    margin: auto;
    width: 25%;
}

.json-editor-audit-log .jsoneditor {
    min-height: 0;
    background-color: rgb(255,255,255);
    border: none;
    padding-bottom: 30px
}

.flw-mapping {
    padding: 10px 5px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.flw-diagram {
    display: flex;
    height: 100%;
    min-height: 300px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flw-diagram:hover > .flw-diagram_toolbar  {
    opacity: 1;
}

.flw-diagram_toolbar {
    display: flex;
    flex: 0 0 30px;
    flex-direction: column;
    height: 100%;
    background-color: #f5f5f6;
    color: #fff;
    opacity: 0.4;
    transition: opacity 0.2s ease-in-out;
}

.flw-diagram_icon {
    width: 3em;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    cursor: pointer;
}

.flw-diagram_icon > i {
    font-size: 1.3em;
    color: #9a9c9e;
}

.flw-diagram_icon:hover > i {
    opacity: 0.4;
    transition: opacity 0.2s ease-in-out;
}

.flw-diagram_icon--disabled {
    opacity: 0.4;
}

.full-height {
    max-height: 100%;
}

.draggable-diagram {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.draggable-diagram > svg {
    cursor: pointer;
    position: relative;
}

/* Health Dashboard */

.health-dashboard,
.agent-dashboard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.health-dashboard__header,
.agent-dashboard__header {
    flex-shrink: 0;
    padding: 0 15px;
}

.health-dashboard__body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.health-status-cards,
.agent-kpi-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 15px;
}

.health-status-card {
    flex: 1 1 150px;
    min-width: 140px;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    border-left: 4px solid #ccc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.health-status-card.status-green {
    border-left-color: #55ae4d;
}

.health-status-card.status-amber {
    border-left-color: #f39c12;
}

.health-status-card.status-red {
    border-left-color: #e74c3c;
}

.health-status-card.status-grey {
    border-left-color: #bdc3c7;
    opacity: 0.7;
}

.health-status-card__label,
.agent-kpi-card__label,
.agent-dashboard__filter-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7a7a;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.health-status-card__value {
    font-size: 28px;
    font-weight: 600;
    color: #384042;
    line-height: 1.2;
}

.health-status-card__value-suffix,
.agent-kpi-card__value-suffix {
    font-size: 13px;
    font-weight: 400;
    color: #6b7a7a;
    margin-left: 4px;
}

.health-status-card__verdict {
    font-size: 12px;
    color: #6b7a7a;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.health-status-card--clickable {
    cursor: pointer;
}

.health-status-card--clickable:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.health-activity-card {
    flex: 1 1 150px;
    min-width: 140px;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.health-advice-item__link {
    margin-left: 8px;
    font-size: 12px;
    color: #3498db;
    text-decoration: none;
}

.health-advice-item__link:hover {
    text-decoration: underline;
}

.health-refresh-icon {
    margin-left: 12px;
    font-size: 16px;
    cursor: pointer;
    color: #6b7a7a;
    transition: color 0.2s;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}

.health-refresh-icon:hover {
    color: #384042;
}

.health-refresh-icon.spin {
    animation: health-spin 1s linear infinite;
}

@keyframes health-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.health-live-btn {
    margin-left: 12px;
    padding: 2px 10px;
    border: 1px solid #c9d2d2;
    border-radius: 12px;
    background: #fff;
    color: #6b7a7a;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    vertical-align: middle;
}

.health-live-btn:hover {
    border-color: #6b7a7a;
}

.health-live-btn__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9d2d2;
    transition: background 0.2s;
}

.health-live-btn--active {
    border-color: #55ae4d;
    color: #384042;
}

.health-live-btn--active .health-live-btn__dot {
    background: #55ae4d;
    animation: health-live-pulse 2s ease-in-out infinite;
}

@keyframes health-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.health-last-updated {
    font-size: 12px;
    color: #6b7a7a;
    margin-left: 12px;
}

/* Health Dashboard - Node Panels */

.health-node-panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 0 15px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.health-node-panel--unavailable {
    opacity: 0.7;
}

.health-node-panel__header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.health-node-panel__header:hover {
    background-color: #f8f9fa;
}

.health-node-panel__chevron {
    font-size: 11px;
    color: #6b7a7a;
    margin-right: 8px;
}

.health-node-panel__name {
    font-size: 14px;
    font-weight: 600;
    color: #384042;
}

.health-node-panel__timestamp {
    margin-left: auto;
    font-size: 12px;
    color: #6b7a7a;
}

.health-node-throughput {
    padding: 4px 16px 4px 36px;
    font-size: 12px;
    color: #6b7a7a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.health-node-throughput__separator {
    color: #a0b0b0;
}

/* Throughput summary histogram */
.health-throughput-histogram {
    padding: 8px 16px;
}

.health-throughput-histogram__title {
    font-size: 12px;
    color: #6b7a7a;
    font-weight: 500;
    margin-bottom: 6px;
}

.health-throughput-histogram__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.health-throughput-histogram__label {
    font-size: 12px;
    color: #384042;
    min-width: 120px;
    flex-shrink: 0;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.health-throughput-histogram__bar-track {
    flex: 1;
    height: 14px;
    background: #eef2f2;
    border-radius: 3px;
    overflow: hidden;
}

.health-throughput-histogram__bar-fill {
    height: 100%;
    background: #4a9f7e;
    border-radius: 3px;
    min-width: 2px;
    transition: width 0.3s ease;
}

.health-throughput-histogram__pct {
    font-size: 12px;
    color: #6b7a7a;
    min-width: 32px;
    text-align: right;
}

/* Throughput summary table */
.health-throughput-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
    margin-top: 4px;
}

.health-throughput-table th {
    text-align: left;
    padding: 4px 16px;
    color: #6b7a7a;
    font-weight: 500;
    border-bottom: 1px solid #e8ecec;
}

.health-throughput-table td {
    padding: 4px 16px;
    color: #384042;
}

.health-throughput-table tbody tr:hover {
    background: #f6f8f8;
}

.health-executor-list {
    padding: 4px 0;
}

.health-executor-row {
    display: flex;
    align-items: center;
    padding: 6px 16px;
}

.health-executor-row__history-toggle {
    margin-left: auto;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7a7a;
    cursor: pointer;
    white-space: nowrap;
}

.health-executor-row__history-toggle:hover {
    color: #384042;
}

.health-executor-row__history-toggle .glyphicon {
    font-size: 10px;
}

.health-executor-row__name {
    font-weight: 500;
    font-size: 13px;
    color: #384042;
    min-width: 140px;
    flex-shrink: 0;
}

.health-executor-row__bars {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.health-executor-row__bar-label {
    font-size: 11px;
    color: #8e9fa0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.health-executor-row__bar-label + .health-executor-row__bar {
    margin-left: -2px;
}

.health-executor-row__bar {
    height: 8px;
    background: #eef2f2;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.health-executor-row__bar--threads {
    width: 80px;
}

.health-executor-row__bar--queue {
    width: 220px;
}

.health-executor-row__bar-fill {
    height: 100%;
    border-radius: 3px;
    min-width: 2px;
    transition: width 0.3s ease;
}

.health-executor-row__bar-fill.status-green {
    background: #4a9f7e;
}

.health-executor-row__bar-fill.status-amber {
    background: #f39c12;
}

.health-executor-row__bar-fill.status-red {
    background: #e74c3c;
}

.health-executor-row__bar-pct {
    font-size: 12px;
    color: #6b7a7a;
    min-width: 90px;
    white-space: nowrap;
}

.health-executor-row__bar-pct--threads {
    margin-right: 8px;
}

.health-executor-history {
    padding: 4px 16px 10px 16px;
    margin: 0 16px 6px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.health-executor-history__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11px;
    color: #8e9fa0;
    margin-bottom: 4px;
    width: 100%;
    max-width: 420px;
}

.health-executor-history__title {
    font-weight: 500;
}

.health-executor-history__stats {
    display: flex;
    gap: 12px;
    color: #6b7a7a;
}

.health-executor-history__chart {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 28px;
    width: 100%;
    max-width: 420px;
    padding: 2px;
    border-radius: 3px;
}

.health-executor-history__bar {
    flex: 1;
    min-width: 3px;
    min-height: 1px;
    border-radius: 1px 1px 0 0;
    background: #eef2f2;
}

.health-executor-history__bar.status-green {
    background: #4a9f7e;
}

.health-executor-history__bar.status-amber {
    background: #f39c12;
}

.health-executor-history__bar.status-red {
    background: #e74c3c;
}

.health-executor-history__placeholder {
    font-size: 11px;
    color: #8e9fa0;
    font-style: italic;
    padding: 8px 0;
}

.health-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.health-status-dot.status-green {
    background-color: #55ae4d;
}

.health-status-dot.status-amber {
    background-color: #f39c12;
}

.health-status-dot.status-red {
    background-color: #e74c3c;
}

.health-status-dot.status-grey {
    background-color: #bdc3c7;
}

.health-status-dot.status-idle {
    background-color: #fff;
    border: 2px solid #55ae4d;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
}

.health-status-dot.status-busy {
    background-color: #55ae4d;
}

.health-status-dot.status-queue-elevated {
    background-color: #f39c12;
}

.health-status-dot.status-queue-sustained {
    background-color: #e74c3c;
}

.health-node-panel__empty {
    padding: 16px;
    font-size: 13px;
    color: #6b7a7a;
    font-style: italic;
}

.health-other-toggle {
    cursor: pointer;
    padding: 8px 16px;
    font-size: 12px;
    color: #2674aa;
}

.health-other-toggle:hover {
    background-color: #f8f9fa;
}

/* Legend tooltip */
.health-legend-trigger {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    cursor: pointer;
    color: #6b7a7a;
    font-size: 14px;
}

.health-legend-trigger:hover {
    color: #384042;
}

.health-legend-tooltip {
    position: absolute;
    top: 22px;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 100;
    white-space: nowrap;
}

.health-legend-item {
    display: flex;
    align-items: center;
    padding: 3px 0;
    font-size: 12px;
    color: #384042;
}

/* Summary Banner */
.health-summary-banner {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 0 15px 12px;
    border-left: 4px solid #ccc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.health-summary-banner.status-green {
    border-left-color: #55ae4d;
}

.health-summary-banner.status-amber {
    border-left-color: #f39c12;
}

.health-summary-banner.status-red {
    border-left-color: #e74c3c;
}

.health-summary-banner.status-grey {
    border-left-color: #bdc3c7;
}

.health-summary-banner__top {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.health-summary-banner__chevron {
    font-size: 12px;
    margin-right: 6px;
    color: #6b7a7a;
}

.health-summary-banner__count {
    font-size: 13px;
    color: #6b7a7a;
    margin-left: 6px;
}

.health-summary-banner__message {
    font-size: 14px;
    font-weight: 600;
    color: #384042;
}

.health-summary-banner__advice {
    margin-top: 8px;
    padding-top: 8px;
}

.health-ai-button {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f8f9fa;
    border: 1px solid #d0d5d8;
    border-radius: 4px;
    font-size: 13px;
    color: #384042;
    cursor: pointer;
}

.health-ai-button:hover {
    background: #eef0f2;
}

.health-ai-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Advice Items */
.health-advice-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 4px;
    background: #fff;
    border-left: 3px solid #ccc;
    border-radius: 2px;
    font-size: 13px;
    color: #384042;
    box-shadow:
            0 1px 2px rgba(0, 0, 0, 0.06),   /* bottom */
            0 -1px 2px rgba(0, 0, 0, 0.06);  /* top */
}

.health-advice-item .glyphicon {
    margin-top: 2px;
}

.health-advice-item.severity-amber {
    border-left-color: #f39c12;
}

.health-advice-item.severity-amber .glyphicon {
    color: #f39c12;
}

.health-advice-item.severity-red {
    border-left-color: #e74c3c;
}

.health-advice-item.severity-red .glyphicon {
    color: #e74c3c;
}

.health-advice-item__message {
    flex: 1;
}

.health-dashboard .flw-header-detail__details-title,
.agent-dashboard .flw-header-detail__details-title {
    margin-bottom: 10px;
    align-items: center;
}

.health-dashboard .flw-report-details__header__row {
    margin-bottom: 10px;
}

.health-dashboard .flw-report-details__header__row__column {
    min-width: 200px;
}

.health-dashboard__filter-select {
    min-width: 150px;
}

.health-dashboard__tenant-input {
    width: 200px;
}

.health-dashboard__section {
    margin-top: 12px;
}

.health-dashboard__section--tight {
    margin-top: 10px;
}

.health-dashboard__section-header {
    margin: 0 15px 8px;
}

.health-dashboard__section-header--inline {
    display: flex;
    align-items: center;
}

.health-dashboard__section-title {
    font-size: 14px;
    font-weight: 600;
    color: #384042;
}

.health-node-panel--summary {
    margin-bottom: 8px;
}

/* ----------------------------------------------------------------------------
 * Agent analytics dashboard
 * ---------------------------------------------------------------------------- */

/* `.agent-dashboard`, `.agent-dashboard__header` and
   `.agent-dashboard .flw-header-detail__details-title` are merged with their
   `.health-dashboard` counterparts higher up in this file. */

.agent-dashboard__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 20px;
}

/* Filter strip */
.agent-dashboard__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    padding: 12px 0;
}

.agent-dashboard__filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

/* `.agent-dashboard__filter-label` styles are merged with
   `.health-status-card__label` higher up in this file. */

/* Refresh icon, live button, and "last updated" label reuse the existing
   `.health-refresh-icon` / `.health-live-btn` / `.health-last-updated` classes
   from the Health Summary dashboard — single source of truth for that look. */

/* KPI cards — `.agent-kpi-cards` container styles are merged with
   `.health-status-cards` higher up in this file. */

.agent-kpi-card {
    flex: 1 1 180px;
    min-width: 160px;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    border-left: 4px solid #4e79a7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.agent-kpi-card.accent-tokens     { border-left-color: #4e79a7; }
.agent-kpi-card.accent-tools      { border-left-color: #b07aa1; }
.agent-kpi-card.accent-guardrails { border-left-color: #edc948; }
.agent-kpi-card.accent-violations { border-left-color: #e15759; }
.agent-kpi-card.accent-duration   { border-left-color: #76b7b2; }
.agent-kpi-card.accent-volume     { border-left-color: #59a14f; }

/* `.agent-kpi-card__label` styles are merged with `.health-status-card__label`
   higher up in this file. */

.agent-kpi-card__value {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.agent-kpi-card__sublabel {
    font-size: 12px;
    color: #6b7a7a;
    margin-top: 6px;
}

/* Chart panels */
.agent-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 12px;
    padding: 12px 15px 0;
}

.agent-chart-panel {
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.agent-chart-panel--wide {
    grid-column: 1 / -1;
}

.agent-chart-grid--two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .agent-chart-grid--two-col {
        grid-template-columns: 1fr;
    }
}

.agent-chart-panel__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.agent-chart-panel__body {
    flex: 1;
    position: relative;
    min-height: 0;
}

.agent-chart-panel__empty,
.agent-chart-panel__error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #79848f;
    font-size: 13px;
    text-align: center;
    padding: 24px;
}

.agent-chart-panel__error {
    color: #e15759;
}

/* Per-agent table */
.agent-dashboard__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.agent-dashboard__table th {
    text-align: left;
    font-weight: 600;
    color: #6b7a7a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 1px solid #eaeaea;
}

.agent-dashboard__table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f3f3;
    color: #3a4654;
}

.agent-dashboard__table tr:hover td {
    background: #fafafa;
}

/* Empty/disabled banner */
.agent-dashboard__banner {
    margin: 12px 15px 0;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-left: 4px solid #f28e2b;
    border-radius: 4px;
    font-size: 13px;
    color: #3a4654;
}

/* ===== License Info view ===== */
.license-tab-body { padding: 15px 0; }
.license-empty { padding: 30px; text-align: center; color: #888; }
.license-spinner { display: inline-block; margin-right: 8px; animation: health-spin 1s linear infinite; }
.license-select { min-width: 260px; }
.license-threshold { width: 90px; }
/* Header filter strip reuses the Agent Cost dashboard pattern (self-contained, wrapping groups with
   the label stacked above its control) so controls never overlap and label/input spacing is consistent. */
.license-filter-strip { padding-top: 0; }
/* Give the checkbox the same 30px control band as the sibling selects/inputs so the group height matches
   (aligning the label with the rest) and the checkbox centers on the input row. */
.license-filter-group--check .license-check-control { height: 30px; display: flex; align-items: center; }
.license-filter-group--check input[type="checkbox"] { margin: 0; }

.license-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
/* Every card cell (a direct .license-card, or an ng-include wrapper holding one) grows evenly but is
   capped so a lone card (e.g. Distinct users, Non-root RCPI) doesn't stretch across the whole row. */
.license-grid > * { flex: 1 1 220px; max-width: 320px; }
.license-card { width: 100%; box-sizing: border-box; border: 1px solid #e2e6ea; border-radius: 6px; padding: 14px 16px; background: #fff; }
.license-card__label { font-size: 12px; color: #6b7683; text-transform: uppercase; letter-spacing: .04em; }
.license-card__value { font-size: 26px; font-weight: 600; margin: 4px 0; }
.license-card__value-suffix { font-size: 14px; font-weight: 400; color: #6b7683; }
.license-card__info { font-size: 11px; color: #8a94a0; }

/* progress bar (meter) */
.license-meter { margin-top: 8px; }
.license-meter__track { position: relative; height: 8px; background: #eef1f4; border-radius: 4px; overflow: visible; }
.license-meter__fill { height: 100%; border-radius: 4px; }
.license-meter__marker { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #b6bcc4; }
.license-meter__pct { font-size: 11px; color: #6b7683; margin-top: 4px; }
.license-delta--up { color: #ef4444; }
.license-delta--down { color: #10b981; }

/* status colors (mirror Health Dashboard) */
.status-compliant { color: #10b981; }
.status-approaching { color: #f59e0b; }
.status-over { color: #ef4444; }
.license-fill-compliant { background: #10b981; }
.license-fill-approaching { background: #f59e0b; }
.license-fill-over { background: #ef4444; }

/* verdict banner */
.license-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-left: 4px solid #ccc; border-radius: 4px; margin-bottom: 16px; background: #f5f7f9; }
.license-banner--compliant { border-left-color: #10b981; background: #ecfdf5; }
.license-banner--approaching { border-left-color: #f59e0b; background: #fffbeb; }
.license-banner--over { border-left-color: #ef4444; background: #fef2f2; }
.license-banner__dot { width: 10px; height: 10px; border-radius: 50%; }
.license-banner__title { font-weight: 600; }
.license-banner--expiry .license-banner__title { font-weight: 400; }
.license-banner__sub { color: #6b7683; font-size: 12px; }
.license-delta { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; }
.license-delta .glyphicon { font-size: 9px; top: 0; }
.license-card__delta { font-size: 11px; color: #6b7683; margin-top: 4px; }

/* state chip */
.license-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 1px 8px; border-radius: 10px; border: 1px solid transparent; }
.license-chip--compliant { background: #ecfdf5; color: #047857; border-color: rgba(5,150,105,.2); }
.license-chip--approaching { background: #fffbeb; color: #b45309; border-color: rgba(217,119,6,.2); }
.license-chip--over { background: #fef2f2; color: #b91c1c; border-color: rgba(220,38,38,.2); }
.license-chip__dot { width: 6px; height: 6px; border-radius: 50%; }
.license-chip--informational { background: #f1f5f9; color: #64748b; }

/* utilization CSS bars */
.license-util__row { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.license-util__label { width: 160px; font-size: 12px; color: #4b5563; }
.license-util__track { position: relative; flex: 1; height: 14px; background: #eef1f4; border-radius: 3px; }
.license-util__fill { height: 100%; border-radius: 3px; }
.license-util__ref { position: absolute; top: -2px; bottom: -2px; width: 1px; }
.license-util__ref--80 { background: #f59e0b; }
.license-util__ref--100 { background: #ef4444; }
.license-util__pct { width: 48px; text-align: right; font-size: 12px; }

/* section + chart card */
/* Each section is a white panel with breathing room, matching the Agent Cost dashboard's
   .agent-chart-panel look (white card, padding, subtle shadow, gap between panels). */
.license-section {
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
}
.license-section__title { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 12px; }
.license-chart { width: 100%; height: 300px; }

/* tables */
.license-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.license-table th, .license-table td { padding: 6px 10px; border-bottom: 1px solid #eef1f4; font-size: 13px; text-align: left; }
.license-table th { color: #6b7683; font-weight: 600; }
/* Detail tables use Control's ui-grid at a fixed height so long lists scroll inside the grid
   instead of growing the whole page. */
.license-grid-table { height: 340px; }
.license-section .grid-wrapper { padding: 0; margin-top: 10px; }
.license-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.license-filters input, .license-filters select { height: 30px; }
.license-filters label { font-weight: 400; font-size: 12px; color: #6b7683; margin: 0; align-self: center; }
.license-filters .license-select { min-width: 200px; }

/* node health */
.license-node { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.license-node__dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }

/* limit tiles */
.license-tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.license-tile { border: 1px solid #e2e6ea; border-radius: 6px; padding: 10px 14px; min-width: 140px; }
.license-tile__label { font-size: 11px; color: #6b7683; }
.license-tile__value { font-size: 20px; font-weight: 600; }
