/*--    info    --*/
.info-container {
  height: 100%;
  // float: left;
  background-color: #fff;
  z-index: 50;
  position: relative;
  //width: 100%;
  .info-sidebar {
    min-height: 50px;
    float: left;
    vertical-align: top;
    width: 180px;
    top: -1px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
    display: inline-block;
    transition: width .3s ease;
    &.close {
      width: 0px;
      overflow: visible;
    }
  }

  .main-grid {
    position: relative;
    height: 100%;
    margin: 0;
    border-left: 1px solid #dfdfdf;
    overflow: hidden;
    .locked-layout {
      height: 63px;
      border-bottom: 1px solid #dfdfdf;
      width: 100%;
      top: -1px;
      //position: fixed;
      z-index: 50;
      //top: 0px;
    }
    .info-header {
      padding: 12px 20px 5px 20px;
      background-color: #fff;
      .detail-top {
        .header-spread {
          display: flex;
          justify-content: space-between;
          .biz-info {
            align-items: flex-start;
            flex: 1 1 0;
            .header-primary {
              flex: 1;
              display: flex;
              min-width: 0;
              .header-col {
                flex: 0 1 auto;
                .header-title {
                  height: 44px;
                  min-width: 0;
                  font-size: 24px;
                  line-height: 44px;
                  span {
                    font-size: 22px;
                    font-weight: 400;
                    line-height: 40px;
                    display: inline-block;
                    overflow: hidden;
                    max-width: 460px;
                    height: 40px;
                    padding-left: 50px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    color: #333940;
                  }
                  .header-icon {
                    background: url(../../../asset/header_entity_icos.png) no-repeat;
                  }
                  .header-ico {
                    font-size: 44px;
                    position: relative;
                    top: -8px;
                  }
                  .header-desc {
                    padding-left: 0!important;
                  }
                }
                .business-info {
                  font-size: 12px;
                  line-height: 30px;
                  display: inline-block;
                  min-width: 97px;
                  height: 30px;
                  margin-top: 5px;
                  margin-left: 20px;
                  padding: 0 12px;
                  text-align: center;
                  text-decoration: none;
                  color: #475059;
                  border: 1px solid #a3b8cc;
                  border-radius: 4px;
                  background-color: #fff;
                  flex-wrap: nowrap;
                  i {
                    display: inline-block;
                    float: left;
                    width: 18px;
                    height: 18px;
                    margin: 6px 5px 0 0;
                    background: url(../../../asset/customer_msg_fill.png) -4px -205px no-repeat;
                  }

                  &:hover {
                    color: #fff;
                    border: 1px solid #00aaef;
                    background-color: #00aaef;
                    i {
                      background: url(../../../asset/customer_msg_fill.png) -4px -220px no-repeat;
                    }
                  }
                }
                .group-talk {
                  display: inline-block;
                  height: 30px;
                  margin-top: 5px;
                  margin-left: 20px;
                  color: #475059;
                  border: 1px solid #a3b8cc;
                  border-radius: 4px;
                  background-color: #fff;
                  i {
                    height: 14px;
                    margin: 8px 5px 0 0;
                    width: 16px;
                    display: inline-block;
                    float: left;
                    background: url(../../../asset/group_talk.png) no-repeat;
                  }
                  min-width: 85px;
                  flex-wrap: nowrap;
                  font-size: 12px;
                  line-height: 30px;
                  padding: 0 12px;
                  text-align: center;
                  text-decoration: none;
                  &:hover {
                    color: #fff;
                    border: 1px solid #00aaef;
                    background-color: #00aaef;
                    i {
                      background: url(../../../asset/group_talkh.png) no-repeat;
                      background-size: contain;
                    }
                  }
                }
              }
            }
          }
          .header-menu {
            flex: 0 0 auto;
            .button-bar {
              position: relative;
              .button-bar-list {
                position: relative;
                display: flex;
                margin: 5px 0 0;
                padding: 0;
                list-style: none;
                box-sizing: border-box;
                li {
                  .common-btn {
                    a {
                      color: #00aaef;
                    }
                  }
                  border: 1px solid #00aaef!important;
                  // background-color: #00aaef;
                  i {
                    color: #fff;
                  }
                  a {
                    text-decoration: none;
                    color: #fff;
                    outline: 0;
                    margin-left: 0px;
                    margin-right: 0px;
                  }
                  .common-btn {
                    padding: 10px 15px;
                  }
                  position: relative;
                  line-height: 30px;
                  height: 30px;
                  text-decoration: none;
                  font-size: 12px;
                  display: inline-block;
                  overflow: hidden;
                  box-sizing: content-box;
                  max-width: 370px;
                  vertical-align: middle;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  border-right: none;
                  &:first-child {
                    border-radius: 4px 0 0 4px;
                  }
                  &:last-child {
                    margin-right: 0;
                    position: relative;
                    border-right: 1px solid #a3b8cc!important;
                    border-radius: 0 4px 4px 0;
                  }
                }
              }
            }
          }
        }
        .header-detail {
          overflow: hidden;
          margin: 0 0 0 30px;
          display: flex;
          position: relative;
          transition: all .9s ease;
          .summary-field {
            margin: 0 0 10px 0;
            font-size: .875rem;
            line-height: 1.5;
            display: flex;
            width: 100%;
            text-align: left;
            color: #16325c;
            flex-wrap: wrap;
            .summary-col {
              border-right: 10px solid #fff;
              background-color: #fff;
              box-sizing: border-box;
              .summary-col-item {
                margin: 10px 0 -3px 20px;
                .summary-col-label {
                  margin-top: -3px;
                  font-size: 12px;
                  width: 100%;
                  margin-bottom: 5px;
                  text-transform: uppercase;
                  color: #8fa1b2;
                }
                .summary-col-value {
                  font-size: 14px;
                  color: #475059;
                  display: flex;
                  flex-direction: row;
                  padding-right: 1rem;
                  white-space: nowrap;
                }
              }
            }
          }
        }
      }
    }

    .main_grid_middlle {
      position: relative;
      margin: 0;
      height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
      background-color: #fff;
      .info-wrapper-margin {
        // margin: 10px 0px 0 10px;
        height: 100%;
      }
    }
  }
  .mx-list {
    height: 100%;
  }
}

