.sub_category_area{
  display: -ms-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.sub_category{
  -webkit-box-flex:0;
      -ms-flex:0 0 25%;
          flex:0 0 25%;
  max-width: 25%;
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 767px) {
  .sub_category {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}
@media (max-width: 480px) {
  .sub_category {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
}
.sub_category a {
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 8px 20px 8px 15px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #FFF;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: #231815;
    border-radius: 60px;
    line-height: 1.2;
    -webkit-transition: 0.25s;
    font-size: 12px;
    border: 2px solid #d2d2d2;
    font-weight: bold;
    width: 100%;
    position: relative;
}

.sub_category a:after {
    content: "";
    top: 50%;
    right: 10px;
    -webkit-transition: 0.25s;
    transition: 0.25s;
    position: absolute;
    width: 4px;
    height: 4px;
    border-top: 2px solid #231815;
    border-right: 2px solid #231815;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

.freespace {
    line-height: 1.8;
}

.sub_category a span:first-child {
    max-width: 30px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 30px;
            flex: 0 0 30px;
}

.sub_category a span:last-child {
    max-width: calc(100% - 30px);
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% - 30px);
            flex: 0 0 calc(100% - 30px);
}
.freespace{
text-align:center;
margin-bottom:20px;
}
