﻿
/* Code Effects Business Rules Editor | Common Styles | CodeEffects.com/support | 7.0.26 */

div.ceMenu div {
	font-size: 95%;
}

span.ceEmpty {
	font-style: italic;
}

td.ceDays {
	font-size: 90%;
}

table.ceCal {
	width: 0 !important;
}

	table.ceCal table, table.ceTime table {
		box-shadow: none;
	}

span.ceFlow, span.ceAction, span.ceMethod, span.ceField, span.ceValue, span.ceFieldInput, table.ceHeader, span.ceBrace {
	font-weight: 300;
}

span.ceUndo {
	margin-left: 2px;
	cursor: pointer;
}

span.ceFlow, span.ceClause, span.ceOperator, span.ceParenthesis, span.ceNewLine, span.ceBrace, span.ceAction, span.ceMethod, span.ceField, span.ceEmpty, span.ceUndo, span.ceValue, span.ceFieldInput, span.ceTab, span.ceNewLine, span.ceWarn, span.ceCurrent {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none
}

div.ceRule {
	padding: 0 10px;
}

table.ceCal td.ceCal, table.ceTime td.ceTime {
	padding: 16px;
}

td.ceDay, td.ceToday, td.ceRollover, td.ceDays, td.ceSelected {
	padding: 4px
}

span.ceFlow, span.ceClause, span.ceOperator, span.ceParenthesis, span.ceNewLine, span.ceBrace, span.ceAction, span.ceMethod, span.ceField, span.ceEmpty, span.ceValue, span.ceFieldInput, span.ceTab, span.ceNewLine, span.ceWarn, span.ceCurrent, input[type="text"].ceValue {
	margin-bottom: 1px;
	margin-right: 1px
}

dev.ceMenu div, div.ceRule span, table.ceCal table, table.ceCal table td, table.ceTime table, table.ceTime table td {
	border: 0;
}

span.ceFlow, span.ceField, span.ceAction, span.ceMethod, span.ceValue, span.ceFieldInput, span.ceClause, span.ceOperator, span.ceUndo, span.ceParenthesis, span.ceTab, span.ceNewLine, span.ceBrace, span.ceCurrent, table.ceHeader, td.ceToday, td.ceRollover, td.ceSelected {
	border-radius: 4px
}

table.ceCal, table.ceTime, div.ceHelp {
	border-radius: 6px;
}

td.ceDay, td.ceToday, td.ceRollover, td.ceDays, td.ceSelected {
	text-align: center
}

table.ceCal table td, table.ceTime table td {
	vertical-align: middle
}

td.ceDay, td.ceToday, td.ceRollover, td.ceDays, td.ceSelected, div.ceToolBar, span.ceFlow, span.ceField, span.ceAction, span.ceMethod, span.ceClause, span.ceOperator, span.ceParenthesis, span.ceTab, span.ceNewLine, span.ceValue, span.ceFieldInput, div.ceHelp, span.ceBrace {
	cursor: default
}

input[type="text"].ceValue, input[type="text"].ceValue:hover, input[type="text"].ceValue:focus, input[type="text"].ceValue:active {
	margin: 0 !important;
	padding: 0 0 2px !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
}

	input[type="text"].ceValue::-ms-clear {
		display: none
	}

