/**
* Рубрика "Расчет кредита"
*/

.subheading {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 30px 0;
}

.subdesc {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 30px 0;
}

.category-desc {
  margin-bottom: 30px;
  padding: 0 35px;
}

.category-desc__head {
  margin-bottom: 40px;
}

.category-desc__title {
  float: left;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  padding: 5px 0;
  margin-right: 20px;
}

.category-desc__label {
  color: #88bc73;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  padding: 10px 13px;
  background-color: #eeffe7;
  border-radius: 2px;
  position: relative;
  float: left;
}

.category-desc__label:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -10px;
  margin-top: -10px;
  width: 0;
  height: 0;
  border-right: 10px solid #eeffe7;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.category-desc__body {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  padding-left: 130px;
  position: relative;
}

.category-desc__body:before {
  content: '';
  display: block;
  position: absolute;
  top: -35px;
  left: 0;
  background: url(../images/category-loan/img-calc-person.png) 0 0 no-repeat;
  width: 116px;
  height: 137px;
}

.calc-wrap {
  background: #f4faff;
  padding: 35px;
}

.calc-list {
  margin: 0 -5px 30px -5px;
}

.calc-list__item {
  float: left;
  width: 50%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.calc-list__link {
  display: block;
  color: #438bd9;
  font-size: 18px;
  font-weight: 400;
  line-height: 76px;
  padding: 0 10px 0 90px;
  background-color: #edf7ff;
  border: 1px dashed #cbe3f8;
  border-radius: 2px;
  text-decoration: none;
  position: relative;
}

.calc-list__link:before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 68px;
  height: 54px;
  background: url(../images/category-loan/sprite-170x85.png) 0 0 no-repeat;
}

.calc-list__link_sber:before {
  background-position: -56px -19px;
}

.calc-list__link_vtb:before {
  background-position: -55px -103px;
}

.calc-list__link_rossel:before {
  background-position: -54px -187px;
}

.calc-list__link_otp:before {
  background-position: -54px -274px;
}

.calc-list__link_sovkom:before {
  background-position: -53px -357px;
}

.calc-list__link_gazprom:before {
  background-position: -51px -440px;
}

.calc-list__link:hover {
  color: #fff;
  text-decoration: none;
  background-color: #438bda;
  border-color: #438bda;
}

.calc-list__inner {
  display: inline-block;
  line-height: 20px;
  vertical-align: middle;
  text-decoration: underline;
}

.calc-list__link:hover .calc-list__inner {
  text-decoration: none;
}

.calc-wrap .compare-loans {
  margin: 0;
  border: 1px dashed #58c723;
}

.calc-wrap .compare-head {
  border-bottom: 1px dashed #58c723;
}

.calc-wrap .loan-group {
  max-width: 620px;
  margin: 0 auto;
}

.calc-wrap .btn-compare {
  width: 620px;
  margin: 0 auto;
  display: block;
  background-color: #62ca36;
  border-color: #62ca36;
  color: #fff;
  border-radius: 4px;
}

.calc-wrap .btn-compare:hover {
  color: #62ca36;
  background: #fff;
}

.calc-wrap .term-value__input {
  width: 135px;
  height: 40px;
  outline: none;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.calc-wrap .term-value__input {
  padding: 0 10px;
  margin: 0;
  border-radius: 2px;
  box-shadow: none;
  background: none;
  border: none;
  position: relative;
  z-index: 50;
}

.calc-wrap .term-value__input:focus {
  background-color: #fff;
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.17);
  width: 115px;
  margin-right: 20px;
}

.calc-wrap .term-value__input:focus + .term-value__ico {
  background: url(/wp-content/themes/twentyten/images/page-compare-loans/ico-check-form.png) 0 0 no-repeat;
  cursor: pointer;
}

.prepay {
  padding: 35px;
}

.prepay-calc {
  float: left;
  width: 33.3%;
}

.prepay-calc__item {
  display: block;
  height: 220px;
  padding: 120px 10px 5px 10px;
  text-decoration: none;
  text-align: center;
  position: relative;
}

