:root {
  --fancybox-accent-color: #0096FF;
  --fancybox-thumbs-border-radius: 0px;
}
.main_mortgage_container {
  padding: 50px 4px 50px 50px;
  margin: 0 0 30px 0;
  background: #FFFFFF;
  border-radius: 20px;
}
@media (max-width: 1199px) {
  .main_mortgage_container {
    padding: 50px;
  }
}
@media (max-width: 991px) {
  .main_mortgage_container {
    padding: 50px 30px;
  }
}
@media (max-width: 576px) {
  .main_mortgage_container {
    padding: 30px 15px;
  }
}
.mortgage-block {
  background: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(25, 30, 45, 0.05);
  border-radius: 20px;
  padding: 50px 10px 50px 50px;
  margin: 0 0 30px 0;
}
@media (max-width: 991px) {
  .mortgage-block {
    padding: 50px 20px 50px 30px;
  }
}
@media (max-width: 576px) {
  .mortgage-block {
    padding: 30px 5px 30px 15px;
  }
}
.mortgage-block.mortgage-block__mb70 {
  margin-bottom: 70px;
}
.mortgage-block h2 {
  font-weight: 32px;
  font-weight: 400;
}
.mortgage-block h2 .sub_title {
  font-size: 20px;
  color: #88919D;
}
.mortgage-calc {
  display: flex;
  width: 100%;
}
.mortgage-calc .mortgage-calc__param {
  flex: 0 0 auto;
  width: 270px;
  margin-right: 50px;
}
.mortgage-calc .mortgage-calc__data {
  flex: 1 1 auto;
}
@media (max-width: 991px) {
  .mortgage-calc {
    display: block;
  }
  .mortgage-calc .mortgage-calc__param {
    width: 100%;
    padding: 0 10px 0 0;
    margin: 0 0 30px 0;
  }
}
@media (max-width: 576px) {
  .mortgage-calc .mortgage-calc__param {
    margin: 0 0 10px 0;
  }
}
/*Калькулятор.*/
.mortgage_calc_cont {
  display: inline-block;
  width: 100%;
  padding: 60px 78px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #D5DBE0;
}
.mortgage_calc_cont .fromtoslider {
  margin-top: 25px;
  margin-bottom: 40px;
}
.mortgage_calc_cont .fromtoslider.with_top_field {
  margin-top: 0;
}
.mortgage_calc_cont .fromtoslider.no_handle_box {
  margin-bottom: 0;
}
.mortgage_calc_cont .slider_limits {
  position: relative;
  top: -10px;
  font-size: 12px;
}
.mortgage_calc_feilds_list hr {
  margin-top: 0;
  margin-bottom: 30px;
}
.mortgage_calc_feilds_list .field_title {
  margin-bottom: 12px;
}
.mortgage_calc_feilds_list .oposite_sides_inputs {
  overflow: hidden;
}
.mortgage_calc_feilds_list .oposite_sides_inputs .right {
  float: right;
}
.mortgage_calc_feilds_list .oposite_sides_inputs .left {
  float: left;
}
.mortgage_calc_feilds_list .field_cont {
  width: 100%;
  display: inline-block;
  margin-bottom: 46px;
}
.mortgage_calc_feilds_list .field_cont .radio_line {
  display: block;
  margin-bottom: 5px;
}
.mortgage_calc_feilds_list .field_cont .field_wrap {
  position: relative;
}
.mortgage_calc_feilds_list .field_cont .field_wrap .first_pay_field {
  position: absolute;
  top: 1px;
  right: 38px;
  width: 35px;
  height: 52px;
  line-height: 52px;
  font-size: 18px;
  text-align: right;
  color: #cccccc;
  background: transparent;
  border: none;
}
.mortgage_calc_feilds_list .field_cont .field_wrap .first_pay_text {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 35px;
  height: 52px;
  line-height: 52px;
  font-size: 18px;
  color: #cccccc;
  cursor: text;
}
.mortgage_calc_feilds_list .field_cont .select_field {
  height: 54px;
  width: 100%;
  line-height: 52px;
  font-size: 18px;
  padding: 0 0 0 28px;
  border: 1px solid #D5DBE0;
  background: transparent;
  border-radius: 5px;
}
.slider_top_field {
  height: 53px;
  width: 100%;
  line-height: 52px;
  font-size: 18px;
  padding: 0 0 0 28px;
  border: 1px solid #D5DBE0;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.slider_limits .max {
  float: right;
}
/*Блок калькулятора.*/
.mortgage_calc_block .field_cont {
  margin: 0 0 35px 0;
}
@media (max-width: 767px) {
  .mortgage_calc_block .field_cont {
    margin: 0 0 25px 0;
  }
}
.mortgage_calc_block .field_cont .title {
  color: #88919D;
  font-size: 14px;
  margin: 0 0 10px 0;
}
@media (max-width: 767px) {
  .mortgage_calc_block .field_cont .title {
    font-size: 12px;
  }
}
@media (max-width: 991px) {
  .mortgage_calc_block .field_cont.half {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .mortgage_calc_block .field_cont.half {
    width: 100%;
  }
}
/*Слайдер диапазона значений. Кастомизация JQUERY UI-слайдера.*/
.fromtoslider {
  margin-top: 15px;
  width: 100%;
  margin-bottom: 50px;
}
.fromtoslider.no_handle_box {
  margin-bottom: 16px;
}
.fromtoslider.ui-slider {
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: #e6ecf2;
}
.fromtoslider.ui-slider .ui-widget-header {
  background: #0096FF;
}
.fromtoslider.ui-slider .ui-slider-handle {
  width: 42px;
  height: 44px;
  background: url('/img/slider_handle.png') center 0 no-repeat;
  border: 0px;
  cursor: pointer;
  margin-top: -12px;
  margin-left: -21px;
}
.fromtoslider .ui-slider-handle .ui_handle_box_val {
  position: absolute;
  font-family: 'Stolzl', sans-serif;
  top: 38px;
  left: -40px;
  font-size: 18px;
  color: #000;
  width: 120px;
  text-align: center;
  font-weight: 300;
}
.fromtoslider .ui-slider-handle.too_close .ui_handle_box_val {
  top: 21px;
  left: 100%;
  text-align: left;
}
.slider_cont .fromtoslider {
  width: auto;
  margin-right: 55px;
  margin-left: 15px;
}
@media (min-width: 992px) {
  .pricecol {
    width: 400px;
  }
}
.mortgage_calc_full_cont {
  padding: 50px;
  background: #ffffff;
  border-radius: 20px;
  margin: 0 0 40px 0;
  box-shadow: 0px 4px 4px rgba(25, 30, 45, 0.05);
}
@media (max-width: 1199px) {
  .mortgage_calc_full_cont {
    padding: 50px 30px;
  }
}
@media (max-width: 767px) {
  .mortgage_calc_full_cont {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 0 20px 0;
  }
}
.mortgage_bottom_text {
  font-size: 12px;
  line-height: 1.5;
  color: #88919D;
}
.mortgage_offers_cont {
  position: relative;
}
/*Список ссылок на разделы с информацией о ипотеке.*/
.mortgage_types_refs .line {
  display: none;
  text-align: center;
}
.mortgage_types_refs .line.active {
  display: block;
}
.mortgage_types_refs .btn-def {
  font-size: 12px;
}
/*Список предложений банков.*/
.bank_offers_list {
  padding: 20px 25px 0 5px;
  max-height: 470px;
  overflow: auto;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  scrollbar-color: #CDD4FF transparent;
  scrollbar-width: thin;
  background: #ffffff;
  /* Chrome, Edge, and Safari */
}
.bank_offers_list * {
  scrollbar-width: thin;
  scrollbar-color: #8f54a0 #ffffff;
}
.bank_offers_list::-webkit-scrollbar {
  width: 10px;
}
.bank_offers_list::-webkit-scrollbar-track {
  background: transparent;
}
.bank_offers_list::-webkit-scrollbar-thumb {
  background-color: #CDD4FF;
  border-radius: 10px;
  border: 3px solid #ffffff;
}
.bank_offers_list h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 15px 0;
}
.bank_offers_list .bank_offer_item + h2 {
  margin: 30px 0 15px 0;
}
.bank_offers_list .bank_offer_item {
  margin: 0 0 15px 0;
}
.bank_offers_list .mobile_open_button {
  display: none;
}
@media (max-width: 991px) {
  .bank_offers_list {
    padding: 20px 10px 0 0;
  }
}
@media (max-width: 576px) {
  .bank_offers_list {
    max-height: none;
    overflow: visible;
  }
  .bank_offers_list .mobile_open_button {
    display: inline-flex;
  }
  .bank_offers_list .mobile_openable_box {
    display: none;
  }
}
.fully_visible_offers .bank_offers_list {
  max-height: none;
  padding: 20px 0 0 0;
}
@media (max-width: 576px) {
  .fully_visible_offers .bank_offers_list .mobile_open_button {
    display: none;
  }
  .fully_visible_offers .bank_offers_list .mobile_openable_box {
    display: block;
  }
}
/*Заголовок таблицы ипотечных предложений.*/
.bank_offers_head {
  display: flex;
  font-size: 12px;
  color: #88919D;
  background: #fff;
  z-index: 1;
  padding: 0 57px 0 32px;
  margin-bottom: 5px;
}
.bank_offers_head .bank_title {
  width: 30%;
  flex: 0 0 auto;
  padding-left: 10px;
}
.bank_offers_head .rate {
  width: 100%;
  flex: 1 1 auto;
}
.bank_offers_head .first_pay {
  width: 20%;
  flex: 0 0 auto;
}
.bank_offers_head .month_pay {
  width: 25%;
  flex: 0 0 auto;
}
.bank_offers_head .plus-minus {
  flex: 0 0 auto;
  width: 36px;
}
@media (max-width: 1199px) {
  .bank_offers_head .bank_title {
    width: 42%;
  }
  .bank_offers_head .first_pay {
    display: none;
  }
  .bank_offers_head .month_pay {
    width: 35%;
  }
}
@media (max-width: 991px) {
  .bank_offers_head {
    padding: 0 30px 0 20px;
  }
  .bank_offers_head .bank_title {
    width: 30%;
  }
  .bank_offers_head .first_pay {
    display: block;
    width: 20%;
  }
  .bank_offers_head .month_pay {
    width: 25%;
  }
}
@media (max-width: 767px) {
  .bank_offers_head .bank_title {
    width: 42%;
  }
  .bank_offers_head .first_pay {
    display: none;
  }
  .bank_offers_head .month_pay {
    width: 35%;
  }
  .bank_offers_head .plus-minus {
    display: none;
  }
}
@media (max-width: 576px) {
  .bank_offers_head {
    display: none;
  }
}
.bank_offer_item {
  padding: 23px 30px 23px 30px;
  background: #ffffff;
  color: #272727;
  font-size: 16px;
  border-radius: 20px;
  border: 2px solid transparent;
  position: relative;
  z-index: 0;
  box-shadow: 0px 4px 4px rgba(25, 30, 45, 0.05);
}
.bank_offer_item .offer_params {
  display: flex;
  align-items: center;
}
.bank_offer_item .param .title {
  display: none;
  font-size: 12px;
  font-weight: 300;
  margin: 0 0 5px 0;
  color: #88919D;
}
.bank_offer_item .bank_title {
  width: 30%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  font-size: 14px;
}
.bank_offer_item .bank_title .bank-img {
  width: 50px;
  text-align: center;
  margin-right: 15px;
  min-width: 50px;
  position: relative;
}
.bank_offer_item .bank_title .bank-img img {
  max-width: 100%;
}
.bank_offer_item .bank_title .bank-img .bank_offer_childs_count {
  position: absolute;
  top: -10px;
  right: -18px;
  width: 32px;
  height: 32px;
  text-align: center;
  border-radius: 50%;
  background-color: #0096FF;
  color: #ffffff;
  line-height: 30px;
  border: 2px solid #ffffff;
}
.bank_offer_item .bank_title .bank-name {
  font-weight: 400;
}
.bank_offer_item .rate {
  width: 100%;
  flex: 1 1 auto;
  text-align: left;
  font-weight: 400;
}
.bank_offer_item .first_pay {
  width: 20%;
  flex: 0 0 auto;
  text-align: left;
  font-weight: 400;
}
.bank_offer_item .month_pay {
  width: 25%;
  flex: 0 0 auto;
  text-align: left;
  font-weight: 400;
  white-space: nowrap;
}
.bank_offer_item .plus-minus {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}
.bank_offer_item .info-with-icon {
  display: flex;
  font-size: 14px;
  margin: 15px 0 0 0;
}
.bank_offer_item .info-with-icon .icon {
  flex: 0 0 auto;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
}
.bank_offer_item .info-with-icon .text > *:last-child {
  margin-bottom: 0;
}
.bank_offer_item .info-with-icon.blue-info {
  color: #0096FF;
}
.bank_offer_item .info-with-icon.yellow-info {
  color: #FF9933;
}
.bank_offer_item .additional_info {
  font-size: 14px;
  line-height: 1.5;
  color: #88919D;
  margin: 15px 0 0 0;
}
.bank_offer_item .additional_info a {
  color: inherit;
}
.bank_offer_item .additional_info p {
  margin-bottom: 8px;
}
.bank_offer_item .additional_info *:last-child {
  margin-bottom: 0;
}
.bank_offer_item .additional_info .link {
  color: #88919D;
  text-decoration: none;
}
.bank_offer_item .additional_info .link .icon-arrow-right {
  width: 7px;
  height: 13px;
  margin: 0 0 2px 6px;
}
.bank_offer_item .additional_info .link:hover {
  color: #0096FF;
}
@media (max-width: 1199px) {
  .bank_offer_item {
    padding: 20px;
  }
  .bank_offer_item .bank_title {
    width: 42%;
  }
  .bank_offer_item .first_pay {
    display: none;
  }
  .bank_offer_item .month_pay {
    width: 35%;
  }
}
@media (max-width: 991px) {
  .bank_offer_item {
    font-size: 14px;
  }
  .bank_offer_item .bank_title {
    width: 30%;
    font-size: 12px;
  }
  .bank_offer_item .first_pay {
    display: block;
    width: 20%;
  }
  .bank_offer_item .month_pay {
    width: 25%;
  }
}
@media (max-width: 767px) {
  .bank_offer_item .bank_title {
    width: 42%;
  }
  .bank_offer_item .first_pay {
    display: none;
  }
  .bank_offer_item .month_pay {
    width: 35%;
  }
  .bank_offer_item .plus-minus {
    display: none;
  }
}
@media (max-width: 576px) {
  .bank_offer_item .offer_params {
    flex-wrap: wrap;
  }
  .bank_offer_item .param .title {
    display: block;
  }
  .bank_offer_item .bank_title {
    font-size: 14px;
    width: 100%;
    margin: 0 0 12px 0;
    order: 1;
  }
  .bank_offer_item .rate {
    width: 50%;
    order: 3;
  }
  .bank_offer_item .first_pay {
    display: block;
    width: 50%;
    order: 3;
  }
  .bank_offer_item .month_pay {
    width: 100%;
    order: 2;
    margin: 0 0 12px 0;
  }
  .bank_offer_item .additional_info {
    font-size: 12px;
  }
}
.bank_offer_item.bank_offer_best {
  border: 2px solid #0096FF;
}
.bank_offer_item.bank_offer_best.incorrect {
  border-color: #D5DBE0;
}
.bank_offer_item.bank_offer_best.incorrect:after {
  background: #D5DBE0;
}
.bank_offer_item.bank_offer_best:after {
  content: 'Лучшие условия';
  position: absolute;
  display: inline-block;
  top: -12px;
  left: 22px;
  color: #fff;
  background: #0096FF;
  border-radius: 20px;
  line-height: 23px;
  padding: 0 9px;
  font-weight: 400;
  font-size: 12px;
  z-index: 10;
}
.bank_offer_item.has_child {
  cursor: pointer;
}
.bank_offer_item.has_child .plus-minus {
  background: #fff;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 4px rgba(25, 30, 45, 0.05);
}
@media (max-width: 767px) {
  .bank_offer_item.has_child .plus-minus {
    display: none;
  }
}
.bank_offer_item.has_child .plus-minus .plus-minus__znak {
  width: 12px;
  height: 12px;
  position: relative;
}
.bank_offer_item.has_child .plus-minus .plus-minus__znak:after {
  content: '';
  height: 2px;
  width: 100%;
  background: #0096FF;
  position: absolute;
  top: calc(50% - 1px);
  left: 0px;
}
.bank_offer_item.has_child .plus-minus .plus-minus__znak:before {
  content: '';
  position: absolute;
  top: 0px;
  left: calc(50% - 1px);
  height: 100%;
  width: 2px;
  background: #0096FF;
  display: none;
}
.bank_offer_item.minimized .plus-minus .plus-minus__znak:before {
  display: block;
}
.bank_offer_item.incorrect {
  color: #88919D;
}
.bank_offer_item.incorrect .bank_title .bank-img img {
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  /* IE 6-9 */
  opacity: 0.3;
}
.mortgage-block__mini .radio_list .radio_nav_item {
  margin-right: 20px;
  font-size: 14px;
}
.mortgage-block__mini .bank_offers_head .first_pay {
  display: none;
}
.mortgage-block__mini .bank_offers_head .month_pay {
  width: 35%;
}
.mortgage-block__mini .bank_offers_head .bank_title {
  width: 42%;
}
.mortgage-block__mini .bank_offer_item {
  font-size: 14px;
}
.mortgage-block__mini .bank_offer_item .bank_title {
  width: 42%;
}
.mortgage-block__mini .bank_offer_item .first_pay {
  display: none;
}
.mortgage-block__mini .bank_offer_item .month_pay {
  width: 35%;
}
@media (max-width: 1199px) {
  .mortgage-block__mini {
    padding: 50px 20px 50px 30px;
  }
  .mortgage-block__mini .mortgage-calc {
    display: block;
  }
  .mortgage-block__mini .mortgage-calc .mortgage-calc__param {
    width: 100%;
    padding: 0 10px 0 0;
    margin: 0 0 30px 0;
  }
}
@media (max-width: 991px) {
  .mortgage-block__mini {
    padding: 50px 20px 50px 30px;
  }
}
@media (max-width: 767px) {
  .mortgage-block__mini .bank_offer_item .bank_title {
    width: 42%;
  }
  .mortgage-block__mini .bank_offer_item .first_pay {
    display: none;
  }
  .mortgage-block__mini .bank_offer_item .month_pay {
    width: 35%;
  }
  .mortgage-block__mini .bank_offer_item .plus-minus {
    display: none;
  }
}
@media (max-width: 576px) {
  .mortgage-block__mini {
    padding: 30px 5px 30px 15px;
  }
  .mortgage-block__mini .bank_offer_item .offer_params {
    flex-wrap: wrap;
  }
  .mortgage-block__mini .bank_offer_item .param .title {
    display: block;
  }
  .mortgage-block__mini .bank_offer_item .bank_title {
    width: 100%;
    margin: 0 0 12px 0;
    order: 1;
  }
  .mortgage-block__mini .bank_offer_item .rate {
    width: 50%;
    order: 3;
  }
  .mortgage-block__mini .bank_offer_item .first_pay {
    display: block;
    width: 50%;
    order: 3;
  }
  .mortgage-block__mini .bank_offer_item .month_pay {
    width: 100%;
    order: 2;
    margin: 0 0 12px 0;
  }
}
/*Grid для баннеров.*/
.one_big_two_small_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px 15px;
  grid-auto-flow: row;
  grid-template-areas: "big big small1" "big big small2";
  margin: 0 0 15px 0;
}
.one_big_two_small_grid .big {
  grid-area: big;
}
.one_big_two_small_grid .small.first {
  grid-area: small1;
}
.one_big_two_small_grid .small.second {
  grid-area: small2;
}
.one_big_two_small_grid.reverse {
  grid-template-areas: "small1 big big" "small2 big big";
}
@media (max-width: 991px) {
  .one_big_two_small_grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "big big big small1 small1" "big big big small2 small2";
  }
  .one_big_two_small_grid.reverse {
    grid-template-areas: "small1 small1 big big big" "small2 small2 big big big";
  }
}
@media (max-width: 767px) {
  .one_big_two_small_grid {
    display: block;
  }
}
/*Баннеры с программи.*/
.mortgage_program_block {
  position: relative;
  height: 100%;
  padding: 30px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mortgage_program_block .gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(2, 13, 24, 0) 0%, rgba(2, 13, 24, 0.504) 100%);
}
.mortgage_program_block .title {
  position: relative;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 12px 0;
}
.mortgage_program_block .description {
  position: relative;
  font-size: 16px;
  line-height: 1.5;
}
.mortgage_program_block .bottom {
  position: relative;
  margin: 12px 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mortgage_program_block .btn-gray {
  color: #D5DBE0;
}
.mortgage_program_block .btn-gray:hover {
  color: #ffffff;
}
@media (max-width: 767px) {
  .mortgage_program_block {
    height: 225px;
    margin: 0 0 15px 0;
  }
}
@media (max-width: 576px) {
  .mortgage_program_block {
    min-height: 190px;
    padding: 30px 15px 20px 15px;
  }
  .mortgage_program_block .title {
    font-size: 20px;
    margin: 0 0 15px 0;
  }
  .mortgage_program_block .description {
    font-size: 14px;
  }
  .mortgage_program_block .bottom {
    margin: 15px 0 0 0;
  }
}
.one_big_two_small_grid .big .mortgage_program_block {
  min-height: 460px;
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .one_big_two_small_grid .big .mortgage_program_block {
    min-height: 0;
    height: 450px;
  }
}
.one_big_two_small_grid .big .title {
  font-size: 32px;
  margin: 0 0 20px 0;
}
.one_big_two_small_grid .big .bottom {
  margin: 20px 0 0 0;
}
@media (max-width: 576px) {
  .one_big_two_small_grid .big .mortgage_program_block {
    height: 300px;
  }
  .one_big_two_small_grid .big .title {
    font-size: 20px;
    margin: 0 0 15px 0;
  }
  .one_big_two_small_grid .big .bottom {
    margin: 15px 0 0 0;
  }
}
/*Карточка предложения ипотеки.*/
.mortgage_offer_card {
  position: relative;
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 4px 4px rgba(25, 30, 45, 0.05);
}
@media (max-width: 767px) {
  .mortgage_offer_card {
    padding: 25px 20px;
  }
}
.mortgage_offer_card .bank_title {
  display: flex;
  align-items: center;
  margin: 0 0 10px 0;
}
@media (max-width: 576px) {
  .mortgage_offer_card .bank_title {
    margin: 0 0 12px 0;
  }
}
.mortgage_offer_card .bank_title .bank-img {
  width: 50px;
  text-align: center;
  margin-right: 15px;
  min-width: 50px;
}
.mortgage_offer_card .bank_title .bank-img img {
  max-width: 100%;
}
.mortgage_offer_card .bank_title .bank-name {
  font-size: 14px;
  font-weight: 400;
}
.mortgage_offer_card .best_offer_words {
  font-size: 18px;
  color: #272727;
  margin: 0 0 20px 0;
}
@media (max-width: 767px) {
  .mortgage_offer_card .best_offer_words {
    position: absolute;
    top: -12px;
    display: block;
    padding: 0 10px;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    border-radius: 20px;
    color: #ffffff;
    background: #0096FF;
  }
}
.mortgage_offer_card .param {
  margin: 0 0 20px 0;
}
@media (max-width: 576px) {
  .mortgage_offer_card .param {
    margin: 0 0 12px 0;
  }
}
.mortgage_offer_card .param .title {
  font-size: 14px;
  color: #88919D;
  margin: 0 0 10px 0;
}
.mortgage_offer_card .param .value {
  font-weight: 400;
  font-size: 18px;
  color: #0096FF;
}
@media (max-width: 576px) {
  .mortgage_offer_card .param .value {
    font-size: 16px;
  }
}
.mortgage_offer_card .param .info-with-icon {
  display: flex;
  font-size: 14px;
  line-height: 1.5;
}
.mortgage_offer_card .param .info-with-icon .icon {
  flex: 0 0 auto;
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 8px 0 0;
}
.mortgage_offer_card .param .info-with-icon.blue-info {
  color: #0096FF;
}
.mortgage_offer_card .param .additional_info {
  font-size: 14px;
  line-height: 1.5;
  color: #88919D;
}
.mortgage_offer_card .param .additional_info a {
  color: inherit;
}
.mortgage_offer_card .param .additional_info *:last-child {
  margin-bottom: 0;
}
.mortgage_offer_card .param .additional_info p {
  margin-bottom: 8px;
}
.mortgage_offer_card .param .additional_info .link {
  color: #88919D;
  text-decoration: none;
}
.mortgage_offer_card .param .additional_info .link .icon-arrow-right {
  width: 7px;
  height: 13px;
  margin: 0 0 2px 6px;
}
.mortgage_offer_card .param .additional_info .link:hover {
  color: #0096FF;
}
@media (max-width: 767px) {
  .mortgage_best_offer_cont .mortgage_offer_card {
    border: 1px solid #0096FF;
  }
}
.mortgage_lines_list .line {
  background: #ffffff;
  border: 1px solid #D5DBE0;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .mortgage_lines_list .line {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .mortgage_lines_list .line {
    flex-wrap: wrap;
    padding: 30px 15px 15px 15px;
  }
}
.mortgage_lines_list .line .cell {
  width: 50%;
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media (max-width: 991px) {
  .mortgage_lines_list .line .cell.title {
    width: 70%;
  }
}
@media (max-width: 767px) {
  .mortgage_lines_list .line .cell.title {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .mortgage_lines_list .line .cell.title {
    width: 100%;
    flex: 0 0 auto;
    margin: 0 0 10px 0;
  }
}
@media (max-width: 991px) {
  .mortgage_lines_list .line .cell.info {
    width: 30%;
  }
}
@media (max-width: 576px) {
  .mortgage_lines_list .line .cell.info {
    width: 50%;
  }
}
.mortgage_lines_list .line .last_cell {
  width: 120px;
  flex: 0 0 auto;
  text-align: right;
}
@media (max-width: 767px) {
  .mortgage_lines_list .line .last_cell {
    width: 105px;
  }
}
.mortgage_lines_list .line .image {
  display: inline-block;
  width: 60px;
  height: 45px;
  border-radius: 10px;
  background: #c2cde4;
  overflow: hidden;
  margin: 0 15px 0 0;
}
.mortgage_lines_list .line .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

