.trade-select-desktop .trade-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 15px 0 25px 0;
}

.trade-select-desktop .trade-options input[type="radio"] {
    display: none;
}

.trade-select-desktop .trade-options input[type="radio"]:checked ~ .trade-option {
    background-color: #a20f2b;
    cursor: pointer;
}

.trade-select-desktop label {
    flex: 0 calc(16.666% - 8px);
}

.trade-select-desktop .trade-option {
    display: block;
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    background-color: #1f7da3;
    color: #fff;
    font-size: 18px;
    border-top-right-radius: 10px;
    transition: all ease 0.3s;
}

.trade-select-desktop .trade-option:hover {
    background-color: #a20f2b;
    cursor: pointer;
}

.trade-select-mobile {
    display: none;
}

.postcode-search {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.postcode-search p {
    font-size: 19px;
    line-height: 21px;
    color: #333333;
    margin-bottom: 15px;
}

.postcode-search input[type=text] {
    padding: 10px 15px !important;
    width: 100%;
    max-width: 243px;
    background-color: #f1f1f1;
}

.postcode-search button {
    font-size: 18px;
    line-height: 21px;
    color: #a20f2b;
    border: 1px solid #a20f2b;
    border-top-right-radius: 10px;
    display: inline-block;
    width: 100%;
    max-width: 243px;
    padding: 10px 20px;
    background-color: transparent;
    text-align: left;
    transition: all ease 0.3s;
}

.postcode-search button:hover {
    cursor: pointer;
    background-color: #a20f2b;
    color: #fff;
}

.installer-selection {
    display: flex;
    flex-direction: column;
    max-height: 620px;
    overflow-y: scroll;
    padding-right: 15px;
}

.installer-selection::-webkit-scrollbar {
    background-color: #e4e4e4;
    width: 4px;
}

.installer-selection::-webkit-scrollbar-thumb {
    background-color: #a20f2b;
}

.installer-selection .single-installer {
    padding: 20px 0;
    border-top: 1px solid #e4e4e4;
}

.installer-selection .single-installer .title-container {
    display: flex;
    justify-content: space-between;
}

.installer-selection .single-installer h3 {
    font-size: 29px;
    line-height: 35px;
    color: #1f7da3;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.installer-selection .single-installer .distance {
    color: #a20f2b;
    font-size: 19px;
    line-height: 22px;
    font-weight: bold;
}

.installer-selection .single-installer p {
    margin-bottom: 10px;
}

.installer-selection .single-installer .modal-open-link {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 18px!important;
    line-height: 21px!important;
    color: #a20f2b!important;
    border: 1px solid #a20f2b!important;
    border-top-right-radius: 10px!important;
    display: inline-block;
    width: 100%;
    max-width: 243px;
    padding: 10px 20px!important;
    background-color: transparent!important;
    text-align: left!important;
    transition: all ease 0.3s!important;
    margin-top: 15px!important;
}

.installer-contact-form-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.3);
    z-index: -100001;
    opacity: 0;
    padding: 15px;
    transition: all ease 0.3s;
    visibility: hidden;
}

.installer-contact-form-popup.open {
    z-index: 100001;
    opacity: 1;
    visibility: visible;
}

.installer-contact-form-popup-inner {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    max-width: 904px;
    padding: 30px 25px;
    position: relative;
}

.installer-contact-form-popup-inner #contact_error_message {
    margin-bottom: 15px;
    color: red;
}

.installer-contact-form-popup-inner #contact_success_message {
    margin-bottom: 15px;
    color: green;
}

.installer-contact-form-popup-inner .close-modal {
    position: absolute;
    top: 5px;
    right: 20px;
}

.installer-contact-form-popup-inner .close-modal:before {
    content: 'x';
    color: #a20f2b;
    font-size: 29px;
}

.installer-contact-form-popup-inner .close-modal:hover {
    cursor: pointer;
}

.installer-contact-form-popup-inner h3 {
    font-size: 29px;
    line-height: 35px;
    color: #1f7da3;
    padding-bottom: 0;
    margin-bottom: 30px;
}

.installer-contact-form-popup-inner form {
    display: flex;
    flex-direction: column;
}

.installer-contact-form-popup-inner form input,
.installer-contact-form-popup-inner form textarea {
    margin-bottom: 10px;
    padding: 10px 15px !important;
    width: 100%;
    background-color: #f1f1f1;
}

.installer-contact-form-popup-inner form textarea {
    max-height: 68px!important;
}

.installer-contact-form-popup-inner .gform_footer {
    padding: 0!important;
    margin: 0!important;
}

.installer-contact-form-popup-inner input[type=submit] {
    font-size: 18px!important;
    line-height: 21px!important;
    color: #a20f2b!important;
    border: 1px solid #a20f2b!important;
    border-top-right-radius: 10px!important;
    display: inline-block;
    width: 100%;
    max-width: 243px;
    padding: 10px 20px!important;
    background-color: transparent!important;
    text-align: left!important;
    transition: all ease 0.3s!important;
    margin-top: 15px!important;
    margin-bottom: 0!important;
}

.installer-contact-form-popup-inner input[type=submit]:hover {
    cursor: pointer;
    background-color: #a20f2b!important;
    color: #fff!important;
}

.hide {
    display: none !important;
}

.showroom-premier-checkbox {
    float: right;
}
@media screen and (min-width: 1025px) {
    .showroom-premier-checkbox {
        margin-top: -80px;
        z-index: 1;
        position: relative;
    }
}
@media screen and (max-width: 1024px) {
    .showroom-premier-checkbox {
        margin-bottom: 20px;
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .trade-select-desktop:not(.showroom-premier-checkbox) {
        display: none;
    }

    .trade-select-mobile {
        display: flex;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .trade-select-mobile select {
        background-color: #a20f2b;
        color: #fff !important;
        border-top-right-radius: 10px;
    }

    .installer-selection .single-installer .title-container {
        flex-direction: column;
    }

    .installer-selection .single-installer .title-container h3 {
        margin-bottom: 0;
    }

    .installer-selection .single-installer .title-container .distance {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 639px) {
    .postcode-search > div {
        display: flex;
        flex-direction: column;
    }

    .postcode-search > div input[type=text] {
        margin-bottom: 10px;
    }

    .postcode-search > div input[type=text],
    .postcode-search > div button {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}