.menu-ul-li-span() {
  ul {
    list-style: none;
    li {
      line-height: 42px;
      // height: 42px;
      padding-left: 0;
      //margin-left: -20px;
      //text-indent: 35px;
      cursor: pointer;
      border: 1px solid transparent;
      a {
        color: #667b8f;
        max-width: 136px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-wrap: break-word;
        display: inherit;
        outline: 0;
      }
      span {
        font-size: 13px;
      }
    }
  }
}


/*--     info  side bar     --*/
.info-side-bar {
  padding-top: 27px;
  overflow: auto;
  max-height: 549px;

  .menu-ul-li-span;

  .first-menu-item {
    a {
      color: #3d4b66;
    }
    .accordion-first-item {
      line-height: 42px;
      //margin-left: -20px;
      //text-indent: 35px;
      cursor: pointer;
      border: 1px solid transparent;
      padding-left: 24px;
      font-size: 13px;
    }
  }

  .accordion-first-item {
    font-size: 15px;
    color: #3d4b66;
    margin: 6px 0;
    overflow: hidden;
    display: block;
    padding-left: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;

    .item-num {
      text-indent: 0;
      color: #FFF;
      font-size: 12px;
      width: 16px;
      height: 16px;
      margin: auto 0;
      border-radius: 8px; position: absolute;
      top: 0;
      bottom: 0;
      right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fa7252;
    }

    .info-completeness-num {
      text-indent: 0;
      color: #667b8f;
      font-size: 6px;
      margin: auto 0;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 10px;
    }

    .info-completeness-progress {
      position: absolute;
      bottom: 0;
      right: 10px;
    }
  }
  .first {
    ul {
      padding-left: 20px;
    }
    .menu-ul-li-span;

    .second {
      padding-left: 15px;
      ul {
        padding-left: 0;
      }
    }
  }
  i {
    display: inline-block;
  }

  .active {
    color: #00aaef !important;
    a {
      color: #00aaef !important;
    }
  }
  i {
    background: url('../../../asset/analysis_according_arrow_2.png') 0 -28px no-repeat;
    width: 4px;
    height: 8px;
    margin: 7px 9px 0 0;
  }
  .selected {
    background: url('../../../asset/analysis_according_arrow_2.png') 0 -8px no-repeat;
    width: 6px;
    height: 6px;
    margin: 7px 7px 0 0;
  }
}

.info-title-bar-wrapper {
  height: 54px;
  background-color: #363d4d;
  .info-title-bar {
    //width: 80%;
    margin: 0 60px;
    height: 100%;
    text-align: right;
    .title-desc {
      text-align: left;
      overflow: hidden;
      width: 50%;
      text-overflow: ellipsis;
      white-space: nowrap;
      float: left;
      color: #fff;
      letter-spacing: 2px;
      line-height: 52px;
      /* font-weight: 600; */
      font-size: 20px;
    }
    .btn-list {
      height: 100%;
      display: flex;
      padding-right: 10px;
      padding-left: 5px;
      flex-direction: row-reverse;
      align-items: center;
      .common-btn {
        padding-left: 5px;
        padding-right: 5px;
        border: 1px solid #24b283;
        color: #fff;
        background-color: #26bf8c;
        border-radius: 3px;
        a {
          color: #fff;
        }
      }

      .info-completeness-global {
        width: 110px;
        height: 100%;
        background-color: #47515b;
        margin-right: 5px;
        text-align: left;
        padding: 8px;
        font-size: 12px;
      }
    }
    .title-close-btn {
      display: inline-block;
      color: #fff;
      padding-top: 5px;
      i {
        cursor: pointer;
        font-size: 24px;
      }
    }
  }
}

.sticky {
  position: fixed;
  top: 0;
}
.sticky-main-content {
  position: fixed;
  top: 0;
  width: calc(~'100% - 300px');
  border-bottom: 2px solid rgb(0, 170, 239);
  z-index: 500;
}

.main-sticky-wrapper {
  transition: width .3s ease;
}

.side-menu-close .sticky-main-content {
  width: 80%;
}

.info-sidebar-sticky-wrapper {
  width: 180px;
  &.close {
    z-index: 1;
    width: 0px;
  }
}

.side-menu-arrow-wrapper {
  position: absolute;
  right: 0px;
  top: 200px;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  &.close {
    right: -14px;
    .side-menu-arrow {
      transform: rotate(0deg);
    }
    transition: right .1s ease;
  }
  &:hover {
    .side-menu-arrow {
      border-left: 19px solid #D9DEE4;
    }
    &.close {
      right: -20px;
      transition: right .2s ease;
    }
  }
  .side-menu-arrow {
    transition: right .1s ease;
    width: 0px;
    height: 45px;
    border-bottom: 9px solid transparent;
    border-left: 13px solid #D9DEE4;
    border-top: 9px solid transparent;
    i {
      margin-left: -19px;
    }
    transform: rotate(180deg);
    transition: border-left .1s ease;
  }
}

.info-sidebar-wrapper {
  position: relative;
  min-height: 250px; // keep arrow top less than min-height
  overflow: visible;
}

.info-wrapper {
  .create-entity-btn, .create-entity-more {
    background-color: #00aaef;
  }
  .create-entity-btn {
    border-right: 1px solid #dedede;
  }
}
