/*首页开始 带@的不动，伪类不动*/
.content-auto {
    /*公司介绍板块*/
    content-visibility: auto;
}
.text-indent-2 {
    /*公司介绍文字*/
    text-indent: 2em;
}
/*轮播图div*/
.slider-shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.slider-container {
    width: 100%;
}
.slider {
    width: 100%;
    display: flex;
    /* 移除这里的过渡效果，我们将通过JS控制 */
}
.slider img {
    min-width: 100%;
}

/*首页结束 带@的不动，伪类不动*/

/*产品中心开始 带@的不动，伪类不动*/
/*技术服务也用*/
img.h-48{
    height: auto;
}
main.py-8{
    padding: 2rem;
}

/* 左侧导航栏样式，可修改部分开始 */
.max-w-4xl{
    margin-top: 2rem;
}
#sidebar {
    /*@apply w-64 h-screen fixed top-0 left-0 overflow-y-auto transform -translate-x-full transition-transform duration-300;*/
    /* 新的背景颜色和阴影效果 */
    background-color: #f8f9fa;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    top: 100px;
    height: 502px;
    left: 2rem;
    /*position: absolute;*/
}
#sidebar.sidebar.open {
    @apply translate-x-0;
    left: 0;
}
#sidebar-container .sidebar ul {
    @apply py-4;
    /* 你可以修改导航栏列表的内边距 */
    padding-top: 2rem;
}
#sidebar-container .sidebar ul li {
    @apply px-4 py-2 cursor-pointer;
    /* 新的字体颜色和悬停效果 */
    color: #343a40;
    transition: background-color 0.3s;
}
#sidebar-container .sidebar ul li:hover {
    background-color: #e9ecef;
}
#sidebar-container .sidebar ul li.has-submenu {
    @apply relative;
}
#sidebar-container .sidebar ul li.has-submenu::after {
    content: '+';
    @apply absolute right-4 top-2;
    color: #6c757d;
}
#sidebar-container .sidebar ul li.has-submenu.open::after {
    content: '-';
}
#sidebar-container .sidebar ul li ul {
    @apply hidden pl-6;
    /* 新的子菜单样式 */
    border-left: 1px solid #ced4da;
    margin-top: 0.5rem;
}
#sidebar-container .sidebar ul li.has-submenu.open ul {
    @apply block;
}
/* 左侧导航栏样式，可修改部分结束 */

/* 左侧边栏切换按钮样式，可修改部分开始 */

button.sidebar-toggle {
    @apply absolute top-4 left-4 z-50;
    /* 你可以在这里修改按钮的位置、层级等属性 */
    /* 例如：top: 20px; left: 20px; z-index: 100; */
    top: 2px;
    right: 1px;
    left: auto;
    /*position: fixed;*/
    /* 修改按钮的背景颜色 */
    background-color: #f8f9fa;
    /* 修改按钮的内边距 */
    padding: 0 6px;
    /* 修改按钮的边框圆角 */
    border-radius: 4px;
}
/* 修改图标颜色 */
button.sidebar-toggle .fa {
    color: #343a40;
}
/* 修改按钮悬停状态的样式 */
#sidebar button.sidebar-toggle:hover {
    background-color: #007BFF;
}
/* 左侧边栏切换按钮样式，可修改部分结束 */

section.mb-12:first-of-type {
    margin-top: 104px; /* 根据导航栏实际高度调整 */
}
/*产品中心结束 带@的不动，伪类不动*/

/*产品详情中图片显示*/
.h-auto{padding: 1em;}

/*底部开始*/
#footer .py-8{
    padding-left: 2rem;
}
/*底部结束*/

/*以下引用自外部网站external website格式，方便统一美化页面;若文件过大，可独立出来进行引入*/
.yeelay_table {
    width: 100%;
    border-collapse: collapse;
}
.yeelay_td {
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #F0F0F0;
    margin: 0;
    outline: 0;
    padding: 10px 16px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.88);
    line-height: 24px;
    text-align: justify;
}
.yeelay_td_red {
    color: crimson;
}
.yeelay_th {
    box-sizing: border-box;
    background: #F6F6F6;
    border: 1px solid #F0F0F0;
    margin: 0;
    outline: 0;
    padding: 10px 16px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.88);
    line-height: 24px;
    text-align: center;
    font-weight: 700;
    width: 174px;
}