/**
* Сравнение кредитов
**
* Дата: 21-06-2016
*/
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
* {
  box-sizing: border-box;
}
*:before,
*:after {
  box-sizing: border-box;
}
.compare-loans {
  background-color: #fff;
  border: 1px solid #8bda69;
  margin: 40px 0;
}
.compare-head {
  border-bottom: 1px solid #8bda69;
  padding: 20px;
  position: relative;
}
.compare-head__title {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  margin: 7px 0;
  padding-left: 60px;
  position: relative;
  float: left;
}
.compare-head__title:before {
  content: "";
  display: block;
  position: absolute;
  top: -14px;
  left: 0;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-compare.png) 0 0 no-repeat;
  width: 53px;
  height: 50px;
}
.compare-head__help {
  float: right;
  color: #0c77f8;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  margin: 7px 0;
  text-decoration: underline;
  cursor: pointer;
  position: relative;
}
.compare-head__help:link {
  color: #0c77f8;
}
.compare-head__help:before {
  content: '';
  display: block;
  position: absolute;
  top: 1px;
  left: -32px;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-help.png) 0 0 no-repeat;
  width: 19px;
  height: 19px;
}
@media (max-width: 575px) {
  .compare-head__title {
    float: none;
    margin-bottom: 25px;
  }
  .compare-head__help {
    float: none;
    margin-left: 32px;
  }
}
.help-modal {
  width: 390px;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
  box-shadow: 0 0 49px rgba(0, 0, 0, 0.11);
  padding: 40px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
}
.help-modal__heading {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 25px;
}
#content .help-modal p {
  font-size: 14px;
  margin: 15px 0;
  color: #000;
}
#content .help-modal p:last-child {
  margin-bottom: 0;
}
.help-modal__close {
  border: none;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-close.png) 0 0 no-repeat;
  width: 23px;
  height: 23px;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  outline: none;
}
@media (max-width: 575px) {
  .help-modal {
    width: auto;
    top: 5px;
    right: 5px;
    left: 5px;
    padding: 20px;
  }
}
.compare-body {
  padding: 30px 18px;
}
@media (max-width: 375px) {
  .compare-body {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.main-sum {
  text-align: center;
  padding-bottom: 30px;
}
.main-sum__heading {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  padding: 10px 0;
  margin-bottom: 10px;
}
.main-sum__form {
  vertical-align: top;
}
.main-sum__control {
  width: 270px;
  height: 70px;
  background-color: #fff;
  color: #000;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  outline: none;
  display: inline-block;
  vertical-align: top;
}
.entry-content .main-sum__control {
  margin: 0 15px 0 0;
  padding: 0 10px;
  border: 1px solid #ededed;
  border-radius: 6px;
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.06);
}
.main-sum__currency {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  display: inline-block;
  margin: 26px 0;
  vertical-align: top;
}
@media (max-width: 425px) {
  .main-sum__heading {
    font-size: 14px;
    line-height: normal;
  }
  .main-sum__control {
    width: 170px;
    font-size: 32px;
  }
}
.select-loan {
  float: left;
  width: 48.21731749%;
  margin-right: 3.56536503%;
  margin-bottom: 15px;
  background-color: #f9f9f9;
  border-radius: 6px;
  position: relative;
}
.select-loan:nth-child(2n+2) {
  margin-right: 0;
}
.select-loan_profit {
  box-shadow: 0 0 0 2px #ffde00 inset, 0 0 38px rgba(255, 222, 0, 0.23);
}
@media (max-width: 640px) {
  .select-loan {
    float: none;
    margin-right: 0;
    width: auto;
  }
}
.select-bank {
  /* display: none; */
}
.select-bank__item {
  display: none;
}
.select-bank__item_active {
  display: block;
}
.choose-loan {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  cursor: pointer;
}
.choose-loan:before {
  content: "";
  display: block;
  position: absolute;
  top: 19px;
  right: 15px;
  z-index: 600;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-arrow-bottom.png) 0 0 no-repeat;
  width: 38px;
  height: 38px;
}
.choose-loan_open:before {
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-arrow-top.png) 0 0 no-repeat;
}
.choose-loan img {
  vertical-align: bottom;
}
.choose-loan__none {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 54px;
  position: relative;
  z-index: 600;
  padding: 0 10px;
}
.choose-loan_selected .choose-loan__none {
  display: none;
}
.choose-loan_selected.choose-loan_open .choose-loan__none {
  display: block;
}
.loan-drop {
  position: absolute;
  top: 5px;
  right: 5px;
  left: 5px;
  z-index: 500;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.13);
  padding-top: 74px;
}
.loan-drop__item {
  position: relative;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.loan-drop__item:first-child {
  border-top: 1px solid #f0f0f0;
}
.loan-drop__item:last-child {
  border: none;
}
.loan-drop__logo {
  float: left;
  width: 14.81481481481481%;
  text-align: center;
}
.loan-drop__bank {
  float: left;
  width: 85.18518518518519%;
  padding-right: 70px;
  color: #0c77f8;
  font-size: 14px;
  line-height: 16px;
}
.loan-drop__percent {
  position: absolute;
  top: 13px;
  right: 22px;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  color: #000;
  font-size: 11px;
  line-height: 30px;
  text-align: center;
}
.loan-drop__percent_profit {
  color: #6cb44d;
  border-color: #6cb44d;
}
.loan-drop__percent_notprofit {
  color: #ea280d;
  border-color: #ea280d;
}
.loan-drop__item_active .loan-drop__percent {
  display: none;
}
.bank-options {
  padding: 40px 15px;
}
.bank-options__rate {
  margin-bottom: 10px;
}
.bank-options__param {
  float: left;
  color: #565656;
  font-size: 14px;
  line-height: 18px;
  padding: 11px 0;
}
.bank-options__value {
  float: right;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  padding: 11px 0;
}
.bank-options__term {
  margin-bottom: 10px;
}
.bank-options__month {
  float: right;
}
.term-value {
  position: relative;
}
.term-value__input {
  width: 135px;
  height: 40px;
  outline: none;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}
.entry-content .term-value__input {
  padding: 0 10px;
  margin: 0;
  border-radius: 2px;
  box-shadow: none;
  background: none;
  border: none;
  position: relative;
  z-index: 50;
}
.entry-content .term-value__input:focus {
  background-color: #fff;
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.17);
  width: 115px;
  margin-right: 20px;
}
.entry-content .term-value__input:focus + .term-value__ico {
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-check-form.png) 0 0 no-repeat;
  cursor: pointer;
}
.term-value__month{
  color: #000;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 35px;
  z-index: 40;
  line-height: 40px;
}

