.smartnlp-robot-img-views {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999999;
}

.smartnlp-robot-img-views-inner {
  display: table-cell;
  width: 1000px;
  height: 800px;
  text-align: center;
  vertical-align: middle;

  img {
    vertical-align: middle;
  }
}

.smartnlp-robot {
  position: relative;
  top: 150px;
  font-size: 14px;
  width: 940px;
  margin: 0;
  box-shadow: 0 2px 2px #777;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  background-color: #f6f6f6;
  color: #333;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  box-sizing: content-box;

  * {
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    font-weight: 400;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -ms-box-sizing: content-box;
    box-sizing: content-box;
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
  }

  th {
    text-align: inherit;
    text-align: left;
  }

  caption {
    text-align: left;
  }


  img {
    border: 0;
    -ms-interpolation-mode: bicubic;
  }

  iframe {
    display: block;
  }

  ul, ol, li {
    list-style: none;
  }

  hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
  }

  input {
    padding: 4px;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    vertical-align: middle;
    font-weight: 400;
    line-height: normal;

    &:focus {
      outline: 0;
    }
  }

  select {
    padding: 4px;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    vertical-align: middle;
    font-weight: 400;

    &:focus {
      outline: 0;
    }
  }

  textarea {
    padding: 4px;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    overflow: auto;
    vertical-align: top;

    &:focus {
      outline: 0;
    }
  }

  input[type=button] {
    cursor: pointer;
  }

  input[type=reset] {
    cursor: pointer;
  }

  input[type=submit] {
    cursor: pointer;
  }

  button[disabled] {
    cursor: default;
  }

  input[disabled] {
    cursor: default;
  }

  input[type=checkbox] {
    box-sizing: border-box;
    padding: 0;
    background-color: transparent;
  }

  input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    *background-color: transparent;
  }

  article {
    display: block;
  }

  aside {
    display: block;
  }

  details {
    display: block;
  }

  figcaption {
    display: block;
  }

  figure {
    display: block;
  }

  footer {
    display: block;
  }

  header {
    display: block;
  }

  hgroup {
    display: block;
  }

  main {
    display: block;
  }

  nav {
    display: block;
  }

  section {
    display: block;
  }

  summary {
    display: block;
  }

  audio {
    display: inline-block;
    display: inline;
    zoom: 1;

    &:not([controls]) {
      display: none;
      height: 0;
    }
  }

  canvas {
    display: inline-block;
    display: inline;
    zoom: 1;
  }

  video {
    display: inline-block;
    display: inline;
    zoom: 1;
  }

  .chat-block {
    a {
      cursor: pointer;
    }
  }

  ins {
    text-decoration: none;
  }

  h1 {
    color: #333;
  }

  h2 {
    color: #333;
  }

  h3 {
    color: #333;
  }

  h4 {
    color: #333;
  }

  h5 {
    color: #333;
  }

  h6 {
    color: #333;
  }

  .smartnlp-robot-slide-btn {
    cursor: pointer;

    .icon {
      display: block;
      font-size: 24px;
      line-height: 0;
      overflow: hidden;
      vertical-align: middle;
      zoom: 1;
      margin: 0 auto;
      color: #fff;
    }
  }

  .smartnlp-robot-header {
    position: relative;
    color: #04173F;
    display: flex;
    margin: 0 -1px;
    z-index: 1;
    border-bottom: 1px solid #CCD3D9;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: default;
    height: 50px;

    .smartnlp-robot-logo {
      font-size: 18px;
      line-height: 18px;
      display: inline-block;
      flex: 1;
      padding: 16px 20px 16px;

      img {
        height: 32px;
        border: 0;
        vertical-align: middle;
        margin-right: 8px;
      }

      span {
        font-size: 18px;
        color: #04173F;
        line-height: 18px;
      }
    }

    .smartnlp-robot-header-clean-nav {
      display: inline-block;
      padding: 17px 20px 16px 0;

      .header-clean-info {
        font-size: 12px;
        color: #04173F;
        text-align: right;
        margin-left: 8.4px;
      }
    }

    .smartnlp-robot-header-nav {
      display: inline-block;
      //padding: 17px;
      padding: 18px 20px 20px 10px;
      line-height: 18px;
      text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
      .smartnlp-robot-icon {
        color: #818999;
        font-size: 14px;
      }
    }
  }

  .smartnlp-robot-content {
    position: static;

    &:after {
      clear: both;
      content: '';
      display: block;
      height: 0;
      overflow: hidden;
    }
  }

  .smartnlp-robot-fl-area {
    padding-right: 300px;
    height: 530px;
  }

  .smartnlp-robot-chat {
    overflow: visible;
  }

  .smartnlp-robot-assess-bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 98;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.3);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
  }

  .smartnlp-robot-assess {
    position: absolute;
    width: 360px;
    margin-left: -180px;
    margin-top: -100px;
    background: #fff;
    left: 50%;
    z-index: 99;
    top: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

    #smartnlp-robot-star {
      background-repeat: no-repeat;
      //background-image: url(star_bg.png);
      display: block;
      margin: 10px auto;
      vertical-align: middle;
      line-height: 0;
      overflow: hidden;
      width: 200px;
      height: 40px;
      background-position: 0 0;

      > span {
        display: inline-block;
        height: 40px;
        width: 40px;
        cursor: pointer;
      }
    }
  }

  .smartnlp-robot-assess-header {
    background-color: #f90;
    color: #fff;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .smartnlp-robot-assess-content {
    padding: 20px;
    text-align: center;
  }

  .smartnlp-robot-nano {
    display: flex;
    flex-flow: column;
    height: 440px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .smartnlp-robot-pane {
    position: absolute;
    top: 0;
    right: 0;
  }

  .smartnlp-robot-edit {
    position: relative;
    border-top: 1px #CCD3D9 solid;
    background-color: #fff;

    .smartnlp-robot-input {
      //display: flex;
    }
  }

  .smartnlp-robot-textarea {
    //width: 97%;
    width: 364px;
    padding: 0;
    //padding: 8px 10px;
    background-color: transparent;
    resize: none;
    -webkit-appearance: none;
    //border: 1px solid #2196F3;
    font-size: 12px;
    color: #04173F;
    line-height: 14px;
    height: 62px;
    overflow: hidden;

    margin: 14px 0 10px 20px;
    border: none;
    //border-right: none;
    //border-radius: 3px 0 0 3px;
  }

  .smartnlp-robot-file {
    opacity: 0;
    visibility: collapse;
    overflow: hidden;
    position: absolute;
    left: -100px;
    top: -100px;
    width: 0;
    height: 0;
  }

  .smartnlp-robot-photo {
    float: left;
    padding: 3px 5px;
  }

  .smartnlp-robot-btn-pic {
    visibility: collapse;
    display: inline-block;
    height: 16px;
    width: 16px;
    background: url(robot.png) no-repeat -100px -60px;
    cursor: pointer;

    &:hover {
      background-color: #eee;
    }
  }

  .smartnlp-robot-kefu {
    .smartnlp-robot-btn-pic {
      visibility: visible;
    }
  }

  .smartnlp-robot-btn-send {
    //border-radius: 4px;
    cursor: pointer;
    color: #fff;
    float: right;
    display: flex;
    align-items: center;

    button {
      float: right;
      width: 60px;
      color: #FFF;
      margin-right: 14px;
      margin-bottom: 0;
      font-size: 14px;
      border-radius: 4px;
      height: 30px;
      border: solid 1px #2196F3;
    }
  }

  .smartnlp-robot-fr-content {
    height: 333px;
    overflow: hidden;
  }

  .smartnlp-robot-fr-area {
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 530px;
    border-left: 1px #dcdee4 solid;
    z-index: 1;
    margin-left: -24px;
    border-radius: 0 0 5px 0;
    overflow: hidden;
  }

  .smartnlp-robot-fr-nav {
    height: 40px;
    padding: 10px 10px 0 10px;
    border-bottom: 1px #dcdee4 solid;

    a {
      display: block;
      line-height: 40px;
      padding: 0 30px;
      float: left;
      color: #777;
    }

    a.smartnlp-robot-on {
      border-right: 1px #dcdee4 solid;
      border-left: 1px #dcdee4 solid;
      margin-left: -3px;
      background-color: #fff;
      border-top: 4px #f90 solid;
      height: 37px;
      line-height: 36px;
    }
  }

/*  .smartnlp-robot-slide {
    display: none;
  }*/

  .smartnlp-robot-fr-footer {
    padding: 5px 10px;
    width: 260px;
    height: 140px;
    text-align: center;
    position: relative;

    li {
      width: 120px;
      float: left;
      height: 140px;
      font-size: 12px;
    }

    li.smartnlp-robot-code {
      float: right;
      margin-left: -100px;
    }

    i {
      display: block;
      height: 80px;
      width: 80px;
      margin: 20px 20px 0 20px;
      background-size: 100% 100%;
      background-repeat: no-repeat;
    }

    .smartnlp-robot-big-code {
      padding: 20px;
      background-color: #fff;
      border: 1px #ddd solid;
      position: absolute;
      width: 80px;
      height: 80px;
      bottom: 24px;
      right: 10px;
      display: none;

      img {
        width: 100%;
        height: 100%;
      }
    }

    span {
      line-height: 28px;
    }
  }

  .smartnlp-robot-chat-t {
    text-align: center;
    line-height: 100%;
    padding: 8px 0;

    span {
      font-size: 12px;
      display: inline-block;
      padding: 5px 10px;
      background-color: #ccc;
      color: #fff;
      border-radius: 3px;
    }
  }

  .smartnlp-robot-copy {
    padding: 0 8px;
    height: 26px;
    line-height: 26px;
  }

  a.smartnlp-robot-clink {
    line-height: 24px;
    padding-left: 6px;
    font-size: 12px;
    color: #999;
    float: left;
  }

  a.smartnlp-robot-art {
    color: #59c88b;
    float: right;
  }

  .smartnlp-robot-fr-panel {
    width: 600px;

    ul {
      float: left;
      width: 300px;

      li {
        padding: 0 25px 0 10px;
        height: 36px;
        line-height: 36px;
        border-bottom: 1px #eee solid;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;

        &:after {
          display: block;
          content: '>';
          color: #ddd;
          position: absolute;
          right: 10px;
          top: 0;
          font-family: 'Georgia';
        }
      }
    }

    ol {
      float: left;
      width: 280px;
      padding: 10px 0 10px 15px;
      margin-right: -20px;

      li {
        display: inline-block;
        width: 60px;
        height: 80px;
        margin: 10px 15px;
        text-align: center;
        zoom: 1;
      }

      i {
        display: inline-block;
        height: 60px;
        width: 60px;
        border-radius: 100%;
      }
    }
  }

  .smartnlp-robot-htmcont {
    line-height: 150%;
    overflow: hidden;
    z-index: 9;
    position: relative;
  }

  .smartnlp-robot-sug-item {
    color: #6cf;
    cursor: pointer;
    text-decoration: underline;
  }

  .smartnlp-robot-sug-like {
    text-align: right;
    padding-top: 5px;
    margin-top: 5px;
    border-top: 1px #eee solid;
  }

  .smartnlp-robot-sug-prompt {
    font-size: 12px;
    color: #6d6a6a;
  }

  .smartnlp-robot-sug-btn-group {
    display: inline-block;
    white-space: normal;
  }

  .smartnlp-robot-sug-btn {
    font-size: 12px;
    margin-left: 5px;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
  }

  .smartnlp-robot-sug-btn-no {
    background-color: #ddd;
    color: #333;

    &:hover {
      background-color: #d8d8d8;
      color: #333;
    }
  }

  .smartnlp-robot-sug-btn-ok {
    background-color: #2d81f2;
    color: #fff;

    &:hover {
      background-color: #2578e7;
      color: #fff;
    }
  }

  span.smartnlp-robot-sug-item {
    display: inline-block;
  }
}

