.tf-tabs ul {
    list-style: none;
}

.tf-tabs .tf-tabnav ul {
    position: relative;
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    max-width: 100%;
}

.tf-tabs .tf-tabnav ul > li {
    position: relative;
}

.tf-tabs.horizontal .tf-tabnav {
    margin-left: auto;
    margin-right: auto;
}

.tf-tabs .tf-tabnav ul > li,
.tf-tabs .tf-tabnav ul > li span,
.tf-tabs .tf-tabnav ul > li i,
.tf-tabs .tf-tabnav ul > li svg,
.tf-tabs .tf-tabnav > ul > li.active:after,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner.active,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner.inactive {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tf-tabs.vertical {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
}

.tf-tabs.vertical .tf-tabnav ul > li {
    width: 100%;
    justify-content: center;
}

.tf-tabs.vertical .tf-tabnav {
    flex: 0 0 auto;
}

.tf-tabs.vertical .tf-tabnav ul {
    flex-wrap: wrap;
    flex-flow: column wrap;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner {
    display: none;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #494A4D;

}

.tf-tabs .tf-tabnav ul > li .tab-title-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #64666C;
}

.tf-tabcontent:before,
.tf-tabcontent:after {
    display: table;
    content: "";
}

.tf-tabcontent:after {
    clear: both;
}

.tf-tabs .tf-tabnav ul > li {
    position: relative;
}

.tf-tabs .tf-tabnav ul > li:hover {
    z-index: 1;
    color: #fff;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner.active,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner.set-active-tab {
    display: block;
}

.tf-tabs.icon-position-top .tf-tabnav ul > li .tab-title-text,
.tf-tabs.icon-position-top .tf-tabnav ul > li .wrap-icon {
    flex: 1 1 100%;
    line-height: 1;
}

.tf-tabs.icon-position-top .tf-tabnav ul > li {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-wrap: wrap;
    text-align: center;
}

.tf-tabs.icon-position-right .tf-tabnav ul > li,
.tf-tabs.icon-position-right .tf-tabnav ul > li img,
.tf-tabs.icon-position-right .tf-tabnav ul > li svg,
.tf-tabs.icon-position-right .tf-tabnav ul > li i,
.tf-tabs.icon-position-right .tf-tabnav ul > li .tab-title-text {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.tf-tabs .tf-tabnav > ul > li {
    position: relative;
    cursor: pointer;
}

.tf-tabs .tf-tabnav > ul > li:last-child {
    margin-right: 0;
}

.tf-tabs .tf-tabnav > ul > li.active:after,
.tf-tabs .tf-tabnav > ul > li.set-active-tab:after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 0;
    height: 0;
    display: none;
}

.tf-tabs.show-triger-yes .tf-tabnav > ul > li.active:after,
.tf-tabs.show-triger-yes .tf-tabnav > ul > li.set-active-tab:after {
    display: block;
}

.tf-tabs.horizontal .tf-tabnav > ul > li.active:after,
.tf-tabs.horizontal .tf-tabnav > ul > li.set-active-tab:after {
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--theme-primary-color);
    border-bottom: 0;
}

