.gform_page.cost-calculator {
    width: 80%;
    margin: 12% auto 8%;
    text-align: center;
}

.cost-calculator legend {
    font-family: "museo", serif !important;
    font-size: 30px !important;
    font-weight: normal !important;
}

.cost-calculator .gfield_radio {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}

.cost-calculator .gchoice:last-of-type {
    background-color: transparent;
    padding: 0;
}

.cost-calculator .gfield_description {
    font-size: 18px;
    width: 85%;
    margin: 0 auto 2%;
}

.cost-calculator .gchoice {
    width: 30%;
}

.cost-calculator .gchoice label {
    font-size: 22px !important;
    font-weight: bold;
    padding: 15% 20%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 170px;
    border-radius: 10px;
    background-color: #D5E7AE;
}

.cost-calculator .gchoice label:hover {
    outline: 2px solid #000;
}

.cost-calculator .gchoice input {
    display: none !important;
}

.cost-calculator .gchoice input.gchoice_other_control.masked {
    display: block !important;
}

.cost-calculator .gchoice input[type="radio"]:checked+label {
    background-color: #f4f0ee;
}

.cost-calculator .gchoice:last-of-type {
    display: flex;
    width: 75%;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 3%;
}

.cost-calculator .gchoice:last-of-type label {
    padding: 0;
    height: max-content;
    background-color: transparent;
    font-size: 18px !important;
    width: max-content;
    display: block !important;
    border-radius: 0;
}

.cost-calculator .gchoice:last-of-type .gform-field-label.hidden {
    display: none !important;
}

.cost-calculator .gchoice:last-of-type input {
    width: 45%;
    margin-left: 5%;
    border: 2px solid #000;
    border-radius: 0;
    margin-top: 0 !important;
}

.cost-calculator .gform_next_button,
.cost-calculator .gform_next_button:active,
.cost-calculator .gform_next_button:focus,
.cost-calculator .gform_button,
.cost-calculator .gform_button:active,
.cost-calculator .gform_button:focus,
.cost-comparison-details .gform_button,
.cost-comparison-details .gform_button:active,
.cost-comparison-details .gform_button:focus {
    padding: 10px 50px;
    text-transform: none;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0;
    background-color: #1F5734;
}

.cost-calculator .gform_next_button:hover,
.cost-calculator .gform_button:hover,
.cost-comparison-details .gform_button:hover {
    background-color: #4a4544;
}

.cost-calculator .gform_previous_button {
    border: 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: bold;
    color: #000000 !important;
    padding: 0;
    margin-top: 15px;
    margin-right: 5%;
}

.cost-calculator .gform_previous_button:hover {
    text-decoration: underline !important;
    border: 0;
}

.cost-calculator .gf_progressbar_wrapper {
    position: fixed;
    top: 105px;
    z-index: 99;
    width: 100%;
    left: 0;
}

.cost-calculator .gf_progressbar_title {
    display: none;
}

.cost-calculator .gf_progressbar {
    height: 10px;
}

.cost-calculator .gf_progressbar_percentage {
    height: 10px !important;
}

.cost-calculator .gf_progressbar_percentage span {
    display: none !important;
}

@media (max-width: 1100px) {

    .gform_page.cost-calculator {
        width: 90%;
        margin: 13% auto 15%;
    }

}

@media (max-width: 650px) {

    .cost-calculator .gchoice {
        width: 80%;
        margin-bottom: 5%;
    }

    .cost-calculator .gchoice:last-of-type {
        display: block;
        width: 100%;
        text-align: center;
    }

    .cost-calculator .gchoice:last-of-type label {
        text-align: center;
        width: 100%;
    }

    .cost-calculator .gchoice:last-of-type input {
        width: 100%;
        margin-left: 0;
        margin-top: 2% !important;
    }

    .cost-calculator .gchoice label {
        padding: 5% 10%;
        font-size: 18px !important;
        padding: 5% 10%;
        height: 85px;
    }

}

@media (max-width: 450px) {

    .cost-calculator .gf_progressbar_wrapper {
        top: 60px;
    }

    .gform_page.cost-calculator {
        width: 90%;
        margin: 18% auto 15%;
    }

}
