.question-input-item_wrapper {
  border-radius: 2px;
  padding: 16px;
  position: relative;
  margin-bottom: 35px;

  .editor-fill-box_single {
    border-radius: 4px;
    padding: 4px 10px;
    border: 1px solid #e8e8e8;
    .fill-line {
      padding: 0 10px;
      border-bottom: 1px solid;
    }
  }
  .editor-fill-box_single:focus {
    border: 1px solid #e8e8e8;
    outline: none;
  }
  .fill-info {
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    color: #999999;
    margin-top: 8px;
    .fill-info_icon {
      color: #5289fa;
      font-size: 14px;
      padding-left: 9px;
      cursor: pointer;
    }
  }

  &__active {
    border-color: #ff8534;
  }

  .ant-form-item-explain,
  .ant-form-item-extra {
    font-size: 12px;
    width: 78px;
    min-height: 0;
  }

  .question-option_control {
    margin: 40px 0 !important;
  }

  .question-option_control > .ant-form-item-control {
    margin-top: 27px;
  }

  .question-answer_control {
    margin: 40px 0 24px !important;
    .answer-tip {
      font-size: 14px;
      color: #cccccc;
    }
  }
  .question-item_question-content {
    position: relative;
    margin: 12px 12px 12px 0;
    .picture-box {
      width: 88px;
      height: 88px;
      border-radius: 4px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #e8e8e8;
    }
    .audio-box {
      box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
      padding: 10px 20px;
    }
    .img-box {
      max-width: 88px;
      max-height: 88px;
      border-radius: 4px;
    }

    .video-box {
      width: 200px;
      height: calc(200px * 9 / 16);
      position: relative;
      border-radius: 4px;
      overflow: hidden;
      background-color: #000;

      &_content {
        max-width: 100%;
        max-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      &_btn {
        width: 32px;
        height: 32px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -16px;
        margin-left: -16px;
      }
    }

    .icon_arrow {
      position: absolute;
      top: -12px;
      right: -7px;
      color: #bfbfbf;
      cursor: pointer;
      font-size: 16px;
    }
    .icon_sider {
      color: #bfbfbf;
      cursor: pointer;
      font-size: 16px;
      padding: 12px;
    }
  }

  .question-item_control {
    position: absolute;
    top: 8px;
    right: 0;

    .icon {
      font-size: 18px;
      color: rgba(0, 0, 0, 0.4);
      cursor: pointer;

      &:hover {
        color: #ff8534;
      }
    }
  }

  .question-item_label {
    font-size: 14px;
    color: #333333;
    line-height: 33px;
    flex-shrink: 0;
    align-self: stretch;
  }

  .question-item_number {
    display: inline-block;
    background: rgba(216, 216, 216, 0.3);
    border-radius: 2px;
    font-size: 14px;
    color: #333333;
    line-height: 20px;
    padding: 4px 8px;
  }

  .question-item_score {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 20px;
  }

  .question-item_main {
    display: flex;
    align-items: center;
  }

  .question-item_main__content {
    flex: 1;
    margin-right: 187px;
  }

  // .question-item_options {
  //   display: flex;
  //   align-items: center;
  //   padding-bottom: 15px;
  // }

  .question-item_options__list {
    flex: 1;
    position: relative;

    &::before {
      content: attr(data-label);
      position: absolute;
      left: 15px;
      transform: translateY(-100%);
      font-size: 12px;
      color: #666666;
      line-height: 22px;
    }

    .ant-radio-wrapper {
      margin-right: 0;
    }
  }

  .question-item_true-false {
    &::before {
      transform: translateY(0);
      top: 10px;
    }
  }

  .question-item_options__content {
    display: flex;
    align-items: center;
  }

  .question-item_options__trur-false {
    display: flex;
    align-items: center;
    height: 33px;
  }

  .question-item_options__sort {
    flex-shrink: 0;
    align-self: stretch;
    line-height: 32px;
  }

  .question-item_options__input {
    flex: 1;
  }

  .question-item_options__extra {
    flex-shrink: 0;
    padding: 0 20px 0 3px;
    width: 108px;
    line-height: 33px;
    align-self: stretch;
    .option-operate_item__icon:hover {
      color: #ffb714;
    }
    .icon {
      color: #bfbfbf;
      margin-left: 10px;
      cursor: pointer;
      font-size: 16px;
    }
  }

  .question-item_options__setting {
    flex-shrink: 0;
    width: 80px;
    height: 32px;
    text-align: center;
    align-self: stretch;
  }

  .question-item_options__add {
    height: 44px;
    border-radius: 4px;
    border: 1px dashed #e8e8e8;
    font-size: 14px;
    color: #5289fa;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    margin-right: 109px;
    margin-left: 106px;
  }

  .question-item_other {
    border-top: 1px solid #eeeeee;
    padding-top: 15px;
  }

  .question-item_setting-score {
    display: flex;
    align-items: center;
  }

  .question-item_analysis {
    display: flex;
    align-items: center;
  }

  .question-item_analysis__content {
    flex: 1;
    .question-desc-box {
      margin-top: 24px;
      .desc-picture-box {
        margin-bottom: 16px;
        .picture-box {
          position: relative;
          display: inline-flex;
          width: 88px;
          height: 88px;
          border: 1px solid #e8e8e8;
          margin-right: 12px;
          img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 4px;
            vertical-align: middle;
            width: auto;
            height: auto;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
          .icon_arrow {
            position: absolute;
            top: -12px;
            right: -8px;
            color: #bfbfbf;
            cursor: pointer;
            font-size: 16px;
          }
        }
      }
      .desc-audio-box {
        margin-bottom: 28px;
        .audio-box {
          position: relative;
          box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
          padding: 10px 20px;
          width: 320px;
          margin-bottom: 12px;
          .icon_sider {
            color: #bfbfbf;
            cursor: pointer;
            font-size: 16px;
            padding: 12px;
            position: absolute;
            top: 0px;
            left: 320px;
          }
        }
      }
      .desc-video-box {
        .video-box {
          position: relative;
          display: inline-block;
          width: 208px;
          height: calc(208px * 9 / 16);
          position: relative;
          background-color: #000;
          margin: 0px 12px 12px 0;
          &_content {
            max-width: 100%;
            max-height: 100%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
          &_btn {
            width: 32px;
            height: 32px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -16px;
            margin-left: -16px;
          }
          .icon_arrow {
            position: absolute;
            top: -12px;
            right: -8px;
            color: #bfbfbf;
            cursor: pointer;
            font-size: 16px;
          }
        }
      }
    }
  }

  .gap-answer-box {
    display: inline-flex;
    width: 100%;
    padding: 6px 0;
    .gap-answer-label {
      margin-right: 12px;
      white-space: nowrap;
    }
    .gap-answer-content {
      background: #ffffff;
      border-radius: 4px;
      border: 1px solid #e8e8e8;
      padding: 3px 12px;
      width: calc(100% - 50px);
      word-wrap: break-word;
      word-break: break-all;
      overflow: hidden;
      margin-top: -5px;
      .ant-tag {
        border: none;
        font-size: 14px;
        line-height: 24px;
        vertical-align: middle;
      }
      .gap-tag-input {
        margin-right: 5px;
        border: 1px solid rgb(165, 165, 165);
      }
      .ant-tag-close-icon {
        font-size: 14px;
      }
      ::-webkit-input-placeholder {
        /* WebKit browsers */
        color: #ff4f4f;
      }

      ::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: #ff4f4f;
      }

      :-ms-input-placeholder {
        /* Internet Explorer 10+ */
        color: #ff4f4f;
      }
      .ant-input-affix-wrapper {
        border: none;
        background: #f7f8f9;
        :hover {
          border-color: none;
        }
        width: 78px;
        margin-right: 14px;
        .ant-input {
          background: #f7f8f9;
        }
        .ant-input:not(:last-child) {
          padding-right: 0px !important;
        }
        .ant-input:focus {
          border: none !important;
        }
      }
    }
  }
}

.question_skeleton {
  background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  background-size: 400% 100%;
  animation: question-editor_skeleton__loading 1.4s ease infinite;
}

.question_skeleton__editor {
  min-height: 33px;
  max-height: 140px;
  overflow: hidden;
}

.question_skeleton__img {
  width: 88px;
  height: 88px;
}

.question_skeleton__voice {
  height: 48px;
  width: 280px;
}
.question_skeleton__video {
  width: 100%;
  height: 100%;
}
@keyframes question-editor_skeleton__loading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}
