.af-form#form_675b08258c0af {
    width: 100%;
}

.wt25_num_box {
    float: left;
    width: 15%;
    border: 1px grey solid;
    margin: 5px;
    padding: 1% 5px;
    text-align: center;
    height: 130px;
}

.wt25_num_box_body {
    color: #417ec9;
    font-size: 30px;
}

.wt25_ordained_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

.wt25_ordained_table th, .wt25_ordained_table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

body.breakdance h2.media-attachments-filter-heading {
    font-size: 18px;
}

body.breakdance .media-frame-title h1 {
    font-size: 20px;
}

body.breakdance .de-gf-95-107 .gform_wrapper .gform_body .gform_fields .gfield select {
    padding-top: 0;
    padding-bottom: 0;
}

body.breakdance .media-sidebar h2 {
    font-size: inherit;
}

.wt25_pr_year_select {
    padding: 30px 0;
}

.wt25_pr_year_text {
    font-weight: bold;
}

.wt25_pr_heading {
    text-align: center;
}

body.breakdance .wt_footer div a img.tec_branding_logo {
    height: 83px;
    width: 100%;
}

body.breakdance .wt_footer div.tec_branding_logo_wrap {
    margin: 0 40px 0 0;
    float: right;
    max-width: 76px

}

body.ministries-template-default button.acf-button.af-submit-button {
    padding: 10px;
    border: none;
    background-color: #3c82f6;
    color: #ffffff;
}

body.ministries-template-default button.acf-button.af-submit-button:hover {
    cursor: pointer;
    background-color: #3c82f6;
    color: #dfd5d5;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

#footer-bottom.wt_footer_bottom_wrap, .wt_footer_bottom_wrap {
    width: 100%;
}

body .bde-section .section-container.wt_footer_section {
    padding: 0 0 50px 0;
}

body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type="submit"] {
    background-color: #3b82f6 !important;
}

.wt25_notes_message {
    text-align: center;
}

.wt25_make_pr_graph_wrap {
    margin: 0 0 50px 0;
    padding: 0 20px 30px 20px;
    border-bottom: 1px solid #ddd;
}

h1.wt25_make_pr_graph_head {
    text-align: center;
}

form.wt25_make_pr_graph_form {
    margin-bottom: 30px;
    text-align: center;
}

.wt25_make_pr_graph_submit {
    padding: 8px 20px;
    margin: 15px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.wt25_make_pr_graph_clear {
    padding: 8px 20px;
    background: #dc3232;
    color: white;
    text-decoration: none;
    margin: 15px auto;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

body.breakdance a.wt25_make_pr_graph_clear {
    color: white;
}

.wt25_make_pr_graph_form select {
    padding: 5px 10px;
    margin: 4px;
    max-width: 320px;
}

/* Tom Select (searchable metric dropdowns) — match the inline, centered form layout. */
.wt25_make_pr_graph_form .ts-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 280px;
    max-width: 90vw;
    margin: 4px;
    text-align: left;
}

.wt25_make_pr_graph_form .ts-control {
    padding: 4px 8px;
    border-radius: 3px;
}

/* Tom Select dropdown section headers (the coverage groups) — make them read as distinct,
   non-selectable section labels with indented options, like the native <optgroup>s did. */
.ts-dropdown .optgroup-header {
    color: #6b7280;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 9px 10px 4px;
    background: #f3f4f6;
    cursor: default;
}

.ts-dropdown .optgroup:not(:first-child) .optgroup-header {
    border-top: 1px solid #e5e7eb;
}

.ts-dropdown .optgroup .option {
    padding-left: 20px;
}

/* ECharts chart-builder render target needs an explicit height. */
#wt25-pr-graph-container {
    width: 100%;
    height: 750px;
}

/* ECharts single-parish yearly line graph ([wt25_parochial_report_single]). */
#wt25-asa-graph-container {
    width: 100%;
    height: 440px;
}

/* Back + year-order buttons above the chart. Only one is ever visible at a time (order in the
   main view, back in the drill view), so the flex toolbar just keeps their spacing consistent. */
.wt25_pr_graph_toolbar {
    display: flex;
    gap: 8px;
    margin: 0 0 10px 0;
}

