.owl-theme .owl-controls .owl-buttons div.owl-prev,
.owl-theme .owl-controls .owl-buttons div.owl-next {
  position: absolute;
  top: 40%;
  font-size: 1.5em;
  border-radius: 1.5em;
  padding: 0;
  line-height: 1.3;
  height: 1.5em;
  width: 1.5em;
  text-align: center;
  display: none;
}

.tx-owl-slider:hover .owl-theme .owl-controls .owl-buttons div.owl-prev,
.tx-owl-slider:hover .owl-theme .owl-controls .owl-buttons div.owl-next {
  display: block;
}

.owl-theme .owl-controls .owl-buttons div.owl-prev {
  left: 1em;
}

.owl-theme .owl-controls .owl-buttons div.owl-next {
  right: 1em;
}


.tx-srlanguagemenu .tx-srlanguagemenu-flag-linked,
.tx-srlanguagemenu .tx-srlanguagemenu-flag-unlinked {
  height: 13px;
  width: 20px;
}

/* 
Farbwerte: 

schwarz: #000;
grau: #aaa;
weiß: #fff;

*/

.wrapper {
  overflow-x: hidden;
}

nav.mobile{ display: none !important; }
.open-mobile{ display: none; }
.fa-angle-double-right:before,
.fa-angle-double-left:before{ color: inherit; }

/* PDF auf Karriereseite */
.recruitment-text{ clear: both; }

/* Accordion Karriereseite */
.ui-accordion .ui-accordion-header a{ padding-left: 2.2em !important; }
.ui-accordion-content{ height: auto !important; }

/* Neue Text-Bild boxen small, big */
.TeaserBox .csc-teaser-small{ float: left; width: 220px; width: 33.333%; box-sizing: border-box; margin-right: 12px; margin-right: 0; padding-right: 13px; }
.TeaserBox .csc-teaser-small-zeilenumbruch { margin: 0; float: left; width: 220px; }
.TeaserBox .csc-teaser-big{ float: left; max-width: 340px; width: 100%; margin-right: 20px; }
.TeaserBox .csc-teaser-big img{ width: 340px; height: auto; }
/* .csc-teaser-small:nth-child(3n+5){ clear: both; } */
/* .TeaserBox .csc-teaser-small:nth-child(3n+3){ margin-right: 0px; } */
.TeaserBox .csc-teaser-small:nth-child(3n+4){ clear: both; }
.TeaserBox .csc-teaser-small:nth-child(n+4){ margin-top: 15px; }
.TeaserBox .csc-teaser-big:nth-child(2n+2){ margin-right: 0px; }

.ui-accordion-content .csc-teaser-small { width: 33.333% !important; }

/*Motorentechnologie*/
/*
body.produkte .csc-teaser-small:nth-child(3n+5){ clear: none !important; }
body.produkte .csc-teaser-small:nth-child(3n+7){ clear: both !important; }
*/

/* body.produkte .csc-teaser-big:nth-child(2n+1){ margin-right: 0px; }
body.produkte .csc-teaser-small:nth-child(3n+6){ clear: both !important; }
body.produkte .csc-teaser-small:nth-child(3n+5){ clear: none; } */


