#the_map{
  min-height: 50vh;
  background-color: var(--main-opacity-5)
}
#the_map button:before{
  content:unset;
}
#the_map .gm-style-cc{
  display: none;
}
h1{
  display: none;
}
.close_sidebar{
  display: none;
}
#container>div>.content_wrapper{
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: 2fr 1fr;
  grid-gap: 48px;
}
.results_header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  background-color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 79px;
  z-index: 999;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.admin-bar .results_header{
  top: 111px;
}
.results_header h2{
  margin: 0;
  font-size: 24px;
}
.results_header .sort_view{
  display: flex;
  grid-gap: 0;
  position: relative;
  font-size: 16px;
}
.results_header .sort_view::before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 48px;
  background-color: var(--color-main);
  box-shadow: 0 0 0 8px var(--color-main);
  opacity: 0.1;
}
.results_header .sort_view::after{
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 2em;
  height: 2em;
  background-color: var(--color-main);
  border-radius: 2em;
  transition: 0.3s ease all;
}
.results_view.is_list .results_header .sort_view::after{
  left: 2em;
}
.results_header .sort_view .view_item{
  width: 2em;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  position: relative;
  color: var(--color-main);
  cursor: pointer;
  border-radius: 2em;
  z-index: 99;
}
.results_header .sort_view .view_item svg{
  width: 1em;
  height: 1em;
}
.results_view.is_list .results_header .sort_view .list_choose,
.results_view.is_grid .results_header .sort_view .grid_choose{
  color: #ffffff;
}


.results_view .results_list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}
.results_view.is_list .results_list{
  grid-template-columns: 1fr;
}
.results_view .load_more{
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  text-align: center;
}
.results_view .load_more.active{
  display: flex;
}
#sidebar{
  position: relative;
}
#sidebar::before{
  width: 1px;
  height: 100%;
  position: absolute;
  content: '';
  top: 0;
  left: -24px;
  background-color: rgba(0,0,0,0.12);
}
#sidebar .heading{
  height: 80px;
  display: flex;
  align-items: center;
  align-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
#sidebar .heading h2{
  font-size: 24px;
  margin: 0
}
#sidebar .the_form{
  margin-top:var(--def-gap);
  display: grid;
}
#sidebar .the_search input,
#sidebar .search_preview_text{
  border: 1px solid rgb(0,0,0,0.12);
}

#sidebar input{
  width: 100%;
}

/*------------------------------------------------------------------------------
Popup
------------------------------------------------------------------------------*/
.custom_popup{
  width: 320px;
  position: relative;
}

.custom_popup button{
  opacity: 0;
  pointer-events: none;
}
.popup_wrapper{
  padding-top: 160px;
  padding-bottom: 12px;
}
.popup_wrapper .img{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 160px;
}
.popup_wrapper .name{
  font-size: 18px;
  font-weight: bold;
}
.popup_wrapper .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popup_wrapper .the_popup{
  padding-bottom: 12px;
  display: block;
}
.popup_wrapper .close_it{
  position: absolute;
  right: 16px;
  top:16px;
  font-size: 16px;
  width: 2em;
  height: 2em;
  border-radius: 2em;
  background-color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
