/* 遮罩层样式 */
.modal,
.saluteModal,
.sayModal,
.posterModal {
  display: none;
  position: fixed;
  /* 固定定位 */
  z-index: 1;
  /* 置于顶层 */
  left: 0;
  top: 0;
  width: 100%;
  /* 宽度100% */
  height: 100%;
  /* 高度100% */
  overflow: auto;
  /* 如果需要滚动条 */
  background-color: rgb(0, 0, 0);
  /* 背景颜色 */
  background-color: rgba(0, 0, 0, 0.5);
  /* 黑色背景且有透明度 */
}

/* 遮罩层内容样式 */
.modal-content {
  /* background-color: #fefefe;   */
  margin: 0 auto;
  /* 15% 顶部和底部外边距，水平居中 */
  padding: 20px;
  /* border: 1px solid #888;   */
  width: 40%;
  /* 宽度 */
  text-align: left;
}

.modal-img {
  width: 100%;
  height: auto;
}

.modal-paper {
  width: 100%;
  border-radius: 20px;
  background-color: #fff;
  /* padding-bottom: 40px; */
}

.modal-paper-title {
  box-sizing: border-box;
  width: 100%;
  height: 74px;
  font-size: 32px;
  color: #fff;
  text-align: center;
  line-height: 74px;
  border: 2px solid #fee48e;
  border-radius: 20px 20px 0px 0px;
  background-color: #ad0e17;
}

.modal-paper-con {
  margin-left: auto;
  margin-right: auto;
  width: 85%;
  padding: 30px 0 40px;
}

/* .modal-paper-con .sp {
    display: inline-block;
    width: 64px;
    text-align: right;
    padding-right: 10px;
} */

.modal-paper-con input {
  box-sizing: border-box;
  height: 50px;
  width: 100%;
  padding-left: 8px;
  border: 1px solid #e5e5e5;
}

.school,
.name {
  display: flex;
  width: 100%;
  padding-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.Mess {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.Mess-con {
  width: 100%;
  height: calc(25vh);
  overflow: auto;
  padding: 0px 0 10px;
  border: 1px solid #e5e5e5;
}

.Mess-con div {
  box-sizing: border-box;
  /* height: 50px; */
  width: 100%;
  padding: 10px;
  /* padding-left: 10px; */
  /* line-height: 50px; */
  border-bottom: 1px solid #e5e5e5;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.Mess-con div:last-child {
  border-bottom: none;
}

.Mess-con div:hover,
.Mess-con .active {
  background-color: #f3f0e3;
}

.Mess-con div img {
  height: 20px;
  /* padding-right: 10px; */
}

.img-hidden {
  display: none;
}

.modal-btn,
.modal-close {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  cursor: pointer;
}
.saybtn {
  width: 35%;
}

/* 敬礼的样式 */
.salute-text {
  width: 100%;
  text-align: center;
  font-size: 32px;
  color: #b51519;
}

/* 留言成功的样式 */
.modal-poster {
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.modal-poster img {
  width: 50%;
  cursor: pointer;
}

.poster-p {
  padding-top: 20px;
  /* padding-left: 20%; */
  color: #ffff;
  font-size: 20px;
}

.posterclose {
  padding-top: 20px;
  /* padding-left: 26%; */
}

.pop {
  width: 100%;
}

.share-pic {
  width: auto;
  height: 70vh;
}
.hide {
  display: none;
}
/* 长按保存图片 */
.yd {
  display: none;
}
.pop-content {
  text-align: center;
}
.flex-c {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.salute-paper-con {
  padding: 50px 40px;
}

/* 适配 */
@media (max-width: 750px) {
  /* 敬礼 */
  .salute-text {
    font-size: 18px;
  }
  /* 留言框 */
  .modal-paper-title {
    height: 46px;
    font-size: 24px;
    line-height: 46px;
  }
  .salute-paper-con {
    box-sizing: border-box;
    width: 95%;
    padding: 25px 20px 20px;
  }
  .modal-paper-con {
    width: 95%;
    padding: 15px;
    box-sizing: border-box;
  }
  .modal-paper-con input {
    height: 35px;
    font-size: 16px;
    padding: 10px 5px;
  }

  .Mess-con div {
    /* height: 30px; */
    font-size: 16px;
    padding: 8px;
  }

  .modal-paper-con .sp {
    font-size: 16px;
    /* width: 56px; */
    padding-bottom: 5px;
  }

  .Mess-con div img {
    height: 22px;
  }

  .modal-btn,
  .modal-close {
    padding-top: 15px;
  }

  .saybtn {
    width: 40%;
  }
  .Message-ul .info-item {
    width: 90%;
  }
  .Mess-con {
    height: calc(40vh);
  }

  /* 留言成功 */

  /* .modal-paper-con{
        padding: 20px 0 15px;
    } */
  .modal-poster img {
    width: 60%;
  }
  .error-message {
    font-size: 14px;
  }
  /* 海报 */
  .modal-content {
    width: 86%;
  }
  .t1-center {
    width: 100%;
    text-align: center;
  }
  .share-pic {
    width: 100%;
    height: auto;
  }
  .poster-p {
    text-align: center;
    padding-top: 10px;
    padding-left: 0;
    color: #ffff;
    font-size: 16px;
  }
  .posterclose {
    text-align: right;
    padding-top: 11px;
    padding-left: 0;
  }
  /* 长按保存图片 */
  .pc {
    display: none;
  }
  .yd {
    display: block;
  }
}
/* 输入框校验 */
.error {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  display: block;
  /* padding-left: 64px;  */
}
.hiden {
  display: none;
}
/* pc端 */
@media (min-width: 751px) {
  .modal-paper-con input {
    font-size: 18px;
  }
  .Mess,
  .Mess .sp {
    padding-bottom: 10px;
  }
  .Mess-con div img {
    height: 24px;
  }
}
