@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.mortgage__holder * {
  box-sizing: border-box;

}

.mortgage__holder {
  padding-top: 80px;

  --font-family: "Montserrat";

}

.page__content {
  padding: 0 15px;
  max-width: calc(1218px + 15px * 2);
  margin-inline: auto;
}

.page__h1 {
  font-weight: 700;
  font-size: 36px;
  text-transform: uppercase;
  color: #2b2e34;
}



/* app styles ++++++++++++++++*/
.mortgageOffersTabs__list {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  --gap: 17px;
  gap: var(--gap)
}

.mortgageOffersTabs__item {
  width: calc(100% / 4 - var(--gap) * 2);
  border-radius: 29px;
  padding: 10px 15px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  transition: .25s;
  cursor: pointer;
  text-transform: uppercase;
  color: #2b2e34;
  background: #eeeae3;
  text-align: center;
}

.mortgageOffersTabs__item:hover,
.mortgageOffersTabs__item.active {
  background: #d77331;
  color: #fff;
}

.moreOffers__link:hover {
  color: #d77331 !important;
}

.mortgage__contacts a:hover {
  color: #fff !important;
}


.mortgageCalc__btn {
  transition: .25s;
  cursor: pointer;
  text-decoration: none;

}

.mortgageCalc__row {
  display: flex;
  justify-content: space-between;
  --gap: 58px;
  --inputsWidth: 555px;
  margin-top: 100px;
}

.mortgageCalcCol__inputs {
  width: calc(var(--inputsWidth) - var(--gap) / 2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mortgageCalcCol__offers {
  width: calc(100% - var(--inputsWidth) - var(--gap) / 2);
}


.mortgageCalcInputs__item {
  --gutterX: 14px;
  margin-bottom: 70px;
}

.mortgageCalcInputsItem__top {
  padding: 15px 27px;
  border-radius: 19px;
  background: #eeeae3;
}

.mortgage__holder .mort-calc__txt {
  margin-top: 50px;
}

.mortgageCalcRangeInput__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  color: rgba(43, 46, 52, 0.5);
}

.mortgageCalcInput__slider {
  position: relative;
  --handleSize: 33px;


  width: calc(100% - var(--gutterX) * 2);
  margin-inline: auto;
  transform: translateY(-100%);
}

.mortgageCalcRange__input {
  opacity: 0;
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  left: 0;
  top: 0;
  overflow: hidden;

}

.mortgageCalcRangeInput__val {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 21px;
  line-height: 210%;
  color: #2b2e34;
}



.mortgageCalcInputSlider__content {
  height: 5px;
  background: #c9c7c2;
  position: relative;
}



.mortgageCalcInputSlider__min {
  height: 100%;
  width: var(--rangepercent);
  position: absolute;
  top: 0;
  left: 0;
  background: #d77331;
}

.mortgageCalcInputSlider__handle {
  border-radius: 50%;
  width: var(--handleSize);
  height: var(--handleSize);
  border: 1px solid #fff;
  background: #d77331;

  position: absolute;
  left: var(--rangepercent);
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


.mortgageCalcInputsItem__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding: 0 var(--gutterX);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  color: rgba(43, 46, 52, 0.5);
}

.mortgageCalc__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 15px;
  width: 100%;
  max-width: 376px;
  border-radius: 23px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  transition: .25s;
}

.mortgageCalcBtn__offer {
  color: #fff;
  background: #d77331;
}


.mortgageCalcBtn__link {
  background: #eeeae3;
  color: #d77331;
  margin-top: 20px;
}

.mortgageCalcBtn__offer:hover {
  background: #eeeae3;
  color: #d77331;
}

.mortgageCalcBtn__link:hover {
  color: #fff !important;
  background: #d77331;
}

.mortgageOffers__list {
  --logoSize: 57px;
}

.mortgageOffersItem__logo {
  width: var(--logoSize);
  height: var(--logoSize);
  display: flex;
  align-items: center;
}

