@set borderRadius 5px;
@set borderRadiusUp 5px 5px 0 0;
@set borderRadiusDown 0 0 5px 5px;
@set borderRadiusLeft 5px 0 0 5px;
@set borderRadiusRight 0 5px 5px 0;


/* Colors */
@set lightFontColor #222;
@set darkFontColor #fff;
@set accentColor #2196f3;
@set accentBright #38a1f4;
@set accentDark #0367B4;

@set alternateColor #ff7f00;
@set alternateBright #FFB918;
@set alternateDark #F9AD00;

@set contrastFontColor #fff;

@set paleBgColor #f2f8ff;

@set innerBorderColor #eee;

@set dragColor #d4e7f6;

@set iconCircle #b2b2b2;

@set orderCircle #bbb;

@set rowBorder #e0e0e0;

@set foldedColor #eee;

:host {
	all: initial; 
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
	font-size: 13px;
	color: #777;
	input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select, textarea {
		box-shadow: 0 0 0 transparent;
		border-radius: 4px;
		border: 1px solid #8c8f94;
		background-color: $(darkFontColor);
		color: #2c3338;
		&:focus, &:focus-visible {
			border-color: #2271b1;
			box-shadow: 0 0 0 1px #2271b1;
			outline: 2px solid transparent;
		}
	}
	input.disabled, input:disabled, select.disabled, select:disabled, textarea.disabled, textarea:disabled {
		background: rgba(255,255,255,.5);
		border-color: rgba(220,220,222,.75);
		-webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 4%);
		box-shadow: inset 0 1px 2px rgb(0 0 0 / 4%);
		color: rgba(44,51,56,.5);
	}
	button, input, select, textarea {
		font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
	}
	.button, .button-primary, .button-secondary {
		display: inline-block;
		text-decoration: none;
		font-size: 13px;
		line-height: 2.15384615;
		min-height: 30px;
		margin: 0;
		padding: 0 10px;
		cursor: pointer;
		border-width: 1px;
		border-style: solid;
		-webkit-appearance: none;
		border-radius: $(borderRadius);
		white-space: nowrap;
		box-sizing: border-box;
	}
	.button, .button-secondary {
		color: #2271b1;
		border-color: #2271b1;
		background: #f6f7f7;
		vertical-align: top;
	}
	#bt_bb_fe_dialog_content_wrapper {
		transition: none;
	}
}

/* Dialog */
@import url("../dialog.css");

/* Controls */
@import url("../controls.css"); 


/* Color picker */

.wp-color-picker {
	width: 80px;
	direction: ltr
}

.wp-picker-container .hidden {
	display: none
}

.wp-picker-container .wp-color-result.button {
	min-height: 30px;
	margin: 0 6px 6px 0;
	padding: 0 0 0 30px;
	font-size: 1em
}

.wp-color-result-text {
	background: #f6f7f7;
	border-radius: 0 2px 2px 0;
	border-left: 1px solid #c3c4c7;
	color: #50575e;
	display: block;
	line-height: 2.54545455;
	padding: 0 6px;
	text-align: center
}

.wp-color-result:focus,
.wp-color-result:hover {
	background: #f6f7f7;
	border-color: #8c8f94;
	color: #1d2327
}

.wp-color-result:focus:after,
.wp-color-result:hover:after {
	color: #1d2327;
	border-color: #a7aaad;
	border-left: 1px solid #8c8f94
}

.wp-picker-container {
	display: inline-block
}

.wp-color-result:focus {
	border-color: #4f94d4;
	box-shadow: 0 0 3px rgba(34, 113, 177, .8)
}

.wp-color-result:active {
	transform: none !important
}

.wp-picker-open+.wp-picker-input-wrap {
	display: inline-block;
	vertical-align: top
}

.wp-picker-input-wrap label {
	display: inline-block;
	vertical-align: top
}

.wp-picker-input-wrap .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.form-table .wp-picker-input-wrap label {
	margin: 0 !important
}

