@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css");

/* 页头样式 */
.common-header {
  width: 100%;
  height: auto;
  z-index: 990;
  top: 0;
  left: 0;
  position: fixed;
  background-color: #fff;
}
 body {
    position: relative;
 }
 

.common-header header {
  position: relative;
}

.Container {
    /* width: 85%; */
  width: 1500px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.clear {
  content: "";
  clear: both;
}

.clearFix {
  clear: both;
}

/*  logo  */
header {
  width: 100%;
  height: 100px;
  background-color: #a71e32;
}

.Logo {
  height: auto;
  padding-top: 20px;
  float: left;
}

.Logo img {
  height: 60px;
}

.school-link {
  float: right;
  margin-top: 40px;
  margin-left: 20px;
}

/* 顶部导航栏 */
nav {
  height: 50px;
  position: relative;
  transition: all 0.3s ease-in-out;
  background-color: #a71e32;
}

.nav {
  height: 50px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: block!important;
}

.nav li {
  text-align: center;
  float: left;
  height: 50px;
  display: block;
  line-height: 50px;
  width: 16.66%;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.nav li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
}

.nav li:hover, .nav li a.active {
  background-color: #8b0000;
}

/* search & input */
.Search {
  float: right;
  height: 40px;
  text-align: center;
  position: relative;
  top: 35px;
  cursor: pointer;
}

.Input-submit {
  float: right;
  display: block!important;
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: url(../images/input-submit.png) no-repeat center;
  background-size: 60% 60%;
  top: 6px;
  left: -38px;
  cursor: pointer;
  z-index: 100
}

.Input-text {
  float: left;
  width: 300px;
  height: 40px;
  position: relative;
  padding: 5px;
  left: 0;
  border: none;
  text-indent: 15px;
  outline: none;
  background-color: #F1F1F1;
  border-radius: 20px;
}

.Input-text:focus::-webkit-input-placeholder{
  color: transparent;
}

.form {
  float: left;
}

/* 内容盒子样式 */
.content-box {
  background-color: #fff;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0 0 15px 0;
  overflow: hidden;
}

.red-box {
  border-top: 3px solid #a71e32;
}

/* 列表内容样式 */
.list-content {
  padding: 0 15px;
  min-height: 244px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
line-height: 3rem;
  border-bottom: 1px solid #ddd;
  position: relative;
  padding-left: 70px;
}

.news-list li .date {
  position: absolute;
  left: 0;
  color: #a71e32;
  font-weight: bold;
}
.news-list li a::before {
  width: 2px!important;
  height: 40%;
  left: 55px;
  top: 30%;
  content: '';
  background: #D8D8D8;
  position: absolute;
  font-weight: bold;
}

.news-list li a {
  color: #333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
}

.news-list li a:hover {
  color: #a71e32;
}

/* 工作动态样式 */
.work-dynamic {
  padding: 0 15px;
}

.dynamic-item {
  position: relative;
  margin-bottom: 0.6rem;
}

.dynamic-item img {
  width: 100%;
  border-radius: 5px;
}

.dynamic-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.dynamic-info h5 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.dynamic-dots {
  text-align: right;
  display: inline-block;
  right: 10px;
  position: absolute;
  top: 10px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 3px;
  cursor: pointer;
}

.dot.active {
  background-color: #fff;
}

.dynamic-list {
  padding: 0 15px 0 15px;
}

.dynamic-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dynamic-list li {
  line-height: 2.85rem;
  border-bottom: 1px dashed #ddd;
  position: relative;
  padding-left: 70px;
}

.dynamic-list li .date {
  position: absolute;
  left: 0;
  color: #a71e32;
  font-weight: bold;
}

.dynamic-list li a {
  color: #333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dynamic-list li a::before {
  width: 2px!important;
  height: 40%;
  left: 55px;
  top: 30%;
  content: '';
  background: #D8D8D8;
  position: absolute;
  font-weight: bold;
}

.dynamic-list li a:hover {
  color: #a71e32;
}

/* 联系信息样式 */
.contact-info {
  padding: 0 15px 5px 15px;
}

.contact-info p {
  margin-bottom: 0;
}

.qrcode {
  text-align: center;
  margin-top: 15px;
}

.qrcode img {
  width: 80px;
  height: 80px;
}

/* 友情链接样式 */
.friend-links {
  padding: 15px 15px 20px 15px;
  text-align: center;
}

.link-item {
  display: inline-block;
  margin: 0 10px;
  width: 50%;
}

.link-item .btn-link {
    width: 100%;
  color: #333;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.link-item .btn-link:hover {
  background-color: #f5f5f5;
  color: #a71e32;
}

/* 底部横幅样式 */
.bottom-banner {
  position: relative;
  height: 150px;
  background: url('../images/jump.png') no-repeat center;
  background-size: cover;
}

.bottom-banner img {
  width: 100%;
}
.bottom-banner h2 {
  color: #ffffff;
  text-align: left;
  display: inline-block;
  margin: 0;
  line-height: 50px;
  padding: 50px 0 50px 50px;
}

.banner-text {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.enter-btn {
  background-color: #a71e32;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.enter-btn:hover {
  background-color: #8b0000;
  color: #fff;
}

/* 页脚样式 */
footer {
  background-color: #a71e32;
  color: #fff;
  padding: 20px 0;
  margin-top: 20px;
  text-align: center;
}

.common-footer-logo {
  margin-right: 30px;
}

.common-footer-logo img {
  height: 50px;
}

.common-footer-message {
  padding-top: 15px;
}

.common-footer-message p {
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 20px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .Container {
    width: 100%;
    padding: 0 15px;
  }
  
  .nav {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .common-header {
    position: relative;
  }
  
  .Logo {
    float: none;
    text-align: center;
    padding: 15px 0;
  }
  
  .Search {
    float: none;
    margin: 15px auto;
    position: static;
  }
  
  .school-link {
    float: none;
    text-align: center;
    margin: 15px 0;
  }
  
  .common-footer-logo,
  .common-footer-message {
    float: none;
    text-align: center;
    margin: 0 auto 15px;
  }
}

/* bootstrap样式 */
.btn-outline-primary {
    color: #FFFFFF;
    border: none!important;
    font-size: 1.1rem;
}
.btn-outline-primary:hover {
    color: #FFFFFF;
    background: none!important;
    border: none!important;
}
@media (min-width: 800px) {
  .col-md-3 {
    width: 30%!important;
    max-width: 30%!important;
    flex: none!important;
  }
  .col-md-6 {
    width: 40%!important;
    max-width: 40%!important;
    flex: none!important;
  }
  .col-md-8 {
    flex: none!important;
    width: 70%!important;
    max-width: 70%!important;
  }
}
@media (max-width: 799px) {
  .col-md-3, .col-md-6, .col-md-8 {
    margin: 10px 0;
    padding-right: 0;
    padding-left: 0;
  }
  .header-container {
    padding: 0!important;
    text-align: center;
  }
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  .mt-4, .my-4 {
    margin-top: 0!important;
  }
  header {
    height: auto;
  }
  .school-link {
    display: none;
  }
  .Search {
    display: none;
  }
  .Logo img {
    height: 2rem;
  }
  .nav li a {
    font-size: 0.8rem;
  } 
  .bottom-banner h2 { 
    padding: 0;
  }
  .bottom-banner {
    padding: 0 1rem;
  }
  .banner-text {
    position: relative;
    right: 0;
    bottom: 0;
  }
  .common-footer-logo img {
    height: 2rem;
  }
}
.header-container {
  padding:  0 4rem;
}
.swiper-text {
  width: 100%;
  position: absolute;
  bottom: 0;
  line-height: 30px;
  padding: 10px 100px 10px 10px;
  background: rgba(255,255,255,0.7);
  color: #333;
  font-size: 1rem;
  font-weight: bold;
}
.swiper-text p {
  margin-bottom: 0!important;
  width: 100%;
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏溢出的文本 */
  text-overflow: ellipsis; /* 使用省略号表示被隐藏的文本 */
}
.work-dynamic .swiper-pagination {
  z-index: 1000;
  left: calc(100% - 100px)!important;
  display: inline-block;
  width: 100px!important;
  position: absolute;
}
.btn-outline-primary {
  outline: none!important;
}