﻿/* 公共头部 */
.layout-header {
    position: fixed;
    top: 0;
    z-index: 999999;
    background-color: #fff;
    border-bottom: 1px solid #f3f3f3;
    width: 100%;
    height: 70px;
}

.layout-nav {
    display: flex;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

    .layout-nav > div,
    .layout-nav > ul {
        height: 100%;
        display: flex;
        align-items: center;
    }
    /* 头部logo */
    .layout-nav .logo-wrap {
        width: 120px;
        font-weight: normal;
    }

        .layout-nav .logo-wrap .logo {
            margin-right: 10px;
        }

        .layout-nav .logo-wrap img {
            max-width: 100%;
            margin-top: 16px;
        }

    .layout-nav .login-wrap {
        /*width: 330px;*/
        color: #3c3c3c;
        font-size: 16px;
        display: flex;
        justify-content: flex-end;
    }

        .layout-nav .login-wrap .phone i {
            display: inline-block;
            vertical-align: middle;
            width: 18px;
            height: 23px;
            background: url('/imgs/icons/phone01.svg') no-repeat;
            margin-right: 8px;
        }
    /* 导航栏 */
    .layout-nav .navBar {
        flex: 1;
        justify-content: space-between;
        padding: 0 30px;
    }

        .layout-nav .navBar > li {
            position: relative;
            height: 100%;
            cursor: pointer;
            box-shadow: 0 0 1px rgba(0, 0, 0, 0);
            padding-top: 24px;
        }

            .layout-nav .navBar > li > a {
                font-size: 16px;
                color: #3c3c3c;
            }

            .layout-nav .navBar > li:hover > a > img {
                transform: rotateX(-180deg);
            }
        /* 导航栏active */
        .layout-nav .navBar li.active a span {
            border-bottom: 2px solid #0089cd;
            padding-bottom: 4px;
            color: #0089cd;
        }
        /* 导航栏hover */
        .layout-nav .navBar > li:hover > a {
            color: #0089cd;
        }

            .layout-nav .navBar > li:hover > a > img {
                transform: rotateX(-180deg);
            }


        /* 导航下拉菜单hover && active */
        .layout-nav .navBar .product_down a.active {
            background: #F5F6F7;
            border-radius: 4px;
        }
/* 产品与服务下拉框 */
.product_down {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    margin-top: 25px;
    cursor: default;
    box-shadow: 0px 3px 6px 1px rgba(152,152,152,0.1);
}

    .product_down .product_box {
        width: 1200px;
        margin: 0 auto;
        padding-top: 35px;
        padding-bottom: 35px;
    }

        .product_down .product_box .product_list {
            display: inline-block;
            width: 280px;
            float: left;
            margin-left: 70px;
        }

            .product_down .product_box .product_list:nth-child(1) {
                margin-left: 0;
            }

            .product_down .product_box .product_list .product_title {
                width: 280px;
                text-align: left;
                font-size: 18px;
                font-weight: 500;
                color: #3c3c3c;
                line-height: 24px;
                padding-bottom: 20px;
                border-bottom: 1px solid #E8E8E8;
                margin-bottom: 20px;
                margin-left: 10px;
            }

            .product_down .product_box .product_list .product_item {
                display: block;
                margin-bottom: 20px;
            }

                .product_down .product_box .product_list .product_item:hover {
                    background: #f5f6f7;
                    border-radius: 4px;
                }

                .product_down .product_box .product_list .product_item img {
                    display: inline-block;
                    width: 30px;
                    height: 30px;
                    background-size: 100%;
                    margin: 12px 10px 0 10px;
                    float: left;
                }

                .product_down .product_box .product_list .product_item .item_top {
                    padding-top: 12px;
                    padding-bottom: 12px;
                }

                    .product_down .product_box .product_list .product_item .item_top .item_title {
                        display: inline-block;
                        font-size: 16px;
                        color: #3c3c3c;
                        line-height: 16px;
                        padding-bottom: 4px;
                    }

                        .product_down .product_box .product_list .product_item .item_top .item_title .hot_icon {
                            display: inline-block;
                            width: 30px;
                            height: 15px;
                            margin: 0;
                            position: relative;
                            float: right;
                            margin-left: 10px;
                        }

                    .product_down .product_box .product_list .product_item .item_top .item_text {
                        font-size: 12px;
                        color: #9A9A9A;
                        line-height: 16px;
                    }
/* 全局搜索 */
.layout-nav .search {
    width: 190px;
    margin-right:20px;
}

    .layout-nav .search input {
        width: 190px;
        height: 40px;
        background: #FFFFFF;
        border: 1px solid #e5e5e5;
        border-radius: 20px;
        padding-left: 10px;
        padding-right: 30px;
    }

    .layout-nav .search i {
        position: absolute;
        cursor: pointer;
        width: 18px;
        height: 18px;
        margin-top: -9px;
        margin-left: -32px;
        background: url('../../imgs/section/sousuo.png') no-repeat;
    }

        .layout-nav .search i:hover {
            background: url('../../imgs/section/sousuo_hover.png') no-repeat;
        }

    .layout-nav .search input:focus {
        border: 1px solid #0089cd !important;
    }
/* 适配设置 */
@media screen and (max-width:1980px) {
    .search_content, .hot_search {
      left: 59% !important;
    }
}

@media screen and (max-width:1440px) {
    .search_content, .hot_search {
        left: 59% !important;
    }
}

@media screen and (max-width:1200px) {
    .search_content, .hot_search {
        left: 710px !important;
    }
}
/* 全局搜索 结果显示样式 */
.search_content {
    position: absolute;
    top: 60px;
    height: auto !important;
    background: #fff;
    width: 334px;
    border: 1px solid #E9E9E9;
    border-radius: 3px;
}

    .search_content .result_content {
        padding: 25px;
    }

        .search_content .result_content li {
            font-size: 16px;
            color: #3c3c3c;
            margin-bottom: 20px;
            cursor: pointer;
        }

            .search_content .result_content li:last-child {
                margin-bottom: 0;
            }

            .search_content .result_content li a {
                display: -webkit-box;
                word-break: break-all;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                overflow: hidden;
                text-overflow: ellipsis
            }

                .search_content .result_content li a:hover {
                    color: #3c3c3c;
                }
/* 全局搜索 热门搜索 */
.hot_search {
    position: absolute;
    top: 60px;
    height: auto !important;
    background: #fff;
    width: 334px;
    border: 1px solid #E9E9E9;
    border-radius: 3px;
}

    .hot_search .hot_result {
        width: 334px;
        padding: 10px;
    }

        .hot_search .hot_result .hot_header {
            margin-top: 5px;
            padding-left: 10px;
            padding-bottom: 15px;
            font-size: 16px;
            font-weight: bold;
            color: #3c3c3c;
            border-bottom: 1px solid #EAEAEA;
        }

            .hot_search .hot_result .hot_header img {
                margin-left: 7px;
            }

        .hot_search .hot_result li {
            margin: 10px 10px 20px;
        }

            .hot_search .hot_result li:nth-child(2) {
                margin-top: 15px;
            }

            .hot_search .hot_result li:last-child {
                margin-bottom: 10px;
            }

            .hot_search .hot_result li a {
                font-weight: 400;
                line-height: 16px;
                color: #0089cd;
            }
/*  APP下载 */
.layout-nav .login-wrap .app {
    margin-left: 20px;
    margin-top: 3px;
}

    .layout-nav .login-wrap .app i {
        display: inline-block;
        vertical-align: middle;
        width: 18px;
        height: 23px;
        background: url('../../imgs/section/app-load.png') no-repeat;
        margin-right: 8px;
    }

    .layout-nav .login-wrap .phone:hover span,
    .layout-nav .login-wrap .app:hover span {
        color: #0089cd;
    }

.layout-nav .login-wrap a {
    display: inline-block;
    color: #3c3c3c;
}

    .layout-nav .login-wrap a.name {
        width: 80px;
        height: 20px;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        margin-top: 6px;
        margin-left: 5px;
        cursor: pointer;
    }

.layout-nav .active_text {
    position: absolute;
    top: 3px;
    margin-right: -50px;
    z-index: 100;
}

.layout-nav .login-wrap .go-register {
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: #3c3c3c;
    margin-left: 22px;
    margin-right: 22px;
}

    .layout-nav .login-wrap .go-register:hover {
        color: #0089cd;
    }

.layout-nav .login-wrap .go-login {
    height: 70px;
    line-height: 70px;
    background: linear-gradient(62deg, #18B2FE 0%, #08A1EE 100%);
    font-size: 16px;
    color: #fff;
    padding: 0 15px;
}

    .layout-nav .login-wrap .go-login:hover {
        opacity: 0.7;
    }
/* 账号拆分 头像 */
.layout-nav .login-wrap .user_img {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

    .layout-nav .login-wrap .user_img .img {
        width: 100%;
        height: 100%;
        object-fit:cover;
    }

.layout-nav .login-wrap .signing_box {
    position: fixed;
    top: 62px;
    display: none;
    width: 139px;
    height: 205px;
    padding-top: 12px;
    margin-top: -16px;
    background-image: url('../../imgs/section/signing_box.png');
}

    .layout-nav .login-wrap .signing_box a {
        display: block;
        width: 129px;
        height: 37px;
        line-height: 37px;
        text-align: center;
        margin: 0 auto;
    }

        .layout-nav .login-wrap .signing_box a:hover {
            cursor: pointer;
            background: #F5F5F5;
        }

        .layout-nav .login-wrap .signing_box a .red_spot {
            position: relative;
            top: -10px;
            right: -6px;
            display: inline-block;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #f25130;
        }
/* 头部最右侧 */
.nav-right-box {
    width: 300px;
    width: 330px;
    color: #3c3c3c;
    font-size: 16px;
    display: flex;
    justify-content: flex-end;
}

.nrb-item-box {
    position: relative;
    margin-right: 30px;
}

.nrb-item-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.nrb-no-login-text {
    font-size: 16px;
    font-weight: 400;
    color: #3C3C3C;
    cursor: pointer;
    margin-left: 5px;
}

.nrb-no-login-box {
    margin-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
}

.nrb-no-login-send20 {
    position: absolute;
    right: -47px;
    top: -14px;
    display: inline-block;
    width: 80px;
    height: 18px;
    background: url("../../imgs/section/header/send20.png") no-repeat;
    background-size: 100%;
}

.nrb-down-box {
    display: none;
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 146px;
    background: #FFFFFF;
    box-shadow: 0px 0px 12px 1px rgba(0,0,0,0.12);
    border-radius: 6px 6px 6px 6px;
}

    .nrb-down-box::before,
    .nrb-service-box::before {
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        content: "";
        width: 16px;
        height: 8px;
        background: url("../../imgs/section/header/triangle-up.png") no-repeat;
        background-size: 100%;
    }

    .nrb-down-box > img {
        margin: 15px 15px 5px;
        width: 100px;
        height: 100px;
    }

    .nrb-down-box > p {
        font-size: 12px;
        font-weight: 400;
        color: #333333;
        text-align: center;
    }

.nrb-service-box {
    display: none;
    padding: 20px 16px 0;
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 228px;
    height: 180px;
    background: #FFFFFF;
    box-shadow: 0px 0px 12px 1px rgba(0,0,0,0.12);
    border-radius: 6px 6px 6px 6px;
}

    .nrb-service-box .text1 {
        margin-bottom: 16px;
        font-size: 14px;
        font-weight: 400;
        color: #333333;
    }

    .nrb-service-box .text2 {
        margin-bottom: 28px;
        font-size: 12px;
        font-weight: 400;
        color: #999999;
    }

    .nrb-service-box .service-btn {
        margin: 0 22px;
        display: inline-block;
        width: 152px;
        height: 30px;
        background: url("../../imgs/section/header/service-btn.png") no-repeat;
        background-size: 100%;
        cursor: pointer;
    }
