﻿.img-service{
    height: 360px;   
}

.padd-rt-25{
    padding-right: 25px;
}
.row .row{
    margin-top: 60px;
}
.card-link{
    margin-top: 20px;
}
.card-outer{
    padding-top: 0;
}
.card-title{
    margin-top: 0;
}
.col-lg-img{
    max-height: 420px;
    overflow: hidden;
    
}
.vertical{
    position: relative;
    padding-top: 75px;
}
.hero-sub .container-fluid{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    height: 430px;
}
   
@media (max-width: 991px){
    .vertical{
        transform: translateY(0);
    }
    .card-outer{
        padding-top: 35px;
        padding-bottom: 95px;
        
    }
    .row .row{
        margin-top: 0;
    }
    
}

@media only screen and (min-width : 150px) and (max-width : 780px) {
  
  .float-left .card-outer{
        /*padding-left: 20px;*/
        padding-right: 0;
    }
}

/*Services hero fix*/
.hero-sub{
    background-position: top center;
}
@media (max-width:991px){
     .hero-sub {
         background-position: 25% 0;
     }
     .vertical{
        padding-top: 0;
    }
}
@media screen and (max-width:768px){
    .hero-sub {
        height: 375px;
        background-position: 65% 0;
        /* background-size: auto 110%; */
    }
}