#mortgage-calculator-form {
    direction: rtl;
    text-align: right;
    padding: 20px 20px 40px 70px;
    background-color: #fff;
    min-width: 60%;
    min-height: 150px;
    position: relative;
    display: grid;
    border-radius: 10px;
    place-items: right;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: inline-block;
  width: 200px;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="number"] {
  display: inline-block;
  min-width: 94%;
  margin-right: 10px;
  height: 40px;
  padding: 10px;
  margin-right: -5px;
  border: 2px solid #daddec;
  border-radius: 10px;
  color: #656880;
  font-size: 1em;
  /* margin: 5px 0 10px; */
}

input[type="range"] {
  display: inline-block;
  min-width: 250px;
  margin-right: 10px;
  height: 0px;
  padding: 0px;
  border: 2px solid #daddec;
  border-radius: 10px;
  color: #656880;
  font-size: 1em;
  /* margin: 5px 0 10px; */
}

#interest-rate-value,
#loan-term-value {
  padding: 8px 10px 8px 10px;
  display: inline-block;
  max-width: 100px;
  font-size: 15px;
  color: #fff;
  margin-right: 3px;
  /* padding-bottom: 3px; */
  /* text-align: center; */
  /* margin-top: 5px; */
  font-weight: bold;
  background-color: #b91335;
  border-radius: 55px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 85%;
  max-height: 0px;
  border-radius: 5px;
  background-color: #ddd;
  outline: none;
  margin-top: 5px;
  margin: 5px 0 5px 0;
  direction: ltr;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #b91335;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-top: 0px;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #b91335;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-top: -5px;
}

#interest-rate-value,
#loan-term-value {
  display: inline-block;
  max-width: 100px;
  margin-right: 10px;
  text-align: center;
  font-weight: bold;
}

#mortgage-calculator-result {
    direction: rtl;
    text-align: right;
    margin-top: 20px;
    padding: 0px 15px 15px 15px;
    max-width: 40%;
    border-radius: 5px;
    background-color: #edeef7;
    font-weight: normal;
    font-size: 18px;
    font-size: 0.9em;
    color: #2c3338;
    margin-top: 0px;
    background-color: #fff;
}

.very-top img {
  height: 27px;
  transform: scale(1);
}

.shadow-box {
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
}

.col-lg-12 {
  flex: 0 0 auto;
  width: 100%;
}

.p-0 {
  padding: 0 !important;
}

.very-top .text {
  font-size: 25px;
  line-height: 27px;
}

.very-top .delimeter {
  font-size: 24px;
  margin: 0 7px;
  line-height: 27px;
}

.mortgage-line {
    width: 98%;
    border-bottom: 2px solid #daddec;
    margin: 20px 0 30px 0;
}

div#mortgage-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: stretch;
  justify-content: space-around;
  max-width: 90%;
}

div#mortgage-form {
  flex: 1;
  padding: 5px;
}

.mortgage-calculator-result {
  flex: 1;
  padding: 20px;
}

input#property-value {
    margin: 20px 0 20px 0;
}

input#interest-rate {
    margin: 20px 0 20px 0;
}

input#equity {
    margin: 20px 0 20px 0;
}

span.sub-item-space {
    box-sizing: border-box;
    color: inherit;
    flex: 1;
    margin: 0 5px 0 9px;
    overflow: hidden;
    position: relative;
}

span.sub-item-space:after {
    bottom: 0;
    color: inherit;
    content: "..........................";
    font-size: 12px;
    height: 100%;
    left: 0;
    letter-spacing: 1px;
    opacity: .5;
    /* position: absolute; */
    right: 0;
}

span.sub-item-bold {
    font-size: 18px;
    font-weight: bold;
}

.circle {
	position: absolute;
	top: -10px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #007bff;
	color: #fff;
	font-size: 12px;
	text-align: ce nter;
	line-height: 20px;
	z-index: 1;
  }
  