@import "../css/public.css";
@import "../layui/css/layui.css";
.inner-header {
  background: url("/materialpub/images/letter-bg.png") no-repeat center center;
}

.main-container {
  box-sizing: border-box;
  padding: 0.7rem 0;
}

.letter-layout {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.writeLetters h2 {
  width: 100%;
  height: 0.5rem;
  background-color: #F0F0F0;
  line-height: 0.5rem;
  font-size: 0.2rem;
  font-weight: bold;
  color: #333333;
  box-sizing: border-box;
  padding: 0 0.34rem;
}
.writeLetters .layui-word-aux {
  font-size: 0.14rem !important;
}
.writeLetters .layui-form-label {
  color: #333333;
  font-size: 0.16rem;
}
.writeLetters .layui-input, .writeLetters .layui-textarea {
  font-size: 0.14rem;
}
.writeLetters .layui-input::placeholder, .writeLetters .layui-textarea::placeholder {
  color: #D6D6D6;
}
.writeLetters .inline_fr {
  max-width: calc(90% - 2rem);
  width: 100%;
}
.writeLetters .layui-btn-file {
  max-width: 1.29rem;
  width: 100%;
  height: 0.37rem;
  border-radius: 4px;
  background-color: #055D47;
  line-height: 0.37rem;
}
.writeLetters .btn-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.06rem;
}
.writeLetters .btn-item button {
  max-width: 1.36rem;
  width: 100%;
  height: 0.58rem;
  border-radius: 4px;
  font-size: 0.16rem;
  border: none;
  outline: none;
  box-sizing: border-box;
  cursor: pointer;
}
.writeLetters .btn-item .submitBtn {
  background: rgba(5, 93, 71, 0.91);
  font-weight: bold;
  color: #FFFFFF;
  margin-right: 0.15rem;
}
.writeLetters .btn-item .reBtn {
  background-color: #FFFFFF;
  border: 1px solid #1C6C58;
  color: #1C6C58;
}

.letter-table {
  width: 100%;
  box-sizing: border-box;
  border: 0.01rem solid #F0F0F0;
  margin-bottom: 0.5rem;
}
.letter-table thead {
  height: 0.5rem;
  background-color: #F0F0F0;
}
.letter-table thead th {
  height: 0.5rem;
  background-color: #F0F0F0;
  font-weight: bold;
  font-size: 0.2rem;
  color: #333333;
}
.letter-table tbody tr {
  height: 0.64rem;
  border-bottom: 0.01rem solid #F0F0F0;
}
.letter-table tbody tr:hover a {
  color: #00785A;
}
.letter-table tbody td {
  text-align: center;
  font-size: 0.16rem;
  color: #333333;
}
.letter-table tbody a {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: left;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 0.16rem;
}
.letter-table tbody span {
  font-size: 0.16rem;
  color: #FF8400;
}
.letter-table tbody span.complete {
  color: #00785A;
}

.letter-detail {
  width: 100%;
  height: auto;
}
.letter-detail .detail-box {
  box-sizing: border-box;
  padding-top: 0.75rem;
}
.letter-detail .detail-box:first-child {
  padding-top: 0;
}
.letter-detail .detail-box h1 {
  font-size: 0.28rem;
  line-height: 0.24rem;
  color: #333333;
}
.letter-detail .detail-info {
  display: flex;
  align-items: center;
}
.letter-detail .detail-info > p {
  width: 0.56rem;
  height: 0.56rem;
  background-color: #00785A;
  border-radius: 0.1rem;
  font-size: 0.28rem;
  color: #FFFFFF;
  text-align: center;
  line-height: 0.56rem;
  margin-right: 0.23rem;
}
.letter-detail .detail-info .title h4 {
  font-size: 0.16rem;
  line-height: 0.24rem;
  color: #333333;
  margin-bottom: 0.09rem;
}
.letter-detail .detail-info .title p {
  display: inline-block;
  font-size: 0.16rem;
  line-height: 0.24rem;
  margin-right: 0.33rem;
}
.letter-detail .detail-info .title p:last-child {
  margin-right: 0;
}
.letter-detail .detail-info .title span {
  color: #00785A;
}
.letter-detail .detail-info .title span.no {
  color: #FF8400;
}
.letter-detail .detail-cont {
  box-sizing: border-box;
  padding: 0.36rem 0 0.75rem;
  border-bottom: 0.01rem dashed #D8D8D8;
  text-indent: 2em;
  font-size: 0.16rem;
  line-height: 0.36rem;
}
.letter-detail .detail-cont * {
  font-size: 0.16rem;
}

@media screen and (max-width: 996px) {
  .letter-layout {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .letter-table thead th:last-child {
    display: none;
  }
  .letter-table tbody td:last-child {
    display: none;
  }
}
@media screen and (max-width: 475px) {
  .writeLetters .inline_fr {
    max-width: 90%;
  }
  .number {
    width: 30px !important;
    overflow: hidden;
  }
}
