img.image-taxonomy {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-taxonomy-wrap .tf-taxonomy-inner.column-6 .item{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66%;
    flex: 0 0 16.66%;
    max-width: 16.66%;
}

.tf-taxonomy-wrap .tf-taxonomy-inner.column-5 .item{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.tf-taxonomy-wrap .tf-taxonomy-inner.column-4 .item{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.tf-taxonomy-wrap .tf-taxonomy-inner.column-3 .item{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.tf-taxonomy-wrap .tf-taxonomy-inner.column-2 .item{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.tf-taxonomy-wrap .tf-taxonomy-inner.column-1 .item{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/* style 1 */

.tf-taxonomy-wrap.style1 .box-card-inner {
    border-radius: 16px;
    background: #fff;
    padding: 30px 24px 24px 24px;
    border: 1px solid #ECECEC;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    overflow: hidden;
}

.tf-taxonomy-wrap.style1 .box-card-inner::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: var(--theme-primary-color);
    transform: scale(1, 0);
    transition: transform 400ms ease;
    transform-origin: bottom center;
    overflow: hidden;
    border-radius: 16px;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover {
    border-color: transparent;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover::after {
    transform: scale(1, 1);
    transform-origin: top center;
}

.tf-taxonomy-wrap.style1 .count-property {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #2C2E3399;
}

.tf-taxonomy-wrap.style1 .feature-image {
    margin-bottom: 24px;
}

.tf-taxonomy-wrap.style1 .name {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

.tf-taxonomy-wrap.style1 .content,
.tf-taxonomy-wrap.style1 .feature-image {
    position: relative;
    z-index: 2;
}

.tf-taxonomy-wrap.style1 .feature-image .image-wrap > * {
    min-height: 80px;
    /* max-height: 80px; */
}

.tf-taxonomy-wrap.style1 .box-card-inner .name a,
.tf-taxonomy-wrap.style1 .box-card-inner .count-property { 
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover .name a,
.tf-taxonomy-wrap.style1 .box-card-inner:hover .count-property {
    color: #fff;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover .feature-image svg path {
    fill: #fff;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/* style 2 */

.tf-taxonomy-wrap.style2 .box-card-inner {
    padding: 16px;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 17px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tf-taxonomy-wrap.style2 .box-card-inner:hover {
    box-shadow: 0px 30px 60px 0px #00000012;
}

.tf-taxonomy-wrap.style2 .feature-image {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 101px;
    width: 101px;
    border-radius: 16px;
    border: 1px solid rgb(236, 236, 236);
    flex-shrink: 0;
}

.tf-taxonomy-wrap.style2 .box-card-inner:hover .feature-image {
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.tf-taxonomy-wrap.style2 .box-card-inner .feature-image svg path {
    fill: #A8ABAE;
}

.tf-taxonomy-wrap.style2 .box-card-inner:hover  .feature-image svg path {
    fill: #fff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.tf-taxonomy-wrap.style2 .box-card-inner .feature-image .image-wrap > * {
    max-width: 50px;
    max-height: 50px;
}

.tf-taxonomy-wrap.style2 .name {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 10px;
}

.tf-taxonomy-wrap.style2 .count-property {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #5C5E61;
    width: max-content;
}

/* style 3 */

.tf-taxonomy-wrap.style3 .box-card-inner .feature-image svg path {
    fill: #fff;
    stroke: #fff;
}

.tf-taxonomy-wrap.style3 .tf-taxonomy-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tf-taxonomy-wrap.style3 .feature-image .image-wrap > * {
    max-width: 16px;
    max-height: 16px;
}

.tf-taxonomy-wrap.style3 .feature-image .image-wrap {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-taxonomy-wrap.style3 .name {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    margin: 0;
}

.tf-taxonomy-wrap.style3 .name a {
    color: #fff;
}

.tf-taxonomy-wrap.style3 .box-card-inner {
    background: #00000066;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.tf-taxonomy-wrap.style3 .box-card-inner:hover {
    background: var(--theme-primary-color);
}

/* carousel */
.tf-taxonomy-wrap.has-carousel {
    position: relative;
}

.tf-taxonomy-wrap.has-carousel .owl-prev,
.tf-taxonomy-wrap.has-carousel .owl-next {
    position: absolute;
    top: 50%;
}

.tf-taxonomy-wrap.has-carousel .owl-prev {
    left: -31px;
    transform: translate(-50%, -50%);
}

.tf-taxonomy-wrap.has-carousel .owl-next {
    right: -30px;
    transform: translate(50%, -50%);
}

.tf-taxonomy-wrap.has-carousel .tf-taxonomy-inner .item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%; 
}

.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-prev,
.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-next {
    border: 1px solid #E4E4E4;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 22px;
}
.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-prev:hover,
.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-next:hover {
    border-color: var(--theme-primary-color);
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-prev.disabled,
.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-next.disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
}

/* Bullet */

.tf-taxonomy-wrap.has-carousel .owl-dots {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    bottom: -57px;
}

.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-dots .owl-dot {
    margin: 0 7.5px;
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    overflow: unset;
    background: #E4E4E4;
    flex-shrink: 0;
}

.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-dots .owl-dot.active {
    opacity: 1;
    background: var(--theme-primary-color);
}

.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-dots .owl-dot.active::after {
    border: 1px solid var(--theme-primary-color);
}

.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-dots .owl-dot::after {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    width: 14px;
    height: 14px;
    overflow: visible;
    border: 1px solid transparent;
    padding: 0;
}

@keyframes toBottomFromTop {
    49% {
        transform: translateY(100%);
    }
    50% {
        opacity: 0;
        transform: translateY(-100%);
    }
    51% {
        opacity: 1;
    }
}

@media only screen and (max-width: 991px) {    
    .tf-taxonomy-wrap.column-tablet-1 .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;        
    }

    .tf-taxonomy-wrap.column-tablet-2:not(.has-carousel) .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;        
    }

    .tf-taxonomy-wrap.column-tablet-3:not(.has-carousel) .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;       
    }

    .tf-taxonomy-wrap.column-tablet-4:not(.has-carousel) .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;       
    }
}

@media only screen and (max-width: 767px) { 

    .tf-taxonomy-wrap.has-carousel .owl-dots {
        bottom: -15px;
    }

    .tf-taxonomy-wrap.column-mobile-1:not(.has-carousel) .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;  
    }

    .tf-taxonomy-wrap.column-mobile-2:not(.has-carousel) .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;        
    }

    .tf-taxonomy-wrap.column-mobile-3:not(.has-carousel) .tf-taxonomy-inner .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;       
    }

    .tf-taxonomy-wrap.column-mobile-4:not(.has-carousel) .tf-taxonomy-inner .item{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;       
    }

}