/*
************************************************************
Styles:     flix//theme
Project:    flix-Base - Main CSS
Copyright:  (c) 2022 interaktiv manufaktur
Website:    www.interaktiv-manufaktur.de
************************************************************
*/

@media only screen and (max-width: 1642px) {


    #start-overlayButton {
        top:10px;
        right:320px;
        z-index:1;
    }
    
    h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .job-list {
        width: 47.5%;
        margin-right: 5%;
    }

    .house-list {
        width: 47.5%;
        margin-right: 5%;
    }

    #house-list-container .map-container {
        max-width: 47.5%;
    }

    #job-list-container .map-container {
        max-width: 47.5%;
    }

    .job-list .job-item .job-item-content .job-download {
        word-wrap: break-word;
    }

    .text-image-grey .wrapper .column .headline-container h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .person-main .headline {
        font-size: 22px;
        line-height: 30px;
    }

    .person-main .job {
        font-size: 16px;
        line-height: 22px;
    }
    
    .person-main-double .person-container {
    margin-right: 5%;
    max-width: 52.5%;
}

    #head-image .kachel {
        display: none;
    }

    #page-canvas {
        max-width: 100%;
    }

    #main-canvas {
        padding-left: 0;
        padding-right: 0;
    }

    #meta-navigation .nav-meta-link span {
        font-size: 18px;
        line-height: 25px;
    }

    .nav1-link span {
        font-size: 22px;
        line-height: 31px;
    }

    .top-navigation {
        margin-bottom: 50px;
    }

    .teaser-start-main {
        padding-left: 2.5%;
        padding-right: 2.5%;
        padding-top: 25px;
    }

    .haeuser-suche {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    #haeuser-list-search-input {
        float: none;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .haeuser-suche .suche-sendbutton {
        float: left;
    }

    .jobs-detail .ansprechpartner-box .content {
        max-width: 100%;
        width: 100%;
        margin-right: 5%;
        float: none;
        margin-bottom: 25px;
    }

    .jobs-detail .person-container {
        max-width: 100%;
        width: 60%;
        margin-right: 0;
        float: left;
    }

    .teaser-start-main .foreground h2 {
        font-size: 20px;
        left: 30px;
    }

    .teaser-start-main .teaser-box-no-image {
        width: 49.5%;
    }

    .teaser-orange .box {
        width: 47.5%;
        margin-right: 5%;
        max-width: 100%;
    }

    .teaser-orange .box-right {
        margin-right: 0;
    }

    .teaser-start-main .teaser-box-no-image h2 {
        font-size: 20px;
        padding-left: 30px;
    }

    .publication-item {
        width: 23.17%;
        float: left;
        margin-right: 2.43%;
    }

    .publication-item .links .view-link {
        position: absolute;
        bottom: 10px;
        line-height: 25px;
    }

    .publication-item .content p,
    .publication-item .content h2 {
        color: #fff;
        font-size: 16px;
        line-height: 21px;
    }

    #meta-navigation .nav-meta-item {
        float: left;
        margin-right: 40px;
    }

    #footer-logo {
        max-width: 265px;
        width: 100%;
        height: auto;
        display: block;
    }

    #footer-bottom {
        margin-bottom: 70px;
    }

    .socialmedia-icons .nav-footer-link {
        margin-right: 15px;
        margin-top: 15px;
    }

    .nav-footer-link span {
        font-size: 16px;
        line-height: 22px;
    }

    .social-media-link img {
        width: 35px;
        height: 35px;
    }

    #footer-bottom p,
    #footer-bottom a {
        font-size: 16px;
        line-height: 22px;
    }

    .testimonial-box {
        width: 100%;
        height: auto;
        float: left;
        margin-right: 4.25%;
        max-width: 30.49%;
    }


    .place-info {
        width: auto;
        height: auto;
    }

}

@media only screen and (max-width: 1568px) {
    #meta-navigation .nav-meta-link span {
        font-size: 16px;
        line-height: 25px;
    }
    
    .teaser-start-main .foreground {
       height: 170px;
    }

    .teaser-start-main .foreground h2 {
        bottom: 60px;
    }
    
    .jobs-detail .person-container {
        max-width: 100%;
        width: 70%;
        margin-right: 0;
        float: left;
    }
}

