/* MULTI-STEP FORM */
/*form styles*/
#msform-badges{
	padding-top: 100px;
}
#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

#msform fieldset {
	padding: 20px;
    background: #f4f7f8;
    border-top: 3px solid #1aa59e;
    box-sizing: border-box;
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input[type="text"]{
	padding-left: 42px;
}
#msform input[type="text"], #msform textarea, #msform select{
	width: 100%;
	border: 1px solid #ccc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    font-size: 20px;
}

#msform input, #msform textarea, #msform select {
    padding: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
    
    font-size: 18px;
    color: #2C3E50;

}

#msform select{
	-webkit-appearance: none;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #1aa59e;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button, #download {
    width: 200px;    
    background-size: 24px;
    
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 12px 5px;
    margin: 10px 5px;
    font-size: 18px;
}

#download{
	    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23FFFFFF"  d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></svg>') no-repeat 90% #d45b2d;
    padding: 16px;
    background-size: 24px;
    
}

#msform .action-button:hover, #msform .action-button:focus {
    /*box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;*/
}

#msform .action-button{
	
}

#msform .action-button-next {
	background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></svg>') #1aa59e no-repeat 90%;
}

#msform .action-button-submit {
	background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></svg>') #d45b2d no-repeat 90%;
}

#msform .action-button-previous {
    width: 200px;
    /*background: #C5C5F1;*/
    
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></svg>') #AAA no-repeat 10%;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    /*box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;*/
    border: 0 none;
}

/*headings*/
#msform .fs-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 0px;
    letter-spacing: 2px;
    font-weight: bold;
    font-style: normal;
}

#msform .fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    font-style: italic;
    color: #333;
    margin-top: 10px;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    overflow: hidden;
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
    letter-spacing: 1px;
    height: 50px;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 36px;
    height: 36px;
    line-height: 34px;
    display: block;
    font-size: 15px;
    
    color: white;
    background: #333;
    border-radius: 28px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #666;
    position: absolute;
    left: -50%;
    top: 18px;
    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: #ee0979;*/
    /*background: #2abf80;*/
    background: #1aa59e;
    color: white;
}


/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #ee0979;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
}


#lead-form{
	height: 100%;
	/*min-height: 800px;*/
}

#msform label{
	/*color: #333;*/
	color: #007e90;
	text-align: left;
	float: left;
	font-size: 18px;
	font-weight: normal;
}

#msform input[type="text"], #msform select{
	background:  no-repeat 10px 14px #FFF;
	padding-left: 50px;
}

#msform #name, #msform #first_name, #msform #last_name{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23E2E5E5" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></svg>');
}


#msform #email{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23E2E5E5" d="M20 4h-16c-1.1 0-1.99.9-1.99 2l-.01 12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2zm0 4l-8 5-8-5v-2l8 5 8-5v2z"></path></svg>');
}

#msform #phone{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23E2E5E5" d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1v3.49c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"></path></svg>');
}

#msform #business_name{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23E2E5E5" d="M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1h-4zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-6 0h-4V5h4v2z"></path></svg>');
}

#msform #gms, #msform #loan_amount{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23E2E5E5" d="M9.56 8.1c-1.6-.51-2.66-.71-2.66-1.88 0-.83.72-1.62 2.1-1.62 1.59 0 2.1.88 2.1 1.94H13c0-1.79-1.17-3.09-3-3.44V1H8v2.11c-1.58.32-3 1.37-3 3.12 0 2.25 1.78 2.8 4 3.52 1.88.61 2.25 1.04 2.25 2.09 0 .9-.67 1.56-2.25 1.56-1.2 0-2.25-.84-2.25-2.06h-2c0 1.88 1.38 3.2 3.25 3.56V17h2v-2.07c2.04-.29 3.2-1.49 3.2-3.1 0-1.87-.94-2.87-3.64-3.73z"></path></svg>');
}

#msform #years_in_biz{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23E2E5E5" d="M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5C3.12 9.5 2 10.62 2 12s1.12 2.5 2.5 2.5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5 1.38 0 2.5-1.12 2.5-2.5s-1.12-2.5-2.5-2.5z"></path></svg>');
}


#msform #credit_score{
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="%23CCCCCC" d="M20 12c0-1.1.9-2 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2zm-4.42 4.8L12 14.5l-3.58 2.3 1.08-4.12-3.29-2.69 4.24-.25L12 5.8l1.54 3.95 4.24.25-3.29 2.69 1.09 4.11z"></path></svg>');
}

