﻿* {
    margin: 0;
    padding: 0;
    margin: 0 auto;
}
li{list-style:none;}
a{text-decoration:none;display:inline-block;}

html, body {
    height: 100%;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}

body {
    min-width: 1200px;
}

#logo {
    display: inline-block;
    width: 240px;
    position: relative;
    top: 13px;
    margin-right:30px;
}

nav {
    margin-top:3px;
    height: 97px;
    line-height: 94px;
    /*background: #262A2B;*/
    padding-right: 400px;
    position: relative;
    border-bottom: 1px solid #E7E7E7;
    padding-left:4%;
}

#search-wrapper {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 200px;
    top: 30px;
    width: 160px;
}
input.searcher, input.searcher:focus {
    display: inline-block;
    background: #fff;
    color: #535353;
    width: 155px;
    height: 25px;
    border-radius: 15px;
    padding: 3px;
    padding-left: 10px;
    font-size: 14px;
    border: solid;
    border-color: #FFF;
    border: 1px solid #535353;
}
    input.searcher:focus{
        outline:none;
    }

#email {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: -75px;
    top: 5px;
    width: 30px;
    cursor: pointer;
}

#enlink {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: -125px;
    top: 0px;
    width: 30px;
    cursor: pointer;
    /*text-decoration:underline;*/
font-size:20px;
}

    #enlink:visited {
        color: rgb(14, 80, 157);
    }
    #enlink:hover {
        color: rgb(14, 80, 157);
        text-decoration: underline;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.nav-items {
    display: flex;
    list-style: none;
    position:relative;
    left:-50px;
}

    .nav-items li {
        margin-right: 5px;
        position: relative;
    }

        .nav-items li a {
            text-decoration: none;
            color: #010101;
            font-size: 19px;
            /*font-family: 'Microsoft YaHei', '微软雅黑', 'Arial', sans-serif;*/
            /*font-family: "宋体", SimSun, sans-serif;*/
            font-family: PingFang SC,system-ui,-apple-system,Segoe UI,Rototo,Helvetica,Arial,sans-serif;
            /*font-weight:600;*/
        }


            .nav-items li a.selected-nav {
                color: #0E509D;
                border-bottom: 4px solid #0E509D;
            }

            .nav-items li a:hover {
                color: #0E509D;
            }

        .nav-items li ul {
            position: absolute;
            top: 99px;
            left: -100px;
            display: inline-block;
            /*background: #333436;*/
            z-index: 999;
        }

.sub-nav {
    background: #FFF;
    opacity: 1;
    border-radius: 14px;
    margin-top: 15px;
    width: 180px;
    top: -10px; /* 三角形的高度的负值 */
    border: 1px solid #E0E0E0;
    box-shadow: 0 0 10px #999;
}

    .sub-nav:before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid white; /* 三角形的颜色 */
        position: absolute;
        left: 47%;
        top: -10px;
        /*border: 1px solid #E0E0E0;*/
    }

    .sub-nav li {
        display: inline-block;
        float: left;
        height: 30px;
        line-height: 30px;
        width: 100%;
        text-align:center;
        margin:8px 0 5px 0;
    }

        .sub-nav li a {
            display: inline-block;
            height: 100%;
            width: 100%;
            font-size: 17px;
        }

            .sub-nav li a:hover {
                color: #01489A;
            }

.container {
    width: 100%;
    margin: 0 auto;
}


footer {
    position: relative;
    height: 460px;
    line-height: 40px;
    width: 100%;
    margin-top: 135px;
    background: #F6F7FB;
    color: green;
    font-size: 16px;
    text-align: center;
    /*position: absolute;
    bottom: 0;*/
}
#footer-content{
    width:80%;
}
    
#footer1 {
    position: relative;
    height: 390px;
}
#footer-logo{
    width:330px;
    position:absolute;
    left:-30px;
    top:50px;
}
#footer-addr {
    position: absolute;
    left: -25px;
    top: 180px;
    width: 50%;
}
    #footer-addr p {
        color: #737374;
        padding-left:75px;
    }
    #footer-shop {
        height: 100%;
        position: absolute;
        right: 0;
        bottom: 60px;
        width: 340px;
        height: 250px;
        text-align: left;
    }
        #footer-shop li {
            display: inline-block;
            width: 40px;
            height: 40px;
            margin-right: 20px;
            position:relative;
        }
        #footer-shop a {
            display: inline-block;
            width: 100%;
            height: 100%;
            
        }
    #footer-shop a img {
        width: 100%;

    }



#qr_dy {
    width: 200px;
    height: 250px;
    padding:5px;
    position: absolute;
    left: -91px;
    top: -277px;
    background: #FFF;
    opacity: 1;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 0 10px #999;
    display:none;
}

    #qr_dy:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid white; /* 三角形的颜色 */
        position: absolute;
        left: 100px;
        top: 260px;
        /*border: 1px solid #E0E0E0;*/
    }

#qr_wx {
    width: 150px;
    height: 150px;
    /*padding: 5px;*/
    position: absolute;
    left: -63px;
    top: -166px;
    background: #FFF;
    opacity: 1;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 0 10px #999;
    display:none;
}
    #qr_wx:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid white; /* 三角形的颜色 */
        position: absolute;
        left: 70px;
        top: 150px;
        /*border: 1px solid #E0E0E0;*/
    }

        #qr_dy img{
            width:100%;
            height:auto;
            
        }
         #qr_wx img {
            height: 100%;
            width: auto;
        }

        footer p {
            display: block;
            text-align: left;
        }

@media (max-width: 1600px) {
    nav {
        padding-right: 380px;
        padding-left: 2%;
    }
    #search-wrapper {
        right: 150px;
    }
}

@media (max-width: 1400px) {
    nav {
        padding-right: 270px;
        padding-left: 0;
    }
    #search-wrapper {
        right: 130px;
    }
}
@media (max-width: 1300px) {
    nav {
        padding-right: 220px;
        padding-left: 0;
    }

    #search-wrapper {
        right: 45px;
    }
}