.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%;
    border-bottom: 1px solid #E5E5E5;
}

.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 {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex: 1 1 auto;
}

.tf-tabs .tf-tabcontent {
    padding-top: 48px;
    overflow: hidden;
}

.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.active span,
.tf-tabs .tf-tabnav ul > li.set-active-tab span {
    color: var(--theme-primary-color);
}

.tf-tabs .tf-tabnav ul > li.active,
.tf-tabs .tf-tabnav ul > li.set-active-tab{
   border-bottom: 2px solid var(--theme-secondary-color);
}

.tf-tabs .tf-tabnav ul > li {
    position: relative;
    border-bottom: 2px solid transparent;
}

.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;
    margin-right: 40px;
    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-1.active {
    z-index: 4;
}

.tf-tabs .toggle-btn-tabs .btn-tog.btn-2.inactive,
.tf-tabs .toggle-btn-tabs .btn-tog.btn-2 {
    width: 100% !important;
    z-index: 6;
}

.tf-tabs .toggle-btn-tabs .btn-tog.btn-1.inactive {
    width: 100% !important;
    z-index: 6;
}

.tf-tabs .toggle-btn-tabs .btn-tog.btn-2.active {
    width: 32px;
    z-index: 4;
}

.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;
}

.tf-tabs.small .toggle-btn-over .toggle-btn-tabs {
    width: 60px;
    height: 32px;
}

.tf-tabs.small .toggle-btn-tabs .btn-tog.btn-1,
.tf-tabs.small .toggle-btn-tabs .btn-tog.btn-2,
.tf-tabs.small .toggle-btn-tabs .btn-tog.btn-1::after {
    width: 24px;
    height: 24px;
}

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

@media (max-width: 991px) and (min-width: 768px) {
    .elementor-section .elementor-container {
        padding: 0 !important;
    }
}

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

    .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;
    }
}