/* fira-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fira-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/fira-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
.nav-main {
    color: #2d2d2e;
    position: relative;
    z-index: 3;
}
:root {
    --main: #33a4d4;
    --maindarker: #1d607b;
    --mainrgb: 51, 164, 212;
    --main-light: #72c0e1;
    --main-dark: #2d2d2e;
    --shadow: 0 .1em 1em rgba(0, 0, 0, 0.1), 0 .2em 1.5em rgba(0, 0, 0, 0.05), .05em .05em .2em rgba(0, 0, 0, .3);
    --shadow-wide: 0 .1em 1em rgba(0, 0, 0, 0.05), 0 .2em 1.5em rgba(0, 0, 0, 0.1), .05em .05em .2em rgba(0, 0, 0, .05);
    --shadow-bold: 1em 1em 2em rgba(0, 0, 0, .2), 0 .2em 1.5em rgba(0, 0, 0, 0.1), .05em .05em .2em rgba(0, 0, 0, .1);
}



.nav-main {
    clear: both;
    transform:translateX(-320px);
    float: none;
    margin-top: 0;
    position: absolute;
    top: 0;
    left:0;
    background-color: var(--main);
    width: 315px;
    z-index: 6;
    height:100vh;
    overflow: auto;
    -webkit-box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
    transition: transform .5s;
}
.nav-main-active .nav-main {
    transform: translateX(0);
}
.nav-main-backdrop {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: -5;
    background-color: rgba(0,0,0,0);
    opacity: 0;
    transition: .2s opacity;
}
.nav-main-active .nav-main-backdrop {
    background-color: rgba(0,0,0,.5);
    z-index: 5;
    opacity: 1;
}
.nav-main a {
    font-weight: bold;
    border-bottom:1px solid rgba(255,255,255,.3);
    text-decoration: none;
    color:#fff;
    padding:1em 1.5em;
    display: block;
}
.nav-main li {
    position: relative;
}
.nav-main .subnav {
    padding: 0;
    margin: 0;
    list-style-type: none;
    background-color: #33a4d4;
    overflow: hidden;
    transition: 0.2s opacity;
    display: none;
    z-index: 15;
    position: relative;
    border-bottom:1px solid rgba(255,255,255,.3);
}
.nav-main .subnav a {
    padding:.75em .75em .75em 3em;
    line-height:1.1em;
    font-weight: normal;
    font-size:.9em;
    z-index: 15;
    border:0;
    position: relative;
}
.nav-main .subnav li:first-child a {
    padding-top:1.5em;
}
.nav-main .subnav li:last-child a {
    padding-bottom:1.5em;
}
.subnav-toggler {
    position: absolute;
    right:0;
    top:0;
    height:100%;
    padding:1em .65em;
    box-sizing: border-box;
    width:2.5em;
    opacity: .65;
    cursor: pointer;
}
.subnav-toggler:before {
    display:block;
    top:1em;
    position: absolute;
    content:'';
    background: linear-gradient(#fff 50%, #807e7c00 0) 100% / 1px 4px repeat-y;
    image-rendering: pixelated;
    height:1.75em;
    width:1px;
    left:-.5em;
}
.subnav-toggler img {
    transform:rotate(-180deg);
    transition: transform .2s;
}

.nav-main li.active .subnav-toggler .icon {
    transform:rotate(0deg);
}
.nav-main .nav-sub li {
    padding-bottom: 0;
}
@media (min-width: 960px) {
    .nav-main .nav-sub {
        position: absolute;
    }
}

.button {
    padding: 0.8em 1.2em;
    border: 0;
    border-radius: .3em;
    background-color: var(--main);
    color:#fff;
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    font-weight: bold;
}
.button img {
    width:.75em;
    height:.75em;
    margin-right:.5em;
}
.nav-main .nav-sub a {
    display: block;
    color: #fff;
}
.nav-main > li:last-child > a {
    padding-right: 0;
}

.nav-main > ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nav-main-toggler {
    width: 2.7em;
    cursor: pointer;
    z-index: 3;
    position: relative;
    top:.2em;
    margin-right:2em;
}
.nav-main-toggler .line {
    height: 4px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: .1em;
}
.nav-main-toggler .text {
    font-size:.9em;
    letter-spacing: -.025em;
    opacity: .7;
}
.logo {
    margin-right:auto;
}

body {
    min-width: 320px;
    color: #090909;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
}

input,
textarea,
button {
    font-family: inherit;
}

.inner {
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 3.5%;
    padding-right: 3.5%;
}

[v-show],
[v-if] {
    display: none;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

main {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

p, li {
    line-height: 1.6em;
}

body {
    font-family: "Fira Sans", sans-serif;
}


.component.start p {
    max-width: 50em;
}

footer {
    background-image: -o-linear-gradient(225deg, #eceeed, #dfe2e0);
    background-image: linear-gradient(-135deg, #eceeed, #dfe2e0);
    text-align: right;
}

header {
    padding: 1em 0;
    background-color: #33a4d4;
    color: #fff;
}
header img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}
header a {
    text-decoration: none;
}

.video-preview {
    -webkit-box-shadow: -0.2em 0.2em 1em rgba(26, 82, 106, 0.2);
    box-shadow: -0.2em 0.2em 1em rgba(26, 82, 106, 0.2);
    max-width: 300px;
    text-decoration: none;
    -webkit-transition: -webkit-transform 0.2s ease-out;
    transition: -webkit-transform 0.2s ease-out;
    -o-transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
}
.video-preview:hover, .video-preview:focus {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.video-preview .text {
    padding: 1.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.video-preview h4 {
    margin: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
}
.video-preview .duration {
    text-align: right;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
}

.category-videos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 102%;
    margin-left: -1%;
}

.video-preview {
    margin: 1%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 98%;
    flex: 0 0 98%;
}
@media (min-width: 450px) {
    .video-preview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 48%;
        flex: 0 0 48%;
    }
}
@media (min-width: 620px) {
    .video-preview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 31.33%;
        flex: 0 0 31.33%;
    }
}
@media (min-width: 960px) {
    .video-preview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 23%;
        flex: 0 0 23%;
    }
}
@media (min-width: 1200px) {
    .video-preview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
}

.component-text {
    margin-bottom: 5em;
    padding: 3em 0;
    background-color: #aaa;
    opacity: 0.8;
    position: relative;
    background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(to right, rgba(255,255,255,.35)  1px, transparent 1px);
    background-size: 52px 52px;
    background-position:-15px -15px;
}
.component-text .inner {
    position: relative;
    z-index: 6;
    color:#fff;
}
.component-text:before {
    content: '';
    display: block;
    width:100%;
    position: absolute;
    height:100%;
    bottom:0;
    left:0;
    background-image: linear-gradient(to top, rgba(5,15,50,1), rgba(5,15,50,0));
    z-index: 3;
}
.component-text h3 {
    margin-bottom:.2em;
}
.component.has-bg-image {
    background-size:cover;
    background-position: center;
}
.component-text.has-bg-image:after {
    display: none;
}
.component-video {
    padding: 5em 0;
}
.name-addition {
    font-style:italic;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.searchform  input,
.searchform button {
    padding:.5em;
    border:0;
}
.searchform  input {
    border-radius:.3em;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin:0;
}
.searchform button {
    border-radius:.3em;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin:0;
}
.search-form__input, .search-form__input[type=search] {
    border-radius: .3em;
}
.search-form {
    margin:0;
    padding:0;
}
.category-teasers,
.content-items {
    display: flex;
    flex-wrap: wrap;
    width:102%;
    margin-left:-1%;
}
.category-teaser,
.content-item {
    margin:  1%;
    text-decoration: none;
}
.category-teaser {
    background-color: var(--main);
    border-radius:.3em;
    box-shadow: var(--shadow-wide);
    color:#fff;
    position: relative;
    aspect-ratio: 8/5;
    width:23%;
    overflow: hidden;
}
/*.category-teaser h3 {
    margin:0;
    width:100%;
    box-sizing: border-box;
    padding:.5em;
    background-color: rgba(var(--mainrgb),.5);
    position: absolute;
    font-size:1.3em;
    z-index: 3;
    bottom:0;
    text-align: center;
}*/
.category-teaser:after {
    content: '';
    display: block;
    height:70%;
    background-image:linear-gradient(to top, rgba(0,0,0,.4), rgba(0,0,0,0));
    bottom:0;
    left:0;
    position: absolute;
    z-index: 2;
    width:100%;
}
.category-teaser img {
    transition: transform .3s ease;
}
.category-teaser:hover img,
.category-teaser:focus img {
    transform:scale(1.1);
}
.category-teaser img {
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left:0;
    z-index: 0;
}
.count-contents {
    float:right;
    z-index: 2;
    position: relative;
    background-color: rgba(var(--mainrgb),.8);
    box-shadow: var(--shadow-wide);
    border-radius: .3em;
    font-size:.8em;
    padding:.25em .5em;
}
.contact-info {
    font-size: .9em;
    padding:0 0 1em;
}
.contact-info p {
    margin:0;
}
.contact-info a {
    display: inline-block;
    padding-right:1em;
}
@media(min-width: 900px) {
    .contact-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.contact-info a {
    text-decoration: none;
    opacity: .8;
}
.search-form {
    display: flex;
    align-items: center;
    font-size: 1.1em;
}
.search-form label {
    font-weight: bold;
    margin-right:.5em;
    font-size: 1.1em;
}
.search-form input {
    padding:.5em .75em;
    border-radius: .3em;
    border:0;
}

.category .header {
    height:25vw;
    position: relative;
    background-color:var(--main);
}
@media (max-width:799px) {
    .category .header {
        height:50vw;
        font-size:.8em;
    }
}
.category .header img {
    position: absolute;
    height:100%;
    width:100%;
    object-fit: cover;
    object-position: center;
}
.category .header .inner {
    z-index: 2;
    color:#fff;
    padding-top:2vw;
    padding-bottom:2vw;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height:100%;
    box-sizing: border-box;
}
h2 {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 2em;
    text-transform: uppercase;
}
.category .header:before {
    content:'';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,.2);
    z-index: 2;
}
.subline {
    font-size:1.4em;
    margin:0;
    line-height: 1.5em;
    font-weight: bold;
}
.templatetype-category .subline {
    max-width: 16em;
}

