.service-list-item-wrap {
  margin-bottom: 20px;
}

.service-list-wrapper.classic .text p{
  line-height: 1.8;
}

.service-list-wrapper.classic .text{
  margin-top: 30px;
}

.service-list-wrapper {
  .img-wrap {
    position: relative;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;

    a {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(0, 0, 0, .5);
      color: #ffffff;
      font-size: 30px;
      font-weight: 800;
      text-decoration: none;
      opacity: 0;
      visibility: hidden;
    }
    &:hover a {
      opacity: 1;
      visibility: visible;
    }
  }

  .flex-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .content-wrap {
    position: relative;
    width: 90%;
    margin: -20px auto 0;
    padding: 30px;
    background-color: #ffffff;
    -webkit-transition: margin .3s ease;
    -o-transition: margin .3s ease;
    transition: margin .3s ease;
    cursor: pointer;
    &:hover {
      margin-top: -30px;
    }
  }
  .counter {
    position: absolute;
    right: 20px;
    top: -38px;
    color: #f54ea2;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: .2px;
  }
  .title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    &:hover {
      opacity: .7;
    }
  }
  .text {
    margin: 20px 0;
    color: #999999;
    font-size: 14px;
    letter-spacing: .2px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    p {
      margin-bottom: 10px;
    }
  }
  &.classic {
    .content-wrap {
      width: 100%;
      margin-top: 0;
      padding: 60px 0 15px;
      &:hover {
        margin-top: 0;
      }
    }
    .title {
      position: relative;
      z-index: 1;
      font-size: 20px;
    }
    .counter {
      top: 15px;
      right: auto;
      left: 0;
      color: #eeeeee;
      font-size: 80px;

    }
  }
}

@media only screen and (max-width: 991px) {
  .service-list-wrapper {
    .img-wrap {
      min-height: 200px;
    }
    .content-wrap {
      padding: 15px;
    }
  }
}

@media only screen and (max-width: 768px) {
  .service-list-wrapper {
    .content-wrap {
      text-align: center;
      padding-bottom: 40px;
    }
    &.classic {
      .counter {
        top: 21px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
      }
    }
  }
  .service-list-item-wrap {
    margin-bottom: 0px;
  }
}