﻿/* LAYOUT */

.rappid * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.paper-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

.rappid.readonly .paper-container {
	bottom: 0;
}

.inspector-container {
	position: absolute;
	top: 6px;
	right: 24px;
	width: 240px;
	background: #ecf0f8;
	border-radius: 5px;
	border: 1px solid #d3dae6;
	overflow: auto;
	box-sizing: border-box;
	max-height: calc(100% - 200px);
}

	.inspector-container:empty {
		display: none;
	}

	.inspector-container * {
		box-sizing: border-box;
	}

.rappid.readonly .inspector-container {
	display: none;
}

.navigator-container {
	position: absolute;
	right: 24px;
	bottom: 30px;
	width: 240px;
	height: 120px;
	background: #fff;
}

.stencil-container {
	position: absolute;
	left: 0;
	bottom: 30px;
	height: 91px;
	border: 1px solid #c1c9d8;
	border-radius: 5px;
	overflow: hidden;
}

.rappid.readonly .stencil-container {
	display: none;
}

.toolbar-container {
	position: absolute;
	left: 10px;
	top: 10px;
}

/* TOOLBAR */
.joint-toolbar .joint-widget {
	color: #6b6c89;
}

	.joint-toolbar .joint-widget + .joint-widget {
		margin-left: 5px;
	}

.joint-toolbar.joint-theme-bpmn button {
	width: 29px;
	height: 29px;
	margin: 0;
	border: 1px solid #6c6c89;
	font-weight: bold;
	font-size: 12px;
	cursor: pointer;
	display: block;
	float: left;
	outline: none;
	padding: 0;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #fff;
	border-radius: 29px;
	position: relative;
}

	.joint-toolbar.joint-theme-bpmn button[data-type="undo"] {
		background-image: url(rappid/icon-undo.svg);
		background-size: 14px 16px;
	}

	.joint-toolbar.joint-theme-bpmn button[data-type="redo"] {
		background-image: url(rappid/icon-redo.svg);
		background-size: 14px 16px;
	}

	.joint-toolbar.joint-theme-bpmn button[data-type="zoomIn"] {
		background-image: url(rappid/icon-zoom-in.svg);
		background-size: 20px 20px;
	}

	.joint-toolbar.joint-theme-bpmn button[data-type="zoomOut"] {
		background-image: url(rappid/icon-zoom-out.svg);
		background-size: 20px 20px;
	}

	.joint-toolbar.joint-theme-bpmn button[data-type="zoomToFit"] {
		background-image: url(rappid/icon-zoom-fit.svg);
		background-size: 20px 20px;
	}

	.joint-toolbar.joint-theme-bpmn button[data-name="save"] {
		background-image: url(rappid/icon-save.svg);
		background-size: 17px 17px;
	}

	.joint-toolbar.joint-theme-bpmn button[data-name="unsaved"] {
		background-image: url(rappid/icon-unsaved.svg);
		background-size: 17px 17px;
		background-color: #ea0606;
		animation: pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
	}

	.joint-toolbar.joint-theme-bpmn button[data-name="layout"] {
		background-image: url(rappid/icon-auto-layout-map.svg);
		background-size: 17px 17px;
	}

	.joint-widget[data-type=zoomSlider] output, .joint-widget[data-type=range] output {
		min-width: 2.0em;
	}

@-webkit-keyframes pulse {
	0% {
		background-color: transparent;
	}

	50% {
		background-color: #ea0606;
	}

	100% {
		background-color: transparent;
	}
}

@keyframes pulse {
	0% {
		background-color: transparent;
	}

	50% {
		background-color: #ea0606;
	}

	100% {
		background-color: transparent;
	}
}


.joint-toolbar.joint-theme-bpmn button[data-name="print"] {
	background-image: url(rappid/icon-print.svg);
	background-size: 19px 19px;
}

.joint-toolbar.joint-theme-bpmn button[data-name="clear"] {
	background-image: url(rappid/icon-trash.svg);
	background-size: 17px 19px;
}

