/*
 * Colors
 *
 * gray-dark : #282828
 * gray-medium : #8c8c8c
 * gray-medium-light : #515151
 * gray-light : #f0f0f0
 *
 */

 /* Sticky Footer: https://codepen.io/dezertdezine/pen/zKjggy */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
body > .anchor {
    flex-shrink: 0;
}
.wrapper {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}

.main {
    padding-bottom: 0;
}

/* Content Sections */
.main > .container > .content:last-child {
    padding-bottom: 4em;
}

/* Headings */
.main > .container > .content > .col12 > .anchor:first-child + .frame + h2,
.main > .container > .content > .col12 > .anchor:first-child + .frame + h3,
.main > .container > .content > .col12 > .anchor:first-child + .frame + h4,
.main > .container > .content > .col12 > .anchor:first-child + .frame + h5,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + div > .ce-bodytext:first-child > h2:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + div > .ce-bodytext:first-child > h3:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + div > .ce-bodytext:first-child > h4:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + div > .ce-bodytext:first-child > h5:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + h2,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + h3,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + h4,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + h5,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + .content > .col12 > h2:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + .content > .col12 > h3:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + .content > .col12 > h4:first-child,
.main > .container > .content > .col12 > .content > .col12 > .frame:first-child + .content > .col12 > h5:first-child {
    margin-top: 0.25em;
}

.ce-bodytext h1, .ce-bodytext h2, .ce-bodytext h3, .ce-bodytext h4, .ce-bodytext h5 {
    text-align: left;
}

/* Header / Navigation */
.header {
    background-color: #282828;
    color: #fff;
}

.header__logo-link {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    margin-left: -1em;
    margin-right: -1em;
    align-items: center;
}

.header__logo-wrap {
    padding: 1em;
}

.header__logo-image {
    /*width: 9.25em;
    max-height: 3em;
    margin: 1em;*/

    display: block;
    width: 100%;
}

[src$=".svg"].header__logo-image {
    max-height: 3em;
}

.navigation__list {
    margin: 0;
    margin-left: -1em;
    margin-right: -1em;
}

.navigations a[class^="navigation"][class*="__link"]:before {
    content: none;
}

.navigation__link:hover {
    color: #8c8c8c;
    transition: none;
}

.navigation__link--active {
    color: #8c8c8c !important;
}

.navigation__link {
    padding: 1.75em 1em;
}

/* Subnavigation */
.navigation__item {
    position: relative;
}

.navigation__level2 {
    display: none;
    z-index: 10;
    position: absolute;
    top: 5em;
    left: 0;
    padding: 0.5em 0;

    background: #f0f0f0;
    color: #000;
    width: auto;
}

.navigation__item:hover .navigation__level2, .navigation__level2:hover {
    display: block;
}

.navigation__level2-link {
    display: block;
    white-space: nowrap;
    color: #000 !important;
    padding: 0.45em 1em;
}

.navigation__level2-text {
    text-transform: none !important;
}

.navigation__level2-link:hover, .navigation__link.navigation__link--active {
    color: #8c8c8c !important;
}

/* Navigation Category (Buttons) */
.navigation-category {
    display: inline-block;
}
.navigation-category--buttons-and-list {
    display: block;
}
.navigation-category__list {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation-category__list--buttons-and-list {
    display: block;
}
.navigation-category__item {
    float: left;
    display: inline;
    max-width: 100%;
}
.navigation-category__item--buttons-and-list {
    display: block;
    width: 100%;
}
/* Navigation Category (DropDown) */
.navigation-category--dropdown {
    position: relative;
    max-width: 100%;
    display: flex;
    margin-bottom: .5em;
}
.button--dropdown-button {}
.button--dropdown-button-active ~ .navigation-category__list--dropdown {
    display: block;
}
.navigation-category__list--dropdown {
    position: absolute;
    z-index: 1;
    top: 3.125em;
    left: 0;
    display: inline-block;
    display: none;
    width: 100%;
    /* background-color: #eeeeef; */
}
.navigation-category__item--dropdown {
    float: none;
    display: block;
    background-color: #eeeeee;
}
.navigation-category__drowndown-children-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.navigation-category__drowndown-children-item {}
.navigation-category__drowndown-children-link {
    display: block;
    padding: .5em 1em;
}
.navigation-category__dropdown-main-cat-wrap {
    display: flex;
    /* flex-direction: row-reverse; */
}

/* Kategorie-Menu: Hauptkategoriebuttons mit Unterkategorieliste */
.navigation-categroy-list {}
.navigation-category-list--buttons-and-list {
    margin-bottom: 1em;
}
.navigation-category-list__link--active {
    font-weight: 700;
}

/* Dateiliste */
.files__list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1.5em;
}
.files__name {
    text-decoration: none !important;
    display: inline-block;
    width: calc(100% - 13em);
}
.files__link {
    text-decoration: none;
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #282828;
}
.files__link:hover,
.files__link:focus {
    text-decoration: underline;
}
.files__link::before,
.files__link::after {
    content: none;
}
.files__description {
    display: block;
    color: #8c8c8c;
    max-width: 675px;
    font-size: 0.85em;
    line-height: 1.5;
}
.files__size {
    display: inline-block;
    float: right;
    width: 13em;
    text-align: right;
    box-sizing: border-box;
    padding-right: 2em;
    position: absolute;
    right: 0;
    top: 1em;
    color: #8c8c8c;
    text-decoration: none;
    font-size: 0.85em;
    margin-top: 0.25em;
}
.files__item {
    margin: 0;
    border-bottom: 1px solid #ccc;
    padding: 1em 0 .5em;
    position: relative;
    box-sizing: content-box; /* behebt unschönes ruckeln wegen jQuery slideUp() und slideDown() Animation */
}

