.r-wrap {
  padding-left: 20px;
  padding-right: 20px;
}

.r-wrap,
.r-wrap *,
.r-wrap *:before,
.r-wrap *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.r-section {
  margin-bottom: 30px;
}

.r-heading {
  margin: 0 0 20px 0;
  position: relative;
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 24px;
  padding: 18px 0 18px 80px;
}

.r-heading:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background-color: #fcfcfc;
  background-repeat: no-repeat;
  background-position: center center;
}

.r-heading_conditions:before {
  background-image: url(../images/page-refinance/ico-head-conditions.svg);
  -webkit-background-size: 14px 30px;
  background-size: 14px 30px;
}

.r-heading_what-for:before {
  background-image: url(../images/page-refinance/ico-head-what-for.svg);
  -webkit-background-size: 19px 34px;
  background-size: 19px 34px;
}

.r-heading_documents:before {
  background-image: url(../images/page-refinance/ico-head-documents.svg);
  -webkit-background-size: 29px 32px;
  background-size: 29px 32px;
}

.r-heading_for-what:before {
  background-image: url(../images/page-refinance/ico-head-for-what.svg);
  -webkit-background-size: 22px 30px;
  background-size: 22px 30px;
}

.r-heading_main-condition:before {
  background-image: url(../images/page-refinance/ico-head-main-condition.svg);
  -webkit-background-size: 29px 26px;
  background-size: 29px 26px;
}

.r-heading_faq:before {
  background-image: url(../images/page-refinance/ico-head-faq.svg);
  -webkit-background-size: 30px 30px;
  background-size: 30px 30px;
}

.r-heading_location:before {
  background-image: url(../images/page-refinance/ico-head-location.svg);
  -webkit-background-size: 21px 29px;
  background-size: 21px 29px;
}

.r-heading_bank:before {
  background-image: url(../images/page-refinance/ico-head-bank.svg);
  -webkit-background-size: 30px 30px;
  background-size: 30px 30px;
}

.r-btn-arrow,
a.r-btn-arrow {
  display: inline-block;
  vertical-align: bottom;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 24px;
  background-color: #56cd19;
  background-position: 20px center;
  background-repeat: no-repeat;
  background-image: url(../images/page-refinance/ico-arrow-btn-white.svg);
  -webkit-background-size: 25px 11px;
  background-size: 25px 11px;
  border: 1px solid #56cd19;
  border-radius: 4px;
  padding: 17px 68px;
  text-decoration: none;
}

.r-btn-arrow_inverse,
a.r-btn-arrow_inverse {
  background-color: #ecf6e8;
  background-image: url(../images/page-refinance/ico-arrow-btn-green.svg);
  color: #56cd19;
}

.r-btn-arrow:hover,
a.r-btn-arrow:hover {
  color: #fff;
  border-color: #5edb1e;
  background-color: #5edb1e;
  background-image: url(../images/page-refinance/ico-arrow-btn-white.svg);
}

#content .r-desc,
#content .r-desc p,
#content .r-desc ul {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 20px;
}

#content .r-desc ul, #content .r-desc ol {
  padding: 0;
  margin: 15px 0px;
  list-style: none;
}

#content .r-desc ul li , #content .r-desc ol li{
  padding: 0 0 10px 28px;
  margin: 0;
  position: relative;
}

#content .r-desc ul li:before, #content .r-desc ol li:before {
  content: '';
  display: block;
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  background-color: #999;
  border-radius: 50%;
}

.r-conditions {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-bottom: 20px;
}

.r-conditions__option {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  flex-basis: 0;
  flex-grow: 1;
}

.r-conditions__option-unit {
  padding: 3px 0;
  margin-right: 40px;
}

.r-conditions__option-label {
  color: #898989;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 6px;
}

.r-conditions__option-value {
  color: #000;
  font-size: 23px;
  font-weight: 700;
  line-height: 26px;
}

.r-advant {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 20px;
}

