@charset "utf-8";
/* CSS Document */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: ' ';
}

.clearfix:after {
  clear: both;
}

#result_block {
  display:none;
}

.calck {
  border: 1px solid #8ad969;
  background: #fff;
  margin-bottom: 30px;
}

.calck-head {
  padding: 15px;
  border-bottom: 1px solid #8ad969;
  position: relative;
}

.calck-head__title {
  float: left;
  color: black;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  position: relative;
  padding: 15px 0 15px 60px;
}

.calck-head__title:before {
  content: '';
  display: block;
  background: url(../images/page-cashback/img_rang.png) 0 0 no-repeat;
  width: 50px;
  height: 54px;
  position: absolute;
  top: 0;
  left: 0;
}

.calck-head__help {
  float: right;
  color: #0c77f8;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  margin: 16px 0;
  text-decoration: underline;
  cursor: pointer;
  position: relative;
}
.calck-head__help:link {
  color: #0c77f8;
}
.calck-head__help:before {
  content: '';
  display: block;
  position: absolute;
  top: 1px;
  left: -32px;
  background: url(/wp-content/themes/twentyten/images/page-compare-loans/ico-help.png) 0 0 no-repeat;
  width: 19px;
  height: 19px;
}

.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(/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;
}

.calck-body {
  padding: 15px;
}

.calck-headline {
  display:block;
  margin:0;
  padding:0;
  font-size:18px;
  line-height:42px;
  font-weight:normal;
  color:#3ead0e;
  height:42px;
  text-align:left;
}

.calck-headline_rub {
  background:url(../images/page-cashback/img_rub.png) no-repeat right center;
}

.calck-headline_star {
  background:url(../images/page-cashback/img_star.png) no-repeat right center;
  margin-bottom: 15px;
}

.calck_block {
  padding:10px 0 5px 0;
  border-bottom:1px #e9e9e9 solid;
  margin-bottom:10px;
}

.calck_block:before,
.calck_block:after {
  display: table;
  content: ' ';
}

.calck_block:after {
  clear: both;
}

.calck-group {
  float: left;
  margin-right: 2.521008403361345%; /* 15px / 595px */
  margin-bottom: 15px;
  position: relative;
}

.calck-group_sum {
  width: 25.21008403361345%; /* 150px / 595px */
}

.calck-group_rate {
  width: 18.48739495798319%; /* 110px / 595px */
}

.calck-group_note {
  width: 37.81512605042017%; /* 225px / 595px */
}

.calck-label {
  display: none;
  color: #838383;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 5px;
}

.calck_block:first-child .calck-label {
  display: block;
}

.calck .calck-control {
  float: none;
  outline: none;
  width: 100%;
  height: 46px;
  padding: 0 15px;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #ededed;
  border-radius: 6px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.calck .calck-control:focus {
  -webkit-box-shadow: 0 0 38px rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.06);
}

.calck .calck-control[disabled] {
  background: #f7f7f7;
  border-color: #d9d9d9;
  color: #ccc;
}

.calck .calck-control_sum {
  background: #fff url(../images/page-cashback/bg_rub.png) right center no-repeat;
  padding: 0 25px 0 5px;
  text-align: right;
}

.calck .calck-control_rate {
  background: #fff url(../images/page-cashback/bg_pro.png) right center no-repeat;
  padding: 0 30px 0 5px;
  text-align: right;
}

.calck-max {
  background: #f8f8f8;
  padding: 15px;
  margin: 0 -15px 20px -15px;
}

.max-item {
  margin-bottom: 30px;
}

.max-item_sum .max-input {
  width: 210px;
}

.max-label {
  float: left;
  width: 150px;
  padding-right: 5px;
  color: #838383;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.max-input {
  float: left;
}

.cal_b_2 {
  padding-top: 3px;
}

.max-item_tax .max-group {
  float: left;
}

.max-group_tax {
  width: 55.46218487394958%; /* 330px / 595px */
}

.max-group_rate {
  width: 42.01680672268908%; /* 250px / 595px */
}

.max-group_rate .max-label {
  width: 110px;
  line-height: 46px;
}

.max-group_rate .max-input {
  width: 140px;
}

.bonus-check {
  margin-bottom: 20px;
}

.bonus-label {
  float: left;
  width: 150px;
  padding-right: 5px;
  color: #838383;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.bonus-input {
  float: left;
}

.bonus-container {
  margin-bottom: 20px;
}

