.artikel_kopf_artikel { font-weight:600; font-size:small;} 

.artikel_inhalt_artikel { font-size:small;} 

.artikel_master_div { padding: 10px; }

.artikel_beschreibung_div { padding: 10px; }

.modal {
    border: solid 1px #000;
    position: relative;
    background-color: #fff;
    z-index: 100000;
}

.tabellen_felder {
	    height: 28px;
	}

.w3-orange:hover {
  background: rgb(206, 94, 2) !important;
  color: #fff !important;
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -ms-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

.w3-padding {
    padding: 3px 4px!important;
}
.w3-input {
    padding: 2px!important;
    min-height: 23px;
}
.w3-margin {
    margin: 6px!important;
}

#gefahrhw {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-boxorient: vertical;
}

#kurzlinks {
    display: flex;
    justify-content: space-between;
    padding: 0 !important;
    border: 0 !important;
    margin-bottom: 12px;
}

#kurzlinks a {
    display: block;
    background: #ff9422;
    padding: 5px;
    text-decoration: none;
    width: 32%;
    text-align: center;
}

.editor_kopfzeile {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    background: #c7c7c7;
    position: sticky;
    top: 0;
    z-index: 500;
}

.head_links {
    position: sticky;
    top: 0px;
    z-index: 500;
    background: #c7c7c7;
    padding-top: 15px;
    padding-bottom: 15px;
}

.editor_kopfzeile .w3-button {
  padding: 9px 16px;
}

.editor_kopfzeile .w3-button:hover {
  filter: brightness(0.8);
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-top: 0 !important;
  margin-top: 1px;
  margin-left: 1px;
  border-right: 1px solid white;
  margin-right: -1px;
}

#prod_button_update, #prod_button_transfer, #prod_button_loeschen, #prod_button_variante_loeschen {
  &+div {
    .info {
      position: relative;
      margin: 9px 0 0 5px;
      display: block;
    }
  }
}

.overflow-unset.w3-button:hover {
  filter: brightness(1) !important;
  background: rgb(160, 160, 160) !important;
  border-right: 1px solid #c7c7c7;
}

.w3-col.s25 {
    width: 24.5%;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}
.justify-content-end {
  justify-content: end;
}
.justify-content-center {
  justify-content: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.p10 {
  padding: 10px;
}

.p20 {
  padding: 20px;
}

.mt-5 {
  margin-top: 5px
}

.mt-10 {
    margin-top: 10px
}

.mt-20 {
    margin-top: 20px
}

.mb-5 {
    margin-bottom: 5px
}

.mb-10 {
  margin-bottom: 10px
}

.mb-20 {
  margin-bottom: 20px
}

.w49 {
    width: 49%;
}

.w100 {
  width: 100%;
}

#links {
    background: #c7c7c7;
    padding: 0 8px 8px 8px;
    margin-bottom: 65px;
}

#rechts {
    background: #e3e3e3;
    width: 65.9%;
}

#rechts > div {
    padding: 0 !important
}

.zs-rechts {
    background: #e3e3e3;
    padding: 0 10px 10px 10px;
}

.produktpflege_editor,.produktpflege_editor_language, .prod_gefahrenhw, .prod_pflichttext, .prod_hinweise, .prod_hinweise_hersteller, .prod_produkt_info, .prod_gefahrenhw_language {
    background: #fff
}

select {
    border-radius: 0;
    border: 0;
    height: 23px;
}

.prod_mwst {
  border: 1px solid #8f8f9d !important;
  margin-top: 6px;
  position: relative;
}

.variante_eigenschaft {
  border: 1px solid #ccc !important
}

.prod_zielshop_option {
  padding: 6px 0;
}
.prod_zielshop_schalter, .prod_status, .eigenschaften-checks input, .prod_hauptbildfehlt, .prod_artikel_einstellen_schalter {
  margin-right: 5px !important;
  position: relative;
  top: -2px;
}

.prod_hauptbildfehlt_option {
  width: 19% !important;
  margin-top: -4px !important;
}

#lade_lieferanten_bilder {
  margin: 0px 30px;
}

.prod_hauptbildfehlt {
  margin: 5px auto !important;
  float: none !important;
}

