@charset "utf-8";
/* 信箱列表样式 */
.mail-list-search {
  padding-top: 30px;
  padding-bottom: 30px;
}
.mail-list-search dl dt {
  float: left;
  line-height: 38px;
}
.mail-list-search dl dd {
  float: left;
}
.mail-list-search .layui-btn {
  font-size: 16px;
}
.mail-list-search .btn-blue {
  background: #0668d5;
}

.mail-add {
  padding: 0 14px 0 38px;
  background: url(../images/mail_edit.png) no-repeat 14px center;
  background-color: #f0ba32;
}
.mail-add:hover {
  color: #fff;
  background-color: #eb8c05;
}
.mail-list-table {
  border: 0 !important;
  margin-top: 0;
}
.mail-list-table td,
.mail-list-table th {
  font-size: 16px;
}
.mail-list-table thead tr {
  background-color: #eff7ff;
  color: #333;
}
.mail-list-table thead tr th {
  white-space: nowrap;
}
.mail-list-table tbody tr:hover,
.mail-list-table[lay-even] tr:nth-child(even) {
  background-color: #fafafa;
}
.mail-list-table .text-a-c {
  text-align: center;
}
.mail-list-table[lay-size='lg'] td,
.mail-list-table[lay-size='lg'] th {
  padding-left: 15px;
  padding-right: 15px;
}
.mail-list-table .disabled {
  cursor: not-allowed;
  color: #d2d2d2;
}
.mail-list-table .disabled:hover {
  color: #d2d2d2;
}

.com-scrollbar-x {
  overflow-x: auto;
  position: relative;
}
.com-scrollbar-x::-webkit-scrollbar {
  height: 5px;
  width: 1px;
  background: #f0f0f0;
  border-radius: 2px;
  position: absolute;
  left: 0;
}
.com-scrollbar-x::-webkit-scrollbar-thumb {
  background-color: #c5c5c5;
  border-radius: 4px;
  height: 46px;
}
.com-scrollbar-x::-webkit-scrollbar-track {
  border-radius: 10px;
}

@media (max-width: 992px) {
  .mail-list-search {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .mail-list-search dl {
    float: none;
    margin-left: 0;
    margin-bottom: 10px;
  }
  .mail-list-search dl dd {
    float: none;
  }
  .mail-list-search .btn-blue {
    margin-left: 0;
  }
}

/*信件提交样式*/
.mail-form {
  margin: 15px 0;
}
.mail-form .layui-form-label > span {
  color: red;
}
/* .layui-form-item .layui-input-inline.card-sel {width: 155px;} */
.mail-form .layui-form-item .layui-input-inline.address {
  width: 570px;
}
.mail-form .layui-form-label {
  width: 135px;
}
.title-input,
.con-input {
  margin-left: 165px;
}
.scfj {
  position: relative;
}
.scfj input {
  position: absolute;
  height: 40px;
  cursor: pointer;
  opacity: 0;
  z-index: 1;
}
.scfj .files-btn {
  position: absolute;
  left: 165px;
  z-index: 0;
  width: 80px;
  height: 32px;
  line-height: 32px;
  background-color: #0177d5;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.scfj span.txt-tips {
  margin-left: 15px;
  color: #ccc;
}
.scfj span.txt-tips i {
  font-style: normal;
}
.scfj span.txt-tips .tips {
  cursor: pointer;
  margin-left: 10px;
}
.scfj span.txt-tips {
  position: relative;
}
.scfj span.txt-tips:hover .tips-box {
  display: block;
}
.scfj .txt-tips .tips-box {
  display: none;
  position: absolute;
  top: 30px;
  right: -80%;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: #fff;
}
.btn-box {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
.btn-box .btn {
  width: 100px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 2px;
}
.btn-box .btn:last-child {
  background-color: #0177d5;
  color: #fff;
  margin-left: 15px;
}
.fileList {
  margin-left: 5%;
}
.fileList li {
  height: 35px;
  line-height: 35px;
}
.fileList .demo-delete {
  margin-left: 15px;
  border: none;
  background-color: #fff;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .mail-form .layui-form-item {
    margin-bottom: 0;
  }
  .mail-form .layui-form-item .layui-inline {
    display: block;
    margin-right: 0;
    clear: both;
    margin-bottom: 5px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
  }
  .mail-form .layui-form-label {
    float: none;
    width: auto;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  .mail-form .layui-form-item .layui-input-inline {
    float: none;
    width: auto;
    margin-bottom: 0;
    display: block;
  }
  .title-input,
  .con-input {
    margin-left: 0;
  }
  .mail-form .layui-form-item .layui-input-inline.address {
    width: auto;
  }
  .mail-form .layui-form-item .layui-input-inline {
    margin-left: 0;
    margin-right: 0;
  }
  .mail-form .layui-form-item .layui-input-inline.card-sel {
    margin-bottom: 10px;
  }
  .mail-form .layui-form-item.mailtitle {
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
  }
}

/* 信件详情页 */
.mail-detail-cont {
  border-top: 1px solid #e3e3e3;
}
.mail-detail-cont .row {
  position: relative;
  background-color: #fff;
  border-right: 1px solid #e3e3e3;
  transition: all 0.3s;
}
.mail-detail-cont dl {
  position: relative;
  min-height: 48px;
  margin-right: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #e3e3e3;
}
.mail-detail-cont dt {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 150px;
  font-weight: bold;
  text-align: center;
  background-color: #fafafa;
  border-left: 1px solid #e3e3e3;
}
.mail-detail-cont dt span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 150px;
  margin-top: -12px;
  line-height: 24px;
}
.mail-detail-cont dd {
  margin-left: 151px;
  padding: 15px 20px;
  line-height: 2em;
  text-align: justify;
  min-height: 28px;
  border-left: 1px solid #e3e3e3;
}
.mail-detail-cont .odt dt {
  background: #fafafa;
  position: relative;
  display: block;
  min-height: 48px;
  width: 100%;
  border-bottom: 1px solid #e3e3e3;
  box-sizing: border-box;
}
.mail-detail-cont .odt dd {
  margin-left: 0;
}

@media (max-width: 768px) {
  .mail-detail-cont dt {
    width: 120px;
    font-weight: normal;
  }
  .mail-detail-cont dt span {
    text-align: left;
    padding-left: 20px;
  }
  .mail-detail-cont dd {
    padding: 10px 15px;
    margin-left: 121px;
  }

  .mail-detail-cont .xs-res dt {
    background: #fafafa;
    position: relative;
    display: block;
    min-height: 48px;
    width: 100%;
    border-bottom: 1px solid #e3e3e3;
    box-sizing: border-box;
  }
  .mail-detail-cont .xs-res dd {
    margin-left: 0;
  }
}