.content-items {
    padding:2em 0;
}
.content-item {
    position: relative;
    flex:0 0 23%;
}

.content-item .image img {
    width:100%;
    position: absolute;
    object-fit: cover;
    height:100%;
    transition:transform .2s;
}
.content-item .image {
   width:100%;
    height:13vw;
    position: relative;
    border-radius:.3em;
    overflow: hidden;
}
@media (max-width:899px) {
    .content-item {
        flex:0 0 48%;
    }
    .content-item .image {
        height:25vw;
    }
}
@media (max-width:499px) {
    .content-item {
        flex:0 0 98%;
    }
    .content-item .image {
        height:50vw;
    }
}
@media (min-width:900px) {
    .content-item .image {
        max-height:15em;
    }
}
.content-item .image h4 {
    position: absolute;
    bottom:0;
    z-index: 2;
    width: 100%;
    text-align: center;
    font-size:1.25em;
    margin:0;
    color:var(--maindarker);
    hyphens: auto;
    padding:.5em;
}
.content-item .image:hover img,
.content-item .image:focus img {
    transform:scale(1.1);
}
.content-item .text {
    display: flex;
    justify-content: space-between;
    padding:.5em 0;
    font-size: .9em;
}
.content-item .text .duration {
    flex: 0 0 5em;
    text-align: right;
}
.content-item .title-repeat {
    margin-right:1em;
    hyphens: auto;
}
.component-video video {
    border-radius:1em;
    box-shadow: var(--shadow-bold);
}
@media (min-width:1000px) {
    .component-video .content.has-video video {
        float:left;
        width:60%;
        margin-right:3%;

    }
}
.component-video .content {
    padding-bottom:2.5em;
    margin-bottom:2.5em;
    border-bottom:2px solid var(--main);
    position: relative;
    overflow: hidden;
}
.border {
    padding-bottom:2.5em;
    margin-bottom:2.5em;
    width:100%;
    height:2px;
    border-bottom:2px solid var(--main);
}
a[href$=".pdf"]:not(.content-item)  {
    background-image:url("../images/pdf.svg");
    background-position: left center;
    padding-left:35px;
    background-size: contain;
    background-repeat: no-repeat;
    text-decoration: none;
    font-weight: bold;
    min-height: 2em;
    padding-top:.3em;
    display: inline-block;
}
.back-button {
    margin-bottom:4em;
}
/*.prosa {
    max-height:30em;
    overflow: hidden;
    position: relative;

    &:before {
        content: '';
        height:7em;
        width:100%;
        position: absolute;
        bottom:0;
        z-index: 1;
        left:0;
        background-image: linear-gradient(to top, rgba(255,255,255,1) 10%, rgba(255,255,255,0));
    }
    .button {
        position: absolute;
        bottom:-1em;
        left:0;
        z-index: 2;
    }
}
.prosa.fully-visible {
    max-height:none;
    padding-bottom:7em;
}*/
.ghost-button {
    border:2px solid var(--main);
    background-color: transparent;
    color:var(--main);
    backdrop-filter: blur(10px);
}
/*
.read-more {
    position: absolute;
    bottom:1em;
    right:0;
    z-index: 5;
}
*/
.prosa table,
.prosa table td {
    border:0;
}
.persons {
    display: flex;
    flex-wrap: wrap;
    width:102%;
    margin-left:-1%;
    margin-bottom:3em;
}
.person {
    flex:0 0 23%;
    margin:1%;
    border-radius:.3em;
    overflow: hidden;
    background-color: rgba(0,0,0,.1);
}
@media (max-width:699px) {
    .person {
        flex:0 0 48%;
    }
}
@media (max-width:449px) {
    .person {
        flex:0 0 98%;
        margin:1%;
    }
}
.person img {
    width:100%;
}
.person .text {
    padding:1em;
    min-height:7em;
}
.person .text p {
    margin:0;
}
.component-persons h3 {
    font-size:1.7em;
}
@media(max-width:1200px) {
    .component-persons h3 {
        font-size:1.2em;
    }
}
.accordion-head {
    background-color: var(--main);
    padding:1em 1.5em;
    border-radius: .3em;
    color:#fff;
    margin:0 0 .1em;
}
.accordion-item .accordion-content {
    overflow: hidden;
    transition: height .2s, padding .2s;
    interpolate-size:allow-keywords;

}
.accordion-item h2 {
    font-size: 1em;
    margin-bottom:.5em;
    font-weight: normal;
    text-transform: none;
}
.accordion-item p {
    margin-top:0;
}