.r-advant__item {
  background-color: #f3f3f3;
  border-radius: 2px;
  width: calc(20% - 10px);
  margin-left: 5px;
  margin-right: 5px;
  padding: 10px;
  margin-bottom: 10px;
}

.r-advant__head {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  height: 120px;
}

.r-advant__body {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  height: 60px;
}

.r-advant__old {
  color: #ec445f;
  font-size: 19px;
  font-weight: 400;
  line-height: 22px;
  position: relative;
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
}

.r-advant__old:before {
  content: '';
  display: block;
  position: absolute;
  top: 8px;
  left: 50%;
  margin-left: -53px;
  width: 106px;
  height: 3px;
  background-color: #f49ca8;
  -webkit-transform: rotate(-15.6deg);
  -ms-transform: rotate(-15.6deg);
  -o-transform: rotate(-15.6deg);
  transform: rotate(-15.6deg);
}

.r-advant__new {
  color: #5bca2d;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.r-calc {
  padding: 20px;
  background-color: #fdfdfd;
  border: 1px solid #dbdbdb;
  box-shadow: 0 0 1.9px 0.1px rgba(0, 0, 0, 0.2);
}

.r-calc__head {
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  margin: 0 0 20px 0;
}

.r-calc__body {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

.r-calc__group {
  width: calc(25% + 1px);
  margin-bottom: 20px;
  margin-right: -1px;
}

.r-calc__label {
  display: block;
  margin: 0 0 10px 0;
  color: #898989;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.r-calc .r-calc__control {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 15px;
  background-color: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 0;
  box-shadow: none;
  font-size: 21px;
  font-weight: 400;
  text-align: center;
  outline: none;
}

.r-calc__submit {
  width: 100%;
}

.r-calc__btn {
  display: block;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  width: 100%;
  background-color: #56cd19;
  border-radius: 4px;
  border: none;
  padding: 18px;
  cursor: pointer;
}

.r-calc__btn:hover {
  background-color: #5edb1e;
}

.r-calc__foot {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: #000;
  text-align: left;
  margin-top: 20px;
}

.r-calc__foot a {
  color: #287ad3;
  text-decoration: underline;
}

.r-calc__foot a:hover {
  color: #287ad3;
  text-decoration: none;
}

.r-doc__item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9e9e9;
}

.r-doc {
  margin-bottom: 30px;
}

.r-doc__head {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
}

.r-doc__ico {
  -webkit-flex: 0 0 80px;
  -moz-flex: 0 0 80px;
  -ms-flex: 0 0 80px;
  -o-flex: 0 0 80px;
  flex: 0 0 80px;
  padding-right: 20px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
}

.r-doc__title {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  -webkit-flex: 1 1 0;
  -moz-flex: 1 1 0;
  -ms-flex: 1 1 0;
  -o-flex: 1 1 0;
  flex: 1 1 0;
}

.r-doc__more {
  -webkit-flex: 0 0 240px;
  -moz-flex: 0 0 240px;
  -ms-flex: 0 0 240px;
  -o-flex: 0 0 240px;
  flex: 0 0 240px;
}

.r-doc .r-doc__more-btn {
  display: block;
  width: 100%;
  height: 46px;
  background-color: #fff3ef;
  border: 1px dashed #f63;
  border-radius: 4px;
  text-decoration: none;
  color: #f63;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  padding: 11px 10px 11px 50px;
  position: relative;
}

.r-doc .r-doc__more-btn:after {
  content: 'Показать подробнее';
}

.r-doc .r-doc__item_open .r-doc__more-btn:after {
  content: 'Скрыть подробнее';
}

.r-doc .r-doc__more-btn:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 20px;
  margin-top: -4px;
  width: 15px;
  height: 8px;
  background: url(../images/page-refinance/ico-arrow-more-doc-default.svg) center center no-repeat;
  -webkit-background-size: 15px 8px;
  background-size: 15px 8px;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}