#msform input[type="checkbox"] {
	display: block;
	clear: both;
    position: relative;
    -webkit-appearance: none;
    height: 38px;
    width: 68px;
    border-radius: 1.5em;
    background-color: #999;
    border: 2px solid #999!important;
    
    border-color: transparent;
    background-clip: padding-box;
    color: #919FAF;
    vertical-align: middle;
}

#msform input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 50%;
    background-color: white;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-clip: padding-box;
    z-index: 2;
}

#msform input[type="checkbox"]::after {
    position: absolute;
    left: 0.675em;
    top: 0.375em;
    font-family: "Ionicons";
    content: "";
    letter-spacing: 0.75em;
    z-index: 1;
    color: #fff;
}

#msform input[type="checkbox"]:focus {
  color: white;
  border-color: transparent;
  
}

#msform input[type="checkbox"]:checked {
  color: white!important;
  
  background-color: #1aa59e;
  border: 2px solid #1aa59e!important;
}
#msform input[type="checkbox"]:checked::before {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
    color: white!important;
}

#msform input[type="checkbox"]:checked::after {
    color: white!important;
}

.lead-form h1{
	font-size: 16px;
	font-weight: bold;
	font-weight: 500;
	line-height: 20px;
	
	text-transform: uppercase;
}

.lead-form h1 span{
	display: block;
	clear: both;
	
	font-size: 14px;
	font-style: italic;
	font-weight: 200!important;
	color: #333;
	margin-top: 10px;
}


.lead-form h3{
	font-size: 14px;
	text-align: center;
	font-weight: 300!important;
}

.lead-form h3 span{
	/*text-decoration: underline;*/
	border-bottom: 1px solid #1aa59e;
	font-weight: 500;
}

.lead-form #badges{
	margin: 0px auto;
	width: 80%;
	border: 0px solid;
}

.lead-form #badges div{
	display: table;
	height: 150px;
}

.lead-form #badges a{
	vertical-align:middle;
    display: table-cell;
}

.lead-form #badges img{
	max-width: 110px;
	max-height: 90px;
	-webkit-filter: drop-shadow(5px 5px 5px #999 );
	filter: drop-shadow(5px 5px 5px #999);
}

/* Extras */
a{
	color:#444;text-decoration:none;
}
p{
	margin-bottom:.3em;
}

.container-group { 
  width: 230px; 
  margin-left: 20px;
}

#msform input[type=radio].with-font,
#msform input[type=checkbox].with-font {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
    
#msform input[type=radio].with-font ~ label:before,
#msform input[type=checkbox].with-font ~ label:before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f1db";
    letter-spacing: 10px;
    font-size: 1.2em;
    
    width: 1.4em;
}

#msform input[type=radio].with-font:checked ~ label:before,
#msform input[type=checkbox].with-font:checked ~ label:before  {
    content: "\f00c";
    font-size: 1.2em;
    color: darkgreen;
    letter-spacing: 5px;
}

#msform input[type=checkbox].with-font ~ label:before {        
    content: "\f096";
}

#msform input[type=checkbox].with-font:checked ~ label:before {
    content: "\f046";        
    color: darkgreen;
}

#msform input[type=radio].with-font:focus ~ label:before,
#msform input[type=checkbox].with-font:focus ~ label:before,
#msform input[type=radio].with-font:focus ~ label,
#msform input[type=checkbox].with-font:focus ~ label{                
    color: green;
}


#msform label.error{
	color: red;
	font-size: 90%;
	margin-bottom: 15px;
}

.lead-form .generic_content {
    padding-top: 40px!important;
}

.cta{
	background: #1aa59e;
}

.cta.red{
	margin-top: 30px;
	background-color: #d45b2d;
}

.divisor-header{
	border-color: #21b79b!important;
}

#features{
	max-width: 805px;
	margin: 0px auto;
}
#features li{
	list-style: none;
	display: inline;
	margin: auto 5px;
}

#features li:before{
	font-family: FontAwesome;
	content: '\f058';
	color: #1aa59e;
	padding-right: 5px;
}

#badges{
	margin-top: 20px;
	position: relative;
	
}

#badges::before, #badges::after{
	content: "";
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1;  
	width: 100%; 
	height: 150px;
}

#badges::before {
  background: #1aa59e;
  opacity: 0.06;
}

#badges::after {
  background: url(../images/img_slider.jpg);
  background-size: cover;
  opacity: 0.20;
}
