/* 5. home_cp_list */
.grey-bg {
    background: rgb(245, 247, 252);
}
.f-left {
    float: left;
}

.categories-wrapper {
  background: #ffffff;
  padding: 30px 30px 26px;
  position: relative;
  transition: 0.3s;
}
.categories-wrapper::before {
  background-image: url("../img/shape.png");
  background-repeat: repeat;
  content: "";
  height: 100%;
  position: absolute;
  transition: all 0.3s ease 0s;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0;
}

.categories-wrapper:hover::before {
  opacity: 1;
}

.categories-wrapper.active::before {
  opacity: 1;
}

.categories-icon {
  margin-right: 25px;
  margin-top: 3px;
  position: relative;
  z-index: 2;
}
.categories-icon i {
  font-size: 35px;
  color: #34495e;
  transition: 0.3s;
}

.categories-wrapper:hover .categories-icon i {
  color: #ffffff;
}

.categories-wrapper.active .categories-icon i {
  color: #ffffff;
}

.categories-text {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.categories-text h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  letter-spacing: -0.3px;
  transition: 0.3s;
}
.categories-text span {
  color: #667488;
  font-weight: 400;
  font-size: 14px;
  transition: 0.3s;
}

.categories-wrapper:hover .categories-text h4 {
  color: #ffffff;
}
.categories-wrapper:hover .categories-text span {
  color: #ffffff;
}

.categories-wrapper.active .categories-text h4 {
  color: #ffffff;
}
.categories-wrapper.active .categories-text span {
  color: #ffffff;
}

.cat-button {

  right: 35px;

}
.cat-button a {
  font-size: 13px;
  line-height: 36px;
  display: inline-block;
  height: 38px;
  width: 40px;
  border: 2px solid #dfdfdf;
  text-align: center;
  color: #34495e;
  transition: 0.3s;
}
@media (max-width: 767px) {
  .cat-button {
    position: relative;
    margin-top: 15px;
    margin-left: 29px;
    z-index: 99;
    top: inherit;
    right: inherit;
  }
}

.categories-wrapper:hover .cat-button a {
  border-color: #ffffff;
  background: #ffffff;
}


.categories-wrapper.active .cat-button a {
  border-color: #ffffff;
  background: #ffffff;
}