
.speed-premium-calc {
    max-width: 500px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .25);
    box-shadow: 0px 2px 19px -4px rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: white;
}

.speed-premium-calc__wrap {
    padding: 15px 18px 5px;
    position: relative;
    background: #f3f3f3;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.speed-premium-calc__calculate-error {
    display: none;
    left: 0;
    width: 90%;
    position: absolute;
    color: #e63b12;
    font-family: "Open Sans";
    font-size: 11px;
    margin: 4px 5%;
    text-align: center;
}

.speed-premium-calc__calculate-error.error-show {
    display: block;
}

.speed-premium-calc__sum-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    position: relative;
}

.speed-premium-calc__sum-wrap.speed-premium-calc__sum-wrap--kz:after {
    content: 'теңге';
}

.speed-premium-calc__sum-wrap:after {
    content: 'тенге';
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    vertical-align: top;
    margin-top: 10px;
    margin-left: 5px;
    font-size: 20px;
    left: 8px;
}

.speed-premium-calc__sum-title {
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    margin-top: 10px;
    margin-left: 0px;
    max-width: 55%;
}

input[type="text"].speed-premium-calc__sum-input {
    margin-right: 0px;
    margin-left: auto;
    align-self: flex-end;
    position: relative;
    box-shadow: none;
    top: -2px;
    vertical-align: top;
    text-align: right;
    border: none;
    line-height: 16px;
    border-radius: 0;
    height: 28px;
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    max-width: 37%;
    width: 100%;
    font-weight: 600;
    padding-right: 0;
    border-bottom: 1px solid #848484;
    background: #f3f3f3;
}

.speed-premium-calc__time-pay-title {
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    vertical-align: bottom;
}

.speed-premium-calc__sum-input:focus {
    outline: none;
}

.speed-premium-calc__sum-slider {
    margin: 50px 0 35px;
}

.speed-premium-calc__sum-limitation {
    display: flex;
    width: calc(100% + 30px);
    position: relative;
    left: -15px;
    margin-top: 15px;
    z-index: 0;
    justify-content: space-between;
}

.speed-premium-calc__sum-limitation--text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #3F3F3F;
}

.speed-premium-calc__sum-limitation--text--bullet:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    top: -22px;
    margin-left: 6px;
    border-radius: 50%;
    background: #e6e6e6;
}

.speed-premium-calc__slider-money {
    margin: 0 20px;
}

.speed-premium-calc__slider-money.ui-slider-horizontal {
    background-color: #e6e6e6;
    height: 4px;
}

.speed-premium-calc__slider-money.ui-slider-horizontal:before, .speed-premium-calc__slider-money.ui-slider-horizontal:after {
    display: none;
}

.speed-premium-calc__slider-month.ui-widget-header,
.speed-premium-calc__slider-money.ui-widget-header {
    background: none;
}

.speed-premium-calc__slider-money .ui-slider-handle.ui-state-default.ui-corner-all {
    width: 32px;
    height: 32px;
    background: #86BC24;
    border: 1px solid #86BC24;
    border-radius: 50%;
    bottom: -14px;
    margin-left: -16px;
    z-index: 5;
}

.speed-premium-calc__slider-money .ui-slider-handle.ui-state-default.ui-corner-all:focus {
    outline: none;
}

.speed-premium-calc__slider-money .ui-slider-handle.ui-state-hover.ui-corner-all {
    width: 32px;
    height: 32px;
    background: #86BC24;
    border: 1px solid #86BC24;
    border-radius: 50%;
    bottom: -14px;
    margin-left: -16px;
}

.speed-premium-calc__slider-money .ui-slider-handle.ui-state-hover.ui-corner-all:focus {
    outline: none;
}

.speed-premium-calc__payment-info {
    margin-top: 20px;
    padding: 0 20px;
}

.speed-premium-calc__month-pay-wrap {
    display: flex;
    justify-content: space-between;
}

