/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.editor-instance#workbench\.editor\.settings2:focus {
	outline: none;
}

.settings-editor {
	padding: 11px 0px 0px;
	overflow: hidden;
}

.settings-editor .codicon {
	color: inherit !important;
}

.settings-editor:focus {
	outline: none !important;
}

/* header styling */
.settings-editor > .settings-header {
	box-sizing: border-box;
	margin: auto;
	overflow: hidden;
	padding-top: 3px;
	padding-left: 24px;
	padding-right: 24px;
	max-width: 1000px;
}

.settings-editor > .settings-header > .search-container {
	position: relative;
}

.monaco-workbench.vs .settings-editor > .settings-header > .search-container > .suggest-input-container {
	border: 1px solid #ddd;
}

.settings-editor > .settings-header > .search-container > .settings-count-widget {
	position: absolute;
	right: 35px;
	top: 0px;
	margin: 4px 0px;
}

.settings-editor > .settings-header > .search-container > .settings-count-widget:empty {
	visibility: hidden;
}

.settings-editor > .settings-header > .search-container > .settings-clear-widget {
	margin: 4px 0px;
	padding: 0px 8px;
	border-radius: 2px;
	position: absolute;
	right: 0px;
	top: 0;
}

.settings-editor > .settings-header > .settings-header-controls {
	height: 32px;
	display: flex;
	border-bottom: solid 1px;
	margin-top: 10px;
}

.settings-editor > .settings-header > .settings-header-controls .settings-target-container {
	flex: auto;
}

.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label {
	opacity: 0.9;
}

.settings-editor > .settings-header > .settings-header-controls .last-synced-label {
	padding-top: 7px;
	opacity: 0.9;
}

.settings-editor .settings-tabs-widget > .monaco-action-bar .action-item .action-details {
	opacity: 0.9;
}

.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label:hover {
	opacity: 1;
}

.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label.checked {
	opacity: 1;
}

.monaco-workbench.vs .settings-editor > .settings-header > .settings-header-controls {
	border-color: #cccccc;
}

.monaco-workbench.vs-dark .settings-editor > .settings-header > .settings-header-controls {
	border-color: #3c3c3c;
}

.settings-editor > .settings-header .settings-tabs-widget > .monaco-action-bar .action-item .action-label {
	margin-right: 0px;
}

.settings-editor > .settings-header .settings-tabs-widget .monaco-action-bar .action-item .dropdown-icon {
	/** The tab widget container height is shorter than elsewhere, need to tweak this */
	padding-top: 3px;
}

.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item {
	padding: 0px;
	/* padding must be on action-label because it has the bottom-border, because that's where the .checked class is */
}

.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .action-label {
	text-transform: none;
	font-size: 13px;
	padding-bottom: 7px;
	padding-top: 7px;
	padding-left: 8px;
	padding-right: 8px;
}

.settings-editor > .settings-body {
	position: relative;
}