.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
.wp-picker-input-wrap .button.wp-picker-clear,
.wp-picker-input-wrap .button.wp-picker-default {
	margin-left: 6px;
	padding: 0 8px;
	line-height: 2.54545455;
	min-height: 30px
}

.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
	background-color: #50575e
}

.wp-picker-container .iris-picker {
	border-radius: 0;
	border-color: #dcdcde;
	margin-top: 6px
}

.wp-picker-container input[type=text].wp-color-picker {
	width: 4rem;
	font-size: 12px;
	font-family: monospace;
	line-height: 2.33333333;
	margin: 0;
	padding: 0 5px;
	vertical-align: top;
	min-height: 30px;
	max-width: 135px;
}

.wp-color-picker::-webkit-input-placeholder {
	color: #646970
}

.wp-color-picker::-moz-placeholder {
	color: #646970;
	opacity: 1
}

.wp-color-picker:-ms-input-placeholder {
	color: #646970
}

.wp-picker-container input[type=text].iris-error {
	background-color: #fcf0f1;
	border-color: #d63638;
	color: #000
}

.iris-picker .iris-strip .ui-slider-handle:focus,
.iris-picker .ui-square-handle:focus {
	border-color: #3582c4;
	border-style: solid;
	box-shadow: 0 0 0 1px #3582c4;
	outline: 2px solid transparent
}

.iris-picker .iris-palette:focus {
	box-shadow: 0 0 0 2px #3582c4
}

@media screen and (max-width:782px) {
	.wp-picker-container input[type=text].wp-color-picker {
		width: 5rem;
		font-size: 16px;
		line-height: 1.875;
		min-height: 32px
	}

	.wp-customizer .wp-picker-container input[type=text].wp-color-picker {
		padding: 0 5px
	}

	.wp-picker-input-wrap .button.wp-picker-clear,
	.wp-picker-input-wrap .button.wp-picker-default {
		padding: 0 8px;
		line-height: 2.14285714;
		min-height: 32px
	}

	.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,
	.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
		padding: 0 8px;
		font-size: 14px;
		line-height: 2.14285714;
		min-height: 32px
	}

	.wp-picker-container .wp-color-result.button {
		padding: 0 0 0 40px;
		font-size: 14px;
		line-height: 2.14285714
	}

	.wp-customizer .wp-picker-container .wp-color-result.button {
		font-size: 14px;
		line-height: 2.14285714
	}

	.wp-picker-container .wp-color-result-text {
		padding: 0 14px;
		font-size: inherit;
		line-height: inherit
	}

	.wp-customizer .wp-picker-container .wp-color-result-text {
		padding: 0 10px
	}
}

/**
 * This is for convenience of developing only. The minified result should go into
 * the _css var in iris.js. Run grunt cssmin to generate.
 */
 