.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] {
	width: 154px;
	height: 29px;
	border: 1px solid #6c6c89;
	border-radius: 31px;
	padding: 0 10px;
	background: #fff;
}

	.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] output {
		padding-top: 0;
		color: #6b6c89;
		min-width: 2em;
	}

	.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range] {
		width: 100%;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		padding: 0;
		border: 0;
		background: transparent;
		outline: 0;
	}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-webkit-slider-runnable-track {
			width: 100%;
			height: 3px;
			background: #adb0c6;
		}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-moz-range-track {
			width: 100%;
			height: 3px;
			background: #adb0c6;
		}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-moz-range-thumb {
			height: 12px;
			width: 12px;
			border-radius: 12px;
			background: #3075ee;
			border: 0;
		}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-webkit-slider-thumb {
			-webkit-appearance: none;
			width: 12px;
			height: 12px;
			background: #3075ee;
			border-radius: 12px;
			margin-top: -5px;
		}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-ms-track {
			background: 0 0;
			border-color: transparent;
			color: transparent;
		}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-ms-thumb {
			margin-top: 0;
			width: 12px;
			height: 12px;
			background: #3075ee;
			border-radius: 12px;
		}

		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-ms-fill-lower,
		.joint-toolbar.joint-theme-bpmn div[data-type="zoomSlider"] input[type=range]::-ms-fill-upper {
			width: 100%;
			height: 3px;
			background: #adb0c6;
		}

/* PAPER */

.joint-paper-scroller.joint-theme-bpmn {
	width: 100%;
	height: 100%;
}

	.joint-paper-scroller.joint-theme-bpmn .joint-paper {
		border: 2px solid #8f9baa;
		background: url(rappid/bpmn-bg.svg) no-repeat;
	}

/* STENCIL */

.joint-stencil.joint-theme-bpmn {
	box-sizing: border-box;
	position: relative;
}

.joint-stencil > .content {
	background: #ecf0f8;
	position: relative;
}

.joint-stencil.joint-theme-bpmn .elements {
	background: none;
}

.stencil-paper-drag {
	z-index: 50000;
}

	.stencil-paper-drag.dragging {
		position: absolute;
	}

.joint-stencil.joint-theme-bpmn .elements .joint-type-bpmn-group .body,
.joint-stencil.joint-theme-bpmn .elements .joint-type-bpmn-pool .body {
	pointer-events: visiblePainted;
}

.joint-stencil.joint-theme-bpmn .elements text, .stencil-paper-drag .joint-element text {
	display: none;
}

.fobj div {
	font-size: 14px;
	white-space: pre-line;
}

/* INSPECTOR */