.rate-value__label{
  color: #000;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 55px;
  z-index: 40;
  line-height: 40px;
}

.term-value__ico {
  width: 15px;
  height: 15px;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-edit.png) 1px 1px no-repeat;
  position: absolute;
  top: 12px;
  right: 0;
}
.term-select__item {
  background-color: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 2px;
  line-height: 25px;
  color: #000;
  font-size: 12px;
  padding: 0 5px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  cursor: pointer;
}
.term-select__item:hover {
  border: 1px solid #0c77f8;
  color: #0c77f8;
}
.btn-compare {
  display: block;
  width: 100%;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #157cf8;
  border-radius: 4px;
  text-align: center;
  background: none;
  color: #0c77f8;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  padding: 19px;
  outline: none;
}
.btn-compare:hover {
  background: #157cf8;
  color: #fff;
}
.compare-result {
  display:none;	
  padding: 0 18px 15px 18px;
}
@media (max-width: 375px) {
  .compare-result {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.result-item {
  float: left;
  width: 48.21731749%;
  margin-right: 3.56536503%;
  margin-bottom: 15px;
}
.result-item:nth-child(2n+2) {
  margin-right: 0;
}
@media (max-width: 640px) {
  .result-item {
    float: none;
    margin-right: 0;
    margin-bottom: 30px;
    width: auto;
  }
}
.result-inner {
  background-color: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 6px;
  margin-bottom: 25px;
}
.result-item_profit .result-inner {
  border: 2px solid #ffde00;
  box-shadow: 0 0 38px rgba(255, 222, 0, 0.23);
}
.result-head {
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 10px 20px 15px;
  border-radius: 6px 6px 0 0;
}
.result-item_profit .result-head {
  border-color: #ffde00;
}
.result-head__verdict {
  color: #000;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 5px;
  padding: 7px 0;
}
.result-item_profit .result-head__verdict {
  padding-left: 40px;
  position: relative;
}
.result-item_profit .result-head__verdict:before {
  content: "";
  display: block;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-most.png) 0 0 no-repeat;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 0;
  left: 0;
}
.result-head__overpay {
  font-weight: 700;
  color: #000;
  font-size: 13px;
  line-height: 24px;
}
.result-head__sum {
  color: #ff2727;
  font-size: 15px;
}
.result-item_profit .result-head__sum {
  color: #1bba13;
}
.result-head__compared {
  display: block;
  color: #ff2727;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
.result-item_profit .result-head__compared {
  color: #1bba13;
}
.result-sum {
  padding: 15px 15px 25px 15px;
  border-bottom: 1px solid #f0f0f0;
}
.result-item_profit .result-sum {
  border-color: #fffad7;
}
.result-sum__unit {
  margin-bottom: 15px;
}
.result-sum__param {
  float: left;
  width: 56%;
  color: #565656;
  font-size: 14px;
  line-height: 20px;
}
.result-sum__value {
  float: left;
  width: 44%;
  text-align: right;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}
.result-sum__chart {
  color: #0c77f8;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  margin-left: 30px;
  position: relative;
}
.result-sum__chart:link,
.result-sum__chart:visited {
  color: #0c77f8;
}
.result-sum__chart:before {
  content: "";
  display: block;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-chart.png) 0 0 no-repeat;
  width: 19px;
  height: 16px;
  position: absolute;
  top: -2px;
  left: -30px;
}
.result-diagram {
  padding: 15px;
  border-radius: 0 0 6px 6px;
}
.result-item_profit .result-diagram {
  background: #fffad7;
}
.result-diagram__values {
  float: left;
  width: 52%;
}
.result-diagram__graph {
  float: left;
  width: 48%;
}
.result-diagram__item {
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #6267b3;
  font-size: 15px;
  line-height: 20px;
}
.result-diagram__item_percent {
  border-bottom: 1px solid #f0f0f0;
  padding-top: 15px;
  color: #ff2727;
}
.result-item_profit .result-diagram__item_percent {
  color: #1bba13;
  border-bottom-color: #f5efc9;
}
.result-diagram__sum {
  display: block;
}
.js-diagram {
  height: 136px;
  width: 120px;
  margin: 0 auto;
}
.highcharts-container {
  overflow: visible !important;
}
.result-btn {
  display: block;
  width: 230px;
  height: 48px;
  margin: 0 auto;
  background-color: #f03014;
  border-radius: 23px;
  box-shadow: 0 0 18px rgba(240, 48, 20, 0.79);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  position: relative;
}
.result-btn:link,
.result-btn:visited {
  color: #fff;
}
.result-btn:before {
  content: "";
  display: block;
  background: url(https://mobile-testing.ru/wp-content/themes/twentyten/images/page-compare-loans/ico-pen.png) 0 0 no-repeat;
  width: 23px;
  height: 23px;
  position: absolute;
  top: 12px;
  left: 12px;
}
.result-btn:hover {
  background-color: #ff543b;
  box-shadow: 0 0 10px rgba(255, 84, 59, 0.55);
}
.result-item_profit .result-btn {
  background-color: #fcc00b;
  box-shadow: 0 0 18px rgba(252, 192, 11, 0.79);
}
.result-item_profit .result-btn:hover {
  background-color: #ffd042;
  box-shadow: 0 0 10px rgba(252, 192, 11, 0.55);
}