.container {
  /* background: #f2f2f2;border: 1px solid #e3e3e3; */
}

.prod_eigenschaften_auswahl {
  width: 200% !important;
  position: relative;
  z-index: 1;
}

.eigenschaften-checks {
  input {
    margin: 9 auto 20px auto !important;
  }
}

.validation_error {
  float: right;
  background: #f1f1f1;
  padding: 0 3px;
  position: relative;
  top: -1px;
}

#google_kategorien {
    display: block;
    background: #ff9422;
    padding: 5px;
    text-decoration: none;
    width: 100%;
    text-align: center;
  }

  textarea, textarea.w3-input, .produktpflege_editor, .prod_gefahrenhw, .prod_pflichttext, .prod_hinweise, .prod_hinweise_hersteller, .prod_produkt_info, .prod_kurzbeschreibung {
    padding: 5px 8px !important;
  }

  .prod_name {
    padding-left:  8px !important;
    padding-right:  8px !important;
    border-right: 0 !important;

    &.disabled {
      border-right: 1px solid #ccc !important;
    }
  }

  .uni-suche {
    background: #959595;
    padding: 0 12px 12px 12px;
    margin-top: 15px;
    overflow-y: auto;
    text-align: left;
  }

  .prod_kategorie_select {
    padding: 0;
    border: 1px solid #a8a7a7;
    text-align: left;
  }

  .trennung {
    clear: both;display: grid;grid-template-columns: repeat(2, 1fr); border-top: 2px solid #438a8a;border-left: 2px solid #438a8a;border-right: 2px solid #438a8a;border-bottom: 2px solid #438a8a;
  }
  
.trennung > div {
  padding-left: 4px;
  padding-right: 0px;
}
.trennung > div:nth-child(odd) {
  border-right: 3px solid #438a8a;
}

  .master_div.md1 {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #AA0000;
    margin-bottom: 0;
  }

  .master_div.md1 > div, .master_div.md1 > a {
    background: #fff;
    margin: 0 8px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #kat_produktlangtext {
    padding: 10px !important;
    margin: 0 !important;
    border: 1px solid #5ea45e !important
  }

  .kat_feld_container > div {
    padding-left: 0 !important;
  }

  #san6 .w3-button, #san6 .w3-container,
  #bl .w3-button, #bl .w3-container {
    padding-left: 0 !important;
  }

  #san6 .w3-red {
    padding-left: 5px !important
  }

  #san6_ausfuehrung {
    text-align: center;
    padding: 0;
  }

  #san6 .w3-border-bottom {
    border-bottom: 1px solid #76c6c6 !important;
  }

  #lauerliste .w3-container {
    padding-left: 0 !important;
  }

  #oben {
    background: #c7c7c7 !important;
    display: flex;
  }

  #lauer_suche, #lauerliste .w3-button.w3-input.w3-border-right.w3-yellow {
    height: 28px;
  }

  #prod_button_variante_prev, #prod_button_variante_next {
    border: 0 !important
  }

  #kat_content .w3-border-bottom {
    border-bottom: 1px solid #5ea45e !important;
  }

  #lauerliste .w3-border-bottom {
    border-bottom: 1px solid #b78181 !important;
  }


  #lieferantenkatalog > div:first-child,
  #lauerliste > div:first-child {
    border: 0 !important;
    margin-bottom: 15px;
  }

  #lieferant_name {
    border-bottom: 0 !important;
    height: 27px;
    line-height: 1.9;
  }

.variante_kopf {
  display: none;
}

