.it-calculator-header{
    padding: 6rem 0 0 0;
}

.it-calculator-header-preheading{
    display: block;
    color: #44539e;
    text-align: center;
    font-family: "Nunito",
    sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.4rem;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}
.it-calculator-header-heading{
    color: #4b4344;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 4rem;
    line-height: 6rem;
    letter-spacing: .008rem;
    margin-bottom: 10.3rem;
}


.it-calculator {
    max-width: 820px;
    padding: 56px 82px;
    border-radius: 12px;
    border: 1px solid #E8E8EE;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 56px;
    margin: 0 auto;
}

.it-calculator>div {
    display: flex;
    flex-direction: column;
}

.it-calculator .it-calculator-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    font-weight: 500;
    font-size: 18px;
    color: #1A1A1A;
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 28px;
}


.it-calculator .it-calculator-top label {
    font-weight: 500;
    line-height: 150%;
    font-size: 18px;
    color: #1A1A1A;
    font-family: "Noto Sans", sans-serif;
}

.it-calculator .it-calculator-top label span {
    font-size: 14px;
}



.it-calculator input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: #E8E8EE;
    border-radius: 44px;
    border: 0;
    outline: none;
}

.it-calculator input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 10px solid #44539E;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    margin-top: -11px;
    /* dopasowanie do track */
}

.it-calculator input[type=range]::-webkit-slider-runnable-track {
    height: 12x;
    border-radius: 44px;
    background: linear-gradient(to right, #44539E 50%, #E8E8EE 50%);
    border: 0;
}

/*FF*/
.it-calculator input[type=range]::-moz-range-track {
    height: 12px;
    border-radius: 44px;
    background: #E8E8EE;
    border: 0;
}

.it-calculator input[type=range]::-moz-range-progress {
    height: 12px;
    border-radius: 44px;
    background-color: #44539E;
    border: 0;
}

.it-calculator input[type=range]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 10px solid #44539E;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.it-calculator input[type=number] {
    width: 70px;
    padding: 6px 12px;
    margin-left: 10px;
    border: 1px solid #E8E8EE;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield !important;
}

.it-calculator .valid {
    font-weight: 500;
    line-height: 150%;
    font-size: 13px;
    color: #E31E24;
    font-family: "Noto Sans", sans-serif;
    text-align: right;
    justify-content: end;
    margin-top: 10px;
}

.calculate-btn {
    display: inline-block;
    margin: 0 0 0 auto;
    padding: 15px 30px;
    background: #44539E;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: max-content;
    min-width: 280px;

}

.calculate-btn:hover {
    background: #44539E;
}

.info-result {
    display: flex;
    flex-direction: column;
    gap:0;
}

.result {
    margin-top: 18px;
    padding: 30px 15px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    background: #f8f9ff;
    color: #333;
}
.result-cost{
    background: #fff;
    padding: 10px;
    border: 1px solid #E8E8EE;
    height: 40px;
    width: 300px;
    margin: 18px auto 0;
}

.result-contact{
    margin-top: 18px;
    padding: 30px 15px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    background: #f8f9ff;
    color: #333;
    display: flex;
    flex-direction: column;
    gap:20px;
}
.result-contact > div{
    display: flex;
    gap:20px;
    justify-content: center;
}
.result-contact > div a{
    color: #000;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap:5px;
}



#result {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

#result:empty {
    display: none;
}


@media (max-width: 780px) {
    .it-calculator {
        padding: 36px 22px;
    }
    .calculate-btn {
        margin: 0 0 0 0;
        min-width: auto;
    }
    .result-cost {
        width: 100%;
        margin: 18px 0 0;
    }
    .result-contact>div {
        flex-direction: column;
        align-items: center;
    }
}