﻿/*
    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%;
}

.wizard > .steps > ul {
  display: flex;
  justify-content: space-between;
}

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

.wizard > .steps .number
{
    /*font-size: 1.429em;*/
    /*display: none;*/
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 2.5rem;
    line-height: 100%;
    font-weight: 700;
    opacity: 0.2;
    color: #4CB87D;
}

.wizard > .steps .current .number,
.wizard > .steps .done.step-error .number
{
  opacity: 0.4;
  color: #FFFFFF;
}

.wizard > .steps > ul > li
{
    /*width: 25%;*/
    flex-basis: 24%;
}

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

.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: block;
    position: relative;
    width: auto;
    /*margin: 0 0.5em 0.5em;*/
    margin-top: 0.5rem;
    padding: 1em 1em;
    text-decoration: none;

    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard > .steps .disabled a,
.wizard > .steps .disabled a:hover,
.wizard > .steps .disabled a:active
{
    background: #eee;
    background: rgba(76, 184, 125, 0.08);
    color: #aaa;
    color: #4CB87D;
    cursor: default;
}

.wizard > .steps .current a,
.wizard > .steps .current a:hover,
.wizard > .steps .current a:active
{
    background: #A9D86E;
    background: #4CB87D;
    color: #fff;
    cursor: default;
}

.wizard > .steps .done a,
.wizard > .steps .done a:hover,
.wizard > .steps .done a:active
{
  opacity: 0.6;
  background: #eee;
  background: rgba(76, 184, 125, 0.08);
  color: #aaa;
  color: #4CB87D;
  cursor: default;
}

.wizard > .steps .done a:before,
.wizard > .steps .error a:before,
.wizard > .steps .done.step-error a:before 
{
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  padding-right: 4px;

}

.wizard > .steps .done a:before 
{
  content: "\f00c";
  color: #4CB87D;
}

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

.wizard > .steps .error a:before 
{
  content: "\f12a";
  content: "\f05e";
  color: #ffffff;
}

.wizard > .steps .done.step-error a,
.wizard > .steps .done.step-error a:hover,
.wizard > .steps .done.step-error a:active
{
    opacity: 1;
    background: #ff6c60;
    color: #fff;
}

.wizard > .steps .done.step-error a:before 
{
  content: "\f12a";
  content: "\f05e";
  color: #ffffff;
}

@media (max-width: 768px) {

  .wizard > .steps > ul {
    flex-wrap: wrap;
  }

  
  .wizard > .steps > ul > li
  {
      /*width: 25%;*/
      flex-basis: 49%;
  }

}

@media (max-width: 480px) {

  .wizard > .steps > ul {
    flex-direction: column;
  }

  .wizard > .steps .number
  {
      /*font-size: 1.429em;*/
      /*display: none;*/
      position: block;
      top: 1px;
      right: 5px;
      font-size: 2rem;
      line-height: 100%;
      font-weight: 700;
      color: #4CB87D;
  }
  .wizard > .steps > ul > li
  {
      flex-basis: 100%;
  }

  .wizard > .steps a,
  .wizard > .steps a:hover,
  .wizard > .steps a:active
  {
      margin-top: 0.5rem;
      padding: 0.5rem;
  }

}

.wizard > .content
{
    /*background: #eee;*/
    /*border: 1px solid #eee;*/
    display: block;
    /*margin: 0.5em;*/
    margin-top: 1rem;
    min-height: 350px;
    /* overflow: hidden; */
    position: relative;
    width: auto;
    /*
    padding: 20px;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    */
}

.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: 100%;
    height: 100%;
    */
}

.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 > .actions
{
    position: relative;
    display: block;
    text-align: right;
    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
{
    background: #66D297;
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wizard > .actions .disabled a,
.wizard > .actions .disabled a:hover,
.wizard > .actions .disabled a:active
{
    background: #eee;
    color: #aaa;
}

.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;
}


