/*custom font*/
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat-Regular'), url(http://fonts.gstatic.com/s/montserrat/v7/zhcz-_WihjSQC0oHJ9TCYPk_vArhqVIZ0nv9q090hN8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/*basic reset*/
* {margin: 0; padding: 0;}

html {
    height: 100%;
    background-color: #2A3F54;
}

body {
    font-family: montserrat, arial, verdana;
}
/*form styles*/
#myform {
    width: 600px;
    margin: 10% auto;
    text-align: center;
    position: relative;
}
#myform fieldset {
    background: white;
    border: 0 none;
    border-radius: 4px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
    /*z-index: 99;*/
    /*stacking fieldsets above each other*/
    position: absolute;
}
/*Hide all except first fieldset*/
#myform fieldset:not(:first-of-type) {
    display: none;
}
/*inputs*/
#myform input, #myform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}
/*buttons*/
#myform .action-button {
   /* width: 125px;*/
    width: 100px;
    background: #27AE60;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    float: initial;
}

input.action-button, button.action-button {
    float: left;
}

#myform .submit:hover, #myform .next:hover,#myform .previous:hover, #myform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}

#myform .action-button.return {
    /*color:white;
    position: absolute;
    bottom: 0;
    left: 50px;
    z-index: 98;
    font-weight: normal;
    background: none;*/
    background: #d9534f;
    border-color: #d9534f;
}
#myform .action-button.return:hover {
    /*text-decoration: underline;
    color: #27AE60;*/
    box-shadow: 0 0 0 2px white, 0 0 0 3px #d9534f;
}

/*headings*/
.fs-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
}
.fs-subtitle {
    font-weight: normal;
    font-size: 15px;
    color: #666;
}
/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}
#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 15px;
    width: 24.99%;
    float: left;
    position: relative;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    text-transform: capitalize;
    width: 111px;
    line-height:25px;
    display: block;
    font-size: 16px;
    color: #333;
    background: white;
    border-radius: 4px;
    margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
    background: #27AE60;
    color: white;
    width: 111px;
}
#myform .error{
    text-align:left;
}
.error {
    color: red;
    width: 100%;
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}
/*#progressbar li.active:before, #progressbar li.active:after {
    background: #27AE60;
    color: white;
    width: 97px;
    height: 28px;
}*/