.prepay-calc__item:before {
  content: '';
  display: block;
  position: absolute;
  top: 25px;
  left: 50%;
  width: 84px;
  height: 84px;
  margin-left: -42px;
  background: url(../images/category-loan/sprite-170x85.png) 0 0 no-repeat;
}

.prepay-calc__inner {
  display: inline-block;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline;
}

.prepay-calc__item:hover .prepay-calc__inner {
  // text-decoration: none;
}

.prepay-calc__item_default {
  background-color: #bf689f;
  border-radius: 2px 0 0 2px;
}

.prepay-calc__item_default:hover {
  background-color: #cc6faa;
}

.prepay-calc__item_default:before {
  background-position: -43px -511px;
}

.prepay-calc__item_deposit {
  background-color: #6a6d9e;
}

.prepay-calc__item_deposit:hover {
  background-color: #7376aa;
}

.prepay-calc__item_deposit:before {
  background-position: -43px -596px;
}

.prepay-calc__item_compare {
  background-color: #418cce;
  border-radius: 0 2px 2px 0;
}

.prepay-calc__item_compare:hover {
  background-color: #4494da;
}

.prepay-calc__item_compare:before {
  background-position: -43px -681px;
}

.method-calc {
  background: #e1f1ec;
  padding: 35px;
}

.method-calc .subheading {
  text-align: left;
}

.method-calc__list {
  margin: 0 -5px;
}

.method-calc__item {
  float: left;
  width: 25%;
  padding: 0 5px;
}

.method-calc__img {
  margin-bottom: 10px;
}

.method-calc__img img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

.method-calc__head {
  text-align: center;
  color: #438bd9;
  font-size: 16px;
  font-weight: 400;
  padding: 0 5px;
}

.method-calc__link {
  color: #438bd9;
  text-decoration: underline;
}

.hypothec-calc {
  padding: 35px;
  background: url(../images/category-loan/bg-calc-hypothec.jpg) center top no-repeat;
  background-size: cover;
}

.hypothec-calc .subheading {
  color: #fff;
}

.hypothec-calc .subdesc {
  color: #cccde7;
}

.hypothec-calc__body {
  border: 1px dashed #9395b4;
  border-radius: 2px;
}

.hypothec-calc__item {
  float: left;
  width: 33.3%;
  border-right: 1px dashed #9395b4;
}

.hypothec-calc__item:last-child {
  border-right: none;
}

.hypothec-calc__link {
  display: block;
  height: 100px;
  padding: 28px 10px 0 90px;
  text-decoration: none;
  position: relative;
}

.hypothec-calc__link:hover {
  background: rgba(255,255,255,0.10);
}

.hypothec-calc__link:before {
  content: '';
  display: block;
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: url(../images/category-loan/sprite-170x85.png) 0 0 no-repeat;
}

.hypothec-calc__item_tax .hypothec-calc__link:before {
  background-position: -60px -1378px;
}

.hypothec-calc__item_insurance .hypothec-calc__link:before {
  background-position: -60px -1208px;
}

.hypothec-calc__item_apartment .hypothec-calc__link:before {
  background-position: -60px -1293px;
}

.hypothec-calc__label {
  display: block;
  font-weight: 400;
  color: #fff;
  font-size: 12px;
}

.hypothec-calc__name {
  display: block;
  color: #ffba8e;
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
}

.faq-category {
  padding: 35px;
}

.faq-list {
  max-width: 430px;
  margin: 0 auto;
}

.faq-list__item {
  border-bottom: 1px solid #ececec;
  color: #438bd9;
  font-size: 18px;
  font-weight: 400;
  line-height: 80px;
  position: relative;
  padding-left: 46px;
}

.faq-list__item:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -16px;
  width: 33px;
  height: 33px;
  background: url(../images/category-loan/sprite-170x85.png) -69px -1131px no-repeat;
}

