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

.monaco-editor .review-widget {
	width: 100%;
	position: absolute;
}

.monaco-editor .review-widget .hidden {
	display: none !important;
}

.monaco-editor .review-widget .body {
	overflow: hidden;
}

.monaco-editor .review-widget .body .review-comment {
	padding: 8px 16px 8px 20px;
	display: flex;
}

.monaco-editor .review-widget .body .review-comment .comment-actions {
	margin-left: auto;
}

.monaco-editor .review-widget .body .review-comment .comment-actions .monaco-toolbar {
	height: 21px;
}

.monaco-editor .review-widget .body .review-comment .comment-title {
	display: flex;
	width: 100%;
}

.monaco-editor .review-widget .body .review-comment .comment-title .action-label.codicon {
	line-height: 18px;
}

.monaco-editor .review-widget .body .review-comment .comment-title .monaco-dropdown .toolbar-toggle-more {
	width: 16px;
	height: 18px;
	line-height: 18px;
	vertical-align: middle;
}

.monaco-editor .review-widget .body .comment-body blockquote {
	margin: 0 7px 0 5px;
	padding: 0 16px 0 10px;
	border-left-width: 5px;
	border-left-style: solid;
}

.monaco-editor .review-widget .body .review-comment .avatar-container {
	margin-top: 4px !important;
}

.monaco-editor .review-widget .body .review-comment .avatar-container img.avatar {
	height: 28px;
	width: 28px;
	display: inline-block;
	overflow: hidden;
	line-height: 1;
	vertical-align: middle;
	border-radius: 3px;
	border-style: none;
}

