#application-form {
    width: 100%;
}

#application-form .input-form {
    background-color: #ffffff;
    padding: 20px 15px;
    min-height: 470px;
    display: flex;
    justify-content: center;
}

#application-form .align-form {
    align-items: center;
}

#application-form .heading {
    font-size: 24px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 10px;
}

#application-form .heading span {
    background-image: linear-gradient(160deg, rgb(255, 143, 107) 6%, rgb(233, 78, 27));
    padding: 6px 20px;
    font-size: 18px;
    font-weight: 400;
    display: inline-flex;
    color: #ffffff;
}

#application-form .heading:before,
#application-form .heading:after {
    background-color: rgb(233, 78, 27);
    content: "";
    display: inline-block;
    height: 2px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

#application-form .heading:before {
    margin-left: -50%;
}

#application-form .heading:after {
    margin-right: -50%;
}

#application-form .slider-title {
    font-size: 12px;
    line-height: 30px !important;
    color: #666666;
}

#application-form .ui-slider-range-min { 
/*    background-color: #92bce0;
    border: 1px solid #428bca;
    background: linear-gradient(to bottom, #ffffff 0%, #0f6999 30%, #67b7e1 100%);
    box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.5);*/
    background: -webkit-linear-gradient(left, rgb(255, 143, 107), rgb(233, 78, 27));
    background: -o-linear-gradient(right, rgb(255, 143, 107), rgb(233, 78, 27));
    background: -moz-linear-gradient(right, rgb(255, 143, 107), rgb(233, 78, 27));
    background: linear-gradient(to right, rgb(255, 143, 107), rgb(233, 78, 27));
}

#application-form .ui-corner-all { 
    -moz-border-radius: 20px; 
    -webkit-border-radius: 20px; 
    border-radius: 20px; 
}

#application-form .ui-slider .ui-slider-handle {
    width: 22px;
    height: 22px;
    background: white;
    background-image: none;
    background-size: auto;
    border: 1px solid #ccc;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g");
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background-image: -moz-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    top: -.5em;
}

#application-form .ui-slider .ui-slider-handle:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEzIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==");
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
    background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
    moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.bottom-text,
.top-text {
    background-color: #ffffff;
    color: #666666;
}

.bottom-text .highcost-text {
    border-top: .1rem solid #ccc;
}

.top-text.highcost-text {
    border-bottom: .1rem solid #ccc;
}

.bottom-text .representative-text {
    background: hsla(0, 0%, 96.1%, .8);
    border-top: .1rem solid #ccc;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.highcost-text {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px;
    font-weight: 300;
    color: #000000;
}

.highcost-text .highcost-heading {
    font-size: 15px;
    font-weight: 500;
}

.bottom-text .summary {
    background: hsla(0, 0%, 96.1%, .8);
    border-top: .1rem solid #ccc;
    padding-top: 15px;
    padding-bottom: 10px;
}

.bottom-text .summary h4 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
}

.bottom-text .summary h5 {
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
}

.bottom-text .summary span {
    float: right;
}

form {
    color: #666666;
}

form label.error {
    padding: 0px 8px;
    margin: 0px;
    font-size: 12px;
    font-weight: 400;
    width: 100%;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid transparent;
}

form .application-closed {
    background: #c92222; 
    color: #fff; 
    border-color: #c92222;
    padding: 20px;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 50px;
}

form .form-group {
    position: relative;
    overflow: hidden;
    display: flex;
    -webkit-box-flex: 1;
    flex-wrap: wrap;
    flex: 1 1;
    transition: box-shadow .3s cubic-bezier(.25, .8, .5, 1);
    padding: 10px 0 0;
}

form .form-group .messagebox {
    position: absolute;
    top: 15px;
    right: 4px;
    line-height: 30px;
    color: #67B7E1;
    cursor: pointer;
}

form .form-group .messagebox-2 {
    color: #67B7E1;
    cursor: pointer;
}

form .form-label {
    position: absolute;
    left: 0;
    top: 20px;
    color: #666666;
    background-color: #ffffff;
    z-index: 10;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    transition: .4s cubic-bezier(.25, .8, .25, 1);
    font-size: 13px;
    white-space: nowrap;
    font-weight: 400;
}

form .form-step-1 .col-2 {
    padding-right: 0px;
}

form .focused .form-label {
    -webkit-transform: translateY(-18px) scale(.80);
    transform: translateY(-18px) scale(.80);
}

