
.mp-checkbox__control {
    position: absolute;
    opacity: 0;
}

.mp-checkbox__label {
    display: block;
    position: relative;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    padding-left: 26px;
	box-sizing: border-box;#dfdbdb
}

.mp-checkbox {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}


.mp-checkbox__control:checked + .mp-checkbox__label:before {
    background-image: url(../images/calc-month-pay/ico-checkbox.svg);
}
.mp-checkbox__label:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: 10px auto;
    background-size: 10px auto;
    border: 1px solid #dbdbdb;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 9%);
}




.cd-wrap {
  padding-left: 20px;
  padding-right: 20px;
}

.calc_error{
    display: none;
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: Arial;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
	color: red;
    border: 1 px red;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: static;
}

#pre_dates{
	display:none;
}

.cd-wrap,
.cd-wrap *,
.cd-wrap *:before,
.cd-wrap *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.cd-head {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cd-head__title,
#content .cd-head__title {
  color: #000;
  font-size: 21px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

.cd-head__help-link,
#content .cd-head__help-link {
  display: inline-block;
  vertical-align: bottom;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: underline;
  color: #000;
  padding-left: 25px;
  background: url(../images/calc-delay/ico-help.svg) 0 center no-repeat;
  -webkit-background-size: 16px 16px;
  background-size: 16px 16px;
  opacity: .5;
}

.cd-head__help-link:hover,
#content .cd-head__help-link:hover {
  opacity: 1;
}

.cd-desc {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 20px;
}

.cd-calc {
  background-color: #fdfdfd;
  border: 1px solid #dbdbdb;
  box-shadow: 0 0 1.9px 0.1px rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
}

.cd-calc__title {
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 20px;
}

#result_text{
  color: #56cd19;
    font-size: 24px;
  line-height: 24px;
  padding-bottom:10px;
  }

.cd-calc__title_lg {
  font-size: 31px;
  line-height: 34px;
}

.cd-calc__group {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 600px;
  margin-bottom: 14px;
}

.cd-calc__label {
  color: #707070;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  padding: 6px 0;
  width: 359px;
  position: relative;
}

.cd-calc__label-error {
  position: absolute;
  bottom: -7px;
  left: 0;
  color: #fa8693;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
}

.cd-calc__value {
  width: 226px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

.cd-calc__input {
  width: auto; 
}
.cd-calc__input input:disabled
{
	color:#dfdbdb;
}

.cd-calc__input_sm {
  width: 180px;
}

.cd-calc__addon + .cd-calc__input {
  margin-left: 10px;
}

.cd-calc .cd-calc__control {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 5px;
  background-color: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.09);
  text-align: center;
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

.cd-calc .cd-calc__control_error {
  border-color: #fa8693;
}

.cd-calc__addon {
  padding: 7px 0;
  color: #707070;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  line-height: 22px;
  margin-left: 10px;
}

.cd-calc__addon_date {
  width: 18px;
  background: url(../images/calc-delay/ico-date.svg) center center no-repeat;
  -webkit-background-size: 18px 18px;
  background-size: 18px 18px;
}

.cd-calc__help {
  width: 16px;
  padding: 10px 5px;
}

.cd-calc__submit {
  margin-top: 24px;
}

.cd-calc__btn {
  display: block;
  width: 100%;
  height: 60px;
  background-color: #56cd19;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.cd-calc__btn:hover {
  background-color: #52c019;
}

.cd-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  display: block;
  width: auto;
  height: 36px;
  padding: 0 25px 0 10px;
  background: #fff url(../images/calc-refinance/ico-arrow-cr-select.svg) right center no-repeat;
  -webkit-background-size: 20px auto;
  background-size: 20px auto;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.09);
  color: #000;
  font-size: 18px;
  font-weight: 400;
  margin-left: 5px;
}

.cd-tooltip {
  width: 16px;
  height: 16px;
  position: relative;
  background: url(../images/calc-delay/ico-info.svg) 0 0 no-repeat;
  -webkit-background-size: 16px 16px;
  background-size: 16px 16px;
  opacity: .5;
  cursor: pointer;
}

.cd-tooltip__inner {
  cursor: default;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  padding: 10px 20px;
  background-color: #7e7e7e;
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 17px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 2px;
  width: 235px;
  display: none;
}

.cd-tooltip__inner:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -7px;
  margin-top: -8px;
  border-right: 7px solid #7e7e7e;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.cd-tooltip:hover {
  opacity: 1;
}

