.reportViewWrapper {
  height: 100%;
  display: flex;
  flex-direction: column;

  .wea-new-top-content {
    flex: 1;

    .leftTabWrapper {
      background: #FFF;
      height: 100%;
      overflow-y: auto;

      .searchArea {
        width: 100%;
        height: 49px;
        line-height: 49px;
        padding: 0 6px;

        .wea-input-focus {
          width: 100%;
        }
      }

      .ant-menu {
        border-right-color: transparent !important;

        .ant-menu-item, .ant-menu-item {
          border-left: 4px solid transparent;
          border-right: none;
        }

        .ant-menu-item-selected, .ant-menu-selected {
          border-left: 4px solid #2db7f5;
          background: #f5f5f5;
          border-right: none;
        }

        .ant-menu-item-active, .ant-menu-item:hover, .ant-menu-submenu-active, .ant-menu-submenu-title:hover {
          background: #f5f5f5;
        }
      }
    }

    .rightLayout {
      display: flex;
      flex-direction: column;
      height: 100%;

      .layoutHeader {
        height: 50px;

        .layoutRow {
          height: 100%;
          display: flex;
          align-content: center;
          padding: 8px 16px;
          background-color: #f9f9f9;
          border-bottom: 1px solid #e5e5e5;

          .layoutCol {
            flex: 1;
            height: 100%;
            display: flex;
            align-items: center;

            .rightColTitle {
              height: 100%;
              display: flex;
              align-items: center;
              white-space: nowrap;

              i.icon-coms02-currency, i.icon-coms-export {
                font-size: 16px;
                color: #2db7f5;
                cursor: pointer;
              }

              i.icon-coms02-currency {
                margin: 0 10px;
              }

              .dimension {
                display: flex;
                align-items: center;

                .wea-select {
                  width: 150px;
                  margin-left: 10px;
                }
              }

              .iconWrapper {
                display: flex;
                align-items: center;
              }
            }
          }

          .layoutColRight {
            justify-content: flex-end;
          }
        }
      }

      .layoutContent {
        flex: 1;
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 100%;

        .layoutBox {
          flex: 1;
          padding: 16px;

          .ant-spin-nested-loading, .ant-spin-container {
            height: 100%;

            .chart {
              width: 100%;
              height: 100%;
            }
          }

          .chartsEmptyWrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 16px;

            & > span:first-child {
              display: inline-block;
              text-align: center;

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

            & > span:nth-child(2) {
              font-size: 16px;
              color: #666;
              font-weight: 400;
              margin-bottom: 8px;
            }

            & > span:nth-child(3) {
              width: 100%;
              font-size: 12px;
              color: #999;
              text-align: center;
            }
          }
        }

        .layoutSide {
          position: relative;
          transition: width .3s cubic-bezier(.645, .045, .355, 1), height .3s cubic-bezier(.645, .045, .355, 1);
          min-height: 1px;

          .sideBox {
            position: relative;
            height: 100%;
            width: 100%;

            .sideMain {
              width: 100%;

              .toll-bar-container {
                margin-top: 16px;
                background-color: #fff;
                border: 1px solid #e5e5e5;
                height: 180px;
                display: flex;
                flex-direction: column;
                justify-content: space-around;

                i {
                  font-size: 16px;
                  color: #2db7f5 !important;
                  cursor: pointer;
                }
              }
            }

            .show-btn-right {
              position: absolute;
              cursor: pointer;
              z-index: 100;
              top: 60px;
              left: -17px;
              transform: rotate(180deg);
            }
          }
        }
      }
    }
  }
}

//统计数据范围及规则设置
.microSlideWrapper {
  z-index: 999;

  .wea-form-item-wrapper {
    display: flex !important;

    .wea-browser {
      width: 100%;
    }
  }

  .wea-form-item .wea-form-item-wrapper .wea-field-readonly {
    white-space: pre-wrap !important;
  }

  .wea-slide-modal-title {
    height: auto !important;
    line-height: normal !important;
  }

  .titleDialog {
    display: flex;
    padding: 10px 16px 10px 0;
    position: relative;
    background-color: #f6f6f6;
    border-bottom: 1px solid #e5e5e5;

    .titleCol {
      flex: 1;

      .titleLeftBox {
        display: flex;
        height: 100%;
        align-items: center;
        padding-left: 16px;

        .titleIcon {
          color: #fff;
          margin: 0;
          width: 40px;
          height: 40px;
          line-height: 40px;
          font-size: 22px;
          display: flex;
          align-items: center;
          justify-content: center;
          background: #F14A2D;
          border-radius: 50%;
        }

        .title {
          font-size: 14px;
          color: #333;
          padding-left: 6px;
        }
      }
    }

    .titleRightBox {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding-right: 30px;
    }
  }

  .groupTitleWrapper {
    display: flex;
    justify-content: space-between;

    & > span:last-child {
      color: #666
    }
  }

  .groupPorjectTitleWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;

    & > div:first-child {
      display: flex;
      align-items: center;

      & > span:first-child {
        padding-right: 8px;
      }
    }

    & > div:last-child {
      display: flex;
      align-items: center;

      .wea-button-icon:first-child {
        margin-right: 10px;
      }
    }
  }

  .rangePickerBox {
    display: flex;
    align-items: center;
  }

  .date-set-area {
    .date-item {
      margin-bottom: 5px;

      button {
        margin-right: 10px;
      }
    }

    .data-picker {
      display: flex;
      align-items: center;

      .title {
        color: #5d9cec;
        cursor: pointer;
        font-size: 12px;
        margin-right: 10px;
      }

      .show-data-picker {
        display: flex;
      }

      .hide-data-picker {
        display: none !important;
      }
    }
  }
}

//新建自定义统计项目
.statisticItemsWrapper {
  .itemsTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .statisticItemsBox {
    padding: 16px;

    .wea-error {
      width: 100%;
    }

    .wea-form-item {
      padding: 5px 16px;
      border: 1px solid #e5e5e5;
    }

    .wea-form-item:first-child {
      border-bottom: none;
    }
  }

  .customRuleTableWrapper {
    margin-top: 16px;

    .intervalSettingsCompWrapper {
      display: flex;
      align-items: center;

      span.increaseTitle {
        padding: 0 8px;
        display: inline-block;
        width: 230px;
      }

      span.pecentTitle {
        padding-left: 8px;
      }
    }
  }
}
