/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.a_home_products .product-small .box-text p.category {
    opacity: 1;
}
.a_home_products .product-small .box-text p.category:hover {
    color: #ec2324;
}
.star-rating span:before, .star-rating:before, .woocommerce-page .star-rating:before {
    color: #FFCE20 !important;
}
.badge-container {
    left: 50px !important;
    top: 10px !important;
}
.badge-container .callout.badge {
    width: fit-content;
    height: auto;
}
.badge-container .callout.badge .badge-inner {
    border-radius: 8px !important;
    padding: 7px !important;
    line-height: 1 !important;
    background-color: #ec2324 !important;
}
.a_home_products .price-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.a_home_products .price-wrapper .star-rating.star-rating--inline {
    margin: 0;
    margin-right: 10px;
}
.a_home_products .price-wrapper .price {
    order: 3;
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}
.a_home_products .price-wrapper .price span {
    color: #ec2324;
    font-size: 20px;
}
.a_home_products .price-wrapper .price ins span {
    color: #ec2324;
    font-size: 20px;
}
.a_home_products .price-wrapper .price del span {
    color: #999999;
    font-size: 16px;
}
.amlab-stock.amlab-in-stock {
    color: #15D11C;
    font-weight: 700;
    font-size: 14px;
}
.amlab-stock.amlab-out-of-stock {
    color: #EC2324;
    font-weight: 700;
    font-size: 14px;
}
.salling_pro ul.nav li a ,.trending_pro ul.nav li a, .subcategories-list li a{
    position: relative;
}
.salling_pro ul.nav li a span,.trending_pro ul.nav li a span,.subcategories-list a span{
    font-size: 16px;
    font-weight: 700;
    font-family: Lato, sans-serif;
    color: #666666d9;
}
.salling_pro ul.nav li a::before ,.trending_pro ul.nav li a::before ,.subcategories-list a::before{
    position: absolute;
    content: "";
    bottom: 8px;
    width: 0;
    height: 2px;
    background-color: #EC2324;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.salling_pro ul.nav li:hover a::before,.trending_pro ul.nav li:hover a::before , .subcategories-list li:hover a::before{
    width: 100%;
}
.salling_pro ul.nav li.active a::before ,.trending_pro ul.nav li.active a::before ,.subcategories-list li.active a::before{
    width: 100%;
}
.subcategories-list li.active a span,.subcategories-list li:hover a span{
    color: #000;
}
.subcategories-list a::before{
    bottom: -2px;
}
.slider-custom {
    margin-top: 15px !important;
}
.slider-custom .banner {
    max-width: 33% !important;
    margin-right: 10px !important;
    padding-top: 250px !important;
}
.amlab_ripple .ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 65px;
    width: 65px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform-origin: center;
    transform-origin: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -ms-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -o-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -webkit-animation: ripple 3s infinite;
    -moz-animation: ripple 3s infinite;
    -ms-animation: ripple 3s infinite;
    -o-animation: ripple 3s infinite;
    animation: ripple 3s infinite;
}
.amlab_ripple .ripple::before {
    -webkit-animation-delay: .9s;
    -moz-animation-delay: .9s;
    -ms-animation-delay: .9s;
    -o-animation-delay: .9s;
    animation-delay: .9s !important;
    content: "";
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 65px;
    width: 65px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform-origin: center;
    transform-origin: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -ms-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -o-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -webkit-animation: ripple 3s infinite;
    -moz-animation: ripple 3s infinite;
    -ms-animation: ripple 3s infinite;
    -o-animation: ripple 3s infinite;
    animation: ripple 3s infinite;
}
.amlab_ripple .ripple::after {
    -webkit-animation-delay: .6s;
    -moz-animation-delay: .6s;
    -ms-animation-delay: .6s;
    -o-animation-delay: .6s;
    animation-delay: .6s !important;
    content: "";
    position: absolute;
    background-color: #EC2324;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 65px;
    width: 65px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform-origin: center;
    transform-origin: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -ms-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -o-box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .3);
    -webkit-animation: ripple 3s infinite;
    -moz-animation: ripple 3s infinite;
    -ms-animation: ripple 3s infinite;
    -o-animation: ripple 3s infinite;
    animation: ripple 3s infinite;
}
@keyframes ripple {
    70% {
        box-shadow: 0 0 0 70px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
.amlab_videos .text-box .video-button-wrapper {
    z-index: 2;
    position: relative;
}
.amlab_videos .text-box .video-button-wrapper a {
    margin: 0 !important;
    border: none;
    padding-top: 2px;
}
.amlab_videos .text-box .video-button-wrapper a:hover {
    background-color: transparent !important;
}
.amlab_ytbg {
    background: linear-gradient(195deg, rgb(249, 249, 249) 42%, rgba(20, 17, 17, 0.52) 100%);
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .slider_choose_car .box-image {
        height: 115px !important;
    }
    .slider_choose_car .box {
        padding: 30px 0 !important;
    }
    .amlab_slider_blog .post-item {
        min-height: 300px !important;
    }
    .amlab_slider_blog .flickity-page-dots {
        bottom: -5px;
    }
}