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

.monaco-editor-hover {
	cursor: default;
	position: absolute;
	overflow: hidden;
	background-color: #F3F3F3;
	border: 1px solid #CCC;
	z-index: 50;
	-webkit-user-select: text;
	-ms-user-select: text;
	-khtml-user-select: text;
	-moz-user-select: text;
	-o-user-select: text;
	user-select: text;
	box-sizing: initial;
	animation: fadein 100ms linear;
	line-height: 1.5em;
}

.monaco-editor-hover.hidden {
	display: none;
}

.monaco-editor-hover .monaco-editor-hover-content {
	max-width: 500px;
}

.monaco-editor-hover .hover-row {
	padding: 4px 5px;
}

.monaco-editor-hover .hover-row:not(:first-child):not(:empty) {
	border-top: 1px solid rgba(204, 204, 204, 0.5);
}

.monaco-editor-hover p,
.monaco-editor-hover ul {
	margin: 8px 0;
}

.monaco-editor-hover p:first-child,
.monaco-editor-hover ul:first-child {
	margin-top: 0;
}

.monaco-editor-hover p:last-child,
.monaco-editor-hover ul:last-child {
	margin-bottom: 0;
}

.monaco-editor-hover ul {
	list-style-position: inside;
	-webkit-padding-start: 6px;
}

.monaco-editor-hover code {
	background-color: rgba(132, 132, 132, 0.14);
	border-radius: 3px;
	padding: 0 0.4em;
}

.monaco-editor-hover .monaco-tokenized-source {
	white-space: pre-wrap;
	word-break: break-all;
}

.monaco-editor .hoverHighlight {
	background: rgba(173, 214, 255, 0.15);
}

.monaco-editor.vs-dark .monaco-editor-hover { background-color: #2D2D30; border-color: #555; }
.monaco-editor.vs-dark .monaco-editor-hover a { color: #1C5DAF; }
.monaco-editor.vs-dark .monaco-editor-hover .hover-row:not(:first-child):not(:empty) { border-color: rgba(85,85,85,0.5); }
.monaco-editor.vs-dark .hoverHighlight { background: rgba(38, 79, 120, 0.25); }

.monaco-editor.hc-black .monaco-editor-hover { background-color: #0C141F; }
.monaco-editor.hc-black .monaco-editor-hover a { color: #1C5DAF; }