.bonus-group {
  width: 270px;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

.bonus-group .bonus-label {
  margin-bottom: 5px;
  float: none;
  width: auto;
}

.bonus-group_point .calck-control {
  width: 110px;
}

.calck-saved {
  background: #8bda69;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  padding: 20px 15px;
  margin: -15px -15px 15px -15px;
  display: none;
}

.calck-saved a {
  color: #fff;
  text-decoration: underline;
  position: relative;
}

.calck-saved a:before {
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  right: -20px;
  background: url(../images/page-cashback/ico-link.png) 0 0 no-repeat;
  width: 14px;
  height: 14px;
}

.page-template-page-ashback-php #content .entry-title {
  display:block;
  font-weight:normal;
  height:80px;
  line-height:80px;
  padding:0 20px 0 75px;
  background:url(../images/page-cashback/img_rang.png) no-repeat 15px center;
  font-size:20px;
  border-bottom:1px #8cda6b solid;
  margin:0;
}
.page-template-page-ashback-php .entry-title span {
  display:block;
  float:right;
  padding:0 0 0 30px;
  background:url(../images/page-cashback/img_help.png) no-repeat left center;
}
.page-template-page-ashback-php .entry-title span a {
  font-size:15px;
  color:#0c77f8;
}
.close_calck_block,
.calck_block_add {
  float:left;
  text-align: center;
  padding:0 4px;
  border:1px #ff7f7f solid;
  border-radius:3px;
  color:#ff7f7f;
  height:25px;
  line-height:23px;
  cursor:pointer;
  margin-top:10px;
}
.close_calck_block:hover { background:#fdefef;}
.calck_block_add {  
  border:1px #0c77f8 solid; 
  color:#0c77f8;  
  margin:10px 0 20px 0;
}
.calck_block_add:hover { background:#deedfe;}
.close_calck_block {
  padding: 0;
  width: 10.92436974789916%; /* 65px / 595px */
}
.clear { clear:both;}

.calck_block_desp div { 
  float:left;
  color:#838383;
}
.calck_block_desp h3 {
  float:left;
  width:100%;
}
.calck_block_desp div.clear { float:none;}

.cal_t_1, .cal_t_2, .cal_t_4 {
  width:160px;
  padding:5px 25px 5px 0;
  margin-bottom:35px;
}
.cal_b_1 input, .cal_b_3 input  { 
  text-align:left;
  background:url(../images/page-cashback/bg_rub.png) no-repeat right center;  
  padding-left:10px;
  width:300px;
}
.cal_b_3 input {
  background:url(../images/page-cashback/bg_pro.png) no-repeat right center;
  width:155px;
}
.cal_t_3 { padding:13px 10px 0 0;}

.calck_block_desp div.calc_right_block { float:right;}
.star_img_bg { background-image:url(../images/page-cashback/img_star.png);}

.cal_t_5, .cal_t_6 {
  padding:20px 0 10px 0;
}
.cal_t_5, .cal_t_6, .cal_b_5, .cal_b_5 {
  width:45%;
  margin-right:5%;
  float:left;
}
.cal_b_5 input, .cal_b_6 input {
  width:270px;
  padding:0 25px 0 10px;
  text-align:left;
  background:url(../images/page-cashback/bg_rub.png) no-repeat right center;
}
.cal_b_6 input { 
  padding-left:70px;
  width:220px;
}
.cal_b_6 {position:relative;}
.cal_b_6 span {
  position:absolute;
  left:10px;
  top:13px;
  color:#000;
}
.calck_block_result {
  height:58px;
  line-height:58px;
  color:#157cf8;
  text-align:center;
  font-size:18px;
  border:1px #157cf8 solid;
  border-radius:5px;
  margin:0 0 45px 0;
  cursor:pointer;
}
.calck_block_result:hover { background:#deedfe;}
.calc_result_bot_left, .calc_result_bot_right {
  float:left;
  width:50%;
  color:#000;
  font-weight:bold;
  height:190px;
}
.calc_result_bot_right {font-size:18px;}
.calc_result_bot_right span {
  font-weight:normal;
  padding:3px 5px;
  background:#6a6d9e;
  color:#fff;
}
.calc_result_bot_left { 
  background:#90d671;
  color:#fff;
  font-size:22px; 
}
.calc_result_bot_left span {
  background:#f78f4a;
  padding:3px 5px;
  font-weight:normal;
}
#content .calc_result_bot_left p {
  color:#000;
  font-weight:normal;
  font-size:14px;
  margin:20px 0;
}
.calc_result_bot_left p span { 
  background:none;
  color:#ff4343;
  padding:0;
}
.calc_result_bot_right { background:#aeef92;}
.calc_result_bot_left div { background:url(../images/page-cashback/bg_sub.png) no-repeat bottom right;}
.calc_result_bot_left div, .calc_result_bot_right div { margin:20px 15px;}
.calc_but_save_result, .calc_but_rebild_result {
  border-radius:5px;
  height:48px;
  line-height:48px;
  padding:0 10px;
  font-size:16px;
  font-weight:bold;
  background:#157cf8;
  border:1px #157cf8 solid;
  margin:20px 15px 20px 0;
  float:left;
  color:#fff;
  cursor:pointer;
}
.calc_but_rebild_result {
  background:#fff;
  border-color:#cfcfcf;
  color:#a0a0a0;
}
.calc_but_save_result:hover { background:#4999fa;}
.calc_but_rebild_result:hover { background:#ececec;}
#calc_cash_block { 
  display:none;
  margin-bottom:45px;
}

.check-tax {
  outline: none;
}

.bonus-not {
  margin: 0;
  color: black;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  display: none;
}

.calc_result_bot_left .bonus-not,
.calc_result_bot_right .bonus-not {
  margin: 20px 0;
}

@media (max-width: 680px) {
  .close_calck_block {
    width: auto;
    padding: 0 4px;
  }
  .calck-label {
    display: block;
  }
  .calck-group {
    float: none;
    width: auto;
    margin-right: 0;
  }
  .max-label {
    float: none;
    width: auto;
    margin-bottom: 5px;
  }
  .max-item_sum .max-input {
    float: none;
    width: auto;
  }
  .bonus-group {
    float: none;
    width: auto;
    margin-right: 0;
  }
  .max-item_tax .max-group,
  .max-group_rate,
  .max-group_tax {
    float: none;
    width: auto;
  }
  .max-group_rate .max-input {
    float: none;
    width: auto;
  }
  .calc_result_bot_left,
  .calc_result_bot_right {
    float: none;
    width: auto;
    padding: 5px;
  }
}

@media (max-width: 575px) {
  .calck-head__title {
    float: none;
    margin-bottom: 25px;
  }
  .calck-head__help {
    float: none;
    margin-left: 32px;
  }
  .help-modal {
    width: auto;
    top: 5px;
    right: 5px;
    left: 5px;
    padding: 20px;
  }
  .calc_but_save_result,
  .calc_but_rebild_result {
    float: none;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .calc_result_bot_left, .calc_result_bot_right {
    height: auto;
  }
  .calc_result_bot_left span {
    line-height: 26px;
  }
}