//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .cms-block-feature-icons {
        .list {
            .lib-list-reset-styles();
            text-align: center;
            .item {
                .circle {
                    background: @color-white;
                    border-radius: 50%;
                    display: inline-block;
                    height: 125px;
                    margin: 0 0 8px;
                    position: relative;
                    width: 125px;
                    .feature-icon {
                        bottom: 0;
                        left: 0;
                        margin: auto;
                        position: absolute;
                        right: 0;
                        top: 0;
                    }
                }
                .feature-icon {
                    width: 60px;
                    &.large {
                        width: 75px;
                    }
                    &.larger {
                        width: 90px;
                    }
                }
                .feature-title {
                    .lib-font-size(15);
                    color: @djo-gray;
                    display: block;
                    font-weight: 700;
                    letter-spacing: 0.12em;
                    margin: 0 auto;
                    text-transform: uppercase;
                }
            }
        }
    }
}


//
//  Mobile
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
    .cms-block-feature-icons {
        .list {
            .item {
                &:not(:last-child) {
                    margin-bottom: 30px;
                }
            }
        }
    }
}


//
//  Desktop
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
    .cms-block-feature-icons {
        .list {
            .lib-clearfix();
            .item {
                box-sizing: border-box;
                float: left;
                margin-bottom: 0;
                padding-left: 5px;
                padding-right: 5px;
                width: 33.3333%;
            }
        }
    }
}

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {
    .cms-block-feature-icons {
        .list {
            margin-left: auto;
            margin-right: auto;
            width: 75%;
        }
    }
}
