* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.row {
    display: flex;
    flex-wrap: wrap;
}


/* PC */

@media (min-width: 1200px) {
    .container {
        width: 1200px;
        margin: 0 auto;
        padding: 0;
    }

    .m-top {
        display: none;
        width: 0 !important;
    }

    .pc-top {
        width: 100%;
        height: 60px;
        background-color: #2d384a;
    }

    .topNav {
        margin: 0 45px;
    }

    .logo {
        line-height: 60px;
    }

    .topNav ul {
        float: left;
        margin-bottom: 0;
        /*display: flex;
        max-width: 1000px;
        min-width: 510px;*/
    }

        .topNav ul li {
            /* padding: 0 0.3rem; */
            /*flex: 1;*/
            margin-right: 20px;
            display: block;
            float: left;
            height: 60px;
            line-height: 60px;
            cursor: pointer;
        }

            .topNav ul li:last-child {
                margin-right: 0;
            }

            .topNav ul li a {
                font-size:16px;
                color: #fff;
            }

            .topNav .nav-hover > a,
            .topNav ul li:hover > a {
                border-bottom: 2px solid #fff;
                padding-bottom: 8px;
            }

    .search {
        width: 260px;
        height: 30px;
        padding-top: 15px;
    }

        .search input {
            float: left;
            width: 255px;
            height: 30px;
            font-size: 12px;
            border: none;
            outline: none;
            background: #565F6D;
            padding: 0 35px 0 10px;
            color: #fff;
            border-radius: 30px;
        }

    .i-search {
        width: 22px;
        height: 23px;
        background: url(/Images/serach.png) no-repeat;
        display: block;
        float: left;
    }

    .search i {
        cursor: pointer;
        margin: 9px 0px 0px -30px;
    }

    .login {
        padding: 2px 10px;
        background-color: rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        margin-right: 10px;
        border-radius: 20px;
    }

    .UserBox {
        margin: 1px 3px 2px;
    }

    .login .Login {
        line-height: 25px;
        color: #fff;
        font-size: 14px;
    }

    .Login span {
        margin-left: 5px;
    }
    .subNav{        
        position:absolute;
        top:60px;
        width: 100%;
        height: 160px;
        background-color: #fff;
        padding: 16px 0;
        line-height: 36px;
        z-index: 1000;
    }
    .subNav-li{
        background: url(../../images/ico3.png) right center no-repeat;
        margin-right: 40px;
		float:left;
    }
    /* footer */
    .footer {
        width: 100%;
        /*height: 100px;*/
        padding: 1.875rem 0;
        background: #2e3033;
        margin-top: 30px;
    }

        .footer p {
            text-align: center;
            color: #abacad;
            line-height: 20px;
            margin-bottom: 0;
            font-size: .75rem;
        }

        .footer a {
            color: #abacad;
        }

}


/* 手机 */

.margin_l_r {
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (max-width: 1199px) {
    .pc-top {
        display: none;
    }

    .search {
        width: 100%;
        height: 80px;
        background-color: #2d384a;
    }
    .top-input {
        float: left;
        width: 100%;
        margin-top: 20px;
        /* background-color: red; */
        position: relative;
    }
    .top-input input {
        width: 100%;
        height: 2rem;
        border: none;
        outline: none;
        background-color: #565F6D;
        color: #fff;
        border-radius: 0.5rem;
        padding-left: 2rem;
    }
    .top-input input::-webkit-input-placeholder {
        color: rgba(255, 255, 255, .7);
        /* background-color: red; */
        font-size: 13px;
        line-height: 2rem;
    }
    .i-search {
        width: 22px;
        height: 23px;
        background: url(/Images/serach.png) no-repeat;
        display: block;
        /* float: left; */
        position: absolute;
        left: 12px;
        top: 9px;
    }
    /*.top-input {
        float: left;
        width: 100%;
        margin-top: 20px;
    }

        .top-input input {
            width: 100%;
            height: 2.5rem;
            border: none;
            outline: none;
            background: #565F6D;
            color: #fff;
            border-radius: 0.5rem;
            padding-left: 2.5rem;
        }

            .top-input input::-webkit-input-placeholder {
                color: rgba(255, 255, 255, .7);
                font-size: 14px;
            }

    #search {
        cursor: pointer;
        background-image: url("../../images/serach1.png");
        background-repeat: no-repeat;
        background-position: 12px 10px;
        background-size: 22px;
    }*/

    .top-user {
        float: right;
        margin-top: 20px;
        width: 2.5rem;
        height: 2.5rem;
    }
    .top-user img {
        width: 2.5rem;
    }
    /* 导航 */

    .navs-outer {
        min-height: 3rem;
        max-height: 4.5rem;
        overflow: hidden;
        /* 父元素设置固定高度，小于子元素高度，超出隐藏滚动条 */
        /* background: #fff; */
        padding: 0rem!important;
        margin: 0.5rem 0 1rem 0;
        text-align: center;
    }

    .navs {
        width: 100%;
        overflow-x: auto;
        margin: 0 auto;
        min-height: 3rem;
        max-height: 4.5rem;
        height: 126%;
        /*子元素ul的高度超出父元素，由于父元素设置hidden,则隐藏了滚动时候的横向滚动条了 */
        padding-left: 0!important;
        white-space: nowrap;
        display: flex;
    }

        .navs > li {
            width: auto;
            /*flex: 1;*/
            display: inline-block;
            padding: 0 0.9rem;
            text-align: left;
            position: relative;
        }

            .navs > li > a {
                color: #666;
                font-size: 17px;
                /* font-weight: lighter; */
            }
            .navs-outer .nav-hover > a,
            .navs-outer ul li:hover > a {
                border-bottom: 2px solid #2D384A;
                padding-bottom: 8px;
            }
        .navs .active a {
            color: #333;
            font-size: 17px;
            font-weight: bold;
        }

        .navs .active .check_i {
            display: block;
            background-color: #333;
            width: 12px;
            height: 5px;
            border-radius: 5px;
            position: absolute;
            bottom: 1rem;
            left: 50%;
            margin-left: -6px;
            /* padding: 3px 10px; */
        }
    .navs-outer .navs li:first-child {
        padding-left:0;
    }
        .navs-outer .navs .active:first-child .check_i {
            margin-left: -12px;
        }

    /* footer */

    .footer {
        width: 100%;
        /*height: 100px;*/
        padding: 1.875rem 0;
        background: #2e3033;
        margin-top: 20px;
    }

        .footer p {
            text-align: center;
            color: #abacad;
            line-height: 20px;
            margin-bottom: 0;
            font-size: .75rem;
        }

        .footer a {
            color: #abacad;
        }
}