.speed-premium-calc__month-pay {
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    position: relative;
    top: -10px;
}

.speed-premium-calc__month-pay:after {
    content: 'Ã¢â€šÂ¸';
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    vertical-align: top;
    font-size: 24px;
}

.speed-premium-calc__time-pay-wrap {
    display: flex;
    margin-top: -10px;
    justify-content: space-between;
    align-items: center;
}

.speed-premium-calc__time-pay {
    color: #3f3f3f;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    top: -5px;
    position: relative;
}

.speed-premium-calc__time-slider {
    margin-top: 17px;
    padding: 0 20px;
    margin-bottom: 20px;
    height: 4px;
}

.speed-premium-calc__slider-month {
    margin: 0 20px;
}

.speed-premium-calc__slider-month.ui-slider-horizontal {
    background-color: #e6e6e6;
    height: 4px;
}

.speed-premium-calc__slider-month.ui-slider-horizontal:before, .speed-premium-calc__slider-month.ui-slider-horizontal:after {
    display: none;
}

.speed-premium-calc__slider-month .ui-slider-handle.ui-state-default.ui-corner-all {
    width: 32px;
    height: 32px;
    background: #86BC24;
    border: 1px solid #86BC24;
    border-radius: 50%;
    bottom: -14px;
    z-index: 5;
    margin-left: -16px;
}

.speed-premium-calc__slider-month .ui-slider-handle.ui-state-default.ui-corner-all:focus {
    outline: none;
}

.speed-premium-calc__slider-month .ui-slider-handle.ui-state-hover.ui-corner-all {
    width: 32px;
    height: 32px;
    background: #86BC24;
    border: 1px solid #86BC24;
    border-radius: 50%;
    bottom: -14px;
    margin-left: -16px;
}

.speed-premium-calc__slider-month .ui-slider-handle.ui-state-hover.ui-corner-all:focus {
    outline: none;
}

.speed-premium-calc__loan-info {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
}

.speed-premium-calc__info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: flex-end;
}

.speed-premium-calc__info-row:first-child .speed-premium-calc__info-data {
    color: #3f3f3f;
    font-family: "Open Sans";
    font-size: 16px;
    margin-bottom: 0;
    position: relative;
    font-weight: 600;
}

.speed-premium-calc__info-title {
    color: #3f3f3f;
    font-family: "Open Sans";
    font-size: 13px;
    line-height: 1;
    vertical-align: middle;
}

.speed-premium-calc__info-dotted {
    border-bottom: 2px dotted #bfbfbf;
    -webkit-box-flex: 1;
    position: relative;
    -ms-flex: 1;
    flex: 1;
    top: -2px;
    margin: 0 5px;
}

.speed-premium-calc__info-data {
    color: #3f3f3f;
    font-family: "Open Sans";
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 1;
}

.speed-premium-calc__loan-btn {
    display: inline-block;
    width: 100%;
    margin-top: 22px;
    padding: 0 20px;
    box-sizing: border-box;
}

.speed-premium-calc__loan-btn .btn__orange {
    width: 100%;
    cursor: pointer;
}

.btn__orange {
    position: relative;
    display: inline-block;
    width: 290px;
    height: 45px;
    padding: 0;
    background-position: inherit;
    background-color: #ff7b08;
    color: #fff;
    text-align: center;
    font: 400 21px/45px "Open Sans", sans-serif;
    border-radius: 5px;
    box-sizing: border-box;
    outline: 0;
    box-shadow: none;
    border: none;
}

.speed-premium-calc__time-pay.speed-premium-calc__time-pay--number {
    font-size: 28px;
    top: 0;
    font-weight: 600;
    padding-right: 5px;
}

.speed-premium-calc__loan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    box-sizing: border-box;
    max-height: 32px;
    vertical-align: middle;
}

.speed-premium-calc__info-value.speed-premium-calc__info-value--big {
    font-size: 18px;
}

