div + #calc_wrapper,
table + #calc_wrapper {
    margin: 50px auto;
}
#calc_wrapper {
    text-align: left;
}

#calc_wrapper select {
    width: 250px;
}

#calc_form_table input {
    text-align: right;
    width: 75px;
}

#calc_wrapper table {
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
    text-align: left;
}

#calc_wrapper thead {
    background-color: #57851b;
    color: white;
    font-size: 13px;
}

#calc_wrapper td,
th {
    padding-left: 3px;
    padding-right: 7px;
    border: 1px #57851b solid;
}

#calc_total th {
    font-size: 14px;
}

#current_type_wrapper,
#dismantling_roof_wrapper {
    display: none;
}
.clear {
    clear: both;
}
.calc_head {
    text-align: center;
}
.wrapper_parameters h2,
.calculator-wrapper__calculation h2 {
    text-align: left;
}
.wrapper_parameters .form-row {
    padding-bottom: 22px;
}
.wrapper_parameters .radio {
    gap: 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.wrapper_parameters .checkbox-control {
    display: block;
    padding-bottom:10px;
    vertical-align: middle;
}
.wrapper_parameters .checkbox-control input {
    vertical-align: middle;
}
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 504px;
    grid-template-rows: auto;
    grid-gap: 80px;
}

.form, #calc_wrapper {
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}
.calculator-wrapper__calculation .wrapper {
    border-radius: 12px;
    padding: 20px 20px;
    box-sizing: border-box;
    border: 2px solid #d24103;
    background: #FFF;
    gap: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}
.calculator-wrapper__calculation .wrapper-item {
    padding-bottom: 16px;
    gap: 20px;
    border-top: 0px solid #333333;
    border-right: 0px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 0px solid #333333;
    border-color: rgba(51, 51, 51, 0.2);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#calc_wrapper .title {
    font-size: 17px;
    color: #57851b;
}
.input {
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px 0 0;
    color: #333333;
    background: #ffffff;
    gap: 16px;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #333333;
    border-color: rgba(51, 51, 51, 0.2);
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.input input,
.input input:focus,
.input input:active {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    border: 0 !important;
    outline: 0 !important;
}
.input span {
    padding-left: 12px;
    opacity: 0.4;
    border-top: 0px solid #333333;
    border-right: 0px solid #333333;
    border-bottom: 0px solid #333333;
    border-left: 1px solid #333333;
    border-color: rgba(51, 51, 51, 0.4);
}
.calculator-wrapper__calculation .foot {
    text-align: right;
    padding: 20px 0;
}
.calculator-wrapper__calculation .foot button {
    border: 0 !important;
    padding: 7px 15px !important;
}
.calculator-wrapper__calculation .foot button:hover {
    background-color: #e36c0a !important;
}

.bf-field-services {
    width: 100%;
    clear: both;
    display: block;
}

@media only screen and (max-width: 959px) {
    .calculator-wrapper {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        grid-gap: 4px;
    }

    .calculator-wrapper__calculation .foot {
        text-align: center;
    }
}