html, body, div, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, code, form, fieldset, legend, button, input, textarea, th, td {
    margin: 0;
    padding: 0;
}

ol, ul {
    list-style: none;
}

body {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    display: -ms-flexbox !important;
    display: flex !important;
    height: 100vh;
    font-family: "微软雅黑", "宋体", "tahoma", "arial", "Verdana", sans-serif !important;
}

.wrapper {
    overflow-x: hidden;
    width: 100% ;
}

header {
    background-color: white;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

a:hover {
    color: #dd1119;
    text-decoration: underline;
}

a img:hover, a .icon:hover {
    filter: alpha(opacity=60);
    opacity: 0.6;
}

#banner {
    text-align: center;
}

#banner .carousel-item img {
    width: 100%;
}

#banner a img:hover {
    filter: alpha(opacity=100);
    opacity: 1;
}

#banner .carousel-indicators li {
    width: 10px;
    margin-bottom: 10px;
    background: url("/static/images/dot2.png") no-repeat;
    opacity: 0.6;
}

#banner .carousel-indicators li.active {
    opacity: 1;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: ">";
}

.article p > img {
    max-width: 100%;
    height: auto;
}

#floatBox a img {
    filter: alpha(opacity=100);
    opacity: 1;
}

.banner {
    min-width: 1300px;
}

section,
.section {
    width: 1600px;
    max-width: 1600px;
    MARGIN-RIGHT: auto;
    MARGIN-LEFT: auto;
}

.line {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.top-cover {
    position: relative;
    width: 100%;
    background-color: #BD2B2E;
}

.top-login {
    position: relative;
}

.reg-box {
    background: url("/static/images/bg-v2.png") no-repeat;
    width: 232px;
    line-height: 38px;
    position: absolute;
    top: -25px;
    right: -50px;
    text-align: center;
}

.reg-box a {
    color: white;
}

.reg-box em {
    border-right: 1px solid #78a5d9;
    margin: 0 12px;
}

@media (min-width: 992px) {
    .container.nav {
        min-width: 1300px;
    }
}

@media (max-width: 992px) {
    .reg-box {
        top: 10px;
        left: 50px;
    }
}

.navbar-toggler {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 80%;
}

#top-br {
    width: 100%;
    height: 3px;
    background-color: #BD2B2E;
}

.nav-item a {
    padding: 0.5rem 1.5rem !important;
}

/* 导航栏下拉菜单 */
.nav-item.dropdown {
    position: relative;
}

#top-navs .nav a {
    line-height: 40px;
    font-size: 20px;
    color: #ffffff;
}

#top-navs .nav a:hover,
#top-navs .nav a.active {
    background-color: #5484b9;
    text-decoration: none;
    color: white;
}

#top-nav img {
    float: left;
    padding-top: 10px;
}

#top-nav img:hover {
    opacity: 1;
}

nav .breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
}

nav .breadcrumb li.active a {
    color: #000000;
}

footer {
    margin-top: auto !important;
    background-color: #b7dbfb;
    color: #787878;
}

footer .links {
    margin-top: 30px;
    text-align: right;
}

footer .info {
    padding-top: 23px;
    margin-bottom: 10px;
    display: inline;
    float: left;
    color: #787878;
}

footer .info a {
    color: #787878;
    font-size: 15px;
}

footer .info p {
    margin-bottom: 0;
    font-size: 15px;
    text-align: left;
}

.icon {
    display: inline-block;
    background: url("/static/images/icon.png") no-repeat;
    width: 24px;
    height: 24px;
    line-height: 24px;
    vertical-align: middle;
}

.icon.login {
    background-position: 0 0;
}

.icon.reg {
    background-position: -24px 0;
}

.icon.icon-arrow {
    font-size: 15px;
    width: 10px;
    background: url("/static/images/dot3.png") no-repeat left center;
}

.color-blue {
    color: #2377bc;
}

.color-green {
    color: #62aa2c;
}

/*组件公共样式*/
li.title-date {
    line-height: 50px;
    border-bottom: 1px dotted #b1b1b1;
}