.joint-inspector.joint-theme-bpmn {
	position: relative;
	background: transparent;
}

	.joint-inspector.joint-theme-bpmn .group {
		padding: 0;
	}

		.joint-inspector.joint-theme-bpmn .group > .group-label {
			font-size: 14px;
			font-weight: 500;
			background: #d1d8e3;
			height: 30px;
			line-height: 30px;
			color: #797c90;
			padding: 0 0 0 36px;
			margin-bottom: 10px;
			text-transform: uppercase;
		}

		.joint-inspector.joint-theme-bpmn .group.closed > .group-label {
			margin: 0;
		}

		.joint-inspector.joint-theme-bpmn .group > .group-label:before {
			position: absolute;
			left: 10px;
			top: 6px;
			display: block;
			width: 19px;
			height: 19px;
			background-color: transparent;
			background-position: 0 0;
			background-repeat: no-repeat;
			border: none;
			content: "";
			margin: 0;
			padding: 0;
			background-image: url(rappid/group-icon-opened.svg);
		}

		.joint-inspector.joint-theme-bpmn .group.closed > .group-label:before {
			background-image: url(rappid/group-icon-closed.svg);
		}


	.joint-inspector.joint-theme-bpmn .list {
		margin-top: -26px;
		margin-bottom: 10px;
	}

	.joint-inspector.joint-theme-bpmn .list-item {
		border: none;
		box-shadow: none;
		border-radius: 5px;
		position: relative;
		padding: 5px 32px 5px 5px;
		background: #d1d8e3;
		margin-bottom: 10px;
	}

	.joint-inspector.joint-theme-bpmn .field {
		padding: 0;
	}

	.joint-inspector.joint-theme-bpmn .group > .field {
		padding: 0px 12px 6px;
	}

	.joint-inspector.joint-theme-bpmn .object-property[data-property=sublanes] > .field {
		margin-top: 10px;
	}

	.joint-inspector.joint-theme-bpmn .btn-list-add {
		position: relative;
		left: 70px;
		outline: 0;
		width: 37px;
		padding: 0;
		font-size: 0;
		overflow: hidden;
		white-space: nowrap;
	}

		.joint-inspector.joint-theme-bpmn .btn-list-add:before {
			content: "";
			display: inline-block;
			width: 100%;
			height: 100%;
			background: url(images/_effector_webfont_svg_ext/e896_plus-circled.svg) no-repeat center center;
			background-size: 16px;
		}

	.joint-inspector.joint-theme-bpmn .btn-list-del {
		background: none;
		color: #ff3600;
		width: 19px;
		font-size: 0;
		padding: 0;
		overflow: hidden;
		white-space: nowrap;
	}

		.joint-inspector.joint-theme-bpmn .btn-list-del:before {
			content: "";
			display: inline-block;
			width: 100%;
			height: 100%;
			background: url(images/_effector_webfont_svg_ext/e8bc_trashcan-v6.svg) no-repeat center center;
			background-size: 16px;
		}

	.joint-inspector.joint-theme-bpmn label {
		font-size: 13px;
		letter-spacing: 0.1px;
		color: #797c90;
		margin: 3px 0;
		font-weight: normal;
		display: inline-block;
	}

		.joint-inspector.joint-theme-bpmn label + * {
			margin: 3px 0;
			word-break: break-all;
		}

	.joint-inspector.joint-theme-bpmn .list-item label + * {
		margin: 0;
	}

	.joint-inspector.joint-theme-bpmn input,
	.joint-inspector.joint-theme-bpmn .toggle,
	.joint-inspector.joint-theme-bpmn select,
	.joint-inspector.joint-theme-bpmn .list-item .btn-list-del {
		float: right;
	}

		.joint-inspector.joint-theme-bpmn select::-ms-expand {
			visibility: hidden;
		}

	.joint-inspector.joint-theme-bpmn .toggle {
		height: 20px;
		width: 40px;
		padding: 0;
		margin: 2px 0;
	}

		.joint-inspector.joint-theme-bpmn .toggle span {
			box-shadow: none;
			background: #c0c7d4;
			border-radius: 10px;
		}

			.joint-inspector.joint-theme-bpmn .toggle span i {
				background: #fff;
				width: 14px;
				height: 14px;
				border-radius: 8px;
				right: 22px;
				top: 3px;
			}

		.joint-inspector.joint-theme-bpmn .toggle input:checked + span {
			background: #3d9bf6;
		}

.joint-inspector .toggle input:checked + span i {
	right: 4px;
}

.joint-inspector.joint-theme-bpmn input,
.joint-inspector.joint-theme-bpmn textarea {
	text-shadow: none;
	border: 1px solid #bac3d0;
	border-radius: 5px;
	padding: 1px 12px;
	color: #797c90;
	background: #fff;
	font-size: 14px;
}

