@font-face {
  font-family: '思源宋体';
  src: url('../fonts/SourceHanSerifCN-Medium.ttf');
}

/* 为所有浏览器设置通用的 placeholder 样式 */
.search-title::placeholder {
  color: white;
  /* 设置 placeholder 文字颜色为白色 */
  opacity: 1;
  /* 确保在某些浏览器中颜色显示正常 */
}

/* 特定浏览器的兼容性样式 */
.search-title::-webkit-input-placeholder {
  color: white;
  /* Chrome、Safari 等浏览器 */
}

.search-title::-moz-placeholder {
  color: white;
  /* Firefox 浏览器 */
}

.search-title:-ms-input-placeholder {
  color: white;
  /* IE 浏览器 */
}

.search-title::-ms-input-placeholder {
  color: white;
  /* 较新的 IE 和 Edge 浏览器 */
}

body {
  font-size: 18px;
}

* {
  list-style: none;
}

.flex-1 {
  flex: 1;
}

a {
  transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
}

a:hover,
a {
  color: #000;
  text-decoration: none;
}

@media (min-width: 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1440px;
  }
}

.bg {
  position: relative;
}

.bg1 {
  background-color: #08195c;
  width: 100%;
  height: 80%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -10;
}

.header a {
  font-size: 18px;
}

.header .en {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  padding: 3px 6px;
}

.line {
  color: #999;
  height: 24px;
  background: #999;
  width: 1px;
}

.wp-search {
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  width: 150px;
}

.wp-search .search-input {
  margin-left: 25px;
  margin-right: 45px;
}

.wp-search .search-input input.search-title {
  width: 100%;
  height: 40px;
  padding: 4px 0;
  line-height: 40px;
  background: none;
  color: #FFFFFF;
  font-size: 18px;
  border: 0;
  outline: 0;
}

.wp-search .search-btn {
  width: 57px;
  height: 40px;
  position: absolute;
  right: 0;
  top: 0%;
}

.wp-search .search-btn input.search-submit {
  width: 57px;
  height: 40px;
  border: 0;
  outline: 0;
  background: url(../images/sous.png) no-repeat center;
  cursor: pointer;
}

.hr {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
}

.menu .navbar-nav .nav-link {
  color: #fff;
  font-family: '思源宋体';
}

/* 自定义CSS来覆盖Bootstrap的默认行为 */
.dropdown-menu,
.dropdown:hover .dropdown-menu {
  text-align: center;
  display: block;
  margin-top: 0px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* 防止下拉菜单在点击后仍然显示 */
.dropdown-menu {
  display: none;
  padding: 0;
}

.dropdown-item {
  padding: .5rem 1.5rem;
  font-family: '思源宋体';
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #fff;
  text-decoration: none;
  background-color: #08195c;
  ;
}

.newbox1 {
  box-shadow: 2px 2px 5px rgba(128, 128, 128, 0.3);
}

.newbox1 h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.7;
  font-size: 20px;
  font-weight: bold;
  font-family: '思源宋体';
}

.newbox1 p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  line-height: 1.7;
  font-size: 17px;
  font-family: '思源宋体';
}

.more {
  color: #3d6ece;
  font-size: 17px;
  font-weight: bold;
}

.content-item {
  display: none;
  /* 默认隐藏所有内容项 */
}

.content-item.active {
  display: block;
  /* 显示当前活动的内容项 */
}

.mtit {
  color: #08195c;
  padding-bottom: 10px;
  font-weight: bold;
  font-family: '思源宋体';
  font-size: 36px;
  cursor: pointer;
}

.mtit .more {
  font-size: 16px;
  font-weight: normal;

}

/* 学院新闻 */
.newbox2 .item,
.newbox2 .item1 {
  border: 1px solid #e8e8e8;
  border-top: 5px solid #08195c;
}

.newbox2 .item .tit {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.newbox2 .item .img {
  width: 100px;
  height: 80px;
  overflow: hidden;
}

.newbox2 .item img,
.newbox2 .item1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

/* .newbox2 .item1 a {
  overflow: hidden;
} */

.newbox2 .item>a,
.newbox2 .item1,
.statelist img {
  transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
}

.newbox2 .item>a:hover,
.newbox2 .item1:hover {
  box-shadow: 0px 10px 15px rgba(128, 128, 128, 0.3);
}

.newbox2 .item>a:hover .img img,
.newbox2 .item1 img:hover,
.statelist a:hover .img img {
  transform: scale(1.1);
  -ms-transform: scale(1.1);
}

.newbox2 .item p {
  line-height: 30px;
  color: #888;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
}

.newbox2 .item .text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  height: 88px;
}

