.dlgCloseButton {
	float: right;
}

/* Custom-blocks Drawer Editor */
.cbHiddenText, .cbDrawerHiddenText {
	display: none;
}

.cbStrikethrough {
	text-decoration: line-through;
}

.cbGreyText {
	color: #d3d3d3;
}

.cbEditModalLink {
	float:right;
	cursor: pointer;
}

.cbIndentedText {
	padding-left: 15px;
}

/* Custom-blocks Block Editor */
.cbCanvas {
	position: relative;	
	display: inline-block;
	min-width: 300px;
	min-height: 50px;
}

.cbCanvasFrame {
	flex: 1 1 0;
	min-width: 0;
	overflow: visible;
	margin-top: 10px;
}

.cbCanvasScroller {
	padding: 10px;
	overflow-x: auto;
	background: #F0EBCE;
}

.cbDlgSection {
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

.cbCanvasContainer {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.cbCanvasLabel {
	font-weight: bold;
}

.cbWrap {
	flex-direction: column;
}

.cbModeSwitchButton {
	float: right;
}

.cbCanvas .sbEditableLabel {
	pointer-events: none;
	background-color: lightGrey;
}

#cb-destination-canvas .sbLabel {
	font: medium -moz-fixed;
	font: -webkit-small-control;
}

#cb-destination-canvas .sbBlockLine {
	position: relative;
}

#cb-drop-element {
	position: absolute;
	height: 35px;
	width: 2px;
	background-color: rgb(0, 153, 255);
	box-shadow: rgba(255, 255, 255) 0px 0px 5px 3px;
	border: 1px solid black;	
}

.cbEditableContentBox {
	-moz-appearance: textfield-multiline;
	-webkit-appearance: textarea;
	border: 1px solid gray;
}

#cb-destination-canvas .sbSocket * {
	pointer-events: none;
}

.cbHidden {
	display: none !important;
}

.cbDlg .close {
	margin: 0;
	padding: 0 4px;
	font-size: 22px;
	line-height: 1;
	color: #374151;
	opacity: 0.6;
	cursor: pointer;
	background: none;
	border: none;
}

.cbDlg .close:hover {
	opacity: 1;
}

.cbContainer {
	top: 0px;
	left: 0px;
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cbDlgBackground {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.25;
}

.cbDlg {
	position: relative;
	min-width: 600px;
	max-width: 90%;
	max-height: calc(100vh - 64px);
	width: fit-content;
	margin: 0;
}

.cbDlg .modal-content {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.cbDlg .modal-header {
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
}

.cbDlg .modal-header .modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #111827;
}

.cbDlg .modal-body {
	padding: 16px 20px;
	overflow-y: auto;
}

.cbDlg .modal-footer {
	display: flex;
	justify-content: space-between;
	padding: 12px 20px;
	border-top: 1px solid #e5e7eb;
}

.cbDlg .btn {
	height: 34px;
	padding: 0 16px;
	border-radius: 7px;
	border: none;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.cbDlg .btn-primary {
	background: #669934;
	color: #fff;
}

.cbDlg .btn-danger {
	background: #e5e7eb;
	color: #1f2937;
}

.cbBlockDivider {
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: 2px solid grey;
}

.cbDragLayer {
	position: absolute;
	z-index: 2000;
	top: 0px;
}

.cbSocketOverlay {
	position: absolute;
	border-radius: 4px;
	border: black 2px solid;
}

.cbDraggableSocket {
	position: absolute;
	background-color: rgba(255, 255, 100, .5);
	border-radius: 4px;
	cursor: grab;
}

.cbDraggableSocket:hover {
	z-index: 1051;
}

.cbDraggableSocket > .cbSocketNumberSpan {
	cursor: grab;
}

.cbDragging.cbDraggableSocket > .cbSocketNumberSpan {
	cursor: move ;
	cursor: -moz-grabbing;
	cursor: -webkit-grabbing;
	cursor: grabbing;
	background-color: rgba(50, 208, 255, 1);
}

.cbSocketNumberSpan {
	font-size: 10px;
	top: -8px;
	left: -5px;
	width: 20px;
	height: 20px;
	float: left;
	background-color: rgba(25, 104, 214, 1);
	color: 	white;
	border-radius: 20px;
	border: solid 2px rgb(26, 16, 17);
	text-align: center;
	position: absolute;
	cursor: default;
}

.cbDeleteNewLine {
	top: 5px !important;
	left: -12px !important;
	position: absolute !important;
	text-shadow: none;
}

.cbSocketNumberSpan.cbSocketRemoveSpan {
	background-color: red;
	cursor: pointer;
}

.cbSpanFadeAway {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: visibility 0s .1s, opacity .1s linear;
	-moz-transition: visibility 0s .1s, opacity .1s linear;
	-ms-transition: visibility 0s .1s, opacity .1s linear;
	-o-transition: visibility 0s .1s, opacity .1s linear;
}

.cbSpanFadeIn {
	visibility: visible;
	opacity: 1;
	-webkit-transition: visibility 0s .1s, opacity .1s linear;
	-moz-transition: visibility 0s .1s, opacity .1s linear;
	-ms-transition: visibility 0s .1s, opacity .1s linear;
	-o-transition: visibility 0s .1s, opacity .1s linear;
}

.cbYellowBorder {
	border-radius: 4px;
	border: rgba(255, 255, 0, 1) 2px solid;	
}

.cbDraggableSocketHighlight {
	background-color: rgba(255, 255, 0, 1);
}

.cbEditableContentBox {
	min-width: 1em;
}

.cbFormGroup {
	position: relative
}

.cbFormGroup > input {
	position: absolute;
	left: 125px;
	width: 400px;
}

.cbSeparator {
	clear: both;
	height: 1px;	
}

