.lead-capture-form-wrapper,
.boiler-lead-form-wrapper,
.plumber-lead-form-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
}

.lead-form-wrapper .lead-capture-form {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

.lead-form-wrapper .lead-capture-form .close {
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100%;
    right: -15px;
    top: -15px;
    opacity: 1;
    border: 3px solid #e9e9e9;
    text-align: center;
}

.lead-form-wrapper .lead-capture-form .close > img {
    width: 10px;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper {
    max-height: calc(90vh - 80px);
    background: #fff;
    border: 3px solid #edac63;
    border-right: 0;
    text-align: center;
    padding: 20px;
    margin: 0;
    overflow-y: scroll;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper .gform_heading {
    display: none;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper ul.gform_fields li:first-child {
    margin-top: 0;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper .gfield_radio li input[type=radio] {
    margin-top: 0;
    margin-right: 5px;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper label.gfield_label {
    color: #777671;
    font-weight: 500 !important;
    margin: 0;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper ul.gfield_radio li input[type=radio]+label {
    color: #777671;
}

.lead-form-wrapper .lead-capture-form >  .gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label {
    color: #777671;
    font-weight: 500 !important;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper .gfield_error label.gfield_label {
    color: #790000;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper input:not([type=radio]):not(.gform_button) {
    width: 100% !important;
    color: #777671 !important;
    background: #f3f2f0;
    font-weight: 500;
    border: none;
    padding: 10px !important;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper input:not([type=radio]):not(.gform_button):-webkit-autofill,
.lead-form-wrapper .lead-capture-form > .gform_wrapper input:not([type=radio]):not(.gform_button):-webkit-autofill:hover, 
.lead-form-wrapper .lead-capture-form > .gform_wrapper input:not([type=radio]):not(.gform_button):-webkit-autofill:focus, 
.lead-form-wrapper .lead-capture-form > .gform_wrapper input:not([type=radio]):not(.gform_button):-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px #f3f2f0 inset !important;
    box-shadow: 0 0 0 30px #f3f2f0 inset !important;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper select {
    color: #777671 !important;
    background: #f3f2f0;
    font-size: 12px;
    font-weight: 500;
    border: none;
    padding-top: 11.5px;
    padding-bottom: 11.5px;
    cursor: pointer;
}

.lead-form-wrapper .lead-capture-form .gform_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #f27b05 !important;
    background: linear-gradient(to right, rgba(242, 123, 5, 0.8), rgba(242, 123, 5, 1)) !important;
    color: #fff;
    padding: 7.5px 30px !important;
    font-size: 18px !important;
    line-height: 22px;
    border: 1px solid transparent;
    border-radius: 30px;
    margin: auto !important;
    text-align: center;
    outline: none !important;
}

.lead-form-wrapper .lead-capture-form .gform_button:hover,
.lead-form-wrapper .lead-capture-form .gform_button:focus {
    background: transparent !important;
    border-color: #f27b05;
    color: #f27b05;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper .gform_footer {
    padding-bottom: 0;
}

.lead-form-wrapper .lead-capture-form .gform_confirmation_message {
    color: #f27b05;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    padding: 15px 0;
}


/* SCROLLBAR */
.lead-form-wrapper .lead-capture-form > .gform_wrapper::-webkit-scrollbar {
  width: 3px;
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper::-webkit-scrollbar-track {
  background: #edac63; 
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper::-webkit-scrollbar-thumb {
  background: #edac63; 
}

.lead-form-wrapper .lead-capture-form > .gform_wrapper::-webkit-scrollbar-thumb:hover {
  background: #f37e0b; 
}
/* /SCROLLBAR */


/* HOW OLD IS YOUR BOILER */
.boiler-banner {
    background: #ef8108;
    color: #fff;
    font-weight: 800;
    text-align: center;
    border-radius: 20px;
    padding: 15px;
}

.boiler-banner a.how-old-boiler-popup {
    color: #fff !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.boiler-lead-captured .boiler-banner.hide-lead-captured {
    display: none;
}
/* /HOW OLD IS YOUR BOILER */


/* MOBILE CSS */
@media (max-width: 767px) {
    .lead-form-wrapper .lead-capture-form {
        max-width: 90vw;
    }

    .lead-form-wrapper .lead-capture-form > .gform_wrapper input:not([type=radio]):not(.gform_button) {
        padding: 6px;
    }
}
/* /MOBILE CSS */