html[data-theme='dark'] body,
html[data-theme='dark'] .app-loading {
  background-color: #2c344a;
}

html[data-theme='dark'] .app-loading .app-loading-title {
  color: rgba(255, 255, 255, 0.75);
}

body,
.app-loading {
  background-color: #f4f7f9;
}

.app-loading {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.app-loading .app-loading-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.app-loading .dots {
  display: flex;
  padding: 98px;
  justify-content: center;
  align-items: center;
}

.app-loading .app-loading-title {
  display: flex;
  margin-top: 30px;
  font-size: 30px;
  color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.app-loading .app-loading-logo {
  display: block;
  width: 90px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.dot {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-top: 30px;
  font-size: 32px;
  transform: rotate(45deg);
  box-sizing: border-box;
  animation: antRotate 1.2s infinite linear;
}

.dot i {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background-color: #0065cc;
  border-radius: 100%;
  opacity: 0.3;
  transform: scale(0.75);
  animation: antSpinMove 1s infinite linear alternate;
  transform-origin: 50% 50%;
}

.dot i:nth-child(1) {
  top: 0;
  left: 0;
}

.dot i:nth-child(2) {
  top: 0;
  right: 0;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.dot i:nth-child(3) {
  right: 0;
  bottom: 0;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.dot i:nth-child(4) {
  bottom: 0;
  left: 0;
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}
@keyframes antRotate {
  to {
    -webkit-transform: rotate(405deg);
    transform: rotate(405deg);
  }
}
@-webkit-keyframes antRotate {
  to {
    -webkit-transform: rotate(405deg);
    transform: rotate(405deg);
  }
}
@keyframes antSpinMove {
  to {
    opacity: 1;
  }
}
@-webkit-keyframes antSpinMove {
  to {
    opacity: 1;
  }
}

.full-loading.absolute {
  position: fixed !important;
  z-index: 9000 !important;
}

.ant-input-affix-wrapper-readonly.ant-input-password,
.ant-input-affix-wrapper-readonly.ant-input-password input.ant-input {
  color: rgba(0, 0, 0, 0.25) !important;
  background-color: #f5f5f5 !important;
  border-color: #d9d9d9 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

.ant-form-item-control-input
  .ant-table.ant-table-middle
  .ant-table-tbody
  .ant-table-wrapper:only-child
  .ant-table {
  margin: 0 !important;
}

.ant-input-group.checkbox-add-before,
.ant-input-group.button-add-after {
  width: 100%;
}
.ant-input-group.checkbox-add-before .checkbox-with-frame {
  border-radius: 6px 0 0 6px;
  height: 32px;
  width: 33px;
  padding: 4px 4px 0px 8px;
  border-left: 1px solid #d9d9d9;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-right: 0;
}
.ant-input-group.checkbox-add-before .ant-select,
.ant-input-group.checkbox-add-before .ant-select-selector,
.ant-input-group.checkbox-add-before .ant-input {
  border-radius: 0 6px 6px 0 !important;
}
.ant-input-group.button-add-after .ant-picker,
.ant-input-group.button-add-after .ant-select,
.ant-input-group.button-add-after .ant-select-selector {
  border-radius: 6px 0 0 6px !important;
}
.ant-input-group.checkbox-add-before.button-add-after .ant-select,
.ant-input-group.checkbox-add-before.button-add-after .ant-select-selector,
.ant-input-group.checkbox-add-before.button-add-after .ant-input {
  border-radius: 0 !important;
}
.ant-input-group.button-add-after .button-middle,
.ant-input-group.button-add-after .button-last {
  display: inline-flex;
  position: absolute;
  align-items: center;
  padding-left: 8px;
  height: 32px;
  width: 46px;
  background-color: rgba(0, 0, 0, 0.02);
}

.ant-input-group.button-add-after .button-last {
  border-radius: 0 6px 6px 0;
  border-left: 0;
  border-right: 1px solid #d9d9d9;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  right: 0px;
}
.ant-input-group.button-add-after .button-middle {
  border-radius: 0;
  border-left: 0;
  border-right:0;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  right: 46px;
}
.jeesite-basic-help {
  margin-left: 2px;
}
.ant-input-affix-wrapper-textarea-with-clear-btn textarea.ant-input {
  padding-right: 20px !important;
}
.ant-input-number-group-wrapper {
  width: 100%;
}
.ant-list-item.event-item {
  color: white !important;
}
.jeesite-layout-header-logo img {
  width: auto !important;
}
.overflow-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}
.groupMaterialName > .ant-select:not(:first-child) {
  border-right-width: 0px !important;
  border-radius: 0;
}
.groupMaterialName > .ant-select-auto-complete > .ant-select-selector {
  border-right-width: 1px !important;
  border-radius: 0 6px 6px 0 !important;
}
.groupMaterialName > .ant-select:first-child > .ant-select-selector {
  border-radius: 6px 0 0 6px;
}
.groupMaterialName .button-last {
  border-radius: 0 6px 6px 0;
  display: inline-flex;
  position: absolute;
  right: 2px;
  align-items: center;
  padding-left: 8px;
  padding-top: 3px;
  height: 32px;
  width: 46px;
  background-color: rgba(0, 0, 0, 0.02);
  border-top: 1px solid #d9d9d9 !important;
  border-right: 1px solid #d9d9d9 !important;
  border-bottom: 1px solid #d9d9d9 !important;
  border-left: 1px solid #d9d9d9 !important;
}

.groupMaterialName .button-middle {
  border-radius: 0;
  display: inline-flex;
  position: absolute;
  align-items: center;
  padding-left: 8px;
  padding-top: 3px;
  height: 32px;
  width: 46px;
  background-color: rgba(0, 0, 0, 0.02);
  border-top: 1px solid #d9d9d9 !important;
  border-right: 0px !important;
  border-bottom: 1px solid #d9d9d9 !important;
  border-left: 0px !important;
}
.addonBeforeSelect {
  text-align: start;
}
@media screen and (min-width: 992px) {
  .addonBeforeSelect {
    width: 10vw;
  }
}
@media screen and (max-width: 991px) {
  .addonBeforeSelect {
    width: 20vw;
  }
}

input[codefield='days'],
input[codefield='expense'] {
  text-align: right;
}
input[codefield='expense']:hover,
input[codefield='expense']:focus,
input[codefield='days']:hover,
input[codefield='days']:focus {
  padding-right: 30px;
}
.calendar-container {
  padding: 0 6px 6px;
  border-radius: 5px;
  background: #fff;
}
.calendar-container .ant-table-title {
  min-height: 40px;
  padding: 6px 0 8px 0 !important;
}
.event-item {
  color: white;
  padding: 1px 3px;
  border-radius: 3px;
  font-size: 0.85em;
}
.fc-daygrid-event-harness {
  visibility: visible !important;
}

.fc-event-main p{
  overflow: hidden;
}

.calendar-container {
  padding: 0 6px 6px;
  border-radius: 5px;
  background: #fff;
}
.calendar-container .ant-table-title {
  min-height: 40px;
  padding: 6px 0 8px 0 !important;
}

button[prop] span.app-iconify.anticon {
  color: gray;
}
button[prop='pdf'] span.app-iconify.anticon {
  color: #a42416;
}
button[prop='doc'] span.app-iconify.anticon {
  color: #407ccd;
}
button[prop='xls'] span.app-iconify.anticon {
  color: #4ea06b;
}

#websites .ant-list-item-meta-title {
  margin: 0;
}
#websites .ant-list-item-meta-description {
  font-size: 12px;
}
.text-red {
  color: red !important;
}
.text-green {
  color: green !important;
}

#currentItemPgbar .ant-progress-text {
  display: block;
  width: auto;
  text-align: left;
}
.ant-modal-body {
  border-radius: 0 0 8px 8px;
}

#currentItemProgress .ant-progress-text {
  display: block;
  width: auto;
  text-align: right;
  margin-right: 20px;
}
#taskTable .ant-spin-blur {
  opacity: 1;
}
#taskTable .ant-spin-blur::after {
  opacity: 0;
}
#taskTable .ant-spin {
  display: none;
}

.ant-form-item.no-label {
  margin-left: 0px !important;
}

.ant-list-item-action {
  margin-left: 5px;
}

input[codefield='usedNetWeight'],
input[codefield='quantity'],
input[codefield='netWeight'],
input[codefield='supplementaryWeight'],
input[codefield='grossWeight'] {
  text-align: right;
}
input[codefield='usedNetWeight']:hover,
input[codefield='usedNetWeight']:focus,
input[codefield='quantity']:not(:disabled):hover,
input[codefield='quantity']:focus,
input[codefield='netWeight']:not(:disabled):hover,
input[codefield='netWeight']:focus,
input[codefield='supplementaryWeight']:not(:disabled):hover,
input[codefield='supplementaryWeight']:focus,
input[codefield='grossWeight']:not(:disabled):hover,
input[codefield='grossWeight']:focus {
  padding-right: 30px;
}

.casExpandTable .jeesite-basic-table .ant-table-cell .ant-table .ant-table-container {
  border-radius: 0px !important;
}
.casExpandTable .jeesite-basic-table .ant-table-cell .ant-table-expanded-row-fixed {
  padding: 0px !important;
}
.jeesite-basic-help {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 10px !important;
}