/*
******************************************************************
(c) sinntun.codes
******************************************************************
*/

/* mobile_1024px.css ist für Bildschirmbreiten von unendlich - 801px */

@media only screen and (max-width: 1650px) {
    .person-main {
        margin-bottom: 0;
    }

    .person-main .person-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        height: auto;
        margin: 0 0 50px 0;
    }

    .person-main .person-container .image-container {
        float: none;
        margin: 30px auto 0;
        position: relative;
    }

    .person-main .headline {
        margin-top: 30px;
    }

    #head-image .slider-caption {
        font-size: 28px;
        line-height: 28px;
    }
}

@media only screen and (max-width: 1450px) {
    #head-canvas {
        padding: 15px 25px 0;
    }

    #main-canvas {
        /* padding: 55px 25px 0px; */
    }

    .top-navigation, .search-container {
        right: 25px;
    }

    /*-- allgemein --*/
    h1 {
        font-size: 22px;
    }

    span.intro-text {
        font-size: 18px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    #page-canvas {
        max-width: 90%;
    }

    #head-canvas {
        height: 130px;
    }

    .header {
        background-image: url('/_images/header-welle.svg');
        background-size: 100% 100%;
        background-position-y: center;
        height: 250px;
        width: 100%;
        margin: -250px 0 0 0;
    }

    #head-canvas .mobile-head-wrapper {
        width: 100%;
    }

    .main-content {
        margin-top: -20px !important;
    }

    #main-navigation, #meta-navigation {
        display: none !important;
    }

    .menu-trigger {
        display: block !important;
        right: 0;
        position: absolute;
    }

    .mobile-head-wrapper {
        top: 20px;
        left: 0;
        position: absolute;
        width: 100%;
    }

    #head-image {
        height: 100%;
        margin-bottom: 30px;
        margin-top: 0;
    }

    #head-image img {
        width: 100%;
        height: auto;
    }

    #head-image .intro {
        display: none;
    }

    #logo img {
        top: 15px;
        margin-left: 10px;
        position: absolute;
        max-width: 450px;
    }

    .search-container {
        display: none;
    }

    .breadcrumb a {
        font-size: 14px;
    }

    /*-- mobile-search --*/
    .notactive {
        display: block;
    }

    .icon {
        position: absolute;
        right: 50px;
        top: 40px;
    }

    .icon i {
        font-size: 27px;
        font-weight: 400;
        color: #1e4231;
    }

    #mobile-search-box.active {
        display: block;
    }

    .mobile-search {
        position: relative;
        width: 100%;
        background-color: transparent !important;
    }


    #mobile-search-box .search-input {
        background-color: #fff;
        border: 2px solid #81BF53;
        border-radius: 8px;
        height: 52px;
        margin: 0 0 1px 0;
        width: 100%;
        padding: 4px 80px 4px 20px;
        font-size: 20px;
        box-sizing: border-box;
    }

    #mobile-menu-search-box form {
        width: calc(100% - 100px);
        position: relative;
        margin: 0 auto;
    }

    #mobile-menu-search-box.active {
        display: block;
    }

    #mobile-menu-search-box .search-input {
        background-color: #fff;
        border: 2px solid #81BF53;
        border-radius: 8px;
        height: 52px;
        margin: 20px 0 0 0;
        width: 100%;
        padding: 4px 90px 4px 20px;
        font-size: 20px;
        box-sizing: border-box;
    }

    #mobile-menu-search-box button {
        background-color: transparent;
        border: none;
    }

    .mobile-menu-search-icon {
        position: absolute;
        right: 25px;
        top: 32px;
    }

    .mobile-menu-search-icon i {
        font-size: 27px;
        font-weight: 900;
        color: #1e4231;
    }

    .mobile-div {
        position: relative;
    }

    .nav1-mobile-div.menu-1 {
        width: 100%;
        top: 125px;
    }

    .nav1-mobile-link.active span {
        padding: 5px 0;
    }

    .nav1-mobile-link {
        padding: 10px 10px;
    }

    .nav1-mobile-div .contact-banner {
        display: flex;
        width: 100%;
        margin: 0 auto;
        position: relative;
        left: -190px;
    }

    .nav1-mobile-div .contact-banner div {
        margin: 20px 0 0 0;
        height: 50px;
        width: 50px;
    }

    .nav1-mobile-div .contact-banner div p {
        margin: 12px 5px 5px 5px;
    }

    .nav1-mobile-div .contact-banner div p::before {
        font-size: 36px;
    }

    .nav2-mobile-submenu {
        display: none;
    }

    .nav2-mobile-submenu.show {
        display: block;
    }

    .nav2-mobile-item {
        padding: 4px 0;
    }

    .nav2-mobile-item .last {
        margin-bottom: 10px;
    }

    .nav1-mobile-div .contact-banner div p::before {
        left: 12px;
    }

    .events-materials-teaser .icon {
        position: unset;
    }

    .event-materials-teaser-start-wrapper {
        padding: 0;
    }

    .event-materials-teaser-start-wrapper div {
        flex-basis: 100%;
        margin: 10px 0;
    }

    .eventboxes-wrapper {
        margin: 50px 0 0 0 !important;
    }

    .eventboxes {
        margin-bottom: 10px;
    }

    .media-content-wrapper {
        flex-direction: column;
    }

    .media-content-wrapper div {
        width: 100%;
    }

    .media-content iframe {
        height: 400px;
    }

    .media-text.right .media-content {
        order: unset;
    }

    .media-text .text-container {
        padding: 50px 60px;
    }

    .movie-box.video {
        width: 100%;
    }

    .news-teaser-box {
        flex-direction: column;
    }

    .news-teaser-box div {
        flex-basis: 100%;
        margin: 0;
    }

    .news-teaser-start-wrapper img {
        max-width: 100%;
    }

    .media-text .textbox {
        margin: 75px 0 100px 0;
    }

    .news-teaser-text {
        margin-top: 20px !important;
    }

    /*-- footer --*/
    .footer-background {
        background-size: 100%;
        background-repeat: no-repeat;
        width: calc(100vw - (100vw - 100%));
        height: 150px;
    }

    #footer-canvas {
        height: auto;
        padding-bottom: 10px;
    }

    .footer-column-wrapper {
        background-color: #81bf53;
        display: flex;
        flex-flow: wrap;
        justify-content: space-evenly;
        padding: 0 0 80px 0;
        margin-bottom: -50px;
    }

    #footer-canvas .column {
        background-color: #81bf53;
        flex-basis: 50%;
        padding: 50px 40px 0 80px;
    }

    /*#### ELEMENTE ####*/
    .overviewpages-main-wrapper {
        margin: 10px 0;
    }

    .overviewpages-main-content-wrapper {
        display: block;
    }

    .overviewpages-main-content-wrapper div {
        flex-basis: 100%;
        margin: 0 0 50px 0;
        text-align: center;
    }

    .overviewpages-text {
        padding: 10px;
    }

    .teaser-boxes-wrapper {
        display: block;
        padding: 0;
    }

    .teaser-boxes-wrapper div {
        flex-basis: 100%;
        height: 270px;
        margin-bottom: 50px;
    }

    .teaser-boxes {
        margin: 0;
    }

    .media-video-wrapper {
        display: block;
    }

    .visual-text-img {
        max-width: 150px;
    }

    .visual-text {
        font-size: 42px;
        line-height: 42px;
        width: 60%;
    }

    .events-registration {
        flex-wrap: wrap;
    }

    .events-registration .form-container {
        order: 2;
        width: 100%;
    }

    .events-registration .info-container {
        padding-left: 0;
        width: 100%;
        min-width: unset;
    }
}

