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: 8px;
    background: #F7F7F7;
    padding: 30px 24px 24px 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.style1 .count-property {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #5C6368;
}

.tf-taxonomy-wrap.style1 .feature-image {
    margin-bottom: 17px;
}

.tf-taxonomy-wrap.style1 .name {
    margin-bottom: 4px;
}

.tf-taxonomy-wrap.style1 .feature-image .image-wrap > * {
    min-height: 80px;
    max-height: 80px;
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover {
    background: var(--theme-primary-color);
}

.tf-taxonomy-wrap.style1 .box-card-inner:hover .name a,
.tf-taxonomy-wrap.style1 .box-card-inner:hover .count-property {
    color: #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;
}

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

/* 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: #A3ABB0;
    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: 18px;
    height: 18px;
    overflow: visible;
    border: 1px solid transparent;
}

@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%;       
    }

}