.cd-tooltip:hover .cd-tooltip__inner {
  display: block;
}

.cd-calc__result {
  margin-top: 40px;
  width: 528px;
  display:block;
}

.cd-calc__total {
  margin-bottom: 22px;
}

.cd-total__item {
  border-bottom: 1px solid #ededed;
  margin-left: 22px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}

.cd-total__item:last-child {
  border-bottom: none;
}

.cd-total__item_dist {
  margin-left: 0;
}

.cd-total__label {
  color: #797979;
  font-size: 21px;
  font-weight: 400;
  line-height: 22px;
}

.cd-total__item_dist .cd-total__label {
  color: #f75163;
}

.cd-total__value {
  color: #000;
  font-size: 21px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
}

.cd-calc__desc {
  color: #000;
  font-size: 21px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 15px;
}

.cd-calc__table {
  margin-bottom: 40px;
}

.cd-table {
  width: 100%;
}

.cd-table .best_row
{
    background: #90ee90;
}

#content .cd-table th {
  padding: 0;
  text-align: left;
  color: #898989;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

#content .cd-table th:last-child {
  text-align: right;
}

#content .cd-table td {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  padding: 15px 10px;
  border-bottom: 1px solid #dbdbdb;
  text-align: left;
}

#content .cd-table td:last-child {
  text-align: right;
}



.cd-growth__item {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-bottom: 14px;
}

.cd-growth__label {
  color: #666;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  padding: 8px 5px 8px 0;
  width: 100px;
}

.cd-growth__value {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
}

.cd-growth__value-main {
  width: 50%;
  height: 38px;
  background-color: #f75163;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 38px;
  white-space: nowrap;
  min-width: 76px;
}

.cd-growth__value-add {
  width: 0;
  height: 38px;
  background-color: #ff6b3b;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 38px;
  white-space: nowrap;
  min-width: 76px;
}

@media (max-width: 920px) {

  .cd-tooltip__inner {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 17px;
  }

  .cd-tooltip__inner:before {
    left: auto;
    right: -7px;
    border-right: none;
    border-left: 7px solid #7e7e7e;
  }

}

@media (max-width: 680px) {

  .cd-calc {
    padding: 10px;
  }

  .cd-calc__group {
    width: auto;
  }

  .cd-calc__label {
    width: auto;
    flex-basis: 0;
    flex-grow: 1;
  }

  .cd-calc__result {
    width: auto;
  }

}

@media (max-width: 600px) {

  .cd-calc__group {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .cd-calc__label {
    flex-basis: auto;
    flex-grow: 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: 10px;
  }

  .cd-calc__label-error {
    position: static;
  }

  .cd-calc__value {
    width: auto;
    flex-basis: 0;
    flex-grow: 1;
  }

  .cd-total__label {
    font-size: 18px;
  }

  .cd-total__value {
    font-size: 18px;
  }

}

@media (max-width: 480px) {

  .cd-head {
    display: block;
  }

  .cd-head__help {
    margin-top: 10px;
  }

  .cd-calc__title_lg {
    font-size: 24px;
    line-height: 28px;
  }

  .cd-total__item {
    display: block;
  }

  .cd-calc__desc {
    font-size: 18px;
  }

  .cd-growth__label {
    font-size: 16px;
    width: 80px;
  }

  .cd-growth__value-main {
    font-size: 16px;
  }

  .cd-growth__value-add {
    font-size: 16px;
  }

}

.mp-calc__note {
  color: #b7b7b7;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 400px) {

  .cd-growth__item {
    display: block;
  }

  #content .cd-table td {
    font-size: 14px;
  }

}
 .mp-result {
  margin-top: 35px;
}

.mp-result__section {
  border-top: 1px solid #c9c9c9;
  padding-top: 30px;
  padding-bottom: 30px;
}

.mp-result__title {
  color: #000;
  font-size: 31px;
  font-weight: 700;
  line-height: 34px;
  margin: 0 0 20px 0;
}

.mp-result__total {
  text-align: center;
  margin-top: 40px;
}

.mp-result__total-title {
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 15px;
}

