/* Dmitrij 30.05.2017 */
.box-custom p {
    padding-left: 30px;
}
#footer-boxes p .fa {
    margin-left: -30px;
}
.footerlogo {
    margin-left: -30px;
}

.page-bg {
	background-attachment: fixed;
	background-image: url('gfx/background.jpg');
	height: 100%;
    position: fixed;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}
.servicebutton {
    margin-right: -30px !important;
}
.wrapper {
	width: 1200px;
	margin: auto;
}
.prtitel {
    text-transform: none;
    margin-top: 15px;
    margin-bottom: 10px;
}
.headerleiste {
	background: url('gfx/Logo.png') 50% 50% no-repeat;
	height: 159px;
    background-size: cover;
    margin-bottom: 0;
	color: #fff;
}

.checkvorteile {
    margin-bottom: 10px;
    border-top: 1px solid #000;
    padding-top: 20px;
}
.checkvorteile div {
    margin: 10px 0;
}

#slide1:checked ~ #controls label:nth-child(5), #slide2:checked ~ #controls label:nth-child(1), #slide3:checked ~ #controls label:nth-child(2), #slide4:checked ~ #controls label:nth-child(3), #slide5:checked ~ #controls label:nth-child(4) {
    margin: 0 0 0 3px;
}
#slide1:checked ~ #controls label:nth-child(2), #slide2:checked ~ #controls label:nth-child(3), #slide3:checked ~ #controls label:nth-child(4), #slide4:checked ~ #controls label:nth-child(5), #slide5:checked ~ #controls label:nth-child(1) {
    margin: 0 3px 0 0;
}

.headerlogo a {
	display: block;
    width: 334px;
    height: 149px;
    margin: 6px 0px 0 -11px;
	cursor: pointer;
}
.tabs-wrapper label {
    border: 1px solid #f7f7f7;
    background: #f7f7f7;
}
#tab1:checked + label, #tab2:checked + label, #tab3:checked + label, #tab4:checked + label {
    border: 1px solid #000;
}

.headervorteil {
	line-height: 32px;
    margin: 7px 0 0 60px;
}
.footerlogo {
    width: 150px;
    margin-top: 0 !important;
}
.headervorteil span {
	display: block;
	margin-top: 25px;
	line-height: 18px;
}

.headersearch {
	margin: 60px 0 0 0;
}

.headersearch input,
.headersearch .btn-info {
	border-color: #000;
}

.page-header {
    border-color: #000;
}

#custom-search-input .form-control,
.headersearch .btn-info {
	background: rgba(255, 255, 255, 0.8);
}

#custom-search-input .form-control:focus {
	border-color: #000;
}

#custom-search-input .form-control {
	color: #000;
    border-radius: 12px 0 0 12px;
}

.input-group-btn:last-child>.btn {
	margin-left: 0;
	border-radius: 0 12px 12px 0;
}

.navbar,
#footer.container-block {
	background: url('gfx/menu_bg.png') 0 0 repeat;
    border: 2px solid #000;
}

#footer.container-block {
	border-radius: 12px;
    overflow: hidden;
}

.container-fluid {
	padding-left: 0;
}

.sidecatstitel {
	border-bottom: 2px solid #000;
}

.sidecats ul {
	background: none;
}

#overflow {
	background: #fff;
	border: 2px solid #000;
	border-radius: 12px;
	overflow: hidden;
}

#slides {
	border: none;
	border-radius: 12px;
    overflow: hidden;
}

#slides article {
	border-radius: 10px;
    overflow: hidden;
}

article img {
    width: 100%;
    border-radius: 10px;
}

.collapse.navbar-collapse > ul {
	background: none;
}

.content_bg {
	background: rgba(255, 255, 255, 0.8);
	border: 2px solid #262626;
	border-radius: 12px;
    padding: 10px 20px;
    margin-left: 0;
    margin-top: 15px;
}

.b-more-info {
	margin-left: 0;
}

.simpletext.content_bg {
	margin-bottom: 15px;
}

.tab-body-wrapper.content_bg {
	border-radius: 0 0 12px 12px;
}

.tab-body-wrapper {
	border-top: 1px solid #000;
}

.moreproducts.content_bg {
	margin-top: 15px;
}

.starttabssubtitle {
	color: #000;
}

hr {
    border: none;
}

#tab1:checked + label,
#tab2:checked + label,
#tab3:checked + label,
#tab4:checked + label,
.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover,
.navbar .nav li.active > a,
.navbar .nav li.active > label,
.b-sub-menu-title > a:after {
	background: #000;
}

.greencheck,
.headersearch .btn-info {
	color: #000;
}

.btn-info.active.focus,
.btn-info.active:focus,
.btn-info.active:hover,
.btn-info.focus:active,
.btn-info:active:focus,
.btn-info:active:hover,
.open > .dropdown-toggle.btn-info.focus,
.open > .dropdown-toggle.btn-info:focus,
.open > .dropdown-toggle.btn-info:hover,
.nav li .open-modalo:focus,
.nav li .open-modalo:hover,
.tabs-wrapper label:hover {
	background: #000;
}

.starttabssubtitle::after {
	border-bottom: 1px solid #000;
}

#footer-ads-wrapper .footer-top {
	border-top: none;
	border-bottom: none;
}

#footer > .container-block {
	height: 30px;
	line-height: 30px;
}

#footer .container-fluid {
	padding-left: 15px;
	padding-right: 15px;
}

#active label {
	cursor: pointer;
}


@media(max-width:1024px) {

	.wrapper {
		width: 100%;
		padding: 0 10px;
	}

	.headerleiste {
		height: 130px;
	}

	.headerlogo a {
	    width: 295px;
	    height: 121px;
    }
    .headersearch {
	    margin: 35px 0 0 140px;
	}


}

@media(max-width:768px) {
	.headerleiste {
	    height: 100px;
	}
	
	.headersearch {
	    margin: 35px 0 0 88px;
	}

	.headerlogo a {
	    width: 220px;
	    height: 91px;
	}

	.container-fluid {
		padding-left: 15px;
	}

	.b-more-info {
		margin-left: -15px;
	}

	.tabs-wrapper label {
		vertical-align: top;
    	width: auto;
	}

	.moreproducts.content_bg {
	    margin-left: -15px;
	}

	#footer.container-block {
		margin-top: 15px;
	}
}

@media(max-width:414px) {
	.headerleiste {
	    height: 50px;
	}

	.headerlogo a {
	    width: 110px;
	    height: 41px;
	}

	.navbar {
		display: none;
	}
}

@media(max-width:375px) {
	.headerleiste {
	    height: 47px;
	}

	.headerlogo a {
	    width: 97px;
	}
}


@media(max-width:320px) {
	.headerleiste {
	    height: 30px;
	}

	.headerlogo a {
	    width: 80px;
	    height: 25px;
	}
}

@media(min-width:1200px) {
	#controls {
	    top: calc(50% - 50px);
	}
	.b-sub-menu:first-of-type .b-sub-menu-title:nth-child(1) .b-sub-menu-child, 
	.b-sub-menu:first-of-type .b-sub-menu-title:nth-child(2) .b-sub-menu-child, 
	.b-sub-menu:first-of-type .b-sub-menu-title:nth-child(3) .b-sub-menu-child,
	.b-sub-menu:first-of-type .b-sub-menu-title:nth-child(4) .b-sub-menu-child,
	.b-sub-menu:first-of-type .b-sub-menu-title:nth-child(5) .b-sub-menu-child {
		height: 290px;
	}
}