@import "../compare/compareView.css";

@import "../globalSearch/globalSearch.css";

@import "../widgets/input/ComboTextInput.css";

.searchResultsWrapperDiv .treeTableRow > td {
	overflow: hidden;
}

.searchResultsWrapperDiv .confidenceDecorator {
	display: inline-block;
	width: 32px;
	vertical-align: middle;
	border: none;
}

.searchResultsWrapperDiv .confidenceDecoratorImg {
	display: inline-block;
	width: 16px;
	vertical-align: middle;
	font-size: 12px;
	border: none;
}

.searchResultsWrapperDiv .confidenceHighImg {
	color: green;
	padding-bottom: 2px;
	padding-top: 1PX;
}

.searchPageActions .togglePerfectMatch {
	border: 1px solid lightgray;
	border-radius: 3px;
}

.searchPageActions .core-sprite-checkmark {
	color: green !important;
    line-height: 18px;
    padding-right: 2px;
    padding-left: 2px;
    padding-top: 2px;
    font-size: 13px;
}

.searchResultsWrapperDiv .confidenceUnknownImg {
	color: blue;
	margin-top: -2px;
}

.searchPageActions .togglePossibleMatch {
	border: 1px solid lightgray;
	border-radius: 3px;
	margin-left: -3px !important;
}

.searchPageActions .core-sprite-questionmark {
	color: blue !important;
    line-height: 18px;
    padding-right: 6px;
    padding-left: 6px;
    padding-top: 2px;
    font-size: 14px;
}

.searchResultsWrapperDiv .confidenceLowImg {
	color: red;
	padding-right: 1px;
	padding-bottom: 2px;
	padding-top: 1px;
}

.searchPageActions .toggleNonMatch {
	border: 1px solid lightgray;
	border-radius: 3px;
	margin-left: -3px !important;
}

.searchPageActions .core-sprite-error {
	color: red !important;
    line-height: 18px;
    padding-right: 2px;
    padding-left: 2px;
    padding-top: 2px;
    font-size: 13px;
}

.searchResultsWrapperDiv .confidenceHigh {
	color: white !important;
	background-color: #1BB199 !important;
}

.searchResultsWrapperDiv .confidenceLow {
	color: white !important;
	background-color: #d9534f !important;
}

.searchResultsWrapperDiv .selectableNavRow:hover {
	background-color: rgba(16,106,91, 0.3);
}

.searchResultsWrapperDiv .navlink {
	color: #333333;
}

.searchResultsWrapperDiv .modelDecorationSprite {
  color: #777;
}

.searchResultsWrapperDiv > b {
	margin-left: 10px;
}

.searchWrapper {
	width: calc(100% - 12px);
	height: calc(100% - 16px);
	padding: 6px;
	padding-top: 10px;
	display: flex;
	flex-direction: column;
}

.searchOptWrapperDiv {
}

.replaceModeActive > .searchOptWrapperDiv {
}

.searchWrapper.searchOptionsHidden > .searchOptWrapperDiv {
	height: 0;
	overflow: hidden;
	display: none;
}

.searchWrapper.searchOptParamBlockHidden > .searchOptWrapperDiv > .searchParamBlockDiv {
	display: none;
}

.searchWrapper.searchOptParamBlockHidden > .searchOptWrapperDiv > .searchMainOptionBlock > .toggleDisplayLink{
	display: none;
}

.searchWrapper.searchOptParamBlockHidden > .searchOptWrapperDiv > .searchMainOptionBlock > .searchOptionControlBar > .searchGeneralOptionBlock{
	display: none;
}

.searchResultsWrapperDiv {
	flex: 1 1 auto;
	background-color: white;
	outline: 1px solid lightgray;
	overflow: auto;
	min-width: 274px;
}

.searchResultsWrapperDiv > div {
	height: 100%;
	width: 100%;
}

.searchResultsWrapperDiv > div > .treetable {
	background: white;
}

.searchWrapper > .comboTextInputWrapper {
	margin: 5px 10px 0 10px;
}

