* {
    padding: 0;
    margin: 0;
}

.nav-link{
    color: #333;
}


.active {
    color: #027AFF  !important;
}


@media screen and (min-width: 501px) {
    .nav_bar_pc {
        display: block;
    }

    .nav_bar_yd {
        display: none;
    }

    .nav {
        position: fixed;
        width: 100%;
        z-index: 9 !important;
        background-color: #fff;
        box-shadow: 0 0 15px rgba(0, 0, 0, .1);
    }

    .nav .navbar {
        margin: 0 auto;
        max-width: 75rem;
        width: 80%;
    }

    .nav .navbar .navbar-nav .nav-item {
        margin-left: 10px;
    }

    .nav .navbar .navbar-nav .nav-item a {
        color: #333;
        cursor: pointer;
    }

    .nav .navbar .navbar-nav .nav-item .first:hover {
        color: #027AFF ;
    }

    .d-flex {
        margin-left: 50px;
    }

    .d-flex .btn {
        padding: 5px 20px !important;
    }

    .d-flex .btn:nth-child(2) {
        margin-left: 30px;
        background: #027AFF ;
        color: #fff;
        border: #fff;
    }


    .second_menu {
        display: block;
        width: 100%;
        height: 16.5rem;
        position: fixed;
        z-index: 999;
        margin-top: 3.5rem;
        box-shadow: 0px 0px 5px 1px rgba(204, 204, 204, 0.75);
        background: #fff;
    }

    .second_menu .content {
        display: flex;
        justify-content: space-between;
        max-width: 75rem;
        width: 80%;
        margin: 0 auto;
        height: 100%;
    }

    .second_menu .content .box:nth-child(1) {
        padding-top: 3.75rem;
        padding-right: 2.5rem;
        background: #fff;
    }

    .second_menu .content .box:nth-child(1) .label {
        font-size: 0.875rem;
    }

    .second_menu .content .box:nth-child(2) {
        width: 50%;
        height: 100%;
        padding-top: 2.5rem;
        display: flex;
        justify-content: space-around;
        background: #fff;
    }

    .second_menu .content .box:nth-child(2) .list_box {
        width: 35%;
    }

    .second_menu .content .box:nth-child(2) .list_box .title {
        display: flex;
        height: 1.875rem;
        border-bottom: 1px solid #e6e6e6;
    }

    .second_menu .content .box:nth-child(2) .list_box .title .line {
        width: 0.125rem;
        height: 1.125rem;
        margin-top: 0.125rem;
        background: #027AFF ;
        border-radius: 0.3125rem;
    }

    .second_menu .content .box:nth-child(2) .list_box .title .name {
        /*margin-left: 0.3125rem;*/
    }

    .second_menu .content .box:nth-child(2) .list_box .list {
        padding: 0;
        list-style: none;
        margin-top: 0.625rem;
        font-size: 0.875rem;
    }

    .second_menu .content .box:nth-child(2) .list_box .list li {
        margin-top: 0.3125rem;
        color: #333;
    }

    .second_menu .content .box:nth-child(2) .list_box .list li a {
        color: inherit;
        text-decoration: none;
        cursor: pointer;
    }

    .second_menu .content .box:nth-child(2) .list_box .list li:hover {
        color: #027AFF ;
        cursor: pointer;
    }

    .second_menu .content .box:nth-child(3) {
        padding: 1.25rem;
        height: 100%;
        background: #fff;
    }

    .second_menu .content .box:nth-child(3) .label_box {
        height: 100%;
    }

    .second_menu .content .box:nth-child(3) .label_box .label {
        width: 100%;
        height: 40%;
        box-shadow: 0 0 8px rgba(0,0,0,.1);
        border-radius: 0.3125rem;
        padding: 0.625rem;
    }

    .second_menu .content .box:nth-child(3) .label_box .label p {
        font-size: 0.875rem;
    }


    .login_btn {
        padding: 5px 25px;
        margin-right: 20px;
        background: #fff;
        color: #333;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        cursor: pointer;
        transition: .3s;
    }


    .reg_btn {
        padding: 5px 25px;
        background: #027AFF  ;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: .3s;
    }

    .firm {
        position: fixed;
        width: 20rem;
        right: 0.3125rem;
        top: 35rem;
        z-index: 999;
        display: flex;
    }

    .firm .left_box {
        width: 16rem;
        position: relative;
        z-index: 999;
    }

    .firm .left_box .popover_box {
        position: absolute;
        top: 4.5rem;
        left: 60%;
        width: 90%;
        transform: translate(-50%);
        text-align: center;
        display: flex;
        visibility: hidden;
    }

    .firm .left_box .popover_box .content{
        width: 90%;
        background: #fff;
        padding: 10px 5px;
    }
    .firm .left_box .popover_box .content .text{
        color: #027AFF ;
    }

    .firm .left_box .popover_box1 {
        position: absolute;
        top: 4.5rem;
        left: 76%;
        width: 50%;
        transform: translate(-50%);
        text-align: center;
        display: flex;
        visibility: hidden;
    }

    .firm .left_box .popover_box1 .content{
        width: 90%;
        background: #fff;
        padding: 10px 5px;
    }

    .popover_box .triangle {
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-left: 10px solid #fff;
        border-bottom: 10px solid transparent;
        margin-top: 10px;
    }
    .popover_box1 .triangle {
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-left: 10px solid #fff;
        border-bottom: 10px solid transparent;
        margin-top: 60px;
    }


    .firm .right_box {
        width: 4rem;
        text-align: center;
        font-size: 12px;
    }

    .firm .right_box .avator {
        width: 100%;
        padding-bottom: 5px;
    }

    .firm .right_box .avator img {
        width: 3.25rem;
        border-radius: 50%;
    }

    .firm .right_box .right_list {
        width: 100%;
        background: #fff;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    }

    .firm .right_box .right_list .box {
        padding: 8px 2px;
        cursor: pointer;
    }

    .firm .right_box .right_list .box img {
        width: 25px;
    }

}

@media screen and (max-width: 500px) {
    .nav_bar_pc {
        display: none;
    }
    .dropdown{
     border-bottom: 1px solid #e6e6e6 !important;
    }
    .nav_bar_yd {
        display: block;
    }

    .firm{
        display: none;
    }

    .nav {
        position: fixed;
        width: 100%;
        z-index: 9 !important;
        background-color: #fff;
        box-shadow: 0 0 8px rgba(0,0,0,.1);
    }

    .menu-item{
        display:flex;
        flex-direction:column;
    }
    .list{
        padding:0;
        margin-top:10px;
        list-style:none;
    }
    .list li{
        margin-bottom:8px;
    }

}









