/* CodeMirror fix */
.CodeMirror-wrap {
	border: 1px solid #ddd;
}

.CodeMirror-sizer {
	margin-left: 46px !important;
}

.CodeMirror-linenumbers {
	width: 29px !important;
}

/* PRO metabox */
.udb-pro-metabox-content li {
	list-style: disc;
	margin-left: 15px;
}

/* Metabox fields */
.udb-metabox-field {
	margin-bottom: 15px;
}

.udb-metabox-field:last-child {
	margin-bottom: 0;
}

.udb-metabox-field label {
	display: inline-block;
	margin-bottom: 5px;
}

/* Content type metabox */
#udb-content-type-metabox select {
	width: 100%;
	display: block;
}

.udb-use-html-editor .edit-post-header-toolbar,
.udb-use-html-editor .edit-post-visual-editor,
.udb-use-html-editor .edit-post-sidebar__panel-tabs > ul > li:nth-child(2) {
	display: none;
}

/* Attributes metabox */
#udb-menu-metabox input,
#udb-menu-metabox select {
	width: 100%;
	display: block;
}

#udb-menu-metabox .icon-preview i {
	width: 80px;
	height: 80px;
	line-height: 80px;
	background: #eee;
	text-align: center;
	font-size: 36px;
}

/* User role access metabox */
.udb-metabox-field > .select2-container {
	width: 100% !important;
}
