/*外层容器*/
.layout-container {
    padding-top: 80px;
}
/*************头部条*************/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.5s;
    box-shadow: 0px 5px 15px rgba(0,0,0,.05); /*x移位,y移位,扩散范围,颜色*/
    height: 80px;
    font-size: 14px;
    background: #fff; /*默认带背景*/
}

.header-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header .logo-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; /*图片上下居中*/
}

.header .logo-box img {
    width: auto;
    height: 45px; /*高度固定45，宽度自适应*/
}

.header .logo-box .logo {
    display: block; /*全站默认显示有色LOGO*/
}

.header .logo-box .logo-white {
    display: none; /*全站默认不显示白色LOGO*/
}
/*一级菜单*/
.f-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 15px; /*跟body对齐*/
}

.f-menu > li {
    padding: 0 25px;
    position: relative;
}

.f-menu > li .f-link {
    color: #333;
    display: block;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    height: 80px;
    line-height: 80px; /*不能直接设置f-menu>li的line-height，即使有>号也会被继承到s-menu>li去*/
}

.f-menu > li .f-link:hover, .f-menu > li.active .f-link {
    color: #f44;
}

.f-menu > li .f-link .iconfont {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 700;
}

.f-menu > li.active > .s-menu {
    display: block !important; /*显示二级菜单，二级菜单除了ul后还有div*/
}

/*二级菜单*/
.s-menu {
    position: absolute;
    left: 0;
    top: 80px; /*头部高度*/
    background: #fff;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    z-index: 9999; /*遮盖轮播图*/
    padding: 10px 30px 20px 30px;
    box-shadow: 0 5px 20px 0px rgb(0 0 0 / 5%);
    border-top: 1px solid #dcdcdc;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.s-menu:before {
    width: 0px;
    height: 0px;
    position: absolute;
    top: -16px;
    left: 49px;
    padding: 0;
    border-bottom: 8px solid #FFFFFF;
    border-top: 8px solid transparent;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    display: block;
    content: '';
    z-index: 12; /*箭头边框效果，上层小1px，下层的大1px，最终就是三角形*/
}

.s-menu:after {
    width: 0px;
    height: 0px;
    position: absolute;
    top: -18px;
    left: 48px;
    padding: 0;
    border-bottom: 9px solid #dcdcdc;
    border-top: 9px solid transparent;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    display: block;
    content: '';
    z-index: 10
}

.s-menu li {
    position: relative;
    display: block;
    padding: 14px 0;
    text-align: left;
    font-size: 14px;
    /*width: 300px;*/ /*不指定宽度，让宽度自适应，兼容下拉文本的模式，如果是产品多组显示，另外定义样式*/
}

.s-menu li a {
    position: relative;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    display: flex;
}

.s-menu li .img {
    width: 36px;
    height: 36px;
    margin-right: 10px; /*写作img里，兼容无图标的模式，否则无图标时text左边会有10px空隙*/
}

.s-menu li .text {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /*兼容没有标语的模式*/
}

.s-menu li .text h3 {
    position: relative;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: flex;
    align-items: center; /*与hot对齐*/
}

.s-menu li:hover h3 {
    color: #f44;
}

.s-menu li .text span {
    padding-top: 6px;
    font-size: 12px;
    line-height: 1;
    color: #999;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.s-menu li .text .hot {
    display: inline-block;
    margin-left: 5px;
}

.s-menu a.iconfont:before {
    font-size: 16px;
    color: #333;
    display: inline-block;
    line-height: 1;
    width: 25px; /*统一宽度，当iconfont图标不一样宽时，文字也将是对齐的*/
}

.s-menu li.active a.iconfont:before {
    color: var(--color-primary) !important;
}
/*二类分组*/
.s-menu .group {
    color: #999999;
    margin-right: 40px;
}

.s-menu .group:last-child {
    margin-right: 0;
}

