/* Member */

article {
    &.member {
        h2 a,
        h4 a {
            text-decoration: none;
        }
    }
}

.member-container-top {
    padding-top: 35px;
}

.member-container-bottom {
    padding-bottom: 35px;
}

.member-image {
    margin-bottom: 15px;
    &.single {
        margin-bottom: 30px;
    }
}

.member-slideshow {
    text-align: center;
}
.member-title {
    margin-bottom: -10px;
    a {
        display: inline-block;
    }
    .fa {
        font-size: 2.5em;
    }
}

.member-share-links {
    padding: 15px 0;
    border-top: if-light(1px solid #ddd, 1px solid lighten($color-dark, 12%));

    a {
        border-radius: 500px;
    }
}

.member-row {
    position: relative;
    margin: 0 (-($grid-gutter-width / 2));

    .member {
        float: $left;
        padding: 0 ($grid-gutter-width / 2);
        margin-bottom: $grid-gutter-width;
        width: 100%;
    }

    .member-col-2 {
        width: 50%;
        @media #{$screen-medium} {
            width: 100%;
        }
    }

    .member-col-3 {
        width: 33.33333333%;
        @media #{$screen-medium} {
            width: 50%;
        }
        @media #{$screen-small} {
            width: 100%;
        }
    }

    .member-col-4 {
        width: 25%;
        @media #{$screen-normal} {
            width: 33.33333333%;
        }
        @media #{$screen-medium} {
            width: 50%;
        }
        @media #{$screen-small} {
            width: 100%;
        }
    }

    .member-col-5 {
        width: 20%;
        @media #{$screen-normal} {
            width: 25%;
        }
        @media #{$screen-medium} {
            width: 33.33333333%;
        }
        @media #{$screen-small} {
            width: 50%;
        }
    }

    .member-col-6 {
        width: 16.66666666%;
        @media #{$screen-large} {
            width: 20%;
        }
        @media #{$screen-normal} {
            width: 25%;
        }
        @media #{$screen-medium} {
            width: 33.33333333%;
        }
        @media #{$screen-small} {
            width: 50%;
        }
    }

    .column2 & {
        .member-col-4 {
            @media #{$screen-large} {
                width: 33.33333333%;
            }
            @media #{$screen-medium} {
                width: 50%;
            }
            @media #{$screen-small} {
                width: 100%;
            }
        }

        .member-col-5,
        .member-col-6 {
            width: 20%;
            @media #{$screen-large} {
                width: 25%;
            }
            @media #{$screen-medium} {
                width: 33.33333333%;
            }
            @media #{$screen-small} {
                width: 50%;
            }
        }
    }
}

/* Member Item */
.member-item {
    &.member-item-3 {
        .thumb-info {
            border-radius: $border-base $border-base 0 0;
        }
        .thumb-info-wrapper {
            margin: 0;
            border-radius: $border-base $border-base 0 0;
            img {
                border-radius: $border-thin $border-thin 0 0;
            }
        }
        .thumb-info-caption {
            display: block;
            padding: 0;
            background: if-light(#fff, $color-dark);
            @include transition(all 0.3s ease);
        }
        .thumb-info-caption-title {
            position: relative;
            display: block;
            padding: 30px 15px 28px;
        }
        .thumb-info-caption-text {
            padding: 0 15px 28px;
            margin: 0;
            margin-top: -15px;
        }
        .thumb-info-social-icons {
            padding-left: 13px;
            padding-right: 13px;
        }
        .view-more {
            position: absolute;
            #{$right}: 15px;
            top: 50%;
            font-size: 1.9em;
            @include transform(translateY(-50%));
        }
    }
}

/* Related Members, Products */
.related-members,
.related.products {
    margin-top: 35px;
}

.member-carousel {
    .member-slide {
        @include clearfix();
    }
    .member-item {
        margin: 0 ($grid-gutter-width / 2) 20px;
        @media #{$screen-medium} {
            border: none;
            padding: 0;
        }
    }
    &.owl-carousel .owl-dots {
        margin-top: 0;
    }
}

/* Member Modal */
.member-modal,
.member-ajax-modal {
    .mfp-arrow {
        display: none;
    }
}