.solar_loan_inner {
    border: 0;
    padding: 0px;
    background-color: transparent;
    max-width: 1030px;
}

.form-label {
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    color: var(--text-color);
    font-weight: 400;
}

.solar_loan_main .modal-content {
    padding: 30px;
    margin-bottom: 30px;
}

.solar_loan_main .solar_first_form .borrower_title h3 {
    font-size: var(--subtitle-font);
    line-height: var(--subtitle-line-height);
    color: var(--text-color);
    margin: 0 0 20px;
    font-weight: 400;
}

.cms_solar_loan .form-control {
    min-height: 46px;
}

.cms_solar_loan .form-control.security_text {
    max-width: 150px;
}

.solar_first_form_button {
    padding-top: 15px;
}

.solar_first_form_button button {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white);
    min-height: 52px;
    max-width: 264px;
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    font-weight: 700;
}

.solar_first_form_button button:hover,
.solar_first_form_button button:focus,
.solar_first_form_button button:active {
    background-color: var(--theme-color);
}

.solar_second_form .co-borrower-section {
    background-color: #E6E6E6;
}

.solar_second_form .co-borrower-section .co-borrower-check .form-check-input {
    width: 40px;
    height: 40px;
    margin: 0;
}

.solar_second_form .co-borrower-section .co-borrower-check .form-check-label {
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    color: var(--text-color);
    margin: 0;
}

.solar_second_form .co-borrower-section .co-borrower-check .form-check {
    display: flex;
    align-items: center;
    column-gap: 20px;
    padding-left: 0;
}

.solar_second_form .form-loan-section .autoplay_data {
    max-width: 900px;
    width: 100%;
    margin: 30px auto 0;
}

.solar_second_form .form-loan-section .autoplay_data p {
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    color: var(--text-color);
    font-weight: 400;
    font-style: italic;
}

.solar_second_form .form-content-section {
    padding: 40px 80px 40px 100px;
}

.solar_second_form .form-content-section .form-check {
    padding: 0;
    position: relative;
}
.solar_second_form .form-content-section .form-check:before {
    content: "*";
    position: absolute;
    left: -15px;
    color: var(--bs-red);
    font-size: 18px;
    top: -10px;
}

.solar_second_form .form-content-section p {
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    font-weight: 400;
    color: var(--text-color);
}

.solar_second_form .form-content-section .form-check input.form-check-input {
    width: 30px;
    height: 30px;
    position: absolute;
    left: -50px;
    top: -10px;
    margin-left: 0;
}

.solar_second_form .form-content-section .form-check .form-check-label {
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    font-weight: 400;
    color: #353535;
}

.solar_second_form .form-content-section .dark p {
    font-weight: 700;
    color: #353535;
}

.solar_second_form .form-content-section .form_list {
    margin-bottom: 30px;
}

.solar_second_form .form-content-section .form_list ul {
    list-style: decimal;
}

.solar_second_form .form-content-section .form_list ul li p {
    margin: 0;
    color: var(--text-color);
}

.solar_second_form .form-content-section .form_list ul li::marker {
    color: var(--text-color);
}

.solar_second_form .form-content-section .img_with_paragraph img {
    padding-right: 10px;
}

.solar_second_form .form-content-section .img_with_paragraph p {
    color: #353535;
}

.solar_second_form .form-content-section .form_comment_section .comment_section_inner {
    text-align: center;
}

.solar_second_form .form-content-section .form_comment_section .comment_section_inner textarea {
    border: 1px solid #747474;
    border-radius: 6px;
    margin-bottom: 25px;
    padding: 0;
    width: 100%;
    max-width: 480px;
    min-height: 264px;
}

.solar_second_form .form-content-section .form_comment_section .comment_section_button {
    display: flex;
    column-gap: 40px;
    max-width: 480px;
    margin: 0 auto;
}

.solar_second_form .form-content-section .form_comment_section .comment_section_button button {
    border-color: #005288;
    color: #005288;
    min-height: 50px;
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
}

.solar_second_form .form-content-section .form_comment_section .comment_section_button .btn-approve {
    font-weight: 700;
}

.solar_second_form .form-content-section .solar_second_form_button {
    text-align: center;
}

.solar_second_form .form-content-section .solar_second_form_button button {
    margin: 40px 0 0;
    max-width: 324px;
    min-height: 60px;
    background-color: #005288;
    color: #fff;
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
    font-weight: 700;
}

.kbw-signature {
    width: 100%;
    height: 200px;

    border: 1px solid #747474;
    border-radius: 6px;
    margin-bottom: 25px;
    padding: 0;
    width: 100% !important;
    max-width: 480px;
    min-height: 264px;
}

#sig canvas {
    height: auto;
    border: 1px solid #747474;
    border-radius: 6px;
    margin-bottom: 25px;
    padding: 0;
    width: 100% !important;
    max-width: 480px;
    min-height: 264px;
}

#co_sig canvas {
    width: 100% !important; /* Set canvas width to fill its container */
    height: auto; /* Allow height to adjust proportionally */
    border: 1px solid #747474;
    border-radius: 6px;
    margin-bottom: 25px;
    padding: 0;
    max-width: 480px; /* Limit the maximum width of the canvas */
    min-height: 264px; /* Ensure a minimum height for the canvas */
}

/*
.signature-container {
    display: flex;
    justify-content: space-between;
}
.b_sig,
.co_sign {
    flex: 1;
    margin-right: 10px;
} */

@media only screen and (max-width: 767px) {
    .solar_loan_main .modal-content {
        padding: 20px;
        margin-bottom: 20px;
    }

    .solar_second_form .form-content-section .form-check {
        display: flex;
        column-gap: 10px;
    }
    .solar_second_form .form-content-section .form-check:before {
        left: 37px;
        top: 0;
    }

    .solar_second_form .form-content-section .form-check input.form-check-input {
        position: unset;
        flex: 0 0 30px;
    }

    .solar_second_form .form-content-section .form-check .form-check-label {
        padding-left: 10px;
    }

    .solar_second_form .form-content-section .form_comment_section .comment_section_inner textarea {
        min-height: 180px;
    }

    .solar_second_form .form-content-section .form_comment_section .comment_section_button {
        column-gap: 20px;
    }
}

#butCoBorrower.co-borr-remove {
    background: #ffbc00;
    border: none;
    box-shadow: none;
}
