.z-service{
  text-align: center;
  .content {
    h2 {
      @include transition;
      font-weight: 400;
      @media screen and (max-width: 959px){
        font-size: 16px;
      }
    }
  }
  a {
    &:hover{
      text-decoration: none;
    }
  }
  &.orange{
    h2 {
      color: $brandcolor;
    }
    a {
      &:hover{
        h2{
          color: $blue;
        }
      }
    }
  }
  &.blue{
    h2 {
      color: $blue;
    }
    a {
      &:hover{
        h2{
          color: $brandcolor;
        }
      }
    }
  }
  .text{
    display: none;
    @media (min-width: 960px){
      display: block;
    }
  }
}
.z-services-wrapper{
  position: relative;
  display: block;
  .service-column{
    float: left;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 20px;
    &:nth-child(3n){
      margin-right: 0;
    }
    .z-service{
      .icon{
        img{
          @media (max-width: 959px){
            max-width: 60%;
          }
        }
      }
    }
  }
}

.z-service-thumb{
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  > a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
  }
  img{
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }
  .title{
    @include transition;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 0;
    background-color: $btnhovercolor;
    font-size: 17px;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
  }
  &::before{
    @include transition;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
  }
  .content{
    height: 220px;
    position: relative;
  }
  &:hover{
    .title{
      background-color: $brandcolor;
    }
    &::before{
      background-color: rgba(0,0,0,.2);
    }
  }
}