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% ;
}

.bg-page {
    background-color: #F9F9F9;
}

.bg-white {
    background-color: white;
}

.section-container {
    width: 1600px;
}

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;
}

.container.nav {
    min-width: 1600px;
    width: 1600px;
}

@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: red;
}

.nav-item a {
    padding: 0.5rem 1.5rem !important;
}

#top-navs .nav a {
    line-height: 40px;
    font-size: 20px;
    color: #ffffff;
}

#top-navs .nav-link:hover,
#top-navs .nav-link.active {
    text-decoration: none;
    color: white;
    border-bottom: 3px solid 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;
}

/* 调整下拉菜单样式，使其与顶部栏风格一致 */
.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; /* 强制确保没有下划线 */
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: ">";
}

footer {
    background-color: #BD2B2E;
    padding: 50px 0;
    color: white;
    margin-top: auto;
}
.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;
    }
}


/* Show dropdown on hover */
.dropdown:hover > .dropdown-menu {
    display: block;
}

.icon-diamond-red {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background: url('/static/images/icon-list-diamond-red.png') no-repeat;
    background-size: contain;
}