﻿
/*basic reset*/
* {margin: 0; padding: 0;}

/*form styles*/
#msform {
	margin: auto;
	text-align: center;
	position: relative;
    min-height: 850px;
    margin-top: 3em;
    font-size: 14px;
}
#msform fieldset {
	background: white;
	border: 0 none;
	border-radius: 3px;
	padding: 20px 30px;
	
	box-sizing: border-box;
	
	/*stacking fieldsets above each other*/
	position: absolute;

    width: 550px
}
#msform fieldset label.small {
    font-size: 12px;
    font-weight: bold;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}

/*buttons*/
#msform .action-button {
	width: 100px;
	background: #F15B3B;
	font-weight: normal;
	color: white;
	border: 0 none;
	border-radius: 8px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;
}

#msform .action-button.continue {
    margin: 20px 0 0 0;
    width: 100%;
}

#msform .action-button.submit {
    margin: 20px 0 20px 0;
    width: 100%;
}

#msform .action-button.previous {
    font-size: 13px;
    color: #F15B3B;
    background: none;
    text-decoration: underline;
}

/*headings*/
.fs-title {
	font-size: 20px;
	text-transform: uppercase;
	color: #038E94;
	margin-bottom: 0;
}
.fs-subtitle {
	font-weight: normal;
	font-size:15px;
	color: #666;
	margin-bottom: 10px;
}
/*progressbar*/
.progressbar {
	margin-bottom: 20px;
    overflow: hidden;
    padding-top: 20px;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
.progressbar li {
	list-style-type: none;
	text-transform: uppercase;
	font-size: 9px;
	width: 50%;
	float: left;
	position: relative;
    display: block;
}
.progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 3px;
	margin: 0 auto 5px auto;
    position: relative;
    z-index: 1; /*put it behind the numbers*/
}
/*progressbar connectors*/
.progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: 0; /*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: #F15B3B;
	color: white;
}

/*fieldsset -> progressbar*/
fieldset>.progressbar {
	margin-bottom: 5px;
    overflow: hidden;
    padding-top: 5px;
    counter-reset: step;
}
fieldset>.progressbar li {
	list-style-type: none;
	text-transform: none;
	font-size: 14px;
	width: 50%;
	float: left;
	position: relative;
    display: inline-block;
    padding: 5px 0;
    text-align: left;
    color: #999;
}
fieldset>.progressbar li.active {
    color: inherit;
}
fieldset>.progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 28px;
    line-height: 28px;
    display: inline-block;
    font-size: 15px;
    color: #999;
    background: #eff0f2;
    border-radius: 14px;
    margin: 0 10px 5px auto;
    position: relative;
    z-index: 1;
    text-align: center;
    font-family: sans-serif;
}
/*progressbar connectors*/
fieldset>.progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: 0; /*put it behind the numbers*/
}
fieldset>.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*/
fieldset>.progressbar li.active:before,  fieldset>.progressbar li.active:after{
	background: #F15B3B;
	color: white;
}

fieldset>.progressbar li.active:after {
    background: none;
}

fieldset>.progressbar li.passed:before {
    font-family: FontAwesome;
    content: "\f00c";
    color: green;
}