#mainNav{
    position: absolute;
    width: 100%;
    background-color: #fff;
}

.degu {
    display: none;
}

.navbutton {
    width: 30px;
}

.navbutton .text {
    display: none;
}

.navbar-brand img {
    /* height: 120px; */
    height: 100px;
    margin-left: 25px;
    margin-top: 15px;
}

#content {
    padding-bottom: 50px;
}

.teaserbox {
    width: 100%;
    margin-left: 0px !important;
}

.textbox,
.product .textbox {
    height: 300px;
}

.team {
    width: 96%;
}

.team .textbox {
    height: 180px;
    padding-top: 50px;
}

#contacts {
    display: flex;
    flex-direction: column;

    padding-left: 15px;
    padding-right: 15px;
}

#contacts #henau {
    padding-right: 0;
}

#contacts .contactinfo {
    min-width: 0;
    width: 95%;
}

footer .col-sm-4.first .frame-layout-0 {
    width: 104%;
}

footer .col-sm-4.middle .frame-layout-0 {
    width: 104%;
    margin-left: 0 !important;
}

footer .col-sm-4.last {
    height: 115px;
}

footer .col-sm-4.last #footernavi {
    margin-left: 46%;
}

#content .col-sm-8 {
    min-height: 205px;
}

#content > div:nth-of-type(1)#c28,
#content > div:nth-of-type(6)#c33,
#content > div:nth-of-type(8)#c34,
#content > div:nth-of-type(1)#c36,
#content > div:nth-of-type(1)#c39,
#content > div:nth-of-type(2)#c62,
#content > div:nth-of-type(3)#c40,
#content > div:nth-of-type(1)#c65,
#content > div:nth-of-type(1)#c45 {
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-brand {
    z-index: 500;
    position: absolute;
    left: 50%;
    margin-left: -125px !important;
}

/* form */
form #powermail_field_strasse {
    width: 100%;
}

form .powermail_fieldwrap #powermail_field_plz {
    max-width: calc(30% - 7.5px);
    width: calc(30% - 7.5px);
    margin-left: 0;
}

form .powermail_fieldwrap #powermail_field_ort {
    max-width: calc(70% - 7.5px);
    width: calc(70% - 7.5px);
}

form .powermail_fieldwrap input[type=submit] {
    margin-left: 190px;
}

/* iPad, landscape media query */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {


    
}

/* iPad, portrait media query */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {

    footer .henau .right {
        display: none;
    }

    footer .uzwil .right {
        display: none;
    }

    footer .col-sm-4.last #footernavi {
        margin-left: 24%;
    }

    #c27 .teaserbox .col-sm-8.imagebox {
        flex: 0 0 59.666667%;
    }

    #c53 .teaserbox .col-sm-8.imagebox {
        flex: 0 0 56.666667%;
    }

    form .powermail_fieldwrap input[type=submit] {
        margin-left: 534px;
    }

    .team .row {
        height: 390px;
    }
    
    #contacts .contactinfo {
        width: 55%;
    }

    a[title="Mittagsverpflegung"] .imagebox {
        flex: 0 0 50.666667% !important;
    }

    footer .container .row .col-sm-4.middle {
        opacity: 0;
    }

    .team .row:nth-of-type(2) {
        margin-top: 180px;
    }

    .team .row:nth-of-type(3) {
        margin-top: 135px;
    }

    #content .team .row:nth-of-type(2) .col-sm-8 {
        margin-top: 0px !important;
    }

    #content .team .row:nth-of-type(3) .col-sm-4 {
        margin-top: 0px !important;
    }

    .team .textbox {
        padding-top: 0;
    }

    .team .row:nth-of-type(3) {
        margin-top: 145px;
    }

    .team .row:nth-of-type(2) {
        margin-top: 170px;
    }
}

/* iPhone 6/7/8, portrait media query */
@media (orientation: portrait) {

    #content div a .textcontent {
        padding: 0;
    }

    #content .team .row:nth-of-type(3) .col-sm-4 {
        margin-top: 62px;
    }

    #content .team .row:nth-of-type(2) .col-sm-8 {
        margin-top: 45px;
    }
	
	div.pdfdownload{
		margin-left: -40px;
		bottom: 6px;
		padding-left: 40px;
		margin-top: 9px;
		width: 230px;
	}
}

/* iPhone 6/7/8, landscape media query */
@media (orientation: landscape) {

    footer .henau .right {
        display: none;
    }

    footer .uzwil .right {
        display: none;
    }

    footer .col-sm-4.last #footernavi {
        margin-left: 0;
    }

    .container {
        max-width: 650px;
    }

    .teaserbox {
        width: 555px;
        margin: 100px -15px 20px -15px;
    }

    .textbox,
    .product .textbox {
        height: 350px;
    }

    #c60 .teaserbox .col-sm-8.imagebox {
        flex: 0 0 59.666667%;
    }

    #c27 .teaserbox .col-sm-8.imagebox{
        flex: 0 0 48.666667%;
    }

    #c52 .teaserbox .col-sm-8.imagebox{
        flex: 0 0 56.666667%;
    }

    #c53 .teaserbox .col-sm-8.imagebox{
        flex: 0 0 43.666667%;
    }

    .team .row {
        height: 350px;
    }

    #contacts .contactinfo {
        width: 70%;
    }
	
	div.pdfdownload{
		margin-left: -40px;
		bottom: 6px;
		padding-left: 40px;
		margin-top: 9px;
		width: 230px;
	}
}

/* iPhone 5 */
@media screen and (device-aspect-ratio: 40/71) {

    footer .henau .right {
        display: none;
    }

    footer .uzwil .right {
        display: none;
    }
    
    footer .col-sm-4.last #footernavi {
        margin-left: 40%;
    }

    form .powermail_fieldwrap input[type=submit] {
        margin-left: 134px;
    }
}


/*******************
START JOBINSERAT
*******************/

body.page-home .header .ce-image .img-responsive img.image-embed-item{
    right: 5px;
    padding-top: 150px;
    max-width: 300px;
}

/*******************
END JOBINSERAT
*******************/