.files__item:after {
    content: "\f016";
    display: inline-flex;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    position: absolute;
    right: 0;
    top: 1.2em;
    /*transform: translateY(-47%);*/
    font-size: 1.15em;
    color: #8c8c8c;

    /*background: url('../images/file-icons/Icon_Default.svg') no-repeat right .75em;
    background-size: 1.5em 2em;*/
}

.files__item .files__size::before {
    content: "";
}
.files__item[data-file-name$=".doc"] .files__size::before,
.files__item[data-file-name$=".docx"] .files__size::before {
    content: "Word | ";
}
.files__item[data-file-name$=".doc"]:after,
.files__item[data-file-name$=".docx"]:after {
    content: "\f1c2";
    /*background-image: url('../images/file-icons/Icon_Word.svg');*/
}
.files__item[data-file-name$=".ppt"] .files__size::before,
.files__item[data-file-name$=".pptx"] .files__size::before {
    content: "PowerPoint | ";
}
.files__item[data-file-name$=".ppt"]:after,
.files__item[data-file-name$=".pptx"]:after {
    content: "\f1c4";
    /*background-image: url('../images/file-icons/Icon_Powerpoint.svg');*/
}
.files__item[data-file-name$=".xls"] .files__size::before,
.files__item[data-file-name$=".xlsx"] .files__size::before {
    content: "Excel | ";
}
.files__item[data-file-name$=".xls"]:after,
.files__item[data-file-name$=".xlsx"]:after {
    content: "\f1c3";
    /*background-image: url('../images/file-icons/Icon_Excel.svg');*/
}
.files__item[data-file-name$=".pdf"]:after {
    content: "\f1c1";
    /*background-image: url('../images/file-icons/Icon_Powerpoint.svg');*/
}
.files__item[data-file-name$=".pdf"] .files__size::before {
    content: "PDF | ";
}
.files__item[data-file-name$=".jpg"] .files__size::before,
.files__item[data-file-name$=".jpeg"] .files__size::before,
.files__item[data-file-name$=".png"] .files__size::before,
.files__item[data-file-name$=".gif"] .files__size::before,
.files__item[data-file-name$=".tiff"] .files__size::before,
.files__item[data-file-name$=".bmp"] .files__size::before {
    content: "Bild | ";
}
.files__item[data-file-name$=".jpg"]:after,
.files__item[data-file-name$=".jpeg"]:after,
.files__item[data-file-name$=".png"]:after,
.files__item[data-file-name$=".gif"]:after,
.files__item[data-file-name$=".tiff"]:after,
.files__item[data-file-name$=".bmp"]:after {
    content: "\f1c5";
    /*background-image: url('../images/file-icons/Icon_Bild.svg');*/
}

/* News List */
.news-intranet .news-list-item {
    /*background-color: #282828;*/
    color: #fff;
}

