/**
 * 定制全局通用css样式布局处理
 * Copyright (c) 2020 Rockery(1113269755@qq.com)
 */

.homemainpage {
  &-container {
    margin: 10px 15px 0;
    min-height: 860px;

    &-page {
      padding: 5px 10px 5px;
      background-color: #ffffff;
      border: #d8dce5 solid 1px;
      border-radius: 5px;

      &-header {
        border-bottom: #304156 solid 2px;

        &-stallhomeicon {
          font-weight: 400;
          font-style: normal;
          font-size: 24px;
          line-height: 24px;
          margin-top: 5px;
          margin-bottom: 10px;
          color: #27547e;
        }
      }

      &-main {
        margin-top: 10px;

        .chart-wrapper {
          background: #fff;
          padding: 16px 16px 0;
          margin-bottom: 32px;
        }

        .homepage-tabletitle {
          font-family: "Arial Normal", Arial;
          font-weight: 400;
          font-style: normal;
          font-size: 18px;
        }

        .homepage-table {
          margin-top: 10px;
        }
      }
    }
  }
}

@media (max-width: 1024px) {
  .chart-wrapper {
    padding: 8px;
  }
}

.normalpage {
  &-container {
    margin: 10px 15px 0;
    min-height: 860px;

    &-page {
      padding: 5px 10px 5px;
      background-color: #ffffff;
      border: #d8dce5 solid 1px;
      border-radius: 5px;

      &-header {
        border-bottom: #304156 solid 1px;

        .el-form-item {
          margin-bottom: 10px;
        }
      }

      &-main {
        margin-top: 10px;
      }
    }
  }
}

.commdialogtablepage {
  &-container {
    padding: 20px 10px;

    &-outrow {
      .outrow-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border: 1px solid #d8dce5;

        .outcol-bottom-border {
          border-bottom: 1px solid #d8dce5;
        }

        .outcol-content {
          .content-lable {
            width: 30%;
            height: 36px;
            display: table;
            background: #f2f2f2;
            border-right: 1px solid #d8dce5;

            span {
              font-weight: 700;
              font-style: normal;
              font-size: 14px;
              text-decoration: none;
              color: #333333;
              display: table-cell;
              vertical-align: middle;
              text-align: center;
            }
          }

          .content-value {
            width: 70%;
            height: 36px;
            display: table;

            span {
              font-weight: 400;
              font-style: normal;
              font-size: 14px;
              text-decoration: none;
              color: #333333;
              display: table-cell;
              vertical-align: middle;
              text-align: center;
              white-space: normal;
            }
          }
        }

        .outcol-textcon {
          margin-top: -5px;
          line-height: 180px;

          .textcon-lable {
            width: 30%;
            display: table;
            background: #f2f2f2;
            border-right: 1px solid #d8dce5;

            span {
              font-weight: 700;
              font-style: normal;
              font-size: 14px;
              text-decoration: none;
              color: #333333;
              display: table-cell;
              vertical-align: middle;
              text-align: center;
            }
          }

          .textcon-value {
            div {
              padding-left: 30%;
              padding-right: 5px;

              span {
                font-weight: 400;
                font-style: normal;
                font-size: 14px;
                text-decoration: none;
                color: #333333;
                white-space: normal;
              }
            }
          }
        }
      }
    }
  }
}

.outcol-right-border {
  border-right: none !important;
}

.outcol-top-border {
  border-top: none !important;
}

.commdialogtablepage-dialog {
  .el-dialog__header {
    padding: 10px 20px 5px;
    border-bottom: 2px solid #d8dce5;

    .el-dialog__headerbtn {
      top: 10px;
    }
  }

  .el-dialog__body {
    padding: 5px 20px;
  }

  .el-dialog__footer {
    padding: 20px 20px 15px;
    text-align: center;
    border-top: 2px solid #d8dce5;
  }
}

.infoadd-dialog {
  .el-dialog__header {
    padding: 10px 20px 5px;
    border-bottom: 2px solid #d8dce5;

    .el-dialog__headerbtn {
      top: 10px;
    }
  }

  .el-dialog__body {
    padding: 20px 20px;
  }

  .el-dialog__footer {
    padding: 20px 20px 15px;
    text-align: center;
    border-top: 2px solid #d8dce5;
  }
}

.importupload-dialog {
  top: 80px;

  .el-dialog__header {
    padding: 10px 20px 5px;
    border-bottom: 2px solid #d8dce5;

    .el-dialog__headerbtn {
      top: 10px;
    }
  }

  .el-dialog__body {
    padding: 20px 20px;
  }

  .el-dialog__footer {
    padding: 20px 20px 15px;
    text-align: center;
    border-top: 2px solid #d8dce5;
  }
}

.addoredit-dialog {
  .el-dialog__header {
    padding: 10px 20px 5px;
    border-bottom: 2px solid #d8dce5;

    .el-dialog__headerbtn {
      top: 10px;
    }
  }

  .el-dialog__body {
    padding: 10px 15px;
  }

  .el-dialog__footer {
    padding: 20px 20px 15px;
    text-align: center;
    border-top: 2px solid #d8dce5;
  }

  .el-form .el-form-item {
    .ql-snow .ql-tooltip {
      top: 40% !important;
      left: 120px !important;
    }
  }
}

.replycomplain-dialog {
  .el-dialog__header {
    padding: 10px 20px 5px;
    border-bottom: 2px solid #d8dce5;

    .el-dialog__headerbtn {
      top: 10px;
    }
  }

  .el-dialog__body {
    padding: 10px 15px 20px;
  }

  .el-dialog__footer {
    padding: 20px 20px 15px;
    text-align: center;
    border-top: 2px solid #d8dce5;
  }

  .replycomplain-dialog-line {
    height: 10px;
    border-bottom: 1px dashed #d8dce5;
    margin-bottom: 10px;
  }

  .el-form .el-form-item {
    margin-bottom: 5px;

    .ql-snow .ql-tooltip {
      top: 40% !important;
      left: 120px !important;
    }

    .el-input.is-disabled .el-input__inner,
    .el-textarea.is-disabled .el-textarea__inner {
      cursor: text;
    }
  }
}