.smartnlp-robot.smartnlp-robot-mini {
  top: 48px;
  left: inherit;
  right: -294px;
  height: calc(100% - 48px);
  width: 400px;
  //margin-right: 10px;
  background: #fff;
  //border-radius: 4px;
  border-radius: 0;
  box-shadow: 0 2px 16px 0 rgba(84, 116, 142, 0.33);
  position: fixed;

  .smartnlp-robot-htmcont {
    max-width: 200px;
  }

  .smartnlp-robot-assess {
    width: 260px;
    margin-left: -130px;
  }

  .smartnlp-robot-fl-area {
    padding-right: 0;
    float: none;
    height: inherit;
  }

  .smartnlp-robot-help {
    padding: 5px 5px 5px 20px;
    background: #F0F3F5;
    font-size: 12px;
  }

  .smartnlp-robot-fr-area {
    display: none;
  }

  .smartnlp-robot-sub {
    position: static;
  }

  .smartnlp-robot-clink {
    display: none;
  }

  .smartnlp-robot-msg-img {
    cursor: pointer;
    max-width: 160px;
  }

  .smartnlp-robot-bar {
    position: absolute;
    top: 45%;
    left: -36px;
    height: 36px;
    width: 36px;
    margin-top: -18px;
    background: #2196F3;
    text-align: center;

    a {
      &:before {
        font-family: 'iconfont';
        content: '\3432';
        color: #fff;
        font-size: 24px;
        line-height: 36px;
      }
    }
  }

  .smartnlp-robot-slide {
    display: block;
    position: absolute;
    z-index: 99999;
    top: 40%;
    //margin-top: -300px;
    background: #2196F3;
    box-shadow: 0 4px 15px 0 rgba(63, 142, 204, 0.69);
    left: -14px;
    transition: all 0.1s ease-in-out;

    &:hover{
     left: -50px;
    }

    > li {
      padding: 15px;
      background: #2196F3;
      text-align: center;
      border-radius: 0 0 4px 4px;
    }

    > li.smartnlp-robot-slide-feed {
      background-color: #20a56e;

      > a {
        > span {
          background-position: 0 -20px;
        }
      }
    }
  }
}