.mortgageOffersItem__logo img {
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.mortgageOffers__item {
  background: #eeeae3;
  border-radius: 19px;
}

.mortgageOffers__item+.mortgageOffers__item {
  margin-top: 20px;
}

.mortgageOffersItem__top {
  border-bottom: 1px solid #c9c7c2;
  padding-top: 11px;
  padding-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mortgageOffersItem__top,
.mortgageOffersItem__bottom {
  padding-left: 40px;
  padding-right: 30px;
}

.mortgageOffersItem__bottom {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.mortgageOffersItemTop__left {
  display: flex;
  align-items: center;
}

.mortgageOffersItem__name {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 21px;
  line-height: 210%;
  color: #2b2e34;
}


.mortgageOffersItem__price {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 21px;
  line-height: 210%;
  color: #2b2e34;
}


.mortgageOffersItem__detail,
.mortgageOffersItem__percent {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 15px;
  line-height: 293%;
  color: #2b2e34;
}

.mortgageCalcBtns__list {
  padding-bottom: 59px;
}

.moreOffers__link {
  margin-top: 35px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 137%;
  color: #2b2e34;
  margin-inline: auto;
  text-decoration: none;
  display: block;
  width: max-content;
  border-bottom: 1px solid #d77331;
  transition: .25s;
}

/* app styles ----------------- */



.mortgageBanner__section {
  padding-top: 125px;
  padding-bottom: 125px;
  background: url(/upload/pages/mortgage/bg_1-min.png);
}

.mortgageBanner__info {
  max-width: 578px;
  margin-inline: auto;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 21px;
  line-height: 138%;
  text-align: center;
  color: #fff;
}

.mortGageFrom__btn {
  background: #d77331;
  border-radius: 23px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  max-width: 376px;
  margin-inline: auto;
  border: 1px solid #d77331;
  padding: 8px 40px;
  margin-top: 50px;
  display: block;
  transition: .25s;
  cursor: pointer;

}

.mortGageFrom__btn:hover {
  color: #d77331 !important;

  background: #fff;
}

.mortgageInfo__row {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.mortgageInfo__col {
  width: calc(100% / 2);
  height: 100%;
}



.mortgageInfo__row .mortgageInfo__col {
  height: auto;
}

.mortgageInfo__col img {
  max-width: 100%;
  height: 100%;

}

.mortgageInof__outer {
  position: relative;
  overflow: hidden;
}

.mortgageBg__row {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mortgageInfo__row {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 160px;
}

.mortgageInfo__row .mortgageInfo__col {
  padding: 60px;
  padding-bottom: 0;
}

.mortgageInfo__row .mortgageInfo__col:first-child {
  padding-left: 0;
}

.mortgageInfo__row .mortgageInfo__col:last-child {
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mortgageInfo__col h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 122%;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.mortgageInfo__col h4 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 122%;
  color: #fff;
}

.mortgageInfo__col p {
  font-family: var(--font-family);

  font-size: 17px;
  line-height: 129%;
  color: #2b2e34;
}

.mortgage__contacts {
  position: absolute;
  right: 0;
  bottom: 0;

  background: #d77331;
  color: #fff;
  padding: 25px;
  width: 100%;
  max-width: 784px;
  display: flex;
  justify-content: center;
}

.mortgage__contacts p,
.mortgage__contacts a {
  text-align: center;
  color: #fff;
  display: block;
}

.mortgageContacts__inner {
  max-width: 400px;
}

.mortgage__contacts p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 17px;
  line-height: 129%;
  color: #fff;
}


.mortgage__contacts a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 69%;
  color: #fff;
  text-decoration: none;
  margin-top: 20px;
  transition: .25s;
}


 .mortgageCalcRangeInput__val,
 .mortgageCalcRangeInput__val span,
 .mortgageCalcRange__val  span {
	user-select: none;
}


.no__offers {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}