.category-box {
    position: relative;
    height: 200px;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(112, 121, 138, 0.18) !important;
    -webkit-box-shadow: 0 0 20px 0 rgba(112, 121, 138, 0.18) !important;
    border-radius: 6px;
    text-align: center;
    padding: 0px 30px;
    box-sizing: border-box;
    margin-top: 30px;
    overflow: hidden;
    transition: 0.6s linear;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .list-cats-box {
    padding: 15px;
  }
  .category-box .category-desc {
    z-index: 2;
  }
  .category-box .category-desc .category-icon {
    font-size: 40px;
    color: #ff7c39;
    margin-bottom: 10px;
    transition: 0.6s cubic-bezier(0.45, 0.01, 0.1, 1.49);
  }
  .category-box .category-desc i {
    font-size: 40px;
    margin-bottom: 7px;
    transition: 0.6s cubic-bezier(0.45, 0.01, 0.1, 1.49);
  }
  .category-box .category-desc .category-detail h4 {
    font-weight: 500;
    margin-bottom: 0px;
    font-size: 17px;
  }
  .category-box .category-desc .category-detail p {
    margin-bottom: 5px;
    opacity: 0.6;
  }
  .category-box .category-desc .category-detail span {
    font-weight: 400;
    font-size: 14px;
  }
  a.btn.width-170 {
    width: 150px;
    box-shadow: 0 2px 10px 0 #d8dde6;
    border: 1px solid #f9f9f9;
    background: #ffffff;
    padding: 10px;
    border-radius: 50px;
    color: #ff7c39;
    font-size: 16px;
    font-weight: 500;
    transition: 0.6s cubic-bezier(0.45, 0.01, 0.1, 1.49);
  }
  
  .category-box .category-desc i.abs-icon {
    position: absolute;
    bottom: 5px;
    left: 5px;
    opacity: 0;
    transition: all ease-in 0.4s;
    color: #eff1f3;
  }
  
  .category-box:hover i.abs-icon {
    position: absolute;
    bottom: 25px;
    left: 25px;
    opacity: 1;
  }

  .single-moderns-category {
    position: relative;
    padding: 0;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    display: block;
    border: 1px solid #e3e6ef;
    margin: 30px 0 0px;
    color: #fff;
    min-height: auto !important;
    border: 0 none !important;
  }
  .single-moderns-category figure {
    position: relative;
    background: rgba(23, 27, 46, 0.6);
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    margin: 0;
    min-height: 250px;
    max-height: 250px;
  }
  .single-moderns-category img {
    width: 100%;
    object-fit: cover;
    max-width: 100%;
    height: 100%;
    position: absolute;
  }
  .single-moderns-category figure figcaption {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(25, 39, 86, 0.5);
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .single-moderns-category figure figcaption:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #273863;
    z-index: -1;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  .single-moderns-category:hover figure figcaption:before {
    opacity: 0.8;
    visibility: visible;
    z-index: 1;
  }
  .single-moderns-category figure .cat-box {
    position: relative;
    z-index: auto;
  }
  .single-moderns-category figure .icon {
    padding-bottom: 5px;
    text-align: center;
  }
  .single-moderns-category figure .cat-box .icon span,
  .single-moderns-category figure .cat-box .icon i {
    font-size: 2rem;
    color: #ffffff;
  }
  .single-moderns-category figure .cat-info {
    display: block;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .single-moderns-category figure .cat-name {
    color: #fff;
    display: block;
    margin: 0 3px;
    line-height: normal;
    padding-bottom: 0;
  }
  .single-moderns-category figure .cat-box .cat-info .badge {
    font-size: 0.8rem;
    line-height: 1.6rem;
    margin-top: 15px;
    padding: 4px 15px;
    display: inline-block;
    color: #fff;
    box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.3);
    -webkit-box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.3);
  }
  