.tabs-wrapper {
    position: relative;
}


#tt-tabs {
    position: relative;
    z-index: 2;
    justify-content: space-between;
}

#tt-tabs-nav {
    margin: 60px 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 2;
    display: grid;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    grid-auto-columns: 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    grid-template-rows: auto;

    li {
        transition: all 0.3s ease-in-out;
        padding: 15px;
        border: 2px solid #eaeaeb;
        border-radius: 10px;
        min-width: 20%;


        .author-image {
            height: 50px;
            width: 50px;
            overflow: hidden;
            border-radius: 50%;
            margin-right: 20px;

            img {
                border-radius: 50%;
                //height: 100px;
                //width: 100%;
                //object-fit: cover;
            }
        }

        a {
            font-weight: 500;
            display: flex;
            align-items: center;
            line-height: 1;

            .tab-name {
                font-size: 16px;
                margin-bottom: 3px;
                font-weight: 600;
                transition: all 0.3s ease-in-out;
            }

            .tab-designation {
                font-size: 14px;
                color: $color__body;
                font-weight: 400;
            }

            span {
                display: inline-block;
            }
        }

        &.active {
            background: #fff;
            border-color: #fff;
            box-shadow: 0 20px 20px 0 rgba(2, 19, 79, 0.1);
            transform: translateY(-3px);

            .tab-name {
                color: $color__theme;
            }
        }
    }
}

.tt-tabs-wrapper {
    .tab-image-wrapper {
        position: relative;
        padding: 30px 0 0 30px;

        @media(max-width: 767px) {
            margin-top: 40px;
            padding: 20px 0 0 20px;
        }

        .dot-shape {
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            opacity: 0.6;
        }
    }

    .watermark {
        margin-bottom: 32px;
    }

    .tab-image {
        position: relative;
        border-radius: 15px;
        overflow: hidden;

        &:before {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            opacity: 0.6;
            transition: all .3s ease;
            border-radius: 1rem;
            height: 100%;
            width: 100%;
            background-image: linear-gradient(180deg ,transparent,rgba(23, 19, 71, 1));

        }

        img {
            border-radius: 15px;
            box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175)
        }
        
        .play-button{
            position: absolute;
            left: 8%;
            bottom: 8%;
        }
    }

    .title {
        font-size: 1.5rem;
        font-weight: 500;
        margin-bottom: 0;
    }

    p {
        margin: 16px 0 0;
        font-size: 18px;
        line-height: 30px;
        font-weight: 400;
    }

    .author-info {
        margin-top:33px;

        .name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 0;
        }

        .designation {
            font-size: 15px;
            font-weight: 400;
        }
    }

    .play-button  {
        color: rgba(255,255,255,0.9);
    }

    &.style-two {
        .content-tab-image {
            @media(min-width: 767px) {
                padding-right: 40px;
            }
        }
    }
}

.tab-feature-list-wrap {
    .tab-feature-list:not(:last-child) {
        margin-bottom: 33px;
    }
}

.tab-feature-list {
    display: flex;

    .tab-feature-count {
        height: 50px;
        min-width: 50px;
        border: 2px solid #e7e7e7;
        border-radius: 50%;
        line-height: 47px;
        text-align: center;
        margin-right: 20px;
    }

    .tab-feature-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 9px;
    }
}



.gp-star-1:before,
.gp-star-2:before,
.gp-star-3:before,
.gp-star-4:before,
.gp-star-5:before {
    content: "\f005";
    color: #ffbc08;
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
}


.gp-star-10 .gp-star-1:before,
.gp-star-20 .gp-star-1:before,
.gp-star-20 .gp-star-2:before,
.gp-star-30 .gp-star-1:before,
.gp-star-30 .gp-star-2:before,
.gp-star-30 .gp-star-3:before,
.gp-star-40 .gp-star-1:before,
.gp-star-40 .gp-star-2:before,
.gp-star-40 .gp-star-3:before,
.gp-star-40 .gp-star-4:before,
.gp-star-50 .gp-star-1:before,
.gp-star-50 .gp-star-2:before,
.gp-star-50 .gp-star-3:before,
.gp-star-50 .gp-star-4:before,
.gp-star-50 .gp-star-5:before {
    content: "\f005";
    color: #ffbc08;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}


#content-tabs-nav {
    margin-bottom: 50px;
    padding: 0;
    list-style: none;
    text-align: center;

    li {
        display: inline-block;
        margin: 0 8px;

        @media(max-width: 767px) {
            margin-bottom: 10px;
        }

        a {
            i {
                margin-right: 5px;
            }
        }
    }

    &.style-one {
        li {
            a {
                display: block;
                border: 2px solid rgba(216, 216, 216, 0.2);
                background: rgba(216, 216, 216, 0.25);
                border-radius: 0.5rem;
                padding: 0.5rem  1.5rem;
                font-size: 14px;
                font-weight: 500;
                -webkit-transition: all 0.3s ease;
                transition: all 0.3s ease;
            }

            &.active {
                a {
                    background-color: $color__theme;
                    border-color: $color__theme;
                    color: #fff;
                }
            }
        }
    }

    &.style-two {
        border-bottom: 2px solid #eee;
        width: max-content;
        margin: 0 auto 50px;

        @media(max-width: 767px)  {
            width: auto;
            border-bottom: 0;
        }

        li {
            margin: 0 30px;

            &:first-child {
                margin-left: 0;
            }

            &:last-child {
                margin-right: 0;
            }

            a {
                display: inline-block;
                padding-bottom: 20px;
                position: relative;
                font-size: 18px;

                &:after {
                    content: '';
                    position: absolute;
                    left: 0;
                    bottom: -2px;
                    width: 0;
                    height: 2px;
                    background-color: $color__theme;
                    transition: all 0.3s ease-in-out;

                    @media(max-width: 767px)  {
                        bottom: 12px;
                    }
                }
            }
            &.active {
                a {
                    &:after {
                        width: 100%;
                    }
                }
            }
        }
    }
}

.content-tab-contents {
    .title {
        font-size: 30px;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .content-description {
        margin-bottom: 30px;
    }
    
    ul {
        margin-top: 20px;
        margin-bottom: 0;
        padding: 0;
        list-style: none;
        
        li {
            position: relative;
            padding-left: 25px;

            &:before {
                content: "\f00c";
                position: absolute;
                left: 0;
                top: 0;
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                color: $color__theme;
                font-size: 14px;
            }
        }
    }

    .read-more-link {
        font-size: 16px;
        color: $color__theme;

        i {
            margin-left: 7px;
            font-size: 85%;
            transition: all 0.3s ease-in-out;
        }

        &:hover {
            i {
                margin-left: 10px;
            }
        }
    }
}