/*---------------------------------------------------------------------------------------------
 *  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: 28px;
	width: 220px;
	max-width: calc(100% - 28px - 28px - 8px);
	pointer-events: none;
}

.monaco-workbench .simple-find-part {
	z-index: 10;
	position: relative;
	top: -40px;
	display: flex;
	padding: 4px;
	align-items: center;
	pointer-events: all;

	-webkit-transition: top 200ms linear;
	-o-transition: top 200ms linear;
	-moz-transition: top 200ms linear;
	-ms-transition: top 200ms linear;
	transition: top 200ms linear;
}

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

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

/* Temporarily we don't show match numbers */
.monaco-workbench .simple-find-part .monaco-findInput .controls {
	display: none;
}
.monaco-workbench .simple-find-part .monaco-findInput .monaco-inputbox .wrapper .input {
	width: 100% !important;
}

.monaco-workbench .simple-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-find-part .button.previous {
	background-image: url('images/previous.svg');
}

.monaco-workbench .simple-find-part .button.next {
	background-image: url('images/next.svg');
}

.monaco-workbench .simple-find-part .button.close-fw {
	background-image: url('images/close.svg');
}

.hc-black .monaco-workbench .simple-find-part .button.previous,
.vs-dark .monaco-workbench .simple-find-part .button.previous {
	background-image: url('images/previous-inverse.svg');
}

.hc-black .monaco-workbench .simple-find-part .button.next,
.vs-dark .monaco-workbench .simple-find-part .button.next {
	background-image: url('images/next-inverse.svg');
}

.hc-black .monaco-workbench .simple-find-part .button.close-fw,
.vs-dark .monaco-workbench .simple-find-part .button.close-fw {
	background-image: url('images/close-dark.svg');
}

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