.title-border {
    padding: 5px 10px;
    border: 1px solid #ededed;
}

.list-border .col-6:nth-child(n+3) .title-border {
    border-top: none;
}

.pagination {
    margin: 30px 0;
    padding-right: 2rem;
}

.pagination .page-total {
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
}

.pagination .page-item .page-header {
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
    display: block;
}

.pagination .page-item .page-link {
    margin: 0 5px;
    border-radius: 5px;
    color: #333;
}

.pagination .page-item .page-link:hover,
.pagination .page-item.active .page-link {
    color: #0f6bd9;
    border: 1px solid #0f6bd9;
    background: transparent;
}


.max-width {
    max-width: 100%;
}

#toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

#toTopBtn:hover {
    background-color: #555;
}

@media (max-width: 992px) {
    html, body{
        /*overflow-x: hidden;*/
    }

    .m-hide {
        display: none !important;
    }
}
/* 修正 .wrapper 导致的背景覆盖问题 */
.wrapper {
    background-color: transparent !important;
}

/* 强制设定页眉和页脚的背景颜色 */
header, footer {
    background-color: #BD2B2E !important;
}

/* 确保 header 内部的 nav 背景透明，以显示出 header 的红色背景 */
.top-cover {
    background-color: transparent !important;
}

body {
    background-color: #f5f5f5;
}

/* Overwrite default section to use our container logic */
.container {
    width: 1600px;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

#main-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.panel {
    background-color: #fff;
    margin-bottom: 20px;
    height: 100%; /* 确保 panel 撑满其 flex 父容器的高度 */
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.panel-header h3 {
    padding-left: 20px;
    font-size: 26px;
    font-weight: bold;
    color: #333333;
    background: url(/static/images/arrow-red.png) no-repeat center left;
}

.panel-header .more {
    font-size: 14px;
    color: #999;
}

.panel-body {
    padding: 20px;
}

/* 修正页脚文字颜色 */
footer {
    color: #eee;
    padding: 20px 0;
    background-color: #BD2B2E;
    margin-top: auto;
}

footer .info p, footer .links label {
    color: #eee;
}

footer .links a, footer .info a {
    color: #fff;
    text-decoration: underline;
}

/* 导航栏下拉菜单 */
.nav-item.dropdown {
    position: relative;
}

/* 调整导航栏链接的悬停/激活效果 */
.navbar-dark .navbar-nav .nav-link {
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
    border-radius: 0; /* 移除圆角 */
    padding-bottom: 10px; /* 增加一些底部内边距以适应边框 */
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: transparent !important; /* 移除背景色变化 */
    color: #fff !important;
    border-bottom: 3px solid #fff;
}

/* 调整下拉菜单样式，使其与顶部栏风格一致 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #BD2B2E; /* 背景改为红色以匹配顶部栏 */
    border: 1px solid #a00; /* 边框使用更深的红色 */
    border-radius: 0 0 5px 5px;
    padding: 5px 0;
    margin: 0;
    list-style: none;
    min-width: 160px;
    z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #fff !important; /* 文字颜色改为白色 */
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent; /* 确保背景透明 */
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
    background-color: #a00 !important; /* 强制覆盖 common.css 的样式 */
    color: #fff !important; /* 强制设置文字颜色 */
    outline: none !important; /* 强制移除浏览器默认的蓝色轮廓 */
    text-decoration: none !important; /* 强制确保没有下划线 */
}

/* 调整导航栏Logo和菜单的垂直对齐 */
header .nav {
    display: flex;
    align-items: center;
}

/* 通用行高度对齐 */
.biz-notice-row {
    display: flex;
    align-items: stretch; /* 让列等高 */
}


/* 移除 navbar-brand 的悬停背景色 */
#top-navs .navbar-brand:hover {
    background-color: transparent !important;
    text-decoration: none !important;
}


/* 图标 */
.icon-search {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background: url('/static/images/icon-search.png') no-repeat;
    background-size: contain;
}

.icon-diamond-red {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background: url('/static/images/diamond-red.png') no-repeat;
    background-size: contain;
}
