.icon-boxes {
    &.light {
        .icon-boxes--title {
            color: #fff;
        }

        .icon-boxes--content {
            color: #ababab;
        }
    }

    &--icon {
        font-size: 14px;
        color: $color__primary;

        i {
            padding: 8px;
            //background-color: #f8f7f7;
            border-radius: 50%;
            @include transit();
        }
    }

    &--title {
        margin-top: 10px;
        margin-bottom: 10px;
        letter-spacing: .05em;
        font-size: 14px;
        font-weight: 700;
        color: #333333;
    }

    &--content {
        color: #696969;
    }

    &.small_icon {
        .icon-boxes--icon, .icon-boxes--title {
            display: inline-block;
        }

        .icon-boxes--title {
            text-transform: uppercase;
        }
    }

    &.icon_on_top {
        text-align: center;

        .icon-boxes--icon {
            font-size: 105px;
            padding-top: 50px;
            background-position: center center;
            background-size: contain;
            background-repeat: no-repeat;
        }

        .icon-boxes--title {
            font-weight: 700;
            margin-top: 20px;
            margin-bottom: 20px;
            position: relative;
            text-transform: uppercase;
        }

        .icon-boxes--link {
            margin-top: 20px;

            a {
                font-size: 18px;
                font-weight: 700;
                color: $color__primary;
                font-style: italic;
                padding-left: 4px;
                letter-spacing: .1em;
                line-height: 34px;
                border: 2px solid #f4f4f4;
                @include transit();

                &:hover {
                    border-color: $color__primary;
                    background-color: $color__primary;
                    color: #fff;
                }

                display: inline-block;
                width: 40px;
                height: 40px;
                border-radius: 100%;
            }
        }

        &:hover {
            .icon-boxes--icon {
                i {
                    margin-left: -20px;
                }
            }

            .icon-boxes--link {
                a {
                    border-color: $color__primary;
                    background-color: $color__primary;
                    color: #fff;
                }
            }
        }
    }

    &.icon_on_top_2 {
        text-align: center;

        .icon-boxes--icon {
            width: 170px;
            height: 170px;
            line-height: 170px;
            text-align: center;
            display: inline-block;
            // background-color: #efefef;
            color: $color__primary;
            font-size: 60px;
            margin-bottom: 30px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            @include transit();
        }

        .icon-boxes--title {
            font-weight: 700;
            margin-top: 20px;
            margin-bottom: 20px;
            position: relative;
            text-transform: uppercase;
        }

        .icon-boxes--link {
            margin-top: 20px;

            a {
                font-size: 18px;
                font-weight: 700;
                color: $color__primary;
                font-style: italic;
                padding-left: 4px;
                letter-spacing: .1em;
                line-height: 34px;
                border: 2px solid #f4f4f4;
                @include transit();
                display: inline-block;
                width: 40px;
                height: 40px;
                border-radius: 100%;
            }
        }

        &:hover {
            .icon-boxes--icon {
                background-color: $color__primary;
                color: #fff;
            }

            .icon-boxes--link {
                a {
                    border-color: $color__primary;
                    background-color: $color__primary;
                    color: #fff;
                }
            }
        }
    }

    &.icon_on_left {
        margin-bottom: 30px;

        .icon-boxes--title {
            margin-top: 0;
            text-transform: uppercase;
        }

        .icon-boxes--icon {
            padding-right: 30px;

            img {
                max-width: none;
            }

            i {
                padding: 13px;
                background-color: #f8f7f7;
                border-radius: 50%;
                @include transit();
            }

            &.text-icon {
                text-align: right;
                vertical-align: top;

                .inner {
                    transform: rotate(-90deg);
                    display: block;
                    line-height: 1.4;
                    font-weight: bold;
                    font-size: 24px;
                    opacity: .3;
                }
            }
        }

        .icon-boxes--icon, .icon-boxes--inner {
            display: table-cell;
            vertical-align: top;
        }
    }
}
