/* CSS Mobile Reset */
table { width:auto; border-collapse: collapse;border-spacing: 0; }
.open_nav {
	display: none;
}

/*Ab hier springt er auf 1380px breite Elemente*/
@media all and (max-width: 1380px) {
	.merkzettel_sidebar.active,
	.merkzettel_sidebar:hover
	{
	  opacity: 1;
	}
	.merkzettel_sidebar.active + .request {
		right: 0;
	}
	.merkzettel_sidebar > .merkzettel {
		right: 420%;
		top: 0;
	}


}
/*Ab hier springt er auf 1060px breite Elemente*/
@media all and (max-width: 1060px) {

/*Logo*/
	.bel3 #logo {
		background: url(../img/logo-home.png) no-repeat left top;
		width: 200px;
		height: 162px;
		margin-top: 10px;
	}
	#logo {
		margin-top: 10px;
	}
/*Head*/
	.head {
		padding: 0 30px 0px 10px;
	}
	.merkzettel_sidebar,
	.headlogin {
		right: 0;
		width: 40px;
  		height: 40px;
	}
	.merkzettel_sidebar {
		background-size: 21px auto;
	}
	.headlogin {
		top: 10px;
	}
	.merkzettel_sidebar.active + .request {
		right: 50px;
	}
	.merkzettel_sidebar,
	.merkzettel_sidebar.active + .request {
		top: 55px;
	}
	.headr {
		margin: 10px 30px 0 0;
	}
	.searchbox {
		width: 102%;
		float: left;
		margin: 20px 0;
	}
	.headcontact {
		margin: 10px 0 0 0;
	}

}
/*Ab hier springt er auf 760px breite Elemente*/
@media all and (max-width: 960px) {

/*Allgemein*/
	#site,
	.inner {
		width: 96% !important;
	}
/*Subhead*/
	#subhead img {
		max-width: 100%;
		height: auto;
		width: auto;
	}
/*Teaser*/
	.boxes {
		padding: 0;
	}
	.teaser .csc-textpic-text {
		left: 0;
	}
/*Foot*/
	.footcol.sitemap {
		width: 140px;
	}
	.footcol.service {
		width: 29%;
		margin: 0 4%;
	}

}

/*Ab hier springt er auf 760px breite Elemente*/
@media all and (max-width: 768px) {

	.merkzettel_sidebar > .merkzettel {
		right: 100%;
		top: 50px;
	}
/*Left*/
	.left .allpages {
	    border: none;
	    margin: 10px 0 0;
	    padding: 10px 6%;
	}
/*Head*/
	.headr {
		margin: 10px 50px 0 0;
	}
	.Telefon,
	.Fax,
	.Mail {
		padding: 12px 0 12px 27px;
	}
	.lbox, .rbox {
		width: 100%;
		margin-right: 0;
		padding: 0;
		float: none;
		display: block;
	}
/*Subhead*/
	#subhead {
		margin-left: 0;
		width: 100%;
		border: 0;
        margin: 0 0 20px 0;
	}
	#subhead img {
		margin: 0 auto;
	}
/*Nav*/
	.open_nav {
		display: inherit;
	}
	.open_nav P {
		padding: 0;
	}
	.open_nav A {
		display: block;
		height: 45px;
		line-height: 45px;
		color: #FFF;
		font-size: 18px;
		text-decoration: none;
		background-color: #2a3f88;
	}
	.nav {
		display: none;
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}
	.nav LI {
		float: none;
		border-left: 0;
		border-right: 0;
	}
	.nav LI A {
		background-color: #fff;
		color: #9f9b98;
	}
	.nav LI UL {
		position: inherit;
		left: inherit;
		top: inherit;
	}
	.nav > UL > LI + LI
	{
		margin: 0;
	}
	.nav > UL > LI.act {
		width: 100%;
	}
	.nav > UL > LI.act > A {
		background-color: #f3f3f3;
		color: #2a3f88;
	}
	.nav > UL > LI.act:hover > A, .nav > UL > LI.act.over > A {
		background-color: #f3f3f3;
		color: #2a3f88;
	}
	.subNav,
	.subNav .subNav,
	.nav > UL > LI:last-child > .subNav,
	.nav > UL > LI:last-child > .subNav .subNav
	{
		position: inherit;
		left: inherit;
		top: inherit;
	}
	.subNav A {
		padding: 8px 30px;
	}
	.subNav > UL > LI.act A {
		background-color: #383633;
		color: #f3f3f3;
	}
	.subNav > UL > LI.act:hover > A, .subNav > UL > LI.act.over > A {
		background-color: #fff;
		color: #2a3f88;
	}
	.subNav .subNav {
		padding: 0 10px 10px;
	}
	/* Nav Startseite */
	.bel3 .nav > UL {
		display: block;
	}
	.bel3 .nav > UL LI {
		border: 0;
		border-bottom: 1px solid #e5e4df;
		width: 100%;
	}
	.bel3 .nav > UL LI.start,
	.bel3 .nav > UL LI.last {
	  display: block;
	}
	.bel3 .nav > UL LI.last {
		border-bottom: 0;
	}
	.bel3 .nav > UL LI.act {
		width: 100%;
	}
	.bel3 .nav > UL LI A {
		text-align: left;
		display: block;
	}