.r-doc .r-doc__item_open .r-doc__more-btn {
  color: #929292;
  background-color: #f1f1f1;
  border-color: #dbdbdb;
}

.r-doc .r-doc__item_open .r-doc__more-btn:before {
  background-image: url(../images/page-refinance/ico-arrow-more-doc-active.svg);
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.r-doc__body {
  display: none;
}

.r-doc__desc {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  padding-top: 20px;
  padding-left: 80px;
  padding-right: 280px;
}

.r-for-what {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 30px;
}

.r-for-what__item {
  width: 20%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.r-for-what__inner {
  background-color: #f3f3f3;
  border-radius: 2px;
  height: 100%;
  padding: 10px 10px 15px 10px;
}

.r-for-what__ico {
  margin-bottom: 10px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.r-for-what__title {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  text-align: center;
  margin-bottom: 4px;
}

.r-for-what__desc {
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.main-condition {
  background-color: #ff6b3b;
  border-radius: 2px;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  padding: 33px 20px;
}

.r-faq__item {
  color: #287ad3;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  padding: 25px 0;
  border-bottom: 1px solid #e9e9e9;
}

.r-faq .r-faq__link {
  color: #287ad3;
  text-decoration: underline;
}

.r-faq .r-faq__link:hover {
  color: #287ad3;
  text-decoration: none;
}

.r-location {
  margin-bottom: 30px;
}

.r-location__head {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-left: -13px;
  margin-right: -13px;
}

.r-location__group {
  width: 33.333333%;
  padding: 0 13px;
  margin-bottom: 26px;
}

.r-location__label {
  display: block;
  margin: 0 0 5px 0;
  color: #898989;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

#content .r-location__body table {
  width: 100%;
}

#content .r-location__body table tbody tr {
  border-bottom: 1px solid #e9e9e9;
}

#content .r-location__body table th {
  padding: 5px 5px 5px 0;
  color: #898989;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
}

#content .r-location__body table td {
  padding: 5px 5px 5px 0;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
}

#content .r-location__body table td.r-location-info {
  padding: 20px;
  text-align: center;
  border: 1px solid #e9e9e9;
}

.r-select {
  display: block;
  width: 100%;
  height: 46px;
  background: #fff url(../images/page-refinance/ico-arrow-r-select.svg) right center no-repeat;
  -webkit-background-size: 25px 8px;
  background-size: 25px 8px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.09);
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  font-size: 18px;
  font-weight: 400;
  padding: 0 30px 0 10px;
}

.r-select::-ms-expand {
  display: none;
}