.joint-inspector.joint-theme-bpmn input {
	line-height: 24px;
	height: 24px;
}

	.joint-inspector.joint-theme-bpmn input:focus,
	.joint-inspector.joint-theme-bpmn textarea:focus {
		box-shadow: none;
		outline: none;
	}

	.joint-inspector.joint-theme-bpmn input[type=text] {
		width: 100%;
		float: none;
	}

	.joint-inspector.joint-theme-bpmn input[type=range] {
		width: 100%;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.joint-inspector.joint-theme-bpmn input[type=color] {
		width: 107px;
		min-width: 107px;
		background: #d1d8e3;
		border-radius: 4px;
		border: 0;
		margin: 0;
		padding: 6px 5px;
	}

	.joint-inspector.joint-theme-bpmn input[type="color"]::-webkit-color-swatch-wrapper {
		padding: 0;
	}

.joint-inspector.joint-theme-bpmn textarea {
	width: 100%;
	min-height: 100px;
	resize: none;
	overflow: auto;
	padding: 6px 12px;
}

	.joint-inspector.joint-theme-bpmn textarea.readonly {
		width: 100%;
		min-height: 100px;
		resize: none;
		overflow: auto;
		padding: 6px 12px;
		background: transparent;
		cursor: default;
	}

.joint-inspector.joint-theme-bpmn .list-item .btn-list-del {
	margin: 5px;
	position: absolute;
	top: 0;
	right: 0;
	outline: 0;
}

.joint-inspector.joint-theme-bpmn output {
	color: #4452b8;
	padding: 0;
	font-size: 13px;
}

.joint-inspector .subprocess-select {
	border: 1px solid #bac3d0;
	border-radius: 5px;
	overflow: hidden;
	padding: 0 22px 0 12px;
	line-height: 22px;
	color: #797c90;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: #fff;
	cursor: pointer;
	position: relative;
}

	.joint-inspector .subprocess-select.readonly {
		background: transparent;
		padding: 0 12px;
		cursor: default;
	}

	.joint-inspector .subprocess-select .efi-more-control {
		font-size: 22px;
		position: absolute;
		top: 0;
		right: 8px;
	}
/* SELECTION */

.joint-selection.joint-theme-bpmn .selection-box {
	border: 2px solid #2980b9;
	padding-right: 12px;
	padding-bottom: 12px;
	margin-top: -8px;
	margin-left: -8px;
	border-radius: 6px;
	background-color: rgba(0,0,0,0.1);
}

/* Hiding selection-wrapper with selection halo tools for this application. */
.joint-selection.joint-theme-bpmn .selection-wrapper {
	display: none;
}

.joint-selection.lasso.joint-theme-bpmn {
	background-color: #3498DB;
	border: 2px solid #2980B9;
}

/* TOOLTIPS */

.joint-tooltip.joint-theme-bpmn {
	background: #2ca49a;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-shadow: none !important;
}

.joint-tooltip .tooltip-content {
	padding: 7px 10px;
}

.joint-tooltip.joint-theme-bpmn.bottom .tooltip-arrow-mask {
	border-top-color: #2ca49a;
}

.joint-tooltip.joint-theme-bpmn.top .tooltip-arrow-mask {
	border-bottom-color: #2ca49a;
}

/* FREETRANSFORM */

.joint-free-transform {
	padding: 0 2px 2px 0;
	margin: -1px 0 0 -1px;
	border: 1px dashed #000;
}

	.joint-free-transform > div,
	.joint-free-transform > div:hover,
	.joint-free-transform.in-operation > div {
		background: #3498db;
	}

/* HALO */

.joint-halo {
	padding: 5px;
	margin: -5px;
}

	.joint-halo.joint-theme-default .handle.eff-remove {
		background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO5JREFUeNrUV9sNwyAMtLoAI3SEjJIRMgqjdBRG8CiMQGnlVHwEOBAE19L9OdwRGz+IcNsibISLCBk48dlooB0RXCDNgeXbbntWbovCyVlNtkf4AeQnvJwJ//IwCQdy8zAZeynm/gYBPpcT7gbyNDGb4/4CnyOLb1M+MED+MVPxZfEhQASnFQ4hp4qIlJxAEd+KaQGlpiIC8bmCRZOvRNBL/kvGltp+RdRLfqK5wZhCITMdjaury5lB5OFBCuxvQjAtCZc/w+WFaHkpXt6MVLTj5QOJipFs+VCqYixXsZioWM1GLaf7yK45ZT1/CzAAESidXQn9F/MAAAAASUVORK5CYII=');
	}

.joint-paper.joint-theme-bpmn .surrounding .box {
	background: #fcfcfc;
	border: 1px solid #3498db;
	color: #333;
	word-wrap: break-word;
}

/* CORE */

.joint-paper.joint-theme-bpmn .joint-highlight-stroke {
	outline: 4px double #3498db;
}

.joint-paper.joint-theme-bpmn .joint-link .marker-arrowhead,
.joint-paper.joint-theme-bpmn .joint-link .marker-vertex {
	fill: #2c88c5;
}

.joint-paper.joint-theme-bpmn .joint-link .tool-remove circle {
	fill: #000;
}

.joint-paper.joint-theme-bpmn .joint-link .tool-remove > path {
	fill: white;
}

.joint-paper.joint-theme-bpmn .connection-wrap:hover {
	opacity: .4;
	stroke-opacity: .4;
}

.joint-paper.joint-theme-bpmn .connection-wrap {
	fill: none;
	stroke: #000;
	stroke-width: 15;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
	cursor: move;
}

.joint-paper.joint-theme-bpmn .marker-vertex-remove {
	fill: #fff;
}

.link-tools {
	opacity: 0;
	cursor: pointer;
}

.rappid .link-tools {
	display: block;
}

.rappid.readonly .link-tools,
.rappid.readonly .connection-wrap,
.rappid.readonly .marker-arrowheads {
	display: none;
}

.joint-link:hover .link-tools, .joint-link:hover .marker-arrowheads, .joint-link:hover .marker-vertices {
	opacity: 1;
}

/* hide flow's arrowhead at source */
.marker-arrowhead-group-source {
	display: none;
}

.joint-type-bpmn .blackbox-label {
	display: none;
}

.select-box-selection,
.joint-select-box, .select-box-option {
	box-sizing: border-box;
}

.select-box-selection {
	padding: 1px 40px 1px 12px;
	background-image: url(images/_effector_webfont_svg_ext/e832_down-open.svg);
	background-position: right 10px center;
	background-repeat: no-repeat;
	background-size: 12px;
}

.select-box-option {
	padding: 2px 12px;
}

	.select-box-option:hover {
		background: #eeeeee;
	}

	.select-box-option.selected {
		background: #60b3da;
		color: #fff;
	}

.select-box-option, .select-box-selection {
	color: #797c90;
	background-color: #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.select-box-selection,
.joint-select-box-options {
	border: 1px solid #bac3d0;
	border-radius: 5px;
	overflow: hidden;
}

.joint-inspector-select-box-options {
	width: calc(100% - 24px);
	margin-left: -1px;
	margin-top: -1px;
	max-height: 200px;
	overflow: auto;
}

.joint-inspector.joint-theme-bpmn .field.color-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.joint-inspector.joint-theme-bpmn .group.closed .field.color-field {
	display: none;
}

.joint-inspector.joint-theme-bpmn button {
	background: #1875f0;
	border: 0;
	color: #fff;
	border-radius: 5px;
	height: 24px;
	font-size: 14px;
	font-weight: bold;
	line-height: 24px;
	padding: 0 12px;
}

.joint-navigator .current-view {
	border: 2px solid #6bacf0;
}

.joint-navigator > .joint-paper {
	background: #fff;
}

.joint-inspector input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 3px;
	background: #adb0c6;
}

.joint-inspector input[type=range]::-moz-range-track {
	width: 100%;
	height: 3px;
	background: #adb0c6;
}

.joint-inspector input[type=range]::-moz-range-thumb {
	height: 12px;
	width: 12px;
	border-radius: 12px;
	background: #3075ee;
	border: 0;
}

.joint-inspector input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	background: #3075ee;
	border-radius: 12px;
	margin-top: -5px;
}