@media (max-width: 1024px) {

nav.mobile{ display: block !important; }

/* Mobiles Menü */
.open-mobile{ display: block; float: right; margin-right: 9px; background: none; border: none; line-height: 45px; color: #aaa; 
  font-size: 26px; font-family: "HelveticaNeueW01-77BdCn 692722", "Trebuchet MS", Arial, Helvetica, san-serif; font-weight: normal; }

.fa-navicon:before, .fa-reorder:before, .fa-bars:before{ margin-right: 10px; }
/*.fa-remove:before, .fa-close:before, .fa-times:before{ margin: 11px 0 0 0; display: block; }*/
ul#nav{ display: none; }

nav.mobile{ background: #000 !important; color: #aaa !important; padding: 1.5em 0 !important; }
nav.mobile h2{ color: #aaa; font-size: 26px; padding-bottom: 1em; padding-left: .95em; }
nav.mobile li{ padding: .45em 1.5em !important; }


nav.mobile li.active,
nav.mobile li.active.dropdown,
nav.mobile li.active.dropdown ul li.active,
nav.mobile li.active > a{ background: #fff; color: #000 !important; }

/*
nav.mobile li.active.dropdown ul li a{ color: #fff !important; }
nav.mobile li.active.dropdown ul li.active a{ color: #111 !important; }
*/
/*
nav.mobile li.active.dropdown .fa-angle-double-right:before,
nav.mobile li.active.dropdown .fa-angle-double-left:before,
nav.mobile li.active.dropdown ul li.active .fa-angle-double-right:before,
nav.mobile li.active.dropdown ul li.active .fa-angle-double-left:before{ color: #111 !important; }
*/
/*
nav.mobile li.active.dropdown ul li .fa-angle-double-right:before,
nav.mobile li.active.dropdown ul li .fa-angle-double-left:before{ color: #fff !important; }
*/
nav.mobile li.active.dropdown ul li ul li.active .fa-angle-double-left:before{ color: #aaa; }

nav.mobile li.active.dropdown ul li:active a,
nav.mobile li.active.dropdown > a { color: #111 !important; }

nav.mobile li.close-sesam span{ color: #aaa; }
nav.mobile button.close-nav { top: 1em !important; color: #aaa !important; font-size: 26px !important; z-index: 7; }
nav.mobile button.close-nav:hover,
button.open-mobile{ cursor: pointer; }
ul.mobmen a{ color: #aaa !important; border-bottom: none; }
ul.mobmen a:hover{ border-bottom: 0px solid #222 !important; }
.fa-caret-right:before{ color: #aaa; }


#frontpage #featured {
  background: transparent;
}


/* Header */
#head{ padding: 20px 0; position: fixed; width: 100%; max-width: 940px; background: #000;  height: 50px;}
#top .logo, 
.logo a{ left: 20px; top: 0px; }

#head_claim, 
#head_claim a{ display: none;  }

#featured{ padding-top: 90px; }
.noshadow{ height: auto !important; }
#featured img{ width: 100%; height: auto; }

#main .menu_startseite {
  height: auto;
  margin: 0 1em;
}

#main .menu_startseite ul {
  text-align: center;
  margin-left: -20px;
}

#main .menu_startseite ul li {
  float: none;
  display: inline-block;
}

.menu_startseite li a, .menu_startseite li a:hover {
  bottom: 0;
  left: 0;
}

/* Sprachumschalter */
ul.langmnu li {
  background: url("../images/down.png") no-repeat 105px 12px;
  padding-top: 5px;
  padding-bottom: 5px;
}

ul.langmnu .NO.SPC {
  padding: 5px 0;
}

}


@media screen and (max-width: 960px){

#top,
#main{ width: 100%; }


#infotext{ padding: 0; margin: 0 20px; }

/* Slider Startseite */
/*.imagecycle-nivo_c6{ max-width: 940px; width: 100% !important; height: auto; }*/
#frontpage #featured { width: 100%; height: auto; background:#fff; z-index: 3;}
.tx-imagecycle-pi3{ width: 100% !important; height: auto; }
.tx-imagecycle-pi3-images{ background-size: cover !important; background-repeat: round !important; }
.nivo-imageLink{ width: 100%; height: auto; }
}

/* @media screen and (max-width: 940px){ */
@media screen and (max-width: 975px){




.TeaserBox .csc-teaser-small div.csc-textpic-center .csc-textpic-center-outer { float: none; right: auto; }
.TeaserBox .csc-teaser-small div.csc-textpic-center .csc-textpic-center-inner { float: none; right: auto; }

h2{ padding: 6px 0; }
/* p { padding: 0; } */
#head{ z-index: 9999; }
body{ font-size: 16px; line-height: 20px; }
#infotext h2{ font-size: 16px; }
.fa-angle-double-left:before{ display: table; margin: -6px 0 0 0; }

/*.offside-js--init{ overflow-x: visible !important; }*/
.wrapper{ display: block; background: #fff; }

body.anfahrt #main{ display: inline; }
/*
#featured { padding: 0; margin: 0; }
*/

#main{ padding: 0 1.250em; display: block; box-sizing: border-box; z-index: 1; }
#frontpage #main{ padding: 0px; }

/* Lightbox 
#fancybox-wrap{ height: auto !important; left: 15px !important; padding: 0px !important; margin: 0 auto; }
#fancybox-outer{ width: 100% !important; height: 100% !important; }
#fancybox-content{ width: 100% !important; height: auto !important; border: none !important; padding: 10px; }
#fancybox-content div{ width: 99% !important; height: 100% !important; }
#fancybox-content div object{ width: 100% !important; height: 100% !important; }
#fancybox-content div object embed{ width: 100% !important; height: auto !important; }
*/

.zipsearch-result-entry { padding-right: 0; }



/* Slider/Kopfbild */
#featured div.csc-textpic-center .csc-textpic-center-outer{ right: auto; float: none; }
#featured div.csc-textpic-center .csc-textpic-center-inner{ position: relative; float: none; right: auto; }
#featured div.csc-textpic div.csc-textpic-imagerow { overflow: visible; width: 100%; height: auto; max-width: 940px; display: -webkit-box; }
#featured div.csc-textpic-imagecolumn, td.csc-textpic-imagecolumn .csc-textpic-image{ width: 24%; height: auto; }





/* Sidebar */
#sidebar{ display: none; }

/* Content Bereich */
#content{ width: 100%; overflow: visible; float: none; }
.fullwidth #content{ max-width: 940px; width: 100%; }

/* Content Startseite */
/*#main .menu_startseite ul li:nth-Child(4) { margin: 30px 20px 0 0 !important; }*/
.menu_startseite li{ width: 170px; }

/* Footer */
#footer{ width: 80%; padding: 20px; margin: 0; }
#footer .box.box_mini:nth-child(1),
#footer .box.box_mini:nth-child(2),
#footer .box.box_mini:nth-child(3){ display: none; }

#senior_group{ left: 0px !important; right: auto !important; position: relative; }
#senior_group a{ left: 0px !important; }

#footer #senior_group { float: none !important; bottom: -66px; }

#footer .box.box_mini:nth-child(4){ margin-right: 80px; }
}


@media screen and (max-width: 767px){
/* Content Startseite */
  #main .menu_startseite ul li:nth-Child(4) { margin: 30px 20px 0 0 !important; }
}

@media screen and (max-width: 760px){
  .TeaserBox .csc-teaser-small{ width: 50%; }
  .ui-accordion-content .csc-teaser-small { width: 50% !important; }
  .TeaserBox .csc-teaser-small:nth-child(3n+4){ clear: none; }
  .TeaserBox .csc-teaser-small:nth-child(n+3){ margin-top: 15px; }
  .TeaserBox .csc-teaser-small:nth-child(2n+3){ clear: both; }
  .TeaserBox .csc-teaser-big:nth-child(n+2){ margin-top: 20px; }
  #main .TeaserBox .csc-teaser-small div.csc-textpic .csc-textpic-imagewrap img { width: 100%; height: auto; max-width: 260px !important; }
  #main .ui-accordion-content .TeaserBox .csc-teaser-small div.csc-textpic .csc-textpic-imagewrap img { max-width: 220px !important; }
}

@media screen and (max-width: 723px){

/* Text/Bild-Datensatz */
#main div.csc-textpic-intext-right .csc-textpic-imagewrap{ width: 100%; height: auto; }
#main div.csc-textpic .csc-textpic-imagewrap img{ width: 100%; height: auto; margin: 20px 0; max-width: 350px;/* Ändert man den Wert 350px, dann ändern sich auch die big Boxen*/  }

#main .TeaserBox div.csc-textpic .csc-textpic-imagewrap img { margin: 0; }


/*
.csc-teaser-small:nth-child(2n){ clear: both; }
.csc-teaser-small:nth-child(3n+5){ clear: none; }
*/
/*body.produkte .csc-teaser-small:nth-child(3n+4){ clear: both !important; }*/
/*
body.produkte .csc-teaser-small:nth-child(3n+4){ clear: none !important; }
body.produkte .csc-teaser-small:nth-child(3n+6){ clear: none !important; }
body.produkte .csc-teaser-small:nth-child(3n+5){ clear: both; }
*/
/*
.box-teaser:nth-child(4){ clear: both; margin-right: 12px; }
.box-teaser:nth-child(2n+3){ clear: both; }
.box-teaser:nth-child(3n+3){ clear: none; }
.box-teaser.csc-teaser-small:nth-child(3n+3){ clear: none; }
*/

}

@media screen and (max-width: 586px){
/* Content Startseite */
#main .menu_startseite ul li:nth-Child(3) { margin: 30px 20px 0 0 !important; }
}

@media screen and (max-width: 520px){
  .TeaserBox .csc-teaser-small{ width: 100%; }
  .ui-accordion-content .csc-teaser-small { width: 100% !important; }
  .TeaserBox .csc-teaser-small:nth-child(n+2){ margin-top: 10px; }
}

@media screen and (max-width: 396px){
/* Content Startseite */
#main .menu_startseite ul li:nth-Child(2) { margin: 30px 20px 0 0 !important; }
}


@media (max-width: 589px) {

  #language {
    position: absolute;
    top: 1.25em;
    right: 0;
  }

}

@media (min-width: 590px) and (max-width: 975px) {

  #language {
    position: absolute;
    bottom: -1.25em;
    right: 0;
    padding-bottom: 0!important;
  }

}




@media (max-width: 410px) {

  #main .menu_startseite ul li {
    display: block;
    margin: 0 auto;
  }

  #main .menu_startseite ul {
    text-align: center;
    margin-left: -50px;
  }

  #main .menu_startseite ul li:nth-Child(2),
  #main .menu_startseite ul li:nth-Child(3),
  #main .menu_startseite ul li:nth-Child(4) {
    margin: 30px auto 0 !important;
  }

}
