.calculator {
    font-family: 'Commissioner', sans-serif;
    padding: 30px;
}

.left-panel {
    padding: 40px;
    border-radius: 25px;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
    margin-right: 50px;
    margin-bottom: 20px;
}

.right-panel {
    padding: 0 !important;
}

.right-panel hr {
    border: 1px solid #FFFFFF;
    margin-bottom: 0;
    margin-top: 20px;
}
.right-panel hr:first-of-type {
    margin-bottom: 20px;
}

.calc-form .input-range {
    margin-bottom: 40px;
}
.calc-form .input-range:last-of-type {
    margin-bottom:0;
}

.calc-form .input-range label {
    font-family: 'Commissioner', sans-serif;
    font-weight: 400;
    color: #1A3C47;
    font-size: 16px;
    width: 100%;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.calc-form .input-range .range_slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 0 15px 0;
}

.calc-form .input-range .range_slider::-webkit-slider-runnable-track {
    height: 16px;
    background: #F1F1F1;
    border-radius: 16px;
}

.calc-form .input-range .range_slider::-moz-range-track {
    height: 16px;
    background: #F1F1F1;
    border-radius: 16px;
}

.calc-form .input-range .range_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    width: 16px;
    background-color: #7a9d95;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    box-shadow: -1407px 0 0 1400px #7a9d95;
}

.calc-form .input-range .range_slider::-moz-range-thumb {
    height: 16px;
    width: 16px;
    background-color: #7a9d95;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    box-shadow: -1407px 0 0 1400px #7a9d95;
}

.calc-form .input-range .input-box {
    border-radius: 8px;
    border-color: #E0E0E0;
    background-color: #FFFFFF;
    padding: 0;
    width: 33%;
    text-align: center;
    height: 45px;
    font-family: 'Commissioner', sans-serif;
    font-weight: 400;
    color: #1A3C47;
    font-size: 16px;
}

.loan-data-sec {
    background-color: rgba(122, 157, 149, 0.2);
    padding: 40px;
    border-radius: 25px;
}

.loan-data-sec .loan-data-title {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.loan-data-sec .loan-data {
    list-style: none;
    margin: 0;
    padding: 0;
}

.loan-data-sec .loan-data li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.loan-data-sec .loan-data li+li {
    margin-top: 20px;
}

.loan-data-sec .loan-data li label,
.loan-data-sec .loan-data li span {
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.loan-data-sec .loan-data li:last-child {
    border-top: 1px solid #7a9d95;
    margin-top: 50px;
    padding-top: 40px;
}

.loan-data-sec .loan-data li:last-child span {
    font-weight: 400;
}

.calc-form .form-group.radio-group {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
}

.radio-group label {
    margin: 0;
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group label span {
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    position: relative;
    padding-left: 30px;
    display: block;
    line-height: 22px;
    cursor: pointer;
}

.radio-group label input[type="radio"] {
    display: none;
}

.radio-group label span::before {
    content: "";
    height: 22px;
    width: 22px;
    display: block;
    border: 2px solid #7a9d95;
    border-radius: 30px;
    position: absolute;
    left: 0;
    top: 0;
}

.radio-group label span::after {
    content: "";
    height: 14px;
    width: 14px;
    display: block;
    background-color: #7a9d95;
    border-radius: 30px;
    position: absolute;
    left: 4px;
    top: 4px;
    transform: scale(0);
    -webkit-transform: scale(0);
}

.radio-group label input[type="radio"]:checked+span::before {
    border-color: #7a9d95;
}

.radio-group label input[type="radio"]:checked+span::after {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.radio-group label a {
    font-size: 16px;
    line-height: 16px;
    margin-left: 10px;
    display: flex;
    color: #7a9d95;
    cursor: pointer;
}

.ergebnis, .ergebnis span, .ergebnis label {
    font-weight: 700 !important;
}


@media (max-width: 992px) {
    .left-panel {
        margin-right: 0;
		margin-bottom: 40px;
    }
    .left-panel, .right-panel {
        width: 100%;
    }

    .calc-form .form-group.radio-group > label {
        display: block;
        width: 100%;
    }
}

@media (max-width: 428px) {
    .left-panel {
        padding: 20px;
    }

    .loan-data-sec .loan-data li {
        display: block;
    }
    .loan-data-sec .loan-data li > label,
    .loan-data-sec .loan-data li > span {
        width: 100%;
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .left-panel {
        padding: 20px;
    }

    .loan-data-sec .loan-data li {
        display: block;
    }
    .loan-data-sec .loan-data li > label,
    .loan-data-sec .loan-data li > span {
        width: 100%;
        display: block;
    }
}