:root {
  --bodyFontSize: 1rem;
  --bodyFontColor: #000000;
  --primaryFontColor: #014694;
  --primaryBackground: #014694;
  --primarySvgFill: #014694;
  --menuBackground: rgba(1, 70, 148, 0.9);
  --primaryFont: 'Roboto';
  --secondaryFont: 'Roboto';
  --secondaryFont: 'Roboto';/*Exo 2*/
  --logoWidth: 230px;
  --shopWidth: 91em;
  --secondaryFontWeight: 700;
  --secondaryItalic: normal;
}

/* menu */
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer {background: var(--menuBackground);border: 0;color: #fff !important;padding: 2em;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer a {color: #fff !important;font-size: 1.1rem;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer .cs-megamenu {font-size: 1.1rem;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer .cs-megamenu > div > ul {display: flex;flex-wrap: wrap;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer .cs-megamenu > div > ul > li {width: calc(100%/6);}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {text-transform: uppercase;padding: 1em 28px 1em 0;font-family: var(--secondaryFont);font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li:hover > a {color: var(--primaryFontColor);}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li:hover svg path {fill: var(--primarySvgFill);}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer ul li ul li a {font-size: 1.1rem;padding-left: 1em;}
  html body .cs-categoriesBox {margin-bottom: 2em !important;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer a {padding: 1em 1em;}
  .cs-categoriesBox {background: #ffffff !important;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li.activeRub > a > span {color: var(--primaryFontColor);}
/* Code damit kein Umbruch entseht wegen den vielen Rubriken ( Größe der Schrift geändert) */
.cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {
  font-size: 0.85rem;

}

 .theme-default .swiper-pagination-bullet-active {background: #014694 !important;}


/* detail */
  .cs-articleDetail .cs-auszeichnungenItem {width: auto;}
  .cs-articlePictureBox .cs-addPicBox .cs-galleryImageBox {width: calc(100%/4 - 0.3em);max-height: none;}
  .cs-newDetailbox .cs-articleDetailMiddleBox .cs-articleRightBox {max-width: 45%;width: 100%;margin-left: 3%;}
  .cs-newDetailbox .cs-articleDetailMiddleBox .cs-articleLeftBox {max-width: 37%;}
  .cs-newDetailbox .cs-articleDetailMiddleBox .cs-articleRightBox h1 {font-family: var(--secondaryFont);font-size: 2.2rem;color: var(--primaryFontColor);font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}
  .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleRightBox .cs-inner {max-width: 87%;}
  .cs-articleDetail .cs-galleryContainer .cs-gallerySidebar .cs-galleryNavi {display: flex;}
  .cs-hr {width: 100%;background: var(--primaryBackground);height: 1px;margin: 24px 0;}
  #mengenEingabeContainer .cs-articleAmountBox svg {display: none;}
  #mengenEingabeContainer .cs-articleAmountBox input {width: 50px;}
  #mengenEingabeContainer .cs-articleAmountBox #wkmenge {text-align: center;margin-right: 5px;border-color: #00b2eb;}
  .cs-merklisteDetail input {display: none;}
  .cs-merklisteDetail svg {width: 2em;height: 2em;cursor: pointer;}
  .cs-merklisteDetail svg path {fill: var(--primarySvgFill);}
  .cs-newPriceRow {display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;margin-bottom: 10px;}
  .cs-newPriceRow svg {width: 2em;height: 2em;}
  .articlePriceBoxPrice {width: 45%;}
  .articlePriceBoxPrice .cs-priceFormat .price {font-family: var(--secondaryFont);font-size: 2.2rem;color: var(--primaryFontColor);font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}
  .cs-bestellButtons .cs-button1 {padding: 15px 1em;}
  .cs-newDetailbox {background: #e8e8e8;border-top: 2px solid var(--primaryFontColor);padding-bottom: 0;}
  .cs-newDetailbox .cs-articleDetailMiddleBox {max-width: var(--shopWidth);margin: 0 auto;justify-content: flex-start;}
  .cs-newDesc {padding-bottom: 0;}
  .cs-newDesc h4 {font-size: 21px;margin: 0;}
  .cs-newDesc p {margin: 0;}
  .cs-newBestand {display: flex;gap: 0;}
  .cs-newLiefer {display: flex;gap: 10px;font-weight: bold;}
  .cs-articleDetailTopBox {display: none;}
  .cs-inStock {color: #111;border-radius: 0;margin-bottom: 0;background: none;display: inline-block;font-size: initial;padding: 0;}
  .cs-newDetailbox .cs-articleAwards {margin-bottom: 1em;}
  .cs-newDetailbox .cs-graduation {margin: 1em 0 0 0;}
  .cs-newDetailbox .cs-graduation .cs-articleBlockBasePrice {font-size: inherit;margin-left: 0.3em;position: relative;top: 1px;}
  .cs-newDetailbox .cs-graduation .cs-price {font-weight: 600;}
  .blockPriceCalc {display: none;}
  #tabs .tabs span {font-size: 20px;}
  .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleRightBox {padding-top: 1em;max-width: 52%;background: #ffffff;}
  .cs-articleRightBox .cs-blockPriceVpeLeft {margin-right: 4px;}
  .cs-articleDetail .cs-duration {margin: 0;margin-right: 15px;}
  body .cs-articleDetail .cs-greyBox {background: #ffffff;position: absolute;height: 100%;width: 100vw;left: calc((-100vw + 1419px) / 2);top: 0;right: 0;z-index: -1;display: table;}
  .cs-articleDetail .cs-articleDetailMiddleBox {position: relative;background: #ffffff;}
  .cs-articleDetail .cs-articlePictureBox #cs-mainpicBox {width: 100%;}
  .cs-articleDetail .cs-newLiefer {display: none;}
  .cs-articleDetail .cs-newBestand.cs-onlyNumber {margin-left: 0;}
  .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleRightBox h1 {color: var(--primaryFontColor);height: auto;overflow: hidden;font-size: 2.3rem;}
  .cs-articleDetail .cs-detailIcons {display: flex;gap: 12px;}
  .cs-articleDetail .cs-detailIcons img {width: 30px;height: 30px;cursor: pointer;}

  .cs-articleDetail .cs-newContainer {display: flex;flex-wrap: wrap;}
  .cs-articleDetail .cs-newContainer > div {width: 50%;}
  .cs-articleDetail .cs-newContainer .cs-newContainerLeft.cs-markenLogo {text-align: right;}

  .cs-articleDetail .cs-articlePriceInfo {font-size: initial;text-decoration: none;}

  .cs-articleDetail .cs-executionBox {margin: 0;display: flex;flex-wrap: wrap;gap: 10px;margin: 0;}
  .cs-articleDetail .cs-executionBox .cs-execution {width: calc(50% - 5px);margin: 0;}
  .cs-articleDetail .cs-executionBox .cs-execution select {width: 100%;}

  .cs-newdetailTopBox {display: flex;flex-wrap: wrap;gap: 10px;}
  .cs-newdetailTopBox .cs-newExecutionBox {width: calc(60% - 5px);margin: 0;}
  .cs-newdetailTopBox #mengenEingabeContainer {width: calc(40% - 5px);margin: 0;gap: 10px;}
  .cs-newdetailTopBox #mengenEingabeContainer .cs-articleAmountBox {width: calc(30% - 5px);}
  .cs-newdetailTopBox #mengenEingabeContainer .cs-articleAmountBox input {width: 100%;}
  .cs-newdetailTopBox #mengenEingabeContainer .cs-bestellButtons {width: calc(70% - 5px);}
  html body .cs-articleDetail .cs-newdetailTopBox input,
  html body .cs-articleDetail .cs-newdetailTopBox select {padding: 10px;}
  html body .cs-articleDetail .cs-newdetailTopBox .cs-button1 {width: 100%;}

  .cs-articleDetail .cs-articleAwards {margin-bottom: 10px;}

  .cs-accessories, .cs-crossSelling {margin-bottom: 8em;}

  html body .blockPriceCalc {border-top: 0px solid #dadadd;}
  html body .nichtBestellbar {display: none;color: #ff4747;line-height: 36px;padding-left: 1em;}


header .cs-logo img {width: 230px;}
header .cs-headerContent {margin: 3em auto;padding: 0;margin-bottom: 3em;}
#mengenEingabeContainer .cs-articleAmountBox #wkmenge {border-color: var(--primaryFontColor);}
.cs-hr {background: var(--primaryFontColor);}
.cs-productIcons .cs-productRow .cs-productItem .cs-productButton a {background: #014694;color: #fff;font-size: 16px;padding: 10px 20px;display: inline-block;}
header .cs-logo {max-width: 205px;top: 1px;position: relative;}
header .cs-logo img {width: 205px;}

.cs-startseitenArtikel article.cs-articlePreview {display: none;}
.cs-startseitenArtikel article.cs-articlePreview:nth-child(-n+20) {display: block;}
.cs-startseitenArtikel .cs-readMore {text-align: center;background: #002f7d;margin: 4em auto 1em auto;max-width: 250px;}
.cs-startseitenArtikel .cs-readMore a {color: #fff;padding: 1em 0;display: inline-block;}

body.cs-body.cs-loginpagebody .cs-header img {max-width: 205px;}
article.cs-articlePreview .cs-previewBox .cs-informations .articleInfoBox {margin-right: 0;}

  /* main */
  .cs-logo {max-width: var(--logoWidth);}
  .cs-container,
  .cs-box {max-width: var(--shopWidth);}
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
  footer .cs-footerBox .cs-footerBoxHeader,
  footer .cs-footerNewsletterBox.heading,
  .ui-dialog .ui-dialog-title {font-family: var(--secondaryFont);text-transform: uppercase;font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}
  .cs-subtitle {display: none;}
  .cs-infoBox {background: #f6f6f6;}
  .cs-bannerRow {margin-top: 0em;}
  article.cs-articlePreview .cs-hoverlay {display: none !important;}
  .ui-button .ui-icon {filter: brightness(0) invert(1);}
  h2.cs-betHeading {margin: 0em 0 0em 0; display: none;}
  h2.cs-betHeading:before {height: 0px;}
  h3.cs-siteHeading:before {height: 0;}
  .cs-startseitenArtikel {background: #f2f2f2;padding: 3em 0 3em 0;margin-top: 3em;}
  h2.cs-betHeading span {background-color: rgba(0,0,0,0);}
  .cs-categoryView h1.categoryHeader {text-align: center;}

/* vorschalt */
body.cs-body.cs-loginpagebody .cs-wrapper .cs-lang {top: auto;position: relative;float: none;text-align: right;width: 100%;max-width: 100%;margin: 0;}
body.cs-body.cs-loginpagebody .cs-wrapper .cs-lang a {display: inline-block;}
body.cs-body.cs-loginpagebody .cs-wrapper .cs-lang img {max-width: 30px;margin-right: 13px;margin-top: 15px;}
body.cs-body.cs-loginpagebody .cs-header {
    display: flex;flex-direction: column-reverse;
    justify-content: right;
    flex-wrap: wrap;
}
body.cs-body.cs-loginpagebody .cs-header > div,
body.cs-body.cs-loginpagebody .cs-header > a {display: block;width: 100%;text-align: right;}

body.cs-body .cs-articleDetail .cs-duration {margin: 0;margin-right: 0;}
body.cs-body .cs-articleDetail .cs-newContainer > div {width: 70%;}

/*-------------------- CODE VOM MASTER -------------------*/

/* Schließen-Button bei "Ähnliche Artikel"*/
html body.cs-body .ui-dialog .ui-dialog-titlebar-close {
color: #ffffff !important;
display: flex;
align-items: center;
justify-content: center;
}


/* Code für die Scrollingbar damit sie angezeigt wird bei "Ähnliche Artikel" Fenster */
.cs-wklayerCrosselling {overflow-y: scroll;overflow-x: hidden;padding-bottom: 0em;/* Padding von 4em auf 0 reduziert*/}

/* Falls nötig: Inhalt setzen */
html body.cs-body .ui-dialog .ui-dialog-titlebar-close::before {
content: "×"; /* schönes X */
font-size: 28px;
color: #ffffff;
text-indent: 0; /* ::before bleibt sichtbar */
}

/* Artikel download Button in der Artikelansicht */
.cs-newPriceRow svg path { fill: var(--primarySvgFill);}

/* Artikelansicht Warenkorbanzeige auf gleiche höhe gesetzt */
  html body #mengenEingabeContainer .cs-articleAmountBox #wkmenge {border-color: var(--primaryFontColor);padding-bottom: 8px;}


/* "NEWSLETTER ABONNIEREN" auf gleicher höhe im Footer */
footer .cs-footerNewsletterBox.heading{
    font-family: var(--secondaryFont);
    text-transform: none;
    font-weight: var(--secondaryFontWeight);
    font-style: var(--secondaryItalic);
    margin-bottom: 19px;
}


/* Nachweis dropdown menü + buttons bei den Nachweispflichtigen Positionen in unser Style verändert */
.nachweis-eingabe-head-frontend {
    cursor: pointer;
    border: 1px solid #afafaf;
    display: inline-block;
    padding: 0.1em 0.6em;
    border-radius: 0px;
    background: #f7f7f7;
    margin-top: 1em;
}
.ui-button .ui-icon {
    background-image: none !important;
}
.nachweisOverviewFilterForm .cs-nachweisFilterRow button {
    display: block;
    margin: 1em 0 !important;
    padding: 0.3em 0.6em !important; /* Abstand */
    background-color: #f7f7f7 !important; /* Hintergrundfarbe */
    border: 1px solid #afafaf !important; /* Rand */
    font-size: 17px !important; /* Schriftgröße */
    text-align: left; /* Text links ausrichten */
    color: #000 !important; /* Textfarbe */
    font-family: Cambria, serif !important; 
    position: relative !important;
}
.nachweisOverviewFilterForm .cs-nachweisFilterRow button::before {
    content: "\e8cc"; /* Ersetze dies durch den Unicode deines Icons */
    font-family: cs; /* Stelle sicher, dass die Font-Family "cs" korrekt eingebunden ist */
    font-size: 1.2em;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;

    font-style: normal;
    font-weight: 400;
    speak: none;

    text-decoration: inherit;
    width: auto;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
}



/* Checkout boxen werden bei Auswahl in Firmenfarben angezeigt */
.checkoutStep4 .cs-paymentBox,.checkoutStep4 .cs-shippingBox {
    border: 1px solid #000;
    border-radius: 0.2em;
    margin-right: 1em;
    position: relative;
    margin-bottom: 0.5em;
}
.checkoutStep4 .cs-paymentBox.active:after, 
.checkoutStep4 .cs-shippingBox.active:after {
    content: "";
    display: none; /* Versteckt den Punkt */
}
.checkoutStep4 .cs-paymentBox.active, 
.checkoutStep4 .cs-shippingBox.active {
    border: 3px solid var(--primaryBackground) !important; /* Dynamische Umrandungsfarbe */
     /* Falls du abgerundete Ecken möchtest */
}