@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

:root {
    --primary-pl: #0071CE;
    --secondary-pl: #3D3935;
    --text-pl: #666361;
    --dark-pl: #000;
    --light-pl: #FFF;
}

html .cbox {
    width: 1180px;
    max-width: 100%;
    padding: 40px;
    background: #FFF;
    box-shadow: 0 0.5rem 1.5rem 0 rgba(26,26,26,.1);
    border-radius: 8px;
    margin: 0 auto;
}
html .cbox .calcwpr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 36px;
}
html .cbox .formb {
    width: 37%;
}
html .cbox .resultb {
    width: 49.3%;
    background-color: #FFF;
    box-shadow: 0px 8px 24px 0px rgba(26,26,26,.1);
    padding: 16px 28px 32px;
    border-radius: 8px;
    margin-top: 24px;
}
html .cbox .info-text {
    font-weight: 400;
    margin-bottom: 14px;
}
html .form-field {
    margin-bottom: 20px;
}
html .form-field:last-child {
    margin-bottom: 0;
}
html .form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}
html :is(.pl-form-control,.pl-form-select) {
    width: 100%;
    display: block;
    height: 44px;
    background: var(--light-pl);
    border: 1px solid #BBBBBB;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    color: var(--secondary-pl);
    font-family: var(--pl-body-font);
    appearance: none;
}
html :is(.pl-form-control,.pl-form-select):focus {
    outline: none;
}
html .pl-form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233D3935' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 14px;
}
html .pl-form-control ~ [id*="err"] {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}
html .pl-form-control ~ [id*="err"]:before {
    content: '';
    display: block;
    width: 16px;
    min-width: 16px;
    height: 16px;
    background-image: url('/wp-content/uploads/2025/07/error-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
}

#input_9_6_err::before,
#input_9_7_err::before,
#input_9_11_err::before,
#input_9_9_err::before {
  content: '';
  display: block;
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-image: url('/wp-content/uploads/2025/07/error-icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
  margin-right: 8px;
}


.resultb .rtwpr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.resultb .rtwpr h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}
.rt-actions {
    display: flex;
    gap: 16px;
}
.rt-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: var(--secondary-pl);
    padding: 4px;
    transition: all 0.4s;
}
.rt-actions #print {
    gap: 12px;
}
.rt-actions a:hover {
    color: var(--primary-pl);
}
.rt-actions a:before {
    content: '';
    display: block;
    width: 16px;
    min-width: 16px;
    height: 16px;
    background-image: url('https://ccfbanknadev.wpengine.com/wp-content/uploads/2025/07/email.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}
.rt-actions a#print:before {
    background-image: url('https://ccfbanknadev.wpengine.com/wp-content/uploads/2025/07/print.png');
}
.final-r .item {
    display: flex;
    justify-content: space-between;
}
.final-r .item h6 {
    color: var(--text-pl);
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 0;
    padding: 8px 8px 18px;
}
.final-r .item h6 b {
    color: var(--secondary-pl);
}
.final-r .item h4 {
    font-size: 20px;
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 0;
    font-family:"Myriad Pro";
    padding: 8px 8px 18px;
    line-height: 1.51875rem;
    color: var(--secondary-pl);
}
.final-r .item h3 {
    color: var(--primary-pl);
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
    margin-bottom: 0;
    font-family:"Myriad Pro";
    line-height: 2.25rem;
}
.final-r .item:last-child {
    border-top: 1px solid #DDD;
}
.final-r .item:last-child :is(h6,h3) {
    padding: 16px 8px 0;
}
#resetbtn {
    display: inline-block;
    padding: 0 26px;
    border: 0;
    border-radius: 4px;
    line-height: 40px;
    background: #d32f2f;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--pl-body-font);
    transition: all 0.4s;
    cursor: pointer;
     background: #0071CF;
}
#resetbtn:hover {
    background: #0071CF;
}


