.search .button-view-map {
  display: flex;
  position: absolute;
  right: 0rem;
  height: 6rem;
  width: 6rem;
  top: calc((100vh - 5rem) / 2);
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0.1rem 0.1rem 1rem rgba(21, 21, 21, 0.2509803922);
  border-radius: 50% 0 0 50%;
  background-color: #fff;
  transform: translateX(100%);
  animation: openBtViewMap 0.5s 0.5s forwards;
  z-index: 804;
}
.search .button-view-map::before {
  display: flex;
  height: 3.6rem;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='36' height='36'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M4 6.143v12.824l5.065-2.17 6 3L20 17.68V4.857l1.303-.558a.5.5 0 0 1 .697.46V19l-7 3-6-3-6.303 2.701a.5.5 0 0 1-.697-.46V7l2-.857zm12.243 5.1L12 15.485l-4.243-4.242a6 6 0 1 1 8.486 0zM12 12.657l2.828-2.829a4 4 0 1 0-5.656 0L12 12.657z' fill='%23008a35'/%3E%3C/svg%3E");
}
.search .map.on ~ .button-view-map {
  right: unset;
  left: 0;
  border-radius: 0 50% 50% 0;
  transform: translateX(-100%);
  animation: openBtViewList 0.5s 0.5s forwards;
}
.search .map.on ~ .button-view-map::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='36' height='36'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M20 22H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1zm-1-2V4H5v16h14zM8 7h8v2H8V7zm0 4h8v2H8v-2zm0 4h8v2H8v-2z' fill='%23008a35'/%3E%3C/svg%3E");
}
@keyframes openBtViewMap {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes openBtViewList {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@media screen and (max-width: 999px) {
  .search .button-view-map {
    display: flex;
  }
}
.search .search_container .container_fields {
  width: 100%;
  height: 8rem;
  position: relative;
  z-index: 1001;
  padding: 1.7rem 0.5rem;
  box-shadow: 0 0 0.5rem rgba(21, 21, 21, 0.2509803922);
  background-color: #fff;
  display: flex;
  justify-content: space-around;
}
.search .search_container .container_fields input {
  height: 100%;
  width: 100%;
  font-size: 1.6rem;
  line-height: 2rem;
  margin-left: 0.8rem;
}
.search .search_container .container_fields .search {
  display: flex;
  align-items: center;
  width: 50%;
  box-shadow: 0 0 0.2rem rgba(21, 21, 21, 0.6666666667);
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 0 0 0 0.5rem;
}
.search .search_container .container_fields .search::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z' fill='rgba(21,21,21,0.6)'/%3E%3C/svg%3E");
  width: 2.4rem;
  height: 2.4rem;
  z-index: 1;
  border-right: 1px solid rgba(21, 21, 21, 0.4666666667);
  padding: 0 0.6rem 0 0;
}
.search .search_container .container_fields button[type="submit"] {
  width: 4.6rem;
  height: 4.6rem;
  background-color: var(--st-primary);
  border: none;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search .search_container .container_fields button[type="submit"]::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9-9-4.032-9-9 4.032-9 9-9zm0 16c3.867 0 7-3.133 7-7 0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7zm8.485.071l2.829 2.828-1.415 1.415-2.828-2.829 1.414-1.414z' fill='rgba(255,255,255,1)'/%3E%3C/svg%3E");
  width: 2.4rem;
  height: 2.4rem;
}
@media screen and (max-width: 480px) {
  .search .search_container {
    width: 100vw;
    height: calc(100vh - 10rem);
    display: block;
  }
  .search .search_container .container_fields button[type="submit"] {
    display: none;
  }
  .search .search_container .container_fields #categories-selectbox {
    width: 48%;
  }
  .search .search_container .container_fields .search {
    width: 48%;
  }
}
.search .search_container {
  position: relative;
  width: 100vw;
  height: calc(100vh - 10rem);
  display: flex;
  flex-direction: row-reverse;
  background-color: #fafafa;
}
.search .search_container > .container_results {
  transition: all 0.5s;
  border-right: 0.1rem solid rgba(21, 21, 21, 0.2509803922);
  height: 100%;
  width: 60rem;
}
.search header.chapadatem-header > .container {
  width: calc(100% - 6rem);
}
.search header.chapadatem-header > .container .container-search {
  display: none;
}
@media screen and (max-width: 999px) {
  .search header.chapadatem-header > .container {
    width: 100%;
  }
  .search .container-search {
    display: unset;
  }
  .search .search_container > .container_results {
    border-right: none;
    width: 100%;
  }
  .search .search_container > div {
    width: 100%;
  }
}
.search .loading {
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  opacity: 0;
}
.search .loading.on {
  z-index: 1000;
  animation: loadingIn 0.5s forwards;
}
.search .loading.off {
  animation: loadingOut 0.5s forwards;
}
.search .loader {
  animation: is-rotating 1s infinite;
  border: 0.8rem solid #e5e5e5;
  border-radius: 50%;
  border-top-color: var(--st-primary);
  height: 7rem;
  width: 7rem;
}
@keyframes is-rotating {
  to {
    transform: rotate(1turn);
  }
}
@keyframes loadingIn {
  to {
    opacity: 1;
  }
}
@keyframes loadingOut {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    z-index: -1;
  }
}
.search .search_container.map-full .map {
  width: 100%;
}
.search .search_container.map-full > .container_results {
  overflow: hidden;
  width: 0;
}
.search .search_container.map-full .container_fields {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 60rem;
  border-radius: 1rem;
  height: 6rem;
  padding: 0.8rem;
  justify-content: space-between;
  transition: all 0.5s;
}
.search .search_container.map-full #map {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 999px) {
  .search .search_container.map-full .container_fields {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0;
    height: 6rem;
    width: 100%;
  }
}
.search .map {
  transition: all 0.5s;
  width: calc(100% - 60rem);
  height: 100%;
}
.search #map {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 999px) {
  .search .map {
    top: 8rem;
    position: absolute;
    transform: translateX(100%);
    transition: all 0.5s;
    z-index: 1;
    height: calc(100% - 8rem);
    width: 100vw;
  }
  .search .map.on {
    transform: translateX(0);
  }
  .search .chapadatem-header > .container {
    justify-content: unset;
  }
  .search #logo-st {
    margin: auto;
  }
}
.search .no-result-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  text-align: center;
  padding: 2rem;
}
.search .no-result-search h2 {
  font-size: 4rem;
}
.search .no-result-search h6 {
  font-size: 2rem;
}
.search .no-result-search p {
  font-size: 1.6rem;
}
.search .no-result-search h3 {
  font-size: 3rem;
}
.search .results {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100% - 8rem);
  padding: 0rem;
  overflow-y: auto;
  overflow-x: hidden;
}
.search .result {
  position: relative;
  padding: 1rem 2rem;
  transition: all 0.3s;
}
.search .result:hover {
  background-color: #e7e7e7;
}
.search .result > a.content {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
}
.search .result > a.content:hover {
  text-decoration: none;
}
.search .result > a.content .infos {
  position: relative;
  color: #151515;
  width: calc(100% - 10rem);
}
.search .result > a.content .infos h2 {
  font-size: 2rem;
  font-weight: 700;
}
.search .result > a.content .infos p {
  text-indent: 1rem;
  font-size: 1.6rem;
  line-height: 2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.search .result > a.content .infos .data-infos {
  font-size: 1.3rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.search .result > a.content .infos .data-infos span {
  display: flex;
  flex-direction: row;
  gap: 0.3em;
  align-items: center;
}
.search .result > a.content .infos .data-infos span span {
  display: inline;
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search .result > a.content .infos .data-infos span::before {
  width: 2rem;
  height: 2rem;
  display: flex;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.search .result .thumbnail {
  width: 10rem;
  height: 10rem;
  overflow: hidden;
  border-radius: 1rem;
}
.search .result .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.search .result .category {
  position: absolute;
  right: 1rem;
  top: 0;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border: none;
  box-shadow: 0 0 0 #000;
}
.search .result .category::before {
  display: none;
}
.search .result .category::after {
  display: none;
}
.search .result .rating {
  position: absolute;
  bottom: 0.2rem;
  right: 2rem;
  border: 0.2rem solid var(--st-primary);
  color: var(--st-primary);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  padding: 0.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  text-align: center;
}
@media screen and (max-width: 999px) {
  .search .result {
    padding: 1rem 0rem;
  }
  .search .result > a.content .infos h2 {
    font-size: 1.7rem;
    font-weight: 700;
  }
  .search .result > a.content .infos p {
    text-indent: 0rem;
    font-size: 1.4rem;
    line-height: 1.6rem;
    -webkit-line-clamp: 1;
  }
  .search .result > a.content .infos .data-infos {
    gap: 0.1rem;
    flex-direction: column;
    align-items: normal;
  }
  .search .result > a.content .infos .data-infos span span {
    max-width: calc(100% - 2.5rem);
  }
}
