@charset "utf-8";



/* middle */
.middle {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    overflow: hidden;
}

.mid-main{
    padding: 80px 0 40px;
}
.mid-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mid-title img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 12px;
}

.mid-tab-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px; 
  background: #fff;
  border-radius: 4px;
  box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.1);
  z-index: 10;
}

.mid-tab-list {
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 100;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.mid-tab-list li {
  list-style: none;
  margin-right: 40px;
  height: 56px;
	line-height: 56px;
	text-align: center;
  display: flex;
  align-items: center;
	  flex: 0 0 auto;
  white-space: nowrap;
}

.tab-item {
  font-size: 18px;
  color: #1E3A5F;
  text-decoration: none;
  height: 100%;
  position: relative;
	display: block;
}

.current .tab-item,.tab-item:hover  {
  color: #39A7D9;
  font-weight: bold;
}

.current .tab-item::after,.tab-item:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #39A7D9;
}


/*内容*/
.hospital-item {
  position: relative;
  width: calc(50% - 18px);
	margin-bottom: 20px;
  float: left;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 36px;
	 box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.hospital-item:nth-child(2) {
  margin-right: 0;
}

.hospital-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 12px;
  box-sizing: border-box;
  pointer-events: none;
}

.hospital-pic {
  height: 300px;
  position: relative;
  overflow: hidden;
}
.hospital-pic::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26,58,92,0.6), transparent);
  z-index: 1;
}
.hospital-pic img {
	position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
	z-index: 0;
}
.pic-text {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
	z-index: 2;
}
.pic-text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.tags span {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  font-size: 12px;
  margin-right: 5px;
}

.hospital-info {
  padding: 20px;
}
.hospital-info p {
  font-size: 15px;
  color: #333;
  line-height: 26px;
  margin-bottom:10px;
  display:block;
	overflow: hidden;
}

.hospital-info p .col-left {
  float: left;
  width: 220px; 
  display: flex;
  align-items: center;
}

.hospital-info p .col-right {
  float: left;
  display: flex;
  align-items: center;
}
.ico {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
   vertical-align: middle;
	flex-shrink: 0;
}
.ico-add { background: url("/yl_oa_api/siteManageFront/templateManage/file/0c174f5e88724c58b48448e0c441e934/images/place.png")}
.ico-tel { background: url("/yl_oa_api/siteManageFront/templateManage/file/0c174f5e88724c58b48448e0c441e934/images/phone.png")}
.ico-time { background: url("/yl_oa_api/siteManageFront/templateManage/file/0c174f5e88724c58b48448e0c441e934/images/time.png")}
.ico-bus{background: url("/yl_oa_api/siteManageFront/templateManage/file/0c174f5e88724c58b48448e0c441e934/images/bus.png")}
.ico-subway{background: url("/yl_oa_api/siteManageFront/templateManage/file/0c174f5e88724c58b48448e0c441e934/images/subway.png")}

/* 移动端 */
@media screen and (max-width: 1000px) {
    .mid-main{
        padding: 50px 0 20px;
    }
    .mid-title{
        font-size: 22px;
        line-height: 31px;
        margin-bottom: 24px;
    }
    .mid-title img{
        width: 25px;
        height: 25px;
    }
	.hospital-item{
		width: 100%;
		margin-right: 0;
	}
	.hospital-item + .hospital-item{
		margin-top: 20px;
	}
    .hospital-info p {
        overflow: visible !important;
        font-size: 16px;
    }
	.col-left, .col-right {
        float: none;
        width: 100%;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 500px) {
    .hospital-pic {
        height: 165px;
    }
}
@media screen and (max-width: 375px) {
	.hospital-item + .hospital-item {
    margin-top: 10px;
  }
}