.swim_conts {
  font-size: 1.8rem;
}

.container {
  display: flex;
  margin: 0 auto;
  background-color: #fff;
  font-size: 1.8rem;
  gap: 20px;
}

.sidebar {
  flex: 0 0 24%;
  /* min-width: 338px; */
  background-color: #fff;
  font-family: "Arial", sans-serif;
}

/* 标题样式 */
.sidebar-header {
  background-color: #bd1a2d;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 2.4rem;
  font-weight: bold;
  position: relative;
}

/* 小三角标记 */
/*.sidebar-header::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #bd1a2d transparent transparent transparent;
}*/

/* 菜单列表 */
.sidebar-menu {
  list-style: none;
  padding: 0;
  background: #fafafa;
  min-height: 400px;
}

/* 菜单项样式 */
.menu-item {
  border-bottom: 1px solid #e6e6e6;
}

.menu-item a {
  display: block;
  text-align: center;
  padding: 10px;
  background: #f8f8f8;
  color: #333;
  font-size: 2rem;
}

/* 菜单项悬停样式 */
/*.menu-item a:hover {
    color: #bd1a2d;
}*/

/* 当前激活的菜单项 */

/*.menu-item.active a {
    background: #e2b7a7;
    color: #bd1a2d;
    font-weight: bold;
}*/

/* 新闻列表标题 */
.news-list h2 {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
  /* 灰色底线 */
  font-size: 2rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
  height: 35px;
}

.my-title {
  padding: 0 20px;
  height: 35px;
  border-bottom: 1px solid #bd1a2d;
  /* 红线 */
}

.news-list h2 img {
  width: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.rdy {
  float: right;
  display: inline-block;
  width: 80px;
  font-size: 1.4rem;
  color: #000000;
  margin-right: 20px;
  line-height: 3.5rem;
}

/* 新闻列表样式 */
.news-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-width: 1052px;
  min-height: 350px;
  min-width: 0;
  flex: 1;
}

.news-list ul {
  margin: 30px 0px;
}

.news-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  flex: 1;
}

.news-list li .icon {
  width: 5px;
  height: 5px;
  background: #bc9a85;
  border-radius: 50%;
  position: absolute;
}

.news-list li a {
  font-size: 1.8rem;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 70%;
  margin-left: 20px;
  display: block;
}

.news-list li .date {
  white-space: nowrap;
  font-size: 1.8rem;
  color: #888;
  margin-right: 10px;
  flex-shrink: 0;
}

.news-list ul li:nth-child(5n) {
  height: 38px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e6e6e6;
}

/*网上调查*/

.survey-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.survey-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 15px;
  border-radius: 5px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #aaaaaa;
}

.survey-item .status {
  background-color: #bd1a2d;
  color: #fff;
  padding: 2px 18px;
  border-radius: 8px;
  font-size: 1.8rem;
  width: 54px;
  height: 85px;
  line-height: 85px;
  text-align: center;
  margin-top: 6px;
}

.survey-item .wsdc-cont {
  flex: 1;
  margin-left: 20px;
}

.wsdc-cont .details {
  display: flex;
}

.wsdc-cont h3 {
  display: inline-block;
  width: 550px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wsdc-cont .content {
  width: 85%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  -webkit-line-clamp: 2;
  /* 限制在2行内 */
  line-clamp: 2;
}

.wsdc-cont > p {
  font-size: 1.4rem;
  color: #898989;
  margin-right: 35px;
  margin-bottom: 5px;
  line-height: 1.5;
  text-indent: 2em;
}

.wsdc-cont .details p {
  font-size: 1.4rem;
  color: #545454;
  margin-right: 20px;
}

.survey-item .participate {
  flex-shrink: 0;
  background-color: #e47e5a;
  color: #fff;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  text-align: center;
  width: 85px;
  font-size: 1.3rem;
}

.wsdc-icon {
  /* position: absolute;
  left: 42%;
  top: -53%;
  width: 10px;
  height: 10px;
  background: url("/syx/skxjsj/resource/hdjlimg/wsdc.png"); */
}

.closed .wsdc-icon {
  background: url("/syx/skxjsj/resource/hdjlimg/wsdc-close.png");
}

/* 调查项状态：已结束 */
.survey-item .closed-status {
  background-color: #cdcdcd;
  color: #fff;
  border-radius: 8px;
  width: 54px;
  height: 85px;
  line-height: 85px;
  text-align: center;
}
.status_zzzj {
    line-height: normal !important;
    display: grid;
    place-items: center;
  }
/* 按钮样式：查看反馈 */
.survey-item .result-view {
  flex-shrink: 0;
  background-color: #bd1a2d;
  color: #fff;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  text-align: center;
  width: 85px;
  font-size: 1.3rem;
  margin-top: 6px;
}

.survey-item .result-view:hover {
  background-color: #555;
}

/* 按钮样式：我要参加 */
.survey-item .participate:hover {
  background-color: #ff8c00;
}

.sidebar .top {
  width: 100%;
  background: #bb2322;
  margin: 0px auto;
  padding: 10px 0;
  margin-bottom: 10px;
}

.sidebar .top span {
  display: block;
  font-size: 22px;
  color: #fdfffc;
  padding-left: 40px;
  font-weight: bold;
}

.sidebar .top p {
  font-size: 18px;
  color: #fdfffc;
  padding-left: 40px;
  line-height: 40px;
}

.sidebar-header a {
  color: #fff;
}

.sidebar-header a:hover {
  color: #000;
}

.item_content_box {
  display: flex;
}

@media (max-width: 1260px) {
  .wsdc-cont h3 {
    width: 400px;
  }
  .wsdc-cont .content {
    width: 65%;
  }
}

/* 自适应样式：针对不同的屏幕尺寸进行调整 */
@media (max-width: 1000px) {
  .wsdc-cont .content {
    width: 90%;
  }
}

/* 网上调查响应式布局 */
@media (max-width: 830px) {
  .sidebar {
    flex: none;
  }

  .wsdc-cont h3 {
    width: 400px;
  }

  .swim_conts {
    margin-top: 15px;
  }

  .container {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .content {
    width: 100%;
    padding: 10px;
  }
  .survey-item .status {
    padding: 5px;
    width: auto;
    height: auto;
  }
  
  .survey-item {
    display: block;
  }

  .survey-item .result-view,
  .survey-item .participate {
    margin-top: 15px !important;
    float: right;
  }
  .survey-item .participate .survey-item {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
  }

  .survey-item .details {
    margin-left: 0;
  }

  .survey-item button {
    width: 100%;
  }

  .container {
    display: block;
  }
}

/* 网上调查响应式布局 */
@media (max-width: 550px) {
  .item_content_box {
    flex-direction: column;
  }
  .survey-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}
@media only screen and (max-width: 630px) {
  .wsdc-cont h3 {
    width: 400px;
  }

  .swim_conts {
    padding: 0;
    margin-top: 30px;
  }

  .news-list li {
    padding: 5px 1%;
  }

  .news-list li a {
    width: 60%;
    margin-left: 4%;
  }
}
