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

.monaco-workbench .simple-find-part-wrapper {
	overflow: hidden;
	z-index: 10;
	position: absolute;
	top: 0;
	right: 18px;
	width: 220px;
	max-width: calc(100% - 28px - 28px - 8px);
	pointer-events: none;
	padding: 0 10px 10px;
}

.monaco-workbench .simple-find-part {
	visibility: hidden;		/* Use visibility to maintain flex layout while hidden otherwise interferes with transition */
	z-index: 10;
	position: relative;
	top: -45px;
	display: flex;
	padding: 4px;
	align-items: center;
	pointer-events: all;
	transition: top 200ms linear;
}

.monaco-workbench .simple-find-part.visible {
	visibility: visible;
}

.monaco-workbench .simple-find-part.visible-transition {
	top: 0;
}

.monaco-workbench .simple-find-part .monaco-findInput {
	flex: 1;
}

.monaco-workbench .simple-find-part .button {
	min-width: 20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	display: flex;
	flex: initial;
	justify-content: center;
	margin-left: 3px;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.monaco-workbench .simple-find-part .button.disabled {
	opacity: 0.3;
	cursor: default;
}