.s-menu .group > h3 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding-top: 15px;
    padding-bottom: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #EDEDED;
}
/*右边按钮组*/
.header-right {
    color: #fff;
    padding-right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header .header-btn {
    width: 100px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    display: inline-block;
    text-align: center;
    border: 1px solid #ff5252;
    background: linear-gradient(90deg, #FF2424, #FF5723);
    border-radius: 2px;
    margin-left: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

/*************透明头*************/
.header-tm {
    background: none;
    border-bottom: 1px solid rgba(255,255,255,.3)
}

.header-tm .logo-box .logo {
    display: none;
}

.header-tm .logo-box .logo-white {
    display: block;
}

.header-tm .f-menu > li .f-link {
    color: #fff;
}

.header-tm .f-menu > li .f-link:hover {
    color: #fff;
}

.header-tm .s-menu {
    border-top: none;
}

.header-tm .header-btn {
    background: #fff;
    color: #F20D23;
    border: 0;
}

/*************中间内容**************/
.body-box {
    background: #fff;
}

/*************页脚*************/
.footer {
    font-size: 14px;
    line-height: 1.8;
    color: #a8aaba;
    background: #32333b;
}

.footer-wrap {
    width: 1100px;
    margin: 0 auto;
}

.footer-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-service li {
    display: flex;
    align-items: center;
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

.footer-service li img {
    width: 25px;
    height: auto;
    margin-right: 10px;
}

.footer-main {
    padding: 20px 0;
    display: flex;
    border-top: 1px solid #45484c;
    border-bottom: 1px solid #45484c;
}

.footer-main .map {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.footer-main .map dt {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: normal;
    color: #d7d8d9;
}

.footer-main .map dd {
    margin-bottom: 8px;
    overflow: hidden;
}

.footer-main .map dd a {
    font-size: 12px;
    color: #999;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.footer-main .qcode {
    width: 320px;
    margin-left: 50px;
    padding-left: 50px;
    border-left: 1px solid #45484c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-main .qcode img {
    width: 110px;
    width: 110px;
}

.footer-main .qcode p {
    color: #999;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.footer-copyright {
    text-align: center;
    padding: 25px 0;
    color: #999;
}

.footer-copyright a {
    color: #999;
}
/*************右侧客服*************/
.sidebar {
    position: fixed;
    right: 20px; /*多空点防止拖动滚动条时触发弹窗*/
    bottom: 120px;
    z-index: 9999;
}

.sidebar .head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 92px;
    margin-top: 0px;
    background: #fff;
    border-radius: 50px 50px 6px 6px;
}

.sidebar .head img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid #3161ef;
}

.sidebar .head p {
    color: #3161ef;
    margin-top: 5px;
}

.sidebar li {
    width: 68px;
    height: 68px;
    background: #0067ed; /*qidian.qq.com的颜色*/
    font-size: 12px;
    margin-top: 6px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.sidebar li.active {
    background: #0054c9;
}

.sidebar li .iconfont {
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
}

.sidebar li .name {
    color: #fff;
    font-size: 12px;
}

.sidebar li > a {
    display: flex; /*在线客服*/
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sidebar li .con {
    position: absolute;
    width: 250px;
    left: -250px;
    padding-right: 20px;
    background-color: transparent;
    cursor: auto;
    display: none;
}

.sidebar li.active .con {
    display: block;
}

.sidebar li .con-wrap {
    width: 230px;
    background-color: #fff;
    box-shadow: 0 6px 20px 2px rgba(0,0,0,.18);
    border-radius: 2px;
    transition: all .1s ease;
    padding: 25px 10px;
    text-align: center;
    position: relative;
}

.sidebar li .con-wrap:before {
    content: '';
    position: absolute;
    top: calc(50% - 10px);
    right: -18px;
    padding: 0;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    border-left: 10px solid #fff;
    border-right: 10px solid transparent;
    display: block;
}

.sidebar .con .title {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.sidebar .con .subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.sidebar .con .qrcode {
    width: 140px;
    height: 140px;
}

.sidebar .con .desc {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.sidebar .con .tel-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar .con .tel-box .iconfont {
    margin-right: 5px;
    font-size: 26px;
    color: #0067ed;
}

.sidebar .con .tel-box .tel {
    font-size: 20px;
    color: #333;
}

/*微信弹窗咨询*/
.wecode-box {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0,0,0,.5);
    display: none;
}

.wecode-box .wecode-wrap {
    position: relative;
    text-align: center;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    width: 290px;
    padding:50px 20px 25px 20px;   
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}

.wecode-box .wecode-wrap .title {
    font-size: 18px;
    color: #333;
}

.wecode-box .wecode-wrap .subtitle {
    font-size: 14px;
    color: #999;
    margin-top: 3px;
}

.wecode-box .wecode-wrap .qrcode {
    width: 150px;
    height: 150px;
    margin: 25px 0;
}

.wecode-box .wecode-wrap .scan {
    width: 180px;
    height: 33px;
    line-height: 33px;
    font-size: 16px;
    background: #0067ed;
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.wecode-box .wecode-wrap .tel-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.wecode-box .wecode-wrap .tel-box .iconfont {
    margin-right: 8px;
    font-size: 26px;
    color: #0067ed;
}

.wecode-box .wecode-wrap .tel-box .tel {
    font-size: 16px;
    color: #3D3D3D;
}


.wecode-box .wecode-wrap .close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 22px;
}