.speed-premium-calc__info-value {
    font-size: 14px;
    font-family: "Open Sans";
    color: #3f3f3f;
}

.speed-premium-calc__loan-row:first-child {
}

.speed-premium-calc__loan-row.speed-premium-calc__loan-row--bordered {
    border-bottom: 1px dotted #cccccc;
    padding: 5px 0px 4px;
    margin: 0 20px 9px;
}

.speed-premium-calc__info-value.speed-premium-calc__info-value--bold {
    font-weight: 600;
    font-size: 20px;
    position: relative;
    color: #3F3F3F;
}

.speed-premium-calc__additional-service {
    background: #ececec;
    padding: 5px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.speed-premium-calc__additional-title {
    position: relative;
    font-size: 12px;
    font-family: "Open Sans";
    color: #848484;
}

.speed-premium-calc__addition-title-info:before {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #cccccc url(../svg/info-gray.svg) center/ 10px no-repeat;
    top: 1px;
    right: -25px;
    position: absolute;
}
.speed-premium-calc__addition-title-info{
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 0;
    top: 0;
}
.speed-premium-calc__addition-title-text {
    position: absolute;
    background: white;
    border: 1px solid #cccccc;
    min-width: 260px;
    max-width: 260px;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    color: #333333;
    left: 33px;
    box-shadow: 0px 2px 16px -2px rgba(0,0,0,0.5);
    transform: translateX(-50%) translateY(-110%);
    display: none;
    z-index: 2;
}
.speed-premium-calc__addition-title-text:before{
    width: 0;
    content: "";
    height: 0;
    top: calc(100% - 2px);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
}
.speed-premium-calc__addition-title{
    position: relative;
}
.speed-premium-calc__addition-title-info:hover .speed-premium-calc__addition-title-text {
    display: block;
}

span.speed-premium-calc__info-row--left {
    display: inline-flex;
    flex: 1;
    align-items: flex-end;
}

.speed-premium-calc__u-credit {
    max-width: 72px;
}

.speed-premium-calc__service-name {
    color: #3F3F3F;
    font-family: "Open Sans";
    font-size: 12px;
    padding-left: 15px;
    margin-top: 0px;
    position: relative;
    top: 3px;
}

.speed-premium-calc__info-row--right {
    color: #3F3F3F;
    font-family: "Open Sans";
    font-size: 18px;
    position: relative;
    top: 4px;
}

.speed-premium-calc__checkbox-toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.speed-premium-calc__checkbox-toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(154, 153, 153, .5);
    transition: all .2s ease;
}

.speed-premium-calc__checkbox-toggle span:before {
    content: "";
    position: absolute;
    display: block;
    margin: -18px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, .5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}

.speed-premium-calc__checkbox-toggle:before {
    content: "";
    position: relative;
    top: 3px;
    left: 3px;
    width: 34px !important;
    height: 14px !important;
    display: block;
    background: #9a9999 !important;
    border-radius: 8px;
    -webkit-transition: background .2s ease;
    transition: background .2s ease;
}

.speed-premium-calc__checkbox-input:checked + .speed-premium-calc__checkbox-toggle span {
    background: #ffffff;
    transform: translateX(20px);
    transition: all .2s cubic-bezier(.8, .4, .3, 1.25), background .15s ease;
    box-shadow: 0 3px 8px rgba(154, 153, 153, .5);
}

.speed-premium-calc__checkbox-input:checked + .speed-premium-calc__checkbox-toggle span:before {
    transform: scale(1);
    opacity: 0;
    transition: all .4s ease;
}

.speed-premium-calc__checkbox-input:checked + .speed-premium-calc__checkbox-toggle:before {
    background: #86bc24 !important;
}

.speed-premium-calc__tabs-name {
    display: flex;
    background: #f3f3f3;
}

.speed-premium-calc__tab-name {
    width: 100%;
    max-width: 50%;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    background: #f3f3f3;
    text-decoration: underline;
    color: #ff7b08;
}
.speed-premium-calc__tab-name:hover{
    cursor: pointer;
    color: #ff7200;
}