.newbox2 .item1 {
  border: 1px solid #e8e8e8;
}

.color1 {
  color: #c59e2c;
}

.color2 {
  color: #7ac58e;
}

.newbox2 .btn,
.newbox2 .btn:hover {
  background-color: #c59e2c;
  color: #fff;
}

.newbox2 .right1 .btn,
.newbox2 .right1 .btn:hover {
  background-color: #7ac58e;
}

.newbox2 .img1 img {
  width: 70%;
}

.newbox2 .time1 {
  font-size: 18px;
  margin-bottom: 20px;
}

.newbox2 .time1 span {
  font-size: 24px;
  margin: 0 5px;
}

.bg2 {
  background: url(../images/bg.png) no-repeat;
  background-size: cover;
  padding-bottom: 60px;
}

/* 通知公告 */
.noticelist .date {
  width: 75px;
  background: #08195c;
  border-radius: 5px;
  text-align: center;
  padding-top: 6px;
  padding-bottom: 6px;
  font-family: '思源宋体';
  color: #fff;
}

.noticelist .date h4 {
  font-size: 24px;
}

.noticelist .title span {
  font-weight: bold;
  font-size: 18px;
  line-height: 18px;
  color: #34437a;
}

.noticelist p {
  color: #333;
  margin-bottom: 0;
  height: 56px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
}

/* 学术动态 */
.statelist h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #34437a;
  font-weight: bold;
  position: relative;
}

.statelist h4::after {
  position: absolute;
  content: "";
  right: 0;
  width: 60%;
  top: 50%;
  height: 1px;
  background-color: #34437a;
}

.statelist h3 {
  font-size: 18px;
  line-height: 1.6;
}

.statelist .col-lg-6:nth-child(2n) {
  padding-left: 30px;
}

.statelist .col-lg-6:nth-child(2n+1) {
  padding-right: 30px;
}

.statelist .img {
  overflow: hidden;
}

.footer {
  background: url(../images/BG1.png) no-repeat;
  background-size: cover;
  font-size: 14px;
  color: #fff;
}

.footer ul {
  margin-top: 4em !important;
}

.footer li {
margin-left: 50px;
}

.footer a {
  color: #fff;
  margin-top: 20px;
  display: block;
}




/* 适配 */
@media (max-width: 1000px) {
  .header .container {
    display: block !important;

  }

  .header .navbar {
    text-align: right;
  }

  .header .logo img {
    width: 90%;
    margin-bottom: 15px;
  }

  .header .right a {
    font-size: 16px;
  }

  .header .line {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .navbar-toggler {
    position: absolute;
    top: -65px;
    right: 0px;
  }

  .newbox1 {
    padding: 1rem !important;
  }

  .newbox2 .item1 .w-50 {
    width: 100% !important;
    margin-bottom: 15px;
    margin-top: 15px;
  }

  .statelist .col-lg-6:nth-child(2n) {
    padding-left: 15px;
  }

  .statelist .col-lg-6:nth-child(2n+1) {
    padding-right: 15px;
  }

  .logo1 {
    width: 100%;
  }

  .footer li {
    width: 33.3%;
  }

  .footer .links {
    margin-top: 1rem !important;
  }

  .navbar-toggler {
    padding: .25rem .5rem !important;
  }

  .header .line {
    display: block;
  }

  .wp-search {
    width: 150px !important;
  }

  .menu .navbar-nav .nav-link {
    text-align: left;
  }

  .statelist h4::after {
    width: 60%;
  }

  .footer .other span {
    display: block;
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }
}

@media (max-width: 330px) {
  .header .line {
    display: none;
  }

  .header .en {
    margin-left: 0.5rem !important;
  }

  .wp-search {
    width: 135px !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .header .logo img {
    width: 70%;
  }

  .menu {
    padding: .5rem 0;
  }

  .navbar-nav .mr-4 {
    margin-right: .5rem !important;
  }

  .newbox1 {
    padding: 1rem !important;
  }

  .bg1 {
    height: 70%;
  }

  .newbox1 p {
    -webkit-line-clamp: 4;
  }

  .statelist h4::after {
    width: 40%;
  }

  .newbox2 .item1 .img1 {
    width: 40% !important;
  }

  .newbox2 .item1 .right1 {
    width: 60% !important;
  }
}
@media screen and (max-width: 435px) {

.carousel-item img{height:250px !important}

}
.carousel-item img{
object-fit: cover;
}
