.calculator {
    width: 75%;
    margin: 0 auto 20px;
    padding: 5px!important;
    color: #6b6b6b!important;
    color: #222222 !important;
    border-radius: 0;
    border: 1px solid #f1f1f1;
    background: #f1f1f1 !important;
    border-radius: 0;
}
.calculator input[type=number]:focus {
    outline: none;
}
.calculator-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 12px;
    text-align: center;
    padding-top: 12px;
    border-bottom: 1px dashed #fff;
    background: none;
    font-size: 24px !important;
    font-weight: 700;
    letter-spacing: -1px !important;
}
.calculator-title a {
    color: #6b6b6b;
}
.calculator table {
    width: 100%;
    margin-bottom: 10px;
    border: none;
    background-color: rgba(109, 171, 60, 0.1)!important;
}
.calculator table tr {
    display: inline-block;
    width: 49%;
    padding: 0 20px;
    border: none;
}
.calculator table td {
    padding: 0;
    border: none;
}
.calculator.classic table tr.range_amount {
    width: 100%;
}
.calculator.classic table tr.range_term {
    display: none;
}
.calculator table tr td {
    width: 100%;
    display: inline-block;
    padding-top: 15px;
    text-align: center;
    padding: 10px;
}
.calculator .l-input {
    display: inline-block;
    vertical-align: top;
    padding-top: 5px;
    position: relative;
    overflow: hidden;
    width: 160px;
}
.calculator .l-input input {
    height: 35px;
    width: 180px;
    font-size: 20px;
    padding-left: 15px;
    border: none;
}
.calculator .l-title {
    display: block;
    font-size: 18px;
    font-weight: 400;
    width: auto;
    line-height: 1;
}
.calculator .l-input i.fa-rub.fa3 {
    background: url(../img/rbl.png) no-repeat;
    background-size: 100% 100%;
    height: 10px;
    width: 10px;
    display: block;
    right: 10px;
    position: absolute;
    top: 15px;
}
.calculator .l-input i.fa-rub.fa3.mes {
    background: none;
    top: 10px;
    right: 65px;
}
.calculator .result i.fa-rub.fa3 {
    height: 10px;
    width: 10px;
    display: inline-block;
}
.calculator .ui-slider {
    margin: 0 auto;
    height: 6px;
    border-radius: 0;
    position: relative;
}
.calculator .ui-state-default {
    height: 20px;
    width: 20px;
    background-color: #6DAB3C;
    border: 4px solid #fff;
    border-radius: 20px;
    font-size: 0;
    position: absolute;
    top: -6px;
    margin-left: -10px;
    cursor: pointer;
}
.calculator .ui-state-default:focus {
    outline: none;
}
.calculator .podline {
    width: 100%;
    margin: 10px auto 0;
}
.calculator .podline label {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
}
.ui-widget-content {
    background: #6DAB3C!important;
    height: 6px;
}
.ui-widget-header {
    width: 100%;
    background: #fff!important;
    height: 6px;
    float: right;
    margin-bottom: -66px;
}
.result {
    min-height: 60px;
    text-align: center;
    font-size: 16px;
    position: relative;
    margin-bottom: 3px;
}
.result span {
    font-size: 20px;
}
span#monthly_payment {
    color: #477a21 !important;
    font-weight: 700;
}
.calculator .result i.fa-rub.fa3 {
    background: url(../img/rbl.png) no-repeat;
    background-size: 100% 100%;
    height: 16px;
    width: 13px;
    display: inline-block;
}
.calculator .l-input i.fa-rub.fa3.mes::before,
.calculator .result i.fa-rub.fa3::before {
    content: '';
    font-family: 'FontAwesome';
    display: none;
}
.nol {
    width: 50% !important;
    margin: 0 auto;
    display: block;
    border-top: 2px solid #6dab3c !important;
    margin-bottom: 15px !important;
}
.calculator .get_money {
    width: 100%;
    display: block;
    background: #fff;
    border-bottom: 0;
    margin-left: 0;
    padding: 15px 8px;
    text-align: center;
    font-size: 22px;
    margin-top: 12px;
    position: relative;
}
.calculator .get_money:hover {
    text-decoration: none;
    color: #fff;
}
.calculator .get_money span {
    margin-top: 5px;
    background: rgba(109,171,60,1);
    cursor: pointer;
}
.credit_types {
    margin: 15px 0 5px;
    text-align: center;
}
.credit_types div {
    display: inline-block;
    min-width: 150px;
    margin: 0 5px 0;
    padding: 2px 5px;
    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
}
.credit_types div:hover,
.credit_types div.active {
    color: #477a21;
    background: #fff;
}
.credit_types div.active {
    cursor: default;
}
.calc_result > div {
    display: none;
}
.calc_result > div.active {
    display: block;
}
/*todo*/
.calculator > table > tbody > tr {
    display: table-row;
}
table > tbody > tr.range_first,
table > tbody > tr.range_term {
    display: none;
    visibility: hidden;
}
/*todo*/
@media (min-width: 768px) and (max-width: 1200px) {
    /*.calculator tr:last-of-type {*/
    /*    float: right;*/
    /*}*/
    .calculator .ui-slider {
        width: 100%;
        margin-left: 0;
    }
    .calculator tr:last-of-type input[type=number] {
        right: -20px;
    }
    .calculator.nol {
        display: none;
    }
    .calculator.l-right {
        bottom: 110px;
    }
    .calculator label.l-title {
        margin-left: 0;
    }
    .calculator.l-input {
        border: 3px double #fff;
        width: 150px;
    }
    .calculator input[type=number] {
        right: 0 !important;
        position: relative;
        border: none;
    }
    .calculator.result2 {
        bottom: 30px;
        position: relative;
        text-align: right;
        width: 710px;
        margin: 0 auto;
        padding-right: 15px;
    }
    .calculator.result2 span#persent_avto {
        float: left;
    }
    .calculator.leave-application {
        position: relative;
        bottom: 26px;
    }
    .calculator.leave-application a {
        width: 750px;
    }
    .calculator.leave-application a:before {
        left: 265px;
    }
    .calculator.l-title {
        margin-left: 0;
        padding-left: 15px;
    }
    .calculator.l-title span {
        font-size: 16px;
    }
    .calculator tr td {
        padding-top: 20px;
        text-align: center;
    }
    .calculator.l-input i.fa-rub.fa3 {
        top: 7px;
    }
    .calculator.l-input i.fa-rub.fa3.mes {
        top: 0;
    }
    .calculator tr:last-of-type.l-title span {
        padding-left: 50px;
    }
    .calculator.podline {
        width: 350px;
        margin-left: 0;
    }
    .calculator tr:first-of-type.podline {
        margin-left: 17px;
    }
    .calculator.result i.fa-rub.fa3 {
        right: 255px;
    }
    .calculator.result2 i.fa-rub.fa3 {
        right: 0;
    }
}
@media (max-width: 1366px) {
    .section-three {
        margin: 0px auto -30px auto;
    }
}
@media (max-width: 767px) {
    .calculator {
        width: 90%;
        /*max-width: 320px;*/
        margin: 0 auto;
        border-radius: 0;
    }
    /*.calculator .ui-slider,*/
    /*.calculator .podline {*/
    /*    width: 280px;*/
    /*}*/
    .calculator.ui-state-default {
        height: 30px;
        width: 30px;
        margin-left: -15px;
        color: transparent !important;
        top: -12px;
        border: 5px solid #fff;
    }
    .calculator.ui-state-default:before {
        display: none;
    }
    .calculator.ui-state-default:after {
        bottom: -12px;
        border-radius: 25px;
        height: 24px;
        width: 24px;
        margin-left: -12px;
    }
    .calculator-title {
        font-size: 16px;
        padding: 15px;
    }
    .calculator.podline {
        width: 100%;
    }
    .calculator.l-right {
        bottom: 110px;
    }
    .calculator.l-right.l-title, .calculator.l-right.l-input {
        width: 49%;
    }
    .calculator .l-input {
        width: 200px;
    }
    .calculator.l-right.l-input {
        position: relative;
        bottom: 3px;
    }
    .calculator tr:last-of-type.l-right.l-input {
        bottom: 9px;
    }
    .calculator tr:last-of-type.l-right {
        margin-top: 40px;
    }
    .calculator label.l-title {
        line-height: 1;
        font-size: 16px;
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .calculator input[type=number] {
        display: inline-block;
        /*background: transparent;*/
        padding: 0 10px;
        width: 115%;
        border: none;
    }
    .calculator .l-input i.fa-rub.fa3 {
        right: 15px;
    }
    .calculator.l-input i.fa-rub.fa3.mes {
        right: 70px;
    }
    .calculator.ui-slider {
        width: 270px;
    }
    .calculator table tr {
        display: table-row;
        width: 100%;
    }
    .credit_types span {
        display: none;
    }
    .credit_types div {
        display: block;
        max-width: 170px;
        margin: 5px auto;
    }
    .calculator.result {
        text-align: center;
        position: relative;
        margin-bottom: 7px;
    }
    .calculator.leave-application {
        position: absolute;
        bottom: 0;
    }
    .calculator.leave-application a {
        width: 320px;
        height: 48px;
    }
    .calculator.leave-application a:before {
        left: 50px;
    }
    .calculator.result i.fa-rub.fa3 {
        right: 45px;
    }
    .calculator.result2 i.fa-rub.fa3 {
        right: 40px;
    }
    .nol {
        margin-bottom: 10px;
    }
    .calculator.hnia {
        left: 50px;
    }
}
@media (max-width: 500px) {
    .calculator {
        width: 100%;
    }
}
@media (max-width: 375px) {
    .calculator {
        width: 100%;
    }
    .result {
        display: flex;
        flex-direction: column;
    }
    .calculator .result i.fa-rub.fa3 {
        display: none!important;
    }
}