.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 {
	display: inline-block;
	overflow: visible;
	margin-top: 10px;
	margin-right: 10px;
	vertical-align: middle;
}

.cbCanvasScroller {
	padding: 10px;
	overflow-x: auto;
	background: #F0EBCE;
}

.cbCanvasContainer {
	margin-bottom: 10px;
}

.cbCanvasLabel {
	font-weight: bold;
}

.cbWrap > .cbCanvasFrame {
	margin-right: 0px;
	display: block;
}

.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;
}

.cbModalHeader {
	height: 10%;
}

.cbContainer {
	top: 0px;
	left: 0px;
	position: absolute;
	height: auto;
	width: 100%;
	z-index: 1050;
}

.cbDlgBackground {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.25;
}

.cbDlg {
	min-width: 600px;
	max-width: 90%;
	width: fit-content;
}

.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;	
}

