@import url(./base.css);

/******************header*******************/
/*body:not(:has(.index-home)) {padding-top: calc(100*var(--vw))}*/
/*body{padding-top: calc(100*var(--vw))}*/
.inner-page .header-top{}
body:not(:has(.index-home)){padding-top: calc(100 * var(--vw));}
.header .logo{transition: .3s all;}
.header-top{height: 50px;color: #fff;}
.header{position: fixed; /* 优先用 sticky 代替 fixed */top: 0;height: calc(100*var(--vw));width: 100%;z-index: 999;color: #fff;backdrop-filter: blur(0px); /* 毛玻璃效果（可选） */transition: all 0.5s ease;box-shadow: 0 2px 10px rgba(0, 0, 0, 0); /* 初始无阴影 */}
.header.scrolled{background:var(--color-primary); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 下滑后显示阴影 */}
.header .talkus {background:var(--color-primary);}
.header .talkus:hover{color:var(--color-primary);background:#fff;}
#app:not(.index-home) .header {background:var(--color-primary);); /* 下滑后显示阴影 */}
header{height:100%;display:flex;}
header .logo{font-size: 24px; font-weight: bold;z-index: 999;}
header .menu{align-self: stretch;font-size: 16px;text-transform: capitalize;z-index: 998;}
header .other,header .searchbox{z-index: 998;}
header .menu ul.menu-0{display: flex;align-items: center;gap:calc(18 * var(--vw));height: 100%;}
header .menu ul.menu-0>li.active{color: var(--color-primary);}
header .menu ul.menu-0>li:hover .dropdown-menu-1{background-color:#fff ;visibility: visible;transform: translate(0%,0px);opacity: 1;     color: #000;}
header .menu ul.menu-0>li{padding: 0% 10px;display: flex;align-items: center;height: 100%;position: relative;}
.header.scrolled .talkus:hover{background:#fff;color:var(--color-primary);}

@media screen and (max-width: 1550px) {
    header .menu{font-size: 12px;}
    header .menu ul.menu-0>li{padding:0 4px}
}

/* 下拉菜单美化 - 居中并对齐 */
header .menu ul.dropdown-menu-1 {
    flex-direction: column;
    visibility: hidden;
    position: absolute;
    opacity: 0;
    top: 100%;
    left: 50%; /* 居中关键：相对于父元素居中 */
    transform: translateX(-50%) translateY(10px); /* 水平居中 + 初始偏移 */
    width: auto; /* 自动宽度，适应内容 */
    min-width: 180px; /* 最小宽度，避免太窄 */
    transition: all 0.3s ease-out;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    z-index: 999;
    text-align: center; /* 文本居中 */
}

/* 悬停时显示下拉菜单 */
header .menu ul.menu-0 > li:hover .dropdown-menu-1 {
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 水平居中 + 无偏移 */
    opacity: 1;
}

/* 下拉菜单项样式 */
header .menu ul.dropdown-menu-1 > li {
    width: 100%;
    text-align: center; /* 确保文本居中 */
    padding: 8px 20px; /* 增加左右 padding */
    transition: all 0.2s ease;
    white-space: nowrap; /* 防止换行 */
}

/* 下拉菜单项悬停效果 */
header .menu ul.dropdown-menu-1 > li:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* 二级下拉菜单（如果有） */
header .menu ul.dropdown-menu-2 {
    position: absolute;
    left: 100%;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center; /* 文本居中 */
    color:#333;
}

/* 二级菜单显示效果 */
header .menu li.dropdown-submenu:hover .dropdown-menu-2 {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
header .menu ul.dropdown-menu-2 li{padding:5px 0}
header .menu ul.dropdown-menu-2 li:hover{background-color: var(--color-secondary);color: white;}
/* 当前激活菜单项样式 */
header .menu ul.menu-0 > li{color:#fff}
header .menu ul.menu-0 > li.active {color:#fff;}
header .menu ul.menu-0 > li.active{border-bottom: 4px solid var(--color-primary)}
/* 菜单项悬停效果 */
header .menu ul.menu-0 > li:hover{color:#fff;}
/******************banner*******************/
.banner .pic{width: 100%;overflow: hidden;height: 100%}
.banner .pic img{transition: all 0.5s ease-in-out;object-fit: cover;height: 100vh;object-fit: cover}
.banner .swiper-slide-active img {animation: scaleImg 15s ease forwards;}
.banner .swiper-slide-active .pic .wenzi {transform: translateY(0);opacity: 1;transition: all 1s linear;}
.banner img{width: 100%;}
.banner{position: relative;}
.warp{max-width:100%;width:calc(1574*var(--vw));margin: 0 auto;}

/*index*/
@keyframes loops {
    from {
        transform:translateX(0%);
    }
    to {
        transform:translateX(-100%);
    }
}
/****************首页**********************/
/* 全屏swiper */

.mySwiper.swiper{
    width:100%;
    height: 100vh;
}

.mySwiper .swiper-slide{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    overflow: hidden;

}
.swiper-slide.footer {
    height: auto !important;
    min-height: unset !important;
}
/* 确保swiper wrapper不锁死高度 */
.mySwiper .swiper-wrapper {
    height: auto !important;
}
.mySwiper .swiper-vertical-pagination,
.mySwiper .swiper-vertical-pagination>.swiper-pagination-bullets{
    --swiper-pagination-right:1vw;
    position: absolute;
    z-index: 1;
}

.mySwiper .swiper-vertical-pagination .swiper-pagination-bullet{
    --swiper-pagination-bullet-vertical-gap:11px;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-width: 10px;
    --swiper-pagination-bullet-height: 10px;
    --swiper-pagination-bullet-inactive-opacity:.7;
}
.mySwiper .swiper-vertical-pagination .swiper-pagination-bullet-active{
    background: var(--color-primary);
}
/******************产品列表页面*******************/

/**********************招商加盟*****************************/
.column-title {
    font-size: 34px;
    font-weight: bold;
    color: #333;
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}
.main-content {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text, #333);
    text-align: center;
}
.column_info{padding: 40px 0}
.pos{
    position: relative;

}

.zhaoshangSwiper .swiper-wrapper{
    overflow: visible;
    margin-bottom: 50px;
}

.pos  .swiper-button-next{
    top: 50%;
    right: -70px;
    margin: 0;
    transform: translateY(-50%);
    cursor: pointer;
}
.pos  .swiper-button-prev{
    cursor: pointer;
    top: 50%;
    left: -70px;
    margin: 0;
    transform: translateY( calc(-50% - 25px));
}

.join_item .item .box {
    background: #fff;
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.imgbox img{width: 100%;}

.join_item .item .txt .icon {
    position: absolute;
    width: 74px;
    height: 74px;
    margin: auto;
    top: -32px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.join_item .item .txt {
    position: relative;
    padding: 50px 32px;
    height: 220px;
}

.join_item .item .box:hover .txt .icon span {
    background: linear-gradient(to bottom, rgb(0 76 215 / 30%), #fff 40%);
}
.join_item .item .box .txt .icon img {
    transition: .5s all;
}
.join_item .item .box:hover .txt .icon img {
    transform: rotate(360deg);
}
.dot1 {font-size: 24px;margin-bottom: 10px;}
.join_item .item .txt p {
    color: #555555;

}

.join_item .item .txt em {
    position: absolute;
    line-height: 1.5;
    margin: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80px;
    text-align: center;
    font-size: 2.08333333333333vw;
    opacity: 0.2;
    font-weight: bold;
}

.join_item .item .box:hover .txt em {
    color: var(--color-primary);
}
.join_item .item .txt em:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.90) 30%, rgba(255, 255, 255, 0));
    text-align: center;
}
.join_process .list ul {
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
}
.join_process .list ul li {
    width: 20%;
    height: 290px;
    position: relative;
}


.join_process .list ul .icon {
    background: #555555;
    border-radius: 100px;
    width: 120px;
    height: 120px;
    margin: auto;
    position: relative;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.join_process .list ul li aside {
    padding-top: 20px;
    padding-bottom: 10px;
    font-weight: bold;
}

.join_process .list ul li:before {
    content: '>';
    position: absolute;
    right: 0;
    top: 47px;
    width: 25px;
    line-height: 23px;
    text-align: center;
    border: dashed 1px #bbbbbb;
    border-radius: 20px;
    font-family: SimSun;
    background: #fff;
}

.join_process .list ul:before {
    content: '';
    position: absolute;
    width: 88%;
    height: 1px;
    border-bottom: dashed 1px #bbbbbb;
    top: 60px;
    right: 3%;
}
.join_process .list ul:nth-child(2) li:before {
    content: '<';
}
.join_process .list ul:nth-child(1):after {
    content: '';
    position: absolute;
    width: 3%;
    height: 291px;
    border: dashed 1px #bbbbbb;
    border-left: none;
    top: 60px;
    right: 0;
    border-radius: 0px 20px 20px 0;
}

.join_process .list ul:nth-of-type(2){
    flex-direction: row-reverse;
}
.join_process .list ul li:hover .icon {
    background: var(--color-primary);

    transform: rotate(360deg);
}

/******************侧边栏*******************/
.leftsearch .form-control,
.leftsearch .input-group-text {  border-radius: 1.5rem; background-color: #fff}
.leftsearch  #search-keyword{  display: block; width: 100%;padding: 0.375rem 0.75rem;font-size: 14px;font-weight: 400;line-height: 1.5;color:#333;background-color: #fff;background-clip: padding-box;border: 1px solid  #999;border-right: none;-webkit-appearance: none;-moz-appearance: none;appearance: none;border-radius: 0.375rem;transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;border-top-right-radius: 0;border-bottom-right-radius: 0;}
.leftsearch .input-group-text{display: flex;align-items: center;padding: 0.375rem 0.75rem;font-size: 1rem;font-weight: 400;line-height: 1.5;color: #333;text-align: center;white-space: nowrap;background-color: #eee;border: 1px solid #999;border-radius: 0.375rem;border-top-left-radius: 0;border-bottom-left-radius: 0;}

.leftborder{border: 1px solid var(--cprimary);}
.leftsidetitle{position: relative;}
.leftsidetitle .title{ position: relative; z-index: 2; line-height: 3.25rem;font-size: 1rem;}
.leftsidetitle .title span{ display: inline-block; margin:0 0;font-size:1rem; font-family: var(--titlefamily); font-weight: 600;}
.leftsidecategorylist ul li{position: relative;border-bottom: 1px solid var(--cprimary);}
.leftsidecategorylist ul li a{ padding: 0.5rem 1rem; line-height: 2rem; display: block;}
.leftsidecategorylist ul li a i{ float: right;line-height: 2rem; }
.leftsidenewslist ul li a{ padding: 0.25rem 1rem; line-height: 2rem; display: block;}
.leftsidekeywordslist ul li{ margin: 0.25rem 0;}
.leftsidekeywordslist ul li a{display: block;text-align: center;font-size: 14px;color:var(--lightWords);line-height: 2rem;border: 1px dashed var(--cprimary);}
.leftsidekeywordslist ul li a:hover {color:var(--hongse); border-color: var(--hongse);}
.leftsidecontactlist{ line-height: 2rem;}

.menuTree ul{}
.menuTree li{line-height:3rem;color:var(--lvse); display:block;position:relative;}
.menuTree li:after{ position:absolute;content: "";display: block;height:1px;width:100%;border-bottom: 1px dashed var(--footerwords);left: 0; top: 2.9375rem;}
.menuTree li a{font-size: 16px;line-height:3rem;height:3rem;overflow:hidden; position:relative;color:var(--color-grey );white-space:nowrap;text-overflow:ellipsis;word-break:break-all;border-bottom:1px dashed #cecccc;padding:0 0.25rem;}
.menuTree li a::before{ display: inline-block;content: ""; height: 1rem; width: 1rem; border: 1px solid var(--color-grey ); margin-right: 0.75rem;}
.menuTree ul li a.active::before{ background-color: var(--color-text );}
.menuTree ul ul a{font-size: 12px;color: #666}
.menuTree li i{    user-select: none; display:block; float:right; color:var(--color-grey ); font-size:24px; width: 20px; height: 45px; line-height: 45px; text-align: center; font-style: normal; position: absolute; top: 0; right: -3px; cursor: pointer;}
.menuTree li.parent>i.parent::after{content: "+"; display: block;}
.menuTree li.parent.expanded>i.parent::after{content: "-"; display: block;}
.menuTree ul li ul li a{line-height:3rem;height:3rem;overflow:hidden;color:var(--color-grey );white-space:nowrap;text-overflow:ellipsis;word-break: break-all; display:block;padding:0 0.25rem 0 2rem;}
.menuTree ul li ul li a:hover,.menuTree ul li a.active{color:var(--color-grey );/*text-decoration:underline;*/}
.menuTree ul li ul li ul li a{padding:0 0.25rem 0 3rem;}
.menuTree ul li ul li ul li ul li a{padding:0 0.25rem 0 3rem;}

/******************关于我们页面*******************/


/******************产品列表页面*******************/
.dp-a1:before{content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 37px;
    background: url(https://www.reagles.cn/front/assets/images/prodbg1.jpg) no-repeat center / cover;}
/******************产品详情页面*******************/
.productImageSwiper .swiper-slide a{cursor: zoom-in}
.show-product .thumbnailSwiper{margin-top: 20px}
.show-product .thumbnailSwiper .swiper-slide{cursor: pointer}
.show-product .thumbnailSwiper .swiper-slide-thumb-active{border: 2px solid var(--color-primary)}

/* 容器整体布局 */

/* 主图 Swiper */

/**新闻列表**/

/**新闻详情**/

/** weihzi.html **/
.weihzhibg li { position: relative;}
.weihzhibg li::after{position: absolute;content: '';width: 60%; height: 2px;background:var(--color-primary);left: 50%;bottom: -21px; transform: translateX(-50%);visibility: hidden;}
.weihzhibg li.active::after{visibility: visible;}
.weihzhibg li a{display: block;line-height: 2rem;}
.weihzhibg li:not(:last-of-type)::before{content: "";position: absolute;top: 50%;right: 0;width: 2px;height: 13px;background-color: #ddd;z-index: -1;transform: translateY(-50%);}
.mb .active{color:var(--color-primary)}
/*****************list-image.html*******************/

@media screen and (max-width: 768px) {
    .warp{width: 95%!important;min-width: auto;margin: 0 auto;min-width: 0px!important;}
    body{--swiper-navigation-size: 14px;--swiper-theme-color: #fff;padding-top: 60px;padding-bottom: 64px}
    body:has(.index-home){padding-bottom: 0px}
    body:not(:has(.index-home)){padding-top: 60px}
    #app{padding-top: 0px;}
    .mySwiper.swiper{height: auto}
    .mySwiper>.swiper-wrapper{flex-direction: column}
    .banner .pic img{height: 24vh}

}



