#app {
  width: 100vw;
  height: 100vh;
  background-color: #fff;

  &>.el-container {
    width: 100%;
    height: 100%;

    .el-header {
      height: 80px !important;
      background-color: #3871B8;
      padding: 0px 50px;
      color: #FFFFFF;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      // font-style: oblique;

      .logo {
        font-size: 27.56px;
      }

      .time {
        margin-left: auto;
        font-size: 20px;

      }

      .user-area {
        margin-left: 84px;
        font-size: 24px;
        display: flex;
        align-items: center;
        gap: 0px 20px;
      }
    }

    &>.el-container {
      flex-grow: 1;
      white-space: no-wrap;
      flex-wrap: nowrap;

      .el-aside {
        background-color: rgb(213, 233, 254);
        overflow: hidden;
        height: 100%;
        // transition: all 10 linear;
        position: relative;
        // transition: width 0.5s linear;
        // -webkit-transition: width 0.5s linear;
        // -moz-transition: width 0.5s linear;
        // -o-transition: width 0.5s linear;


        .collapse-sign {
          position: absolute;
          right: 0;
          bottom: 30%;
          color: white;
          z-index: 1;
        }

        .collapse-sign-open {
          width: 24px;
          height: 34px;
          // background-color: #2D97B2;
          // border-radius: 0px 5px 5px 0px;

          background-image: url(./img/toright1.png);
          background-repeat: no-repeat;
          background-size: cover;
        }

        .collapse-sign-close {
          width: 24px;
          height: 34px;
          // background: #2D97B2;
          // border-radius: 0px 5px 5px 0px;
          background-image: url(./img/toleft1.png);
          background-repeat: no-repeat;
          background-size: cover;
        }


        .el-menu,
        .el-menu--vertical {
          width: 100%;

          transition: width 0.1s linear !important;
          -webkit-transition: width 0.1s linear !important;
          -moz-transition: width 0.1s linear !important;
          -webkit-transition: width 0.1s linear !important;
          -o-transition: width 0.1s linear !important;

          .el-submenu__title {
            height: 72px;
            display: flex;
            align-items: center;
            // .el-submenu__icon-arrow,
            // .el-icon-arrow-down {
            //   height: 16px;
            //   width: 16px;

            // }
          }

          .submenu {

            &:is(.is-active) {
              background-color: #0793FF !important;
            }

            .submenu-text {
              font-size: 20px;
              font-weight: Regular;
              margin-left: 29px;
            }
          }

          .menu-title-text {
            font-weight: Regular;
            font-size: 24px;
            margin-left: 15px;
          }

          .menu-label {

            img {
              height: 30px;
            }
          }

        }
      }

      .el-main {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0px;
        margin: 0px;
        overflow-y: hidden;

        .tags {
          height: 72px;
          flex: 0 0 auto;
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          // font-size: 0px;

          .el-tabs {
            // height: 100%;
            display: flex;
            align-items: flex-end;

            .is-closable {
              .el-icon-close {
                display: inline-block;
              }
            }

            .el-tabs__header {
              margin: 0px;

              .el-tabs__nav {
                border: none;

                .el-tabs__item {
                  // border: none;
                  background-color: #F2F4FC;
                  box-sizing: border-box;
                  width: 178px;
                  height: 54px;
                  margin-right: 9px;
                  font-size: 18px;
                  font-weight: Regular;
                  line-height: 54px;
                  vertical-align: middle;
                  text-align: center;
                  border-radius: 10px 10px 0px 0px;

                  &:is(.is-active) {
                    color: #0088F4;
                  }

                  span {
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    i {
                      margin-left: 9px;
                    }

                  }
                }

              }

            }

          }

          .padding {
            height: 10px;
            background-color: #F2F4FC;
          }

        }

        .content {
          flex-grow: 1;
          position: relative;

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

          .el-empty {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -100%);
            -moz-transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
          }
        }
      }
    }
  }

  // 对话框样式
  .el-dialog {
    // margin-top: 262px !important;

    .el-dialog__header {
      border-bottom: 1px solid #D9D9D9;

      .el-dialog__title {
        color: #0088F4;
        font-size: 22px;
      }
    }

    .el-dialog__body {}

    .el-dialog__footer {
      text-align: center;

      .dialog-footer {
        font-size: 18px;

        .cancel {
          color: #666666;
          width: 94px;
          height: 32px;
          padding: 0px;
          vertical-align: middle;
          text-align: center;
        }

        .confirm {
          width: 94px;
          height: 32px;
          vertical-align: middle;
          padding: 0px;
          vertical-align: middle;
          text-align: center;

        }

      }
    }

    .add-row {
      // vertical-align: middle;
      display: flex;
      align-items: center;
      gap: 0px 10px;
    }

    .entityLink {
      height: 400px;
    }

    .merge-entity {
      .content {
        padding: 0px 40px;
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 18px;
        color: #333333;

        .input {
          margin-top: 40px;
          white-space: nowrap;

          .el-input__inner {
            height: 30px;
            width: 200px;
          }
        }
      }
    }

    .modifyProperty-dropdown {
      .tools {
        margin-bottom: 20px;

        &>.el-autocomplete {
          .el-input {
            .el-input__inner {
              padding-bottom: 0px;
              padding-top: 0px;
              height: 30px;
              width: 133px;
              margin-left: 36px;
            }
          }
        }

        &>.el-select {
          width: 133px;
          height: 30px;

          .el-input__inner {
            height: 30px;
          }

          .el-input__prefix,
          .el-input__suffix {
            height: 30px;
          }

          /* 下面设置右侧按钮居中 */
          .el-input__suffix {
            top: 0px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: nowrap;
            flex-direction: row;
            align-content: flex-start;
          }

          .el-input__icon {
            line-height: 32px;
          }
        }
      }

      .content {
        .el-input__inner {
          border: none;
          padding: 0px;

          &:focus {
            border: none !important;
            box-shadow: none;
          }
        }

        .el-table {
          td {
            height: 36px;
            padding: 0px;
          }

          .has-gutter {
            // background-color: rgb(242, 243, 246);

            th {
              background-color: rgb(242, 243, 246);
              height: 36px;
              padding: 0px;
            }
          }

          .cell {
            text-align: center;

            &>div {
              text-align: center;
            }
          }
        }
      }
    }

    .addEntity {
      .tools {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        font-size: 18px;
        color: #0793FF;
        margin-bottom: 20px;

        span {
          margin-left: 27px;
          cursor: pointer;

          &:first-child {
            margin-left: 0px;
          }
        }
      }

      .el-input__inner {
        border: none;
        padding: 0px;

        &:focus {
          border: none !important;
          box-shadow: none;
        }
      }

      .el-table {
        td {
          height: 36px;
          padding: 0px;
        }

        .has-gutter {
          // background-color: rgb(242, 243, 246);

          th {
            background-color: rgb(242, 243, 246);
            height: 36px;
            padding: 0px;
          }
        }

        .cell {
          text-align: center;

          &>div {
            text-align: center;
          }
        }
      }
    }

    .modifyEntityName-dropdown {
      .tools {
        display: flex;
        flex-wrap: nowrap;
        padding: 0px 20px;
        gap: 0px 20px;
        margin-bottom: 10px;
        align-items: center;

      }

      .tools-2 {
        font-size: 18px;
        // padding-left: 24px;
        // padding-right: 24px;

        .blue {
          color: #0793FF;
        }

        .tools-2-up {
          display: flex;
          align-items: center;
          flex-wrap: nowrap;
          justify-content: space-between;

          .left {

            // .el-input__inner {
            //   height: 28px;
            //   width: 100px;
            // }
            display: flex;
            flex-wrap: nowrap;

            &>.el-autocomplete {
              .el-input {
                .el-input__inner {
                  padding-bottom: 0px;
                  padding-top: 0px;
                  height: 30px;
                  width: 150px;
                  // margin-left: 36px;
                }
              }
            }

            .el-select {
              width: 133px;
              height: 30px;

              .el-input__inner {
                height: 30px;
              }

              .el-input__prefix,
              .el-input__suffix {
                height: 30px;
              }

              /* 下面设置右侧按钮居中 */
              .el-input__suffix {
                top: 0px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: nowrap;
                flex-direction: row;
                align-content: flex-start;
              }

              .el-input__icon {
                line-height: 32px;
              }
            }
          }

          .right {
            display: flex;
            flex-wrap: nowrap;

            span {
              margin-left: 24px;
            }
          }
        }

        .tools-2-down {
          margin: 19px 0px;
        }
      }

      .content {
        .el-input__inner {
          border: none;

          &:focus {
            border: none !important;
            box-shadow: none;
          }
        }

        .el-table {
          td {
            height: 36px;
            padding: 0px;
          }

          .has-gutter {
            // background-color: rgb(242, 243, 246);

            th {
              background-color: rgb(242, 243, 246);
              height: 36px;
              padding: 0px;
            }
          }

          .cell {
            text-align: center;

            &>div {
              text-align: center;
            }
          }
        }
      }
    }

    .modifyEntityName {
      .content {
        font-size: 18px;
        padding-left: 50px;
        min-height: 300px;

        .up {
          margin-bottom: 30px;

          span {
            margin-right: 21px;

            &:last-child {
              margin-right: 0px;
            }
          }
        }

        .center {
          white-space: nowrap;
          display: flex;
          flex-wrap: nowrap;
          align-items: center;
          margin-bottom: 19px;

          &>.el-autocomplete {
            .el-input {
              .el-input__inner {
                padding-bottom: 0px;
                padding-top: 0px;
                height: 30px;
                width: 180px;
                // margin-left: 36px;
              }
            }
          }

          .el-select {
            width: 133px;
            height: 30px;

            .el-input__inner {
              height: 30px;
            }

            .el-input__prefix,
            .el-input__suffix {
              height: 30px;
            }

            /* 下面设置右侧按钮居中 */
            .el-input__suffix {
              top: 0px;
              display: flex;
              justify-content: center;
              align-items: center;
              flex-wrap: nowrap;
              flex-direction: row;
              align-content: flex-start;
            }

            .el-input__icon {
              line-height: 32px;
            }
          }
        }

        .down {

          white-space: nowrap;
          display: flex;
          flex-wrap: nowrap;
          align-items: center;

          &>.el-input {
            .el-input__inner {
              padding-bottom: 0px;
              padding-top: 0px;
              height: 30px;
              width: 180px;
              margin-left: 36px;
            }
          }


          .el-select {
            width: 133px;
            height: 30px;

            .el-input__inner {
              height: 30px;
            }

            .el-input__prefix,
            .el-input__suffix {
              height: 30px;
            }

            /* 下面设置右侧按钮居中 */
            .el-input__suffix {
              top: 0px;
              display: flex;
              justify-content: center;
              align-items: center;
              flex-wrap: nowrap;
              flex-direction: row;
              align-content: flex-start;
            }

            .el-input__icon {
              line-height: 32px;
            }
          }


        }
      }
    }

    .modifyRelationship {
      .content {
        font-size: 18px;

        .up {
          margin-bottom: 20px;
        }

        .down {
          white-space: nowrap;
          display: flex;
          flex-wrap: nowrap;
          align-items: center;

          .el-input__inner {
            padding: 0px;
            height: 36px;
          }
        }
      }
    }

    .deleteRelationship {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 300px;
      padding: 0px 60px;

      .content {
        // width: 449px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 18px;
        color: #666666;
      }
    }

  }
}

.icon {
  height: 18px;
  width: 18px;
  display: inline-block;
  background-size: cover;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.icon-close-blue {
  .icon();
  background-image: url("./img/layer13@2x-1.png");
}

.icon-close-gray {
  .icon();
  // width: 18px;
  // height: 12px;
  background-image: url("./img/layer13@2x-2.png");
  // background-size: 18px 12px;
}

.icon-avatar {
  .icon();
  width: 32px;
  height: 32px;
  background-image: url("./img/avatar.png");
}

.icon-dropdown-down {
  .icon();
  width: 22px;
  height: 12px;
  vertical-align: bottom;
  background-image: url("./img/todown.png");
}

.icon-add {
  .icon();
  background-image: url("./img/add.png");
}