.page-navigation {
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.f3-widget-paginator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.f3-widget-paginator li {
    padding: 0 0.5em;
}

/* News list Home (Topnews) */
.news-list-item-topnews h4 {
    margin-bottom: 0;
    font-size: 1.15em;
}

.news-list-item-topnews footer {
    margin-top: 0;
}

/* Login Screen */
.felogin__fieldset {
    padding: 0;
}

.felogin__form {
    margin-top: 2em;
    margin-bottom: 2em;
}

.felogin__legend {
    font-weight: 700;
    font-size: 1.15em;
}

.felogin__button--submit {
    width: auto ;
    padding: 0.25em 1em !important;
    text-transform: none !important;
}

.form__message.form__message--bad,
.form__message.form__message--error {
    color: red;
}

.toTop-button {
    background-color: #282828;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #282828;
    color: #fff;
    font-size: 0.65em;
    text-align: right;
    padding: 0;
}

/* Mobile Menu */
.slicknav_menu {
    display: none;
    background-color: #282828;
    font-size: inherit;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
}

.slicknav_brand {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 0 0 0 20px;
    height: 60px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: calc(100% - 80px);
}

.slicknav_menu .slicknav_icon-bar {
    background: #fff;
}

.slicknav__logo-link {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.slicknav__logo-link .header__logo-wrap {
    padding: 0;
    padding-right: 1em;
}

.slicknav__logo-img {
    /*height: 40px;
    max-width: 149px;
    width: calc(50% - 1.5em);
    width: auto;
    margin-left: 0;
    margin-right: 1.5em;*/

    display: block;
    /*width: 100%;*/

    height: auto;
    max-height: 40px;
}

[src$=".svg"].slicknav__logo-img {
    height: 40px;
}

.slicknav_btn {
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
    float: right;
    height: 60px;
    display: flex;
    align-items: center;
    width: 60px;
    justify-content: center;
    background-color: transparent;
    text-shadow: none;
    padding: 0;
    background-image: url(../images/navbar.svg);
    background-repeat: no-repeat;
    background-position: center;
    outline: none;
}

.slicknav_btn.slicknav_open {
    background-image: url(../images/plus.svg);
    background-repeat: no-repeat;
    color: transparent;
    background-size: 26px 26px;
    /* width: 100%; */
    /* height: 100%; */
    transform: rotate(45deg);
    background-position: center;
}

.slicknav_menu .slicknav_icon {
    visibility: hidden;
}

.slicknav_nav {
    background-color: #282828;
    color: #fff;
    font-size: 18px;
    padding: 0;
    letter-spacing: 0.05em;
    line-height: 1.5;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.slicknav_nav .slicknav_row,
.slicknav_nav a {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav__item .slicknav__link,
.slicknav_nav .slicknav-meta__link,
.slicknav_nav .slicknav__level2-link  {
    display: inline-block;
    padding: 15.5px 20px;
    color: inherit;
}

.slicknav_nav .slicknav-meta__link {
    padding: 11px 20px;
    font-size: 15px;
}

.slicknav__item,
.slicknav-meta__item {
    border-top: 1px solid #ffffff;
    position: relative;
}

.slicknav_nav .slicknav_open {
    /*background-color: #f0f0f0;
    color: #282828;*/
}

.slicknav__level2-item { background-color: #f0f0f0; color: #282828; }
.slicknav__level2-item--active { color: #8c8c8c; }

.slicknav__item--active {
    color: #8c8c8c;
}

.slicknav_nav a:hover,
.slicknav_nav .slicknav_row:hover {
    border-radius: 0;
    color: inherit;
    /* position: relative; */
    background-color: inherit;
}

.slicknav_nav .slicknav_arrow {
    float: right;
    font-size: inherit;
    color: transparent;
    display: block;
    width: 42px;
    position: relative;
    height: 42px;
    position: absolute;
    right: 9.5px;
    top: 7px;
    /* transform: rotate(45deg); */
}

.slicknav_nav .slicknav_arrow::after {
    content: "+" !important;
    display: inline-block;
    position: absolute;
    right: 0;
    margin-top: 0;
    top: 0;
    background-image: url(../images/plus.svg);
    background-repeat: no-repeat;
    color: transparent;
    background-size: 16px 16px;
    width: 100%;
    height: 100%;
    /* transform: rotate(90deg); */
    background-position: center;
}

.slicknav_open .slicknav_arrow::after {
    /* transform: rotate(45deg); */
    background-image: url(../images/minus.svg);
    background-size: 16px 2px;
    top: -1px;
}

.slicknav-meta__item:not(.slicknav-meta__item--language) {
    background-color: #282828;
    color: #fff;
}

.slicknav-meta__item--language {
    width: 25%;
    float: left;
    text-align: center;
    background-color: #282828;
    color: #fff;
}

.slicknav-meta__item--active {
    color: #8c8c8c;
}

.slicknav_nav .slicknav__level2 {
    padding-left: 0;
    margin-left: 0;
    background-color: transparent;
}

@media (max-width: 1280px) {
    body {
        padding-top: 60px;
    }

    /* Mobile Navigation & Header Logo */
    .slicknav_menu {
        display: block;
    }
    .navigations {
        display: none;
    }
    .header__logo-link {
        display: none;
    }
}
