:root {
  --bodyFontSize: 1rem;
  --bodyFontColor: #000000;
  --primaryFontColor: #ef7800;
  --primaryBackground: #ef7800;
  --primarySvgFill: #ef7800;
  --menuBackground: rgba(239,120,0, 0.9);
  --primaryFont: 'Weidmueller';
  --secondaryFont: 'Weidmueller';
  --secondaryFont: 'Weidmueller';/*Exo 2*/
  --logoWidth: 275px;
  --shopWidth: 91em;
  --secondaryFontWeight: 800;
  --secondaryItalic: normal;
}


  /* Startseite Nivo Controllfarbe unter den Slidern */
  .theme-default .nivo-controlNav a.active {background: var(--primarySvgFill)!important;}

  /* Artikel download Button in der Artikelansicht */
  .cs-newPriceRow svg path { fill: var(--primarySvgFill);}

  /* award */
  .cs-articleAwards .cs-awardItem .cs-awardTooltip {}
  .cs-articleAwards .cs-awardItem {position: relative;}
  .cs-articleAwards .cs-awardItem .cs-awardTooltip {position: absolute;background: #f2f2f2;padding: 1em;display: none;width: 350px;text-align: center;line-height: 20px;bottom: 77px;}
  .cs-articleAwards .cs-awardItem:hover .cs-awardTooltip {display: block;transform: translate(-47%);}
  .cs-articleAwards .cs-awardItem .cs-awardTooltip h4 {margin-top: 10px;}
  .cs-articleAwards .cs-awardItem:hover .cs-awardTooltip:before {content: '';width: 0;height: 0;border-style: solid;border-width: 30px 25px 0 25px;border-color: #f2f2f2 transparent transparent transparent;bottom: -30px;position: fixed;left: 45%;}
  .cs-articleDetail .cs-articleAwards .cs-awardItem .cs-awardTooltip,
  .cs-startseitenArtikel .cs-articleAwards .cs-awardItem .cs-awardTooltip {background: #fff;}
  .cs-articleDetail .cs-awardItem:hover .cs-awardTooltip:before,
  .cs-startseitenArtikel .cs-awardItem:hover .cs-awardTooltip:before {border-color: #fff transparent transparent transparent;}
  article.cs-articlePreview .cs-awardItem:hover .cs-awardTooltip:before {bottom: -25px;}
  article.cs-articlePreview .cs-articleAwards .cs-awardItem .cs-awardTooltip {bottom: 88px;}

  .cs-wklayerCrosselling article.cs-articlePreview .cs-articleAwards .cs-awardItem:hover .cs-awardTooltip {display: block;transform: translate(-2%);}
  .cs-wklayerCrosselling article.cs-articlePreview .cs-awardItem:hover .cs-awardTooltip:before {bottom: -25px;position: absolute;left: 0;}
  .cs-wklayerCrosselling article.cs-articlePreview:nth-of-type(2n) .cs-articleAwards .cs-awardItem:hover .cs-awardTooltip {display: block;transform: translate(-30%);}
  .cs-wklayerCrosselling article.cs-articlePreview:nth-of-type(2n) .cs-articleAwards .cs-awardItem:hover .cs-awardTooltip:before {left: 94px;}

  html body.cs-body .ui-dialog {max-height: 100vh;overflow: hidden;font-family: 'Weidmueller' !important;}
  .cs-wklayerCrosselling {overflow-y: scroll;overflow-x: hidden;padding-bottom: 0em;}
  .cs-wklayerCrosselling .cs-wklayerCrossellingRow.cs-flex.cs-flexWrap {max-height: 555px;}
  .wkAddLayer .cs-addArticleRow {margin-bottom: 1em;}
  .cs-wklayerCrosselling .cs-wklayerCrossellingHeader {border-top: 0px solid #dadadd;}


  /* 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: #ef7800;}
  .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: #f2f2f2;}
  .cs-articleRightBox .cs-blockPriceVpeLeft {margin-right: 4px;}
  .cs-articleDetail .cs-duration {margin: 0;margin-right: 15px;}
  body .cs-articleDetail .cs-greyBox {background: #f2f2f2;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: #f2f2f2;}
  .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;}



  /* badges */
  .cs-badgesBox .badgeGreen   {background: #ef7700;color: #f1eaea;font-family: var(--secondaryFont);text-transform: uppercase;font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}
  .cs-badgesBox .badgeYellow  {background: #ef7700;color: #fff;font-family: var(--secondaryFont);text-transform: uppercase;font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}

  html body .cs-demandProgress {background: #ef7800;}

  .cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {color: #ef7800;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li.activeRub a span {color: #111;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-svgIcon path {fill: #ef7800;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li.activeRub .cs-svgIcon path {fill: #111;}
  html body .cs-startText h1 {color: #ef7800;}
  h2.cs-betHeading,
  h3.cs-siteHeading {text-align: left;}
  h2.cs-betHeading span,
  h3.cs-siteHeading span {padding: 0;}


  /* demand articles */
  .cs-demandContainer {background: #d8d8d8;width: 100%;height: 40px;margin-bottom: 5em;position: relative;}
  .cs-demandContainer .cs-demandArrows {display: flex;justify-content: space-around;position: absolute;width: 100%;bottom: -40px;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity {position: relative;text-align: right;top: -49px;position: absolute;left: 0;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity svg {max-width: 40px;position: relative;right: -18px;top: 5px;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity .cs-demandQuantAb {position: relative;top: -13px;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity .cs-demandQuantPrice {position: relative;top: -21px;font-weight: 800;font-size: 20px;}
  .cs-demandContainer .cs-extraWidth {min-width: 100px;}
  .cs-demandBox {margin: 3em 0 4em 0;}
  .cs-demandProgress {background: #ef7800;position: absolute;top: 0;height: 40px;width: 100px;color: #fff;display: flex;align-items: center;justify-content: right;padding-right: 1em;font-weight: 500;text-transform: uppercase;}
  .cs-demandNextStep {font-size: 19px;font-weight: 600;line-height: 25px;position: relative;top: 13px;}
  .cs-greyHr {width: 100%;background: #d8d8d8;height: 1px;margin: 24px 0;}
  .cs-demandProgressBar {
    background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    -webkit-animation: cs-progressBar 2s linear infinite;
    -o-animation: cs-progressBar 2s linear infinite;
    animation: cs-progressBar 2s linear infinite;
  }
  @-webkit-keyframes cs-progressBar {
    0% {
      background-position: 0 40px;
    }
    100% {
      background-position: 0 0;
    }
  }

  @-moz-keyframes cs-progressBar {
    0% {
      background-position: 0 40px;
    }
    100% {
      background-position: 0 0;
    }
  }

}





/* ------------------------------------------------------------- MASTER ---------------------------------------------------------------- */


/* 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 */
}

/* 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;
}

/* 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 */
}