@use '../utils' as *;

/*----------------------------------------*/
/*  2.13 Tab
/*----------------------------------------*/

.th-tab-content-wrap{
    padding: 40px;
    border: 1px solid #2C2C2C;
    border-radius: 16px;

    & .th-icon{
        & span{
            background: var(--primary-color-2);
            display: inline-block;
            height: 48px;
            width: 48px;
            line-height: 48px;
            display: inline-block;
            text-align: center;
            border-radius: 50px;
            margin-right: 16px;
        }
    }
    & .th-title{
        font-size: 24px;
        line-height: 32px;
        font-weight: 700;
        color: var(--secondary-color);
        @media #{$lg}{
            font-size: 22px;
        }
    }

    & .th-para{
        font-size: 16px;
        line-height: 24px;
        color: var(--text-color);
        padding-bottom: 32px;
        padding-top: 16px;
    }
    @media #{$lg}{
        padding: 28px;
    }
}

.th-tab-topflex{
    display: flex;
    align-items: center;
}

.th-tab-list{
    & ul{
        & li{
            font-size: 16px;
            line-height: 24px;
            color: var(--text-color);
            margin-bottom: 16px;
            &:last-child{
                margin-bottom: 0;
            }
            & span{
                & img{
                    margin-right: 16px;
                    margin-right: 8px;
                }
            }
        }
    }
}

.th-tab-title-box{
    & .th-title{
        font-size: 24px;
        line-height: 32px;
        font-weight: 700;
        color: var(--secondary-color);
        @media #{$lg}{
            font-size: 22px;
        }
        & span{
            font-size: 18px;
            line-height: 26px;
            font-weight: 600;
            color: var(--text-color);
            margin-right: 8px;
        }
    }
}

.th-tab-wrap .nav-link {
    padding: 20px 24px;
    border: 1px solid #2C2C2C;
    border-radius: 16px;
    margin-bottom: 24px;
    &.active{
        background: transparent;
        border: 1px solid var(--primary-color-2);
        & .th-tab-icon{
            & span{
                background: var(--primary-color-2);
                transition: .3s;
                & img{
                    transform: rotate(-90deg);
                }
            }
        }
    }
}

.th-tab-icon{
    & a{
        & span{
            height: 48px;
            width: 48px;
            line-height: 48px;
            text-align: center;
            border-radius: 50%;
            background: #121212;
            display: inline-block;
            transition: .3s;
            & img{
                transition: .3s;
            }
        }
    }
}

.th-tab-content-flx{
    display: flex;
    justify-content: space-between;
    align-items: center;
}