@import '../../../scss/base';
/* Icon Box CSS ----------------------
----------------------------------------*/
.rt-iconbox-area {
    overflow: hidden;
    .box-inner {
        position: relative;
        padding: 40px 25px 20px;
        box-shadow: 0 0 38px 0 rgba(0, 0, 0, .12);
        transition: 0.4s;
        overflow: hidden;
        &:hover {
            box-shadow: 0 8px 38px 0 rgba(0, 0, 0, .20);
        }
        .rs-badge {
            position: absolute;
            background: var(--primaryColor);
            width: 60px;
            height: 60px;          
            border-radius: 50%;
            color: #ffffff;
            left: -4%;
            top: -10%;
            z-index: 1;
            transform: rotate(0deg);
            padding-top: 18px;
            padding-left: 10px;
            font-size: 22px;
            small{
                font-size: 12px;
                color: #fff;
                padding-left: 2px;               
            }
        }
        .icon-area {
            display: inline-block;
            color: var(--primaryColor);
            transition: all ease .3s;
            i {
                transition: all ease .3s;
                font-size: 50px;
            }
        }
        .text-area {
            padding: 10px 0 0;
            position: relative;
            .iconbox-title {
                position: relative;
                .title {
                    font-size: 20px;
                    margin: 0;
                    color: var(--titleColor);
                    font-weight: 500;
                    line-height: 1.5;
                    a {
                        text-decoration: none !important;
                        color: var(--titleColor);

                        &:hover {
                            color: var(--hoverColor);
                        }
                    }
                    &:before {
                        content: "01.";
                        font-size: 50px;
                        font-weight: bold;
                        color: var(--primaryColor);
                        position: absolute;
                        transition: all .3s ease 0s;
                        top: 0;
                        left: 0;
                        z-index: 9;
                    }
                }
            }

            .services-txt {
                font-size: 15px;
                margin: 0;
            }
        }

        .services-btn-part {
            margin: 15px 0 0;

            .services-btn {
                position: relative;
                display: inline-block;
                color: var(--secondaryColor);
                transition: all ease .3s;

                i {
                    transition: all ease .3s;
                }

                &:hover {
                    color: var(--primaryColor);
                }

                &.icon-after {
                    span {
                        float: left;
                    }

                    i {
                        margin-left: 10px;
                        transition: 0.4s
                    }
                }

                &.icon-before {
                    span {
                        float: right;
                    }

                    i {
                        margin-right: 10px;
                    }
                }
            }
        }
    }
    &.iconbox-after-arrow-image {
        .box-inner {
            box-shadow: none;
            overflow: visible;
            .icon-area {
                position: relative;
                .after-arrow-image {
                    position: absolute;
                    width: 100px;
                    height: 21px;
                    right: -150px;
                    top: 68px;
                    z-index: 1;
                }
            }
        }
    }
}