// @import '~antd/lib/style/themes/default.less';
//@import '~@/utils/utils.less';

:global {
  .ant-input[disabled] {
    cursor: not-allowed;
    opacity: 1;

    &+.ant-calendar-picker-icon {
      display: none !important;
    }
  }


  .ant-select-disabled .ant-select-selection {
    background: transparent;

    i {
      display: none;
    }
  }

}

.upload {
  :global {
    .ant-upload-picture-card-wrapper {
      display: flex;
      justify-content: center;
    }

    .ant-upload.ant-upload-select-picture-card {
      width: 100%;
      // height: 400px;
    }
  }
}

.card {
  :global {
    .ant-card-body {
      padding: 20px 20px 0;

      .ant-form-item {
        padding-bottom: 0;
      }
    }
  }
}

.heading {
  margin: 0 0 16px 0;
  font-size: 28px;
  line-height: 22px;
}

.steps:global(.ant-steps) {
  max-width: 750px;
  margin: 16px auto;
}

.errorIcon {
  margin-right: 24px;
  color: #f5222d;
  cursor: pointer;

  i {
    margin-right: 4px;
  }
}

.errorPopover {
  :global {
    .ant-popover-inner-content {
      min-width: 256px;
      max-height: 290px;
      padding: 0;
      overflow: auto;
    }
  }
}

.errorListItem {
  padding: 8px 16px;
  list-style: none;
  border-bottom: 1px solid hsv(0, 0, 91%);
  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    background: tint(#1890ff, 90%);
  }

  &:last-child {
    border: 0;
  }

  .errorIcon {
    float: left;
    margin-top: 4px;
    margin-right: 12px;
    padding-bottom: 22px;
    color: #f5222d;
  }

  .errorField {
    margin-top: 2px;
    color: fade(#000, 45%);
    font-size: 28px;
  }
}

.editable {
  td {
    padding-top: 13px !important;
    padding-bottom: 12.5px !important;
  }
}

// custom footer for fixed footer toolbar
.advancedForm+div {
  padding-bottom: 64px;
}

.advancedForm {
  :global {
    .ant-form .ant-row:last-child .ant-form-item {
      margin-bottom: 24px;
    }

    .ant-table td {
      transition: none !important;
    }
  }
}

.optional {
  color: fade(#000, 45%);
  font-style: normal;
}

//
//.OperatorButtonGroup {
//  margin-bottom: 15px;
//}

.OperatorButton {
  margin-right: 15px;
  margin-bottom: 15px;
  background: #7BFFFB;
  border-color: #7BFFFB;
}

.OperatorButtonRight {
  margin-right: 15px;
  float: right
}

.title {
  :global {
    .ant-table-title {
      font-weight: bold;
    }
  }
}

.desc {
  :global {
    .ant-col-20 {
      width: 89.7%;
      margin-left: -44px;
    }
  }
}