/* CSS Document */


/* ---------- header ---------- */

#header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 260px;
    z-index: 100;
    transition: all 0.3s ease-in-out;
}

#header:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, .15);
    content: "";
}

.header-with-bg {
    /* 修改背景图高度 */
    padding: 100px 0;
    background-position: center top;
    background-size: cover; 
}

.header-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
    background: transparent;
}

.header-logo a {
    display: block;
    padding: 100px 160px 0;
}

.header-logo a img {
    width: 400px;
    /* 修改logo宽度 */
    transform: translateY(-50%);
}

.header-search {
    position: absolute;
    right: 145px;
    top: 40%;
    transform: translateY(-50%); 
    display: flex;
    align-items: center; 
}

.header-search-text {
    padding: 0 75px 0 30px; 
    width: 300px;
    height: 50px;
    box-sizing: border-box;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 18px; 
}

.header-search-btn {
    position: absolute; 
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 70px; 
    height: 36px; 
    border: none;
    border-radius:  50px ; 
    cursor: pointer;
    background-color: #1A6FC4 ;
    color: white;
    font-size: 16px; 
}

/* navigation */

#header-nav-wrap {
    text-align: center;
    background-color: rgb(209, 226, 243);
    display: flex;
    justify-content: center;
}

#header-nav-wrap .header-main-nav {
    height: 60px;
    font-size: 18px;
    width: 1200px;
    display: flex;
    justify-content: space-between;
}

/* #header-nav-wrap .header-main-nav li {
    display: inline-block;
    padding: 0 20px;
} */

#header-nav-wrap .header-main-nav li a {
    display: inline-block;
    padding: 0 4px;
    color: #333333;
    line-height: 60px;
    text-decoration: none; 
}

#header-nav-wrap .header-main-nav li a:hover {
    color:  #1A6FC4;
}

#header-nav-wrap .header-main-nav li.current a {
    color: white;
    background-color: #1A6FC4;
    padding: 0 40px;
    position: relative; 
}

#header-nav-wrap .header-main-nav li.current a::before {
    position: absolute;
    height: 60px; 
    background-color: #1A6FC4;
    z-index: -1; 
}

/* ---------- footer ---------- */

footer {
    padding: 20px 0 0 0;
}

.footer-con {
    background-color: rgb(209, 226, 243);
    position: relative;
}

.footer-con li {
    display: inline-block;
    padding: 0 45px;
    color: #333333;
    line-height: 60px;
    text-decoration: none;
    font-size: 18px;
}

.footer-con li:not(:first-child):hover {
    color: #1A6FC4;
}

.footer-content {
    height: 260px;
    background-color: #1A6FC4;
}