.prod_variante_container .w3-padding {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.prod_variante_container .w3-button {
  height: 24px;
  &:not(button) {
    border-left: 0  !important;
  }
}

input[disabled="disabled"],
div[title="preis_div"],
div[title="preis_brutto_div"]
{
  background: #ececec;
  color: gray
}

.prod_lieferzeitdatum {
  border: 0;
  background: #fff !important;
  margin-left: 5px;
}

.prod_varianten_tabs > div {
  border-left: 1px solid #e3e3e3 !important;
  border-bottom: 1px solid #e3e3e3 !important;
}

.varianten_eigenschaften_werte_container .validation_error {
  top: 0;
  height: 26px;
}
.eigenschaften_wert input {
  border: 0 !important;
  height: 18px !important;
  padding: 0;
  min-height: auto;
}

.w3-rest {
  overflow: unset;
}

/* Tabs */

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent, .tabcontent3 {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  background: #ccc;
  padding: 50px;
} 

.tabcontent, .tabcontent3 {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal */

.w3-modal {
  padding: 0;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.5);
  z-index: 500000;
}

.w3-modal-dialog {
  box-shadow: 0 0 50px rgba(0,0,0,.4);
}

#modal_btn {
  margin: 22px auto;
  display: block;
  float: none;
  border: 0 !important;
}

.w3-modal-content {
  width: 600px !important;
}

.w3-modal-content > div {
  border-radius: 5px;
}

.w3-modal-content h3 {
  padding: 10px 25px 10px 25px !important;
  font-size: inherit !important;
  font-weight: bold !important;
  color: #000 !important;
  background: #eaeaea !important;
  margin: 10px 10px 40px 10px !important;
  border-radius: 5px !important;
}

.closeModal {
  margin: 40px auto;
  display: block;
  float: none;
}

#bezugsquelle_lieferant {
  position: absolute;
  height: 27px;
}

/* Preis-Dashboard */

.preisdashboard hr {
  display: block;
clear: both;
border-top: 1px solid #000;
margin: 0;
}

.preisdashboard .zeile .w3-padding {
  padding: 15px !important
}
.preisdashboard .zeile .w3-border-right {
  border-right: 2px solid #ccc !important;
}

.preisdashboard .zeile input[type="text"] {
  width: 100%;
  border-radius: 0;
  text-align: center;
}

.preisdashboard .save {
  margin-top: 20px;
}

.preisdashboard .zeile {
  padding-left: 30px;
  display: flex;
  margin-bottom: 25px;
  background-color: #e8e8e8;
}

.preisdashboard input {
  border: 0 !important;
  text-align: center;
}

.preisdashboard .zeile > div {
  align-items: center;
  display: flex;
}

.preisdashboard .cat {
  width: 100%;
}

.preisdashboard .cat label span {
text-align: center;
padding: 3px;
display: block;
margin: 5px 0;
}
.preisdashboard .cat label.disabled span {
  border: 1px solid #d3d3d3;
  background: #d3d3d3;
  color:#8d8d8d
}

.preisdashboard .cat label input {
position: absolute;
display: none;
color: #fff !important;
}
/* selects all of the text within the input element and changes the color of the text */
.preisdashboard .cat label input + span {
  color: #000;
  background: #fff;
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -ms-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}
.preisdashboard .cat label input + span:hover {
  cursor: pointer;
}

/* This will declare how a selected input will look giving generic properties */
.preisdashboard .cat input:checked + span {
  color: #ffffff;
}
.preisdashboard .cat input:checked + span{ background-color: green;}

.preisdashboard input[type="submit"] {
  border:0;
  border-radius: 0;
  padding: 5px 10px;
  cursor: pointer;
}
.prod_kurzbeschreibung ul,
.prod_beschreibung ul {
  padding-left: 15px !important;
} 

#center_display {
  position: fixed !important;
  top: 50px;
  left: 50px;
  z-index: 500000000;
  border: 20px solid #000;
  max-width: 700px;
}

#gallerie img {
  height: 100px;
}

/* Sprache */

.deutsch input[disabled=""]:not(input[type="number"],#sicherheitsdatenblatt,#betriebsanweisung),.deutsch textarea[disabled=""]:not(.everytimeDisabled), .deutsch .contenteditable.disabled, .deutsch .prod_gefahrenhw.disabled, .prod_pflichttext.disabled, .prod_hinweise.disabled, .prod_hinweise_hersteller.disabled, .prod_produkt_info.disabled, .deutsch .prod_beschreibung.disabled {
  background: rgb(223, 239, 255) !important;  
}
.deutsch input[disabled=""].disabledStatus, .deutsch textarea[disabled=""].disabledStatus {
  background: #fff !important;
  -webkit-user-select: none; /* Für Webkit-basierte Browser (Chrome, Safari) */
    -moz-user-select: none; /* Für Firefox */
    -ms-user-select: none; /* Für Microsoft Edge */
    user-select: none; /* Standard */
}
.deutsch input[disabled=""]#sicherheitsdatenblatt, .deutsch input[disabled=""]#betriebsanweisung {
  color: #b8b8b8;
}
#prod_editor .deutsch .zusatzartikel input[disabled=""] {
  background: inherit !important;  
}