.settings-editor > .settings-body > .no-results-message {
	display: none;
	max-width: 1000px;
	margin: auto;
	margin-top: 20px;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.settings-editor.no-results > .settings-body .settings-toc-container,
.settings-editor.no-results > .settings-body .settings-tree-container {
	display: none;
}

.settings-editor.no-results > .settings-body > .no-results-message {
	display: block;
}

.settings-editor > .settings-body > .no-results-message a.prominent {
	text-decoration: underline;
}

.settings-editor.no-toc-search > .settings-body .settings-tree-container .monaco-list-row .monaco-tl-contents,
.settings-editor.narrow-width > .settings-body .settings-tree-container .monaco-list-row .monaco-tl-contents {
	padding-left: 33px;
}

.settings-editor > .settings-body .settings-tree-container .monaco-list-row .monaco-tl-twistie {
	/* Hide twisties */
	display: none !important;
}

.settings-editor.mid-width > .settings-body > .settings-tree-container .shadow.top {
	left: 0;
	width: calc(100% - 48px);
	margin-left: 24px;
}

.settings-editor > .settings-body > .settings-tree-container .shadow.top {
	left: 50%;
	max-width: 952px;
	/* 1000 - 24*2 padding */
	margin-left: -476px;
	z-index: 11;
}

.settings-editor > .settings-body .settings-tree-container .setting-toolbar-container {
	position: absolute;
	left: -22px;
	top: 11px;
	bottom: 0px;
	width: 26px;
}

.settings-editor > .settings-body .settings-tree-container .monaco-list-row .mouseover .setting-toolbar-container > .monaco-toolbar .codicon,
.settings-editor > .settings-body .settings-tree-container .monaco-list-row.focused .setting-item-contents .setting-toolbar-container > .monaco-toolbar .codicon,
.settings-editor > .settings-body .settings-tree-container .monaco-list-row .setting-toolbar-container:hover > .monaco-toolbar .codicon,
.settings-editor > .settings-body .settings-tree-container .monaco-list-row .setting-toolbar-container > .monaco-toolbar .active .codicon {
	opacity: 1;
}

.settings-editor > .settings-body .settings-tree-container .setting-toolbar-container > .monaco-toolbar .codicon {
	opacity: 0;
	transition: opacity .3s;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.settings-editor > .settings-body .settings-toc-container {
	width: 100%;
	pointer-events: none;
	z-index: 10;
	position: absolute;
	top: 1px; /* Leave room for the settings list focus outline above */
}

.settings-editor > .settings-body .settings-toc-container .monaco-list {
	width: 160px;
	pointer-events: initial;
}

.settings-editor.no-toc-search > .settings-body .settings-toc-container,
.settings-editor.narrow-width > .settings-body .settings-toc-container {
	display: none;
}

.settings-editor > .settings-body .settings-toc-container .monaco-scrollable-element > .shadow {
	display: none;
}

.settings-editor > .settings-body .settings-toc-container .monaco-list-row .monaco-tl-contents {
	display: flex;
}

.settings-editor > .settings-body .settings-toc-container .monaco-list-row .settings-toc-entry {
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 22px;
	flex-shrink: 1;
}

.settings-editor > .settings-body .settings-toc-container .monaco-list-row .settings-toc-count {
	display: none;
	line-height: 22px;
	opacity: 0.8;
	margin-left: 3px;
}

.settings-editor.search-mode > .settings-body .settings-toc-container .monaco-list-row .settings-toc-count {
	display: block;
}

.settings-editor > .settings-body .settings-toc-container .monaco-list-row.selected .settings-toc-entry {
	font-weight: bold;
}

.settings-editor > .settings-body .settings-tree-container {
	margin-top: 14px;
	border-spacing: 0;
	border-collapse: separate;
	position: relative;
}

.settings-editor > .settings-body .settings-toc-wrapper {
	padding-left: 31px;
}

.settings-editor > .settings-body .settings-toc-wrapper {
	height: 100%;
	max-width: 1000px;
	margin: auto;
}

.settings-editor.no-toc-search > .settings-body .settings-tree-container,
.settings-editor.narrow-width > .settings-body .settings-tree-container {
	margin-left: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .monaco-list-row {
	line-height: 1.4em !important;

	/* so validation messages don't get clipped */
	overflow: visible;
	cursor: default;
}

.settings-editor > .settings-body .settings-tree-container .monaco-list-rows {
	overflow: visible !important; /* Allow validation errors to flow out of the tree container. Override inline style from ScrollableElement. */
}

.settings-editor > .settings-body .settings-tree-container .monaco-list-row .monaco-tl-contents {
	max-width: 1000px;
	margin: auto;
	box-sizing: border-box;
	padding-left: 211px;
	padding-right: 24px;
	overflow: visible;
}

.settings-editor > .settings-body > .settings-tree-container .settings-group-title-label::before,
.settings-editor > .settings-body > .settings-tree-container .settings-group-title-label::after,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents::before,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents::after {
	content: ' ';
	position: absolute;
	left: 0px;
	right: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .settings-group-title-label::before,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents::before {
	top: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .settings-group-title-label::after,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents::after {
	bottom: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents {
	position: relative;
	padding: 12px 14px 18px;
	white-space: normal;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block; /* size to contents for hover to show context button */
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-modified-indicator {
	display: none;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents.is-configured .setting-item-modified-indicator {
	display: block;
	content: ' ';
	position: absolute;
	width: 6px;
	border-left-width: 2px;
	border-left-style: solid;
	left: 5px;
	top: 15px;
	bottom: 18px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-bool .setting-item-contents.is-configured .setting-item-modified-indicator,
.settings-editor > .settings-body > .settings-tree-container .setting-item-list .setting-item-contents.is-configured .setting-item-modified-indicator {
	bottom: 23px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-title .setting-item-overrides {
	opacity: 0.9;
	font-style: italic;
	margin-right: 4px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-title .setting-item-ignored {
	opacity: 0.9;
	font-style: italic;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-title .setting-item-ignored .codicon {
	vertical-align: text-top;
	padding-left: 1px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-title .setting-item-overrides a.modified-scope {
	text-decoration: underline;
	cursor: pointer;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-label {
	margin-right: 7px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-cat-label-container {
	float: left;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-label,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-category {
	font-weight: 600;
	user-select: text;
	-webkit-user-select: text;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-category {
	opacity: 0.9;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-deprecation-message {
	margin-top: 3px;
	user-select: text;
	-webkit-user-select: text;
	display: none;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents.is-deprecated .setting-item-deprecation-message {
	display: block;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-description {
	margin-top: -1px;
	user-select: text;
	-webkit-user-select: text;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-validation-message {
	display: none;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-contents.invalid-input .setting-item-validation-message {
	display: block;
	position: absolute;
	padding: 5px;
	box-sizing: border-box;
	margin-top: -1px;
	z-index: 1;
}
.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-list .setting-item-contents.invalid-input .setting-item-validation-message {
	position: static;
	margin-top: 1rem;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-text .setting-item-validation-message {
	width: 500px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-number .setting-item-validation-message {
	width: 200px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-number input[type=number]::-webkit-inner-spin-button {
	/* Hide arrow button that shows in type=number fields */
	-webkit-appearance: none !important;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-number input[type=number] {
	/* Hide arrow button that shows in type=number fields */
	-moz-appearance: textfield !important;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-markdown * {
	margin: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-markdown a:focus {
	outline: 1px solid -webkit-focus-ring-color;
	outline-offset: -1px;
	text-decoration: underline;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-markdown a:hover {
	text-decoration: underline;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-markdown code {
	line-height: 15px;
	/** For some reason, this is needed, otherwise <code> will take up 20px height */
	font-family: var(--monaco-monospace-font);
}

.settings-editor > .settings-body > .settings-list-container .setting-item-contents .setting-item-markdown hr {
	border-bottom-width: 0px;
	margin: 10px 20px;
	opacity: 0.4;
}

.settings-editor > .settings-body > .settings-list-container .setting-item-contents .setting-item-enumDescription {
	display: none;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-enumDescription {
	display: block;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-bool .setting-item-contents,
.settings-editor > .settings-body > .settings-tree-container .setting-item-list .setting-item-contents {
	padding-bottom: 26px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-bool .setting-item-value-description {
	display: flex;
	cursor: pointer;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-bool .setting-value-checkbox {
	height: 18px;
	width: 18px;
	border: 1px solid transparent;
	border-radius: 3px;
	margin-right: 9px;
	margin-left: 0px;
	padding: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-bool .setting-value-checkbox.codicon:not(.checked)::before  {
	opacity: 0;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-value {
	margin-top: 9px;
	display: flex;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-number .setting-item-value > .setting-item-control {
	min-width: 200px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-text .setting-item-control {
	width: 500px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-enum .setting-item-value > .setting-item-control,
.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-text .setting-item-value > .setting-item-control {
	min-width: initial;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item.setting-item-enum .setting-item-value > .setting-item-control > select {
	width: 320px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-value .edit-in-settings-button,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-value .edit-in-settings-button:hover,
.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .setting-item-value .edit-in-settings-button:active {
	text-align: left;
	text-decoration: underline;
	padding-left: 0px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-contents .monaco-select-box {
	width: initial;
	font: inherit;
	height: 26px;
	padding: 2px 8px;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-new-extensions {
	display: flex;
}

.settings-editor > .settings-body > .settings-tree-container .setting-item-new-extensions .settings-new-extensions-button {
	margin: auto;
	margin-bottom: 15px;
	width: initial;
	padding: 4px 10px;
}

.settings-editor > .settings-body > .settings-tree-container .group-title {
	cursor: default;
}

.settings-editor > .settings-body > .settings-tree-container .settings-group-title-label {
	display: inline-block;
	margin: 0px;
	font-weight: 600;
	height: 100%;
	box-sizing: border-box;
	padding: 10px;
	padding-left: 15px;
	width: 100%;
	position: relative;
}

.settings-editor > .settings-body > .settings-tree-container .settings-group-level-1 {
	font-size: 24px;
}

.settings-editor > .settings-body > .settings-tree-container .settings-group-level-2 {
	padding-top: 32px;
	font-size: 20px;
}

.settings-editor.search-mode > .settings-body .settings-toc-container .monaco-list-row .settings-toc-count {
	display: block;
}
