.services-wrapper {
  width: auto;
  min-height: 400px;
  padding: 15px;
}

.service-container {
  text-align: center;
  margin-top: 25px;
}

.singleservice {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 250px;
  height: 225px;
  /*background-color: #f3f3f3;*/
  background-color: #fff;
  padding: 25px;
  color: #b2b2b2;
  font-family: avenir;
  text-align: left;
  border-bottom: 5px solid #274191;
  vertical-align: top;
  margin: 25px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
}

.singleserviceb {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 250px;
  height: 225px;
  /*background-color: #f3f3f3;*/
  background-color: #fff;
  padding: 25px;
  color: #b2b2b2;
  font-family: avenir;
  text-align: left;
  border-bottom: 5px solid #e4a512;
  vertical-align: top;
  margin: 25px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
}

.singleservice:before,
.singleserviceb:before
{
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(100%);
}

.singleservice:after,
.singleserviceb:after
{
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  border-top: 4px solid transparent;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(-100%);
}

.singleservice:hover:before{
  border-color: #e4a512;
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height  linear .3s
}
.singleservice:hover:after{
  border-color: #e4a512;
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height  linear .3s
}


.singleserviceb:hover:before{
  border-color: #274191;
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height  linear .3s
}
.singleserviceb:hover:after{
  border-color: #274191;
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height  linear .3s
}

@media (min-width:500px) {
  .singleservice, .singleserviceb {
    width: 250px;
  }
}


h2.servicetitle{
    font-size: 13pt;
    font-weight: normal;
    letter-spacing: 1px;
    padding-bottom: 0px;
    text-align: center;
    text-transform: uppercase;
    color: #8c8c8c;
    line-height: 24px;
}

img.serviceicon {
  width: 20%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  opacity: .5;
  width: 50%;
}