/*---------------------------------------------------------------------- /
导航栏设置 PC-开始
----------------------------------------------------------------------- */
/* 导航栏设置 */
.custom-navbar {
    height: 80px;
    border-bottom: 1.5px solid #e7e7e7;
    background-image: url("../images/index/bg-1-1.jpg");
    background-repeat: no-repeat;
}

.nav-bg-1 {
    background: white;
    /* 暂定透明度09 */
    opacity: 0.9;
}

/* LOGO配置 */
.custom-navbar .navbar-brand>img {
    padding-left: 20px;
    height: 50px;
}

.custom-navbar .navbar-brand>.logo-css-1 {
    display: block;
}

.custom-navbar .navbar-brand>.logo-css-2 {
    display: none
}

/* 一级导航栏 */
/* 一级导航栏字体 */
.custom-navbar li.nav-item {
    height: 80px;
    padding-top: 20px;
    padding-left: 0px;
}

.custom-navbar li>a {
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 800;
    line-height: 19px;
    color: white;
}

/* 导航栏间隔 */
.custom-navbar .navbar-nav li:nth-child(n+1) {
    padding-right: 20px;
}

.custom-navbar .navbar-nav li:last-child {
    padding-right: 10px;
}

/* 一级导航栏触发效果 */
.dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 二级子目录 */
.dropdown-menu.navtop {
    margin-top: 25px;
    border-radius: 0px;
    background-color: transparent;
    border: none;
    background-color: black;
    opacity: 0.9 !important;
    padding:0px;
}

/* 二级目录 */
.dropdown-menu>li>a{
    color: white !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
}

/* 选中效果 */
.navbar .dropdown-item:hover {
    background-color: transparent !important;
    color: white !important;
}

.dropdown-menu>li:hover {
    background-color: #35AD54;
}

/* 增加间距 */
.dropdown-menu>li:nth-child(1){
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 5px;
}

.dropdown-menu>li:nth-child(n+2){
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

/* 初始状态 - 不固定 */
#mainNav {
    transition: all 0.3s ease;
}

/* 固定后的样式 */
#mainNav.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.3s;
}

/* 添加一些动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式布局 */
/* 防止内容跳转 */
@media screen and (max-width:1080px) {
    .custom-navbar {
        display: none;
    }
}

@media screen and (min-width:1080px) {
    body.has-fixed-nav {
        padding-top: 80px;
        /* 与导航栏高度相同 */
    }
}

/*---------------------------------------------------------------------- /
导航栏设置 PC-结束
----------------------------------------------------------------------- */

/*---------------------------------------------------------------------- /
导航栏设置 H5-开始
----------------------------------------------------------------------- */
/* 覆盖 Offcanvas 宽度 */
.offcanvas.offcanvas-end {
    width: 350px !important;
}

/* 确保内容区域适应新宽度 */
.offcanvas-body {
    padding: 1rem;
}

.navh5 {
    height: 60px;
    border-bottom: 1px solid #e7e7e7;
    display: none;
}

.navh5 .imgbox {
    flex: 8;
}

/* logo设置 */
.navh5 .imgbox img {
    height: 38px;
}

.navh5 .imgbox .h5-logo-css-1 {
    display: block;
}

.navh5 .imgbox .h5-logo-css-2 {
    display: none
}

/* 按钮 */
.navh5 .buttonbox {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex: 2;
}

/* 语言按钮 */
.buttonbox .qhyy {
    width: 35px;
    font-size: 15px;
    height: 20px;
    line-height: 28px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    color: white;
    padding-top: 0px;
    padding-right: 10px;
}

.buttonbox .icon-liebiaomoshi_kuai {
    font-size: 24px !important;
    line-height: 30px;
    font-weight: 800;
    padding-left: 5px;
    cursor: pointer;
    color: white;
}

/* 导航栏-背景 */
.h5-nav-bg-1 {
    background: white !important;
}

/* h5导航栏文字 */
.widget .link li a {
    color: black;
    font-size: 10.5px;
    line-height: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
}

/* h5导航栏标题 */
.widget h6 a {
    color: black;
    font-size: 12px;
    line-height: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
}

/* h5导航栏-公司标题 */
#h5tilte {
    color: black;
    font-size: 12px;
    line-height: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.offcanvas-body {
    margin-top: -30px;
}

/* 固定导航栏 */
#h5mainNav {
    transition: all 0.3s ease;
}

/* 固定后的样式 */
#h5mainNav.h5navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: h5fadeInDown 0.3s;
}

/* 导航栏退出按钮 */
.icon-tuichu1 {
    font-size: 25px !important;
    line-height: 30px;
    font-weight: 600;
    margin-top: -10px;
    cursor: pointer;
}

/* 添加一些动画效果 */
@keyframes h5fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 以下响应式布局 */
@media screen and (max-width:1080px) {
    .navh5 {
        display: flex;
        flex-direction: row;
        align-items: center;
        background: url("../images/index/bg-1-1.jpg");
    }
}

@media screen and (max-width:578px) {
    .navh5 .imgbox {
        flex: 4;
    }
}

/*---------------------------------------------------------------------- /
导航栏设置 H5-结束
----------------------------------------------------------------------- */