@media only screen and (max-width: 1400px) {
    /*-- contact-banner --*/
    .contact-banner {
        display: none;
    }
}

@media only screen and (max-width: 1300px) {

    .search-container {
        display: none;
    }

    #main-navigation {
        display: none;
    }

    .menu-trigger {
        display: block !important;
        right: 0;
        position: absolute;
    }

    #mobile-searchbutton.notactive {
        display: block;
    }

    #mobile-menu-search-box {
        display: none;
    }

    #nav2-canvas {
        margin-right: 40px;
    }

    #content-canvas.standard.visibleAsideCanvas {
        width: calc(100% - 540px);
    }

    .search-container.search-input {
        width: 400px;
    }

    #head-image .slider-caption {
        font-size: 24px;
        line-height: 27px;
    }
}

@media only screen and (max-width: 1280px) {
    .teaserboxes-wrapper {
        display: block;
    }

    .teaserboxes-wrapper div {
        flex-basis: 50%;
    }

    .teaserboxes-wrapper div:nth-last-child(1) {
        margin-top: auto;
        margin-bottom: auto;
    }

    .teaserbox {
        margin: 0 0 20px 0;
        display: flex;
        align-content: center;
        align-items: stretch;
    }

    .teaserbox .teaserbox-textcontainer {
        padding: 25px;
    }

    .teaserbox-textcontainer h4 {
        height: auto;
    }

}

