/**
 * Editor CSS
 *
 * @package UTP One
 * @since 1.0.0
 * @version 1.0.0
 */

/* Utp Editor */
.utp-editor .form-control {
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}
.utp-editor-toolbar {
	border: 1px solid #ccc;
	margin-bottom: -1px;
}
.utp-editor .utp-editor-controls {
	display: flex;
	flex-wrap: wrap;
}
.utp-editor-controls:not(.emojy-tabs) {
	padding: 0 2.5px;
}
.utp-editor-tags {
	padding-top: 2.5px !important;
	padding-bottom: 2.5px !important;
}
.utp-editor-controls + .utp-editor-controls {
	border-top: 1px solid #ccc;
}
.utp-editor-controls:not(.emojy-tabs):not(.utp-editor-tags) .item {
	margin: 2.5px;
}
.utp-editor-controls .item-button {
	background: transparent;
	border: 1px solid transparent;
	padding: 4px 5px;
	text-align: center;
	min-width: 28px;
	border-radius: 2px;
	transition: all .3s;
}
.utp-editor-controls .item-button:hover {
	border-color: #ccc;
}
.utp-editor-controls .item-button:focus {
	outline: none;
}
.utp-editor-controls .item-button > i {
	vertical-align: middle;
}
.utp-editor-tags .item-button {
	padding-top: 2px;
	padding-bottom: 2px;
}

/* Editor Controls Emoji */
.emojy-tabs {
	align-items: stretch;
}
.emojy-tabs > .item {
	display: flex;
}
.emojy-tabs > .item > a {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	padding: 8px 10px;
	color: #333;
	position: relative;
}
.emojy-tabs > .item > a:before {
	content: '';
	display: block;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	background-color: transparent;
	transition: all 0.3s;
}
.emojy-tabs > .item > a:hover:before,
.emojy-tabs > .active > a:before {
	background-color: #00a0d2;
}
.emojy-tabs-image {
	width: 24px;
	height: 24px;
	margin: -3px 5px -3px -5px;
}
.emojy-tabs-image > img {
	display: block;
	max-width: 100%;
	height: auto;
}
.emojy-tab-content {
	position: relative;
	z-index: 50;
}
.emojy-tab-content .tab-pane {
	position: absolute;
	top: 1px;
	left: 1px;
	right: 1px;
	background-color: #fff;
	box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}
.emojy-tab-body {
	margin: 2px;
}
.emoji-list {
	display: flex;
	flex-wrap: wrap;
}
.emoji-item {
	cursor: pointer;
	transition: all .3s;
	border-radius: 2px;
	width: 32px;
	height: 32px;
	padding: 3px;
}
.emoji-item:hover {
	background-color: #0073aa;
}
.emoji-item > img {
	max-width: 100%;
	height: auto;
}