.monaco-editor .review-widget .body .comment-reactions .monaco-text-button {
	margin: 0 7px 0 0;
	width: 30px;
	background-color: transparent;
	border: 1px solid grey;
	border-radius: 3px;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents {
	padding-left: 20px;
	user-select: text;
	-webkit-user-select: text;
	width: 100%;
	overflow: hidden;
}

.monaco-editor .review-widget .body pre {
	overflow: auto;
	word-wrap: normal;
	white-space: pre;
}


.monaco-editor .review-widget .body .review-comment .review-comment-contents .author {
	line-height: 22px;
}


.monaco-editor .review-widget .body .review-comment .review-comment-contents .isPending {
	margin: 0 5px 0 5px;
	padding: 0 2px 0 2px;
	font-style: italic;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-body {
	padding-top: 4px;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions {
	margin-top: 8px;
	min-height: 25px;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .monaco-action-bar .actions-container {
	justify-content: flex-start;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item .action-label {
	padding: 1px 4px;
	white-space: pre;
	text-align: center;
	font-size: 12px;
	display: flex;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item .action-label .reaction-icon {
	background-size: 14px;
	background-position: left center;
	background-repeat: no-repeat;
	width: 14px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: inline-block;
	margin-right: 4px;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item .action-label .reaction-label {
	line-height: 20px;
	margin-right: 4px;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label.toolbar-toggle-pickReactions {
	display: none;
	background-size: 16px;
	width: 26px;
	height: 16px;
	background-repeat: no-repeat;
	background-position: center;
	margin-top: 3px;
	border: none;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions:hover .action-item a.action-label.toolbar-toggle-pickReactions {
	display: inline-block;
	background-size: 16px;
}

.monaco-editor .review-widget .body .review-comment .comment-title .action-label {
	display: block;
	height: 16px;
	line-height: 16px;
	background-size: 16px;
	background-position: center center;
	background-repeat: no-repeat;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label {
	border: 1px solid;
}

.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label.disabled {
	opacity: 0.6;
}

.monaco-editor .review-widget .body .comment-body p,
.monaco-editor .review-widget .body .comment-body ul {
	margin: 8px 0;
}

.monaco-editor .review-widget .body .comment-body p:first-child,
.monaco-editor .review-widget .body .comment-body ul:first-child {
	margin-top: 0;
}

.monaco-editor .review-widget .body .comment-body p:last-child,
.monaco-editor .review-widget .body.comment-body ul:last-child {
	margin-bottom: 0;
}

.monaco-editor .review-widget .body .comment-body ul {
	padding-left: 20px;
}

.monaco-editor .review-widget .body .comment-body li > p {
	margin-bottom: 0;
}

.monaco-editor .review-widget .body .comment-body li > ul {
	margin-top: 0;
}

.monaco-editor .review-widget .body .comment-body code {
	border-radius: 3px;
	padding: 0 0.4em;
}

.monaco-editor .review-widget .body .comment-body span {
	white-space: pre;
}

.monaco-editor .review-widget .body .comment-body img {
	max-width: 100%;
}

.monaco-editor .review-widget .body .comment-form {
	margin: 8px 20px;
}

.monaco-editor .review-widget .validation-error {
	display: inline-block;
	overflow: hidden;
	text-align: left;
	width: 100%;
	box-sizing: border-box;
	padding: 0.4em;
	font-size: 12px;
	line-height: 17px;
	min-height: 34px;
	margin-top: -1px;
	margin-left: -1px;
	word-wrap: break-word;
}

.monaco-editor .review-widget .body .comment-form.expand .review-thread-reply-button {
	display: none;
}

.monaco-editor .review-widget .body .comment-form.expand .monaco-editor,
.monaco-editor .review-widget .body .comment-form.expand .form-actions {
	display: block;
	box-sizing: content-box;
}

.monaco-editor .review-widget .body .comment-form .review-thread-reply-button {
	text-align: left;
	display: block;
	width: 100%;
	resize: vertical;
	border-radius: 0;
	box-sizing: border-box;
	padding: 6px 12px;
	font-weight: 600;
	line-height: 20px;
	white-space: nowrap;
	border: 0px;
	outline: 1px solid transparent;
}

.monaco-editor .review-widget .body .comment-form .review-thread-reply-button:focus {
	outline-style: solid;
	outline-width: 1px;
}

.monaco-editor .review-widget .body .comment-form .monaco-editor,
.monaco-editor .review-widget .body .edit-container .monaco-editor {
	width: 100%;
	min-height: 90px;
	max-height: 500px;
	border-radius: 3px;
	border: 0px;
	box-sizing: content-box;
	padding: 6px 0 6px 12px;
}

.monaco-editor .review-widget .body .comment-form .monaco-editor,
.monaco-editor .review-widget .body .comment-form .form-actions {
	display: none;
}

.monaco-editor .review-widget .body .comment-form .form-actions,
.monaco-editor .review-widget .body .edit-container .form-actions {
	overflow: auto;
	padding: 10px 0;
}

.monaco-editor .review-widget .body .edit-container .form-actions {
	display: flex;
	justify-content: flex-end;
}

.monaco-editor .review-widget .body .edit-textarea {
	height: 90px;
	margin: 5px 0 10px 0;
}

.monaco-editor .review-widget .body .comment-form .monaco-text-button,
.monaco-editor .review-widget .body .edit-container .monaco-text-button {
	width: auto;
	padding: 4px 10px;
	margin-left: 5px;
	margin-bottom: 5px;
}

.monaco-editor .review-widget .body .comment-form .monaco-text-button {
	float: right;
}

.monaco-editor .review-widget .head {
	box-sizing: border-box;
	display: flex;
	height: 100%;
}

.monaco-editor .review-widget .head .review-title {
	display: inline-block;
	font-size: 13px;
	margin-left: 20px;
	cursor: default;
}

.monaco-editor .review-widget .head .review-title .dirname:not(:empty) {
	font-size: 0.9em;
	margin-left: 0.5em;
}

.monaco-editor .review-widget .head .review-actions {
	flex: 1;
	text-align: right;
	padding-right: 2px;
}

.monaco-editor .review-widget .head .review-actions > .monaco-action-bar {
	display: inline-block;
}

.monaco-editor .review-widget .head .review-actions > .monaco-action-bar,
.monaco-editor .review-widget .head .review-actions > .monaco-action-bar > .actions-container {
	height: 100%;
}

.monaco-editor .review-widget .action-item {
	min-width: 18px;
	min-height: 20px;
	margin-left: 4px;
}

.monaco-editor .review-widget .head .review-actions > .monaco-action-bar .action-label {
	width: 16px;
	height: 100%;
	margin: 0;
	line-height: inherit;
	background-repeat: no-repeat;
	background-position: center center;
}

.monaco-editor .review-widget .head .review-actions > .monaco-action-bar .action-label.codicon {
	margin: 0;
}

.monaco-editor .review-widget > .body {
	border-top: 1px solid;
	position: relative;
}

.monaco-editor .comment-range-glyph {
	margin-left: 5px;
	width: 4px !important;
	cursor: pointer;
	z-index: 10;
}

div.preview.inline .monaco-editor .comment-range-glyph {
	display: none !important;
}

.monaco-editor .comment-range-glyph:before {
	position: absolute;
	content: "";
	height: 100%;
	width: 0;
	left: -2px;
	transition: width 80ms linear, left 80ms linear;
}

.monaco-editor .margin-view-overlays > div:hover > .comment-range-glyph.comment-diff-added:before,
.monaco-editor .comment-range-glyph.comment-thread:before {
	position: absolute;
	height: 100%;
	width: 9px;
	left: -6px;
	z-index: 10;
	color: black;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.monaco-editor .margin-view-overlays > div:hover > .comment-range-glyph.comment-diff-added:before {
	content: "+";
}

.monaco-editor .comment-range-glyph.comment-thread {
	z-index: 20;
}

.monaco-editor .comment-range-glyph.comment-thread:before {
	content: "◆";
	font-size: 10px;
	line-height: 100%;
	z-index: 20;
}

.monaco-editor.inline-comment .margin-view-overlays .folding {
	margin-left: 7px;
}

.monaco-editor.inline-comment .margin-view-overlays .dirty-diff-glyph {
	margin-left: 14px;
}