@media only screen and (max-width: 1250px) {
    .search-container {
        right: 15px;
    }
}

@media only screen and (max-width: 1200px) {
    .person-main .text-container {
        max-width: 100%;
        margin: 0 0 20px;
        float: none;
    }

    .person-main .person-container {
        width: 100%;
    }
}

@media only screen and (max-width: 1080px) {
    .person-main .person-container-wrapper {
        flex-direction: column;
    }

    .person-main .person-container {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1024px) {

    /*### Abstände ###*/
    #site_headline {
        padding-bottom: 30px !important;
    }

    h2 {
        margin-bottom: 10px;
    }

    #detail-container .contentbox, .infobox {
        margin-bottom: 30px;
    }

    .back-button {
        display: inline-block;
    }

    /*****************************************************************
    *********** Document
    ******************************************************************/
    h1 {
        font-size: 24px;
    }

    span.intro-text {
        font-size: 20px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    #page-canvas {
        max-width: 90%;
    }

    #head-canvas.header {
        background-size: 100% 100%;
        background-position-y: center;
        max-width: 100%;
        margin-top: 0;
    }

    .main-content {
        margin-top: -20px !important;
    }

    .breadcrumb a {
        font-size: 14px;
    }


    /*****************************************************************
    *********** Allgemeine Selector
    ******************************************************************/
    /*****************************************************************
    *********** Header
    ******************************************************************/
    .mainheadline {
        font-size: 35px !important;
    }

    .header-text {
        display: none;
    }

    #page-canvas {
        max-width: 90%;
    }

    #head-canvas.header {
        background-size: 800px 250px;
        max-width: 100vw;
        margin-top: 0;
    }

    #head-image .intro {
        display: none;
    }

    .search-container {
        display: none;
    }

    .breadcrumb {
        font-size: 14px;
    }

    #main-cavas {
        padding: 0 !important;
    }

    /*-- mobile-searchbutton --*/
    .notactive {
        display: block;
    }

    /*-- mobile-search --*/
    .search-container {
        display: none;
    }

    .mobile-div {
        position: relative;
    }

    .icon i {
        font-size: 27px;
        font-weight: 400;
        color: #1e4231;
    }

    .mobile-menu-search {
        height: 80px;
        top: 0;
        position: relative;
        width: 100%;
    }

    .nav1-link span {
        padding: 5px 20px;
    }

    /*****************************************************************
    *********** Footer
    ******************************************************************/
    .footer-background {
        width: auto;
    }

    #footer-canvas {
        height: auto;
        padding-bottom: 10px;
    }

    .footer-column-wrapper {
        background-color: #81bf53;
        display: flex;
        flex-flow: wrap;
        justify-content: space-evenly;
        padding: 0 0 80px 0;
        margin-bottom: -50px;
    }

    #footer-canvas .column {
        background-color: #81bf53;
        flex-basis: 50%;
        padding: 50px 40px 0 80px;
    }

    /*****************************************************************
    *********** Content
    ******************************************************************/
    /*-- main --*/
    .teaserboxes-wrapper div {
        display: flex;
    }

    .teaserbox .teaserbox-textcontainer {
        top: 20% !important;
        display: block;
        height: 100%;
        margin: 0 auto;
    }


    /*****************************************************************
    *********** Seitenelemente
    ******************************************************************/
    /* Logo Text */
    .logo-text-contentbox {
        flex-wrap: wrap;
    }

    .logotext-image {
        min-height: auto;
        flex-basis: 80% !important;
        margin: 0 auto 30px;
    }

    .logo-text-contentbox .textbox-right {
        flex-basis: 100% !important;
    }

    #info-canvas {
        width: 100%;
        margin: 0 0;
        max-width: 100%;
    }

    #content-canvas {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 25px;
        margin-right: 0 !important;
    }


    .text-image-main .left-column {
        width: 100% !important;
        float: none;
        height: auto;
        overflow: hidden;
        margin-bottom: 20px;
        padding: 0 15px 0 0;
    }


    .text-image-main .right-column {
        width: 100% !important;
        overflow: hidden;
        float: none;
        height: auto;
        padding: 0 0 0 15px;
    }

    .header-text {
        display: none !important;
    }

    #main-navigation, #meta-navigation {
        display: none !important;
    }

    .top-navigation {
        position: absolute;
        right: 130px;
        top: 5px;
    }

    .lang-selector {
        display: block;
        right: 85px;
    }

    #nav2-canvas {
        width: 100%;
        margin-bottom: 10px;
    }

    .text-main {
        width: 100%;
        margin: 0 0 0 !important;
    }

    .info-teaser-main {
        width: 100%;
        margin: 25px 0 0;
    }

    .image-text-three-columns-main {
        width: 100%;
        margin: 25px 0 0;
    }

    #info-canvas {
        padding-left: 0;
    }

    #nav2-canvas {
        display: none;
    }

    .contactform .defaultform {
        width: 100%;
        padding: 50px 0 0;
    }

    #footer-canvas {
        flex-direction: column;
    }

    #footer-canvas .column {
        margin-bottom: 25px;
    }

    #footer-canvas .socialmedia-icons {
        display: flex;
        justify-content: start;
    }

    .social-media-link {
        float: none;
    }

    #mobile-searchbutton {
        top: 40px;
        padding: 0;
    }

    .event-materials-teaser-start-wrapper {
        padding: 0;
    }

    .event-materials-teaser-start-wrapper div {
        flex-basis: 100%;
        margin: 10px 0;
    }

    .eventboxes-wrapper {
        margin: 50px 0 0 0 !important;
    }

    .eventboxes {
        margin-bottom: 10px;
    }

    .media-content-wrapper {
        flex-direction: column;
    }

    .media-content-wrapper div {
        width: 100%;
    }

    .media-content iframe {
        height: 400px;
    }

    .news-list .image-container {
        width: 100%;
        margin-right: 0;
        max-width: unset;
        margin-bottom: 20px;
    }

    .news-list .image-container {
        width: 60%;
        max-width: unset;
        margin-bottom: 20px;
        min-width: 440px;
    }

    .news-list .text-container {
        max-width: 100%;
    }

    .news-teaser-box {
        flex-direction: column;
    }

    .news-teaser-box div {
        flex-basis: 100%;
        margin: 0;
    }

    .news-teaser-start-wrapper img {
        max-width: 100%;
    }

    .media-text .textbox {
        margin: 75px 0 100px 0;
    }

    .news-teaser-text {
        margin-top: 20px !important;
    }

    /* overviewpages-main */
    .overview-item-container .overview-item {
        height: 200px;
    }

    .text-contentbox {
        flex-flow: column;
    }

    .text-contentbox strong {
        font-size: 18px;
    }

    .text-contentbox .left-img {
        order: 1;
        margin-left: auto;
        width: 75%;
        margin-right: auto;
    }

    .text-image-main .text-contentbox.bg-gray .textbox {
        padding: 0 30px;
    }

    .text-image-main .text-contentbox .textbox-image {
        padding-bottom: 30px;
    }

    .right-img {
        margin-left: auto;
        width: 75%;
        margin-right: auto;
    }

    .text-contentbox .textbox {
        margin-top: 30px;
    }

    .overviewpages-main-wrapper {
        margin: 10px 0;
    }

    .overviewpages-main-content-wrapper {
        display: block;
    }

    .overviewpages-main-content-wrapper div {
        flex-basis: 100%;
        margin: 0 0 50px 0;
        text-align: center;
    }

    .overviewpages-text {
        padding: 10px;
    }

    .media-video-wrapper {
        display: block;
    }

    .media-video-wrapper div {
        margin: 0 0 50px 0;
    }

    .visual-text-background {
        max-height: 250px;
    }

    .visual-text-img {
        max-width: 110px;
    }

    .visual-text {
        font-size: 32px;
        line-height: 32px;
        width: 65%;
    }

}

