nz-tour * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
nz-tour.hidden #nzTour-box {
  -webkit-transform: scale(0);
  transform: scale(0);
}
nz-tour.hidden .nzTour-masks .mask {
  opacity: 0;
}
nz-tour #nzTour-box-wrap {
  position: fixed;
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: block;
  z-index: 999999999999;
}
nz-tour #nzTour-box {
  width: 250px;
  min-height: 69px;
  max-height: 500px;
  padding: 0.5em;
  background: #fff;
  -webkit-box-shadow: 0 6px 19px 2px rgba(0,0,0,0.14);
  box-shadow: 0 6px 19px 2px rgba(0,0,0,0.14);
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1);
  transform: scale(1);
}
nz-tour #nzTour-box.dark-box {
  background: rgba(0,0,0,0.8);
  color: #fff;
}
nz-tour #nzTour-box.dark-box #nzTour-close {
  background: rgba(255,255,255,0.81);
  color: #000;
}
nz-tour #nzTour-box.dark-box #nzTour-close:hover {
  background: #ee342f;
  color: #fff;
}
nz-tour #nzTour-box.dark-box #nzTour-step {
  background: #fff;
  color: rgba(0,0,0,0.8);
}
nz-tour #nzTour-box.dark-box #nzTour-length {
  background: rgba(255,255,255,0.2);
  color: #bababa;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.left {
  left: 5px;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.center {
  left: 50%;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.right {
  right: 5px;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.side.center {
  top: 50%;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.side.top {
  top: 5px;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.side.bottom {
  bottom: 5px;
}
nz-tour #nzTour-box.dark-box #nzTour-tip.top {
  top: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0,0,0,0.8);
}
nz-tour #nzTour-box.dark-box #nzTour-tip.bottom {
  bottom: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0,0,0,0.8);
}
nz-tour #nzTour-box.dark-box #nzTour-tip.side.left {
  left: -10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid rgba(0,0,0,0.8);
}
nz-tour #nzTour-box.dark-box #nzTour-tip.side.right {
  right: -10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid rgba(0,0,0,0.8);
}
nz-tour #nzTour-tip {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
}
nz-tour #nzTour-tip.hidden {
  opacity: 0;
}
nz-tour #nzTour-tip.vertical.left {
  left: 5px;
}
nz-tour #nzTour-tip.vertical.center {
  left: 50%;
}
nz-tour #nzTour-tip.vertical.right {
  right: 5px;
}
nz-tour #nzTour-tip.vertical.top {
  top: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
}
nz-tour #nzTour-tip.vertical.bottom {
  bottom: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
}
nz-tour #nzTour-tip.horizontal.top {
  top: 5px;
}
nz-tour #nzTour-tip.horizontal.center {
  top: 50%;
}
nz-tour #nzTour-tip.horizontal.bottom {
  bottom: 5px;
}
nz-tour #nzTour-tip.horizontal.left {
  left: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #fff;
}
nz-tour #nzTour-tip.horizontal.right {
  right: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #fff;
}
nz-tour #nzTour-close {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 14px;
  height: 14px;
  background: rgba(0,0,0,0.8);
  -webkit-border-radius: 100%;
  border-radius: 100%;
  font-size: 8px;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
nz-tour #nzTour-close:hover {
  background: #ec1d18;
}
nz-tour #nzTour-content {
  width: 100%;
  height: 100%;
  max-height: 470px;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  border-bottom: solid 32px transparent;
  padding: 0 4px;
  font-size: 14px;
}
nz-tour #nzTour-step,
nz-tour #nzTour-length {
  width: 24px;
  height: 24px;
  color: #fff;
  position: absolute;
  bottom: 0.7em;
  font-size: 12px;
  font-weight: bold;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
nz-tour #nzTour-step {
  background: rgba(0,0,0,0.7);
  left: 0.7em;
  z-index: 1;
}
nz-tour #nzTour-length {
  background: #ccc;
  left: 2.2em;
  z-index: 0;
}
nz-tour #nzTour-actions {
  position: absolute;
  bottom: 0.5em;
  right: 0.5em;
  height: 24px;
}
nz-tour #nzTour-actions button {
  height: 100%;
  border: none;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-size: 0.75em;
  padding: 4px 7px;
  color: #fff;
  background-color: #868686;
}
nz-tour #nzTour-actions button:hover {
  background-color: #6b6b6b;
}
nz-tour #nzTour-actions button[disabled] {
  opacity: 0.2;
}
nz-tour #nzTour-actions button[disabled]:hover {
  opacity: 0.2;
}
nz-tour #nzTour-actions button:focus,
nz-tour #nzTour-actions button:focus:active {
  outline: none;
}
nz-tour #nzTour-actions button.success {
  background-color: #60bd68;
}
nz-tour #nzTour-actions button.success:hover {
  background-color: #43a14b;
}
nz-tour #nzTour-actions button.danger {
  background-color: #ec1d18;
}
nz-tour #nzTour-actions button.danger:hover {
  background-color: #c01410;
}
nz-tour #nzTour-previous {
  margin-right: 0.5em;
}
nz-tour .nzTour-masks .mask {
  position: fixed;
  z-index: 99999999;
}
nz-tour .nzTour-masks .mask.top,
nz-tour .nzTour-masks .mask.bottom {
  width: 100%;
  height: 0;
  left: 0;
}
nz-tour .nzTour-masks .mask.left,
nz-tour .nzTour-masks .mask.right {
  width: 0;
  height: 100%;
  top: 0;
}
nz-tour .nzTour-masks .mask.top {
  top: 0;
}
nz-tour .nzTour-masks .mask.bottom {
  bottom: 0;
}
nz-tour .nzTour-masks .mask.left {
  left: 0;
}
nz-tour .nzTour-masks .mask.right {
  right: 0;
}