@import "ui-kit/variables";
@import "ui-kit/mixins";
@import "../../../../assets/sass/lock";

.cherry-ui-elements-lock{
	opacity: 0.5;
	cursor: no-drop;
	pointer-events: none;
	filter: grayscale( 100% );
}

.cherry-ui-iconpicker-group {
	position: relative;
	.full &{
		max-width: 100%;
	}
	.fixed &{
		max-width: 150px;
	}
	.input-group-addon {
		position: absolute;
		width: 20px;
		height: 20px;
		left: 0px;
		top: 0px;
		background: $grey_color_3;
		font-size: 14px;
		line-height: 20px;
		text-align: center;
		border-radius: 3px 0 0 3px;
		border-right: 1px solid #dddcdc;
		margin: 3px;

		.fa {
			line-height: 20px;
		}
	}
	.cherry-ui-text{
		@include input();
		padding: 0px 0px 0px 30px;
	}
}

.iconpicker-popover.popover {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	max-width: none;
	padding: 1px;
	text-align: left;
	width: 242px;
	background: #f0f0f0;
	z-index: 999;
}
.iconpicker-popover.popover.top,
.iconpicker-popover.popover.topLeftCorner,
.iconpicker-popover.popover.topLeft,
.iconpicker-popover.popover.topRight,
.iconpicker-popover.popover.topRightCorner {
	margin-top: -10px;
}
.iconpicker-popover.popover.right,
.iconpicker-popover.popover.rightTop,
.iconpicker-popover.popover.rightBottom {
	margin-left: 10px;
}
.iconpicker-popover.popover.bottom,
.iconpicker-popover.popover.bottomRightCorner,
.iconpicker-popover.popover.bottomRight,
.iconpicker-popover.popover.bottomLeft,
.iconpicker-popover.popover.bottomLeftCorner {
	margin-top: 10px;
}
.iconpicker-popover.popover.left,
.iconpicker-popover.popover.leftBottom,
.iconpicker-popover.popover.leftTop {
	margin-left: -10px;
}
.iconpicker-popover.popover.inline {
	margin: 0 0 14px 0;
	position: relative;
	display: inline-block;
	opacity: 1;
	top: auto;
	left: auto;
	bottom: auto;
	right: auto;
	max-width: 100%;
	box-shadow: none;
	z-index: auto;
	vertical-align: top;
}
.iconpicker-popover.popover.inline > .arrow {
	display: none;
}
.dropdown-menu .iconpicker-popover.inline {
	margin: 0;
	border: none;
}
.dropdown-menu.iconpicker-container {
	padding: 0;
}
.iconpicker-popover.popover .popover-title {
	padding: 14px;
	font-size: 14px;
	line-height: 16px;
	border-bottom: 1px solid #ebebeb;
	background-color: #f0f0f0;
}
.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search {
	margin: 0 0 2px 0;
}
.iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search {
	margin-top: 14px;
}
.iconpicker-popover.popover .popover-content {
	padding: 0px;
	text-align: center;
}
.iconpicker-popover .popover-footer {
	float: none;
	clear: both;
	padding: 14px;
	text-align: right;
	margin: 0;
	border-top: 1px solid #ebebeb;
	background-color: #f0f0f0;
}
.iconpicker-popover .popover-footer:before,
.iconpicker-popover .popover-footer:after {
	content: " ";
	display: table;
}
.iconpicker-popover .popover-footer:after {
	clear: both;
}
.iconpicker-popover .popover-footer .iconpicker-btn {
	margin-left: 10px;
}
.iconpicker-popover .popover-footer input[type=search].iconpicker-search {
	margin-bottom: 14px;
}
.iconpicker-popover.popover > .arrow,
.iconpicker-popover.popover > .arrow:after {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.iconpicker-popover.popover > .arrow {
	border-width: 11px;
}
.iconpicker-popover.popover > .arrow:after {
	border-width: 10px;
	content: "";
}
.iconpicker-popover.popover.top > .arrow,
.iconpicker-popover.popover.topLeft > .arrow,
.iconpicker-popover.popover.topRight > .arrow {
	left: 50%;
	margin-left: -11px;
	border-bottom-width: 0;
	border-top-color: #f0f0f0;
	bottom: -11px;
}
.iconpicker-popover.popover.top > .arrow:after,
.iconpicker-popover.popover.topLeft > .arrow:after,
.iconpicker-popover.popover.topRight > .arrow:after {
	content: " ";
	bottom: 1px;
	margin-left: -10px;
	border-bottom-width: 0;
	border-top-color: #ffffff;
}
.iconpicker-popover.popover.topLeft > .arrow {
	left: 14px;
	margin-left: 0;
}
.iconpicker-popover.popover.topRight > .arrow {
	left: auto;
	right: 14px;
	margin-left: 0;
}
.iconpicker-popover.popover.right > .arrow,
.iconpicker-popover.popover.rightTop > .arrow,
.iconpicker-popover.popover.rightBottom > .arrow {
	top: 50%;
	left: -11px;
	margin-top: -11px;
	border-left-width: 0;
	border-right-color: #f0f0f0;
}
.iconpicker-popover.popover.right > .arrow:after,
.iconpicker-popover.popover.rightTop > .arrow:after,
.iconpicker-popover.popover.rightBottom > .arrow:after {
	content: " ";
	left: 1px;
	bottom: -10px;
	border-left-width: 0;
	border-right-color: #ffffff;
}
.iconpicker-popover.popover.rightTop > .arrow {
	top: auto;
	bottom: 14px;
	margin-top: 0;
}
.iconpicker-popover.popover.rightBottom > .arrow {
	top: 14px;
	margin-top: 0;
}
.iconpicker-popover.popover.bottom > .arrow,
.iconpicker-popover.popover.bottomRight > .arrow,
.iconpicker-popover.popover.bottomLeft > .arrow {
	left: 50%;
	margin-left: -11px;
	border-top-width: 0;
	border-bottom-color: #f0f0f0;
	top: -11px;
}
.iconpicker-popover.popover.bottom > .arrow:after,
.iconpicker-popover.popover.bottomRight > .arrow:after,
.iconpicker-popover.popover.bottomLeft > .arrow:after {
	content: " ";
	top: 1px;
	margin-left: -10px;
	border-top-width: 0;
	border-bottom-color: #f0f0f0;
}
.iconpicker-popover.popover.bottomLeft > .arrow {
	left: 14px;
	margin-left: 0;
}
.iconpicker-popover.popover.bottomRight > .arrow {
	left: auto;
	right: 14px;
	margin-left: 0;
}
.iconpicker-popover.popover.left > .arrow,
.iconpicker-popover.popover.leftBottom > .arrow,
.iconpicker-popover.popover.leftTop > .arrow {
	top: 50%;
	right: -11px;
	margin-top: -11px;
	border-right-width: 0;
	border-left-color: #f0f0f0;
}
.iconpicker-popover.popover.left > .arrow:after,
.iconpicker-popover.popover.leftBottom > .arrow:after,
.iconpicker-popover.popover.leftTop > .arrow:after {
	content: " ";
	right: 1px;
	border-right-width: 0;
	border-left-color: #ffffff;
	bottom: -10px;
}
.iconpicker-popover.popover.leftBottom > .arrow {
	top: 14px;
	margin-top: 0;
}
.iconpicker-popover.popover.leftTop > .arrow {
	top: auto;
	bottom: 14px;
	margin-top: 0;
}
.iconpicker {
	position: relative;
	text-align: left;
	text-shadow: none;
	line-height: 0;
	display: block;
	margin: 0;
	overflow: hidden;
}
.iconpicker * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: relative;
}
.iconpicker:before,
.iconpicker:after {
	content: " ";
	display: table;
}
.iconpicker:after {
	clear: both;
}
.iconpicker .iconpicker-items {
	position: relative;
	clear: both;
	float: none;
	padding: 10px 0 0 10px;
	background: #fff;
	margin: 0;
	overflow: hidden;
	overflow-y: auto;
	min-height: 55px;
	max-height: 275px;
}
.iconpicker .iconpicker-items:before,
.iconpicker .iconpicker-items:after {
	content: " ";
	display: table;
}
.iconpicker .iconpicker-items:after {
	clear: both;
}
.iconpicker .iconpicker-item {
	float: left;
	width: 28px;
	height: 28px;
	line-height: 28px;
	margin: 0 7px 7px 0;
	text-align: center;
	cursor: pointer;
	border-radius: 3px;
	font-size: 18px;
	color: #444;
	box-shadow: 0 0 0 1px #dddddd;
	.fa {
		line-height: 28px;
	}
}
.iconpicker .iconpicker-item:hover:not(.iconpicker-selected) {
	background-color: #eeeeee;
}
.iconpicker .iconpicker-item.iconpicker-selected {
	box-shadow: none;
	background: #ddd;
}
.iconpicker-component {
	cursor: pointer;
}