.joint-inspector input[type=range]::-ms-track {
	background: 0 0;
	border-color: transparent;
	color: transparent;
}

.joint-inspector input[type=range]::-ms-thumb {
	margin-top: 0;
	width: 12px;
	height: 12px;
	background: #3075ee;
	border-radius: 12px;
}

.joint-inspector input[type=range]::-ms-fill-lower, .joint-inspector input[type=range]::-ms-fill-upper {
	width: 100%;
	height: 3px;
	background: #adb0c6;
}

.paper-container .joint-type-bpmn-event .body,
.paper-container .joint-type-bpmn-annotation .stroke,
.paper-container .joint-type-effector-gateway .body,
.paper-container .joint-type-bpmn-pool .body,
.paper-container .joint-type-bpmn-pool .header,
.paper-container .joint-type-bpmn-pool .lane-body,
.paper-container .joint-type-bpmn-pool .lane-header,
.paper-container .joint-type-bpmn-dataobject .body,
.paper-container .joint-type-bpmn-message .body,
.paper-container .joint-type-bpmn-group .body,
.paper-container .joint-type-bpmn-group .label-rect,
.paper-container .joint-type-effector-activity .body,
.paper-container .joint-type-effector-activity .sub-process,
.paper-container .joint-type-effector-flow .connection,
.paper-container .joint-type-effector-flow .marker-target {
	stroke: #525671;
}