.searchWrapper label {
	-moz-user-select: -moz-none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

.replaceWrapper {
	display: block;
	overflow: visible;
}

.replaceWrapperHidden {
	display: none;
}

.fileNamePatternsTextInput {
	min-width: 219px;
}

.fileNamePatternsHint {
	color: #707070;
	font-size: 11px;
	margin: 0 0 2px 0;
	padding: 0 2px;
	display: block;
	visibility: hidden;
	transition: opacity 0.1s ease;
	min-width: 252px;
	text-align: left;
}

.fileNamePatternsHintVisible {
	visibility: visible;
}

.fileNamePatternsInput {
	margin: 0;
	min-width:270px;
}

.toggleDisplayLink {
	display: block;
	margin: 0;
	white-space: nowrap;
}

.toggleDisplayLink.linkHidden {
	display: none;
}

.toggleSearchOptionsLink {
	margin: 5px;
	white-space: nowrap;
}

.searchMainOptionBlock {
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

.searchMainOptionBlock input[type="text"]:disabled {
    background: white;
}

.searchOptionBlock {
	margin-bottom: 10px;
	min-width: 254px;
}
.searchGeneralOptionBlock{
	margin-left: 4px;
	flex-shrink: 0;
}

.searchOption {
	white-space: nowrap;
}

.oneLine {
	white-space: nowrap;
}
.oneLine .searchOption {
	display: inline-block;
	margin-right: 28px;
}
.oneLine .searchOption:last-child {
	margin: 0;
}

.searchLabel {
	margin: 1px 0;
}
.scopeLabel{
	padding-right: 3px;
    padding-top: 8px;
 	flex-shrink: 0;
}
.searchOptionControlButton {
	vertical-align: middle;
	background-color: rgba(0, 0, 0, 0);
    border-width: 1px;
    border-style: solid;
    border-color: #3C71B3;
    color: #3C71B3;
    padding: 3px;
}

.searchScopeInputWrapper {
	background-color: whitesmoke;
	border: 1px solid lightgray;
	border-radius: 3px;
	display: flex;
	white-space: nowrap;
	flex-grow: 1;
	min-width:272px;
}

.searchScopeElementWrapper {
	display: inline-block;
	min-width: 245px;
	flex-grow:1;
}

.commandButton.searchScopeSelectButton {
	border: none;
	border-left: 1px solid lightgray;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	cursor: pointer;
	font-size: 12px;
	margin: 0;
	padding: 6px;
}

.commandButton.core-sprite-outline.searchScopeSelectButton{
	color: white;
    background-color: #7fa4c0;
}

.searchButton > span {
	font-size: 14px;
	color: white;
}

.commandButton.comboTextInputButton.searchButton {
	background-color: #7fa4c0;
	padding: 3px 5px 5px 5px;
	z-index: 1;
}

.commandButton.comboTextInputButton.searchButton:hover span{
	color: black;
}

.commandButton.comboTextInputButton.searchButton.isHidden {
	padding: 3px 0 5px 0;
}

.projectNavSidebarWrapper > .searchWrapperActive {
	height: calc(100% - 14px);
}

.projectNavSidebarWrapper .sidebarToolbar {
	display: none;
}

.filePathSpan {
	display: inline-flex;
	display: -webkit-inline-flex;		/* Safari */
	outline: none;
	padding: 3px 0;
	vertical-align: middle;
	white-space: nowrap;
	width: 100%;
}

.filePathSpan > a.navlink {
	align-items: baseline;
	-webkit-align-items: baseline;		/* Safari */
	display: inline-flex;
	display: -webkit-inline-flex;		/* Safari */
	padding: 7px 10px 7px 2px;
}

.fullPathSpan {
	color: #555 !important;
	display: none;
	flex-grow: 0;
	flex-shrink: 2;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 2;		/* Safari */
	font-size: 8pt; 
	font-weight: normal;
	/*overflow: hidden;*/
	text-overflow: ellipsis;
}

.showFullPath .fullPathSpan {
	display: inline-block;
	min-width: 20px;
}

.fileNameSpan {
	color: #333 !important;
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 0;		/* Safari */
	font-weight: bold;
	margin-right: 5px;
}

.fileLineSpan {
	color: black;
	display: inline-block;
	font-style: italic;
	font-size: 8pt;
}

.fileParentSpan {
	color: #555 !important;
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 0;		/* Safari */
	font-size: 8pt; 
	font-weight: normal;
}

.groupParentSpan {
	color: #333 !important;
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 0;		/* Safari */
	font-size: 9pt; 
}

.groupNameSpan {
	font-weight: bold;
	padding-top: 2px;
    display: inline-block;
}

.groupCountSpan {
	font-weight: bold;
	padding-top: 2px;
	padding-left: 5px;
    display: inline-block;
}

.ellipsisSpan {
	color: #555 !important;
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 0;		/* Safari */
	font-size: 8pt; 
	font-weight: normal;
}

.showFullPath .ellipsisSpan {
	display: none;
}

.replaceFileNameSpan {
	color: black;
	cursor: pointer;
}

.deleteSearchRowButton {
	margin-left: 2px !important;
}

.searchDetailRow {
}

.navlink.searchDetailLink {
	padding: 5px 0;
	vertical-align: baseline;
}

/* search match occurrences */
.navlink.searchDetailLink > span > b {
	color: black;
	background: #cedce7;
}

.searchWrapper .comboTextInputWrapper{
	display: flex;
    flex-direction: row;
    min-width: 272px;
    margin-top: 0;
}

.searchWrapper .comboTextInputWrapper input{
	flex-grow: 1;	
}

.searchWrapper:not(.searchWrapperActive) > .comboTextInputWrapper > .comboTextInputButton {
	background-color: white;
	border-color: white;
}

.searchWrapper:not(.searchWrapperActive) > .comboTextInputWrapper > .comboTextInputButton > span {
	color: #aaa;
}

.searchWrapper > .comboTextInputWrapper > .recentEntryButton {
	max-width: 25px;
	transition: max-width 0.2s ease;
}

.searchWrapper:not(.searchWrapperActive) > .comboTextInputWrapper > .recentEntryButton {
	max-width: 0;
}

.searchWrapperActive > .comboTextInputWrapper > .comboTextInputButton {
	background-color: rgb(221, 221, 221);
}

.replaceCompareTitleDiv {
	border: 1px solid lightgray;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
	background: white;
	display: none;
	font-size: 8pt;
	font-weight: bold;
	left: 0px;
	padding: 3px 10px;
	position: absolute;
	top: 1px;
	width: 100%;
	z-index: 100;
}

.replaceCompareTitleDivVisible {
	display: block;
}

.replaceCompareDiv {
	display: none;
	top: 20px;
	z-index: 51;
}

.replaceCompareDivVisible {
	display: block;
}


.searchResultsTitle {
	display: inline-block;
	font-weight: bold;
	margin: 0;
	color: #333;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: nowrap;
	width: calc(100% - 5px); /*subtract margin to prevent overflow*/
}

.searchPageActions {
	display: block;
	margin: 5px 0;
	white-space: nowrap;
}

.searchPageActions:empty {
	margin: 0;
}

.searchPageActionsRight {
	padding-right: 5px;
}

.searchPageActions > .orionButton > .core-sprite-move-down, .searchPageActions > .orionButton > .core-sprite-move-up {
	padding-left: 0;
}

.sprite-switch-full-path {
	font-size: 15px;
	font-weight: bold;
	line-height: normal;
	vertical-align:middle;
	color: #777;
	padding-right:5px;
	background: none;
	border: none;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.searchPageActions > .orionSwitch {
	display: inline-block;
	vertical-align: bottom;
}

.orionSwitchInner.sprite-switch-full-path:before{
	content: '\002f*\002f'; /* forward slash * forward slash, using unicode value to avoid CSS minification bug */
	padding-top: 2px;
	padding-left: 4px;
}
.orionSwitchInner.sprite-switch-full-path:after{
	content: '.../';
	padding-top: 2px;
	padding-right: 4px;
}

.treeTableRow > td.search_report {
	padding: 2px 0;
	width: 100%;
}

.filePathSpan > .navlink > .imageSprite {
	padding: 0 5px;
}

.filePathSpan > .navlink > .core-sprite-ok {
	background-position: 0;
	color: green;
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 0;		/* Safari */
	font-size: 14px;
	font-weight: bold;
	height: auto;
	width: auto;
}

.filePathSpan > .navlink > .core-sprite-ok:before {
	content: '\2713'; /* check mark */
}

.replacementStatusSpan {
	flex-grow: 0;
	flex-shrink: 0;
	-webkit-flex-grow: 0;		/* Safari */
	-webkit-flex-shrink: 0;		/* Safari */
	white-space: nowrap;
}

.imageSprite.staleSearchResultIcon {
	color: #d8ab27;
	font-size: 14px;
	padding: 3px 0 0 17px;	
}
.hiddenCheckbox{
	display: none;
}
.searchOptionControlBar{
	display: flex;
    justify-content: flex-start;
    width: calc(100% - 30px);
}
.searchOptionControlButton.toggleReplaceLink:after{
	content:"a\002192C";
	font-size: 12px;
    line-height: 3px;
    position: relative;
}
.searchOptionControlButton.advSearchCaseSensitive:after{
	content:"Aa";
	font-size: 12px;
    line-height: 3px;
    position: relative;
}
.searchOptionControlButton.advSearchWholeWord:after{
	content:"\\b";
	font-size: 12px;
    line-height: 3px;
    position: relative;
}
.searchOptionControlButton.advSearchRegEx:after{
	content: ".*";
    font-size: 17px;
    line-height: 2px;
    position: relative;
    top: 2px;
}

.searchOptionControlButton:hover {
	background-color:#7fa4c0;
	border-color: #3C71B3;
	color:black;
}

.locationElementWrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    position: relative;
    background-color: inherit;
    margin-top: 8px;
    margin-right: 8px;
    padding-left: 1px;
}

.locationElementWrapper:before {
    content: '\02026';
    position: absolute;
    z-index: 1;
    background-color: #F5F7FA;
    color: #222;
    cursor: initial;
    font-weight: normal;
    vertical-align: bottom;
    white-space: nowrap;
    padding-left: 2px;
}

.locationElementWrapper span {
    min-width: calc(100% - 9px);
    position: relative;
    display: inline-block;
    float: right;
    overflow: visible;
    background-color: inherit;
    text-indent: 0.5em;
    color: #222;
    cursor: initial;
    font-weight: normal;
    vertical-align: bottom;
    white-space: nowrap;
}
.locationElementWrapper span:before {
    content: '';
    z-index: 200;
    display: inline-block;
    background-color: #F5F7FA;
    vertical-align: bottom;
    width: 13px;
    height: 10px;
    margin-top: 2px;
    white-space: nowrap;
    position: absolute;
    overflow: visible;
    left: -7px;
}
.checkedSearchOptionButton{
	background-color:#7fa4c0;
	border-color: #3C71B3;
	color:black;
}