.main {
  margin-top: 30px;
  margin-bottom: 30px;
}
/* 新闻轮播图 */
.newscarousel {
  float: left;
  width: 40%;
  height: 300px;
}
.newscarousel .layui-carousel {
  position: relative;
  height: 100% !important;
}
.newscarousel .layui-carousel .items div span {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  line-height: 48px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  padding-left: 20px;
  padding-right: 100px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #eee;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.newscarousel .layui-carousel .items div img {
  width: 100%;
  height: 100%;
}
.newscarousel .layui-carousel .layui-carousel-ind {
  position: absolute;
  right: 20px;
  bottom: 14px;
  top: unset;
  width: unset;
}
.newscarousel .layui-carousel .layui-carousel-ind ul {
  background-color: transparent;
}

/* 复用样式 */
.panel-title {
  position: relative;
  height: 45px;
}
.panel-title > div {
  position: absolute;
  left: 0;
  top: 0;
  width: 110px;
  height: 32px;
  background-color: #1d50a9;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  line-height: 32px;
  text-align: center;
}
.panel-title > a {
  cursor: pointer;
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.anothertitle {
  color: #035c9f;
  font-size: 18px;
  font-weight: bold;
  line-height: 46px;
}
.anothertitle a {
  color: #035c9f;
}

/* 本院动态 */
.bydt {
  float: right;
  width: calc(60% - 20px);
  height: 300px;
}
.newslists li {
  width: 100%;
  font-size: 14px;
  color: #333;
  padding-top: 8px;
  height: 28px;
}
.newslists li .tzggpt {
  font-weight: bold;
  float: left;
}
.newslists li i {
  display: inline-block;
  width: 3px;
  height: 5px;
  background: url(../img/new-fh.png) no-repeat center;
  float: left;
  margin-top: 8px;
  margin-right: 5px;
}
.newslists li .txt {
  width: 510px;
  float: left;
}
.newslists li:hover .txt {
  color: #0166b6;
}
.newslists .time {
  font-size: 14px;
  color: #333;
  float: left;
  margin-left: 52px;
}
.newslists li a {
  color: #333;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
/* 通知公告 */
.tzgg {
  float: left;
  width: 40%;
  height: 190px;
}
.tzgg .newslists li .txt {
  width: 250px;
}
.tzgg .newslists .time {
  margin-left: 12px;
}
/* 行业资讯 */
.hyzx {
  float: right;
  width: calc(60% - 20px);
  height: 190px;
}
/* 中间滚动 */
.midcarousel {
  margin: 20px 0;
  height: 110px;
}
.midcarousel .items div > a > img {
  width: 100%;
  height: 100%;
}
.midcarousel .layui-carousel {
  height: 100% !important;
}
/* 药品培训、医械培训、论坛与大会、会议参展 */
.yppx,
.ltydh {
  float: left;
  width: calc(50% - 7px);
  height: 300px;
}
.buchong .time-day {
  margin-right: 12px;
  color: #1d50ab;
}
.buchong .link {
  display: block;
  float: right;
  padding: 0 10px;
  line-height: 21px;
  height: 21px;
  background-color: #ffa101;
  color: #fff;
  font-size: 14px;
  border-radius: 2px;
}
.buchong li .txt {
  width: 265px;
}
.buchong .time {
  margin-left: 12px;
}
.buchong .city {
  margin-left: 0;
  margin-right: 12px;
}
.yxpx,
.hycz {
  float: right;
  width: calc(50% - 7px);
  height: 300px;
}
.hycz .link {
  background-color: #b1874b;
  font-size: 16px;
}
/* 服务门户、品牌会议 */
.fwmh,
.pphy {
  float: left;
  width: calc(30% - 1px);
  height: 420px;
  margin-right: 20px;
}

.fwmh li {
  float: left;
  width: 113px;
  text-align: center;
  color: #535752;
  font-size: 16px;
  padding-top: 20px;
  padding-bottom: 34px;
}
.fwmh li img {
  width: 85px;
  height: 85px;
  margin: 0 auto;
  transition: all 0.5s ease-in-out;
  transform-origin: 50% 50%;
}
.fwmh li a:hover img {
  transform: rotateY(180deg);
}
.fwmh li a.text {
  margin-top: 25px;
  display: inline-block;
}
.pphylist li {
  width: 100%;
  height: 46.92px;
  margin-bottom: 16px;
}
.pphylist li img {
  width: 100%;
  height: 100%;
}

/* 在线留言 */
.zxlycon {
  float: right;
  width: calc(40% - 42px);
  height: 420px;
}
.zxlycon .otherlink {
  width: 100%;
  height: 167px;
  margin-bottom: 14px;
}
.zxlycon .otherlink ul {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}
.zxlycon .otherlink ul li {
  box-sizing: border-box;
  width: 33.33%;
  height: 50%;
}
.zxlycon .otherlink a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.zxlycon .otherlink img {
  width: 30px;
  height: 30px;
}
.zxlycon .zxly {
  width: 100%;
  height: 237px;
}
.zxly .f-l {
  float: left;
}
.zxly .f-r {
  float: right;
}
.zxly form input {
  width: 100%;
  border-radius: 4px;
  border: none;
  outline: none;
  color: #716a7c;
}
.zxly form > div {
  box-sizing: border-box;
}
.zxly .short {
  width: calc(50% - 5px);
  border-radius: 4px;
  height: 24px;
  border: 1px solid #d8d8d8;
  margin-bottom: 10px;
  background-color: #f5f5f5;
}
.zxly .short input {
  width: calc(100% - 20px);
  margin-left: 10px;
  background-color: transparent;
  height: 100%;
}
.zxly .long {
  border-radius: 4px;
  border: 1px solid #d8d8d8;
  margin-bottom: 10px;
  background-color: #f5f5f5;
  width: 100%;
  height: 45px;
}
.zxly textarea {
  resize: none;
  box-sizing: border-box;
  padding: 4px 10px;
  background-color: transparent;
  border-radius: 4px;
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
}
.zxly .submit {
  color: #fff;
  cursor: pointer;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background-color: #f58b03;
}

/* 友情链接 */
.links {
  /* height: 124px; */
}
.links .tit {
  width: 100%;
  height: 35px;
}
.links .tit li {
  width: 105px;
  height: 35px;
  border-radius: 5px;
  background: #eaeaea;
  float: left;
  margin-right: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 35px;
}
.links .tit li a {
  color: #333;
  display: block;
}
.links .tit .hover {
  background: #0166b6;
  color: #fff;
}
.links .tit .hover a {
  color: #fff;
}
.links .p {
  width: 100%;
  padding-top: 10px;
}
.links .p a {
  display: block;
  margin-right: 10px;
  color: #a3a3a3;
  float: left;
  margin-top: 10px;
  font-size: 14px;
}
.links .p .hh {
  width: 1px;
  height: 12px;
  background: #a9a9a9;
  float: left;
  position: relative;
  top: 14px;
  margin-right: 10px;
}
.links .p a:hover {
  color: #1a75bd;
}
