* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Helvetica Neue", "Helvetica", Arial,
    "Microsoft YaHei", "WenQuanYi Micro Hei", "Heiti SC", "Segoe UI", sans-serif;
}
html,
body,
.type_box,
.data_box,
#new_design_app {
  height: 100%;
}
.close_iframe {
  position: absolute;
  top: 21px;
  right: 40px;
  cursor: pointer;
  width: 15px;
}
.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #333333;
  font-size: 14px;
  z-index: 3;
}
.modal .publicLoading {
  width: 50px;
  margin-bottom: 20px;
}
#new_design_app .type_box {
  float: left;
  width: 290px;
  background: #f5f5f5;
}
#new_design_app .box-focus {
  background: white;
  color: #14cfa6;
}
#new_design_app .box-focus span {
  color: #14cfa6;
}
#new_design_app .data_box {
  float: left;
  width: calc(100% - 290px);
}
.type_box .search_box {
  position: relative;
  margin: 15px 15px 5px 15px;
  background: white;
  height: 40px;
  padding: 0 0 0 15px;
  border-radius: 3px;
}
.type_box .search_box .search_icon {
  vertical-align: middle;
  width: 17px;
}
.type_box .search_box .search_input {
  font-size: 14px;
  border: none;
  height: 30px;
  outline: none;
  color: #333333;
  width: calc(100% - 28px);
}

.type_box .search_box .clear-icon {
  right: 13px;
  top: 14px;
  width: 13px;
  position: absolute;
  cursor: pointer;
}
.type_box .search_box .el-input__inner {
  border: none;
  padding: 0 5px;
}
.type_box .unit_box {
  padding: 5px 0px 20px 0;
  overflow-y: auto;
  height: 500px;
}
.type_box .unit_wrap {
  padding: 10px 15px;
  color: #333333;
  font-size: 14px;
  cursor: pointer;
}
.type_box .unit_wrap:hover {
  background: white;
}
.type_box .unit_advise {
  padding: 5px 15px;
  color: #999999;
  font-size: 12px;
}
.type_box .unit_wrap span {
  font-size: 12px;
  color: #999999;
  margin-left: 10px;
}
.data_box .title {
  color: #333;
  font-weight: bold;
  font-size: 18px;
  height: 55px;
  line-height: 28px;
  padding: 15px 40px;
  border-bottom: 1px solid #eef2f8;
}
.data_wrap {
  padding: 30px 0px 0 37px;
  overflow: auto;
  height: 490px;
}
.data_wrap .new_title {
  font-size: 16px;
  color: #333333;
  font-weight: bold;
}
.data_wrap .lock_icon {
  width: 20px;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 10px;
}
.data_wrap .new_input {
  width: 90px;
  height: 40px;
  border-radius: 3px;
  border: 1px solid #e5e5e5;
  outline: none;
  margin: 10px 10px 0 0;
  padding: 0 10px;
  text-align: center;
  font-size: 14px;
  -webkit-appearance: none;
}
.data_wrap .new_select {
  width: 120px;
}
.data_wrap .new_btn {
  text-decoration: none;
  width: 120px;
  height: 40px;
  font-size: 14px;
  display: inline-block;
  background: #14cfa6;
  border-radius: 3px;
  margin-left: 10px;
  color: white;
  border: none;
  outline: none;
  vertical-align: middle;
  text-align: center;
  line-height: 40px;
}

.data_wrap .new_btn:hover {
  background: #00deb4;
  color: white;
}
.unit_template {
  margin-top: 30px;
}
.unit_template .tags_box {
  margin-top: 15px;
  overflow: hidden;
}
.unit_template .tags_box .tpl_type {
  float: left;
  font-size: 14px;
  color: #333333;
  margin: 0 10px 10px 0;
  background: #f1f2f5;
  border-radius: 3px;
  padding: 7px 15px;
  text-decoration: none;
}
.unit_template .tags_box .tpl_type:hover {
  color: #14cfa6;
}
.unit_template .tags_box .tpl_type_visited {
  color: #14cfa6;
}
.unit_template .tpl_box {
  width: calc(25% - 20px);
  /* width: auto; */
  float: left;
  color: #666666;
  font-size: 14px;
  margin: 0 20px 20px 0;
}
.unit_template .tpl_box span {
  cursor: pointer;
  white-space: nowrap;
}
.unit_template .design_img {
  width: 100%;
  border-radius: 3px;
  cursor: pointer;
  /* border: 1px solid #eeeeef; */
}
.image_box {
  overflow: auto;
  margin-top: 10px;
  min-height: 270px;
}
.image_box .design_empty {
  width: 200px;
  margin: 45px auto;
  font-size: 14px;
  color: #999999;
  text-align: center;
}
.image_box .design_empty img {
  width: 100%;
  margin-bottom: 15px;
  border: none;
}
.design_img_box .shade_dialog {
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  border-radius: 3px;
  cursor: pointer;
  position: absolute;
  display: none;
  background: #000000;
  opacity: 0.4;
}
.design_img_box {
  position: relative;
  margin-bottom: 8px;
  border: 1px solid #eeeeef;
  border-radius: 5px;
}
.design_img_box .design_img {
  height: 100%;
}
.design_img_box:hover .shade_dialog {
  display: block;
}
.design_img_box .img_editor {
  display: none;
  width: 110px;
  height: 40px;
  left: 10px;
  bottom: 13px;
  z-index: 2;
  text-decoration: none;
  position: absolute;
  color: #14cfa6;
  text-align: center;
  line-height: 40px;
  background: white;
  border-radius: 3px;
  font-size: 14px;
}
.design_img_box .img_editor img {
  margin-right: 1px;
  vertical-align: middle;
  width: auto;
  border: none;
  width: 20px;
}
.design_img_box .tool {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.design_img_box:hover .tool {
  display: block !important;
}
.design_img_box .tool .collect {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin: 10px 10px 0 0;
  background: url(../img/collect.png) no-repeat center center / 22px auto;
}
.design_img_box:hover .img_editor {
  display: block;
}
.collected {
  background: url(../img/collected.png) no-repeat center center / 22px auto !important;
}
.collect:hover {
  background: url(../img/collectHover.png) no-repeat center center / 22px auto !important;
}
.collected:hover {
  background: url(../img/collectedHover.png) no-repeat center center / 22px auto !important;
}
.el-select .el-input.is-focus .el-input__inner {
  border-color: #14cfa6 !important;
}
.el-select .el-input__inner:focus {
  border-color: #14cfa6 !important;
}
.el-select-dropdown__item.selected {
  color: #14cfa6 !important;
}
.none_design {
  font-size: 12px;
  color: #999999;
  text-align: center;
  margin-bottom: 20px;
}
.loading_design {
  width: 16px !important;
  vertical-align: middle;
  margin-right: 10px;
  border: none;
}
.design_name {
  /* margin-top: 8px; */
}
.no-result-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
}
.no-result {
  color: #999999;
  font-size: 14px;
}
.custom {
  width: 12px;
}
.custom-size {
  margin-top: 20px;
  width: 180px;
  height: 45px;
  color: white;
  background: #14cfa6;
  cursor: pointer;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-size-btn {
  font-size: 14px;
  margin-left: 5px;
}
.custom-size-img {
  width: 12px;
}
::-webkit-input-placeholder {
  color: #cccccc;
}
