/* elements.css olov-hessen.de */

/* lightbox - we have fontawesome? awesome! */

@media all {
    .ce-media-image a {
        position: relative;
    }
    .ce-media-image a::before {
        content: "\f0c1";
        font-family: FontAwesome;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1;
        width: 1rem;
        height: 1rem;
        position: absolute;
        z-index: 1;
        top: auto;
        bottom: 0.3125rem;
        right: 0.3125rem;
        color: rgb(255, 255, 255);
        text-shadow: 0 0 1px rgb(0, 0, 0);
        background: none;
    }
    .ce-media-image a.lightbox::before {
        content: "\f00e";
    }
    .mfp-close {
        text-shadow: 0 0 5px rgb(0, 0, 0);
    }
}

/* news */

@media all {
    .news-list-item + .news-list-item {
        border-top: 1px dashed rgb(204, 204, 204);
        padding-top: 1.25rem;
    }
    .news-events .newslist-item + .news-list-item {
        padding-top: 0.9375rem;
    }
    .news-list-item + .news-list-item.news-list-item-teaser {
        border: none;
        padding-top: 0;
    }
    .news-list .news-date {
        display: inline-block;
        margin-top: 0.3125rem;
    }
    .news-list-link .fa {
        padding-left: 0.5em;
    }
    .news-list-item-teaser {
        width: 100%;
    }
    .news-list-teaser .ce-textpic-inner {
        display: flex;
        flex-direction: column;
    }
    .news-list-teaser .news-teaser-text {
        flex-grow: 1;
    }
}

/* slick */

@media all {
    .slick-dots button {
        background-color: var(--color-white);
        border: 1px solid var(--color-blue);
        opacity: 1;
    }
    .slick-dots .slick-active button {
        background-color: var(--color-blue);
        opacity: 1;
    }
}

/* pagination news & search */

@media all {
    .pagination {
        margin-bottom: 0.9375rem;
    }
    .pagination .pagination-count {
        margin-bottom: 0;
    }
    .pagination ul {
        display: block;
        margin: 0 -0.3125rem;
        padding: 0;
        color: var(--color-blue);
    }
    .pagination li {
        display: block;
        float: left;
        line-height: 1;
        padding: 0.3125rem;
    }
    .pagination span,
    .pagination a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;

        color: currentColor;
        text-decoration: none;
        text-align: center;
        line-height: 1;
        padding: 0;
        border: 1px solid currentColor;
        border-radius: 3px;
    }
    .pagination .item-ellips {
        border: none;
        width: auto;
    }
    .pagination a:not(.fa)::before {
        content: none;
    }
    .pagination .fa {
        margin: 0;
        padding: 0;
    }
    .pagination .current {
        background: currentColor;
        background-clip: padding-box;
    }
    .pagination .current b {
        color: rgb(255, 255, 255);
    }
    .pagination .paginator-ellip {
        border: none;
        padding: 0;
        width: auto;
    }

    .pagination a:hover,
    .pagination a:focus {
        color: rgb(255, 255, 255);
        border-color: var(--color-red);
    }
}

/* ce layouts */

