/*
 * Theme Name: UNIPLUS HWK Redesign - Gutenberg
 * Template: chatty3blocks
 * Description:
 * Author: Steeeg GmbH
 * Author URI: https://www.steeeg.de
 * Version: 1.2.4
 */
.list-group-item {
    padding: 12px 0 !important;
}

.form-check-input {
    margin-left: 1rem;
}

@media (min-width: 768px) {
    body.single-post .content article .article-content > :is(.wp-block-table, .wp-block-list) {
        margin-left: 15%;
        margin-right: 15%;
    }
}

/* Grosse Bilder im Beitrag ueber die volle Inhaltsbreite (sonst bleiben sie auf
   breiten Screens bei ihrer Pixelbreite, z. B. 1024px, stehen). Inkl. Wrapper
   des Copyright-Overlays aus uniplus-gutenberg. */
body.single-post .content article .article-content > .wp-block-image:is(.size-large, .size-full):not(.is-resized, .alignleft, .alignright) :is(.uni-attachment-copyright-wrap, img) {
    display: block;
    width: 100%;
}

.content .swipe-horizontal-wrapper .swipe-horizontal-arrow {
    border-bottom: none;
}

.swipe-horizontal-wrapper .swipe-horizontal-arrow {
    top: 0;
    bottom: 0;
    height: auto;
    display: flex;
    align-items: center;
}

.swipe-horizontal-wrapper .swipe-horizontal-arrow .glyphicon {
    top: 0;
    text-align: center;
}

/* Einzelbild-Lightbox ("Vergrößern bei Klick") wie die WPMF-Galerie (Magnific Popup) */
.wp-lightbox-overlay .scrim {
    background-color: rgba(11, 11, 11, .8) !important;
}

.wp-lightbox-overlay button {
    fill: #fff !important;
    color: #fff;
    opacity: .65;
}

.wp-lightbox-overlay button:hover,
.wp-lightbox-overlay button:focus {
    opacity: 1;
}

.wp-lightbox-overlay .wp-lightbox-close-icon svg {
    width: 28px;
    height: 28px;
}

/* Verkleinerte Bilder (is-resized, z. B. feste 1140px): Figure nur so breit wie das Bild, damit die
   Bildunterschrift/das Copyright direkt unter dem Bild steht und nicht am rechten Rand der Spalte */
.content .wp-block-image.is-resized:not(.alignleft, .alignright, .aligncenter) {
    width: fit-content;
    max-width: 100%;
}
