body.setup-opened {
  overflow-y: hidden;
}

.setup {
  width: calc(100% - 40px);
  height: calc(100vh - 40px);
  padding: 20px;
  background-color: #424242;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  display: none;
  transform: translateY(100%);
  transition: transform .125s ease-in-out;
  overflow-x: hidden;
  overflow-y: auto;
}
.setup.active {
  transform: translateY(0);
}
.setup .setup-nav {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.setup .setup-nav button {
  border: none;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
}
.setup .setup-nav button i {
  font-size: 30px !important;
}
.setup .setup-nav img {
  height: 30px;
  width: auto;
}
.setup .setup-content-loader {
  background-color: #424242;
  width: 100%;
  height: calc(100% - 71px);
  position: absolute;
  top: 71px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
}
.setup .content-holder {
  width: 100%;
  height: calc(100% - 71px);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  margin: 0;
  padding: 0;
}
.setup .stepper {
  width: 100%;
  display: flex;
  position: relative;
  min-height: 100%;
  flex-direction: column;
  -webkit-flex-direction: column;
}
.setup .stepper:before, .setup .stepper:after {
  display: block;
  height: 50px;
  width: 100%;
  content: '';
  flex-grow: 1;
  box-flex: 1;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
}
.setup .step {
  width: 400px;
  margin: 0 calc(50% - 200px);
  position: relative;
}
.setup .step .step-back {
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 7px;
  left: -44px;
  color: rgba(255, 255, 255, 0.7);
  display: none;
}
.setup .step .content-wrapper {
  height: auto;
}
.setup .step .content {
  position: relative;
  display: none;
  transform: translateX(0);
  transition: transform .125s ease-in-out;
}
.setup .step .content.slide-out-left {
  transform: translateX(-100%);
}
.setup .step .content.slide-out-right {
  transform: translateX(100%);
}
.setup .step h1 {
  font-weight: 400;
  font-size: 28px;
  text-align: left;
  margin: 0;
  color: #fff;
}
.setup .step h2 {
  font-weight: 400;
  font-size: 20px;
  text-align: left;
  margin: 20px 0 0 0;
  color: rgba(255, 255, 255, 0.7);
}
.setup .step h3 {
  font-weight: 500;
  font-size: 18px;
  text-align: left;
  margin: 10px 0 0 0;
  color: rgba(255, 255, 255, 0.7);
}
.setup .step p {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0;
  font-size: 16px;
  text-align: left;
}
.setup .step p.info {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 14px;
}
.setup .step p a {
  color: #5c6bc0;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.setup .step .content .step-content-button {
  display: flex;
  justify-content: center;
  margin: 60px 0 0 0;
  text-align: center;
}
.setup .step .content .step-content-button.display-none {
  display: none;
}
.setup .step .step-buttons {
  margin: 50px 0 0 0;
  display: flex;
  justify-content: flex-end;
}
.setup .step .step-buttons.center {
  justify-content: center;
}
.setup .step .step-buttons-description {
  font-weight: 400;
  font-size: 12px;
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 0 0;
}
.setup .step .step-buttons-finish {
  display: none;
}



.setup .step .step-progress {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 50px 0 0 0;
}
.setup .step .step-progress .progress-element {
  width: calc(50% - 4px);
  position: relative;
  height: 4px;
}
.setup .step .step-progress .progress-element:first-child {
  width: 16px;
}
.setup .step .step-progress .progress-element .filler {
  position: relative;
  width: 0;
  height: 100%;
  background-color: #5c6bc0;
  transition: width .125s ease-in-out;
  z-index: 2;
}
.setup .step .step-progress .progress-element.active .filler {
  width: 100%;
}
.setup .step .step-progress .progress-element .dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 4px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.25);
}

.setup .setup-loader {
  width: 400px;
  height: 400px;
  position: relative;
}
.setup .setup-loader p {
  text-align: center;
}
.setup .setup-loader svg {
  animation: icon_loader_rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  margin: auto;
  opacity: 1;
  transition: opacity .125s ease-in-out;
}
.setup .setup-loader.active svg {
  opacity: 0;
}
.setup .setup-loader circle {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: icon_loader_dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #5c6bc0;
}
.setup .setup-loader .setup-loader-background, .setup .setup-loader .setup-loader-background-failed {
  width: 300px;
  height: 300px;
  border: 20px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .125s ease-in-out, border .125s ease-in-out;
}
.setup .setup-loader.active .setup-loader-background {
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.5);
}
.setup .setup-loader .setup-loader-background i, .setup .setup-loader .setup-loader-background-failed i {
  color: #5c6bc0;
  font-size: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.665);
  border: 20px solid transparent;
  border-radius: 50%;
  padding: 75px;
  opacity: 0;
  transition: border .125s ease-in-out, opacity .125s ease-in-out;
}
.setup .setup-loader.active .setup-loader-background i {
  opacity: 1;
  border-color: #5c6bc0;
}
.setup .setup-loader .setup-loader-background-failed i {
  color: #ed9f1a;
}
.setup .setup-loader.failed .setup-loader-background-failed {
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.5);
}
.setup .setup-loader.failed svg {
  opacity: 0;
}
.setup .setup-loader.failed .setup-loader-background-failed i {
  opacity: 1;
  border-color: #ed9f1a;
}
.setup-loader-error {
  display: none;
}
@keyframes icon_loader_rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes icon_loader_dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
