/*basic reset*/
* {margin: 0; padding: 0;}

label {
    font-weight: normal !important;
}
.check{
    float: left;
    width: 10%!important;
    text-align: left;
}
.check2{
    float: left;
    width: 4%!important;
    text-align: left;
}

/*form styles*/
.error-element{
    float: left;
    margin: 7px;
    color: red;
}
.has-error{
  border-color: red!important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-error:focus {
  border-color: red!important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.clear-both{
    clear: both;
}
.lg-input{
    width: 70%!important;
    float: left;
    margin: 2px;
}
.m-lg-input{
    width: 55%!important;
    float: left;
    margin: 2px;
}
.md-input{
    width: 45%!important;
    float: left;
    margin: 2px;
}
.half-input{
    width: 38%!important;
    float: left;
    margin: 2px;
}
.third-input{
    width: 28%!important;
    float: left;
    margin: 2px;
}
.quart-input{
    width: 22%!important;
    float: left;
    margin: 2px;
}
.fifth-input{
    width: 15%!important;
    float: left;
    margin: 2px;
}
.sixth-input{
    width: 11%!important;
    float: left;
    margin: 2px;
}
.seven-input{
    width: 9%!important;
    float: left;
    margin: 2px;
}
.small-input{
    width: 50px!important;
    float: left;
    margin: 2px;
}
.phone-input{
    width: 73px!important;
    float: left;
    margin: 2px;
}
.terms{
    font-size: 11px;
    color: red;
    float: left;
}
.left{
    float: left;
    margin-left: 20%;
    width: 50%;
    padding-bottom: 25px;
}
.left2{
    float: left;
    width: 48%;
    height: 25%;
    margin-bottom: 20px;
}
.inner_row_eight{
    float: left;
    width: 12.5%;
}
.inner_row_quart{
    float: left;
    width: 25%;
}
.inner_row_half{
    float: left;
    width: 50%;
}
.inner_row{
    float: left;
    width: 100%;
}
.full{
    float: left;
    margin: auto;
    width: 100%;
    font-size: 12px;
}
.right{
    float: left;
    margin: auto;
    width: 50%;
    padding-bottom: 25px;
}
.left input{
    width: 10%!important;
}
.full input{
    width: 2%!important;
}
.right input{
    width: 10%!important;
}
.left-marg-lg{
    margin-left: 30%;
}
#myform {
	margin: 50px auto;
	text-align: center;
	position: relative;
}
#myform fieldset{
    text-align: left;
	background: white;
	border: 0 none;
	border-radius: 3px;
	box-shadow: 0 0 18px 1px #3949a0;
	padding: 20px 30px;
	box-sizing: border-box;
	width: 80%;
	margin: 0 10%;
    max-height: 680px;
    overflow: hidden;
	/*stacking fieldsets above each other*/
	position: relative;
}
#myform fieldset h1{
    text-align: center;
    color: #3949a0;
}
/*Hide all except first fieldset*/
#myform fieldset:not(:first-of-type) {
	display: none;
}
/*inputs*/
#myform input, myform textarea {
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 80%;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;
}
#myform select{	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 33%;
	box-sizing: border-box;
	color: #2C3E50;
	font-size: 13px;}
/*buttons*/
#myform .action-button {
	width: 100px;
	font-weight: bold;
	color: #000;
	border: 1px solid #000;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px;
    float: right
}
#myform .action-button:hover, #myform .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #000;
}
/*headings*/
.myform-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.myform-subtitle {
	font-weight: normal;
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
#progressbar li {
	list-style-type: none;
	text-transform: uppercase;
	font-size: 9px;
	width: 20%;
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
    background: #fff;
	color: #333;
	border-radius: 3px;
    border: 1px solid #000;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
    background: #000;
	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;
}


@media (max-width: 480px) {
        #myform fieldset{
	width: 100%;
	margin: 0 1%;
    max-height: 1240px;
}
#myform input, myform textarea {
	padding: 2px;
	margin-bottom: 2px;
}

.left{
    margin-left: 1%;
    width: 100%;
}
.left2{
    width: 100%;
    height: 25%;
}
.error-element{
    margin: 2px;
}
.lg-input{
    width: 100%!important;
}
.m-lg-input{
    width: 100%!important;
}
.md-input{
    width: 100%!important;
}
.half-input{
    width: 100%!important;
}
.third-input{
    width: 80%!important;
}
.quart-input{
    width: 100%!important;
}
.fifth-input{
    width: 100%!important;
}
.sixth-input{
    width: 100%!important;
}
.seven-input{
    width: 100%!important;
}
.small-input{
    width: 50px!important;
}
.phone-input{
    width: 73px!important;
}
.inner_row_eight{
    width: 100%;
}
.inner_row_quart{
    width: 100%;
}
.inner_row_half{
    width: 80%;
}
.inner_row{
    width: 100%;
}
.left input{
    width: 30px!important;
}
.full input{
    width: 30px!important;
}
.right input{
    width: 30px!important;
}
    }

