.CodeMirror {
	border: 1px solid #ddd;
	height: auto;
	.vendor(box-shadow, 0 1px 2px rgba(0, 0, 0, 0.07) inset);

	font-size: 12px;
}

.CodeMirror-readonly {
	// border: 1px solid #e1e1e1;
	background-color: #eee !important;
}

.CodeMirror-scroll {
	max-height: 200px;
}

.CodeMirror-lines {
	padding: 4px;
}

.bwp-code-editor-large + .CodeMirror .CodeMirror-scroll {
	max-height: 300px;
}

.bwp-option-page-inputs {
	.CodeMirror, .bwp-code-editor {
		margin: 1.3em 0 1.7em 0;
	}
}

.CodeMirror, .bwp-code-editor {
	& + .bwp-form-help-block {
		margin-top: unit(-1.7/2, em);
		margin-bottom: 1.2em;
	}

	pre.CodeMirror-placeholder {
		color: #999;
	}
}