.accordion-item[data-state="closed"] .accordion-content {
    height: 0;
    padding:0;
}
.accordion-item .icon {
    width:1em;
    display: inline-block;
    transform:scaleY(-1);
    transition: transform 0.2s;
    margin-right:1em;
}
.accordion-item[data-state="open"] .accordion-content {
    height: auto;
    padding:.5em 0 2em;
}
.accordion-item[data-state="open"] .icon {
    transform:scaleY(1);
}
.accordion-component {
    margin-bottom:3em;
}
@media(min-width: 900px) {
    .components-wrapper-for-kontakt {
        display: flex;
        flex-wrap: wrap;
    }
    .component-persons {
        flex: 0 0 50%;
    }
}
@media(min-width: 500px) {
    .person {
        flex:0 0 48%
    }
}
.custom-components-wrapper  .inner {
    padding:0;
}
.components-wrapper-for-kontakt {
    width:104%;
    margin-left:-2%;
}
.component-persons {
    margin:2%;
    flex:0 0 46%;
}
.component-persons h3 {
    margin-bottom:.15em;
}
.button-wrap .text {
    display: inline-block;
    margin-right:.5em;
}
.button-wrap .button {
    text-align: center;
    justify-content: center;
    padding-left:1.5em;
}
.button-wrap .button img {
    margin-right:0;
}
.custom-components-wrapper  .component-button {
    flex: 0 0 100%;
}
.custom-components-wrapper  .component-button .button-wrap {
    margin:0 2%;
}
.inner .inner {
    padding-left:0;
    padding-right:0;
}

