body {
    background-color: #F5F5F5 !important;
    font-family: "Microsoft YaHei", "Heiti SC", SimSun, sans-serif;
}

.navbar-nav .nav-item {
    padding-left: 52px;
    padding-right: 52px;
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: 16px;
}

.navbar-nav .nav-link {
    white-space: nowrap;
    padding: 0 !important;
}

.navbar-nav .nav-item:hover,
.navbar-nav .nav-item.active {
    background-color: #006EBA !important;
}

#searchBar .searchText{
	font-size: 14px;
	padding-left: 10px; 
	border: 1px solid #C1C1C1; 
	width: 180px; 
	color: #333333; 
	border-right: none;
    height: 41px; 
    margin-right: -5px;
}


#heads .header-link {
    color: #0683DA;
    font-size: 14px;
    text-decoration: none;
}

#heads .header-link:hover {
    text-decoration: underline;
}



.footer h5 {
    font-size: 20px;
    padding-bottom: 16px;
}

.footer h5 small {
    font-size: 15px;
    color: #BBBBBB;
}

.footer .list-unstyled a {
    margin: 8px 0;
    display: block;
}

.footer .col-md-7 p{
    margin: 8px 0;
}

.dropdown-menu {
    background-color: #006EBA;
    border: none;
    padding: 0px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    border-radius: 0 !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-item {
    padding: 17px 53px;
    font-size: 16px;
    color: white !important;
}

.dropdown-menu .dropdown-item:hover {
    background-color: white !important;
    color: #006EBA !important;
}

#carouselExample {
    width: 100%;
    max-width: 1180px;
    height: 500px;
    margin: 0 auto;
	    overflow: hidden;
}

@media (max-width: 768px) {
    #carouselExample {
        height: 180px;
    }
}

/* Footer styles */
.footer {
    background: url('../img/bottom.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    font-size: 14px;
}

.footer .container {
    max-width: 1180px;
    padding: 20px 0;
}

.footer a {
    color: white !important;
    text-decoration: none;
    font-size: 14px;
}

.footer a:hover {
    text-decoration: underline;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev span,
.carousel-control-next span {
    background-color: rgba(100, 100, 100, 0.7);
    padding: 50px 0px;
}

.module-list {
    background-color: white;
    font-size: 14px;
}

.module-list h3 {
    color: #0683DA;
    font-size: 18px;
    margin-bottom: 0px;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    border-bottom: 2px solid #0683DA;
    padding: 12px 19px 11px 19px;
}

.view-more {
    color: #0683DA;
    font-size: 14px;
    text-decoration: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.view-more:hover {
    text-decoration: underline;
}
.list-unstyled li {
    color: #333333;
    font-size: 14px;
}

.list-unstyled li a {
    text-decoration: none;
    color: inherit;
}

.list-unstyled li a:hover{
    text-decoration: underline;
}

.module-list-header {
    border-bottom: 1px #999999 solid;
    margin-top: -2px;
    height: 43px;
    position: relative;
}
.section-header {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    background: url('../img/t1.png') no-repeat center center;
    background-size: cover;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-container {
    position: relative;
    padding-top: 20px;
    border: 1px solid #C1C1C1;
    border-top: none;
}

.scholar {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    background-color: black;
    opacity: 0.6;
    color: white;
    font-size: 14px;
    margin: 0;
    padding: 5px 0 5px 10px;
}

/* 新闻列表样式 */
.sidebar-nav {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 0;
}

.sidebar-nav h3 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 18px;
    background-color: #0683DA;
}

.sidebar-nav .nav-item {
    color: #666666;
    font-size: 16px;
    border-bottom: 1px solid #999999;
    padding: 15px 0px 15px 15px;
    background-color: #FFF;
}

.sidebar-nav .nav-item:last-child {
    border-bottom: none !important;
}

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-link:hover {
    border-left:2px solid #006EBA;
    color: #006EBA;
    background-color: #FFF   !important;
}

.sidebar-nav .nav-link{
    padding: 0px 0px 0px 5px;
    border-left:2px solid #FFF;
    color: #666666;
}

.news-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #999999;
}

.news-header h2 {
    color: #333;
    font-size: 24px;
}

.more-link {
    color: #0683DA;
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.news-item {
    border-bottom: 1px dashed #666666;
}

.news-items {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
}



.news-content {
    flex-grow: 1;
}

.news-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #0683DA;
    text-decoration: underline;
}

.news-date {
    color: #666666;
    font-size: 12px;
    margin-bottom: 5px;
}

.news-summary {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    .news-img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.news-item .text-muted {
    margin: 0 !important;
    font-size: 14px;
    color: #000000 !important;
}

.news-link {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
}

.news-link:hover {
    text-decoration: underline;
}

/* 头部区域响应式调整 */
@media (max-width: 768px) {
    #heads .container {
        max-width: 100% !important;
        padding: 0 15px;
    }
    #heads .d-flex.align-items-center.ms-auto {
        display: none !important;
    }
    #heads a.d-flex {
        width: 100%;
    }
    #heads .d-flex img {
        width: 100% !important;
        height: auto !important;
        max-height: 60px;
    }
    /* 隐藏轮播图上一张/下一张按钮 */
    #carouselExample .carousel-control-prev,
    #carouselExample .carousel-control-next {
        display: none !important;
    }
}

.pages .pagination .active .page-link{
    background-color: #0683DA !important;
    color: #FFF;
}

.pages .pagination .page-link{
    color: #0683DA;
}


/* 学者风采滑动效果样式 */
.scholar-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2px 0 0 0;
}

.scholar-slider {
    display: flex;
    animation: scroll-left 15s linear infinite;
    width: max-content;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scholar-slider.paused {
    animation-play-state: paused;
}

.scholar-slider .scholar-item {
    flex: 0 0 auto;
    box-sizing: border-box;
}

.scholar-slider .scholar-item .position-relative {
    position: relative;
  		margin-right:10px
}

.scholar-slider .scholar-item img {
    display: block;
    max-width: 100%;
}

/* 轮播图指示器样式 */
#carouselExample .carousel-indicators {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#carouselExample .carousel-indicators li {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    cursor: pointer;
}

#carouselExample .carousel-indicators li.active {
    background-color: #fff;
}
