:root {
    --gfz-jobs-color: var(--gad-colors-brand-primary, #002864);
}

.tx-gfz-jobs {
    font-family: Verdana, sans serif;
}

#tx-gfz-jobs-details {
    &:has(.tx-gfz-jobs-siegel + .tx-gfz-jobs-feature > ul) {
        .tx-gfz-jobs-siegel {
            display: block;
        }
    }

    &:not(:has(.tx-gfz-jobs-feature > ul)) {
        .tx-gfz-jobs-feature + .tx-gfz-jobs-hr {
            display: none;
        }
    }
}

.tx-gfz-jobs-link-list {
    padding-left: 1rem;
}

.tx-gfz-jobs-link-list__item--rifs::after {
    display: inline-block;
    content: '';
    background-image: url(../Icons/RIFS-Kurzlogo-HDunkelblau-RGB.jpg);
    background-size: 100% 100%;
    height: 1rem;
    width: 3.275rem;
    vertical-align: middle;
}

.tx-gfz-jobs-logo {
    margin-top: 1em;
    text-align: center;
}

.tx-gfz-jobs-logo p img {
    height: auto;
    max-width: 100%;
}

.tx-gfz-jobs-logos {
    position: relative;
    height: 120px;
    display: none;
}

.tx-gfz-jobs-logos .left {
    position: absolute;
    left: 0px;
    bottom: 25px;
    width: 50%;
    height: 60px;
}
.tx-gfz-jobs-logos .right {
    position: absolute;
    right: -90px;
    bottom: 25px;
    width: 50%;
    height: 30px;
}

div.tx-gfz-jobs-headline-small {
    font-weight: normal;
    color: var(--gfz-jobs-color);
    font-size: 14px;
    margin-top: 1em;
    margin-bottom: 1em;
}

h2.tx-gfz-jobs-headline {
    font-weight: normal;
    color: var(--gfz-jobs-color);
    font-size: 16pt;
}

h3.tx-gfz-jobs-headline {
    font-weight: bold;
    color: var(--gfz-jobs-color);
    font-size: 16pt;
}

div.tx-gfz-jobs-text-number h3 {
    font-size: 14pt;
    color: var(--gfz-jobs-color);
    font-weight: normal;
    margin-top: 0;
}

div.tx-gfz-jobs-headline-inner div {
    font-size: 14px;
    font-weight: bold;
}

.tx-gfz-jobs-image .con-header-image {
    width: 100%;
}

.tx-gfz-jobs-text p {
    margin-top: 1em;
    text-align: justify;
}
.tx-gfz-jobs-center p {
    text-align: center;
}

.tx-gfz-jobs-text div {
    margin-top: 1em;
    text-align: justify;
}

.tx-gfz-jobs-text .pdfbutton {
    margin-top: 1em;
}

div.tx-gfz-jobs-text ul li {
    list-style: disc;
}

div.tx-gfz-jobs-text h3 {
    font-size: 12pt;
    color: var(--gfz-jobs-color);
    font-weight: normal;
}

hr.tx-gfz-jobs-hr {
    height: 1px;
    background: #b9b9b9b9;
    margin: 10px 0;
    border: 0px !important;
    overflow: hidden;
}

.tx-gfz-jobs-dates-cells div {
    display: table;
}
.tx-gfz-jobs-dates-cells div div {
    display:table-row;
    width:auto;
}
.tx-gfz-jobs-dates-cells div div strong {
    display: table-cell;
    white-space: nowrap;
    padding-right: 5px;
}

.tx-gfz-jobs-dates-cells div div span {
    display:table-cell;
}

div.tx-gfz-jobs-feature h3 {
    font-size: 12pt;
    color: var(--gfz-jobs-color);
    font-weight: normal;
}

div.tx-gfz-jobs-feature ul li {
    list-style: disc;
}

div.tx-gfz-jobs-text-interest h3 {
    color: var(--gfz-jobs-color);
    font-size: 14pt;
    font-weight: normal;
    margin-top: 1.25rem;
}

img.tx-gfz-jobs-siegel {
    display: none;
    margin-block: 1lh;

    @media (min-width: 350px) {
        float: right;
        margin-block-start: unset;
        margin-inline-start: clamp(1rem, 2.2161vw + .338rem, 2rem);
        height: 350px;
    }
}


@media print {
    .applybutton, .pdfbutton, .button {
        display: none !important;
    }
    .tx-gfz-jobs-logos {
        display: block;
    }
    #header, #sidebar, .gfz-breadcrumbs, #footer, #site-menu,
    .gfz-header, .navigation , .gfz-footer-trailer, .gfz-footer-links {
        display: none !important;
    }
    .tx-gfz-jobs {
        margin-top: -15em;
    }
    article {
        box-shadow: none !important;
    }

    @-moz-document url-prefix() {
        /*.tx-gfz-jobs {*/
        /*    margin-top: -20em;*/
        /*}*/
    }
    h2, h3 {
        color: var(--gfz-jobs-color) !important;
    }
    div.tx-gfz-jobs-headline-small {
        font-weight: normal;
        color: var(--gfz-jobs-color) !important;
        font-size: 14px;
        margin-top: 1em;
        margin-bottom: 1em;
    }
}
