@import "result_highlighting.css";

.urlbarView-results > .urlbarView-row:not([rich-suggestion]) > .urlbarView-row-inner {
  flex-wrap: wrap !important;
}

.urlbarView-results > .urlbarView-row:not([rich-suggestion]) > .urlbarView-row-inner > .urlbarView-no-wrap {
  max-width: 100% !important;
  flex-basis: 100% !important;
}

.urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url {
  margin-top: 2px !important;
}

.urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url:-moz-locale-dir(ltr) {
  margin-left: var(--urlbarView-second-line-indent) !important;
}

.urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url:-moz-locale-dir(rtl) {
  margin-right: var(--urlbarView-second-line-indent) !important;
}


.urlbarView-results > .urlbarView-row[type=tabtosearch] > .urlbarView-row-inner > .urlbarView-no-wrap {
  flex-wrap: wrap !important;
}


.urlbarView-results > .urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-row-body > .urlbarView-row-body-top {
  flex-wrap: wrap !important;
}

.urlbarView-results > .urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-row-body > .urlbarView-row-body-top > .urlbarView-row-body-top-no-wrap {
  flex-basis: 100% !important;
}

.urlbarView-results > .urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-row-body > .urlbarView-url {
  margin-top: 2px !important;
}

.urlbarView-row[label] {
  margin-block-start: 0 !important;
}

.urlbarView-row[label]::before {
  content: unset !important;
  display: none !important;
}

.urlbarView-row[dynamicType=onboardTabToSearch] > .urlbarView-row-inner {
  min-height: unset !important;
  align-items: center;
}

.urlbarView-row[dynamicType=onboardTabToSearch] > .urlbarView-row-inner > .urlbarView-no-wrap {
  align-items: center;
}

.urlbarView-row[dynamicType=onboardTabToSearch] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
  min-width: unset !important;
  height: unset !important;
  -moz-context-properties: fill;
}

.urlbarView-row[dynamicType=onboardTabToSearch]:not([selected]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
  color: var(--link-color);
}


.urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-favicon {
  width: 16px !important;
  height: 16px !important;
}

.urlbarView-title:empty + .urlbarView-tags:empty + .urlbarView-row,
.urlbarView-row[type=search]:not([selected]):not([show-action-text]):not(:hover),
.urlbarView-row:not([has-action]):not([has-url]):not([restyled-search]) {
  display: flex !important;
}


.urlbarView-row[has-url][type=remotetab]:not([selected]):not(:hover),
.urlbarView-row[has-url][sponsored]:not([selected]):not(:hover),
.urlbarView-row:not([has-action]):not([has-url]):not([restyled-search]) .urlbarView-row-inner .urlbarView-no-wrap,
.urlbarView[action-override] .urlbarView-row[type=switchtab] .urlbarView-row-inner .urlbarView-no-wrap {
  display: flex !important;
}


.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-row-inner,
.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-no-wrap {
  display: unset !important;
  flex-wrap: wrap !important;
}





.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-title-separator {
  display: none !important;
}

.urlbarView-row-inner {
  padding-block: 3px !important;
}

.urlbarView-favicon {
  margin-bottom: -4px !important;
}
.urlbarView-row[rich-suggestion] :is(.urlbarView-row-body-description, .urlbarView-row-body-bottom) {
  font-size: unset !important;
}


.urlbarView-row  {
  border: 1px solid rgba(0,0,0,0) !important;
  border-bottom: 1px solid #777 !important;
  cursor: pointer;
}
.urlbarView-row:last-of-type{
  border-bottom: 1px solid transparent !important;

}
.urlbarView-url{
  padding-bottom:4px !important;

}
.urlbarView-row-inner {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  position: relative !important;

}
.urlbarView-title {
  line-height: unset !important;
  font-size: 120% !important;
  margin-bottom: 2px !important;
  text-overflow: ellipsis;
  mask-image: none !important;
}
.urlbarView-row[has-url] .urlbarView-title{
  font-size: 125% !important;
  color: #104973;
  font-weight: 600 !important;
}
.urlbarView-title-separator,
.urlbarView-action,
.urlbarView-row[label]::before,
#urlbar .search-one-offs {
  display: none !important;
}


