@media (min-width: 1024px) {
    .ngparatile-container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }

    .ngparatile-spacer {
        display: flex;
    }

    .ngparatile-container {
        flex-grow: 1;
    }

    .ngparatile-part-text {
        display: flex;
        flex-flow: column;
        box-sizing: border-box;
    }

    .ngparatile-textalign-bottom .ngparatile-part-text {
        justify-content: flex-end;
    }

    .ngparatile-textalign-middle .ngparatile-part-text {
        justify-content: center;
    }

    .ngparatile-text,
    .ngparatile-picture
    {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .ngparatile-picturelefttextright,
    .ngparatile-textleftpictureright
    {
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
    }

    .ngparatile-picturetoptextbottom,
    .ngparatile-texttoppicturebottom
    {
        display: flex;
        flex-flow: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .ngparatile-picturelefttextright .ngparatile-part,
    .ngparatile-textleftpictureright .ngparatile-part
    {
        width: 50%;
    }

    .ngparatile-picturetoptextbottom .ngparatile-part-picture,
    .ngparatile-texttoppicturebottom .ngparatile-part-picture
    {
        height: 0;
    }

    .ngparatile-text .ngparatile-part-text,
    .ngparatile-picturetoptextbottom .ngparatile-part-text,
    .ngparatile-texttoppicturebottom .ngparatile-part-text,
    .ngparatile-picture .ngparatile-part-picture {
        flex-grow: 1;
    }

    .ngparatile-spacer-height3by1::before {
        content: "";
        width: 1px;
        margin-left: -1px;
        height: 0;
        padding-top: 33.333%;
    }

    .ngparatile-spacer-height2by1::before {
        content: "";
        width: 1px;
        margin-left: -1px;
        height: 0;
        padding-top: 50%;
    }

    .ngparatile-spacer-height3by2::before {
        content: "";
        width: 1px;
        margin-left: -1px;
        height: 0;
        padding-top: 66.666%;
    }

    .ngparatile-spacer-height1by1::before {
        content: "";
        width: 1px;
        margin-left: -1px;
        height: 0;
        padding-top: 100%;
    }
}

@media (max-width: 1023px) {
    .ngparatile-part-picture {
        height: 0;
        display: block;
    }
}

.ngparatile-part-picture {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.ngparatile-part-text p a, .ngparatile-part-text p a:hover {
    text-decoration: underline;
}

.ngparatile-link a {
    transition: opacity 0.2s;
}

.ngparatile-link a:hover {
    opacity: 0.8;
}

.ngparatile-hover a.ngparatile-part-picture:hover {
    filter: brightness(115%)
}

a.ngparatile-part-picture:focus-visible {
    filter: brightness(50%) contrast(75%);
    outline: none;
}

a.ngparatile-part-picture {
    transition: filter 0.2s;
}