.faq-list__link {
  color: #438bd9;
  text-decoration: underline;
  line-height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.post-category {
  padding: 0 35px 35px 35px;
}

.post-category__desc {
  background: rgb(244,255,235);
  background: -moz-linear-gradient(top,  rgba(244,255,235,1) 0%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(244,255,235,1) 0%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to bottom,  rgba(244,255,235,1) 0%,rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4ffeb', endColorstr='#ffffff',GradientType=0 );
  margin: 0 -35px;
  padding: 35px 35px 0 35px;

}

.post-category__list {
  margin: 0 -5px;
}

.post-item {
  float: left;
  width: 50%;
  padding: 0 5px;
}

.post-item__inner {
  height: 250px;
  padding-bottom: 41px;
  margin-bottom: 10px;
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 2px;
  position: relative;
}

.post-item__body {
  padding: 15px;
}

.post-item__title {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

a.post-item__link {
  color: #000;
  text-decoration: none;
}

.post-item__desc {
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

.post-item__foot {
  border-top: 1px solid #eeeeee;
  padding: 10px 15px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.post-item__more {
  float: left;
  line-height: 20px;
}

.post-item__read {
  color: #438bda;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
}

.post-item__comment {
  float: right;
  color: #a5a5a5;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  padding-left: 34px;
  position: relative;
}

.post-item__comment:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 20px;
  background: url(../images/category-loan/sprite-170x85.png) -72px -1478px no-repeat;
}

.pagination {
  padding: 0 35px;
  margin-bottom: 50px;
}

.pages {
  color: #a4a4a4;
  font-size: 12px;
  font-weight: 400;
  line-height: 30px;
  margin-right: 15px;
}

.pagination .page-numbers {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border: 1px solid #add5ff;
  border-radius: 50%;
  color: #438bda;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  margin: 0 2px;
}

.pagination .page-numbers:hover {
  background: #add5ff;
}

.pagination .page-numbers.current {
  border: 1px solid #438bda;
  background-color: #438bda;
  color: #fff;
}

.pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
  width: auto;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  background: none;
  border-color: transparent;
  border-radius: 0;
  width: auto;
}



@media (max-width: 900px) {
  .post-item:nth-child(2n+3) {
    clear: both;
  }
  .post-item__inner {
    height: auto;
    min-height: 250px;
  }
}

@media (max-width: 800px) {
  .method-calc__head {
    padding: 0;
  }
}

@media (max-width: 740px) {
  .calc-wrap .btn-compare {
    width: 100%;
  }
  .prepay-calc__item {
    padding-left: 5px;
    padding-right: 5px;
  }
  .prepay-calc__inner {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .category-desc,
  .calc-wrap,
  .prepay,
  .method-calc,
  .hypothec-calc,
  .faq-category,
  .post-category {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hypothec-calc__item {
    float: none;
    width: auto;
    border-right: none;
    border-bottom: 1px dashed #9395b4;
  }
  .hypothec-calc__item:last-child {
    border-bottom: none;
  }
  .post-item {
    float: none;
    width: auto;
  }
}

@media (max-width: 600px) {
  .calc-list__item {
    float: none;
    width: auto;
  }
  .prepay-calc {
    float: none;
    width: auto;
  }
  .prepay-calc__item {
    height: auto;
    padding-bottom: 30px;
  }
  .prepay-calc__inner {
    font-size: 18px;
  }
  .prepay-calc__item_default {
    border-radius: 2px 2px 0 0;
  }
  .prepay-calc__item_compare {
    border-radius: 0 0 2px 2px;
  }
  .method-calc__item {
    width: 50%;
    margin-bottom: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .category-desc__body {
    padding-left: 0;
  }
  .category-desc__body:before {
    display: none;
  }
  .pages {
    display: block;
  }
  .pagination .page-numbers {
    margin-bottom: 10px;
  }
}

@media (max-width: 375px) {
  .method-calc__item {
    float: none;
    width: auto;
  }
  .hypothec-calc__link {
    padding-left: 70px;
  }
  .hypothec-calc__link:before {
    left: 10px;
  }
  .post-item__read,
  .post-item__comment {
    font-size: 12px;
  }
}