/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
/** Dialog: Modal Block */
.monaco-workbench .dialog-modal-block {
	position: fixed;
	height: 100%;
	width: 100%;
	left:0;
	top:0;
	z-index: 2000;
	display: flex;
	justify-content: center;
	align-items: center;
}

/** Dialog: Container */
.monaco-workbench .dialog-box {
	display: flex;
	flex-direction: column-reverse;
	min-width: 500px;
	min-height: 75px;
	padding: 5px;
}

/** Dialog: Title Actions Row */
.monaco-workbench .dialog-box .dialog-toolbar-row {
	padding-right: 1px;
}

.monaco-workbench .dialog-box .action-label {
	height: 16px;
	min-width: 16px;
	background-size: 16px;
	background-position: 50%;
	background-repeat: no-repeat;
	margin: 0px;
	margin-left: 4px;
}


.monaco-workbench .dialog-box .dialog-close-action {
	background: url('close.svg') center center no-repeat;
}

.vs-dark .monaco-workbench .dialog-box .dialog-close-action,
.hc-black .monaco-workbench .dialog-box .dialog-close-action {
	background: url('close-inverse.svg') center center no-repeat;
}

/** Dialog: Message Row */
.monaco-workbench .dialog-box .dialog-message-row {
	display: flex;
	flex-grow: 1;
	padding: 10px 15px 20px;
}

.monaco-workbench .dialog-box .dialog-message-row .dialog-icon {
	flex: 0 0 30px;
	padding-right: 4px;
	padding-left: 4px;
	background-position: center;
	background-repeat: no-repeat;
}

.vs .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-info {
	background-image: url('info.svg');
}

.vs .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-warning {
	background-image: url('warning.svg');
}

.vs .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-error {
	background-image: url('error.svg');
}

.vs-dark .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-info,
.hc-black .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-info {
	background-image: url('info-inverse.svg');
}

.vs-dark .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-warning,
.hc-black .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-warning {
	background-image: url('warning-inverse.svg');
}

.vs-dark .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-error,
.hc-black .monaco-workbench .dialog-box .dialog-message-row .dialog-icon.icon-error {
	background-image: url('error-inverse.svg');
}

/** Dialog: Message Container */
.monaco-workbench .dialog-box .dialog-message-row .dialog-message-container {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 20px;
	user-select: text;
	word-wrap: break-word; /* never overflow long words, but break to next line */
	white-space: normal;
}

/** Dialog: Message */
.monaco-workbench .dialog-box .dialog-message-row .dialog-message-container .dialog-message {
	line-height: 22px;
	font-size: 18px;
	flex: 1; /* let the message always grow */
	white-space: normal;
	word-wrap: break-word; /* never overflow long words, but break to next line */
	padding-bottom: 10px;
}

/** Dialog: Details */
.monaco-workbench .dialog-box .dialog-message-row .dialog-message-container .dialog-message-detail {
	line-height: 22px;
	flex: 1; /* let the message always grow */
	opacity: .9;
}

.monaco-workbench .dialog-box .dialog-message-row .dialog-message-container .dialog-message a:focus {
	outline-width: 1px;
	outline-style: solid;
}

/** Dialog: Buttons Row */
.monaco-workbench .dialog-box > .dialog-buttons-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 1px;
	overflow: hidden; /* buttons row should never overflow */
}

.monaco-workbench .monaco-workbench .dialog-box > .dialog-buttons-row {
	display: flex;
}

/** Dialog: Buttons */
.monaco-workbench .monaco-workbench .dialog-box > .dialog-buttons-row > .dialog-buttons {
	display: flex;
	overflow: hidden;
}

.monaco-workbench .dialog-box > .dialog-buttons-row > .dialog-buttons > .monaco-button {
	max-width: fit-content;
	padding: 5px 10px;
	margin: 4px 5px; /* allows button focus outline to be visible */
	overflow: hidden;
	text-overflow: ellipsis;
}