.speed-premium-calc__tab-name.speed-premium-calc__tab-name--active {
    color: #333333;
    text-decoration: none;
}
.speed-premium-calc__tab-name.speed-premium-calc__tab-name--active:first-child {
    border-top-right-radius: 10px;
    background: #ffffff;
}
.speed-premium-calc__tab-name.speed-premium-calc__tab-name--active:last-child {
    border-top-left-radius: 10px;
    background: #ffffff;
}
.hide-tab{
    display: none;
}

.speed-premium-calc__try-economy.js-select-economy {
    display: inline-block;
    color: #333333;
    background: #ece533;
    padding: 10px 5px;
    border-radius: 6px;
    position: relative;
    z-index: 10;
    top: -20px;
}
.speed-premium-calc__time-pay-wrap--green  .speed-premium-calc__time-pay-title,
.speed-premium-calc__time-pay-wrap--green  .speed-premium-calc__time-pay{
    color: #7CAE21;
}
.green-block--small .speed-premium-calc__time-pay-title{
    font-size: 16px;
}



.speed-premium-calc__try-economy--bold {
    font-weight: bold;
}

.green-block--small .speed-premium-calc__sum-title {
    font-size: 16px;
}

.green-block--small input[type="text"].speed-premium-calc__sum-input {
    font-size: 24px;
    max-width: 38%;
}

.green-block--small .speed-premium-calc__service-name {
    font-size: 10px;
}

.green-block--small .speed-premium-calc__sum-wrap:after {
    font-size: 16px;
    margin-left: 5px;
}



@media (max-width: 1000px) {
    .green-block--small .speed-premium-calc {
        max-width: 500px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 750px) {
    .green-block--small .speed-premium-calc {
        max-width: 500px;
        margin: 0 auto 30px;
    }

    .green-block--small .speed-premium-calc__wrap {
        padding-left: 68px;
        padding-right: 68px;
        margin: 0;
    }

    .green-block--small .speed-premium-calc__loan-btn {
        padding-left: 50px;
        padding-right: 50px;
    }

    .green-block--small .speed-premium-calc__loan-row {
        padding-left: 50px;
        padding-right: 50px;
    }

    .green-block--small .speed-premium-calc__loan-row.speed-premium-calc__loan-row--bordered {
        margin-left: 50px;
        margin-right: 50px;
    }

    .green-block--small .speed-premium-calc__additional-service {
        padding: 5px 50px;
    }
}

@media (max-width: 750px) {
    .speed-premium-calc {
        max-width: 460px;
        margin: 0 auto;

    }
}

@media (max-width: 500px) {
    .green-block--small .speed-premium-calc {
        max-width: 500px;
        box-shadow: none;
        margin: 0 auto 30px;
    }

    .green-block--small .speed-premium-calc__wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .speed-premium-calc {
        max-width: 100%;
        margin: 0 20px;

    }

    input[type="text"].speed-premium-calc__sum-input {
        margin-right: 5px;
        margin-left: auto;
    }
    .green-block--small .speed-premium-calc__additional-service {
        padding: 5px 20px;
        border-radius: 0;
    }
    .green-block--small .speed-premium-calc__additional-service {
        padding: 5px 10px;
        border-radius: 0;
    }
}

@media (max-width: 400px) {
    .green-block--small .speed-premium-calc {
        max-width: 500px;
        box-shadow: none;
        margin: 0 auto 30px;
    }
}
@media (max-width: 360px) {
    .speed-premium-calc {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .speed-premium-calc__additional-service {
        border-radius: 0;
    }

    .speed-premium-calc__sum-title {
        font-size: 16px;
    }

    .speed-premium-calc__sum-wrap:after {
        font-size: 16px;
    }

    .green-block .calc__slider {
        margin-right: 0;
    }
}
