@charset "utf-8";

.container {
    width: 16rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.box-container {
    width: 12.8rem;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

/* header  */
header {
    position: fixed;
    z-index: 2;
    width: 100%;
    padding: .18rem 0;
    /* transition: all .3s; */
}
header::after {
    content: '';
    transition: all .3s;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    box-shadow: 0 2px 3px rgba(50, 50, 50, 0.1);
    background-color: #fff;
    transform: translateY(-100%);
}
header.header-fixed::after {
    transform: translateY(0);
    
}

.logo img {
    width: 4.25rem;
}
.nav {
    margin-right: 0.95rem;
}
.nav li {
    margin: 0 .4rem;
    padding-bottom: 0.04rem;
    font-size: 0.18rem;
    font-weight: 500;
    font-family: "思源黑体 Regular";
}
.nav li a {
    transition: all .3s;
}
.nav li:hover a,.nav li.current-menu-item a,.nav li.current-menu-parent a {
    color: #ffffff;
}
.nav li.current-menu-item,.nav li.current-menu-parent {
    box-shadow: 0 -4px 0 #ffffff inset;
}
.btm .nav li.current-menu-item,.btm .nav li.current-menu-parent {
    box-shadow: 0 -4px 0 #df0615 inset;
}
header.header-fixed .nav li:hover a,header.header-fixed .nav li.current-menu-item a,header.header-fixed .nav li.current-menu-parent a {
    color: #df0615;
}

.btm .nav li:hover a,.btm .nav li.current-menu-item a,.btm .nav li.current-menu-parent a {
    color: #df0615;
}
header.header-fixed .nav li.current-menu-item,header.header-fixed .nav li.current-menu-parent {
box-shadow: 0 -4px 0 #df0615 inset;
}

.btm .nav li.current-menu-item,.btm .nav li.current-menu-parent {
    box-shadow: 0 -4px 0 #df0615 inset;
}
.mobile-open {
    display: none;
}
.mobile-nav-block {
    position: fixed;
    height: 100vh;
    width: 100vw;
    right: 0;
    top: 0;
    padding: 10px 15px 60px;
    transform: translate3d(0, 0, 0);
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    background-color: #faf4eb;
    transition: all .3s;
    /* display: none; */
}
#mobile-nav-open {
    /* background: #fff;
    border-radius: 50%; */
    display: block;
}
.mobile-nav-block.on {
    opacity: 1;
    visibility: visible;
    z-index: 999;
}

footer {
    padding: 1rem 0;
    background-color: #f4ebda;
}
footer.home {
    padding-bottom: 1.8rem;
}
footer .socal-list {
    justify-content: center;
}
footer .socal-list li {}
footer .socal-list li img {
    width: 0.48rem;
    margin: 0 15px;
}
footer .socal-list li img:hover {
    filter: invert(26%) sepia(93%) saturate(6850%) hue-rotate(353deg) brightness(82%) contrast(111%);
}
footer .copyright {
    margin-top: 0.3rem;
    font-size: 0.16rem;
    color: #666666;
    text-align: center;
}
footer .copyright a {
    font-size: 0.16rem;
    color: #666666;
}


.fixed-footer {
    background: url(../images/footer-bg.png) no-repeat;
    position: fixed;
    width: 100%;
    height: 0.9rem;
    left: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(110%);
    transition: all 0.3s;
}

.fixed-footer.on {
    transform: translateY(0);
}

.fixed-footer .footer-logo img {
    width: 1.55rem;
}
.fixed-footer .left {
    display: flex;
    align-items: center;
}
.fixed-footer .left .getFrom {
    margin-left: 1rem;
    font-family: "huxiaobo";
    font-size: 0.3rem;
    cursor: pointer;
    animation: scale 4s ease-in-out infinite;
}
@keyframes scale {
    0% {
        transform: scale(1);
        color: #333;
    }

    50% {
        transform: scale(1.1);
        color: #df0615;
    }

    100% {
        transform: scale(1);
        color: #333;
    }
}
.fixed-footer .tel img {
    width: 0.3rem;
    margin-right: 0.2rem;
}

.fixed-footer .tel p {
    margin-right: 0.2rem;
    font-family: "huxiaobo";
    font-size: 0.3rem;
    color: #000000;
}
.fixed-footer .tel span {
    font-family: "huxiaobo";
    font-size: 0.36rem;
    color: #000000;
}


.forms {
    position: fixed;
    padding: 0.5rem;
    left: 50%;
    top: 150%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: .2rem;
    width: 12rem;
    box-shadow: 0 0 .16rem #ccc;
    display: flex;
    z-index: 999;
    transition: all .5s;
}
.layui-layer-dialog {
    z-index: 99999;
}
.forms.show {
    top: 50%;
}
.forms .left {
    width: 50%;
}
.forms .left .top {
    padding-bottom: 0.2rem;
    /* margin-bottom: 0.2rem; */
    border-bottom: 1px solid #999;
}
.forms .left .top h3 {
    font-family: Arial;
    margin-bottom: 0.1rem;
    color: #df0615;
    font-size: 0.52rem;
}
.forms .left .top h4 {
    margin-bottom: 0.1rem;
    color: #333;
    font-size: 0.38rem;
}
.forms .left .btm {
    color: #666;
    font-size: 0.18rem;
    white-space: pre-line;
}
.forms .right {
    width: 50%;
    font-size: 0.16rem;
    margin-left: 0.4rem;
}
.forms .right h5 {
    margin-bottom: 0.3rem;
    color: #df0615;
    font-size: 0.3rem;
}
.forms .right input[type="text"].input {
    width: 100%;
    margin-bottom: 0.25rem;
    padding: 0.1rem 0rem;
    border-bottom: 1px solid #ddd;
}
.forms .right .layui-form-label {
    padding-left: 0;
    width: auto;
}
.forms .right input[type="submit"].submit {
    width: 100%;
    color: #fff;
    background-color: #df0615;
    padding: 0.15rem 0;
    border-radius: 0.05rem;
    margin-top: 0.2rem;
    font-size: .2rem;
    cursor: pointer;
}
.forms .close {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    width: 0.22rem;
    cursor: pointer;
}
@media (max-width: 1730px) {
    .forms {
        width: 14rem;
    }
    .layui-form-item .layui-input-inline {
        width: 1.9rem;
    }
}
@media (max-width: 1600px) {
    header {
        padding: 18px 0;
    }
    .logo img {
        width: 315px;
    }
    .nav {
        margin-right: 65px;
    }
    .nav li {
        margin: 0 25px;
        font-size: 18px;
    }
    .btm-border img {
        height: 30px;
    }


    footer .copyright {
        margin-top: 30px;
        font-size: 16px;
    }
    footer .copyright a {
        font-size: 16px;
    }

    .fixed-footer {
        height: 90px;
    }
    .fixed-footer .footer-logo img {
        width: 150px;
    }
    .fixed-footer .tel p {
        margin-right: 20px;
        font-size: 26px;
    }
    .fixed-footer .tel span {
        font-size: 32px;
    }
    .fixed-footer .tel img {
        margin-top: 4px;
        width: 30px;
        margin-right: 14px;
    }
    .fixed-footer .left .getFrom {
        margin-left: 50px;
        font-size: 30px;
    }
    
}


@media (max-width: 1400px) {
    .container {
        width: auto;
        max-width: 1200px;
        padding: 0 15px;
    }
    .logo img {
        width: 240px;
    }
    .nav {
        margin-right: 0;
    }
    .nav li {
        margin: 0 20px;
        font-size: 16px;
    }
    .btm-border img {
        height: 25px;
    }
    footer .socal-list li img {
        width: 32px;
    }
    .fixed-footer {
        height: 60px;
    }
    .fixed-footer .container {
        width: 100%;
    }
    .fixed-footer .tel img {
        width: 20px;
        margin-right: 10px;
    }
    .fixed-footer .left .getFrom {
        margin-left: 30px;
        font-size: 24px;
    }
    .fixed-footer .tel p {
        margin-right: 14px;
        font-size: 20px;
    }
    .fixed-footer .tel span {
        font-size: 24px;
    }
    .forms {
        width: 80%;
        padding: 50px 30px;
    }
    .forms .left .top h3 {
        font-size: 32px;
    }
    .forms .left .top h4 {
        font-size: 28px;
    }
    .forms .left .btm {
        font-size: 16px;
    }
    .forms .right {
        font-size: 16px;
    }
    .forms .right h5 {
        font-size: 26px;
    }
    .forms .right input[type="submit"].submit {
        font-size: 18px;
    }
}

@media (max-width: 960px) {
    header {
        padding: 5px 0;
        padding-top: 15px;
    }
    .nav {
        display: none;
    }
    .btm {
        margin-top: 30px;
    }
    .btm .nav {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
    }
    .btm .nav li {
        margin-top: 15px;
        font-size: 20px;
    }
    .btm .nav li span {
        padding-right: 12px;
        font-size: 28px;
        font-family: "DIN-Black";
    }
    .btm .socal-list {
        justify-content: center;
        position: absolute;
        bottom: 50px;
        border: 1px solid #555555;
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 30px;
        border-radius: 40px;
        box-sizing: content-box;
        width: 65%;
    }
    .btm .socal-list li {
        margin: 0 15px;
    }
    .btm .socal-list li img {
        width: 40px;
    }

    .mobile-open {
        display: block;
    }
    .mobile-a {
        display: flex;
        position: relative;
        width: 100px;
        height: 100px;
        justify-content: center;
        align-items: center;
        background-color: #f4ebda;
        border-radius: 50%;
    }
    .mobile-open img.rotateimg {
        width: 80px;
        position: absolute;
        -webkit-animation: rotation-clockwise 20s linear infinite;
        animation: rotation-clockwise 20s linear infinite;
    }
    .mobile-open img.realimg {
        width: 60px;
    }
    header .logo {
        opacity: 0;
        visibility: hidden;
    }
    header::after {
        display: none;
    }
    .logo img {
        width: 180px;
    }
    

    .fixed-footer {
        display: none !important;
    }

    footer .copyright {
        font-size: 14px;
    }
    footer .copyright a {
        font-size: 14px;
    }

    .forms {
        width: 95%;
        top: 200%;
        flex-direction: column;
    }
    .forms .left {
        margin-bottom: 20px;
    }
    .forms .left,.forms .right {
        width: 100%;
    }
    .forms .right {
        margin-left: 0;
    }
    .layui-form-item .layui-input-inline {
        width: 30%;
    }
    .forms .right input[type="text"].input {
        margin-bottom: 25px;
    }
    .forms .right h5 {
        margin-bottom: 15px;
    }
    .forms .right input[type="submit"].submit {
        padding: 12px 0;
        border-radius: 8px;
        margin-top: 20px;
    }
}