/*
************************************************************
Styles:     flix//theme
************************************************************
*/


@media only screen and (min-width: 0px) and (max-width: 1400px) {
    .image-container {
        display: block !important;
        width: 100%;
    }

    .gallery-image {
        display: inline-block;
        float: left;
        width: calc(100% / 4);

    }

    .text-image-block-main .content-container {
        padding: 0 50px;
    }

    .text-cable-main {
        padding-left: 50px;
    }

    .text-main {
        box-sizing: border-box;
        padding: 50px;
    }

    .person-main .content-container {
        padding: 0 50px;
    }
}


@media only screen and (min-width: 0px) and (max-width: 1865px) {
    .contact-contentbox .phone-number {
        display: none;
    }
}

@media only screen and (max-width: 1700px) {
    #logo {
        margin-left: 20px;
        background: url(/_images/Logo_klein.png) no-repeat;
        width: 70px;
        background-size: contain;
    }

    .nav1 {
        margin-left: 10px;
    }
}

@media only screen and (max-width: 1024px) {
    .banner-background {
        padding: 50px 30px;
    }
}


@media only screen and (min-width: 900px) and (max-width: 1500px) {
    /*#### header ####*/
    /*#######################################################*/
    .header-text {
        font-size: 70px;
        padding-left: 60px;
        box-sizing: border-box;
        bottom: 60px;
    }

    /*#######################################################*/
    .text-image-main .content-container .text-container {
        padding: 50px;
        width: 50%;
        font-size: 16px;
    }

    .text-image-main .content-container .banner-image {
        width: 50%;
    }

    /*#######################################################*/
    .image-banner-parallax {
        height: 400px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 900px) {


    /*#######################################################*/
    .banner-main .main-text {
        font-size: 25px;
    }

    .banner-main .extra-text {
        font-size: 20px;
        margin-top: 8px;
    }

    /*#######################################################*/
    .text-image-main .content-container {
        flex-direction: column;
        flex-wrap: wrap;
        min-height: unset;
    }

    .text-image-main .content-container .text-container {
        padding: 40px;
        width: 100%;
        font-size: 16px;
        height: auto;
        position: relative;
    }

    .text-image-main .content-container .banner-image {
        order: 4;
    }

    .text-image-main .content-container .banner-image img {
        position: unset;
        width: 100vw;
    }

    /*#######################################################*/
    .image-banner-parallax {
        height: 300px;
    }

    /*#######################################################*/
    .banner-image-main .banner-background {
        display: block;
        width: 100%;
    }

    .banner-image-main .logo-container {
        margin-right: 0;
    }

    /*#######################################################*/
    .text-image-block-main .image-container, .text-image-block-main .text-container {
        width: 100%;
    }

    .text-image-block-main .content-container {
        padding-top: 0;
        padding-bottom: 0;
    }

}


@media only screen and (min-width: 500px) and (max-width: 900px) {


    .header-text {
        font-size: 50px;
        padding-left: 40px;
        box-sizing: border-box;
        bottom: 40px;
    }


    /*#######################################################*/
    .text-main .text-container {
        display: inline-block;
        /*width: 80%;*/
        /*margin-left: 20%;*/
        /*margin-right: 10%;*/
    }

    /*#######################################################*/
    .text-cable-main .lil-cable {
        background-size: auto 100%;
        height: 120px;
        width: 200px;
    }

    .text-cable-main .text-container {
        width: 55%;
    }
}


@media only screen and (min-width: 900px) and (max-width: 1200px) {
    .text-cable-main .lil-cable {
        width: 400px;
        background-size: auto 100%;
        height: 180px;
    }

    .text-cable-main .text-container {
        width: 50%;
    }


}


@media only screen and (min-width: 0px) and (max-width: 1200px) {


    .contact-container {
        display: block;
        overflow: hidden;
        text-align: center;
    }

    .contact-person-main .person-container {
        float: none;
        width: 100%;
        display: block;
        margin: 0 0 40px;
    }

    .person-container.container-3 {
        margin-bottom: 0;
    }

    .contact-person-main {
        padding: 50px 0;
    }

    .contact-person-main .headline {
        text-align: center;
    }

}


/*####### Footer ##########*/

@media only screen and (min-width: 1050px) and (max-width: 1400px) {

    .footer-logo-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .footer-handwerk-logo.desktop.desktop, .footer-ambos-logo.desktop {
        display: none;
    }

    .footer-ambos-logo.responsiv {
        width: 75px;
        height: 97px;
        background-size: 100% auto;
        margin-right: 15px;
        background: url('/_images/Logo_klein.png') no-repeat;
        background-size: 100%;
    }

    .footer-handwerk-logo.responsiv {
        width: 140px;
        height: 40px;
        background-size: 100% auto;
    }

    .footer-textblock {
        width: auto;
        margin-right: 40px;
    }

    .footer-content {
        width: auto;
    }
}

@media only screen and (min-width: 700px) and (max-width: 1050px) {

    .footer-logo-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #footer-canvas {
        display: block;
    }

    .footer-handwerk-logo.desktop.desktop, .footer-ambos-logo.desktop {
        display: none;
    }

    .footer-ambos-logo.responsiv {
        width: 75px;
        height: 80px;
        margin-right: 15px;
        background: url('/_images/Logo_klein.png') no-repeat top center;
        background-size: 70% auto;
    }

    .footer-handwerk-logo.responsiv {
        width: 140px;
        height: 40px;
        background-size: 100% auto;
    }

    .footer-content {
        width: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        /*padding-bottom: 25px;*/
        margin-bottom: 0;
    }

    .footer-textblock {
        width: auto;
    }
}