@media only screen and (max-width: 1440px) {

   #start-overlayButton {
        top:50px;
        right:200px;
    }
    
    body {
        background-image: none;
    }


    #logo {
        margin-bottom: 20px;
        margin-top: 20px;
        max-width: 150px;
        margin-right: 0;
    }


    #link-bundesprogramme {
        display: none;
    }

    .top-navigation {
        display: none;
    }

    #main-navigation {
        display: none;
    }


    #nav2-canvas {
        max-width: 290px;
        width: 100%;
        margin-right: 55px;
        padding-left: 2.5%;
    }

    .nav2 {
        padding-left: 0;
    }

    .nav2-link {
        padding-left: 0;
    }

    .search-container {
        display: none;
    }

    #meta-navigation {
        display: none;
    }

    #footer-top .kachel {
        display: none;
    }

    #head-right {
        display: none;
    }

    #head-canvas {
        display: flex;
        flex-flow: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    #head-mobile {
        position: relative;
        height: auto;
        width: auto;
        overflow: visible;
        display: flex;
        flex-flow: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        margin-left: auto;
    }

    #mobile-searchbutton {
        display: block;
        position: relative;
        right: unset;
        width: auto;
        padding: 0;
        cursor: pointer;
        top: 0;
        margin-right: 30px;
    }

    #mobile-searchbutton .icon, #mobile-searchbutton .text {
        width: 28px;
    }

    #mobile-searchbutton i {
        font-size: 27px;
    }

    .locator {
        padding-left: 2.5%;
    }

    #content-canvas.standard #site_headline {
        padding-left: 2.5%;
    }

    #link-bundesprogramme-mobile {
        background: #777777;
        text-align: center;
        color: #fff;
        cursor: pointer;
        margin-right: 30px;
        width: 28px;
        height: 28px;
        display: flex;
        flex-flow: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }

    .menu-trigger {
        display: block;
        width: 35px;
        height: 25px;
        cursor: pointer;
    }

    .menu-trigger .menu-line {
        display: block;
        width: 100%;
        height: 4px;
        background: #777777;
        margin-bottom: 6px;
    }

    .menu-trigger .menu-line:last-child {
        margin-bottom: 0;
    }

    #footer-logo {
        display: none;
    }

    #footer-bottom {
        margin-bottom: 15px;
    }

    #footer-bottom-container {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    #detail-container .contentbox,
    .box-map-start {
        margin-bottom: 45px;
    }

    .jobs-list {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .job-list {
        width: 100%;
        margin-right: 0;
    }

    #job-list-container .map-container {
        max-width: 100%;
        margin-bottom: 45px;
    }

    .jobs-detail {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .jobs-detail .person-container {
        width: 100%;
    }

    #job-list-container #openstreetmap-container {
        width: 100%;
        height: 450px;
        max-height: 450px;
        overflow: hidden;
        display: block;
        min-height: 450px;
    }

    .house-list {
        width: 100%;
        margin-right: 0;
        max-width: 100%;
    }

    #house-list-container .map-container {
        max-width: 100%;
        margin-bottom: 45px;
    }

    #house-list-container #openstreetmap-container {
        width: 100%;
        height: 450px;
        max-height: 450px;
        overflow: hidden;
        display: block;
        min-height: 450px;
    }

    .box-map-start {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }
    
    .person-main-double .person-container {
        max-width: 60%;
}

    .teaser-orange-full-width {
        margin-left: 2.5%;
        margin-right: 2.5%;
        max-width: 95%;
        padding: 0 !important;
    }

    .teaser-full-width {
        margin-left: 0;
        margin-right: 0;
    }

    .news-teaser-start .kachel {
        float: none;
    }

    .news-teaser-start .item-list {
        max-width: 100%;
    }
    
   .teaser-start-main .foreground {
      height: 155px;
   }
   
    .jobs-teaser-start .kachel {
        float: none;
    }

    .jobs-teaser-start .item-list {
        max-width: 100%;
    }

    .contentbox {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .jobs-teaser-start,
    .news-teaser-start {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    #footer-bottom {
        float: none;
        max-width: 100%;
        width: 100%;
    }

    #footer-bottom .column:last-child {
        margin-right: 0;
    }

    .socialmedia-icons {
        position: relative;
        right: unset;
        bottom: unset;
        margin-left: 0;
        height: auto;
        display: block;
    }

    .teaser-start-main .foreground h2 {
        font-size: 18px;
        left: 20px;
    }
}

