@keyframes myRotate {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg)
  }
}

/* layout */
.layout--web {
  padding: 0 14px 40px 30px;
}

.layout--web .input_wrap {
  margin-bottom: 20px;
  font-size: 0;
  color: #4f4f4f;
}

.layout--web .input_wrap .name,
.layout--web .input_wrap input {
  display: inline-block;
  vertical-align: top;
}

.layout--web .el-radio-group {
  margin-top: 6px;
}

.layout--web .input_wrap .name {
  margin-right: 20px;
  margin-top: 5px;
  text-align: justify;
  line-height: 20px;
  width: 100px;
  font-size: 14px;
  color: #999;
  text-justify: distribute-all-lines;
  text-align-last: justify;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.layout--web .input_wrap input,
.layout--web .input_wrap textarea {
  padding: 10px;
  width: 264px;
  border: 1px solid #dddddd;
  background: #f4f4f4;
  border-radius: 4px;
  box-sizing: border-box;
}

.layout--web .input_wrap input:focus,
.layout--web .input_wrap textarea:focus {
  background: #fff;
}

.layout--web .input_wrap input {
  height: 30px;
}

.layout--web .input_wrap textarea {
  height: 100px;
}

.layout--web .my-select {
  display: inline-block;
  vertical-align: middle;
  width: 90px;
}

.layout--web .my-select {
  border: 1px solid #dddddd;
  background: #f4f4f4;
}

.layout--web .my-radio-group {
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
  line-height: 30px;
}

.layout--web .my-radio {
  margin-right: 20px;
}

.layout--web input[type="file"] {
  position: absolute;
  visibility: hidden;
  border: none;
  height: 0;
  z-index: -1;
}

.layout--web .uploadFile {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  padding: 0 10px;
  line-height: 30px;
  width: 200px;
  height: 30px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid #dddddd;
  background: #f4f4f4;
  border-radius: 4px;
  box-sizing: border-box;
}

.layout--web .uploadFile::after {
  display: none;
  content: "";
  position: absolute;
  right: 5px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: url("../img/index/icon-loading.png") no-repeat;
  background-size: cover;
  -webkit-animation: myRotate 3s linear infinite;
  animation: myRotate 3s linear infinite;
}

.layout--web .uploadFile.loading::after {
  display: block;
}

.layout--web .progress-wrap {
  position: relative;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  line-height: 30px;
  width: 120px;
  height: 30px;
  background: #BBC1CD;
}

.layout--web .progress-wrap .text {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
  font-size: 12px;
  color: #fff;
}

.layout--web .progress {
  width: 0;
  height: 100%;
  background: #0084FF;
}

.layout--web .error-tip {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  line-height: 30px;
  width: 120px;
  height: 30px;
  font-size: 12px;
  color: red;
}

.layout--web .uploadImg {
  display: inline-block;
  text-align: center;
  width: 128px;
  height: 128px;
  font-size: 14px;
  border: 1px solid #dddddd;
  background: #f4f4f4;
  border-radius: 4px;
}

.layout--web .uploadImg::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.layout--web .uploadImg span {
  display: inline-block;
  vertical-align: middle;
}

.layout--web .uploadImg img {
  width: 100%;
  height: 100%;
}

.layout--web .submit {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: block;
  margin-left: -40px;
  text-align: center;
  line-height: 30px;
  width: 80px;
  height: 30px;
  font-size: 14px;
  color: #fff;
  background: #0084FF;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}

.layout--web .submit:hover {
  opacity: .6;
}

.layout--web .submit.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* banner */
.layout--banner .firstType {
  margin-left: 0;
}

.layout--banner .my-select.workName {
  width: 244px;
}

.layout--banner .input_wrap input.sort {
  padding: 0;
  text-align: center;
  width: 90px;
}

/* type */
.layout--type .input_wrap input {
  width: 210px;
}

.layout--type .add {
  margin-left: 34px;
  line-height: 30px;
  text-align: center;
  width: 80px;
  height: 30px;
  font-size: 14px;
  color: #fff;
  background: #0776dd;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: background .25s;
  transition: background .25s;
}

.layout--type .add:hover {
  background: #0084FF;
}

.layout--type .type-list {
  margin-bottom: 20px;
  zoom: 1;
}

.layout--type .type-list::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.layout--type .type-item {
  float: left;
  margin-bottom: 20px;
  width: 50%;
}

.layout--type .type-item span {
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  font-size: 14px;
  color: #6D6E6E;
  border-radius: 4px;
}

.layout--type .type-item span.zh {
  width: 80px;
}

.layout--type .type-item span.en {
  position: relative;
  width: 120px;
}

.layout--type .type-item span.en:hover .icon-delete {
  display: block;
}

.layout--type .type-item .icon-delete {
  display: none;
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  top: -8px;
  background: url("../img/index/icon-delete.png");
  border-radius: 50%;
  cursor: pointer;
}

.layout--type .type-item input {
  padding: 0 5px;
  text-align: center;
  width: 100%;
  height: 100%;
  background: #f4f4f4;
  border: 1px solid #dddddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.layout--type .type-item input:focus {
  background: #fff;
}

/* order */
.tabs-wrap {
  position: relative;
  float: right;
  text-align: right;
  font-size: 0;
  overflow: hidden;
}

.tabs-wrap .tab--item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-left: 2rem;
  padding-bottom: 0.625rem;
  font-size: 1.125rem;
  cursor: pointer;
}

.tabs-wrap .move {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.25rem;
  background: #0084FF;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.tabs-wrap.is--router .tab--item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  max-width: 0;
  width: 0;
  height: 0.25rem;
  background: #0084FF;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all .3s;
  transition: all .3s;
}

.tabs-wrap.is--router .tab--item.active::after,
.tabs-wrap.is--router .tab--item:hover::after {
  max-width: 100%;
  width: 6.25rem;
}