/*Gridelemente*/
	.gridrow .col
	{
		float: none;
	}
	.gridrow .col + .col
	{
		margin-left: 0;
	}
	.gridrow.box33 .col
	{
		float: left;
		width: 32%;
	}
	.gridrow.box33 .col + .col
	{
		margin-left: 2%;
	}
	.gridrow {
		width: 96% !important;
		margin: 0 auto;
	}
	.box50 .col,
	.box25 .col,
	.box33-66 .col.col1,
	.box33-66 .col.col2,
	.box66-33 .col.col1,
	.box66-33 .col.col2
	{
		width: 100% !important;
	}
	.bel3 .gridelement .col
	{
		padding-bottom: 100px !important;
	}
	P.align-right, H1.align-right, H2.align-right, H3.align-right, H4.align-right, H5.align-right, A.align-right, P A.align-right {
		text-align: left;
	}
	.csc-header-alignment-right
	{
		text-align: left;
	}

/* Falls Footer unten klebt */
	HTML, BODY, #site {
		height: auto;
	}
	BODY > #site {
		min-height: 0;
	}
	#allcont, .allcont {
		padding-bottom: 40px;
	}
	.foot {
		height: auto;
		margin-top: 0;
	}

/* Gekaufte Bilder .c1 ändern */
	.allcont .c1 TABLE TR TD {
		display: inline-table;
	}


	DIV.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap, DIV.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {float: inherit;}
	.csc-textpic-intext-right-nowrap .csc-textpic-text {margin-right: 0;}
	.csc-textpic-intext-left-nowrap .csc-textpic-text {margin-left: 0;}

/*Teaser*/
	.boxes .teaser {
		width: 100%;
		margin-bottom: 10px;
	}
/*Foot*/
	.footcol.service {
		width: 70%;
		margin: 0 0% 0 0;
	}
	.footcol.sitemap {
		width: 30%;
	}
	.footcol.contact {
		width: 50%;
	}
/*Login*/
	#popup .popup-inner {
		margin: 0 auto;
		width: 50%;
		position: relative;
		left: 0;
		padding: 15px;
		top: 10px;
	}

	.cont {
		width: 100%;
        float: none;
	}
	.left {
		width: 100%;
		padding: 0;
        float: none;
	}
    .left .allpages {
        display: none;
    }
    .right {
        display: block;
        border-top: 1px solid #e5e4df;
        margin-top: 30px;
    }
    .right .allpages {
        border: 0;
        padding: 30px 6%;
        margin: 0;
    }

	.tx-htbproduktgruppen-detail .merken_group {
		float: none;
	}
	.cable-img img {
	    max-width: 45%;
	}

}

