@charset "UTF-8";


body {
  width: 100%;
  height: auto;
}

/* ———————————————————————— 滚动条 */
/* 滚动条样式重置 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #ebecf0;
}

/*定义滚动条轨道内阴影+圆⾓*/
::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #ebecf0;
}

/*定义滑块内阴影+圆⾓*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #c1c7d0;
}

/* ———————————————————————— 通用 */
.wt {
  min-width: 1200px;
  width: 1200px;
  margin: 0 auto;
  height: 100%;
}

/* 自定义样式  */


.lay-row {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.lay-row__label {
  width: 100px;
}

.lay-row__value {
  flex: 1;
}

.lay-form-text {
  width: 100%;
}

.lay-page {
  background: #ffffff;
  height: 100%;
}

.lay-header {
  height: 30px;
  line-height: 30px;
  padding: 0px 15px 15px 15px;
  border-bottom: 1px solid #e4e7ed;
  display: flex;
  justify-content: space-between;
}

.lay-header .lay-header__title {
  font-size: 14px;
}

.lay-body {
  padding: 20px;
}

.lay-layer-bottom-btn {
  display: flex;
  justify-content: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #ffffff;
  padding: 20px;
  z-index: 99999;
}

.lay-body .layui-form {
  padding: 0px;
}

.text-danger {
  color: #f56c6c;
}

.lay-dialog {
  margin: 20px;
}

.layui-table th {
  font-weight: 400;
}

.layui-elem-quote {
  height: 20px;
  line-height: 20px;
  padding: 8px;
  margin: 0px;
}

.layui-btn-green {
  background-color: #16b777;
}


.layui-border-green {
  border-width: 1px;
  border-style: solid;
  border-color: #16b777!important;
  color: #16b777!important;
}

.layui-btn-sm-green {
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  background-color: #47B347;
}



.lay-dialog .layui-td-gray {
  color: #909399;
  width: 80px;
  text-align: right;
  background-color: #f7f7f7;
}

.upload-img-block {
  padding: 10px;
  width: 250px;
  height: 120px;
  border: 1px dashed #ddd;
  box-sizing: border-box;
  position: relative;
  /* 长图上传操作 */
}

.upload-img-block .replace {
  display: none;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  color: #fff;
  position: absolute;
  text-align: center;
  line-height: 2;
  cursor: pointer;
}

.upload-img-block:hover .replace {
  display: block;
}

.upload-img-block .no-replace {
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.upload-img-block .upload-img-box {
  text-align: center;
  cursor: pointer;
  height: 100%;
}

.upload-img-block .upload-img-box .upload-default .preview_img {
  line-height: 80px;
}

.upload-img-block .upload-img-box .upload-default .preview_img,
.upload-img-block .upload-img-box .upload-default .img_prev {
  max-width: 100%;
  max-height: 100%;
}

.upload-img-block .upload-img-box .upload-default .img_prev {
  position: absolute;
  top: 50%;
  /*偏移*/
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 100%;
  max-width: 100%;
}

.upload-img-block .upload-img-box .upload-default .upload {
  position: absolute;
  top: 50%;
  /*偏移*/
  left: 50%;
  transform: translate(-50%, -50%);
}

.upload-img-block .upload-img-box .upload-default .iconfont {
  font-size: 30px;
  color: #6D7278;
}

.upload-img-block .upload-img-box .upload-default p {
  color: #5a5a5a;
  line-height: 20px;
  white-space: nowrap;
}

.upload-img-block .upload-img-box>img {
  position: absolute;
  top: 50%;
  /*偏移*/
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 100%;
  max-width: 100%;
}

.upload-img-block .del {
  background: #999;
  color: #FFFFFF;
  position: absolute;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-style: normal;
  line-height: 18px;
  text-align: center;
  right: -10px;
  top: -10px;
  cursor: pointer;
  z-index: 1;
  display: none;
}

.upload-img-block .del.show {
  display: block;
}

.upload-img-block .hover:hover .operation {
  display: block;
}

.upload-img-block .operation {
  display: none;
  position: absolute;
  left: 0px;
  top: 0px;
  width: calc(100% + 0px);
  height: calc(100% + 0px);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.upload-img-block .operation i {
  font-size: 25px !important;
  margin-left: 30px;
  line-height: 120px;
}

.upload-img-block .operation i:first-child {
  margin-left: 0px;
}

.upload-img-block .operation .replace_img {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  line-height: 24px;
}

.upload-img-block .operation .upload-img-block {
  height: 120px;
}

.word-aux {
  margin-left: 140px;
  display: block;
  margin-top: 5px;
  color: #B2B2B2;
  font-size: 12px;
  line-height: 1.6;
}

.word-aux.sm {
  margin-left: 80px;
}

.word-aux.mid {
  margin-left: 150px;
}
