
/*-------------------------------------------------------
 10.Service section style
---------------------------------------------------------*/
.service-grid-s1 .grid{
  display: block;
  background: #fff;
  padding: 20px;
  position: relative;
  border:1px solid #ccc;
  margin-bottom: 1px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all .3s;
  margin-bottom: 30px;
  z-index: 1;
}
.service-grid-s1 .grid:after{
  position: absolute;
  content: '';
  height: 100%;
  left: 0;
  top: 0;
  width: 0%;
  background:#055DB6;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -ms-transition: all 0.6s;
  transition: all .6s;
  z-index: -1;
}
.service-grid-s1 .grid:hover:after {
  width: 100%;
}
.service-grid-s1 .grid:hover{
  border-color: #055DB6;
}

.service-grid-s1 .grid  .icon i {
    height: 80px;
    width: 80px;
    line-height: 74px;
    border: 5px solid #f6f6f6;
    margin: 0 auto;
    text-align: center;
    display: block;
    color: #055DB6;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 37px;
}

.service-grid-s1 .grid h3{
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 .9em;
  text-align: center;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all .5s;
}

.service-grid-s1 .grid h3 a{
  color: #051429;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all .5s;
}
.service-grid-s1 .grid .details{
  text-align: center;
}
.service-grid-s1 .grid .details p{
  font-size: 14px;
  font-weight: 24px;
  color: #222;
  margin: 0;
}

.service-grid-s1 .grid:hover .icon i {
  color: #fff;
  border-color:#fff;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all .5s;
}
.service-grid-s1 .grid:hover h3 a{
  color: #fff;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -ms-transition: all 0.5s;
  transition: all .5s;
}
.service-grid-s1 .grid:hover .details p{
  color: #fff;
}