.iris-picker {
	display: block;
	position: relative;
}
.iris-picker, .iris-picker * {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
input + .iris-picker {
	margin-top: 4px;
}
.iris-error {
	background-color: #ffafaf;
}
.iris-border {
	border-radius: $(borderRadius);
	border: 1px solid #aaa;
	width: 200px;
	background-color: $(darkFontColor);
}
.iris-picker-inner {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}
.iris-border .iris-picker-inner {
	top: 10px;
	right: 10px;
	left: 10px;
	bottom: 10px;
}
.iris-picker .iris-square-inner {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.iris-picker .iris-square,
.iris-picker .iris-slider,
.iris-picker .iris-square-inner,
.iris-picker .iris-palette {
	border-radius: $(borderRadius);
	box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
	height: 100%;
	width: 12.5%;
	float: left;
	margin-right: 5%;
}
.iris-only-strip .iris-slider {
	width: 100%;
}
.iris-picker .iris-square {
	width: 76%;
	margin-right: 10%;
	position: relative;
}
.iris-only-strip .iris-square {
	display: none;
}
.iris-picker .iris-square-inner {
	width: auto;
	margin: 0;
}
.iris-ie-9 .iris-square,
.iris-ie-9 .iris-slider,
.iris-ie-9 .iris-square-inner,
.iris-ie-9 .iris-palette {
	box-shadow: none;
	border-radius: 0;
}
.iris-ie-9 .iris-square,
.iris-ie-9 .iris-slider,
.iris-ie-9 .iris-palette {
	outline: 1px solid rgba(0,0,0,.1);
}
.iris-ie-lt9 .iris-square,
.iris-ie-lt9 .iris-slider,
.iris-ie-lt9 .iris-square-inner,
.iris-ie-lt9 .iris-palette {
	outline: 1px solid #aaa;
}

.iris-ie-lt9 .iris-square .ui-slider-handle {
	outline: 1px solid #aaa;
	background-color: $(darkFontColor);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}
.iris-ie-lt9 .iris-square .iris-square-handle {
	background: none;
	border: 3px solid $(darkFontColor);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
.iris-picker .iris-strip {
	margin-right: 0;
	position: relative;
}
.iris-picker .iris-strip .ui-slider-handle {
	position: absolute;
	background: none;
	margin: 0;
	right: -3px;
	left:  -3px;
	border: 4px solid #aaa;
	border-width: 4px 3px;
	width: auto;
	height: 6px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	opacity: .9;
	z-index: 5;
	cursor: ns-resize;
}
.iris-strip-horiz .iris-strip .ui-slider-handle {
	right: auto;
	left: auto;
	bottom: -3px;
	top: -3px;
	height: auto;
	width: 6px;
	cursor: ew-resize;
}
.iris-strip .ui-slider-handle:before {
	content: " ";
	position:absolute;
	left:   -2px;
	right:  -2px;
	top:    -3px;
	bottom: -3px;
	border:  2px solid #fff;
	border-radius: $(borderRadius);
}
.iris-picker .iris-slider-offset {
	position: absolute;
	top: 11px;
	left: 0;
	right: 0;
	bottom: -3px;
	width: auto;
	height: auto;
	background: transparent;
	border: none;
	border-radius: 0;
}
.iris-strip-horiz .iris-slider-offset {
	top: 0;
	bottom: 0;
	right: 11px;
	left: -3px;
}
.iris-picker .iris-square-handle {
	background: transparent;
	border: 5px solid #aaa;
	border-radius: 50%;
	border-color: rgba(128,128,128,.5);
	box-shadow:none;
	width:  12px;
	height: 12px;
	position: absolute;
	left: -10px;
	top:  -10px;
	cursor: move;
	opacity: 1;
	z-index: 10;
}
.iris-picker .ui-state-focus .iris-square-handle {
	opacity: .8;
}
.iris-picker .iris-square-handle:hover {
	border-color: #999;
}
.iris-picker .iris-square-value:focus .iris-square-handle {
	box-shadow: 0 0 2px rgba(0,0,0,.75);
	opacity: .8;
}
.iris-picker .iris-square-handle:hover::after {
	border-color: $(darkFontColor);
}
.iris-picker .iris-square-handle::after {
	position: absolute;
	bottom: -4px;
	right:  -4px;
	left:   -4px;
	top:    -4px;
	border: 3px solid #f9f9f9;
	border-color: rgba(255,255,255,.8);
	border-radius: 50%;
	content: " ";
}
.iris-picker .iris-square-value {
	width:  8px;
	height: 8px;
	position: absolute;
}
.iris-ie-lt9 .iris-square-value, .iris-mozilla .iris-square-value {
	width: 1px;
	height: 1px;
}
/* Palettes*/
.iris-palette-container {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0;
}
.iris-border .iris-palette-container {
	left: 10px;
	bottom: 10px;
}
.iris-picker .iris-palette {
	margin: 0;
	cursor: pointer;
}
.iris-square-handle,.ui-slider-handle {
	border: 0;
	outline: 0;
}

.bt_bb_fe_dd_element.bt_bb_dialog_item:before {
	margin-top: 0;
}