.wt25-pr-graph-back,
.wt25-pr-graph-order {
    padding: 6px 14px;
    background: #fff;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 3px;
    cursor: pointer;
}

.wt25-pr-graph-back {
    display: none; /* revealed (inline-block) by the renderer only in the drill view */
}

.wt25-pr-graph-back:hover,
.wt25-pr-graph-order:hover {
    background: #3b82f6;
    color: #fff;
}

.wt25_pr_graph_nodata {
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Accessibility (matches the RSA stats pattern): the canvas is aria-hidden and the data table
   below is the screen-reader source of truth. */
.wt25-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wt25_pr_graph_figure {
    margin: 0;
}

/* A data card the current selection has turned off (toggled live by the personalization
   accordion — the card stays in the DOM so re-enabling it needs no refetch). */
.wt25_num_box.wt25_pr_card_off {
    display: none;
}

/* Personalization accordion under the data cards ([wt25_parochial_report_single]). */
.wt25_pr_prefs {
    clear: both;
    margin: 18px 0 8px 0;
    border: 1px solid #d8dde6;
    border-radius: 6px;
    background: #fafbfd;
}

.wt25_pr_prefs > summary {
    cursor: pointer;
    padding: 10px 14px;
    font-weight: 600;
    color: #3a5da3;
}

.wt25_pr_prefs > summary:focus-visible {
    outline: 3px solid #4f7cf6;
    outline-offset: 2px;
}

.wt25_pr_prefs_intro {
    margin: 4px 14px 10px 14px;
    font-size: 0.9rem;
    color: #555;
}

.wt25_pr_prefs_cols {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 14px;
}

.wt25_pr_prefs_group {
    flex: 1 1 320px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e3e7ee;
    border-radius: 4px;
    background: #fff;
}

.wt25_pr_prefs_group legend {
    font-weight: 600;
    padding: 0 4px;
}

.wt25_pr_prefs_group .wt25_pr_prefs_item {
    display: block;
    margin: 2px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wt25_pr_prefs_group .wt25_pr_prefs_item input {
    margin-right: 6px;
}

/* Two-column checkbox lists on wide screens. */
@media (min-width: 900px) {
    .wt25_pr_prefs_group {
        column-count: 2;
        column-gap: 18px;
    }

    .wt25_pr_prefs_group legend {
        column-span: all;
    }

    .wt25_pr_prefs_group .wt25_pr_prefs_item {
        break-inside: avoid;
    }
}

.wt25_pr_prefs_actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 14px 14px;
}

.wt25_pr_prefs_reset {
    padding: 6px 14px;
    background: #fff;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 3px;
    cursor: pointer;
}

.wt25_pr_prefs_reset:hover {
    background: #3b82f6;
    color: #fff;
}

.wt25_pr_prefs_status {
    font-size: 0.9rem;
    color: #2e7d32;
}

.wt25_pr_graph_data {
    margin-top: 12px;
}

.wt25_pr_graph_data > summary {
    cursor: pointer;
    color: #3a5da3;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 6px;
}

.wt25_pr_graph_data > summary:focus-visible {
    outline: 3px solid #4f7cf6;
    outline-offset: 2px;
}

.wt25_pr_data_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.9rem;
}

.wt25_pr_data_table caption {
    text-align: left;
    font-weight: 600;
    padding: 4px 0;
}

.wt25_pr_data_table th,
.wt25_pr_data_table td {
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    text-align: right;
}

.wt25_pr_data_table th[scope="col"],
.wt25_pr_data_table th[scope="row"] {
    text-align: left;
}

.wt25_pr_data_table thead th {
    background: #f7f9fc;
}

.wt_footer {
    line-height: 1.6em;
}

.wt_clear {
    clear: both;
}

