﻿.serviceBox {
    padding-bottom: 5px;
    border-radius: 0 10px 10px 10px;
    background: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0s;
    width: 165px;
    margin: 0 10px;
    box-shadow: 0 2px 10px 2px #ddd;
}

    .serviceBox:hover {
        box-shadow: 0 2px 10px 2px #ddd;
    }

    .serviceBox:before {
        content: "";
        display: inline-block;
        width: 170px;
        height: 15px;
        border-radius: 10px 10px 0 0;
        background: #f8c222;
        z-index: -1;
        position: absolute;
        top: -15px;
        left: 0;
    }

    .serviceBox .service-icon {
        width: 157px;
        height: 55px;
        background: #f8c222;
        font-size: 40px;
        margin-bottom: 60px;
        position: relative;
        transition: all 0.5s ease 0s;
    }

        .serviceBox .service-icon:after {
            content: "";
            width: 113px;
            height: 110px;
            background: #f8c222;
            border-radius: 0 0 20px 0;
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%) scale(1,0.7) rotate(45deg);
        }

        .serviceBox .service-icon span {
            display: block;
            font-size: 50px;
            color: #fff;
            position: absolute;
            top: 0;
            left: 50%;
            z-index: 1;
            transform: translateX(-50%) rotateX(360deg);
            transition: all 0.3s ease 0s;
        }

    .serviceBox:hover .service-icon span {
        transform: translateX(-50%) rotateX(0);
    }

    .serviceBox .title {
        font-size: 20px;
        color: #505050;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0 0 10px 0;
        transition: all 0.3s ease 0.1s;
    }

    .serviceBox:hover .title {
        color: #FFA726;
    }

    .serviceBox .description {
        padding: 0 10px;
        font-size: 15px;
        color: #505050;
        line-height: 27px;
        margin-bottom: 15px;
        transition: all 0.3s ease 0s;
    }

.serviceBox {
    margin-bottom: 30px;
}
