﻿/*
    Common 
*/

.wizard,
.tabcontrol {
  display: block;
  width: 100%;
  overflow: hidden;
}

.wizard a,
.tabcontrol a {
  outline: 0;
}

.wizard ul,
.tabcontrol ul {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.wizard ul > li,
.tabcontrol ul > li {
  display: block;
  padding: 0;
}

/* Accessibility */
.wizard > .steps .current-info,
.tabcontrol > .steps .current-info {
  position: absolute;
  left: -999em;
}

.wizard > .content > .title,
.tabcontrol > .content > .title {
  position: absolute;
  left: -999em;
}

/*
    Wizard
*/

.wizard > .steps {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 70px;
}

.wizard.vertical > .steps {
  display: inline;
  float: left;
  width: 30%;
}

.wizard > .steps .number {
  width: 80px;
  border: 1.25rem solid #fff;
  background-color: #bfbfbf;
  color: #fff;
  margin: 0 auto;
  line-height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  aspect-ratio: 1 / 1;
  text-align: center;
  font-weight: bold;
}

.wizard > .steps > ul {
  position: relative;
}

.wizard > .steps > ul::before {
  position: absolute;
  width: 100%;
  height: 1px;
  top: 3.5rem;
  background-color: #eeeeee;
  content: '';
  z-index: -1;
}

.wizard > .steps > ul > li {
  width: 25%;
}

.wizard > .steps > ul > li,
.wizard > .actions > ul > li {
  float: left;
}

.wizard.vertical > .steps > ul > li {
  float: none;
  width: 100%;
}

.wizard > .steps a,
.wizard > .steps a:hover,
.wizard > .steps a:active {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: auto;
  margin: 0 0.5em 0.5em;
  padding: 1em 1em;
  text-decoration: none;
  font-weight: normal;
  text-align: center;
}

.wizard > .steps .disabled a,
.wizard > .steps .disabled a:hover,
.wizard > .steps .disabled a:active {
  /* background: #eee; */
  color: #000;
  cursor: default;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active {
  /* background: #2184be; */
  color: #df0018;
  font-weight: bold;
  cursor: default;
}

.wizard > .steps .current .number {
  background-color: #df0018;
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active {
  /* background: #9dc8e2; */
  color: #1d1d1d;
}

/* .wizard > .steps .error a,
.wizard > .steps .error a:hover,
.wizard > .steps .error a:active {
  background: #ff3111;
  color: #fff;
} */

@media screen and (max-device-width: 480px) and (orientation: portrait) {
  .wizard > .steps .number {
    width: 40px;
    border-width: 0;
    line-height: 2.5rem;
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .wizard > .steps > ul::before {
    top: 2.325rem;
  }

  .wizard > .steps a {
    padding: 1em 0.7em;
    font-size: 0.9rem;
    line-height: normal;
    text-align: center;
  }
}

.wizard > .content {
  display: block;
  margin: 0.5em;
  /* min-height: 35em; */
  overflow: hidden;
  position: relative;
  width: auto;
  transition: min-height ease 0.2s;
}

.wizard.vertical > .content {
  display: inline;
  float: left;
  margin: 0 2.5% 0.5em 2.5%;
  width: 65%;
}

.wizard > .content > .body {
  float: left;
  position: absolute;
  width: 95%;
  height: 95%;
  padding: 2.5%;
}

.wizard > .content > .body ul {
  list-style: disc !important;
}

.wizard > .content > .body ul > li {
  display: list-item;
}

.wizard > .content > .body > iframe {
  border: 0 none;
  width: 100%;
  height: 100%;
}

.wizard > .content > .body input {
  display: block;
  border: 1px solid #ccc;
}

.wizard > .content > .body input[type='checkbox'] {
  display: inline-block;
}

.wizard > .content > .body input.error {
  background: rgb(251, 227, 228);
  border: 1px solid #fbc2c4;
  color: #8a1f11;
}

.wizard > .content > .body label {
  display: inline-block;
  margin-bottom: 0.5em;
}

.wizard > .content > .body label.error {
  color: #8a1f11;
  display: inline-block;
  margin-left: 1.5em;
}

.wizard > .actions {
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
}

.wizard.vertical > .actions {
  display: inline;
  float: right;
  margin: 0 2.5%;
  width: 95%;
}

.wizard > .actions > ul {
  display: inline-block;
  text-align: right;
}

.wizard > .actions > ul > li {
  margin: 0 0.5em;
}

.wizard.vertical > .actions > ul > li {
  margin: 0 0 0 1em;
}

.wizard > .actions a,
.wizard > .actions a:hover,
.wizard > .actions a:active {
  font-size: 1.125rem;
  line-height: 1em;
  font-weight: bold;
  background: #fff;
  color: #111927;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 8.438rem;
  padding: 0.5rem 0.5rem;
  text-decoration: none;

  border: 1px solid #747474;
}

.wizard > .actions a::after {
  width: 1rem;
  height: 1rem;
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAolBMVEXjARv////jAh3++/z+8/X729/wd4XnJDrsVGXkCyXlGDD97/H1o63va3rkBSH1n6nsWGn4w8nwb37yj5vqOEzoMEX3t7/3r7j3s7vtWGnxe4noK0HqN0vqRFfxh5TmIDfxd4XmHDPyh5Txg5D85+nqSFrzj5v2q7TrUGLzk572r7frUGHqPFD84+b719v0nKXvb37jBSHqP1P5y9DtYHDyi5fnULGvAAAAkklEQVR4Xl3PxQ4DMQxF0eckw1BkZmb4/1/rxFGsqndlHXnzQFU6j2flor1ak81SN4KrHGpHBwVpYiz1rUj1ikxqoVN46xGmfAyoBdeIMAbXFAvgE6tBmlPItBRJGnrDtEUiEoPbYf8nKsORKfSCE4HO/OVnqqCiS4qfajz7GgmoGzFRdn84eb6IyWby8F18AuK+VpsG9NcevCoAAAAASUVORK5CYII=);
}

.wizard > .actions > ul > li:nth-child(1) a,
.wizard > .actions .disabled a,
.wizard > .actions .disabled a:hover,
.wizard > .actions .disabled a:active {
  /* background: #eee; */
  color: #e21d2f;
  border-color: #ef7481;
}

.wizard > .actions .disabled a,
.wizard > .actions .disabled a:hover,
.wizard > .actions .disabled a:active {
  cursor: default;
}

.wizard > .actions > ul > li:nth-child(1) a::after {
  width: 1rem;
  height: 1rem;
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAAAAABzpdGLAAAApklEQVR4AV3PgQfCQBTH8fe/32oGI5kQxSTMRGA0B6ZMpAyaBEIQI2Im59V7dz3TF/vdPg4OkHoVs5E/TitDP0RG+8oWXS11CyUN9kwrAbLLl2rlyqb0Dd+AEyelu76FRmRjD3M49YWDgkejVkIlz9LcAqGz3VQsgNb7swQwUT/LeWvAxnMW8a2YHnRUvcInER48keiBTHiPLQzzFom4ZpetddXx+QNGAdVLqjWMOAAAAABJRU5ErkJggg==);
}

.wizard > .loading {
}

.wizard > .loading .spinner {
}

/*
    Tabcontrol
*/

.tabcontrol > .steps {
  position: relative;
  display: block;
  width: 100%;
}

.tabcontrol > .steps > ul {
  position: relative;
  margin: 6px 0 0 0;
  top: 1px;
  z-index: 1;
}

.tabcontrol > .steps > ul > li {
  float: left;
  margin: 5px 2px 0 0;
  padding: 1px;

  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.tabcontrol > .steps > ul > li:hover {
  background: #edecec;
  border: 1px solid #bbb;
  padding: 0;
}

.tabcontrol > .steps > ul > li.current {
  background: #fff;
  border: 1px solid #bbb;
  border-bottom: 0 none;
  padding: 0 0 1px 0;
  margin-top: 0;
}

.tabcontrol > .steps > ul > li > a {
  color: #5f5f5f;
  display: inline-block;
  border: 0 none;
  margin: 0;
  padding: 10px 30px;
  text-decoration: none;
}

.tabcontrol > .steps > ul > li > a:hover {
  text-decoration: none;
}

.tabcontrol > .steps > ul > li.current > a {
  padding: 15px 30px 10px 30px;
}

.tabcontrol > .content {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 35em;
  overflow: hidden;
  border-top: 1px solid #bbb;
  padding-top: 20px;
}

.tabcontrol > .content > .body {
  float: left;
  position: absolute;
  width: 95%;
  height: 95%;
  padding: 2.5%;
}

.tabcontrol > .content > .body ul {
  list-style: disc !important;
}

.tabcontrol > .content > .body ul > li {
  display: list-item;
}