.deutsch .disabled, .deutsch input[disabled=""]:not(input[type="number"]).everytimeDisabled, .deutsch .disabled.everytimeDisabled {
  color: gray !important;
  background: #ececec !important;
}
.deutsch b.disabled, .deutsch .validation_error.disabled, .deutsch .w3-button.disabled {
  opacity: 0.5;
  background-color: transparent !important;
  cursor: default !important;
  pointer-events: none !important;
}
.deutsch button[disabled], .deutsch .w3-button.disabled, .deutsch.disabled .w3-check {
  background: rgb(242, 242, 242) !important;
  cursor: default !important;
  pointer-events: none !important;
}
.pointer-events-none {
  pointer-events: none !important;;
  opacity: 0.5;
  background: rgb(242, 242, 242) !important;
}

.deutsch.disabled, .deutsch.disabled .variante_eigenschaft, .deutsch input[disabled=""] + div, .deutsch.disabled select {
  color: gray !important;
}


.deutsch.disabled .eigenschaften_wert_entferner, .deutsch.disabled .variante_eigenschaft_bezeichnung, .deutsch.disabled .variante_eigenschaft_bezeichnung_language {
  background: rgb(242, 242, 242) !important;
  cursor: default !important;
  pointer-events: none !important;
  color: gray !important
}

.deutsch.disabled #lade_lieferanten_bilder {
  background-color: #ccc !important;
  cursor: default !important;
}

.deutsch.disabled #droparea, .deutsch.disabled .variante_droparea {
  opacity: 0.5
}

.deutsch.disabled .eigenschaften_wert.language {
  color: #000 !important;
}

/* Gefahrensymbole */

#gefahrenModal {
  .w3-modal-content {
    width: 70% !important;
  }

  img {
    width: 90px;
    padding: 3px;
  }

  .d-flex.choosed img {
    border: 4px solid #7cd07c;
    background: #7cd07c;
    border-radius: 50px;
  }
  .gefahren-wrapper { 
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 30px;
  }
  .gefahren-wrapper .d-flex {
    cursor: pointer;
    padding: 10px;
    -ms-user-select: None;
    -moz-user-select: None;
    -webkit-user-select: None;
    user-select: None; 
  }
  .gefahren-wrapper .d-flex:hover {
    background: rgb(222, 247, 177);
  }
  .gefahren-wrapper .d-flex > div {
    text-align: left;
  }
  .gefahren-wrapper .d-flex > div:first-child {
    margin-right: 10px
  }
  .gefahren-wrapper .d-flex:hover {
    background: rgb(222, 247, 177);
  }
}

#gefahrensymbole_choosed {
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 30px;
  display: grid;
  margin-bottom: 50px;
  margin-top: 10px;

  img {
    width: 110px;
    margin-right: 7px;
    margin-top: 1px;
  }
}

/* Droparea */

.upload-wrapper {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px !important;

  button {
    padding: 5px 7px;
    border-left: 1px solid #ccc !important;
    display: block;
  }

  input {
    padding: 13px 0;

    &::file-selector-button {
      padding: 3px 7px;
      border: 1px solid #ccc !important;
      border-radius: 0px;
    }    
  }
  .fileNameContainer {
    position: absolute;
    left: 102px;
    top: 15px;
    background: #f2f2f2;
    width: 1000px;
  }

  > div {
    width: 50%;
    overflow: hidden;
  }

  /* Stil für die benutzerdefinierte Anzeige des Dateinamens */
  .fileNameDisplay {
      display: inline-block;
      width: 200px; /* Setzen Sie die Breite nach Bedarf */
      overflow: hidden;
      text-overflow: ellipsis; /* Falls der Text die Breite überschreitet */
      white-space: nowrap; /* Verhindert das Umbruch des Textes */
  }
}

