@import "color.less";
//編序教材預覽區
.preview-mission {
  .askBtn {
    position: fixed;
    right: 20px;
    bottom: 30px;
  }

  @media screen and (min-width: 1366px) {
    .askBtnfullscreen {
      position: fixed;
      right: 8.8%;
      bottom: 3.4%;
      background-color: rgb(100, 174, 22);
      color: white;

      line-height: 20px;
    }
  }

  .preview-area {
    text-align: left;
    width: 100%;
    height: 560px;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: rgb(241, 241, 241);
    //border: 1px solid rgba(128, 128, 128, 0.342);
    border-radius: 4px;
    .title {
      position: relative;
      color: rgb(66, 66, 66);
      font-size: 10pt;
      margin: 20px;
    }
    .image {
      text-align: center;
      display: inline;
    }
    //*隨堂考測驗按鈕*/
    .checkAnswer {
      margin-top: 20px;
      text-align: left !important;
    }
    .testBtn {
      display: inline-block;
      margin: 10px;

      width: 22%;
      @media screen and (max-width: 767px) {
        width: 45%;
      }
      vertical-align: top;
      span {
        position: relative;
        z-index: 2;

        font-weight: bolder;
      }
      &:hover {
        .testbg {
          cursor: pointer;
          background-color: rgb(36, 184, 128);
          span {
            color: white;
          }
        }
      }

      input[type="checkbox"],
      input[type="radio"] {
        visibility: hidden;
        margin-left: -10px;

        &:checked {
          ~ .testbg {
            background-color: rgb(36, 184, 128) !important;
            > span {
              color: #fff;
              font-weight: bolder;
            }
          }
        }
      }
    }

    .testbg {
      background-color: #fff;
      position: relative;
      height: 200px;
      padding: 10px;
      z-index: 1;
      border-radius: 4px;
      border: 1px solid rgb(197, 197, 197);
    }
    .checkImg {
      max-height: 140px;
      width: 100%;
      border-radius: 0px;
      margin-top: 2px;
    }
    .submitAnsBtn {
      color: white;
      background-color: rgb(28, 151, 104);
      cursor: pointer;
      margin-left: 10px;
      height: 30px;
      width: 10%;
      line-height: 30px;
      text-align: center;
      border-radius: 4px;
      position: relative;
      float: right;
      top: 110%;
      right: 0px;
      &:hover {
        background-color: rgb(17, 133, 88);
      }
    }

    /**隨堂考測驗按鈕結束 */
    /*答題結果*/
    .yourAnsResult {
      margin-bottom: 40px;
      text-align: center;
      font-size: 16px;
    }
    .yourAnsResultIcon {
      height: 40px;
      width: 40px;
      margin-top: 5px;
    }
    .ansExplain {
      color: rgb(78, 78, 78);
      font-weight: 900;
      line-height: 24px;
      list-style: none;
      margin-left: 2.75%;
    }
    .ansExplain .analysis {
      color: rgb(20, 114, 199);
    }
    .ansExplain .myAns {
      margin-left: 10px;
      font-weight: 900;
    }
    .ansExplain li {
      margin-left: 20px;
      margin-top: 5px;
    }
    .ansExplain .TitleRec1 {
      position: relative;
      top: 4px;
      width: 10px;
      height: 16px;
      margin-right: 10px;
      background-color: rgb(20, 114, 199);
      float: left;
    }

    .flyIn-enter-active {
      animation: bounce-in 0.5s;
    }

    @keyframes bounce-in {
      0% {
        transform: scale(0);
      }
      50% {
        transform: scale(1.2);
      }
      100% {
        transform: scale(1);
      }
    }

    @keyframes fade {
      0% {
        opacity: 0;
      }
      50% {
        opacity: 0.8;
      }
      100% {
        opacity: 1;
      }
    }
    .rightAns {
      color: rgb(20, 114, 199);
    }
    .wrongAns {
      color: rgb(199, 71, 20);
    }
    .clickbutnoChoosehint {
      margin-top: 7px;
      margin-right: 2.7%;
      text-align: right;
      position: relative;
      color: red;
      font-weight: 900;
    }
  }
  .preview-video {
    margin: 0;
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 5px;
  }
  //跳題鎖定畫面
  .lockContent {
    text-align: center;

    margin: 15%;
    color: white;
  }
  .lockContentBg {
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
  }
  .lockIcon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  /*步驟條控件 */
  .step-btn {
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 26px;
    width: 30px;
    height: 30px;
    color: rgb(124, 124, 124);
    border-radius: 50%;
    border: 2px solid rgb(124, 124, 124);

    cursor: pointer;
  }
  .step-selected {
    border: 2px solid @primary;
  }
  .step-finished {
    background-color: @secondary;
    border: transparent;
    color: blanchedalmond;
  }
  .step-finished .step-selected {
    border: 2px solid @primary;
  }

  .step-text {
    white-space: nowrap;
    position: relative;
    margin-left: 6px;
    top: 0px;
    color: rgb(124, 124, 124);
  }
  .step-selected + .step-text {
    color: #3d3d3d !important;
    font-weight: 900;
  }
  .step-finished .isDone-Icon {
    color: blanchedalmond;
    position: relative;
    padding-top: 3px !important;
  }

  .step-line {
    position: relative;
    height: 50px;
    border-left: 3px solid rgb(194, 194, 194);

    margin-left: 14px;
  }
  .step-line-link {
    border-left: 3px solid @primary;
    transition: 0.5s;
  }
}
/*小屏幕步驟條控件 */
.step-btn-smallscreen {
  .step-btn-group {
    display: inline-block;
    margin-right: 30px;
    position: relative;
  }
  position: relative;
  margin-bottom: 25px;
  .step-text-smallscreen {
    font-weight: 900;
    margin-top: 2px;
    color: #858585 !important;
  }
  .step-line-smallscreen {
    border-bottom: 3px solid rgb(194, 194, 194);
    top: -40px;
    left: 30px;
    width: 100px;

    position: relative;
  }
  .step-line-link-smallscreen {
    border-bottom: 3px solid @primary;
    transition: 0.5s;
  }
  .step-selected + .step-text-smallscreen {
    color: #3d3d3d !important;
    font-weight: 900;
  }
}

@media screen and (max-width: 1733px) {
  .step-text {
    left: -6px;
    line-height: 28px;
  }
  .eventContentArea-Span .eventContentArea-view {
    .step-text {
      left: 16px !important;
      line-height: 24px;
    }
  }
}
@media screen and (max-width: 1366px) {
  .preview-area {
    height: 450px !important;
  }
}
@media screen and (max-width: 1280px) {
  .preview-area {
    height: 415px !important;
    margin-top: -10px;
  }
}
