.service-block4 {
    position: relative;
    border: 1px solid #f7f7f7;
    background: #fff;
    box-shadow: 0px 10px 30px 0px rgba(50, 50, 50, 0.16);
    border-radius: 5px;
    overflow: hidden;
    padding: 30px;
}

.service-block4:before {
    position: absolute;
    top: -42px;
    right: -100px;
    z-index: 0;
    content: " ";
    width: 250px;
    height: 120px;
    background: #f7f7f7;
    border-bottom-left-radius: 0;
    transition: all 0.4s ease-in-out;
    transform: rotate(45deg);
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.service-block4:before {
    /* background: #86bc42; */
    background-color: #ffc107;
}

.service-block4 .service-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    text-align: center;
}

.service-block4 i {
    color: #fff;
    font-size: 38px;
    line-height: normal;
    transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    margin-bottom: 0;
}

.service-block4:hover i {
    color: #355efc;
}

.service-block4 .service-desc {
    position: relative;
}

.service-block4 .service-desc h4 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.service-block4 .service-desc h5 {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 500;
}

.service-block4 .service-desc h5:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #86bc42;
    margin-top: 10px;
    margin-bottom: 15px;
    -moz-transition-duration: 0.4s;
    -ms-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.service-block4 p {
    margin-top: 25px;
    padding-right: 10px;
    text-align: justify;
    margin-bottom: 0;
}

@media screen and (max-width: 1199px) {
    .service-block4:before {
        right: -110px;
    }
    .service-block4 .service-desc h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .service-block4 p {
        padding-right: 10px;
        margin-top: 20px;
        text-align: justify;
    }
    .service-block4 i {
        font-size: 34px;
    }
}

@media screen and (max-width: 991px) {
    .service-block4 {
        padding: 25px;
    }
    .service-block4 .service-desc h4 {
        font-size: 15px;
    }
    .service-block4 i {
        font-size: 32px;
    }
    .service-block4 p {
        margin-top: 15px;
        padding-right: 5px;
        text-align: justify;
    }
}

@media screen and (max-width: 767px) {
    .service-block4 {
        padding: 20px;
    }
    .service-block4:before {
        right: -130px;
    }
    .service-block4 i {
        font-size: 28px;
    }
    .service-block4 .service-icon {
        top: 13px;
        right: 12px;
    }
}

.margin-30px-bottom {
    margin-bottom: 30px;
}

/* buttons styles */
.btn3d {
    transition: all 0.08s linear;
    position: relative;
    outline: none;
    -moz-outline-style: none;
    border: 0px;
    margin-right: 10px;
    margin-top: 15px;
    text-align: right;
}
.btn3d:focus {
    outline: medium none;
    -moz-outline-style: none;
}
.btn3d:active {
    top: 9px;
}
/* .btn-default {
    box-shadow: 0 0 0 1px #ebebeb inset,
        0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #adadad,
        0 8px 0 1px rgba(0, 0, 0, 0.4), 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}
.btn-primary {
    box-shadow: 0 0 0 1px #428bca inset,
        0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #357ebd,
        0 8px 0 1px rgba(0, 0, 0, 0.4), 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #428bca;
}
.btn-success {
    box-shadow: 0 0 0 1px #5cb85c inset,
        0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #4cae4c,
        0 8px 0 1px rgba(0, 0, 0, 0.4), 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #5cb85c;
} */
.btn-info {
    box-shadow: 0 0 0 1px #5bc0de inset,
        0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #46b8da,
        0 8px 0 1px rgba(0, 0, 0, 0.4), 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #5bc0de;
}
/* .btn-warning {
    box-shadow: 0 0 0 1px #f0ad4e inset,
        0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #eea236,
        0 8px 0 1px rgba(0, 0, 0, 0.4), 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #f0ad4e;
}
.btn-danger {
    box-shadow: 0 0 0 1px #c63702 inset,
        0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 8px 0 0 #c24032,
        0 8px 0 1px rgba(0, 0, 0, 0.4), 0 8px 8px 1px rgba(0, 0, 0, 0.5);
    background-color: #c63702;
} */