/* Zusatzartikel */

.zusatzartikel {
  > div > b {
    margin-bottom: 16px;
    display: block;
  }

  .zusatz-head {
    margin-bottom: 11px;
  }

  .d-flex {

    padding: 2px 0;

    > div:first-child {
      margin-right: 5px;
      margin-top: 2px
    }
  }
}

/* Sprechstundenbedarf Bundesländer */

#bl {
  border-top: 20px solid #c7c7c7;

  .headline-bl {
    font-size: 18px;
    margin-bottom: 10px;
    padding: 7px 7px;
    background-color: #76c6c6;
  }
}

/* Bearbeitungsstatus */

#statusBearbeitungHauptversion_switch, #statusBearbeitungEnglisch_switch {
  color: #fff;
}

.tooltip {
  display: none;
  pointer-events: none;
  position: sticky;
  background-color: #cc0202;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  z-index: 9999;
  left: 0;
  top: 0;
  text-align: center;
  padding: 18px;
  font-weight: bold;
}

.info {
  position: absolute;
  display: inline;
  margin-left: 5px;
  margin-top: 1px;
  
  .info-icon {
    cursor: pointer;
    border-radius: 15px;
    width: 15px;
    height: 15px;
    display: flex;
    background: #000;

    &.white {
      background: #fff;

      > span {
        color: #000;
      }
    }
    justify-content: center;
    align-items: center;

    > span {      
      color:#fff;
      font-weight: bold;
    }
  }

  .popup {
    z-index: 50000000;
    width: 333px;

    &.prod_name_info {
      width: 833px;
    }
    &.ebayTitel_info {
      width: 833px;
    }
    &.amazonTitel_info {
      width: 643px;
    }
    &.produktbeschreibung_info {
      width: 833px;
    }
    &.loeschen_info {
      right: -2px !important;
    }
    &.loeschenVariante_info {
      right: -2px !important;
    }

    display: none;
    position: absolute;
    top: -8px;
    left: -8px;
    box-shadow: 0 0 20px rgba(0,0,0,.4);

    .popup-content {
      font-family: Verdana, Geneva, Tahoma, sans-serif;
      font-weight: normal;
      background: #fff;
      padding: 20px 20px 20px 40px; 
      color: #000 !important;
      white-space: wrap;
      text-align: left;

      &.loeschen_info {
        padding: 7px 27px 7px 13px !important;
      }

      ol, ul {
        padding-left: 15px;
      }

      ul li, ol li {
          margin-bottom: 10px;
      }
    }

    .close-btn {
      position: absolute;
      top: 0px;
      left: 7px;
      cursor: pointer;
      font-size: 20px;
      font-weight: bold;
      color: #000
    }
  }

  &.rechts {
    .popup {
      right: -8px;
      left: unset;

      .popup-content {
        padding: 20px 40px 20px 20px
      }
    }
    .close-btn {
      right: 7px;
      left: unset;
    }
  }
  
}

.overflow-unset {
  overflow: unset !important;
}

.prod_variante_container .info.non-b {
  top: 3px;
  left: 35px;
  position: absolute;
}

/* Aktive Kategorie */

.prod_kategorie_aktiv {
  margin-bottom: 15px; 

  > div {
    border-bottom: 1px solid gray;
    padding: 5px 0;

    &:last-child {
      border-bottom: 0
    }
  }
}

.disabled-element {
  opacity: 0.5;
  cursor: not-allowed;
}

.right-deactivated {
  opacity: 0.5;
  position: relative;
  cursor: not-allowed;
  pointer-events: auto; 
}

.right-deactivated:hover::after {
  content: "Sie haben kein Recht"; 
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  white-space: nowrap;
  font-size: 12px;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}


.Projekt-edit-btn-deactivated {
  opacity: 0.5;
  position: relative;
  cursor: not-allowed;
  pointer-events: auto; 
}
.Projekt-edit-btn-deactivated:hover::after {
  content: "Das Projekt hat keine umgesetzten Maßnahmen, daher konnte es nicht abgeschlossen werden."; 
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%);
  background-color: #333!important;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  white-space: nowrap;
  font-size: 12px;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