form .form-input {
    position: relative;
    width: 100%;
    outline: none;
    box-shadow: none;
    font-size: 13px;
    border-width: 0 0 1px;
    background-color: transparent;
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box;
    border-color: #999999;
    border-bottom-style: solid;
    color: #666666;
    padding: 10px 0px 5px 0px;
    font-weight: 400;
}

form .form-input:focus {
    border-width: 0 0 2px;
    border-bottom-color: rgb(233, 78, 27);
}
  
form .form-input.filled {
    border-width: 0 0 2px;
    border-bottom-color: lightgreen;
}

form .form-input.error.filled {
    border-width: 0 0 2px;
    border-bottom-color: #721c24;
}

form .radio-wrap {
    padding-top: 4px;
    font-size: 13px;
    font-weight: 400;
}

form .radio-wrap label {
    margin-right: 20px;
}

form .radio-wrap label input {
    margin-right: 4px;
}

form .btn-labeled {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    height: 4em;
    cursor: pointer;
    box-shadow: 0 1px 5px #282828;
    border-radius: 2px;
}

form .btn-labeled:active {
    box-shadow: 0 1px 5px #666666;
    transform: translateY(4px);
}

form .btn-label {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-right: 70px;
    letter-spacing: 2px;
    line-height: 4em;
    border-radius: 2px;
    background-color: #77BD42;
    color: #53842e;
    transition: 0.8s;
    font-weight: 600;
    text-transform: uppercase;
}

form .btn-label:hover {
    color: #ffffff;
}

