* {
  margin: 0;
  padding: 0;
  outline: none;
}

.nc-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  font-family: "Microsoft YaHei", Arial, SimSun, SimHei, sans-serif;
}

.nc-container .nc-alert {
  position: absolute;
  left: 50%;
  z-index: 2;
  margin-left: -275px;
  padding: 30px;
  width: 550px;
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.nc-container .nc-alert.animate-open-alert {
  -webkit-animation: animate-open-alert 0.3s;
       -o-animation: animate-open-alert 0.3s;
          animation: animate-open-alert 0.3s;
}

.nc-container .nc-alert.animate-open-alert .nc-success-icon:after {
  -webkit-animation: rotatePlaceholder 4.25s ease-in;
       -o-animation: rotatePlaceholder 4.25s ease-in;
          animation: rotatePlaceholder 4.25s ease-in;
}

.nc-container .nc-alert.animate-open-alert .nc-success-icon .left {
  -webkit-animation: animate-success-left 0.75s;
       -o-animation: animate-success-left 0.75s;
          animation: animate-success-left 0.75s;
}

.nc-container .nc-alert.animate-open-alert .nc-success-icon .right {
  -webkit-animation: animate-success-right 0.75s;
       -o-animation: animate-success-right 0.75s;
          animation: animate-success-right 0.75s;
}

.nc-container .nc-alert.animate-close-alert {
  -webkit-animation: animate-close-alert 0.15s forwards;
       -o-animation: animate-close-alert 0.15s forwards;
          animation: animate-close-alert 0.15s forwards;
}

.nc-container .nc-alert .nc-icon {
  margin: 10px 0 18px;
  height: 88px;
  overflow: hidden;
}

.nc-container .nc-alert .nc-icon .nc-success-icon {
  display: none;
  position: relative;
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border: 4px solid #13ce66;
  border-radius: 50%;
}

.nc-container .nc-alert .nc-icon .nc-success-icon:before {
  position: absolute;
  top: 14px;
  left: -25px;
  content: "";
  width: 60px;
  height: 120px;
  background-color: #fff;
  border-radius: 120px 0 0 120px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.nc-container .nc-alert .nc-icon .nc-success-icon:after {
  position: absolute;
  top: -11px;
  left: 30px;
  content: "";
  width: 60px;
  height: 120px;
  background-color: #fff;
  border-radius: 0 120px 120px 0;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
  -webkit-transform-origin: 0 60px;
      -ms-transform-origin: 0 60px;
       -o-transform-origin: 0 60px;
          transform-origin: 0 60px;
}

.nc-container .nc-alert .nc-icon .nc-success-icon .line {
  position: absolute;
  z-index: 2;
  display: block;
  height: 5px;
  background-color: #13ce66;
  border-radius: 2px;
}

.nc-container .nc-alert .nc-icon .nc-success-icon .line.left {
  top: 46px;
  left: 14px;
  width: 25px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
}

.nc-container .nc-alert .nc-icon .nc-success-icon .line.right {
  top: 38px;
  right: 8px;
  width: 47px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.nc-container .nc-alert .nc-icon .nc-success-icon .placeholder {
  position: absolute;
  left: -4px;
  top: -4px;
  z-index: 2;
  width: 80px;
  height: 80px;
  border: 4px solid rgba(19, 206, 102, 0.3);
  border-radius: 50%;
}

.nc-container .nc-alert .nc-icon .nc-success-icon .fix {
  position: absolute;
  left: 24px;
  top: 6px;
  z-index: 1;
  width: 7px;
  height: 90px;
  background-color: #fff;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.nc-container .nc-alert .nc-icon .nc-info-icon {
  display: none;
  margin: 0 auto;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border: 4px solid rgba(32, 160, 255, 0.8);
  border-radius: 50%;
  font-size: 50px;
  font-weight: bold;
  color: #20a0ff;
  text-align: center;
}

.nc-container .nc-alert .title {
  line-height: 40px;
  font-size: 22px;
  font-weight: normal;
  color: #333;
  text-align: center;
}

.nc-container .nc-alert .subtit {
  font-size: 16px;
  color: #20a0ff;
  text-align: center;
}

.nc-container .nc-alert .nc-content {
  text-align: center;
  list-style: none;
}

.nc-container .nc-alert .nc-content li {
  font-size: 16px;
  line-height: 26px;
  color: #ff4949;
}

.nc-container .nc-alert .alert-btn {
  display: block;
  margin: 22px auto 0;
  width: 90px;
  height: 38px;
  line-height: 38px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  background-color: #20a0ff;
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: background-color .3s;
  -o-transition: background-color .3s;
  transition: background-color .3s;
}

.nc-container .nc-alert .alert-btn:hover {
  background-color: #1d8ce0;
}

.nc-container .nc-backdrop {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/**
 * animate-alert
 */
@-webkit-keyframes animate-open-alert {
  0%, 60%, 80%, 100% {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  80% {
    -webkit-transform: scale(0.97);
            transform: scale(0.97);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-o-keyframes animate-open-alert {
  0%, 60%, 80%, 100% {
    -o-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
       animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -o-transform: scale(0.5);
       transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -o-transform: scale(1.05);
       transform: scale(1.05);
  }
  80% {
    -o-transform: scale(0.97);
       transform: scale(0.97);
  }
  100% {
    opacity: 1;
    -o-transform: scale(1);
       transform: scale(1);
  }
}
@keyframes animate-open-alert {
  0%, 60%, 80%, 100% {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
         -o-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
         -o-transform: scale(0.5);
            transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.05);
         -o-transform: scale(1.05);
            transform: scale(1.05);
  }
  80% {
    -webkit-transform: scale(0.97);
         -o-transform: scale(0.97);
            transform: scale(0.97);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
  }
}

@-webkit-keyframes animate-close-alert {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
  }
}

@-o-keyframes animate-close-alert {
  0% {
    -o-transform: scale(1);
       transform: scale(1);
    opacity: 1;
  }
  100% {
    -o-transform: scale(0.5);
       transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes animate-close-alert {
  0% {
    -webkit-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
         -o-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
  }
}

/**
 * animation-success
 */
@-webkit-keyframes animate-success-left {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}
@-o-keyframes animate-success-left {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}
@keyframes animate-success-left {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}

@-webkit-keyframes animate-success-right {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

@-o-keyframes animate-success-right {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

@keyframes animate-success-right {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

@-webkit-keyframes rotatePlaceholder {
  0% {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  5% {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  12% {
    -webkit-transform: rotate(-405deg);
            transform: rotate(-405deg);
  }
  100% {
    -webkit-transform: rotate(-405deg);
            transform: rotate(-405deg);
  }
}

@-o-keyframes rotatePlaceholder {
  0% {
    -o-transform: rotate(-45deg);
       transform: rotate(-45deg);
  }
  5% {
    -o-transform: rotate(-45deg);
       transform: rotate(-45deg);
  }
  12% {
    -o-transform: rotate(-405deg);
       transform: rotate(-405deg);
  }
  100% {
    -o-transform: rotate(-405deg);
       transform: rotate(-405deg);
  }
}

@keyframes rotatePlaceholder {
  0% {
    -webkit-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  5% {
    -webkit-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  12% {
    -webkit-transform: rotate(-405deg);
         -o-transform: rotate(-405deg);
            transform: rotate(-405deg);
  }
  100% {
    -webkit-transform: rotate(-405deg);
         -o-transform: rotate(-405deg);
            transform: rotate(-405deg);
  }
}