@media only screen and (max-width: 1300px) {
   
   .teaser-start-main .foreground {
      height: 140px;
   }

    .teaser-start-main .foreground h2 {
        bottom: 54px;
    }
   .person-main .person-container {
    max-width: 100%;
}

}


@media only screen and (max-width: 1250px) {


    #nav2-canvas {
        display: none;
    }

    #content-canvas.standard_aside {
        padding-left: 2.5%;
        width: 100%;
    }


    .place-info .row .column {
        width: 100%;
        margin-bottom: 15px;
    }

    .teaser-full-width .text-bottom {
        display: none;
    }

    .person-main .text-container {
        max-width: 100%;
        margin: 0;
        margin-bottom: 20px;
        float: none;
    }

    .place-info .row {
        flex-wrap: wrap;
    }

    .person-main .person-container {
        max-width: 100%;
    }

    .teaser-start-main .teaser-box-image {
        width: 49.5%;
    }

    .teaser-start-main .teaser-box-no-image {
        align-self: stretch;
        margin-bottom: 25px;
        display: flex;
    }

    .teaser-start-main .teaser-box-no-image a{
        display: flex;
        align-items: center;
    }

    .teaser-start-main .foreground {
        height: 20%;
        bottom: -3px;
        background: #fff;
    }

    .teaser-start-main .foreground h2 {
        font-size: 24px;
        bottom: calc(50% + 5px);
        transform: translateY(50%);
        left: 50px;
    }

    .teaser-start-main .no-image-wrapper {
        width: 49.5%;
        flex-direction: column;
        align-self: stretch;
    }

    .teaser-start-main .no-image-wrapper .teaser-box-no-image {
        width: 100%;
        height: 46%;
    }

}

@media only screen and (max-width: 1024px) {

    .text-image-grey .wrapper .column {
        width: 100%;
        float: none;
    }

    .text-image-main img {
        max-width: 680px;
    }

    .text-image-main .left-column {
        float: none;
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }

    .text-image-main .right-column {
        float: none;
        width: 100%;
        padding: 0;
    }

    .teaser-orange .box {
        width: 100%;
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .text-image-grey .wrapper .column-text.left-column {
        height: auto;
        padding-bottom: 25px;
        padding-top: 25px;
        position: relative;
    }

    .text-image-grey .wrapper .column-text.right-column {
        height: auto;
        padding-bottom: 25px;
        padding-top: 25px;
        position: relative;
    }

    .teaser-full-width .text * {
        font-size: 25px;
        line-height: 30px;
    }

    .teaser-orange .box-right {
        margin-right: 0;
        margin-bottom: 0;
    }


    .overview-item {
        max-width: 100%;
        width: 100%;
    }

    .overview-item a {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .overview-item:nth-child(2n+1) {
        margin-right: 0;
    }

    .publication-item {
        width: 47.5%;
        float: left;
        margin-right: 5%;
        margin-bottom: 25px;
    }

    .publication-item:nth-child(2n+1) {
        margin-right: 0;
    }

    .box-map-start #openstreetmap-container {
        width: 100%;
    }

    .box-map-start .map-search-container {
        width: 100%;
    }

    .text-image-grey .wrapper .column-text {
        padding: 20px;
    }

    #footer-bottom .column {
        min-width: 25%;
    }

    #footer-bottom .column:nth-child(1),
    #footer-bottom .column:nth-child(2),
    #footer-bottom .column:nth-child(3) {
        margin-right: 50px;
    }

    #footer-bottom .column:nth-child(1),
    #footer-bottom .column:nth-child(2),
    #footer-bottom .column:nth-child(3) {
        height: 200px;
    }

    .news-list .image-container {
        width: 100%;
        max-width: 100%;
        float: none;
        margin-bottom: 15px;
    }

    .news-list .text-container {
        float: left;
        width: 100%;
        max-width: 100%;
    }

}