/*
************************************************************
Styles:     flix//theme
Project:    flix-Base - Main CSS
Autor:      Yannik Boost
Copyright:  (c) 2015 interaktiv manufaktur
Website:    www.interaktiv-manufaktur.de
************************************************************
*/

@media only screen and (max-width: 1450px) {
    #head-canvas {
        padding: 15px 25px 0px;
    }

    #main-canvas {
        padding: 55px 25px 0px;
    }

    .footer-background {
        padding: 0px 25px;
    }

    .top-navigation, .search-container {
        right: 25px;
    }
}


@media only screen and (max-width: 1300px) {
    #nav2-canvas {
        margin-right: 40px;
    }

    #content-canvas.standard.visibleAsideCanvas {
        width: calc(100% - 540px);
    }
}


@media only screen and (max-width: 1250px) {
    .search-container {
        right: 15px;
    }
}

@media only screen and (max-width: 1024px) {

    /*### Abstände ###*/
    #site_headline {
        padding-bottom: 30px !important;
    }

    h2 {
        margin-bottom: 10px !important;
    }

    #detail-container .contentbox, .infobox {
        margin-bottom: 30px;
    }


    #mobile-search-box {
        display: block;
    }

    .back-button {
        display: inline-block;
    }

    /*****************************************************************
    *********** Document
    ******************************************************************/
    /*****************************************************************
    *********** Allgemeine Selectoren
    ******************************************************************/
    /*****************************************************************
    *********** Header
    ******************************************************************/
    .mainheadline {
        font-size: 35px !important;
    }

    .head-contact,
    .header-text {
        display: none;
    }

    /*****************************************************************
    *********** Footer
    ******************************************************************/
    .logo-footer {
        width: 50%;
        padding: 10px 0px 35px 0px;
    }

    #footer-bar {
        float: left;
        display: flex;
        padding-top: 25px;
    }

    /*****************************************************************
    *********** Content
    ******************************************************************/
    .teaser-start .left-column {
        width: 100% !important;
        margin-bottom: 20px;
        padding: 0px;
    }

    .teaser-start .right-column {
        width: 100% !important;
        margin-bottom: 20px;
        padding: 0px;
    }

    /*****************************************************************
    *********** Seitenelemente
    ******************************************************************/
    #info-canvas {
        width: 100%;
        margin: 0px 0px;
        max-width: 100%;
    }

    #content-canvas {
        width: 100% !important;
        margin-left: 0px !important;
        margin-top: 25px;
        margin-right: 0px !important;
    }


    .text-image-main .left-column {
        width: 100% !important;
        float: none;
        height: auto;
        overflow: hidden;
        margin-bottom: 20px;
        padding: 0px;
        padding-right: 15px;
    }


    .text-image-main .right-column {
        width: 100% !important;
        overflow: hidden;
        float: none;
        height: auto;
        padding: 0px;
        padding-left: 15px;
    }

    .header-text {
        display: none !important;
    }

    #logo img {
        height: 45px;
    }

    #main-navigation, #meta-navigation {
        display: none !important;
    }

    .top-navigation {
        position: absolute;
        right: 130px;
        top: 5px;
    }

    .lang-selector {
        display: block;
        right: 85px;
    }

    #head-canvas {
        padding: 10px;
    }

    #nav2-canvas {
        width: 100%;
        margin-bottom: 10px;
    }

    .text-main {
        width: 100%;
        margin: 0 0px 0x !important;
    }

    .info-teaser-main {
        width: 100%;
        margin: 25px 0px 0;
    }

    .image-text-three-columns-main {
        width: 100%;
        margin: 25px 0px 0;
    }

    #info-canvas {
        padding-left: 0px;
    }

    .overviewpages-main {
        margin-bottom: 30px;
    }

    #nav2-canvas {
        display: none;
    }

    .contactform .defaultform {
        width: 100%;
        padding: 0px;
        padding-top: 50px;
    }

    #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;
    }

    #head-canvas {
        padding: 10px 15px 15px;
        position: relative;
        min-height: 75px;
    }

    #mobile-searchbutton {
        top: 20px;
        padding: 0px;
    }

}