.r-main-calc__btn,
a.r-main-calc__btn {
  display: inline-block;
  vertical-align: bottom;
  background: #f63 url(../images/page-refinance/ico-arrow-btn-calc.svg) 30px center no-repeat;
  -webkit-background-size: 22px 29px;
  background-size: 22px 29px;
  border-radius: 4px;
  width: 412px;
  padding: 18px 60px 18px 70px;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

.r-main-calc__btn:hover,
a.r-main-calc__btn:hover {
  background-color: #fe6f40;
}

.r-fix-nav {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 500;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -ms-align-items: flex-end;
  align-items: flex-end;
}

.r-fix-nav__item {
  margin-bottom: 5px;
}

.r-fix-nav__item:last-child {
  margin-bottom: 0;
}

.r-fix-nav .r-fix-nav__link {
  display: block;
  color: #287ad3;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  background-color: #fff;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.17);
  padding: 5px 10px;
}

.r-fix-nav .r-fix-nav__link_top {
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: 11px center;
  -webkit-background-size: 10px 5px;
  background-size: 10px 5px;
  background-image: url(../images/page-refinance/ico-arrow-nav-top.svg);
}



@media all and (max-width: 1024px) {

  .r-calc__label {
    font-size: 14px;
  }

}

@media all and (max-width: 920px) {

  .r-conditions {
    display: block;
  }

  .r-conditions__option-unit {
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .r-calc__label {
    font-size: 16px;
  }

  .r-calc__group {
    width: 50%;
    margin-right: 0;
  }

  .r-doc__desc {
    padding-right: 0;
  }

  .r-for-what__title {
    font-size: 16px;
    line-height: 22px;
  }

  .r-fix-nav {
    display: none;
  }

}

@media all and (max-width: 768px) {

  .r-advant {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .r-advant__item {
    width: calc(33.333333% - 10px);
  }

  .r-calc__label {
    font-size: 14px;
  }

  .r-doc__ico {
    -webkit-flex: 0 0 70px;
    -moz-flex: 0 0 70px;
    -ms-flex: 0 0 70px;
    -o-flex: 0 0 70px;
    flex: 0 0 70px;
    padding-right: 10px;
  }

  .r-doc__more {
    -webkit-flex: 0 0 210px;
    -moz-flex: 0 0 210px;
    -ms-flex: 0 0 210px;
    -o-flex: 0 0 210px;
    flex: 0 0 210px;
  }

  .r-doc .r-doc__more-btn {
    font-size: 16px;
    padding-left: 35px;
  }

  .r-doc .r-doc__more-btn:before {
    left: 10px;
  }

  .r-doc__desc {
    padding-left: 70px;
  }

  .r-for-what {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .r-for-what__item {
    width: 33.333333%;
  }

  .r-location__group {
    width: 50%;
  }

  #content .r-location__body table th {
    font-size: 14px;
    line-height: 18px;
  }

  #content .r-location__body table td {
    font-size: 16px;
    line-height: 20px;
  }

}

@media all and (max-width: 480px) {

  .r-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .r-btn-arrow, a.r-btn-arrow {
    font-size: 17px;
    padding: 10px 50px;
    background-position: 10px center;
  }

  .r-conditions__option-unit {
    margin-right: 15px;
  }

  .r-conditions__option-unit:last-child {
    margin-right: 0;
  }

  .r-conditions__option-label {
    font-size: 16px;
  }

  .r-conditions__option-value {
    font-size: 20px;
  }

  .r-advant__item {
    width: calc(50% - 10px);
  }

  .r-calc__group {
    width: 100%;
  }

  .r-calc__btn {
    font-size: 17px;
    line-height: 20px;
    padding: 15px;
  }

  .r-doc__head {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .r-doc__more {
    -webkit-flex: 0 0 100%;
    -moz-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    -o-flex: 0 0 100%;
    flex: 0 0 100%;
    margin-top: 15px;
  }

  .r-doc__desc {
    padding-left: 0;
    font-size: 16px;
    line-height: 20px;
  }

  .r-for-what__item {
    width: 50%;
  }

  .r-location__head {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .r-location__group {
    width: 100%;
  }

  #content .r-location__body table th {
    font-size: 12px;
    line-height: 16px;
  }

  #content .r-location__body table td {
    font-size: 14px;
    line-height: 18px;
  }

  .r-main-calc__btn, a.r-main-calc__btn {
    width: 100%;
    font-size: 17px;
    line-height: 20px;
  }

}

@media all and (max-width: 400px) {

  .r-heading {
    font-size: 18px;
    line-height: 22px;
    padding: 13px 0 13px 58px;
  }

  .r-heading:before {
    width: 48px;
    height: 48px;
  }

  #content .r-desc, #content .r-desc p, #content .r-desc ul {
    font-size: 16px;
    line-height: 20px;
  }

  #content .r-desc ul li:before {
    top: 6px;
  }

  .r-calc {
    padding-left: 10px;
    padding-right: 10px;
  }

  .r-calc__foot {
    font-size: 16px;
    line-height: 20px;
  }

}

@media all and (max-width: 375px) {

  .r-conditions__option-unit {
    margin-right: 10px;
  }

  .r-conditions__option-label {
    font-size: 14px;
  }

  .r-conditions__option-value {
    font-size: 18px;
  }

}