
/*form styles*/
body {

}
#msform {

	margin: 50px auto;
	text-align: center;
	position: relative;
}

#msform fieldset {
	/*stacking fieldsets above each other*/
    position: relative;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 20px 35px;
    border-bottom: 1px solid #ddd;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
	display: none;
}



/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
    margin: 0 auto;
    background: #57c9e4;
    padding: 12px 0;
}
#progressbar li {
    list-style-type: none;
    color: #333;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    /*display: inline-block;*/
    position: relative;
    padding: 0;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	border-radius: 38px;
    width: 38px;
    height: 38px;
	line-height: 38px;
	display: block;
	font-size: 10px;
	color: #fff;
	background: #dcdcdc;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 5px;
    background: #dcdcdc;
    position: absolute;
    left: -50%;
    top: 15px;
    z-index: -1;
}
#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: #ec5d31;
	color: white;
}
