/*导航栏开始*/
/* 在移动端弹出的导航栏样式 */
@media (max-width: 993px) {
    /*.navbar-toggler {*/
    /*    margin: 0;*/
    /*    z-index: 1001; !* 将导航按钮的 z-index 设置高于其他内容 *!*/
    /*}*/

    .navbar-collapse {
        /*position: absolute;*/
        /*top: 71px; !* 调整导航栏按钮下方的位置 *!*/
        /*width: auto; !* 使用自适应宽度 *!*/
        /*max-width: 100%; !* 设置最大宽度 *!*/
        width: 100%;
        /*bottom: 0;*/
        right: 0;
        background-color: white;
        border: 1px solid #ddd;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        /*height: 0; !* 初始高度为 0 *!*/
        /*transition: height 0.3s ease-in-out; !* 添加过渡效果 *!*/
        /*transition: top 0.3s ease-in-out; !* 添加过渡效果 *!*/
        /*display: none;*/
        z-index: 1000; /* 将下拉框的 z-index 设置高于页面其他内容 */
    }


    .navbar.show .navbar-collapse {
        display: block;
        /*top: 71px; !* 展开时位置 *!*/
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;

    }

    .navbar-nav .nav-link {
        padding: 5px 0;
        font-size: calc(100vw*0.00833333);
    }
    .navbar-phone,
    .navbar-button{
        display: none;
    }
    .navbar-center {
        /*display: block; !* 取消 flex 布局 *!*/
        text-align: center; /* 水平居中文本内容 */
    }
    #navbar-toggler-button {
        margin-left: auto; /* 将按钮推到最右侧 */

        height: 48px;
    }






}


/*---*/
.navbar-links .nav-link {
    position: relative;
    text-decoration: none;
    color: black;
}

.navbar-nav .nav-link {
    padding: 10px 0;
    font-size: calc(100vw*0.00833333);
}

.navbar-links .nav-link:hover {
    color: #0075FF;
}

.navbar-links .nav-link::before {
    content: "";
    position: absolute;
    width: 75%;
    height: 2px;
    background-color: #0075FF;
    bottom: -2px; /* 调整横线的位置 */
    left: 12.5%;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.navbar-links .nav-link:hover::before {
    transform: scaleX(0.75);
    transform-origin: center;
}

.navbar-custom {
    height: 70px;
    background-color: white; /* 白色底 */
}
.navbar-logo {
    display: flex;
    align-items: center;
}
.navbar-links ul {
    list-style: none;
    padding: 0;
}
.navbar-links li {
    padding-right: 34px;
}
.navbar-links .nav-link {
    /*padding-top: 25px; !* 调整导航栏链接与顶部的距离 *!*/
}
.navbar-phone {
    padding-right: 20px; /* 调整“咨询热线”与导航栏链接的距离 */
    padding-left: 9%;
}
.navbar-phone p {
    margin: 2px 0; /* 调整段落的间距 */
}
.navbar-button {
    /*padding-left: 40px;*/
}
.navbar-center {
    display: flex;
    /*align-items: center;*/
    justify-content: center; /* 水平居中 */
}
.nav-link{
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    /*height: 70px;*/
}
.navbar-nav {
    display: flex;
    align-items: center; /* 垂直居中 */
    /* 其他样式 */
}
#navbarNav{
    padding-left: 50px;
    width: 100%;
}
#navbarText{
    padding-left: 45px;
    width: 100%;
    flex-wrap: nowrap;
    padding-right: 0;
}

nav{

    background: #FFFFFF;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
}

#dropdownMenu2::after {
    content: none; /* 移除下拉菜单项的伪元素内容（倒三角图标） */
}

.navbar-container{
    width: 100%;
}

.navbar-phone button{
    font-size: 15px;
}
.navbar-button button{
    font-size: 15px;
}

.navbar-400-button{
    border: 1px solid #0075FF;
    color: #0075FF;
    cursor: default;
}
.navbar-400-button:hover{
    border: 1px solid #0075FF;
    color: #0075FF;
    cursor: default;
}
.navbar-400-button:not(:disabled):not(.disabled){
    cursor: default;
    background-color: white;
}

.navbar-400-button button:hover{
  cursor: default;
}
.navbar-light .navbar-nav .nav-link{
    font-size: 17px;
    padding-right: 0;
    padding-left: 0;
}

/*.dropdown-menu{*/
/*    font-size: 16px;*/
/*    width: 158px;*/
/*    height: 146px;*/

/*}*/
/*导航栏结束*/


/*@media (max-width: 1600px) {*/
/*    .navbar-nav .nav-link {*/
/*        padding: 5px 0;*/
/*        font-size: calc(100vw*0.00833333);*/
/*    }*/

/*    .navbar-links li {*/
/*        padding-right: 10px;*/
/*    }*/

/*    .navbar-phone,*/
/*    .navbar-button button{*/
/*        font-size: calc(100vw*0.00833333);*/
/*    }*/
/*}*/

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
    }
}