@media (max-width: 479px) {
    .alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .alignleft {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
}

@media all and (max-width: 1440px) {
    .wt25_pr_year_select {
        padding-bottom: 10px;
    }

    .wt25_pr_year_text {
        margin: 0 0 4px 0;
    }

    .wt25_personnel_header h4 {
        margin-bottom: 16px;
    }

    .wt25_num_header h4 {
        margin-top: 10px;
        margin-bottom: 16px;
    }
}

@media all and (max-width: 1200px) {
    body.breakdance .bde-shortcode-641-106 {
        padding-right: 0;
    }

    body.breakdance .bde-shortcode-641-106 .af-form .af-field:not(.af-field-clergy):not(.af-field-officers):not(.af-field-wardens):not(.af-field-administrator) {
        width: 50% !important;
    }

    body.breakdance .bde-shortcode-641-106 .acf-table > thead > tr > th:not(:first-child):not(:last-child) {
        min-width: 200px;
        font-size: 16px;
        line-height: 1;
    }

    body.breakdance .bde-shortcode-641-106 .af-form .af-field-clergy .af-input,
    body.breakdance .bde-shortcode-641-106 .af-form .af-field-officers .af-input,
    body.breakdance .bde-shortcode-641-106 .af-form .af-field-wardens .af-input,
    body.breakdance .bde-shortcode-641-106 .af-form .af-field-administrator .af-input {
        overflow-x: auto;
    }

    .wt25_num_box_head {
        font-size: 15px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .wt25_num_box_body {
        font-size: 20px;
        line-height: 1.2;
    }

    .wt25_ordained_table th,
    .wt25_ordained_table td {
        font-size: 15px;
        line-height: 1.2;
    }
}

@media all and (max-width: 985px) {
    .wt25_num_box {
        width: 18%;
    }

    body.breakdance .bde-section-641-102 .section-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bde-shortcode-641-130 h3 {
        margin-bottom: 16px;
    }

    .wt25_fusion_title_h4 {
        margin-bottom: 18px;
        font-size: 24px !important;
    }

    .wt22_widget_3,
    .bde-shortcode-641-130 p {
        text-align: center;
    }

    .bde-shortcode-641-130 p {
        margin-top: 3px;
    }

    .bde-shortcode-641-130 p a {
        word-break: break-word;
    }

    .bde-shortcode-641-129 .af-field-diocesan-documents-repeater {
        padding: 12px 0 0 0 !important;
    }

    .bde-shortcode-641-129 .af-submit {
        padding: 16px 0px !important;
    }
}

@media all and (max-width: 840px) {
    .wt25_num_box {
        width: 22%;
    }
}

@media all and (max-width: 767px) {
    .acf-field {
        width: 100% !important;
    }

    body.breakdance .bde-shortcode-641-106 .af-form .af-field:not(.af-field-clergy):not(.af-field-officers):not(.af-field-wardens):not(.af-field-administrator) {
        width: 100% !important;
    }

    body.breakdance .bde-shortcode-641-106 .af-form .af-field {
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.breakdance .bde-shortcode-641-106 .acf-tab-group {
        padding: 10px 10px 16px 10px;
    }

    body.breakdance .bde-shortcode-641-106 .acf-tab-group li a {
        padding: 5px;
        margin: 2px;
        font-size: 14px;
        border: 1px solid #ccc;
    }

    body.breakdance .bde-shortcode-641-106 .af-submit {
        padding: 16px 0px;
    }

    .wt25_ordained_table_header {
        display: none;
    }

    .wt25_ordained_table tr {
        display: block;
        margin-bottom: 32px;
    }

    .wt25_ordained_table td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .wt25_ordained_table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }

    .wt25_ordained_table {
        margin-bottom: 0px;
    }
}

@media all and (max-width: 730px) {
    .wt25_num_box {
        width: 30%;
    }
}

@media only screen and (max-width: 600px) {
    .wt25_num_box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 24px;
        margin: 0 0 10px 0;
    }

    .wt25_num_header h4 {
        font-size: 22px !important;
        text-align: center;
    }

    .wt25_personnel_header h4 {
        text-align: center;
    }

    .bde-shortcode-641-130 h3 {
        text-align: center;
        font-size: 26px !important;
    }

    body.breakdance .bde-shortcode-641-106 .acf-tab-group li {
        width: 95%;
        margin: 3px 5px;
    }
}

.wt26-footer {
    display: none;
}

.bde-button-133-169.bde-button {
    display: none; !important
}