.mp-result__total-sum {
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  line-height: 120px;
  white-space: nowrap;
  padding: 0 46px;
  background-color: #56cd19;
  display: table;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.mp-result__total-desc {
  color: #000;
  font-size: 21px;
  font-weight: 400;
  line-height: 28px;
}

.mp-result__total-dist {
  font-size: 27px;
  font-weight: 700;
  padding: 0 5px;
  background-color: #e9e9e9;
}

.mp-result__sub-title {
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 26px;
  margin: 0 0 20px 0;
}

.mp-result__table {
  width: 100%;
  max-width: 550px;
}

#content .mp-result__table thead th {
  color: #6a6a6a;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  padding: 0 10px 10px 0;
}

#content .mp-result__table tbody th[colspan="3"] {
  padding: 12px 10px;
  color: #7d7d7d;
  font-size: 19px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  background-color: #e9e9e9;
}

#content .mp-result__table tbody td {
  padding: 12px 10px;
  color: #000;
  font-size: 21px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  border-bottom: 1px solid #e9e9e9;
}

#content .mp-result__table tbody td:nth-child(1) {
  width: 30%;
  padding-left: 0;
}

#content .mp-result__table tbody td:nth-child(2) {
  width: 40%;
}

#content .mp-result__table tbody td:nth-child(3) {
  width: 30%;
  color: #f63;
  padding-right: 0;
}

.mp-result__export {
  margin-top: 20px;
}

.mp-export,
a.mp-export {
  display: inline-block;
  vertical-align: bottom;
  background: #f7f7f7 url(../images/calc-month-pay/ico-excel.svg) 20px center no-repeat;
  -webkit-background-size: 16px 18px;
  background-size: 16px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px 20px 10px 50px;
  color: #5a5a5a;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}

.mp-export:hover,
a.mp-export:hover {
  background-color: #f2f2f2;
}

.mp-fix {
  display: none;
}

@media (max-width: 800px) {
  .mp-help__tooltip {
    right: 100%;
    left: auto;
    margin-right: 17px;
    margin-left: 0;
  }

  .mp-help__tooltip:before {
    right: -7px;
    left: auto;
    border-right: none;
    border-left: 7px solid #7e7e7e;
  }
}

@media (max-width: 680px) {
  .mp-calc {
    padding: 10px;
  }

  .mp-result__total-sum {
    font-size: 50px;
    line-height: 80px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .mp-result__total-desc {
    font-size: 18px;
    line-height: 25px;
  }

  .mp-result__total-desc br {
    display: none;
  }

  .mp-result__total-dist {
    font-size: 23px;
  }

  .mp-fix {
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 900;
  }

  .mp-fix__btn {
    display: block;
    width: 100%;
    height: 40px;
    background-color: #56cd19;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
  }

  .mp-fix__btn:hover {
    color: #fff;
    background-color: #5fdb1f;
  }
}

@media (max-width: 600px) {
  .mp-head {
    display: block;
  }

  .mp-head__help {
    margin-left: 0;
    margin-top: 10px;
  }

  .mp-calc__section {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .mp-calc__label {
    width: 100%;
    padding-top: 0;
  }

  .mp-calc__label_empty {
    display: none;
  }

  .mp-calc__label-error {
    position: static;
  }

  .mp-calc__value {
    width: auto;
    flex-basis: 0;
    flex-grow: 1;
  }

  #content .mp-result__table tbody th[colspan="3"] {
    font-size: 17px;
    line-height: 24px;
  }

  #content .mp-result__table tbody td {
    font-size: 19px;
    line-height: 24px;
  }

  .mp-export, a.mp-export {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 530px) {
  .mp-result__total-sum {
    font-size: 36px;
    line-height: 60px;
    padding-left: 10px;
    padding-right: 10px;
    display: block;
  }
}

@media (max-width: 480px) {
  .mp-result__title {
    font-size: 25px;
  }

  .mp-result__sub-title {
    font-size: 19px;
    line-height: 23px;
  }

  #content .mp-result__table tbody td {
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .mp-calc__input_sm {
    width: 66px;
  }

  .mp-calc__addon {
    font-size: 15px;
    margin-right: 15px;
  }

  .mp-result__total-sum {
    font-size: 30px;
  }

  #content .mp-result__table thead th {
    padding-right: 4px;
    font-size: 13px;
    line-height: 14px;
  }

  #content .mp-result__table tbody th[colspan="3"] {
    font-size: 15px;
    padding: 8px 4px;
  }

  #content .mp-result__table tbody td {
    font-size: 14px;
    padding-left: 4px;
    padding-right: 4px;
  }
}