.footer-content-con{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-content-text{
    height: 120px;
    width: 600px;
    color: #FFFFFF;
    font-size: 16px;
    margin-left: 40px;
}

.footer-content-text p{
   margin-bottom: 25px;
}

.footer-content-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-content-record{
    height: 60px;
    width: 800px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 50px;
}

.footer-content-record a {
    margin: 0;
    margin-left: -2px;
    margin-top: 10px;
    text-decoration: none;
    color: inherit;
}

.footer-content-record img {
    height: auto;
    max-height: 16px;
    margin: 0;
    margin-bottom: 2px;
    margin-right: 1px;
}

.footer-content-logo{
    height: 160px;
    width: 210px;
}

.footer-content-logo img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.footer-content-qrcode{
    height: 200px;
    width: 200px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-content-qrcode img{
    width: 130px;
    height: auto;
    object-fit: cover;

}

.footer-content-qrcode p{
    margin-top: 15px; 
}

/* ---------- page footer ---------- */

.page-footer {
    display: flex;
    align-items: center;
    height: 60px;
    color: rgba(255, 255, 255, 0.5);
    background-color: #1A6FC4;
    gap: 30px;
    padding: 0 0 0 200px !important;
}

.page-footer a {
    text-decoration: none;
    color: inherit;
}

.img-text {
    display: flex;
    align-items: center;
}

.logo-1 {
    width: 20px;
    margin-right: 5px;
}

/* ---------- pagination ---------- */

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 0 300px;
}

.page-btn, .jump-btn {
    padding: 8px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    color: #666;
    transition: background-color 0.3s;
}

.page-btn:hover, .jump-btn:hover {
    background-color: #e6f7ff;
}

.page-btn.active {
    background-color: #1890ff;
    color: #fff;
}

.page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.jump-to {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.jump-input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.jump-btn {
    background-color: #1890ff;
    color: #fff;
}

.jump-btn:hover {
    background-color: #40a9ff;
}

/* ---------- 主体导航 ---------- */

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* margin: 260px 0 0; */
}

.about-card {
    background-color: #FFFFFF;
    width: 1200px;
    margin: 20px 0;
    padding: 20px 20px 30px;
}

.card-nav {
    color: #999999;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-nav a {
    text-decoration: none;
    color: inherit;
}

.card-nav a:hover {
    color: #1A6FC4;
}

.card-nav-last {
    color: #333333;
    cursor: pointer;
}

.card-nav-last:hover {
    color: #1A6FC4;
}

.card-nav-arr {
    margin: 0 5px;
}

.card-main {
    margin-top: 20px;
    display: flex;
    gap: 65px;
}

.card-main-left {
    min-width: 260px;
}

.nav-bg {
    width: 100%;
    height: 85px;
    background: url("../img/nav-bg.png") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
}

.sidebar {
    width: 100%;
    background-color: #F9FAFB;
    border-radius: 12px;
    margin-top: 20px;
}

.sidebar ul {
   padding: 10px; 
}

.sidebar ul li {
    height: 40px;
    background-color: #FFFFFF;
    margin: 10px 0;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sidebar ul li:hover {
    background-color: #D0E5FF;
}

.sidebar ul a  {
    text-decoration: none;
    color: inherit;
}

.sidebar-active {
  background-color: #D0E5FF !important;
  color: #1A6FC4;
}

.arrow-right {
    width: 5px;
}

.card-main-right {
    width: 100%;
}

.underline {
    color: #1A6FC4;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 4px solid #F6F6F6;
    padding-bottom: 15px;
}

.text-underline {
    border-bottom: 4px solid #1A6FC4;
    padding-bottom: 15px;
}

.card-main-right-content {
    margin-top: 20px;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-header {
    color: white !important;
    background-color: #1A6FC4;
    padding: 0 40px !important;
}

.dropdown-content {
    display: none; 
    position: absolute; 
    background-color: rgb(209, 226, 243);
    width: 120px; 
    z-index: 1; 
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: #333333;
    text-decoration: none;
    display: block;
    font-size: 18px;
    line-height: 50px !important; 
}

.dropdown-content a:hover {
    color: #1A6FC4;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropup styles */
.dropup {
    display: inline-block;
}

.dropup-content {
    display: none; 
    position: absolute; 
    background-color: rgb(209, 226, 243);
    min-width: 1200px;
    z-index: 1; 
    bottom: 100%;
    left: 33.6%;
    transform: translate(-30%);
    padding: 10px 20px;
}
.dropup-content.show {
    display: block;
}

.dropup-content a {
    display: inline-block;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    width: 16.1%;
    min-width: 189px;
}
.dropup-content a:hover {
    color: #1A6FC4;
}
.dropup:hover .dropup-content {
    display: block; 
}

/* ---------- go to top ---------- */
#go-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 600;
  }
  
  #go-top a,
  #go-top a:visited {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background: url("../img/go-top.png") no-repeat center rgba(0,0,0,0.6);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  #go-top a:hover,
  #go-top a:focus {
    background: url("../img/go-top.png") no-repeat center rgba(0,0,0,1);
  }


