@import "../../res.less";

.answerPanel {
  width: 750px;
  height: 1624px;
  left: 0px;
  top: 0px;
  position: absolute;

  .bg {
    left: 82px;
    top: 406px;
    width: 585px;
    height: 711px;
    position: absolute;
    .sparkBg("answerPanel/answerPanelBg.png");
  }

  .question-title {
    top: 598px;
    left: 105px;
    position: absolute;
    width: 545px;
    height: 120px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 30px;
    color: rgb(40, 25, 25);
    font-weight: bold;
    line-height: 1.2;
  }

  .answer-con {
    width: 492px;
    height: 360px;
    position: absolute;
    top: 740px;
    left: 129px;

    .answer-item {
      width: 492px;
      height: 80px;
      line-height: 80px;
      text-align: center;
      color: rgb(88, 88, 88);
      font-size: 30px;
      font-weight: bold;
      margin-bottom: 6px;
      .lineClamp1();
      .sparkBg("answerPanel/normalBg.png");
      position: relative;
    }

    .error {
      .sparkBg("answerPanel/errorBg.png");
    }

    .correct {
      .sparkBg("answerPanel/correctBg.png");
    }

    .correct-icon {
      display: inline-block;
      position: absolute;
      width: 61px;
      height: 60px;
      right: -20px;
      top: -10px;
      .sparkBg("answerPanel/correctIcon.png");
    }

    .error-icon {
      position: absolute;
      width: 58px;
      height: 54px;
      right: -20px;
      top: -10px;
      display: inline-block;
      .sparkBg("answerPanel/errorIcon.png");
    }
  }

  .close {
    left: 346px;
    top: 1186px;
    width: 58px;
    height: 58px;
    position: absolute;
    .sparkBg("common/close.png");
  }
}