/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
/* ---------- IE10 remove auto clear button ---------- */
::-ms-clear {
	display: none;
}

.monaco-editor {
	position: relative;
	overflow: visible;
	-webkit-text-size-adjust: 100%;
}

.monaco-editor.enable-ligatures {
	-webkit-font-feature-settings: "liga" on, "calt" on;
	font-feature-settings: "liga" on, "calt" on;
}

.monaco-editor .overflow-guard {
	position: relative;
	overflow: hidden;
}

/* ---------- View overlays ---------- */

.monaco-editor .view-overlays {
	position: absolute;
	top: 0;
}

.monaco-editor .view-overlays > .static {
	position: absolute;
	top: 0;
}


/* ---------- Lines Content ---------- */

.monaco-editor .inputarea {
	/*Chrome cannot handle typing in a 0x0 textarea*/
	width: 1px;
	height: 1px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	outline: none !important;
	resize: none;
	border: none;
	overflow: hidden;
}

/*.monaco-editor .inputarea {
	position: fixed !important;
	width: 800px !important;
	height: 200px !important;
	top: initial !important;
	left: initial !important;
	bottom: 0 !important;
	right: 0 !important;
}*/

.monaco-editor.ff .inputarea,
.monaco-editor.ie .inputarea {
	width: 0;
	height: 0;
}

.monaco-editor.ime-input .inputarea,
.monaco-editor.ie.ime-input .inputarea,
.monaco-editor.ff.ime-input .inputarea、 {
	width: 500px;
	z-index: 10;
	background: rgba(255, 255, 255, 0.85);
}

.monaco-editor .accessibility-output {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	overflow: hidden;
}

.monaco-editor .lines-content {
	position: absolute;
	top: 0;
}

.monaco-editor .lines-content,
.monaco-editor .view-line,
.monaco-editor .view-line > span,
.monaco-editor .view-line > span > span,
.monaco-editor .view-lines {
	-webkit-user-select: text;
	-ms-user-select: text;
	-khtml-user-select: text;
	-moz-user-select: text;
	-o-user-select: text;
	user-select: text;
}

.monaco-editor.ie .lines-content,
.monaco-editor.ie .view-line,
.monaco-editor.ie .view-line > span,
.monaco-editor.ie .view-line > span > span,
.monaco-editor.ie .view-lines {
	-ms-user-select: none;
	user-select: none;
}

.monaco-editor .view-lines {
	cursor: text;
	white-space: nowrap;
}

.monaco-editor .view-line {
	position: absolute;
	width: 100%;
}

.margin-view-overlays > .view-line {
	width: 100%;
}

.monaco-editor .view-layer-line {
	position: relative;
	overflow: visible;
	width: 100%;
}

/* ---------- Squigglies ---------- */

.monaco-editor .redsquiggly {
	background: url("red-squiggly.svg") repeat-x bottom left;
}

.monaco-editor .greensquiggly {
	background: url("green-squiggly.svg") repeat-x bottom left;
}

.monaco-editor .linked-editing {
	box-shadow:	inset 0 0 0 1px #B9B9B9;
}


/* ----------- bracket Match ------ */

.monaco-editor .bracket-match {
	box-shadow:	inset 0 0 0 1px #B9B9B9;
	background-color: rgba(0, 100, 0, 0.1);
}

/* All widgets */
/* I am not a big fan of this rule */
.monaco-editor .editor-widget input {
	color: inherit;
}
