/*--- Bootstrap Mobile Gutter Fix --*/
.row,
.container-fluid {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

/*--- Fixed Video Background iOS/Mobile Style--*/
.video-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#video {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    z-index: -1000;
}

video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background: url('') no-repeat;
    background-size: cover;
    transition: 1s opacity;
}

@media (max-width: 2198px) {
    .heading {
        margin-top: 3rem;
    }


}

@media (max-width: 999px) {
    .slick-slide {
        opacity: 1;
    }

    .caption {
        top: 28%;
    }

    #kundenlogs img {
        height: 2rem;
    }
}

@media (max-width: 680px) {
    .slick-slide {
        opacity: 0.5;
    }

    .slick-current {
        opacity: 1;
    }
}

@media (max-width: 770px) {

    .caption h1 {
        font-size: 2rem;
        padding-bottom: 0.5rem;

    }

    .caption h3 {
        font-size: 1.3rem;
        letter-spacing: 0rem;
        padding-bottom: 0.9rem;

    }

    #btnh {
        font-size: 0.8rem;
        font-weight: 900;
    }
}

#dienstrow1 {
    margin-bottom: 0rem;
}

.dienstleistungen {
    margin-bottom: 2rem;
}

@media (max-width: 995px) and (min-width: 768px) {

    .dienstleistungen h3 {
        font-size: 1.35rem;
    }

    .dienstleistungen p {
        font-size: 0.89rem;
        margin-top: -.4rem;
    }
}


@media (min-width: 1522px) {

    #aboutpic {
        height: 30rem;

    }
}

@media (max-width: 1227px) {

    #aboutpic {
        margin-top: 8rem;
    }
}

@media (max-width: 991px) {
    #aboutpic {
        margin-top: 0rem;
    }

    #logozert img {
        height: 2rem;
    }

    #kundenlogs img {
        height: 3rem;
        margin-bottom: 0rem;
    }

    .slider {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 1181px) {
    #logozert img {
        margin-right: 2rem;
    }
}

@media (max-width: 1689px) {
    #kundenlogs img {
        margin-right: 5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 513px) {
    #kundenlogs img {
        margin-right: 2rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 770px) {
    #knopf1 {
        display: none;
    }
}

@media (max-width: 336px) {
    #hdport {
        font-size: 1.5rem;
    }

    #hddienst1 {
        font-size: 1.5rem;
    }
}

/* iPhones */

/* iPhone 10 */

@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3) {

    #para1,
    #para2,
    #para3,
    #para4 {
        background-attachment: scroll;
    }

    .video-background {
        background-attachment: scroll;
    }

    .textpara h2 {
        font-size: 1.75rem;
    }
}

/* iPhone 6,7,8 */

@media only screen and (min-device-width : 375px) and (max-device-width : 667px) {

    #para1,
    #para2,
    #para3,
    #para4 {
        background-attachment: scroll;
    }

    .video-background {
        background-attachment: scroll;
    }

    .textpara h2 {
        font-size: 1.75rem;
    }
}

/* iPhone 6, 7, & 8 Plus */

@media only screen and (min-device-width : 414px) and (max-device-width : 736px) {

    #para1,
    #para2,
    #para3,
    #para4 {
        background-attachment: scroll;
    }

    .video-background {
        background-attachment: scroll;
    }

    .textpara h2 {
        font-size: 1.75rem;
    }
}

/* iPhone 5 & 5S */

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {

    #para1,
    #para2,
    #para3,
    #para4 {
        background-attachment: scroll;
    }

    .video-background {
        background-attachment: scroll;
    }

    .textpara h2 {
        font-size: 1.75rem;
    }
}

/* iPad */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

    #para1,
    #para2,
    #para3,
    #para4 {
        background-attachment: scroll;
    }

    .video-background {
        background-attachment: scroll;
    }

    .textpara h2 {
        font-size: 1.75rem;
    }
}


@media (min-width: 1001px) {
    .narrow2 {
        width: 75%;
        margin: 1.5rem auto;
    }
}

@media (max-width: 992px) {
    #produkt1 {
        margin-bottom: 1.5rem;
    }

    #produkt3 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 769px) {
    #para1 {
        background: url(../img/790_03.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    #para2 {
        background: url(../img/790_04.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 767px) {
    blockquote {
        margin-top: 1.2rem;
    }
}

@media (max-width: 999px) {
    .video-background {
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        width: 100%;
        min-height: 100vh;
        background-image: url("../img/999_header.jpg")
    }