@media only screen and (min-width: 400px) and (max-width: 699px) {

    .footer-logo-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: space-evenly;
    }

    #footer-canvas {
        display: block;
    }

    .footer-handwerk-logo.desktop.desktop, .footer-ambos-logo.desktop {
        display: none;
    }

    .footer-ambos-logo.responsiv {
        width: 50%;
        height: 80px;
        background: url('/_images/Logo_klein.png') no-repeat top center;
        background-size: 50px auto;
        margin-left: 25px;
    }

    .footer-handwerk-logo.responsiv {
        width: 50%;
        height: 40px;
        background-size: 140px auto;
        margin-left: 0;
        margin-right: 25px;
        background-position-x: center;
    }

    .footer-content {
        width: 100%;
        display: block;
        box-sizing: border-box;
        overflow: hidden;
        margin: 0;
        padding: 25px;
    }

    .footer-textblock {
        width: 50%;
        float: left;
        margin: 0 0 40px;
        text-align: center;
        height: 100px;
    }

    .footer-textblock.textblock-2, .footer-textblock.textblock-4 {
        float: right;
    }

    .footer-textblock.textblock-3, .footer-textblock.textblock-4 {
        margin-bottom: 0;
    }

    .footer-text-content a {
        line-height: 20px;
    }
}


@media only screen and (min-width: 0px) and (max-width: 399px) {

    .footer-logo-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        align-items: center;
    }

    #footer-canvas {
        display: block;
    }

    .footer-handwerk-logo.desktop.desktop, .footer-ambos-logo.desktop {
        display: none;
    }

    .footer-ambos-logo.responsiv {
        width: 50%;
        height: 80px;
        background: url('/_images/Logo_klein.png') no-repeat center center;
        margin-left: 25px;
        background-size: 50px;
    }

    .footer-handwerk-logo.responsiv {
        width: 50%;
        height: 40px;
        background-size: 100% auto;
        margin-right: 25px;
        margin-left: 0;
    }

    .footer-content {
        width: 100%;
        display: block;
        box-sizing: border-box;
        overflow: hidden;
        margin: 0;
        padding: 25px;
    }

    .footer-textblock {
        width: 100%;
        margin: 0 0 40px;
        text-align: center;
        height: auto;
    }

    .footer-textblock.textblock-4 {
        margin-bottom: 0;
    }

    .footer-text-content a {
        line-height: 20px;
    }
}


/*###### big-cable ######*/
@media only screen and (min-width: 850px) and (max-width: 1450px) {
    .text-cable-main .text-container.big-cable-text-container {
        padding: 100px 0 200px;


    }

    .text-cable-main .big-cable {
        height: 300px;
        background-position: right -200px top 0;

    }

}

@media only screen and (min-width: 500px) and (max-width: 849px) {
    .text-cable-main .text-container.big-cable-text-container {
        padding: 0 0 150px;
    }

    .text-cable-main .big-cable {
        height: 200px;
        background-position: right -200px top 0;
    }
}

@media only screen and (min-width: 0px) and (max-width: 499px) {
    .text-cable-main .text-container.big-cable-text-container {
        padding: 0 0 175px;
    }

    .text-cable-main .big-cable {
        height: 150px;
        background-position: right -200px top 0;
    }

    .radiobutton-wraper {
        display: inline-block;
        overflow: hidden;
        width: 100%;
    }
}


@media only screen and (min-width: 0px) and (max-width: 850px) {
    .logo-text .content-container {
        display: block;
    }

    .logo-text .image {
        position: relative;
        left: 50%;
        -ms-transform: translate(-50%, 0px);
        transform: translate(-50%, 0px);
    }

    .logo-text .headline {
        text-align: center;
        line-height: 30px;
        margin-top: 20px;
    }

    .person-main .content-container .text-container {
        float: none;
        width: 100%;
        padding-top: 25px;
    }

}
