.li_sort{
  width:90%;
  max-width:300px;
  position:relative;
  z-index:3;
}
.li_sort .my_head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  background:var(--color);
  color:#fff;
  font-size:24px;
  padding:20px 0 20px 20px;
}
.li_sort .sort_box{
  display:block;
  padding-top:5px;
}
.li_sort .sort_list{
  position:relative;
}
.li_sort .sort_name{
  position:relative;
  padding:10px 0 10px 20px;
  font-size:15px;
  line-height:30px;
  color:#333;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
  white-space:nowrap;
  background:#f3f3f3;
  transition:all 0.35s ease;
  border-bottom:1px #dededf solid;
}
.li_sort .sort_child{
  min-width:100%;
  left:100%;
  position:absolute;
  display:none;
  top:0;
  border-left:1px solid #eee
}
.li_sort .sort_icon{
  display:none;
}
.li_sort .sort_name2{
  white-space:nowrap;
}
.li_sort .sort_list:last-child{
  margin-right:0;
}
.li_sort .sort_list:hover .sort_child{
  display:block;
}
.li_sort .sort_name:hover{
  background:var(--color);
  color:#fff;
}
.li_sort .sort_name.sort_click{
  background:var(--color);
  color:#fff;
}
@media(max-width:768px){
  .li_sort{
    width:100%;
    max-width:100%;
    margin-bottom:30px;
  }
  .li_sort .my_head{
    margin-top:20px;
    font-size:17px;
    padding:12px 30px;
  }
  .li_sort .btn_text{
    font-size:12px;
    padding-left:20px;
  }
  .li_sort .btn_text:before{
    content:'Click Show';
  }
  .li_sort .my_head.active .btn_text:before{
    content:'Click Hide';
  }
  .li_sort .sort_box{
    position:absolute;
    width:100%;
    padding:0;
    max-height:0;
    overflow:hidden;
    transition:all 0.5s ease;
  }
  .li_sort .sort_box.active{
    max-height:700px;
  }

  .li_sort .sort_name{
    font-size:14px;
    line-height:20px;
    padding:12px 0 12px 30px; 
  }
  .li_sort .sort_icon{
    position:absolute;
    display:block;
    right:10px;
    width:44px;
    height:44px;
    line-height:43px;
    text-align:center;
    display:block;
    top:0;
    background:#f9f9f9;
    color:var(--color);
    transition:all 0.5s ease;
  }
  .li_sort .sort_child{
    min-width:0;
    width:100%;
    position:static;
    display:block;
    overflow:hidden;
    max-height:0;
    border-top:1px solid #eee;
  }
  .li_sort .sort_name2{
    padding-left:50px;
    font-size:13px;
  }
  .li_sort .sort_icon .e_icon{
    display:inline-block;
    transition:all 0.25s ease;
  }
  .li_sort .sort_list.active  .sort_icon .e_icon{
    transform: rotate(90deg);
  }
  .li_sort .sort_list.active  .sort_child{
    max-height:200px;
    transition:all 0.5s ease;
  }

}