@charset "utf-8";

#paper-question {
  height: 100%;

  .base {
    height: 100%;

    .layout {
      background: #fff;
      height: 100%;
      display: flex;
      flex-direction: row;

      .layout-header {
        height: 60px;
        line-height: 60px;
        margin: 0 50px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0px 4px 14px 0px rgba(189, 199, 215, 0.16);
        text-align: center;
        z-index: 80;

        .left {
          position: absolute;

          .no {
            font-size: 20px;
            display: inline-block;
            color: #303036;
            font-size: 20px;
            margin-right: 25px;
          }

          .title {
            color: #A7A7B7;
            display: inline-block;
            font-size: 20px;

            img {
              margin-top: -3px;
              margin-right: 5px;
            }
          }
        }


        .menu-wrap {
          position: absolute;
          right: 0;
          text-align: left;
          padding: 0 10px;
          white-space: nowrap;

          .menu-content {
            position: absolute;
            background: #fff;
            text-align: left;
            top: 50px;
            right: 10px;
            border: 1px solid #EAEDF2;
            padding: 10px 20px;
            min-width: 150px;

            p {
              line-height: 30px;
              height: 30px;
              text-align: left;
              margin: 0;
            }
          }
        }

        .center {
          position: absolute;
          right: 50%;
          transform: translateX(100%);

          .icon {
            margin-left: 20px;
          }
        }

        .right {
          position: absolute;
          right: 0;

          .b {
            margin-left: 30px;

            .s {
              color: #4299FF;
            }
          }

          .icon {
            margin-left: 10px;
          }
        }
      }
    }

    .layout-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60px;
      line-height: 60px;
      box-shadow: 0px -4px 14px 0px rgba(189, 199, 215, 0.16);

      .left {
        width: 30%;
        display: inline-block;
        padding-left: 50px;
      }

      .right {
        width: 30%;
        display: inline-block;
        text-align: right;
        padding-right: 50px;

        .icon {
          margin-left: 10px;
        }
      }

      .center {
        width: 40%;
        display: inline-block;
        text-align: center;

        .item {
          margin: 0 10px;
        }
      }
    }

    .layout-body {
      background: #fff;
      flex: 1;
      overflow: hidden;
      margin: 60px 0;

      .layout-content {
        height: 100%;
        position: relative;

        .one {
          flex: 1;
          display: flex;
          flex-direction: column;
        }

        .two {
          flex: 1;
          display: flex;
          flex-direction: row;
          overflow: hidden;
          height: 100%;
        }

        .block {
          flex: 1;
        }

        .block-content,
        .block-answer,
        .block-awa {
          padding: 30px 60px;
          color: #303036;
          height: 100%;
          overflow: hidden;
          overflow-y: auto;
        }

        .block-content {
          h2 {
            padding: 65px 0 20px 0px;
            font-size: 20px;
            color: #303036;
          }
        }

        .block-awa {
          background: #EFF3F7;

          h2 {
            font-size: 20px;
            color: #303036;
            margin-top: 37px;
            margin-bottom: 23px;
          }

          .detail {
            .info {
              font-weight: bold;
              font-size: 18px;
              color: #303036;

              span.b {
                margin-right: 80px;

                .s {
                  color: #4299FF;
                }
              }
            }
          }

          .content-awa {
            padding-top: 50px;
            color: #686872;
            font-size: 16px;
          }

          .show-awa {
            font-size: 12px;
            width: 100%;
            height: 100%;
            margin: 50% 0;
            text-align: center;
            line-height: 20px;
            color: #A7A7B7;
          }
        }

        .block-analysis {
          background: #EFF3F7;
          padding: 25px 25px 0 20px;
          display: flex;
          flex-direction: column;

          .block-answer {
            padding: 38px 50px;
          }

          .block {
            background: #fff;
          }

          .detail {
            flex: 1;
            display: flex;
            flex-direction: column;

            .detail-block {
              margin-top: 5px;
              flex: 1;
              padding: 30px 50px;
              overflow: hidden;
              overflow-y: auto;
              font-size: 16px;
              color: #686872;
            }

            .answer-block {
              margin-bottom: 5px;
            }
          }

          .other {
            flex: 1;
            background: #fff;
            padding: 30px 50px;
            overflow: hidden;
            overflow-y: auto;
            font-size: 16px;
            color: #686872;

            .other-answer {
              margin-bottom: 30px;
            }
          }
        }

        .two-analysis {
          position: absolute;
          height: 100%;
          top: 0;
          left: 0;
          width: 50%;
          transition: all 0.3s;
          transform: translateX(200%);
        }

        .two-analysis.show {
          transform: translateX(100%);
        }

        .fixed-analysis {
          height: 110px;
          line-height: 20px;
          position: absolute;
          width: 35px;
          padding: 5px;
          right: 0;
          top: 50%;
          transform: translateY(-50%);
          border: 1px solid #E7E7E7;
          background: #fff;
          z-index: 9;
          color: #787883;
          cursor: pointer;
          text-align: center;
        }
      }
    }

    .modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;

      >.mask {
        background: #000;
        opacity: .2;
        width: 100%;
        height: 100%;
      }

      .body {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        width: 630px;
        color: #686872;
        padding: 20px 30px;

        .title {
          color: #303036;
          font-size: 20px;
          font-weight: 600;
        }

        .desc {
          color: #686872;
          font-size: 16px;
          padding: 20px 0;

          .select-inline {
            margin-bottom: 15px;

            .select {
              display: inline-block;
            }
          }

          .label {
            margin-bottom: 5px;
          }
        }

        .textarea {
          width: 570px;
          height: 80px;
          background: rgba(247, 247, 247, 1);
          margin-bottom: 15px;
          border: none;
          padding: 5px 10px;
        }

        .textarea::placeholder {
          color: #A7A7B7;
        }

        .bottom {
          border-top: 1px solid #E1E1E1;
          padding-top: 10px;
          text-align: right;
        }
      }
    }

    .modal.ask-ok,
    .modal.error-ok {
      .body {
        .content {
          width: 100%;
          padding-top: 20px;
          padding-bottom: 40px;
          color: #686872;
          overflow: hidden;

          .left {
            float: left;
            width: 360px;
            font-size: 18px;

            a {
              padding-top: 30px;
              display: inline-block;
              font-size: 14px;
            }
          }

          .right {
            float: right;
            text-align: right;
            font-size: 12px;
          }
        }

        .confirm {
          text-align: center;
          padding-bottom: 10px;

          .answer-button.lager {
            font-size: 16px;
          }
        }
      }
    }

    .modal.note {
      .body {
        width: 720px;

        .content {
          padding-top: 20px;

          .tabs {
            display: inline-block;
            width: 170px;
            vertical-align: top;
            margin-left: -30px;
            margin-right: 30px;

            .tab {
              padding: 5px 0px 5px 40px;
              line-height: 20px;
              color: #686872;
              margin-bottom: 30px;
              cursor: pointer;
              transition: all 0.3s;
              border-top-right-radius: 25px;
              border-bottom-right-radius: 25px;

              .date {
                font-size: 12px;
              }
            }

            .tab.active,
            .tab:hover {
              color: #fff;
              background: #4299FF;
            }
          }

          .input {
            display: inline-block;

            .textarea {
              width: 490px;
              height: 350px;
              margin-bottom: 20px;
            }
          }
        }
      }
    }
  }
}