/* 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-notification {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 12px;
  list-style: none;
  position: fixed;
  z-index: 1010;
  width: 384px;
  max-width: calc(100vw - 32px);
  margin-right: 20px;
}
.yg-notification-topLeft,
.yg-notification-bottomLeft {
  margin-right: 0;
  margin-left: 20px;
}
.yg-notification-topLeft .yg-notification-fade-enter.yg-notification-fade-enter-active,
.yg-notification-bottomLeft .yg-notification-fade-enter.yg-notification-fade-enter-active,
.yg-notification-topLeft .yg-notification-fade-appear.yg-notification-fade-appear-active,
.yg-notification-bottomLeft .yg-notification-fade-appear.yg-notification-fade-appear-active {
  -webkit-animation-name: NotificationLeftFadeIn;
          animation-name: NotificationLeftFadeIn;
}
.yg-notification-close-icon {
  font-size: 12px;
  cursor: pointer;
}
.yg-notification-notice {
  position: relative;
  margin-bottom: 16px;
  padding: 16px 20px;
  overflow: hidden;
  line-height: 1.5;
  background: #fff;
  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-notification-notice-message {
  display: inline-block;
  margin-bottom: 8px;
  color: #333333;
  font-size: 14px;
  line-height: 24px;
}
.yg-notification-notice-message-single-line-auto-margin {
  display: block;
  width: calc(384px - 20px * 2 - 20px - 40px - 100%);
  max-width: 4px;
  background-color: transparent;
  pointer-events: none;
}
.yg-notification-notice-message-single-line-auto-margin::before {
  display: block;
  content: '';
}
.yg-notification-notice-description {
  font-size: 12px;
}
.yg-notification-notice-closable .yg-notification-notice-message {
  padding-right: 20px;
}
.yg-notification-notice-with-icon .yg-notification-notice-message {
  margin-bottom: 4px;
  margin-left: 48px;
  font-size: 14px;
}
.yg-notification-notice-with-icon .yg-notification-notice-description {
  margin-left: 48px;
  font-size: 12px;
}
.anticon.yg-notification-notice-icon {
  position: absolute;
  margin-left: 4px;
  font-size: 24px;
  line-height: 24px;
}
.anticon.yg-notification-notice-icon-success {
  color: #228b22;
}
.anticon.yg-notification-notice-icon-info {
  color: #00a1ff;
}
.anticon.yg-notification-notice-icon-warning {
  color: #ffa812;
}
.anticon.yg-notification-notice-icon-error {
  color: #e2062c;
}
.yg-notification-notice-close {
  position: absolute;
  top: 16px;
  right: 22px;
  color: rgba(0, 0, 0, 0.45);
  outline: none;
}
a.yg-notification-notice-close:focus {
  text-decoration: none;
}
.yg-notification-notice-close:hover {
  color: rgba(0, 0, 0, 0.67);
}
.yg-notification-notice-btn {
  float: right;
  margin-top: 16px;
}
.yg-notification .notification-fade-effect {
  -webkit-animation-duration: 0.24s;
          animation-duration: 0.24s;
  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
.yg-notification-fade-enter,
.yg-notification-fade-appear {
  opacity: 0;
  -webkit-animation-duration: 0.24s;
          animation-duration: 0.24s;
  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.yg-notification-fade-leave {
  -webkit-animation-duration: 0.24s;
          animation-duration: 0.24s;
  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-duration: 0.2s;
          animation-duration: 0.2s;
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.yg-notification-fade-enter.yg-notification-fade-enter-active,
.yg-notification-fade-appear.yg-notification-fade-appear-active {
  -webkit-animation-name: NotificationFadeIn;
          animation-name: NotificationFadeIn;
  -webkit-animation-play-state: running;
          animation-play-state: running;
}
.yg-notification-fade-leave.yg-notification-fade-leave-active {
  -webkit-animation-name: NotificationFadeOut;
          animation-name: NotificationFadeOut;
  -webkit-animation-play-state: running;
          animation-play-state: running;
}
@-webkit-keyframes NotificationFadeIn {
  0% {
    left: 384px;
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 1;
  }
}
@keyframes NotificationFadeIn {
  0% {
    left: 384px;
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 1;
  }
}
@-webkit-keyframes NotificationLeftFadeIn {
  0% {
    right: 384px;
    opacity: 0;
  }
  100% {
    right: 0;
    opacity: 1;
  }
}
@keyframes NotificationLeftFadeIn {
  0% {
    right: 384px;
    opacity: 0;
  }
  100% {
    right: 0;
    opacity: 1;
  }
}
@-webkit-keyframes NotificationFadeOut {
  0% {
    max-height: 150px;
    margin-bottom: 16px;
    padding-top: 16px 20px;
    padding-bottom: 16px 20px;
    opacity: 1;
  }
  100% {
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }
}
@keyframes NotificationFadeOut {
  0% {
    max-height: 150px;
    margin-bottom: 16px;
    padding-top: 16px 20px;
    padding-bottom: 16px 20px;
    opacity: 1;
  }
  100% {
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }
}