/* Comments */
.comments-section {
    margin-top: 3em;
    padding-top: 2em;
    padding-bottom:2em;
}
.comments-section h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
}
.comments-section h3 {
    font-size: 1.2em;
    margin-top: 2em;
    margin-bottom: .5em;
}
.comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comments-list .comments-list {
    padding-left: 2em;
    border-left: 2px solid rgba(var(--mainrgb), .2);
}
@media (max-width: 620px) {
    .comments-list .comments-list {
        padding-left: 1em;
    }
}
.comment-item {
    margin-bottom: 1.5em;
}
.comment-body {
    background-color: rgba(0, 0, 0, .03);
    border-radius: .3em;
    padding: 1em 1.2em;
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: .5em;
    gap: 1em;
}
.comment-author {
    font-size: 1em;
    color: var(--maindarker);
}
.comment-date {
    font-size: .8em;
    opacity: .6;
    white-space: nowrap;
}
.comment-text {
    line-height: 1.6em;
    margin-bottom: .5em;
}
.content-votes {
    display: flex;
    align-items: center;
    gap: .75em;
    margin: 2em 0;
    padding: 1em 1.2em;
    background-color: rgba(0, 0, 0, .03);
    border-radius: .3em;
}
.content-votes-label {
    font-weight: bold;
    margin-right: .5em;
    font-size: .95em;
}
.vote-button {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    background: none;
    border: 1px solid #ddd;
    border-radius: .3em;
    padding: .4em .7em;
    cursor: pointer;
    color: #666;
    font-size: .9em;
    transition: color .15s, border-color .15s, background-color .15s;
}
.vote-button:hover {
    border-color: var(--main);
    color: var(--main);
}
.vote-button.active.vote-up {
    color: #28a745;
    border-color: #28a745;
    background-color: rgba(40, 167, 69, .08);
}
.vote-button.active.vote-down {
    color: #dc3545;
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, .08);
}
.vote-button svg {
    flex-shrink: 0;
}
.vote-count {
    font-weight: bold;
    min-width: .8em;
    text-align: center;
}
.content-votes.voting .vote-button {
    opacity: .5;
    pointer-events: none;
}
.comment-reply-toggle {
    background: none;
    border: none;
    color: var(--main);
    cursor: pointer;
    padding: 0;
    font-size: .85em;
    font-weight: bold;
}
.comment-reply-toggle:hover {
    text-decoration: underline;
}
.comment-form {
    margin-top: 1em;
    position: relative;
    border:1px solid rgba(var(--mainrgb), .5);
    background-color: rgba(var(--mainrgb), .3);
    padding:2em;
    border-radius:.5em;
}
.comment-form-honeypot {
    position: absolute;
    left: -9999px;
}
.comment-form-field {
    margin-bottom: .75em;
}
.comment-form-field label {
    display: block;
    font-weight: bold;
    margin-bottom: .25em;
    font-size: .9em;
}
.comment-form-field input[type="text"],
.comment-form-field textarea {
    width: 100%;
    padding: .6em .75em;
    border: 1px solid #ccc;
    border-radius: .3em;
    font-size: 1em;
    box-sizing: border-box;
    font-family: inherit;
}
.comment-form-field input[type="text"]:focus,
.comment-form-field textarea:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--mainrgb), .2);
}
.comment-form-field textarea {
    resize: vertical;
    min-height: 5em;
}
.comment-submit {
    cursor: pointer;
    font-size: .95em;
}
.comment-reply-form {
    margin-top: .75em;
    padding: 1em;
    background-color: rgba(var(--mainrgb), .05);
    border-radius: .3em;
}
.comment-message {
    padding: .75em 1em;
    border-radius: .3em;
    margin-bottom: 1.5em;
    font-weight: bold;
}
.comment-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.comment-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.comments-inner {
    background-color: rgba(var(--mainrgb), .1);
}