.home-category-tab .tab-panels .panel.active{
    max-height: unset !important;
}

.tabbed-content.home-category-tab .nav li.tab{
    margin: 0 20px;
}

.tabbed-content.home-category-tab .nav li a{
    letter-spacing: normal
}

.home-category-tab .product-small.box .product-title{
    font-size: 18px;
    font-weight: bold;
    line-height: 2em;
}

.home-category-tab .product-small.box .product-title a{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 10px 0;
}

.home-category-tab .product-small.box .box-image a{
    height: 280px;
}

.home-category-tab .product-small.box .box-image a img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.image-box-contain img{
    object-fit: contain !important;
}

.home-testimonial .testimonial-text.is-italic{
	font-style: normal !important;
	font-family: "Montserrat", Tahoma, Geneva, sans-serif;
}

.home-service-slide .box .box-image div{
    height: 280px;
    overflow: hidden;
}

.home-service-slide .box .box-image div img{
    height: 100%;
    object-fit: cover;
}

.theme-flatsome .custom_p_slider .box .box-text a{
    display: block !important;
    padding: 16px 0px;
    font-size: 18px;
    text-transform: capitalize;
    color: black;
}
.theme-flatsome .custom_p_slider .box .box-text a:hover{
    color: #1673dd;
}
.theme-flatsome .custom_p_slider .box .box-text{
    padding: 0px !important;
}
.theme-flatsome .custom_p_slider .box .box-text p{
    margin: 0px !important;
}
.theme-flatsome .custom_p_slider .box .box-text p br{
    display: none;
}
.theme-flatsome .custom_p_slider .slider{
    padding-bottom: 16px;
}
.theme-flatsome .custom_p_slider .flickity-page-dots{
    bottom: 0px;
}
.theme-flatsome .home-service-slide .flickity-page-dots .dot{
    background-color: #1673dd !important;
    opacity: 0.3;
    border: none;
}
.theme-flatsome .custom_p_slider .slider .col > .col-inner{
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.2);
}
.theme-flatsome .custom_p_slider .flickity-page-dots .dot.is-selected{
    opacity: 1;
}
.theme-flatsome .custom_p_slider .flickity-button-icon,
.theme-flatsome .custom_p_slider .flickity-prev-next-button .arrow{
    fill: #1673dd !important;
}

@media (max-width: 1024px){
    .home-category-tab .product-small.box .box-image a{
        height: 200px;
    }

    .home-service-slide .box .box-image div{
        height: 200px;
        overflow: hidden;
    }
}

@media (max-width: 812px){
    .home-service-slide .box .box-image div{
        height: 200px;
    }
}

@media (max-width: 600px){
    .mobile-row-reverse{
        flex-direction: column-reverse;
    }
    .home-category-tab .product-small.box .box-image a{
        height: 160px;
    }
    .home-service-slide .box .box-image div{
        height: 160px;
    }
    .theme-flatsome .sec__box_text .box .box-text{
        padding: 0px;
    }
    .theme-flatsome .sec__box_text .mb-2.small-12.col{
        padding-bottom: 0px;
    }
    .theme-flatsome .sec__box_text .box .box-text h4{
        margin: 8px 0px !important;
    }
    .theme-flatsome .sec__box_text .box .box-text p{
        max-height: 45px;
        overflow: hidden;
    }
    .theme-flatsome .sec__thanh-tuu .box .box-text p:first-child{
        font-size: 24px !important;
        margin: 0px !important;
    }
}