.relative {
    position: relative;
}

body {
}

body.host_version .big-tagline img {
    max-width: 275px;
}

.icon-wrapper img {
	width: 75px;
    height: 75px;
    text-align: center;
    line-height: 75px;
    font-size: 28px;
    background-color: #f2f3f5;
    color: #1f1f1f;
    margin-top: 0;
}
header a.navbar-brand img {
	width: 145px;
}
#aboutus {
    margin-bottom: 100px;
    position: relative;
}
#aboutus .inner {
    background: rgb(0, 51, 153);
    padding: 50px 0 120px 0;
}
#aboutus p, #aboutus h2, #aboutus h4 {
    color: #fff;
}
#aboutus .container::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 100px;
    width: 300px;
    height: 430px;
    background: url("../images/hintergrund/maler.png");
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(-1)
}

#kontakt iframe {
	width: 100%;
}

#leistungen h2 {
    font-size: 38px;
    font-weight: 300;
    padding: 0 0 10px;
    margin: 0;
    line-height: 62px;
    margin-top: 0;
    text-transform: none;
    margin-bottom: 35px;
}

#service {
    padding-bottom: 0;
}
#service .row {
	margin-bottom: 45px;
}
#service h3 {
	font-size: 30px;
}
#service h2 {
    font-size: 38px;
    font-weight: 300;
    padding: 0 0 10px;
    margin: 0;
    line-height: 62px;
    margin-top: 0;
    text-transform: none;
    margin-bottom: 35px;
}
#kontakt .row {
}
#impressum {
	margin: 50px 0;
}
#impressum h1 {
	font-size: 50px;
}

.footer-distributed .footer-company-name {
	padding: 0;
}


#gallery {
    margin-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}
#gallery > .inner {
    background: rgb(0, 51, 153);
    padding: 10px 0;
}
#gallery .inner > .container::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: -250px;
    width: 300px;
    height: 500px;
    background: url("../images/hintergrund/maler.png");
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 1;
}
/*
#gallery .inner > .container::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: -250px;
    width: 300px;
    height: 500px;
    background: url("../images/hintergrund/maler.png");
    background-size: 100%;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    z-index: 1;
}
*/
#gallery .container {
    border-radius: 15px;
    position: relative;
    z-index: 3;
}
#gallery .elem img {
    border-radius: 10px;
    box-shadow: 0 0 16px -5px #000;
    max-height: 300px;
    border: 3px solid #fff;
}
#gallery .elem {
    overflow: hidden;
    padding: 10px;
}
#gallery .elem:hover {
    cursor: pointer;
}
#gallery .elem .title {
    color: #fff;
}
#gallery .view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
    text-align: center;
}
#gallery .view .inner {
    height: 100%;
    width: 100%;
    position: relative;
}
#gallery .view .title {
    position: absolute;
    background: rgba(0,0,0,0.6);
    width: 100%;
    padding: 20px 0;
    color: #fff;
    z-index: 99;
    bottom: 0;
    left: 0;
}
#gallery .view a.close {
    position: absolute;
    display: inline-block;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 25px;
}

/*gallery navigation*/
#gallery a.nav {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: url("../img/arrow-left.png");
    background-size: 100%;
    width: 30px;
    height: 40px;
    z-index: 5;
    transition: 0.2s;
}
#gallery a.nav:hover {
    
}
#gallery a.nav.prev {
    left: -30px;
}
#gallery a.nav.next {
    right: -30px;
    transform: scaleX(-1) translateY(-50%);
}

.trenner {
    margin: 10px 0;
    height: 570px;
    width: 100%;
    background-image: url("../images/neues logo/single/LogoSchmitt Balken.png");
    background-size: 100%;
    background-position: center;
}


@media screen and (max-width: 1000px) {

    header #navbar {
        display: none;
    }
    #gallery {
        margin: 30px 0 0;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 800px) {
    body {
        background: none;
    }
    #leistungen hr {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    #kontakt .row .contact {
        padding-bottom: 30px;
        text-align: center;
    }
    #kontakt .section-title {
        margin-bottom: 15px;
    }

    body.host_version .big-tagline img {
        max-width: 240px;
    }
}

@media screen and (max-width: 660px) {
    #aboutus {
        overflow: hidden;
        margin-bottom: 50px;
    }
    #aboutus .inner {
        padding: 50px 0;
    }
    body.host_version .big-tagline img {
        max-width: 200px;
    }
}