body{
  background-color: #c7def3;
  height: 100%;
  /* background-image: url(../img/图书馆背景.png);
  background-position-x: center;
  background-position-y:center;
  background-attachment: scroll; 
  background-repeat: no-repeat; 
  z-index: 0; */
  margin: 0;
  padding: 0 0 0 0;
  opacity: 0.9; /* 设置透明度为50% */
}
.header{
    background-color: #f9f9f9;
    width: 100%;
    height: 150px;
    border-bottom: 1px solid #ccc;
    border-top: 5px solid #066bc9;
    background:linear-gradient(to bottom,#ece7e3,#fff) ;
}
.header{
    height:150px;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-image:url(../images/head_2.png);
    background-size: cover;
    background-position:50%;
    background-color: #dbeaf9;
}
.logo{
    height: 100px;
    width: 300px;
    background-image: url(../images/logo2.png);
    background-position:0% 80%;
    background-repeat: no-repeat;
    margin:0 0 20px 20px;
    padding-top: 14px;
    position: relative;
}
.tittle{
    /* -webkit-background-clip: text; */
    /* background: linear-gradient(to bottom,red,#850505); */
    position:relative;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 30px;
    color: #075fab;
    left: 78%;
    top: 45px;
}

.view{
  width: 100%;
  background-color: #196bc4;
  height: 50px;
  position: absolute;
  top: 155.5px;
  border: none;
}

/*搜索框的样式*/
.search-container {
    display: flex;
    position:relative;
    left: 73%;
    top: -25px;
  }
  
  .search-container input {
    padding: 10px;
    width: 200px;
    border: 1px solid #a19f9f;
    background-color: transparent;
    border-radius: 4px;
  }
  
  .search-container button {
    padding: 10px 20px;
    background-color: #638296;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .ul-1{
    list-style: none;
    display: flex;
    justify-content: space-between;
    background-color:#196bc4;
    /* #0d94b9 */
    /* #0c63c1; */
    padding: 10px;
    margin-top: 0px;
    padding: 0; /* 移除内边距 */
    margin: 0; /* 移除外边距 */
    border: none; /* 移除边框 */
    position: relative;
    width: 100%;
  }
  .ul-2{
    display: none;
    white-space: nowrap; /* 禁止子栏目文字换行 */
    z-index: 9999;
    text-align: center;
  }
  #li-1:hover {
    background-color: white;
    text-align: center;
    /* display: flex; */
  }
  #li-1:hover a{
    color:#196bc4;
  }
  #li-1:hover .a-1{
    color: #ffffff;
  }
  #li-1:hover .ul-2{
    display: block;
    position: absolute;
    background-color: #196bc4;
    padding: 0 0 0 14%;
    white-space: nowrap;   /* 让文字不换行 */
    width: auto; /* 子栏目宽度根据内容自适应 */
    align-items: center; /* 在交叉轴上垂直居中 */
    justify-content: center; /* 在主轴上水平居中 */
    position: relative;
    top: 0px;
  }
  #li-2 {
    width:11%;
    text-align: center;
    padding:0 0 0 0;
    margin:0;
    border:0;
    display: block; /* 让文字横向显示 */
  }

  #li-2:hover a{
    font-size: 21px;
  }

  #li-1{
    /* display: flex; */
    list-style: none;
    background-color:  #196bc4;
    color: white;
    width: 10%;
    height: 50px;
    border-top: none; /* 移除上边框 */
    border-bottom: none; /* 移除下边框 */
    padding: 0; /* 移除内边距 */
    margin: 0; /* 移除外边距 */
    line-height: 50px; /* 设置行高与高度相等 */
    text-align: center;
    vertical-align: middle; /* 文字垂直居中 */
    /* align-items: center; 在交叉轴上垂直居中 */
    /* justify-content: center; 在主轴上水平居中 */
  }
  li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
  }



  
  /* 轮播图的相关设计 */
.slideshow-container {
width:100%;
/*height:400px;*/
  position: relative;
  /* max-width: 100%; */
 /*  height: auto; */
  margin: auto;
  top: 100px;
  left: 10px;
}

.slideshow-container img {
  display: none;
  width: 55%;
  /*height: 450px; */
  /* height: auto; */
}

.slideshow-container img.active {
  display: block;
}



/* 通知公告 */
.tzgg{
  width: 40%;
  height: 450px;
  /* background-color:  #cae3fc; */
opacity: 0.9;
  position: relative;
  top: -300px;
  left: 56%;
  }
  .h2-1{
    padding: 19px 0 0 0;
    font-size: 18px;
    margin: 0 0;
    color: #181717;
  }
  .ul-3{
    list-style-type: circle;
    padding: 0 0 0 20px;
    margin: 0 0 0 0;
    border: 0;
    height:385px;
  }
  h2{
    font-family: "Microsoft YaHei", "微软雅黑", "宋体";
    font-size: 24px;
    white-space: nowrap;
  }
  .t_img{
    height: 40px;
  }
  .ul-3 a{
    color: #000000;
    text-decoration: none;
    font-size: 16px;
  }
  
  /* 工作动态 */
  .gzdt{
 /* width: 23.3%;*/
  height: 400px;
  /* background-color: #cae3fc; */
opacity: 0.9;
  position:absolute;
  top:678px;
  left: 13%;
  } 
  .xzzq{
   /* width: 23.3%;*/
    height: 400px;
    /* background-color:  #cae3fc; */
    opacity: 0.9;
    position:absolute;
    top:678px;
    left:40.9%;
  }
  .yqlj{
     /* width: 23.3%;*/
      height: 400px;
      /* background-color:  #cae3fc; */
      opacity: 0.9;
      position:absolute;
      top:678px; 
      left:67%;
  }
  #lianjie{
    color:#474242;
  }
#lianjie:hover{
  color: #075fab;
}

  .footer{
        /* margin-top: 10px; */
        border-top: 7px solid #e6cc7d;
        background-color: #0c63c1;
        height: 200px;
        padding: 0 0 0 0;
        position:absolute;
        width: 100%;
  }
  .footer p{
        color: #fcf6f7;font-size: 14px;
        font-family: Verdana, Geneva, sans-serif;
        margin: 10px 0;
  }
  p{
    text-align: center;
  }
  
  
  /* 新闻的展示 */
  .time{
    position:absolute;
    left: 68%;
  }
  hr{
    color: #8b8888;
  }
  .news-list {
    list-style-type: none;
    padding: 0;
  }
  .news-item {
    margin-bottom: 10px;
    display: flex;
    list-style-type: circle;
  }
  .news-item p{
    display: inline;
  }
  .p-1{
    width: 200px;
    white-space: nowrap; /* 禁止文本换行 */
  overflow: hidden; /* 隐藏溢出的部分 */
  text-overflow: ellipsis; /* 将溢出的文本显示为省略号 */
  }
  .news-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;/* 修改标题最大宽度 */
  }
  
  /* 链接的格式设置 */
  a{
    color:#333;
    text-decoration: none;   /* 去除链接的下划线 */
  }

/* 页底 */
.footer{
    /* margin-top: 10px; */
    /* border-top: 7px solid #e6cc7d; */
    background-color: #0c63c1;
    height: 145px;
    padding: 0 0 0 0;
    position:absolute;
    width: 100%;
}
.footer p{
    color: #fcf6f7;font-size: 14px;
    font-family: Verdana, Geneva, sans-serif;
    margin: 10px 0;
}
p{
text-align: center;
}

