#banner {
    padding: 160px 0 0;
    margin: 0;
}

#content {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.dropdown-menu {
    background-color: var(--nav-bg-color);
}

.footer {
    background-image: url("../images/gray_h_1.png");
    background-repeat: repeat-y;
}

.navbar-nav > li:hover > .dropdown-menu {
    display: block;
}

.navbar-toggler {
    background-color: white;
    z-index: 999;
    position: absolute;
    right: 2rem;
    top: 2rem;
}

.navbar .nav-link {
    padding: 0;
    color: #DFCBA6;
    font-size: 1.8rem;
}

.navbar .nav-link:visited {
    color: #DFCBA6;
}

.navbar .nav-link:hover {
    --bs-nav-link-hover-color: #ff6600; /* 橙色 */
}

.navbar .nav-link:active {
    color: white;
}

.navbar .dropdown-item {
    color: var(--nav-a-color); /* 使用变量设置悬停颜色 */
}

.navbar .dropdown-item:hover {
    color: var(--news-a-color); /* 使用变量设置悬停颜色 */
}

.dropdown-toggle::after {
    display: none;
}

.banner-img img {
    width: 100%;
    max-height: 440px;
    padding: 0;
    /*图像以裁剪方式显示*/
    object-fit: cover;
}

.search {
    position: relative;
    height: 15rem; /* 父元素的高度 */
    /*background-image: url("../images/long_bg.png");*/
    background-position: 95% 66%;
    background-repeat: no-repeat;
}


.search form {
    position: absolute;
    top: 60%;
    transform: translateY(-60%);
}

.top-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.news_img img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.aspect-ratio-div {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.aspect-ratio-div::before {
    display: block;
    content: "";
    padding-top: 61.8%; /* 假设宽高比为16:9，即56.25% */
}

.aspect-ratio-div img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill; /* 确保图片覆盖整个容器 */
}

.aspect-ratio-div .image-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 确保链接在图片之上 */
}

.header {
    width: 100%;
    height: 160px;
    background-color: #ff6600;
    /*background: url("../images/header_bg.jpg") center center;*/
}

.headert2 {
    width: 100%;
    height: 4px;
    background: #6D3117;
}

.headert {
    width: 100%;
    height: 16px;
    background: url('../images/topb2.png');
}


#header {
    background-image: url("../images/header_bg.jpg");
    /*background-color: #ffa60f; !* 金叶黄 *!*/
}

#news .news_bg {
    /*background: linear-gradient(to bottom, var(--important), pink);*/
}


.btns {
    color: white;
    background: #6D3117;
    border: 1px solid #6D3117;
    width: 44px;
    height: 30px;
    font-size: 20px;
    margin-left: 0;
    display: inline-block;
    float: right;
    margin-top: 1px;
}

/* 内容样式 */

#news h3 {
    font-size: 4rem;
    font-family: 'Microsoft YaHei', serif;
    font-weight: bold;
    color: var(--title-color);
    line-height: 50px;
    text-indent: 15px;
    text-align: left;
    padding: 0.5em 0
}

.news_title {
    width: 100%;
    min-height: 5rem;
    float: left;
    font-size: 1.8rem;
    line-height: 30px;
    color: #1f2652;
    text-align: center;
    margin: 15px 0 9px 0;
    font-weight: normal;
}

.row > * {
    padding-left: calc(var(--bs-gutter-x) * 1);
    padding-right: calc(var(--bs-gutter-x) * 1);
}

.row {
    /* 让内容元素居中显示*/
    margin: 0 auto;
    max-width: 1560px;
}

footer {
    color: lightgray;
    font-size: 1.6rem;
}

.video-container {
    width: 100%;
    position: relative;
}

.banner_btn:hover {
    color: #ff6600;
    background-color: white;
}

.banner_btn {
    display: block;
    position: absolute;
    bottom: 180px;
    left: 96px;
    z-index: 1;
    width: 240px;
    height: 96px;
    line-height: 96px;
    text-align: center;
    border-radius: 48px;
    font-size: 24px;
    color: white;
    background-color: #ff6600;
    transition: all 300ms ease;
    cursor: pointer;
}

.video_c {
    width: 100%;
}

.banner_ct {
    position: absolute;
    bottom: 360px;
    left: 96px;
    z-index: 1;
    font-size: 65px;
    color: white;
    text-shadow: 4px 4px 6px #808080;
}

.banner_et {
    position: absolute;
    bottom: 308px;
    left: 96px;
    z-index: 1;
    font-size: 27px;
    color: white;
    letter-spacing: 2px;
    text-shadow: 2px 2px 3px #808080;
}

.video-controls {
    position: absolute;
    bottom: 210px;
    left: 369px;
    cursor: pointer;
    /* 设置透明度 */
    opacity: 0.8;
}

/* 三角形样式 */
.triangle {
    width: 36px;
    height: 36px;
    background-color: white;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(90deg);
}

/* 正方形样式 */
.square {
    width: 36px;
    height: 36px;
    background-color: white;
    display: none; /* 默认不显示正方形 */
}

/* 使用媒体查询进行响应式图片设置 */
/* 小设备 */
@media (max-width: 768px) {
    .banner_btn {
        display: none;
    }

    .banner-img img, .logo img, .news_img img {
        max-width: 100%;
        height: auto;
    }

    .banner-img img {
        max-height: 200px;
    }

    .sec_nav {
        display: none;
        list-style: none;
        padding-left: 0;
        position: relative;
        width: 100%;
    }

    .video-container {
        margin-top: 120px;
    }

    .logo_wrapper img{
        height: 60px;
    }

    .logo_wrapper a:nth-child(2) img {
        width: 300px;
    }

    .tab_more  {
        display: none!important;
    }
}

/* 大设备 */
@media (min-width: 990px) {
    .nav-item {
        float: left;
        width: 110px;
        color: #DFCBA6;
        height: 38px;
        line-height: 38px;
        font-size: 16px;
        text-align: center;
        cursor: pointer;
        z-index: 100;
        position: relative;
    }

    .dropdown-menu li {
        float: left;
        width: 200px;
        color: #DFCBA6;
        height: 38px;
        line-height: 38px;
        font-size: 16px;
        text-align: center;
        cursor: pointer;
        z-index: 100;
        position: relative;
    }
}