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;
    padding: 30px 24px 24px 24px;
    border: 1px solid #E4E4E4;
    text-align: center;
    overflow: hidden;
    -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;
}

.tf-taxonomy-wrap.style1 .box-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--theme-primary-color);
    transform: scaleY(0);
    transition: transform .5s ease;
    transform-origin: bottom center;
    z-index: 1;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover::after {
    transform: scale(1);
    transform-origin: top center;
}

.tf-taxonomy-wrap.style1 .count-property {
    color: #5C6368;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;

}

.tf-taxonomy-wrap.style1 .box-card-inner .feature-image,
.tf-taxonomy-wrap.style1 .box-card-inner .content {
    position: relative;
    z-index: 5;
}

.tf-taxonomy-wrap.style1 .feature-image {
    margin-bottom: 27px;
}

.tf-taxonomy-wrap.style1 .name {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.2px;
}

.tf-taxonomy-wrap.style1 .feature-image .image-wrap > * {
    min-height: 80px;
    max-height: 80px;
    -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 {
    box-shadow: 0px 5px 25px 0px #0000001A;
    border-color: transparent;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover .feature-image svg path {
    fill: var(--theme-primary-color);
    -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 {
    border-radius: 8px;
    background: #4a6395;
    padding: 30px 24px 30px 24px;
    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;
}

.tf-taxonomy-wrap.style2 .count-property {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #fff;
}

.tf-taxonomy-wrap.style2 .feature-image {
    margin-bottom: 21px;
}

.tf-taxonomy-wrap.style2 .name {
    margin-bottom: 4px;
}

.tf-taxonomy-wrap.style2 .name a {
    color: #fff;
}

.tf-taxonomy-wrap.style2 .name a:hover {
    color: var(--theme-primary-color);
}

.tf-taxonomy-wrap.style2 .feature-image .image-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.tf-taxonomy-wrap.style2 .feature-image .image-wrap > * {
    min-height: 44px;
    max-height: 44px;
    object-fit: scale-down;
}

.tf-taxonomy-wrap.style2 .box-card-inner:hover {
    background: #fff;
}

.tf-taxonomy-wrap.style2 .box-card-inner:hover .feature-image .image-wrap {
    background: var(--theme-primary-color);
}

.tf-taxonomy-wrap.style2 .box-card-inner:hover .name a,
.tf-taxonomy-wrap.style2 .box-card-inner:hover .count-property {
    color: #161E2D;
    -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.style2 .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;
}

/* 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.disabled,
.tf-taxonomy-wrap.has-carousel .owl-carousel .owl-nav button.owl-next.disabled,
.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-stage-outer {
    padding: 20px;
    margin: -20px;
} 

/* 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: #ACC6EC;
    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;
    padding: 0;
    overflow: visible;
    border: 1px solid transparent;
}

/* style3 */

.tf-taxonomy-wrap.style3 .tf-taxonomy-inner {
    row-gap: 10px;
}

.tf-taxonomy-wrap.style3 .tf-taxonomy-inner .taxonomy-post {
    all: unset;
}

.tf-taxonomy-wrap.style3 .tf-taxonomy-inner .name {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    margin: 0;
}

.tf-taxonomy-wrap.style3 .feature-image .image-wrap > * {
    min-height: 14px;
    max-height: 14px;
    max-width: 14px;
    min-width: 14px;
    vertical-align: baseline;
    -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.style3 .feature-image .image-wrap > * {
    stroke: var(--theme-primary-color);
}

.tf-taxonomy-wrap.style3 .box-card-inner {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

@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.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%;       
    }

}