.page-template-home-purchase, .page-template-mortgage_refinance, .page-template-fha_loans{
	background-image:url("http://www.vmcloans.com/wp-content/uploads/2021/06/bg.png");
	background-position:center;
	overflow:initial;
	height: 588px;
}

/*form styles*/
#msform {
  width: 1040px;
  margin: 50px auto;
  text-align: center;
  position: relative;
}
#msform fieldset {
  /* background: white; */
  border: 0 none;
  border-radius: 3px;
  /*box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);*/
  padding: 20px 30px;
  box-sizing: border-box;
  /*width: 80%;
  margin: 0 10%;*/
  
  /*stacking fieldsets above each other*/
  position: relative;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}
/*inputs*/
input[type=range] {
    padding:0px !important;
}
#msform input, #msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2C3E50;
  font-size: 13px;
}
/*buttons*/
#msform .action-button {
  width: 100px;
  background: #fff;
  font-weight: bold;
  color: #EBBD2F;
  border: 0 none;
  border-radius: 1px;
  cursor: pointer;
  padding: 10px 5px;
   margin: 10px 5px; 
  border:2px solid #EBBD2F;
}
/* #msform .action-button:hover, #msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}*/
/*progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
  margin-left: 10em !important;
}
#progressbar li {
  list-style-type: none;
  color: white;
  text-transform: uppercase;
  font-size: 0px;
  width: 5.25%;
  float: left;
  position: relative;
}
#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  /* width: 20px;
  line-height: 20px;*/
  line-height: 4px;
  display: block;
  font-size: 0px;
  color: #333;
  background: white;
  border-radius: 3px;
  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: #EBBD2F;
  color: white;
}
/* HIDE RADIO */
[type=radio] { 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
[type=radio] + img, .selectlabel {
  cursor: pointer;
}

/* CHECKED STYLES */
 .mortgage_sub_field_buttons.active .selectlabel{
  border: 2px solid #EBBD2F;
    border-radius: 50%;
}

/* container
.range-slider-container {
  max-width: 300px;
}*/
input[type=range] {
  width: 100%;
  -webkit-appearance: none;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
h2.headline{
	font-weight:600;
	margin-bottom: 45px;
}
.mortgage_sub_field_buttons {
    display: inline-block;
    
}
.mortgage_sub_field {
    margin-bottom: 30px;
}
.mort_inputfrm_field {
    width: 50%;
}
.mortgage_sub_field_buttons label.selectlabel{
    display: block;
        background-image: url(http://www.vmcloans.com/wp-content/uploads/2021/06/Ellipse-9.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 60px;
    margin: 0px 10px;
    position: relative;
}
label.mortgage_button_style {
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
}
.selectlabel .rightarrow{
    margin: 10px 0px;
}
.selectlabel .iconimg{
    margin-bottom:15px;
    width:50px;
    height:50px;
}
/* .previous.action-button{
        position: absolute;
    right: 140px;
    margin-top: 60px;
}
.next.action-button, .submit.action-button{
    position: absolute;
    right: 25px;
    margin-top: 60px;
} */