.cmswt-CollectionMenu,
.cmswt-Sort {
  display: none;
}

.cmswt-Filter--heading {
font-weight: 600;
margin: 0;
  padding: 10px 20px;
background-color: #F0FDF4;
word-break: break-all;
}
.cmswt-SearchBox--wrapper {
background-color: #FBFEFF;
border-radius: 12px;
  border: 1px solid #EBF5FA;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

}
.cmswt-SearchBox {
  padding: 20px;
}
.cmswt-SearchBox--text {
  margin-top: 15px;
  display: block;
}
.cmswt-InstantSearch .ais-SearchBox-input {
  border-radius: 92px;
  border-color: #EBF5FA;
padding-left: 40px;
}
.cmswt-InstantSearch .ais-SearchBox-form::after {
  left: 5%;
}
.cmswt-Filter {
  display: flex;
  flex-direction: column-reverse;
background-color: #FBFEFF;
  border-radius: 12px;
border: 1px solid #EBF5FA;
margin-bottom: 20px;
}

/*CSS for premium facet filter*/

.cmswt-Filter-premium_facet {
border-top: none;
border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.cmswt-InstantSearch .cmswt-Filter-premium_facet .ais-Panel-header::after {
  z-index: -1;
}

.cmswt-Filter-premium_facet .ais-RefinementList-count {
  display: none;
}





.cmswt-Filter .ais-Panel {
  padding: 0 20px;
}

.ais-RefinementList-count {
  background-color: transparent;
}

.ais-RefinementList-count::before {
  content: "(";
}
.ais-RefinementList-count::after {
  content: ")";
}

/* @media only screen and (min-width: 768px) {
  .cmswt-FilterPanel {
    width: 20%;
  }
 .cmswt-MainPanel {
    width: calc(80% - 1em);
  }
} */
.ais-RefinementList-labelText {
  margin-left: .5rem;
}
.ais-RefinementList-item {
  margin-bottom: 1rem;
}
.ais-RefinementList-checkbox:checked {
  accent-color: #17D92E;
}
.ais-Panel-header {
  text-transform: none;
  border-bottom: none;
}

.ais-Panel-header .ais-Panel-collapseButton:hover,
.ais-Panel-header .ais-Panel-collapseButton:focus {
background-color: transparent;
}
/*Show the toggle arrows*/
.cmswt-InstantSearch .ais-Panel-header::after {
  z-index: 0;
}

.cmswt-InstantSearch .ais-RefinementList-showMore {
  padding: 0;
  background-color: transparent;
  color:  #17D92E;
}
.cmswt-InstantSearch button:focus {
  background-color: transparent !important;
}
.cmswt-InstantSearch .ais-RefinementList-showMore:hover {
  background-color: transparent;
}
.ais-RefinementList-showMore::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2713%27 height=%277%27 fill=%27none%27%3E%3Cpath fill=%27%23696969%27 d=%27M11.67 0 6.5 4.623 1.33 0 0 1.189 6.5 7 13 1.189z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  content: " ";
  display: inline-block;
  height: 7px;
  width: 14px;
margin-right: 1rem;
}


/*Results design*/
.cmswt-Results--title {
  font-weight: 800;
  font-size: 35px;
  margin-top: 0;
}
.cmswt-Results--title span {
  color: #00B0FF;
}
.cmswt-Stats {
margin-bottom: 1rem;
}
.ais-Hits-list {
  gap: 2rem;
}
.ais-Hits-item {
border: 1px solid #EBF5FA;
  box-shadow: 0px 0.93px 1.86px 0px #0000000D !important;
  padding: 10px 10px;
  gap: 1.5rem;
  height: 250px;
}
.cmswt-Results .hit-content {
width: 60%;
margin-top: 0;
}
.hit-content .title {
  color: #00080D;
font-weight: 700;
  font-size: 24px;
  margin-left: 10px;
}
.hit-ratings {
  margin-bottom: 10px;
}
.hit-meta {
  margin-left: 10px;
margin-top: 10px;
  margin-bottom: 10px;
}
.hit-badges {
display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
width: 35%;
}

.office-recommended {
display: flex;
  gap: .5rem;
  border: 1px solid #EBF5FA;
  border-radius: 24px;
  padding: 5px 10px;
  background-color: #00B0FF0D;
  color: #00B0FF;
}
.office-recommended img {
object-fit: contain;
}
.office-name {
  width: 25%;
}
.ais-RefinementList-labelText {
  word-break: break-all;
}
.hit-address {
  display: flex;
  align-items: center;
}

.hit-address img {
  object-fit: none;
  width: 5%;
}

.elementor .hit-header--link img {
  border-radius: 5px;
  height: 225px !important;
}

/*Pagination*/
.cmswt-InstantSearch .ais-Pagination-link {
  padding: 5px 14px;
}
.cmswt-InstantSearch .ais-Pagination-link:hover,
.cmswt-InstantSearch .ais-Pagination-item--selected .ais-Pagination-link {
  background-color: #EBF5FA;
  color: #00B0FF;
}

/*Media query*/
@media (max-width: 768px) {
.ais-Hits-item {
  display: flex;
flex-direction: column;
  align-items: center;
  height: auto;
}
.hit-header{
  width: 100%;
}
.cmswt-Results .hit-content {
  width: 100%;
text-align: center;
}
.hit-address {
  align-items: center;
  justify-content: center;
}
.cmswt-InstantSearch .ais-SearchBox-input {
  padding-left: 60px;
}
.cmswt-Stats {
  display: block;
}
.elementor .hit-header--link img {
  object-fit: contain;
}
.cmswt-Results .hit-cats {
  justify-content: center;
}
}

@media (max-width: 850px) {
  .cmswt-InstantSearch {
    display: block;
  }
  .cmswt-FilterPanel,
  .cmswt-MainPanel {
    width: 100%;
  }
}