/* Style the form */

/* Mark input boxes that gets an error on validation: */
input.inputloanform, select.selectloanform{
  padding: 14px;
  width: 100%;
  background-color: #f5f5f5;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  outline: none;
  color: #808080;
}

input.invalid {
  outline: 1px solid rgba(255, 127, 127);
}

select.invalid {
  outline: 1px solid rgba(255, 127, 127);
}

/* Hide all steps by default: */
.custom-tab {
  display: none;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

/* Mark the active step: */
.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #04AA6D;
}


/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 5px; /* Specified height */
  border-radius: 5px;
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  border-radius: 50%;
  background: #006400; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border:  6px solid white;
  outline: 1px solid lightgrey;
}

.slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  border-radius: 50%;
  background: #006400; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border:  6px solid white;
  outline: 1px solid lightgrey;
}

input[type="radio"].custom-radio {
  /* remove standard background appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* create custom radiobutton appearance */
  display: inline-block;
  width: 20px;
  height: 20px;
  padding: 3px;
  /* background-color only for content */
  background-clip: content-box;
  box-shadow: 1px 2px 5px 0px #6ca150;
  border-radius: 50%;
}

/* appearance for checked radiobutton */
input[type="radio"].custom-radio:checked {
  background-color: #6ca150;
}

.flex{
    display: flex;
    flex-wrap: wrap;
}

.flex .form-tab{
    order: 1;
    display: none;
    width: 100%;
}

.flex input[type="radio"].custom-radio:checked + label + div.form-tab{
    display: block;
}




