﻿.mfp-image-holder .mfp-content {
    max-width: 1280px;
}


.service-grids .service-block .number {
    background-color: #47588f;
    border-radius: 75px;
    color: #fff;
    height: 75px;
    font-size: 30px;
    left: 50%;
    line-height: 75px;
    position: absolute;
    top: -37.5px;
    transform: translateX(-50%);
    width: 75px;
}

.service-grids .service-block .details h4 {
    color: #47588f;
    font-size: 20px;
    margin: 10px 0 15px 0;
    line-height: normal;
}

.service-grids .service-block .details .read-more {
    color: #47588f;
    font-weight: 600;
}

@media screen and (min-width: 992px) {
    .service-grids .service-block {
        height: 443px;
    }

    .service-grids .img-holder:before {
        background-color: rgba(71, 88, 143, 0.6);
        bottom: 20px;
        content: "";
        height: 100%;
        left: 0;
        opacity: 0;
        position: absolute;
        top: auto;
        transition: all 0.3s ease 0s;
        width: 100%;
        z-index: 10;
    }

    .service-grids .service-block .details {
        height: 295px;
        position: absolute;
        top: 168px;
    }

    .service-grids .service-block:hover .details {
        height: 230px;
        top: 135px;
    }
}

@media screen and (min-width: 1200px) {
    .service-grids .service-block {
        height: 470px;
    }

        .service-grids .service-block .details {
            height: 295px;
            position: absolute;
            top: 205px;
        }

        .service-grids .service-block:hover .details {
            height: 330px;
            top: 170px;
        }
}

@media screen and (max-width: 991px) {
    .service-grids .service-block .details {
        padding: 45px 25px 35px;
    }
}

@media screen and (max-width: 767px) {
    .service-grids .service-block .number {
        height: 65px;
        line-height: 65px;
        top: -32.5px;
        width: 65px;
        border-radius: 65px;
    }
}