.paper-container .joint-type-effector-flow .marker-target {
	fill: #525671;
}

	.paper-container .joint-type-bpmn-event .body.done,
	.paper-container .joint-type-effector-gateway .body.done,
	.paper-container .joint-type-effector-activity .body.done,
	.paper-container .joint-type-effector-flow .connection.done,
	.paper-container .joint-type-effector-flow .marker-target.done {
		stroke: #1875f0;
		stroke: #00e290;
		stroke-width: 2px;
	}

	.paper-container .joint-type-effector-flow .marker-target.done {
		fill: #1875f0;
		fill: #00e290;
	}


	.paper-container .joint-type-bpmn-event .body.open,
	.paper-container .joint-type-effector-gateway .body.open,
	.paper-container .joint-type-effector-activity .body.open,
	.paper-container .joint-type-effector-flow .connection.open,
	.paper-container .joint-type-effector-flow .marker-target.open {
		stroke: #1875f0;
		stroke: #ee722f;
		stroke-width: 2px;
	}

	.paper-container .joint-type-effector-flow .marker-target.open {
		fill: #1875f0;
		fill: #ee722f;
	}


.stencil-container .joint-type-bpmn-event .body,
.stencil-container .joint-type-bpmn-annotation .stroke,
.stencil-container .joint-type-effector-gateway .body,
.stencil-container .joint-type-bpmn-pool .body,
.stencil-container .joint-type-bpmn-pool .header,
.stencil-container .joint-type-bpmn-dataobject .body,
.stencil-container .joint-type-bpmn-message .body,
.stencil-container .joint-type-bpmn-group .body,
.stencil-container .joint-type-bpmn-group .label-rect,
.stencil-container .joint-type-effector-activity .body {
	stroke: #8f9baa;
	stroke-width: 1px;
}

.stencil-container .joint-type-bpmn-event:hover .body,
.stencil-container .joint-type-bpmn-annotation:hover .stroke,
.stencil-container .joint-type-effector-gateway:hover .body,
.stencil-container .joint-type-bpmn-pool:hover .body,
.stencil-container .joint-type-bpmn-pool:hover .header,
.stencil-container .joint-type-bpmn-dataobject:hover .body,
.stencil-container .joint-type-bpmn-message:hover .body,
.stencil-container .joint-type-bpmn-group:hover .body,
.stencil-container .joint-type-bpmn-group:hover .label-rect,
.stencil-container .joint-type-effector-activity:hover .body {
	stroke: #5b697d;
}

.stencil-container .joint-type-bpmn-pool .header {
	fill: #c3c9e2;
}

@media print {
	body: before {
		font-size: 6mm;
	}

	.joint-halo, .joint-free-transform {
		display: none !important;
	}
}

/* Hide "empty" paths as firefox returns a huge bounding box for them. */
@-moz-document url-prefix() {
	.joint-theme-bpmn .joint-link .marker-source[d="M 0 0"], .joint-theme-bpmn .joint-link .marker-target[d="M 0 0"] {
		display: none;
	}
}

/* FlashMessage */
.joint-flash-message .fg {
	top: 0;
	max-width: 30%;
	min-width: 300px;
	right: auto;
	left: 10px;
}

.joint-flash-message .titlebar {
	border-radius: 0;
	border-bottom: 0;
}

.joint-flash-message.joint-theme-bpmn .fg {
	border-radius: 5px;
	background-color: #7c68fc;
}

.joint-flash-message.joint-theme-bpmn .titlebar {
	padding: 5px;
	padding-right: 25px;
}

.joint-flash-message.joint-theme-bpmn .body {
	color: white;
}

.joint-flash-message.joint-theme-bpmn[data-type="alert"] .fg {
	background-color: #ea0606;
}

.joint-flash-message.joint-theme-bpmn[data-type="warning"] .fg {
	background-color: #feb663;
}

.joint-flash-message.joint-theme-bpmn[data-type="success"] .fg {
	background-color: #31d0c6;
}

.joint-flash-message.joint-theme-bpmn[data-type="neutral"] .fg {
	background-color: #efefef;
}

.joint-flash-message.joint-theme-bpmn[data-type="neutral"] .body {
	color: #696c8a;
	text-shadow: none;
}

.joint-dialog.joint-theme-bpmn .btn-close {
	background-color: transparent;
	border: 1px solid transparent;
	font-size: 24px;
	font-family: Arial, sans-serif;
	border-radius: 4px;
	color: white;
	font-weight: bold;
}

	.joint-dialog.joint-theme-bpmn .btn-close:hover {
		border: 1px solid #000;
	}

/* FlashMessage END */
