/* 头部和banner */
.dropdown:hover .dropdown-menu {
    display: block;
}

#bdshare {
    top: 66.5% !important;
}

.navbar .collapse * {
    transition: unset;
}

@media screen and (max-width:1024px) {
    .navbar img {
        max-height: 44px;
    }

    .home-slide {
        margin-top: 68px;
    }

    .sidebar {
        margin: 20px 0 0 0;
    }
}

@media screen and (max-width:756px) {
    .home-factory .swiper-wrapper .swiper-slide {
        width: 7rem !important;
    }

    .home-factory .swiper-wrapper .swiper-slide img {
        width: 100%;
        height: 5.5rem;
        object-fit: cover;
    }

    .home-nav .home-news {
        width: 90% !important;
    }

    .pagebar .pagination .zx {
        display: none;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
}

.navbar ul li a {
    color: #666;
}

.samller img {
    max-height: 44px;
}

.home-slide {
    margin-top: 99px;
    overflow: hidden;
}

.home-slide .swiper-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: 1s linear 2s;
}

.home-slide .swiper-slide-active img,
.home-slide .swiper-slide-duplicate-active img {
    transition: 5s linear;
    transform: scale(1.2);
}

/* 底部 */
.home-foot {
    padding: 20px 0 0 0;
    background-color: #EEEEEE;
}

.home-foot .footnavi {
    display: flex;
}

.home-foot .footnavi dl {
    display: inline-block;
    margin: 0 25px;
}

.home-foot .footnavi dt {
    font-size: 1.25rem;
}

.home-foot .contact {
    display: flex;
}

.home-foot .contact dt {
    font-size: 1.25rem;
}

.home-foot .contact dl {
    display: inline-block;
    margin: 0 25px;
}

.home-foot h5 {
    font-weight: 700;
    font-size: 1.25rem;
}

.home-foot .copy {
    border-top: 1px solid gray;
    margin-top: 15px;
    line-height: 3rem;
    text-align: center;
}

/* 子页面左侧导航和右侧头部导航 */
.sidebar {
    margin-right: 50px;
    top: 80px;
}

.sidebar * {
    transition: unset;
}

.sidebar dt {
    padding: 15px;
    background: #D3221C;
    color: #fff;
    font-size: 21px;
    font-weight: 500;
}

.sidebar dd {
    margin: 0;
}

.sidebar dd a {
    padding: 10px 10px 10px 30px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

.sidebar dd a i {
    margin-right: 1.25rem;
}

.sidebar .contact {
    background: #fff;
    padding: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

.sidebar .contact h3 {
    color: #D3221C;
    font-size: 22px;
    font-weight: 500;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #D3221C;
}

.sidebar .contact p {
    margin-bottom: 5px;
    word-break: break-all;
}

.sidebar .contact p a {
    color: #D3221C;
    font-size: 1.1rem;
}

.sidebar .message {
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}

.sidebar .message h3 {
    color: #D3221C;
    font-size: 22px;
    font-weight: 500;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #D3221C;
}

.sidebar .message a i {
    font-size: 3rem;
    margin-right: 10px;
}

.sidebar .message a h6 {
    color: #D3221C;
    font-weight: 700;
    font-size: 1.25rem;
}

.sidebar .message a p {
    color: #A09D9D;
}

.position {
    /* display: flex;
    justify-content: space-between; */
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.position h3 {
    font-weight: 700;
}

.position p {
    display: flex;
    align-items: center;
    margin: 0;
    color: #A09D9D;
}

.position p a {
    color: #333;
}

.main {
    margin-top: 36px;
}