/* Member */

/* Advance Layout */
.member-share-advance.post-share-advance-bg {
    background: transparent;
    padding: 0 0 30px;
    height: 35px;
    transition: max-height .4s, background .4s;
    &:hover {
        background: #fff;
        .fa-share-alt {
            background: #4dbb6d;
        }
    }
}

.thumb-info {
    .thumb-info-wrapper.member-social-adv-main {
        overflow: visible;
    }
}
.thumb-member-container {
    display: block;
    position: relative;
    >a {
        overflow: hidden;
        display: block;
    }
}

.member-social-adv-main {
    .member-image {
        margin-bottom: 0;
    }
}

.member-share-advance.share-links {
    z-index: 9;
    .fa-share-alt {
        background: #58605a;
    }
    .share-links {
        a {
            background: none !important
        }
    }
    .post-share-advance-bg {
        background: transparent;
        transition: max-height .4s, background .4s;
        &:hover {
            background: #fff;
            .fa-share-alt {
                background: var(--porto-primary-color);
            }
        }
    }
    .thumb-info-social-icons {
        padding: 8px 0 !important;
    }
    a {
        width: 100%;
    }
    .share-facebook {
        color: #4d70a8 !important;
    }
    .share-twitter {
        color: #1aa9e1 !important;
    }
    .share-linkedin {
        color: #0077b5 !important;
    }
    .share-googleplus {
        color: #dd4b39 !important;
    }
    .share-pinterest {
        color: #cc2127 !important;
    }
    .share-email {
        color: #dd4b39 !important;
    }
    .share-vk {
        color: #6383a8 !important;
    }
    .share-xing {
        color: #1a7576 !important;
    }
    .share-tumblr {
        color: #304e6c !important;
    }
    .share-reddit {
        color: #ff4107 !important;
    }
    .share-vimeo {
        color: #52b8ea !important;
    }
    .share-instagram {
        color: #964b00 !important;
    }
    .share-whatsapp {
        color: #3c8a38 !important;
    }
}
.member-share-advance.post-share-advance-bg {
    &:hover {
        .share-links {
            a {
                opacity: 0.5;
                &:hover {
                    opacity: 1;
                }
            }
        }
    }
}

.member-row .member {
    padding: 0 calc(var(--porto-el-spacing, var(--porto-grid-gutter-width)) / 2) 1px;
    margin-bottom: var(--porto-el-spacing, var(--porto-grid-gutter-width))
}
.member-row-advanced .member {
    padding: 0;
    width: 100%;
    &:not(:last-child) {
        border-bottom: 1px solid var(--porto-normal-bc);
    }
}

.member-overview {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

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

.member-role {
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
}

.member-share-links.share-links {
    a {
        border-radius: 50px;
    }
}

/* Member Item */
.member-item {
    .thumb-info {
        &, .thumb-info-wrapper {
            border-radius: 0;
        }
    }
}
.member-item.member-item-3 {
    .thumb-info-wrapper {
        margin: 0;
    }
    .thumb-info-caption {
        display: block;
        padding: 0;
        background: var(--porto-body-bg);
        transition: .3s;
    }
    .thumb-info-caption-title {
        position: relative;
        display: block;
        padding: 25px 15px 23px;
    }
    .thumb-info-caption-text {
        padding: 0 15px 23px;
        margin: 0;
        margin-top: -15px;
    }
    .thumb-info-social-icons {
        padding: 0 13px 23px;
    }
    .view-more {
        position: absolute;
        #{$right}: 15px;
        top: 50%;
        font-size: 1.9em;
        transform: translateY(-50%);
        color: var(--porto-h4-color, var(--porto-heading-color));
    }
    .thumb-info:hover {
        .thumb-info-caption {
            background-color: var(--porto-primary-color);
            &, & * {
                color: var(--porto-primary-color-inverse);
            }
        }
        .thumb-info-social-icons {
            border-color: var(--porto-primary-color-inverse);
        }
        .share-links a {
            background-color: var(--porto-primary-color-inverse);
            color: var(--porto-primary-color);
        }
    }
}
.member-item-3 {
    .member-cats {
        font-weight: 300;
        font-size: 1rem;
        color: var(--porto-body-color);
    }
}
.member-item-4 {
    .thumb-info-wrapper {
        margin: 0;
        border-radius: 0;
    }
    .thumb-info {
        border: none;
        &, img {
            border-radius: 0;
        }
    }
    h4, p {
        text-transform: uppercase;
    }
    h4 {
        font-size: 1.2em;
        font-weight: 700;
    }
    p {
        font-size: .9em;
    }
}

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

.member-carousel {
    .member-slide {
        @include clearfix();
    }
    .member-item {
        margin-bottom: 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;
    }
}

.member-filter.nav-list {
    display: block;
}