@media only screen and (max-width: 900px) {

    .material-list .text-label {
        padding-left: 0;
        padding-bottom: 10px;
        padding-top: 0
    }

    .material-list .filter-item-wrapper {
        margin-bottom: 20px;
    }

    .material-list .filter-item-wrapper {
        display: flex;
        flex-flow: column;
    }

    .material-list .filter-items {
        width: 100%;
    }

    .material-list .item-header .listitem-col-content {
        flex-direction: column;
    }

    .material-list .item-header.file .text-container,
    .material-list .item-header.file .image-container + .text-container,
    .material-list .item-header.link .text-container,
    .material-list .item-header.youtube .text-container {
        width: 100%;
        max-width: unset;
        padding-right: 0;
    }

    .material-list .item-header.file .text-container {
        order: 1;
        margin-bottom: 15px;
    }

    .material-list .item-header.file .image-container {
        order: 2;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .material-list .item-header.link .image-container {
        margin-bottom: 15px;
        max-width: 100%;
    }

    .material-list .item-header.file .download-container {
        order: 3;
    }

    .material-list .item-header.youtube .text-container {
        order: 1;
        margin-bottom: 15px;
    }

    .material-list .item-header.youtube .image-container {
        order: 2;
        max-width: 100%;
    }

    .material-list .listitem.youtube .listitem-detailcanvas {
        height: 40vw;
    }

    .material-list .listitem .listitem-detailcanvas {
        padding: 20px 20px 20px 90px;
    }


    .material-list .item-header.link .text-container {
        margin-bottom: 15px;
    }

    .material-list .item-header.youtube .image-container {
        padding-right: 0;
        width: 100%;
    }

    .material-list .item-header.shop .text-container {
        order: 1;
        margin-bottom: 15px;
        width: 100% !important;
    }

    .material-list .item-header.shop .image-container {
        order: 2;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .material-list .item-header.shop .download-container {
        order: 3;
    }

    .material-list .item-header.link .text-container {
        order: 1;
        margin-bottom: 15px;
    }

    .material-list .item-header.link .image-container {
        order: 2;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .material-list .item-header.link .download-container {
        order: 3;
    }

    .material-list .item-header .item-col-content {
        display: flex;
        flex-direction: column;
    }

    .material-list .item-header.video .text-container {
        order: 1;
        margin-bottom: 15px;
    }

    .material-list .item-header.video .image-container {
        order: 2;
    }

    .material-list .item .item-detailcanvas {
        padding: 10px 0 0 90px;
    }

    .events-detail-main-info-container {
        flex-wrap: wrap;
    }

    .events-detail-main-container {
        margin-bottom: 30px;
    }

    .events-detail-info-container,
    .events-detail-main-container {
        width: 100%;
    }

    .news-list-container .image-container {
        width: 100%;
        margin-bottom: 10px;
        max-width: 440px;
    }

    .news-list-container .text-container {
        width: 100%;
        max-width: unset;
    }

}


@media only screen and (max-width: 810px) {
    .teaserbox-textcontainer {
        padding: 10px;
    }

    .teaserbox-textcontainer h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .teaserbox-textcontainer p {
        margin-top: 10px;
    }

    .teaserbox-imagecontainer {
        width: 100%;
        height: auto;
    }
}