.slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.slider {
  /* -webkit-appearance: none;  Override default CSS styles */
  /* appearance: none; */
  width: 100%; /* Full-width */
  height: 25px; /* Specified height */
  /* 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 */
}

input[type="range"] {
  -webkit-appearance: slider-horizontal !important;
}

/* 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 */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

/* Form */

.lq-calc-container {
  max-width: 1080px;
  background: white;
  border-radius: 5px;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.lq-calc-input-container {
  display: flex;
  flex-direction: column;
}

.lq-calc-label-container {
  flex: 1;
}

.lq-calc-label-container label {
  font-size: 22px;
  font-weight: 600;
  color: #0c71c3;
}

.lq-calc-final-expense {
  text-align: right;
  font-weight: 600;
  font-size: 20px;
}
.lq-calc-debt {
  text-align: right;
  font-weight: 600;
  font-size: 20px;
}
.lq-calc-income-needs {
  text-align: right;
  font-weight: 600;
  font-size: 20px;
}
.lq-calc-years {
  text-align: right;
  font-weight: 600;
  font-size: 20px;
}

.lq-calc-description {
  font-size: 16px;
}

.lq-calc-range-container {
  flex: 3;
}

.lq-calc-message {
  font-size: 32px;
  text-align: center;
}

.lg-calc-message span {
  display: inline-block;
}

.lq-calc-form-output {
  font-size: 40px;
  font-weight: 800;
  color: #0cc3a5;
  text-shadow: 1px 1px #222;
  line-height: 150%;
}

.lq-calc-button-container {
  display: flex;
  justify-content: center;
  align-content: center;
}

.lq-calc-instant-quote-button {
  background: #f36d00;
  color: white;
  padding: 10px 20px;
  border: 1px #222 solid;
  border-radius: 3px;
  font-size: 22px;
  min-width: 300px;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
}

/* SBS form */

.sbs-form-container {
  max-width: 400px;
  display: block;
  margin-right: auto;
  margin-left: auto;
  padding: 10px;
  position: relative;
  overflow: auto;
}

.sbs-dob-input-container {
  display: flex;
}

.sbs-dob-input-container > div {
  padding-right: 5px;
}

.sbs-dob-input-container > div:last-child {
  padding-right: 0;
}

.sbs-dob-input-container > div > select {
  width: 100%;
}

.sbs-input-container > input, .sbs-input-container > select, .sbs-dob-input-container > div > select, 
.sbs-hw-input-container > div > select {
  padding: 10px;
  border-radius: 3px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: 600;
}

.sbs-hw-input-container > div > input {
  font-weight: 600;
  padding: 11px;
  border-radius: 3px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.sbs-dob-month {
  flex: 3; 
}

.sbs-dob-day {
  flex: 1;
}

.sbs-dob-year {
  flex: 2;
}

.sbs-gender-input-container {
  display: flex;
}

.sbs-gender-input-container > div {
  width: 100%;
}

.sbs-gender-input-container > div > input[type=button] {
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px #222 solid;
}

.sbs-pressed-button {
  background: #ccc !important;
}

.sbs-hw-input-container {
  display: flex;
}

.sbs-hw-input-container > div {
  padding-right: 5px;
  width: 100%;
}

.sbs-hw-input-container > div:last-child {
  padding-right: 0;
}

.sbs-hw-input-container > div > input {
  width: 100%;
}

.sbs-hw-input-container > div > select {
  width: 100%;
}

.sbs-input-container > select {
  width: 100%;
}

.sbs-input-container > input[type=text], .sbs-input-container > input[type=tel] {
  padding: 10px;
  width: 100%;
  font-weight: 600;
}

.sbs-form-step-1 {
  max-width: 400px;
  display: block;
  background: #fff;
  box-shadow: 1px 2px 10px #222;
  padding: 10px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.sbs-form-step-1 p {
  padding-bottom: 0;
}

.sbs-form-step-2 {
  max-width: 400px;
  display: block;
  background: #fff;
  box-shadow: 1px 2px 10px #222;
  padding: 10px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  opacity: 0;
  position: absolute;
}

.sbs-form-step-2 p {
  padding-bottom: 0;
}

.sbs-form-active {
  opacity: 1;
}

.sbs-button-container {
  display: flex;
  justify-content: space-between;
}

.sbs-button-next, .sbs-button-submit, .sbs-button-back {
  background: #1362a3;
  color: white;
  padding: 5px 10px;
  border: 1px #222 solid;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
}

/* Styling for the Original Pinney Form */

.pinney-form {
  position: absolute;
  transform: translateX(-1000px);
}



/* media queries */
/* 
@media screen and (max-width: 1024px) {
  .lq-calc-input-container {
    flex-direction: column;
  }
} */