/* Adv search bar */

.adv-search-wrapper {
  display: flex;
  gap: 1rem;
}

.adv-search-bar { 
  display: flex;
  flex: 1;
  position: relative;
  align-items: center;
  gap: 0.9375rem;
  height: 3rem;
  background-color: var(--white-docs-site);
  border-radius: 0.25rem;
}

.search-button {
  right: 0.375rem;
}

.sp-info-icon { 
  width: 1rem;
  height: 1rem;
}

.sp-info-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
}


/* Search filters */ 

.searchfilters {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  padding-top: 1.56rem; 
  height: 98%;
}

.filterGroup {
  display: flex;
  flex-direction: column;
  line-height: 0;
  gap: .35rem;
}

.filterheading {
  margin-top: 0.63rem;
  margin-bottom: 0.63rem;
  font-weight: 600;
  width: 12.5rem;
  position: relative;
}

.filtertext {
  font-size: 0.88rem;
  display: inline-block;
  margin-left: 0.19rem;
  flex: 7;
  line-height: normal; 
}

.filtercheckbox {
  flex: 0.25;
  align-self: start;
  margin-top: 1.5px;
}

.checkboxwrap {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.filterradio {
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.radioheading {
  margin-top: 0.63rem;
  margin-bottom: 0.63rem;
  font-weight: 600;
  font-size: 0.94rem;
}

.radiotext {
  font-size: 0.88rem;
  margin-right: 0.31rem;
}

.radiodiv {
  display: flex;
  align-items: center;
  gap: 0.31rem;
}

.clearall {
  font-size: 0.75rem !important;
  text-decoration: underline !important;
  color: var(--appian-blue-docs-site, #2322f0) !important; 
  margin-bottom: 0.94rem;
  border: none;
  background: none;
}

.exp:after,
.colps:after {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
  transform: rotate(90deg);
  position: absolute;
  top: 0.31rem;
  right: -3.13rem;
}

.colps:after {
  transform: none;
  top: 0.19rem;
}

.version-info-container {
  position: relative;
  display: inline;
}

.version-info-icon {
  height: 1.13rem;
  width: 1.13rem;
}

/* Search filter tags that appear under search bar */
.search-tags-wrapper {
  display: flex; 
  flex-wrap: wrap;
  padding: .5rem 0;
  gap: .8rem;
}

.search-tags-wrapper:has(button.search-tag) {
  padding: 1.0rem 0 2.56rem 0;
}

.search-tag {
  font: inherit; 
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  color: var(--off-black-docs-site);  
  background-color: var(--appian-background-docs-site);
  padding: 2px 10px;
  border-radius: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
  vertical-align: top;
  border: 1px solid var(--off-black-docs-site);
  cursor: pointer;
}

.search-tag-button-icon {
  width: 0.67rem;
  height: 0.67rem;
  background-color: var(--off-black-docs-site);
  mask: var(--url) alpha;
  mask-size: 100%;
  margin-left: 0.69rem;
}

@media (width < 56.5rem) {
  #searchpage-info-icon {
    display: none !important; 
  }
}

/* Overrides for content mobile content browser */
@media only screen and (width < 75rem) {
  .content-browser.show {
    max-width: 360px;
    padding-right: unset; 
  }
}

#mobile-cb-bar-close {
  max-width: 360px;
  padding-right: 2rem;
}