.ajax-load-more .CodeMirror {
	height: auto;
	border-radius: $radius;
	padding: 0;
	background: $light_grey;
	border: 1px solid $border;
	color: $grey_text;
	line-height: 1.5;
	font-size: 13px;

	&.CodeMirror-focused {
		border-color: $blue;
		box-shadow: $shadow;
	}
	pre {
		padding: 0 10px;
	}
	.CodeMirror-scroll {
		padding-bottom: 50px !important;
	}
}
// Readonly
.ajax-load-more .cm-readonly .CodeMirror {
	opacity: 0.75;
	pre {
		cursor: default !important;
	}
}
.CodeMirror-lines {
	padding: 10px !important;
}
.CodeMirror-linenumber {
	padding: 0 10px !important;
	line-height: 1.25 !important;
	color: #ccc !important;
}
.CodeMirror-linenumber.CodeMirror-gutter-elt {
	padding: 0 20px 0 0 !important;
}
.ajax-load-more .sm-margin .CodeMirror {
	margin: 0 0 10px;
}
.ajax-load-more .cm-readonly p.warning-callout {
	margin: 0;
}
.ajax-load-more .CodeMirror.loading {
	background: $light_grey url('../img/ui/loader-unlimited.gif') no-repeat center center;
	opacity: 0.6;
}
.ajax-load-more .cm-s-pastel-on-dark.CodeMirror {
	/* Bkg color */
	background: #333;
}
.ajax-load-more .CodeMirror-gutters {
	/* Line Number color */
	background: #fff;
	border-right: 1px solid $border;
	border-radius: 2px;
}
.ajax-load-more .CodeMirror-scroll {
	overflow-y: hidden;
	overflow-x: auto;
}

.ajax-load-more .cm-tag {
	/* <li> <h2> html elements */
	color: #0a4b83 !important;
}
.ajax-load-more .cm-string {
	/* Elements in " " */
	color: #c75050 !important;
}
.ajax-load-more .cm-attribute {
	/* class names */
	color: #008080 !important;
}
.ajax-load-more .cm-keyword {
	/* if, array, echo */
	color: #ae5fb3 !important;
}
.ajax-load-more span.CodeMirror-matchingbracket {
	color: #ff0000 !important;
}
.ajax-load-more .CodeMirror span.cm-meta {
	/* <?php */
	color: $grey_text;
}
.ajax-load-more .CodeMirror span.cm-variable {
	/* Function names */
	color: #111;
	font-weight: 500;
	padding: 0 1px;
}
.ajax-load-more .CodeMirror span.cm-number {
	/* Numbers */
	color: #009999 !important;
}