/*Ab hier springt er auf 100% breite Elemente (520px)*/
@media all and (max-width: 520px) {

/*Header*/
	.headcontact {
		font-size: 0;
	}
	.headcontact P:nth-child(2) {
		padding: 0;
	}
	.lang-switch {
	}
	.headcontact .Fax {
		display: none;
		padding: 0;
	}
/*Produktgruppe*/
	.tx_htbproduktgruppen .image {
		width: calc(70% - 10px);
		float: none;
	}
	.tx_htbproduktgruppen .details {
		margin: 10px 0;
	}
/*Foot*/
	.footcol.service,
	.footcol.sitemap,
	.footcol.contact {
		width: 100%;
		margin: 0 0% 0 0;
	}
	 {
		width: 30%;
	}


}
/*Ab hier springt er auf 100% breite Elemente (470px)*/
@media all and (max-width: 470px) {

	.teaser img {
		max-width: inherit;
		height: inherit;
		width: inherit;
	}

	img, embed, object, video {
		max-width: 100%;
		height: auto;
		width: auto;
	}

	DIV.csc-textpic .csc-textpic-imagewrap FIGURE, DIV.csc-textpic FIGURE.csc-textpic-imagewrap, FIGCAPTION.csc-textpic-caption {display: block;}
	DIV.csc-textpic-left .csc-textpic-imagewrap, DIV.csc-textpic-right .csc-textpic-imagewrap {float: none;}
	DIV.csc-textpic DIV.csc-textpic-imagecolumn {display: inline-block;float: none;vertical-align: top;}
	.csc-default {clear: both;}
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap, DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap, DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap, DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap {width: 100%;}
	DIV.csc-textpic-intext-right-nowrap .csc-textpic-text, DIV.csc-textpic-intext-left-nowrap .csc-textpic-text {margin: 0;}

	.searchbox input.sword {
		width: 80%;
	}
	.searchbox input.submit {
		width: 20%;
	}

}

/*Ab hier springt er auf 100% breite Elemente (360px)*/
@media all and (max-width: 360px) {

	.headr {
		margin: 120px -25px 0px 0px;
		display: flex;
	    flex-direction: column;
	    align-items: center;
	}
	.lang-switch {
		width: 20px;
	}
	LI.lang-de {
		margin-bottom: 20px;
		margin-right: 0;
	}
	.searchbox {
		width: 85%;
		margin-top: -55px;
	}
	.bel3 .searchbox {
		margin-top: 35px;
	}

}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-resolution: 192dpi) {

	#logo
	{
		background-image: url(../img/logo2x.png);
		background-size: 100% auto;
	}
	.bel3 #logo
	{
		background-image: url(../img/logo-home2x.png);
		background-size: 100% auto;
	}
	#popup .close
	{
		background-image: url(../img/close2x.png);
		background-size: 30px 30px;
	}
	.foot .facebook
	{
		background-image: url(../img/facebook2x.png);
		background-size: 10px 22px;
	}
	.foot .xing
	{
		background-image: url(../img/xing2x.png);
		background-size: 20px 24px;
	}
	.foot .Fax
	{
		background-image: url(../img/fax2x.png);
		background-size: 18px 15px;
	}
	.foot .google-plus
	{
		background-image: url(../img/google-plus2x.png);
		background-size: 22px 20px;
	}
	.Fax
	{
		background-image: url(../img/head-fax2x.png);
		background-size: 23px 19px;
	}
	.Mail
	{
		background-image: url(../img/head-mail2x.png);
		background-size: 22px 16px;
	}
	.Telefon
	{
		background-image: url(../img/head-phone2x.png);
		background-size: 23px 22px;
	}
	LI.lang-de,
	LI.lang-en
	{
		background-image: url(../img/lang2x.png);
		background-size: 40px 13px;
	}
	.headlogin
	{
		background-image: url(../img/login2x.png);
		background-size: 16px auto;
	}
	.nav LI.has-sub > A
	{
		background-image: url(../img/nav2x.png);
		background-size: 7px 108px;
	}
	.c38 H5
	{
		background-image: url(../img/newsletter2x.png);
		background-size: 24px 24px;
	}
	.newsL .field.field2 input
	{
		background-image: url(../img/password2x.png);
		background-size: 18px 20px;
	}
	.newsL .field.field1 input
	{
		background-image: url(../img/username2x.png);
		background-size: 16px 22px;
	}
	.foot .Telefon
	{
		background-image: url(../img/phone2x.png);
		background-size: 18px 18px;
	}
	.searchbox input.submit
	{
		background-image: url(../img/search2x.png);
		background-size: 22px 22px;
	}
	.foot .tx-powermail .powermail_form .powermail_fieldset INPUT
	{
		background-image: url(../img/phone2x.png);
		background-size: 18px 18px;
	}
	.foot .Mail
	{
		background-image: url(../img/mail2x.png);
		background-size: 18px 13px;
	}

}
