.main-search {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  max-width: 1440px;
  margin-top: 0px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.container-search {
  padding: 40px;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');

*{
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body{
  background: #7fc469;
  color: #565e6b;
}

.cari-form {
  height: 70px;
  background-color: #fff;
  border-radius: 10px;
}

.close-input{
  width: 60px;
  background-color: #fff;
  margin: auto;
  text-align: center;

}

.back-input{
  background-color: #fff;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 20px;
  margin-left: 20px;
  font-size: 18px;
  cursor: pointer;
}

.wrapper{
/*  width: 500px;*/
  height: 100%;
/*  background: #fff;*/
  margin: 15px auto 0;
}

.wrapper .title{
  padding: 30px 20px;
/*  text-align: center;*/
  font-size: 32px;
  font-weight: 700;
  border-bottom: 1px solid #ebedec;
}

.wrapper .tabs_wrap{
/*  padding: 20px;*/
  border-bottom: 1px solid #ebedec;
  overflow-y: scroll;
  background-color: #acd6ca;
  padding-top: 50px;
  padding-bottom: 40px;
}

.wrapper .tabs_wrap ul{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 18px;
  font-weight: 100px;
  font-variant: all-small-caps;
}

.wrapper .tabs_wrap ul li{
  width: auto;
  min-width: 100px;
  text-align: center;
  background: #fff;
  border-right: 1px solid #c1c4c9;
  padding: 13px 15px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-align: center;
  display: list-item;
  alignment-baseline: middle;
  align-self: center;
  justify-content: center;

}

.wrapper .tabs_wrap ul li:first-child{
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.wrapper .tabs_wrap ul li:last-child{
  border-right: 0px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.wrapper .tabs_wrap ul li:hover,
.wrapper .tabs_wrap ul li.active{
  background: #009339;
  color: #fff;
}

.container-search ul{
  padding: 0px;
}

.wrapper .container-search .item_wrap{
  padding: 10px 20px;
  border-bottom: 1px solid #ebedec;
/*  cursor: pointer;*/
}

.wrapper .container-search .item_wrap:hover{
/*  background: #e9ecf1;*/
}

.wrapper .container-search .item{
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.item_wrap .item .item_left{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.item_wrap .item_left img{
  width: 70px;
  height: 70px;
  display: block;
}

.item_wrap .item_left .data{
  margin-left: 20px;
}

.item_wrap .item_left .data .name{
  font-weight: 600;
}

.item_wrap .item_left .data .distance{
  color: #7f8b9b;
  font-size: 14px;
  margin-top: 3px;
}

.item_wrap .item_right .status{
  position: relative;
  color: #77818d;
}

.item_wrap .item_right .status:before{
  content: "";
  position: absolute;
  top: 5px;
    left: -12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b3bbc8;
}

.item_wrap.offline .item_right .status{
  color: #b3bbc8; 
}

.item_wrap.online .item_right .status:before{
  background: #7fc469;
}

@media screen and (max-width: 320px) {

  .search-main-block {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .container-search {
    padding-left: 10px;
    padding-right: 10px;
  }

  .wrapper .tabs_wrap ul{
    justify-content:unset;
    padding-left: 0px;
  }

  .wrapper .tabs_wrap ul li{
    white-space: nowrap;
    min-width: 170px;
    display: block;
  }

}

@media screen and (max-width: 1024px) {

  .search-main-block {
    /*margin-left: 10px;
    margin-right: 10px;*/
  }
  
  .container-search {
    padding-left: 10px;
    padding-right: 10px;
  }

  .wrapper .tabs_wrap ul{
    justify-content:unset;
    padding-left: 0px;
  }

  .wrapper .tabs_wrap ul li{
    white-space: nowrap;
    min-width: 170px;
    display: block;
  }

}