/* _content/zzls/Pages/Index.razor.rz.scp.css */

@media (max-width: 767.98px) {
    .image-crop-md[b-xiwpx1auet] {
        height: 260px !important; /* 指定的高度 */
        overflow: hidden; /* 隐藏溢出部分 */
        object-fit: cover; /* 裁剪图片以保持比例 */
    }
}


.text-with-lines[b-xiwpx1auet] {
    display: flex;
    align-items: center;
    justify-content: center; /* Add this line */
    text-align: center;
}

    .text-with-lines[b-xiwpx1auet]::before,
    .text-with-lines[b-xiwpx1auet]::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #c7000c; /* Change the color and size as needed */
        max-width: 100px;
    }

    .text-with-lines[b-xiwpx1auet]::before {
        margin-right: 10px; /* Spacing between the line and the text */
    }

    .text-with-lines[b-xiwpx1auet]::after {
        margin-left: 10px; /* Spacing between the text and the line */
    }


.my-hover-text:hover[b-xiwpx1auet] {
    background-color: #c7000c; /* 鼠标滑过时的背景色 */
    color: #ffffff; /* 鼠标滑过时的文字颜色，如果需要的话 */
}


@keyframes slideInFromLeft-b-xiwpx1auet {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


@keyframes slideInFromRight-b-xiwpx1auet {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn-b-xiwpx1auet {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.left.animate[b-xiwpx1auet] {
    animation: slideInFromLeft-b-xiwpx1auet 1s ease-out forwards;
    will-change: transform, opacity;
}

.right.animate[b-xiwpx1auet] {
    animation: slideInFromRight-b-xiwpx1auet 1s ease-out forwards;
    will-change: transform, opacity;
}

.in.animate[b-xiwpx1auet] {
    animation: fadeIn-b-xiwpx1auet 1.5s ease-in-out forwards;
    will-change: transform, opacity;
}



.showtext[b-xiwpx1auet] {
    position: relative; /* 设置相对定位 */
    display: flex; /* 使用Flexbox布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    cursor: pointer; /* 鼠标悬停时显示指针 */
    overflow: hidden;
}

    .showtext p[b-xiwpx1auet] {
        position: absolute; /* 绝对定位 */
        bottom: 20%; /* 距离底部10px */
        z-index: 2;
        opacity: 0; /* 默认不显示文字 */
        transition: opacity 0.3s; /* 平滑过渡效果 */
        color: white; /* 文字颜色 */
    }

    .showtext:hover p[b-xiwpx1auet] {
        opacity: 1; /* 鼠标悬停时显示文字 */
    }

    .showtext img[b-xiwpx1auet] {
        transition: transform 0.3s ease; /* 平滑过渡效果 */
        width: 100%; /* 使图片宽度适应容器 */
    }

    .showtext:hover img[b-xiwpx1auet] {
        transform: scale(1.1); /* 鼠标悬停时放大图片 */
    }


.image-container[b-xiwpx1auet] {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-container img[b-xiwpx1auet] {
        object-fit: cover;
        min-width: 100%;
        min-height: 100%;
        object-position: center;
    }


.indexcart[b-xiwpx1auet] {
    height: calc(100vw*0.23);
    min-height:200px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.image-container1[b-xiwpx1auet] {
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-container1 img[b-xiwpx1auet] {
        object-fit: cover;
        min-width: 100%;
        min-height: 100%;
        object-position: center;
    }

[b-xiwpx1auet] .carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 40%;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
}
/* _content/zzls/Shared/MainLayout.razor.rz.scp.css */



.nav-link[b-ha5pesv1bk]:after,
.nav-link[b-ha5pesv1bk]:before {
    border: 1px solid rgba(199, 0, 12, 0);
    content: "";
    display: block;
    margin: 0 auto;
    width: 0;
}

.nav-link:hover[b-ha5pesv1bk]:after,
.nav-link:hover[b-ha5pesv1bk]:before {
    border-color: #c7000c;
    -webkit-transition: all 280ms ease-in-out;
    transition: width 350ms ease-in-out;
    width: 100%;
}




/*.nav-link:after,
.nav-link:before {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid rgba(199, 0, 12, 0);
    content: " ";
    display: block;
    margin: 0 auto;
    position: relative;
    -webkit-transition: all 280ms ease-in-out;
    transition: all 280ms ease-in-out;
    width: 0;
}

.nav-link:hover:after,
.nav-link:hover:before {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-color: #c7000c;
    -webkit-transition: width 350ms ease-in-out;
    transition: width 350ms ease-in-out;
    width: 100%;
}*/
/*
    1、通过设置content可知，伪元素在链接的上面和下面
    2、通过设置height属性可知，content为空格时默认高度为0
    所以实现了只有上下边框 没有左右边框
    3、backface-visibility: hidden 设置是否反转时显示 通常用于翻转图片
    4、-webkit-backface-visibility: hidden; 基于WebKit浏览器的翻转不可见
    5、border: 1px solid rgba(199, 0, 12, 0); 有边框但是透明
    6、margin: 0 auto; 直线从中间开始往两侧延深
    7、display: block; 不能删 否则是左右边框 且有bug
    8、width 0到100%是动画的基础
    9、 -webkit-transition: width 350ms ease-in-out;
    transition: width 350ms ease-in-out; 是动画动作 webkit是基于WebKit版本浏览器
    10、.nav-link:hover:after,中 hover和after的顺序不能调整
*/