form .btn-label:before {
    content: attr(data-icon);
    font-size: 30px;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 70px;
    border-radius: 0 2px 2px 0;
    background-size: 100%;
    background-image: linear-gradient(45deg, #53842e 0%, #76bc42 50%, #7dbd4c 50%, #77bd42);
}

form .btn-label .bankid {
    width: 40px;
    margin-right: 16px;
}

form .btn-next {
    width: 16em;
    float: right;
}

form .btn-submit {
    width: 350px;
}

form .agreement {
    text-align: center;
    font-size: 13px;
}

.form-error {
    color: #721c24;
    font-size: 12px;
    font-weight: 500;
    background-color: #f8d7da;
    border: 1px solid transparent;
    padding: 10px 10px;
    float: left;
    display: none;
}

.step-bankid,
.step-thankyou {
    text-align: center;
}

.step-bankid .bankid-logo {
    max-width: 100px;
}

.step-bankid .bankid-text {
    color: #666666;
    margin-top: 30px;
    margin-bottom: 25px;
}

.step-bankid .bankid-button {
    color: #e94e1b;
    background-color: #ffffff;
    border-color: #e94e1b;
    font-size: 14px;
}

.step-bankid .bankid-button:hover,
.step-bankid .bankid-button:active,
.step-bankid .bankid-button:focus {
    color: #ffffff;
    background-color: #e94e1b;
    border-color: #e94e1b;
}

.input-form .step-thankyou .text-wrap .icon {
    font-size: 60px;
}

.input-form .step-thankyou .text-wrap .ejgodkand .icon {
    color: #c92222;
}

.input-form .step-thankyou .text-wrap .provning .icon {
    color: #ffb810;
}

.input-form .step-thankyou .text-wrap .godkand .icon {
    color: #00cb3b;
}

.input-form .step-thankyou .text-wrap .title {
    color: #666666;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
}

.input-form .step-thankyou .text-wrap .response {
    color: #666666;
    font-size: 14px;
    font-weight: 400;
}

.repayment_detail {
    display: none;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
    #application-form .input-form {
        min-height: 350px;
    }
    
    #application-form .heading {
        margin-top: 0px;
    }
    
    #application-form .heading span {
        font-size: 16px;
    }
    
    .highcost-text {
        font-size: 12px;
    }
    
    .highcost-text .col-2 {
        padding-left: 6px;
        padding-right: 6px;
    }

    .highcost-text .highcost-heading {
        font-size: 14px;
    }
    
    form .form-label {
        font-size: 12px;
    }
    
    form .form-input {
        font-size: 12px;
    }
    
    form .radio-wrap {
        font-size: 12px;
    }
    
    form .form-group {
        margin-bottom: 0.5rem;
    }
    
    form label.error {
        font-size: 11px;
    }
    
    form .application-closed {
        margin-top: 20px;
    }
    
    form .form-step-1 .col-2 {
        padding-right: 0px;
    }
    
    form .form-step-1 .col-4 {
        padding-left: 2px;
    }
    
    form .btn-next {
        width: 14em;
    }
    
    form .btn-labeled {
        font-size: 12px;
    }
    
    form .btn-label {
        padding-right: 36px;
    }
    
    form .btn-label .bankid {
        width: 30px;
        margin-right: 12px;
    }
    
    form .btn-label::before {
        font-size: 24px;
        width: 40px;
    }
    
    form .btn-submit {
        width: 250px;
    }
    
    form .agreement {
        font-size: 12px;
    }
    
    .bottom-text .summary h4 {
        font-size: 18px;
        line-height: 16px;
    }
    
    .step-bankid .bankid-button {
        font-size: 13px;
    }
    
    .input-form .step-thankyou .text-wrap .title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 4px;
    }

    .input-form .step-thankyou .text-wrap .response {
        font-size: 13px;
    }
    
    .repayment_detail {
        display: block;
    }
    
    .repayment_detail .col-7 {
        text-align: left;
        padding-left: 24px;
    }
    
    .repayment_detail .col-5 {
        text-align: right;
    }
    
    .repayment_detail_lg {
        display: none;
    }
    
    .border_repayment {
        border-top: 1px solid #ccc;
    }
    
    .border_repayment:last-child {
        border:none;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #application-form .input-form {
        min-height: 350px;
    }
    
    form .form-step-1 .col-2 {
        padding-right: 0px;
    }
    
    #application-form .heading span {
        font-size: 16px;
    }
    
    .highcost-text {
        font-size: 12px;
    }
    
    .highcost-text .highcost-heading {
        font-size: 14px;
    }
    
    form .form-label {
        font-size: 12px;
    }
    
    form .form-input {
        font-size: 12px;
    }
    
    form .radio-wrap {
        font-size: 12px;
    }
    
    form .form-group {
        margin-bottom: 0.5rem;
    }
    
    form label.error {
        font-size: 11px;
    }
    
    form .application-closed {
        margin-top: 20px;
    }
    
    form .form-step-1 .col-2 {
        padding-right: 0px;
    }
    
    form .btn-next {
        width: 14em;
    }
    
    form .btn-labeled {
        font-size: 12px;
    }
    
    form .btn-label {
        padding-right: 36px;
    }
    
    form .btn-label .bankid {
        width: 30px;
        margin-right: 12px;
    }
    
    form .btn-label::before {
        font-size: 24px;
        width: 40px;
    }
    
    form .btn-submit {
        width: 250px;
    }
    
    form .agreement {
        font-size: 12px;
    }
    
    .bottom-text .summary h4 {
        font-size: 18px;
        line-height: 16px;
    }
    
    .step-bankid .bankid-button {
        font-size: 13px;
    }
    
    .input-form .step-thankyou .text-wrap .title {
        font-size: 20px;
    }

    .input-form .step-thankyou .text-wrap .response {
        font-size: 13px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #application-form .heading span {
        font-size: 16px;
    }
    
    .highcost-text {
        font-size: 12px;
    }
    
    .highcost-text .highcost-heading {
        font-size: 14px;
    }
    
    .bottom-text .summary h4 {
        font-size: 16px;
    }
    
    #application-form .input-form {
        min-height: 440px;
    }
    
    form .form-label {
        font-size: 12px;
    }
    
    form .form-input {
        font-size: 12px;
    }
    
    form .form-step-1 .col-2 {
        padding-right: 0px;
    }
    
    form .form-group {
        margin-bottom: 0.5rem;
    }
    
    form .radio-wrap {
        font-size: 12px;
    }
    
    form label.error {
        font-size: 11px;
    }
    
    form .btn-next {
        width: 14em;
    }
    
    form .btn-label {
        padding-right: 46px;
    }
    
    form .btn-label .bankid {
        width: 34px;
        margin-right: 12px;
    }
    
    form .btn-label::before {
        font-size: 24px;
        width: 50px;
    }
    
    form .btn-submit {
        width: 280px;
    }
    
    form .agreement {
        font-size: 12px;
    }
    
    .step-bankid .bankid-button {
        font-size: 13px;
    }
    
    .input-form .step-thankyou .text-wrap .title {
        font-size: 20px;
    }

    .input-form .step-thankyou .text-wrap .response {
        font-size: 13px;
    }
    
}

/* Large devices (desktops, less than 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {

}

/* Large devices (desktops, less than 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {

}