html .ec-result {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1ab3;
    display: none;
}
html .ppshow .ec-result {
    display: flex;
}
html .ec-result .box {
    max-width: 610px;
    max-height: 100vh;
    position: relative;
    background-color: var(--light-pl);
    border-radius: 8px;
    box-shadow: 0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;
    padding: 20px;
}
html .ec-result .box .gform_wrapper {
    display: block !important;
}
html .ec-result .closeicon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
}
html .ec-result .closeicon img {
    display: block;
    width: 100%;
    height: 100%;
}
html .ec-result .closeicon:hover {
    filter: brightness(0);
}
html .ec-result .box > h3 {
    font-weight: 700;
    line-height: 1;
    margin: 0;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 2px;
    color: var(--secondary-pl);
}
html .ec-result .box > p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--secondary-pl);
    font-weight: 400;
}
html .ec-result .box .gform_heading {
    display: none;
}
html .ec-result .gform_heading {
    display: none;
}
html .ec-result .gform_fields {
    gap: 20px;
}
html .ec-result .gfield_label {
    display: block;
    color: var(--secondary-pl);
    font-size: 14px;
    line-height: 143%;
    margin-bottom: 4px;
}
html .ec-result .gfield_label .gfield_required {
    display: none;
}
html .ec-result .ginput_container input {
    width: 100%;
    max-width: 74.5%;
    display: block;
    height: 44px;
    background: var(--light-pl);
    border: 1px solid #BBBBBB;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    color: var(--secondary-pl);
    font-family: var(--pl-body-font);
    appearance: none;
    box-shadow: none;
}
html .ec-result .zipcode input {
    max-width: 36%;
}
html .ec-result .recive-mail .gfield_label {
    display: none;
}
html .ec-result .recive-mail .gchoice {
    gap: 10px;
}
html .ec-result .recive-mail .gchoice input {
    width: 16px;
    max-width: 100%;
    height: 16px;
    padding: 0;
    border-radius: 2px;
    cursor: pointer;
}
html .ec-result .recive-mail .gchoice input:before {
    display: none;
}
html .ec-result .recive-mail .gchoice input:checked {
    accent-color: var(--primary-pl);
    appearance: auto;
}
html .ec-result .recive-mail .gchoice label {
    margin: 0;
    font-size: 1rem;
    color: var(--text-pl);
    font-weight: 400;
    line-height: 1.25rem;
    margin-top: 0;
    cursor: pointer;
}
html .ec-result .gform_footer {
    margin-top: 28px;
    justify-content: flex-end;
}
html .ec-result .gform_footer input[type="submit"] {
    font-family: var(--pl-body-font) !important;
    padding: 0 16px;
    line-height: 48px !important;
    border: 0 !important;
    font-size: 16px !important;
    transition: all 0.4s !important;
    background: var(--primary-pl) !important;
    color: var(--light-pl) !important;
    border-radius: 4px !important;
}
html .ec-result .gform_footer input[type="submit"]:hover {
    background: var(--primary-pl) !important;
    cursor: pointer;
}
html .ec-result .gform_footer input[type="submit"].disable {
    pointer-events: none;
    background: #f7f5f0 !important;
    color: #666361 !important;
}
.cancelbtn {
    position: absolute;
    right: 153px;
    bottom: 0;
    margin: 20px 14px;
    font-family: var(--pl-body-font);
    font-weight: 500;
    font-size: 18px;
    color: var(--primary-pl);
    line-height: 48px;
    padding: 0 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.4s;
}
.cancelbtn:hover {
    background: #0071ce;
  color: #fff;
}
html .warningTextareaInfo {
    display: none !important;
}
html .gform-theme--framework .gform_validation_errors {
    display: none;
}
html .ec-result .gform_footer .gform-loader {
    display: none;
    position: absolute;
    border-block-end-color: #000;
    border-block-start-color: rgb(0 0 0 / 10%);
    border-inline-end-color: rgb(0 0 0 / 10%);
    border-inline-start-color: #000;
    margin: 0 56px;
}
html .gform-theme--framework [id*="err"],
html .gform-theme--framework .gfield_validation_message {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #e12d43;
    font-size: 14px;
    margin-top: 2px !important;
}
html .gform-theme--framework [id*="err"]:before,
html .gform-theme--framework .gfield_validation_message:before {
    content: '';
    display: block;
    width: 16px;
    min-width: 16px;
    height: 16px;
    background-image: url('https://ccfbanknadev.wpengine.com/wp-content/uploads/2025/07/error-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
}
html .ec-result .box:has(.gform_confirmation_wrapper) > :is(h3,p) {
    display: none;
}
html .ec-result .box:has(.gform_confirmation_wrapper) .cancelbtn {
    position: static;
    margin: 0;
    margin-top: 20px;
    float: right;
    color: var(--light-pl);
    background: var(--primary-pl);
    font-size: 16px;
    font-weight: 500;
}
html .ec-result .box:has(.gform_confirmation_wrapper) .cancelbtn {
    position: static;
    margin: 0;
    margin-top: 20px;
    float: right;
    color: var(--light-pl);
    background: var(--primary-pl);
    font-size: 16px;
    font-weight: 500;
}
.gform_confirmation_wrapper h2 {
    font-weight: 700;
    line-height: 1;
    margin: 0;
    font-size: 1.125rem;
    color: var(--secondary-pl);
    margin-bottom: 20px;
}
.gform_confirmation_wrapper br {
    display: none;
}
.gform_confirmation_wrapper img {
    display: block;
    width: 100px;
    margin: 0 auto;
}
.gform_confirmation_wrapper h6 {
    font-size: 1rem;
    line-height: 1.5;
    color: #3D3935;
    font-weight: 400;
}
.gform_confirmation_wrapper h6 a {
    color: var(--primary-pl);
    text-decoration: underline;
}
.gform_confirmation_wrapper h6 a:hover {
    color: var(--dark-pl);
}

html .cbox .tabwpr {
    border-bottom: 1px solid #DDD;
    display: flex;
    margin-bottom: 28px;
}
html .cbox .tabwpr div {
    color: var(--secondary-pl);
    line-height: 1;
    cursor: pointer;
    background-color: var(--light-pl);
    border: 0;
    border-bottom: 6px solid var(--light-pl);
    padding: 16px;
    font-weight: 600;
    font-size: 16px;
}
html .cbox .tabwpr div.active {
    border-color: var(--primary-pl);
}
.form-validation-msg {
    text-align: right;
    font-size: 16px;
    line-height: 150%;
    color: #E12D43;
    margin-top: -20px;
    margin-bottom: 20px;
}



@media (max-width:1024px) {
    html .cbox .calcwpr {
        margin-bottom: 16px;
    }
    html .cbox .resultb {
        width: 49%;
    }
    .final-r .item {
        gap: 10px;
    }
    .form-validation-msg {
        font-size: 14px;
    }
}
@media (max-width:767px) {
    html .cbox {
        padding: 20px;
    }
    html .cbox .formb {
        width: 100%;
    }
    html .cbox .resultb {
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        margin-top: 28px;
    }
    .resultb .rtwpr {
        margin-bottom: 0;
    }
    .rt-actions a {
        font-size: 16px;
    }
    .resultb .final-r {
        padding: 24px 24px 32px;
        background: var(--light-pl);
        box-shadow: 0px 8px 24px 0px rgba(26,26,26,.1);
        border-radius: 8px;
    }
    .final-r .item {
        gap: 0;
    }
    .final-r .item h6 {
        font-size: 16px;
        line-height: 1.25rem;
        margin-right: 16px;
    }
    .final-r .item h4 {
        font-size: 20px;
    }
    .final-r .item h3 {
        font-size: 26px;
    }
    html .ec-result .closeicon {
        width: 18px;
        height: 18px;
        margin: 32px 18px;
    }
    html .ec-result .box > h3 {
        font-size: 16px;
        margin-bottom: 16px;
        margin-top: 0px;
    }
    html .ec-result .box > p {
        padding-right: 40px;
    }
    html .ec-result .box {
        height: 100dvh;
        padding: 32px 20px;
        border-radius: 0;
    }
    html .ec-result .gfield_label {
        font-size: 16px;
        line-height: 125%;
        font-weight: 600;
    }
    html .ec-result .ginput_container input {
        max-width: 100%;
    }
    html .ec-result .zipcode input {
        max-width: 204px;
    }
    html .ec-result .recive-mail .gchoice {
        gap: 5px;
    }
    html .ec-result .recive-mail .gchoice input {
        width: 13px;
        height: 13px;
        margin-top: 4px;
    }
    html .ec-result .gform_footer input[type="submit"] {
        width: 100% !important;
    }
    .cancelbtn {
        position: static;
        font-size: 16px;
        text-align: center;
        margin: 0;
    }
    html .ec-result .box:has(.gform_confirmation_wrapper) {
        display: flex;
        flex-direction: column;
    }
    .gform_confirmation_wrapper h2 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    .gform_confirmation_wrapper h6 {
        padding-right: 10px;
    }
    html .ec-result .box:has(.gform_confirmation_wrapper) .cancelbtn {
        margin-top: auto;
    }
    .form-validation-msg {
        margin-top: -5px;
    }
}