@media all {
    .ce-layout-dashed .ce-textpic,
    .ce-layout-dashed .ce-menu {
        border: 1px dashed rgb(204, 204, 204);
        border-width: 1px 0 1px;
        padding-top: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    .ce-layout-dashed-after .ce-textpic,
    .ce-layout-dashed-after .ce-menu {
        border: 1px dashed rgb(204, 204, 204);
        border-width: 0 0 1px;
        padding-top: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    .ce-layout-dashed-before .ce-textpic,
    .ce-layout-dashed-before .ce-menu {
        border: 1px dashed rgb(204, 204, 204);
        border-width: 1px 0 0;
        padding-top: 0.9375rem;
        margin-bottom: 1.25rem;
    }
}

/* ce frames */

@media all {
    .ce-frame-texttable tr :not(:last-child) {
        padding-right: 2.5rem;
    }
    .ce-frame-texttable .ce-table-header-left th {
        white-space: nowrap;
    }
    .ce-frame-texttable th,
    .ce-frame-texttable td {
        padding-bottom: 0.9375rem;
    }
    .rc-xsmall .ce-frame-texttable th,
    .rc-small .ce-frame-texttable th {
        padding-bottom: 0;
    }
    .ce-frame-logout .ce-layout-box-inner {
        background-image: url("../Img/bg-box-logout.png");
        background-repeat: no-repeat;
        background-position: right center;
        background-size: contain;
    }
}

/* ce uploads */

@media all {
    .ce-uploads-link {
        display: block;
        color: inherit;
    }
    .ce-uploads .fa {
        margin-right: 0.25em;
    }
    .ce-uploads-with-description .fa {
        padding-top: 0.125em;
        font-size: 2.5em;
        float: left;
    }
    .ce-uploads-with-description .ce-uploads-block {
        display: block;
        margin-left: 2.75rem;
    }
    .ce-uploads-with-description .ce-uploads-filename {
        display: block;
    }
    .ce-uploads-description,
    .ce-uploads-filesize {
        font-weight: normal;
    }
    .ce-uploads li + li {
        margin-top: 0.625rem;
    }
    .ce-uploads-with-description li + li {
        margin-top: 1.25rem;
    }
}

/* ce footer */

@media all {
    .ce-footer-logos {
        font-size: 87.5%;
    }
    .ce-logos-flexbox > a {
        display: block;
        margin-bottom: 0.9375rem;
    }
    .ce-logos-flexbox.footer-logos-img {
        justify-content: unset;
        list-style: none;
    }
    .ce-footer-logo-hessen {
    }
    .ce-footer-logo-qo {
        margin: 2.25rem 1.5rem 0 1.5rem !important;
        max-width: 16rem;
    }
    .ce-footer-logo-esf {
        max-width: 24rem;
        margin-top: 1.25rem;
    }
    .ce-footer-logo-involas {
        max-width: 12rem;
        width: 12rem;
        float: right;
    }
    .ce-footer-logo-olov {
        width: 9rem;
        margin-top: 1.5rem;
    }
    /* footer */
    .ce-logos-flexbox {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        justify-content: space-between;
        margin-bottom: 1.25rem;
        padding: 0;
    }
    .ce-footer-logo + .ce-footer-logo {
        margin-left: 0.625rem;
    }
    .ce-footer-logo-involas {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1.25rem;
    }
    .page-layout-gs .ce-footer-logo-nbs,
    .page-layout-gs .ce-footer-logo-involas {
        display: block;
        margin-bottom: 1.25rem;
    }
    .page-layout-gs .ce-footer-logo-involas {
        width: 7rem;
    }
}

/* iconbox */

@media all {
    .ce-grid-iconteaser {
        margin-bottom: 0.375rem;
    }
    .ce-iconbox {
        display: block;
        color: rgb(255, 255, 255);
        line-height: 1.25;
        margin-bottom: 0.25rem;
    }
    .ce-iconbox-inner {
        padding: 0.9375rem;
        text-align: center;
    }
    .ce-iconbox-blue .ce-iconbox-outer {
        border: 1px solid rgb(56, 55, 138);
        background-color: rgb(56, 55, 138);
    }
    .ce-iconbox-orange .ce-iconbox-outer {
        border: 1px solid var(--color-orange);
        background-color: var(--color-orange);
    }
    .ce-iconbox-red .ce-iconbox-outer {
        border: 1px solid var(--color-red);
        background-color: var(--color-red);
    }
    .ce-iconbox-green .ce-iconbox-outer {
        border: 1px solid var(--color-green);
        background-color: var(--color-green);
    }
    .ce-iconbox-icon img {
        margin: 0 auto;
    }
    .ce-iconbox-text {
        min-height: 2.5em;
        display: inline-block;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0.625rem;
    }
    /* in teaserbar */
    .content-teaserbar .btn-primary {
        color: rgb(51, 51, 51);
        background-color: rgb(255, 255, 255);
        border-color: rgb(255, 255, 255);
    }
    .content-teaserbar .ce-iconbox-title {
        display: inline-block;
        margin-top: 0.625rem;
        font-size: 125%;
        font-weight: 400;
    }
    .content-teaserbar .ce-iconbox-text {
        font-weight: 400;
    }
    .ce-iconbox-button {
        display: inline-block;
        margin-top: 0.625rem;
    }
    .content-teaserbar .ce-iconbox-button .btn {
        font-weight: 700;
    }
}

/* pb datenbank */

@media all {
    .pb-list-item a {
        font-weight: normal;
    }
}

@media all {
    hr,
    .ce-div {
        border: none;
        margin: 0;
        height: 0.9375rem;
    }
    .ce-button .btn {
        display: block;
        text-align: left;
    }
    .ce-div {
        border-top: 4px solid #ebebf3;
        margin: 0;
    }
    hr,
    .ce-frame-dashed .ce-div {
        border-top: 1px dashed rgb(204, 204, 204);
    }
    caption,
    figcaption {
        color: var(--color-blue);
        background-color: rgb(245, 245, 249);
    }
    .ce-border img {
        border: 1px solid rgb(136, 135, 185);
        box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
    }
    .ce-layout-box-inner {
        background-color: rgb(245, 245, 249);
    }
    .ce-tabs .rc-head,
    .ce-accordeon .rc-head {
        border: 0;
        border-radius: 0;
        color: rgb(255, 255, 255);
        background-color: var(--color-orange);
    }
    .ce-tabs .rc-head *,
    .ce-accordeon .rc-head * {
        color: currentColor;
    }
    .ce-tabs > .ce-element > .rc-head > .rc-link > *,
    .ce-accordeon > .ce-element > .rc-head > .rc-link > * {
        padding-right: 0;
        padding-left: 1.875rem;
    }
    .ce-tabs .rc-head .rc-link::after,
    .ce-accordeon .rc-head .rc-link::after {
        content: "";
        position: absolute;
        top: 50%;
        right: auto;
        left: 0.625rem;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        font: normal normal normal 14px/1 FontAwesome;
        font-size: 24px;
        content: "\f13a";
    }
    .ce-tabs .rc-head.rc-open .rc-link::after,
    .ce-accordeon .rc-head.rc-open .rc-link::after {
        content: "\f139";
        font-size: 24px;
    }
    .ce-tabs .rc-container-enabled,
    .ce-accordeon .rc-container-enabled {
        border: none;
        border-radius: 0;
        background-color: rgb(245, 245, 249);
    }
    .ce-tabs .rc-head.rc-open,
    .ce-accordeon .rc-head.rc-open {
        border-bottom: 0;
        background-color: var(--color-red);
    }
}

@media all and (min-width: 30em) {
    .ce-tabs .rc-head .rc-link::after,
    .ce-accordeon .rc-head .rc-link::after {
        left: 1.25rem;
    }
    .ce-accordeon > .ce-element > .rc-head > * {
        padding: 0.9375rem 1.25rem;
    }
    .ce-grid-iconteaser {
        margin: 0 -0.625rem 0.3125rem;
    }
    .ce-grid-iconteaser .ce-element {
        padding: 0 0.625rem;
        width: 50%;
        float: left;
    }
    .ce-iconbox {
        margin-bottom: 1.25rem;
    }
}

@media all and (min-width: 47.5em), print {
    .ce-div {
        border-top-width: 0.625rem;
    }
    .ce-media-image a::before {
        right: 0.625rem;
        bottom: 0.625rem;
    }
    .ce-carousel .slick-dots {
        margin-top: 0;
        text-align: right;
    }
    .ce-carousel .slick-dots button {
        width: 1rem;
        height: 1rem;
    }
    .ce-carousel .slick-dots {
        position: absolute;
        right: 1.25rem;
    }
    .ce-carousel .slick-list {
        margin-bottom: 0.9375rem;
    }
    .ce-carousel.slick-dotted {
        margin-bottom: 0;
    }
    /* news teaser */
    .news-list-teaser {
        margin: 0 -0.625rem;
    }
    .news-list-item-teaser {
        width: 50%;
        float: left;
        padding: 0 0.625rem;
    }
    .news-list-teaser .news-list-item-teaser:nth-child(2n + 1) {
        clear: left;
    }
    /* iconteaser */
    .ce-grid-iconteaser .ce-element {
        width: 33.3333%;
    }
    /* tabs */
    .rc-tab-headings button {
        color: var(--color-blue);
        border: none;
        padding: 0.9375rem 1.25rem;
        background-color: rgb(235, 235, 243);
        margin-bottom: 0.625rem;
        opacity: 1;
    }
    .rc-tab-headings li + li {
        margin-left: 0.625rem;
    }
    .rc-tab-headings li.rc-open button {
        font-weight: normal;
        background-color: rgb(245, 245, 249);
        margin-bottom: 0;
        border-bottom: 0.625rem solid rgb(245, 245, 249);
    }
    .rc-tab-panel {
        margin-top: 0 !important;
        border: none;
        border-radius: 0;
        background-color: rgb(245, 245, 249);
    }
    .rc-tab-headings {
        display: flex;
    }
    .rc-tab-headings li {
        flex-grow: 1;
    }
    .rc-tab-headings button {
        width: 100%;
    }
}

/* desktop */

@media all and (min-width: 62.5em) {
    caption,
    figcaption {
        padding: 0.93175rem;
    }
    .news-list-item + .news-list-item {
        padding-top: 1.5625rem;
    }
    /* news teaser */
    .news-list-teaser {
        margin: 0 -1.25rem;
    }
    .news-list-item-teaser {
        width: 33.3333%;
        float: left;
        padding: 0 1.25rem;
    }

    .news-list-teaser .news-list-item-teaser:nth-child(2n + 1) {
        clear: none;
    }
    .news-list-teaser .news-list-item-teaser:nth-child(3n + 1) {
        clear: left;
    }

    .page-grid-large-66-33 {
        .news-list-teaser {
            .news-list-item-teaser:nth-child(3n + 1) {
                clear: none;
            }

            .news-list-item-teaser:nth-child(2n + 1) {
                clear: left;
            }

            .news-list-item-teaser {
                width: 50%;
            }
        }
    }

    /* iconbox */
    .content-teaserbar .ce-grid-iconteaser {
        margin: 0;
    }
    .content-teaserbar .ce-grid-iconteaser .ce-element {
        width: 25%;
    }
    .content-teaserbar .ce-grid-iconteaser .ce-element,
    .content-teaserbar .ce-iconbox {
        margin: 0;
        padding: 0;
    }
    /* tabs */
    .rc-tab-headings button {
        font-size: 125%;
    }
    /* footer */
    .ce-grid-large-87-13 > .ce-col {
        width: 84%;
    }
    .ce-grid-large-87-13 > .ce-col + .ce-col {
        width: 16%;
    }
}

/* desktop - xxlarge */

@media (min-width: 90em) {
    .ce-grid-large-87-13 > .ce-col {
        width: 87.5%;
    }
    .ce-grid-large-87-13 > .ce-col + .ce-col {
        width: 12.5%;
    }
    .ce-grid-iconteaser {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
    }
    .ce-grid-iconteaser .ce-element {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .ce-iconbox {
        margin-bottom: 2.5rem;
    }
    .ce-iconbox-inner {
        padding: 2.5rem;
    }
    .content-teaserbar .ce-iconbox-title,
    .content-teaserbar .ce-iconbox-text,
    .content-teaserbar .ce-iconbox-button {
        margin-top: 2.5rem;
    }
    .content-teaserbar .ce-iconbox-title {
        font-size: 150%;
    }
    .content-teaserbar .ce-iconbox-button {
        display: block;
    }
    .content-teaserbar .ce-iconbox-button .btn {
        display: block;
        font-size: 112.5%;
        font-weight: normal;
        padding: 0.625rem 1.25rem;
    }
    .ce-accordeon > .ce-element + .ce-element {
        margin-top: 2.5rem;
    }
    .ce-accordeon .ce-intext .ce-gallery {
        padding-right: 2.5rem;
    }
    .ce-tabs .rc-container-enabled,
    .ce-accordeon .rc-container-enabled {
        padding: 2.5rem 2.5rem 0;
    }
    .news-list-item + .news-list-item {
        padding-top: 2.5rem;
    }
    .search-result-header-padding {
        padding-top: 2.5rem;
    }
}
