/*---------------------------------------------------------------------------------------------
 *  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-fr-find-part-wrapper {
	overflow: hidden;
	z-index: 10;
	position: absolute;
	top: -45px;
	right: 18px;
	width: 318px;
	max-width: calc(100% - 28px - 28px - 8px);
	pointer-events: none;
	transition: top 200ms linear;
	visibility: hidden;
}

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

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

.monaco-workbench .simple-fr-find-part-wrapper .find-replace-progress {
	width: 100%;
	height: 2px;
	position: absolute;
}

.monaco-workbench .simple-fr-find-part-wrapper .find-replace-progress .monaco-progress-container {
	height: 2px;
	top: 0px !important;
	z-index: 100 !important;
}

.monaco-workbench .simple-fr-find-part-wrapper .find-replace-progress .monaco-progress-container .progress-bit {
	height: 2px;
}

.monaco-workbench .simple-fr-find-part-wrapper .monaco-findInput {
	width: 224px;
}

.monaco-workbench .simple-fr-find-part-wrapper .button {
	width: 20px;
	height: 20px;
	flex: initial;
	margin-left: 3px;
	background-position: 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.monaco-workbench .simple-fr-find-part-wrapper .toggle {
	position: absolute;
	top: 0;
	width: 18px;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 0px;
	pointer-events: all;
}

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

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

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

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

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