.tf-tabs.vertical .tf-tabnav > ul > li.active:after,
.tf-tabs.vertical .tf-tabnav > ul > li.set-active-tab:after {
    right: -10px;
    top: calc(50% - 10px);
    border-left: 10px solid var(--theme-primary-color);
    border-right: 0px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.tf-tabs.horizontal.nav-left .tf-tabnav > ul,
.tf-tabs.horizontal.nav-center .tf-tabnav > ul,
.tf-tabs.horizontal.nav-right .tf-tabnav > ul {
    display: inline-flex;
}

.tf-tabs.horizontal.nav-left .tf-tabnav {
    text-align: left;
}

.tf-tabs.horizontal.nav-center .tf-tabnav {
    text-align: center;
}

.tf-tabs.horizontal.nav-right .tf-tabnav {
    text-align: right;
}

.tf-tabs .toggle-btn-tabs {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 40px;
    background: #B1B1B1;
    border-radius: 100px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;;
}

.tf-tabs .toggle-btn-tabs .btn-tog.btn-1 {
    position: absolute;
    height: 32px;
    width: 32px;
    left: 4px;
    bottom: 4px;
    z-index: 5;
    cursor: pointer;
}

.tf-tabs .toggle-btn-tabs .btn-tog.btn-1::after {
    position: absolute;
    content: "";
    height: 32px;
    width: 32px;
    left: 0px;
    bottom: 0px;
    background-color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
}

.tf-tabs .toggle-btn-tabs .btn-tog.btn-2 {
    position: absolute;
    content: "";
    height: 32px;
    width: 32px;
    right: 4px;
    bottom: 4px;
    background-color: unset;
    z-index: 5;
    border-radius: 50%;
    cursor: pointer;
}

.tf-tabs .toggle-btn-tabs .btn-tog.inactive.btn-1::after {
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
}

.tf-tabs .toggle-btn-tabs .btn-tog.active.btn-1::after {
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}

.tf-tabs .toggle-btn-tabs.active { 
    background: var(--theme-secondary-color);
}

.tf-tabs .toggle-btn-over {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
}

.tf-tabs .toggle-btn-over .text-toggle {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: var(--theme-primary-color);
    padding: 0 20px;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner p {
    color: #64666C;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 24px;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner ul {
    margin: 0;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner ul li {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    margin-bottom: 12px;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner ul li .icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--theme-secondary-color);
    color: #fff;
    font-size: 14px;
    display: grid;
    align-items: center;
    justify-content: center;
    margin-right: 13px;
    flex-shrink: 0;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner ul li .content {
    color: var(--theme-primary-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    text-transform: capitalize;
}

/* tab infor */

.tf-tabs-infor .tf-tabnav ul { 
    display: block;
}

.tf-tabs-infor .tf-tabnav ul > li .tab-title-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    text-transform: capitalize;
    color: var(--theme-primary-color);
}

.tf-tabs-infor .tf-tabnav ul > li {
    padding: 23.5px 20px;
}

.tf-tabs-infor .tf-tabnav ul > li:not(:last-child) {
    border-bottom: 1px solid #E5E5E5;
}


.tf-tabs-infor .tf-tabnav ul > li.active,
 .tf-tabs-infor .tf-tabnav ul > li.set-active-tab {
    background: var(--theme-secondary-color);
    border-radius: 12px;

}

.tf-tabs-infor .tf-tabnav ul > li.active .tab-title-text,
 .tf-tabs-infor .tf-tabnav ul > li.set-active-tab .tab-title-text {
    color: #fff;

 }

 .tf-tabs-infor .infor-card {
    border-radius: 12px;
    max-width: 488px;
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    top: 50%;
    position: absolute;
    right: 102px;
    transform: translateY(-50%);
    text-align: left;
    z-index: 5;
 }

 .tf-tabs-infor .infor-card .card-author {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    margin-bottom: 32px;
 }

 .tf-tabs-infor .infor-card .card-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
 }

 .tf-tabs-infor .infor-card .card-top {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 15px;
    margin-bottom: 25px;
 }

 .tf-tabs-infor .infor-card .card-author .content h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--theme-secondary-color);
    margin-bottom: 4px;
 }
 .tf-tabs-infor .infor-card .card-author .content h5,
 .tf-tabs-infor .infor-card .card-bottom h5 {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    text-transform: capitalize;
    margin-bottom: 0;
 }
 .tf-tabs-infor .infor-card .price-top,
 .tf-tabs-infor .infor-card .card-bottom .price-bottom  {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center;
    justify-content: space-between;
 }
 .tf-tabs-infor .infor-card .price-top .amout {
     font-size: 20px;
     font-weight: 700;
     line-height: 28px;
     text-transform: capitalize;
     color: #64666C;
 }
 .tf-tabs-infor .infor-card .price-top .price,
 .tf-tabs-infor .infor-card .card-bottom .price-bottom  {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    text-transform: capitalize;
    color: var(--theme-primary-color);
 }
 .tf-tabs-infor .infor-card .card-bottom .category {
    color: var(--theme-secondary-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 4px;
 }

 .tf-tabs-infor .infor-card .card-bottom h5 {
    margin-bottom: 15px;
 }

 .tf-tabs-infor .row-tab {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-wrap: wrap;
    align-items: center;
 }

 .tf-tabs-infor .tf-tabnav,
 .tf-tabs-infor .tf-tabcontent {
    flex: 0 0 auto;
    width: 50%;
}

.tf-tabs-infor .tf-tabcontent {
    text-align: right;
}

.tf-tabs-infor .group-heading h3 {
    margin-bottom: 16px;
}

.tf-tabs-infor .group-heading p {
    color: #64666C;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px; 
    margin-bottom: 39px;
}

.tf-tabs-infor .tf-tabnav {
    padding-right: 75px;
    margin-top: -10px;
}

.tf-tabs-infor .infor-tab-content {
    position: relative;
}

.fadeLeft {
    animation-name: fadeLeft;
}

.fadeRight {
    animation-name: fadeRight;
}

.animated-tab {
    animation-duration: 1s;
}

@keyframes fadeLeft {
    0% {
        opacity: 0;
        transform: translate3d(-5%,0,0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeRight {
    0% {
        opacity: 0;
        transform: translate3d(5%,0,0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1110px) {
    .tf-tabs-infor .infor-card {
        max-width: 400px;
        right: 50px;
    }
}

@media (max-width: 991px) {
    .elementor-section .elementor-container {
        padding: 0 !important;
    }
    .tf-tabs-infor .tf-tabnav {
        padding-right: 20px;
        margin-top: -10px;
    }
    .tf-tabs-infor .infor-card {
        max-width: 300px;
        right: 20px;
    }
}

@media (max-width: 767px) {
    .tf-tabs.vertical {
        display: block;
    }

    .tf-tabs-infor .tf-tabnav {
        padding-right: 0px;
        margin-top: 0px;
        margin-bottom: 40px;
    }

    .tf-tabs-infor .infor-card {
        max-width: 85%;
        right: unset;
        left: 0;
    }

    .tf-tabs-infor .tf-tabnav, .tf-tabs-infor .tf-tabcontent {
        flex: 0 0 auto;
        width: 100%;
    }

    .tf-tabs .tf-tabnav ul {
        flex-wrap: wrap;
        flex-flow: row wrap;
    }

    .tf-tabs .tf-tabnav ul > li {
        flex: 1 1 auto;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .tf-tabs.vertical.show-triger-yes .tf-tabnav > ul > li.active:after,
    .tf-tabs.vertical.show-triger-yes
        .tf-tabnav
        > ul
        > li.set-active-tab:after {
        right: unset !important;
        top: 100% !important;
        transform: rotate(90deg) translateX(-50%);
    }

    .elementor-section .elementor-container {
        padding: 0 !important;
    }
}