/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.yg-modal {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 12px;
  list-style: none;
  position: relative;
  top: 100px;
  width: auto;
  margin: 0 auto;
  padding-bottom: 20px;
}
.yg-modal-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  overflow: auto;
  outline: 0;
  -webkit-overflow-scrolling: touch;
}
.yg-modal-title {
  margin: 0;
  padding: 16px 16px 0 16px;
  color: #333333;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
}
.yg-modal-content {
  position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-radius: 2px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.yg-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 0;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
.yg-modal-close-x {
  display: block;
  width: 14px;
  height: 14px;
  font-size: 14px;
  font-style: normal;
  margin-right: 16px;
  margin-top: 16px;
  text-align: center;
  text-transform: none;
  text-rendering: auto;
}
.yg-modal-close:focus,
.yg-modal-close:hover {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
}
.yg-modal-header {
  padding: 0;
  color: #333;
  border-radius: 2px 2px 0 0;
  background: #fff;
}
.yg-modal-body {
  padding: 16px 16px 0 16px;
  /* 更新对话框样式 左对齐*/
  font-size: 12px;
  line-height: 1.5;
  word-wrap: break-word;
}
.yg-modal-footer {
  padding: 10px 16px;
  text-align: right;
  border-radius: 0 0 2px 2px;
}
.yg-modal-footer button + button {
  margin-bottom: 0;
  margin-left: 12px;
}
.yg-modal.zoom-enter,
.yg-modal.zoom-appear {
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  opacity: 0;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.yg-modal-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  filter: alpha(opacity=50);
}
.yg-modal-mask-hidden {
  display: none;
}
.yg-modal-open {
  overflow: hidden;
}
.yg-modal-centered {
  text-align: center;
}
.yg-modal-centered::before {
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
  content: '';
}
.yg-modal-centered .yg-modal {
  top: 0;
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .yg-modal {
    max-width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .yg-modal-centered .yg-modal {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.yg-modal-confirm .yg-modal-close {
  display: none;
}
.yg-modal-confirm-content {
  display: none;
}
.yg-modal-confirm .yg-modal-body {
  padding: 16px;
}
.yg-modal-confirm-body-wrapper {
  zoom: 1;
}
.yg-modal-confirm-body-wrapper::before,
.yg-modal-confirm-body-wrapper::after {
  content: '';
  display: table;
}
.yg-modal-confirm-body-wrapper::after {
  clear: both;
}
.yg-modal-confirm-body {
  max-width: 260px;
  margin: 0 auto;
}
.yg-modal-confirm-body .yg-modal-confirm-title {
  display: block;
  overflow: hidden;
  color: #666;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.4;
}
.yg-modal-confirm-body .yg-modal-confirm-content {
  margin-top: 8px;
  margin-left: 38px;
  color: #333;
  font-size: 12px;
}
.yg-modal-confirm-body > .anticon {
  float: left;
  margin-right: 16px;
  font-size: 22px;
}
.yg-modal-confirm .yg-modal-confirm-btns {
  float: right;
  margin-top: 24px;
}
.yg-modal-confirm .yg-modal-confirm-btns button + button {
  margin-bottom: 0;
  margin-left: 12px;
}
.yg-modal-confirm-error .yg-modal-confirm-body > .anticon {
  color: #e2062c;
}
.yg-modal-confirm-warning .yg-modal-confirm-body > .anticon,
.yg-modal-confirm-confirm .yg-modal-confirm-body > .anticon {
  color: #ffa812;
}
.yg-modal-confirm-info .yg-modal-confirm-body > .anticon {
  color: #00a1ff;
}
.yg-modal-confirm-success .yg-modal-confirm-body > .anticon {
  color: #228b22;
}
