.sectionTitle{
    font-weight: bold;
    background: #ddd;
    margin: 25px 0 0 0;
    padding: 3px 10px;
}
.actionButton{
    font-size: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    margin: 20px 20px 0 0;
}
.actionButtonSmall{
    padding: 3px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    margin: 0 0 0 20px;
}

#statementtext{
    height: 250px;
    overflow: hidden;
}

.previewDiv{
    display: none;
    border-bottom: 1px solid #DDD;
    margin: 20px 0;
    padding: 10px 0;
}

.messageRed{
    margin-top: 20px;
    padding: 10px 0;
    color: red;
    font-size: 20px;
    font-weight: bold;
}

.messageGreen{
    margin-top: 20px;
    padding: 10px 0;
    color: green;
    font-size: 20px;
    font-weight: bold;
}

.messageBlack{
    margin-top: 20px;
    padding: 10px 0;
    color: #000;
    font-size: 18px;
    font-weight: bold;
}

.emailLabel{
    width: 150px;
    display: inline-block;
    font-style: italic;
}

.testimonialGrid {
    width: 100%;
}

.testimonialBox-svpch {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.testimonialOverlayInner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px !important;
}

.testimonialFullTestimonial-svpch {
    height: 75%;
}
.testimonialOverlayInnerFooter {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px !important;
    padding: 0px !important;
}

.testimonialOverlayInnerFooter a {
    margin-right: 5px;
    font-weight: bold;
    font-size: 12px !important;
}

.testimonialOverlay {
    padding: 5px;
}

.testimonialImage-svpch {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

@media (max-width: 480px) {
    .testimonialOverlayInnerFooter a {
        padding: 0px 10px 0px 25px !important;
    }
}

@media (min-width: 1200px) {
    .testimonialBox-svpch {
        width: 33%
    }
}

.testimonialBox-classic {
    padding: 20px;
    margin-right: 1%;
    margin-left: 1%;
    margin-bottom: 40px;
    margin-top: 20px;
    display: inline-block;
    vertical-align: top;
    width: 31%;
    border: 1px solid #c8c8c8;
}

.testimonialContainer {
    width:100%;
}

.testimonial-3-parts {
    float: left;
    width: 33%;
}

.testimonialImage img {
    border-radius: 100%;
    max-width: 100%;
}

.testimonialDivider {
    margin-top: 25px;
    margin-bottom: 20px;
    width: 42%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #c8c8c8;
    clear: both;
}

.testimonial-person-info {
    width:100%;
    text-align: center;
}

.testimonialFullTestimonial-svpch {
    text-align: center;
}

.testimonialText-classic {
    width:100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.testimonialText-svpch {
    height: 170px;
}

.testimonialBottom {
    width:100%;
    text-align: center;
}

/* Kantons-Navigation des Shortcodes tf_testimonials */
.testimonial-canton-filter {
    --testimonial-filter-accent: #d1312b;
    --testimonial-filter-text: #111;
    --testimonial-filter-muted: #b5b5b5;
    width: 100%;
    margin-bottom: 24px;
}

.testimonial-canton-filter-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.testimonial-canton-filter-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--testimonial-filter-text);
}

.testimonial-canton-filter-title .bi {
    font-size: 1.4em;
    line-height: 1;
}

.testimonial-canton-filter-meta {
    display: flex;
    align-items: baseline;
    gap: 20px;
    font-size: 1.15em;
    color: var(--testimonial-filter-text);
}

.testimonial-canton-filter-reset {
    font-weight: 700;
    color: var(--testimonial-filter-text);
    text-decoration: none;
}

.testimonial-canton-filter-reset:hover,
.testimonial-canton-filter-reset:focus {
    text-decoration: underline;
}

.testimonial-canton-filter-reset[hidden] {
    display: none;
}

.testimonial-canton-filter-cantons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    gap: 8px 6px;
}

.testimonial-canton {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    cursor: pointer;
    color: var(--testimonial-filter-text);
    font: inherit;
}

.testimonial-canton img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid #ddd;
    box-sizing: border-box;
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.testimonial-canton-abbr {
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Kanton ohne Testimonials: grau und nicht wählbar */
.testimonial-canton.is-empty {
    cursor: default;
}

.testimonial-canton.is-empty img {
    filter: grayscale(1);
    opacity: 0.25;
}

.testimonial-canton.is-empty .testimonial-canton-abbr {
    font-weight: 400;
    color: var(--testimonial-filter-muted);
}

/* Auswahl aktiv: nicht gewählte Kantone verblasst, gewählte farbig mit Rahmen */
.testimonial-canton-filter.has-selection .testimonial-canton:not(.is-selected):not(.is-empty) img {
    opacity: 0.4;
}

.testimonial-canton-filter.has-selection .testimonial-canton:not(.is-selected):not(.is-empty) .testimonial-canton-abbr {
    color: #777;
}

.testimonial-canton:not(.is-empty):hover img,
.testimonial-canton:not(.is-empty):focus-visible img {
    opacity: 1 !important;
}

.testimonial-canton.is-selected img {
    outline: 3px solid var(--testimonial-filter-accent);
    outline-offset: 2px;
}

.testimonial-canton:focus-visible {
    outline: 2px solid var(--testimonial-filter-accent);
    outline-offset: 4px;
}

.testimonial-single-flag img {
    max-width: 80px!important;
    margin-bottom: 5px!important;
    margin-top: 5px!important;
}
/* Paginierung des Shortcodes tf_testimonials */
.testimonial-load-more {
    clear: both;
    margin: 20px 0;
    text-align: center;
}

.testimonial-load-more[hidden] {
    display: none;
}

.testimonial-list-loading .testimonial-items,
.testimonial-list-loading .testimonial-load-more {
    opacity: 0.5;
    pointer-events: none;
}
