﻿.banner {
  display: block;
 }
 .banner img {
  width: 100%;
 }
 .wrap_main{
  position: relative;
background: #F5F5F5 url(/Sites/Uploaded/Image/2021/03/096375089472468852186273007.jpg)no-repeat;
}
.wrap_main .linkmap{
  background: transparent;
  position: absolute;
  top: 10px;
  left: 50%;
  margin:0;
  transform:translateX(-50%);
  font-size: 14px;
  color: #FFFFFF;
  z-index: 11;
}
.wrap_main .linkmap a{
  color: #FFFFFF;
}
.wrap_main .linkmap span{
  color: #FFFFFF;
}

 .Depall {
  padding: 40px 0 10px;
  box-sizing: border-box;
  background: url(/Content/Areas/Hospitals/images/Departments/depallbg.png) repeat-x bottom left;
 }
 
 .dep_img {
  margin-bottom: 20px;
  font-weight: bold;
 }
 
 .dep_img span {
  font-size: 30px;
  color: #165837;
  margin-top: 4px;
  display: inline-block;
 }
 
 .dep_img span::after {
  content: '';
  background: url(/Content/Areas/Hospitals/images/Main/ksBk3.png) no-repeat center center;
  width: 26px;
  display: inline-block;
  height: 20px;
  margin-left: 20px;
 }
 
 .Depall ul li {
  float: left;
  width: 170px;
  height: 44px;
  margin-right: 36px;
  background: url(/Content/Areas/Hospitals/images/Departments/depdftbg.png) no-repeat center center;
  background-size: 100% 100%;
  margin-bottom: 30px;
  text-align: center;
 }
 
 .Depall ul li:nth-child(6n) {
  margin-right: 0;
 }
 
 .Depall ul li a {
  line-height: 44px;
  font-size: 15px;
  color: #165837;
  display: block;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */ // 超出的文本隐藏
  text-overflow: ellipsis; // 溢出用省略号显示
  white-space: nowrap; // 溢出不换行;
  padding: 0 10px;
  box-sizing: border-box;
  overflow: hidden; // 超出的文本隐藏
  text-overflow: ellipsis; // 溢出用省略号显示
  white-space: nowrap; // 溢出不换行;
  overflow: hidden; // 超出的文本隐藏
  text-overflow: ellipsis; // 溢出用省略号显示
  white-space: nowrap; // 溢出不换行;
  text-overflow: ellipsis;
  white-space: nowrap;
 }
 
 .Depall ul li a.small_size {
  font-size: 13px;
 }
 
 .Depall ul li a.mob_small {
  font-size: 13px;
 }
 
 .Depall ul li a.overtwo {
  font-size: 12px;
  line-height: 22px;
 }
 
 .Depall ul li:hover {
  background: url(/Content/Areas/Hospitals/images/Departments/dephoverbg.png) no-repeat center center;
  background-size: 100% 100%;
 }
 
 .Depall ul li:hover a {
  color: #fff;
 }
 
 @media only screen and (max-width:768px) {
  .Depall ul li {
  width: 21%;
  margin: 0 2% 20px;
  }
  .Depall ul li a.mob_small {
  line-height: 22px;
  }
 .Depall ul li:nth-child(6n){
 margin-right: 2%;
 }
  .dep_img span::after {
  display: none;
  }
  .Depall {
  padding: 0 0 10px;
  margin-bottom: 30px;
  }
  .wrap_main .main {
  background-size: cover;
  }
 
 
 }
 @media only screen and (max-width:768px) {
   .Depall ul li {
 min-width: 46%;
 width: auto;
   }
   .dep_img span{
  font-size: 0.4rem;
   }
   .content_bot {
  padding-top: 0.4rem;
   }
 }   