.search-bar__trigger {
  display: block;
}
.search-bar__trigger .icon {
  display: block;
}

#search-bar__trigger__mobile-wrapper {
  order: 3;
  font-size: 22px;
  display: flex;
  align-items: center;
}

#search-bar {
  --search-bar-close-left: #222;
  --search-bar-height: auto;
  --search-bar-close-color: #222;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
}
html.search-bar-open #search-bar {
  pointer-events: auto;
}
#search-bar #search-bar__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.2s ease;
  backdrop-filter: blur(5px);
}
html.search-bar-open #search-bar #search-bar__overlay {
  opacity: 1;
}
#search-bar #search-bar__form {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  transition: var(--search-bar--transition, all 0.2s ease);
  background-color: var(--search-bar--background-color, #F5F5F5);
  box-shadow: var(--search-bar--box-shadow, 0 3px 40px rgba(0, 0, 0, 0.2));
  margin: 60px auto auto;
  max-width: var(--search-bar--max-width, 560px);
  border-radius: var(--border-radius);
  height: var(--search-bar-height, 80px);
  font-size: var(--search-bar--font-size, 22px);
}
@media (max-width:1024px) {
  #search-bar #search-bar__form {
    font-size: 18px;
    height: var(--search-bar-height, 60px);
  }
}
@media (max-width:640px) {
  #search-bar #search-bar__form {
    margin: 10px 10px 10px;
  }
}
#search-bar #search-bar__form #search-bar__input-wrapper {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 10px;
  align-items: center;
  width: 80%;
  max-width: calc(var(--grid-row-max-width) - var(--grid-gap));
  margin: 0;
  height: 100%;
  padding: 1rem;
}
#search-bar #search-bar__form #search-bar__input {
  height: 100%;
  font-size: 1em;
  margin: 0;
  text-align: left;
  padding-left: 2.4em;
  padding-right: 1em;
  border-radius: calc(var(--border-radius) / 2);
  background-image: url("../../multimedia/imagem/icon_search.svg");
  background-size: 1.4em;
  background-position-x: 0.5em;
  background-position-y: center;
  background-repeat: no-repeat;
}
#search-bar #search-bar__form #search-bar__input::-webkit-search-decoration, #search-bar #search-bar__form #search-bar__input::-webkit-search-cancel-button, #search-bar #search-bar__form #search-bar__input::-webkit-search-results-button, #search-bar #search-bar__form #search-bar__input::-webkit-search-results-decoration {
  display: none;
}
#search-bar #search-bar__form #search-bar__close {
  margin: 0;
  background-color: transparent;
  padding: 0;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}
@media (max-width:1024px) {
  #search-bar #search-bar__form #search-bar__close:after {
    content: "";
    position: absolute;
    height: 20px;
    width: var(--search-bar-close-stroke-width, 2px);
    background-color: var(--search-bar-close-color, #222);
    left: calc(50% - var(--search-bar-close-stroke-width, 2px) / 2);
    top: calc(50% - 10px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  #search-bar #search-bar__form #search-bar__close:before {
    content: "";
    position: absolute;
    height: 12px;
    width: 12px;
    border: solid var(--search-bar-close-stroke-width, 2px);
    border-color: var(--search-bar-close-color, #222) var(--search-bar-close-color, #222) transparent transparent;
    transform-origin: center center;
    transform: translate3d(-50%, 0, 0) rotate(-45deg);
    left: 50%;
    top: calc(50% - 9px);
  }
}
@media (min-width:1025px) {
  #search-bar #search-bar__form #search-bar__close {
    align-self: flex-start;
    margin-top: calc(var(--search-bar-close-top, 10px) - 10px + 2.8px);
  }
  #search-bar #search-bar__form #search-bar__close:before, #search-bar #search-bar__form #search-bar__close:after {
    content: "";
    position: absolute;
    height: 20px;
    width: var(--search-bar-close-stroke-width, 2px);
    background-color: var(--search-bar-close-color, #222);
    left: calc(50% - 1px);
    top: calc(50% - 10px);
  }
  #search-bar #search-bar__form #search-bar__close:before {
    transform: rotate(45deg);
  }
  #search-bar #search-bar__form #search-bar__close:after {
    transform: rotate(-45deg);
  }
}
html.search-bar-open #search-bar #search-bar__form {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

#search-bar #search-bar__form {
  --search-bar--max-width: 100%;
  --search-bar--background-color: white;
  margin: 0 auto;
  padding: 40px 0;
  font-size: 22px;
}
@media (max-width:1024px) {
  #search-bar #search-bar__form {
    font-size: 18px;
    height: var(--search-bar-height, 100px);
  }
}
#search-bar #search-bar__form #search-bar__input-wrapper {
  place-self: center;
  height: 80px;
  padding: 0 1rem;
}
@media (max-width:1024px) {
  #search-bar #search-bar__form #search-bar__input-wrapper {
    width: 80%;
  }
}
@media (max-width: 640px) {
  #search-bar #search-bar__form #search-bar__input-wrapper {
    width: 100%;
  }
}
#search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input {
  background-color: hsl(0deg, 0%, 95%);
  border-color: transparent;
  box-shadow: none;
  border: none !important;
  text-align: center;
  border-radius: 50px;
  transition: background-color 0.2s ease;
}
#search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input:hover, #search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input:focus {
  outline: none !important;
  border: none !important;
}
#search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input:focus {
  background-color: hsl(0deg, 0%, 93%);
}
#search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input::-webkit-search-decoration, #search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input::-webkit-search-cancel-button, #search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input::-webkit-search-results-button, #search-bar #search-bar__form #search-bar__input-wrapper #search-bar__input::-webkit-search-results-decoration {
  display: none;
}

#area-pesquisa #area-pesquisa__form-pesquisa {
  background-color: var(--form-pesquisa-bg, #F5F5F5);
  border-radius: 0px;
  padding: 2rem;
}
@media (max-width: 640px) {
  #area-pesquisa #area-pesquisa__form-pesquisa {
    padding: 2rem;
    text-align: left;
  }
  #area-pesquisa #area-pesquisa__form-pesquisa .titulo--default-margin-bottom {
    font-size: 1rem;
  }
}
#area-pesquisa #area-pesquisa__results-tabs {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin: 2rem 0;
  padding: 2px 0;
}
#area-pesquisa #area-pesquisa__results-tabs button {
  margin: 0;
  display: inline-flex;
  gap: 5px;
  flex-wrap: nowrap;
}
#area-pesquisa #area-pesquisa__results-tabs button .num {
  border-radius: 10px;
  height: 1.2em;
}
#area-pesquisa #area-pesquisa__results-tabs-content a:hover * {
  color: inherit;
}
#area-pesquisa #area-pesquisa__results-tabs-content--areas {
  display: grid;
  gap: 2rem;
}