div.ceHelp {
	font-size: 90%;
	font-style: italic;
	padding: 6px 12px;
	margin-bottom: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

div.ceMenu {
	position: absolute;
	padding: 10px;
	overflow: auto;
	border-radius: 9px;
}

	div.ceMenu div {
		margin: 0;
		padding: 6px 10px;
		cursor: default;
		white-space: nowrap;
		max-width: 400px;
		overflow: hidden;
		text-overflow: ellipsis;
		border-radius: 6px;
	}

		div.ceMenu div.ceMenuItemSymbol, div.ceMenu div.ceMenuItemName {
			float: left;
			padding-left: 3px;
			padding-right: 3px
		}

		div.ceMenu div.ceMenuItemSymbol {
			font-weight: bold
		}

		div.ceMenu div.ceMenuItemClear {
			clear: both
		}

div.ceRule {
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

div.ceToolBar {
	width: 100%;
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

div.cePromptContainer {
	padding: 20px 40px;
	border-radius: 16px;
	width: auto;
	border: solid 1px transparent;
}

	div.cePromptContainer div.cePromptButtons {
		margin-top: 20px;
		text-align: right;
	}

	div.cePromptContainer input.cePromptCancel {
		margin-right: 10px;
	}

	div.cePromptContainer input.cePromptSave, div.cePromptContainer input.cePromptCancel {
		cursor: default;
		padding: 6px 10px;
		border-radius: 5px;
		width: auto;
		font-size: 100%;
	}

	div.cePromptContainer textarea.cePromptInput {
		padding: 12px;
		border-radius: 8px;
		font-size: 100%;
		width: 560px;
		height: 330px;
	}

table.ceTime table td, td.ceCalTime {
	display: flex;
	align-items: center;
	width: auto;
}

td.ceCalTime {
	padding: 0 12px 10px;
}

table.ceTime table td, td.ceCalTime {
	gap: 4px;
}

	table.ceTime input[type=button], td.ceCalTime input[type=button] {
		margin-left: 8px;
	}

	.ceSave, .ceDelete, .ceRulesMenu, table.ceTime input[type=button], table.ceTime select, td.ceCalTime input[type=button], td.ceCalTime select {
		cursor: default;
		padding: 6px 10px;
		border-radius: 5px;
		width: auto;
	}

.ceSave, .ceDelete, .ceRulesMenu {
	font-size: 92%;
}

div.ceInputName, div.ceInputDesc {
	width: 100% !important;
}

.ceNameBox, .ceDescriptionBox, .ceNameBoxDefault, .ceDescriptionBoxDefault {
	padding: 6px 10px;
	border-radius: 5px;
	font-size: 96%;
	box-sizing: border-box;
}

@media (min-width: 301px) {
	span.ceFlow, span.ceClause, span.ceOperator, span.ceParenthesis, span.ceNewLine, span.ceBrace, span.ceAction, span.ceMethod, span.ceField, span.ceEmpty, span.ceUndo, span.ceValue, span.ceFieldInput, span.ceTab, span.ceWarn, span.ceCurrent, input[type="text"].ceValue, table.ceTime input[type=button], table.ceTime select, table.ceCal table td, table.ceHeader table td, td.ceCalTime input[type=button], td.ceCalTime select, div.ceMenu div {
		font-size: 96%;
	}

	div.cePromptContainer{
		padding:10px 16px;
	}

		div.cePromptContainer div.cePromptButtons {
			margin-top: 10px;
		}

	div.cePromptContainer textarea.cePromptInput {
		width: 240px;
		height: 140px;
	}

	.ceNameBox, .ceDescriptionBox, .ceNameBoxDefault, .ceDescriptionBoxDefault {
		width: calc(100% - 4px) !important;
	}

	.ceRulesMenu {
		margin-right: 4px;
	}

	.ceDelete {
		margin-left: 4px;
	}
}

@media (min-width: 1001px) {
	span.ceFlow, span.ceClause, span.ceOperator, span.ceParenthesis, span.ceNewLine, span.ceBrace, span.ceAction, span.ceMethod, span.ceField, span.ceUndo, span.ceEmpty, span.ceValue, span.ceFieldInput, span.ceTab, span.ceWarn, span.ceCurrent, input[type="text"].ceValue, table.ceTime input, table.ceTime select, td.ceCalTime input[type=button], td.ceCalTime select, table.ceCal table td, table.ceHeader table td, div.ceMenu div {
		font-size: 98%
	}

	div.cePromptContainer textarea.cePromptInput {
		width: 400px;
		height: 200px;
	}

	.ceNameBox, .ceDescriptionBox, .ceNameBoxDefault, .ceDescriptionBoxDefault {
		width: calc(100% - 6px) !important;
	}

	.ceRulesMenu {
		margin-right: 6px;
	}

	.ceDelete {
		margin-left: 6px;
	}

	div.cePromptContainer {
		padding: 14px 28px;
	}

		div.cePromptContainer div.cePromptButtons {
			margin-top: 14px;
		}
}

@media (min-width: 1601px) {
	span.ceFlow, span.ceClause, span.ceOperator, span.ceParenthesis, span.ceNewLine, span.ceBrace, span.ceAction, span.ceMethod, span.ceField, span.ceUndo, span.ceEmpty, span.ceValue, span.ceFieldInput, span.ceTab, span.ceWarn, span.ceCurrent, input[type="text"].ceValue, table.ceTime input[type=button], table.ceTime select, table.ceCal table td, table.ceHeader table td {
		font-size: 106%
	}

	div.cePromptContainer textarea.cePromptInput {
		width: 560px;
		height: 300px;
	}

	.ceNameBox, .ceDescriptionBox, .ceNameBoxDefault, .ceDescriptionBoxDefault {
		width: calc(100% - 8px) !important;
	}

	.ceRulesMenu {
		margin-right: 8px;
	}

	.ceDelete {
		margin-left: 8px;
	}
}

div.ceDatePicker, div.ceTimePicker {
	box-sizing: border-box;
	padding: 10px;
	border-radius: 10px;
	font-size: 95%;
	line-height: 1.3;
	cursor: default;
	-webkit-user-select: none;
	user-select: none;
}

	div.ceDatePicker *, div.ceTimePicker * {
		box-sizing: border-box;
	}

div.ceDatePicker {
	width: 268px;
}

.ceDatePicker .ceCalendarHeader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.ceDatePicker .ceCalendarNavGroup {
	display: flex;
	gap: 2px;
}

.ceDatePicker .ceCalendar {
	margin: 0;
}

.ceDatePicker .ceCalendarLabel {
	font-size: inherit;
	font-weight: 600;
}

.ceDatePicker .ceCalendarNav {
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 118%;
	line-height: 1;
	cursor: pointer;
}

.ceDatePicker .ceCalendarWeekdays, .ceDatePicker .ceCalendarDays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.ceDatePicker .ceCalendarWeekdays {
	margin: 0 0 2px;
}

.ceDatePicker .ceCalendarWeekdays span {
	padding: 4px 0;
	text-align: center;
	font-size: 85%;
}

.ceDatePicker .ceCalendarDay {
	display: block;
	height: 28px;
	font-size: inherit;
	line-height: 28px;
	text-align: center;
	border-radius: 6px;
	cursor: pointer;
}

.ceDatePicker .ceCalendarDayEmpty {
	cursor: default;
}

.ceDatePicker .ceCalendarDayToday {
	font-weight: 600;
}

.cePickerBody {
	display: flex;
	justify-content: center;
}

.ceDatePicker .cePickerBody {
	margin-top: 10px;
	padding-top: 10px;
}

.cePickerTime {
	display: flex;
	align-items: center;
	gap: 4px;
}

.cePickerUnit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cePickerStep {
	width: 40px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 89%;
	line-height: 1;
	cursor: pointer;
}

.cePickerNum {
	width: 40px;
	height: 32px;
	padding: 0;
	border-radius: 6px;
	font: inherit;
	font-size: 118%;
	text-align: center;
	outline: none;
}

.cePickerColon {
	font-size: 118%;
	font-weight: 600;
}

.cePickerUnitLetter {
	font-weight: 600;
	margin: 0 6px 0 2px;
}

.cePickerNum.cePickerNumWide {
	width: 56px;
}

.cePickerActions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 10px;
}

.cePickerButton {
	min-width: 64px;
	height: 30px;
	padding: 0 12px;
	border-radius: 6px;
	font: inherit;
	cursor: pointer;
}

.cePickerAmPm {
	min-width: 0;
	width: 46px;
	margin-left: 4px;
	padding: 0;
	height: 32px;
	text-align: center;
}

div.ceDatePicker.ceOffsetPicker {
	display: flex;
	align-items: stretch;
	gap: 12px;
	width: auto;
}

.ceOffsetMain {
	width: 248px;
	flex: none;
}

.ceOffsetPanel {
	position: relative;
	width: 172px;
	flex: none;
}

.ceOffsetPanelInner {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	padding-left: 12px;
}

.ceOffsetHeading {
	margin: 2px 0 8px;
	font-weight: 600;
}

.ceOffsetQuickRow {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
}

.ceOffsetQuick {
	flex: 1 1 auto;
	min-width: 0;
	height: 28px;
	padding: 0 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ceOffsetList {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	margin: 0 -4px;
	padding: 0 4px;
	outline: none;
}

.ceOffsetItem {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	height: 28px;
	padding: 0 8px;
	line-height: 28px;
	border-radius: 6px;
	cursor: pointer;
	font-variant-numeric: tabular-nums;
}

.ceOffsetNote {
	font-size: 85%;
}

.ceOffsetResult {
	margin-top: 10px;
	font-size: 89%;
	text-align: center;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	word-break: break-all;
}

div.ceValueInput {
	box-sizing: border-box;
	border-radius: 10px;
	font-size: 95%;
	line-height: 1.3;
	cursor: default;
}

div.ceValueList {
	min-width: 140px;
	max-width: 420px;
	max-height: 320px;
	overflow-y: auto;
	padding: 4px;
}

	div.ceValueList .ceValueOption {
		padding: 5px 10px;
		border-radius: 6px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		cursor: pointer;
	}

	div.ceValueList .ceValueNone {
		font-style: italic;
	}

	div.ceValueList .ceValueOptionOn {
		font-weight: 600;
	}

div.ceValueBox {
	width: 280px;
	padding: 10px;
}

	div.ceValueBox .ceValueText {
		box-sizing: border-box;
		width: 100%;
		font: inherit;
		padding: 6px 8px;
		border-radius: 6px;
		outline: none;
	}

	div.ceValueBox textarea.ceValueText {
		height: 96px;
		resize: vertical;
	}

	div.ceValueBox .ceValueNote {
		min-height: 1.3em;
		margin: 4px 2px;
		font-size: 90%;
	}
