:root {
  --color-dark-blue: #375B9A;
  --color-medium-blue: #6184c3;
  --color-light-blue: #99bfd9;
  --color-green: #37B59A;
  --color-white: #ffffff;
  --color-gray: #f8f9fa;
  --color-light-gray: #F5F5F5;
  --color-gray-border: #ccc;
  --color-light-green: #f4fff4;
  --base-font-size:18px;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}


.header {
  font-family: 'TabletGothicNarrow', sans-serif ;
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 15px;
}

.logo-container img {
  max-height: 100px;
  margin-right: 20px;
}

#headline {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #4B484D;
  background-color: var(--color-white);
  padding: 10px;
  border-radius: 5px;
  border: none;
  border-top: 0px solid var(--color-dark-blue);
  border-bottom: 3px solid var(--color-dark-blue);
  cursor: default ;
}

#alphabetContainer {
    font-family: 'TabletGothicNarrow', sans-serif ;
    position: sticky;
  max-width: 100%;
  top: 10px;
  z-index: 9999;
  background-color: var(--color-white);
  padding: 5px 0;
  margin-bottom: 5px;
}

#alphabet {
  /* margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 8px; */
  font-family: 'TabletGothicNarrow', sans-serif ;
}

#alphabet button {
  font-weight: 300;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 14px;
  border: 1px solid var(--color-dark-blue);
  /* background-color: var(--color-white); */
  /*
  width: 40px;
  height: 30px;
  cursor: pointer;
  padding: 0; */
  font-family: 'TabletGothicNarrow', sans-serif ;
}

#alphabet button:hover {
  background-color: var(--color-white) !important;
  color: var(--color-dark-blue) !important;
  border: 1px solid var(--color-light-blue);
}

#alphabet button:disabled {
  border: 0.5px dashed var(--color-dark-blue) !important;
  color: var(--color-dark-blue) !important;
  /* background-color: transparent !important; */
  background-color: var(--color-light-gray) !important;
  cursor: not-allowed !important;
}

#alphabet button.active {
  /* background-color: var(--color-gray-border);
  border: 3px solid var(--color-white); */

  background-color: var(--color-dark-blue) !important;
  border: 2px solid var(--color-gray-border);
  color: var(--color-white) !important;
}

#alphabet button a {
  color: #4B484D ;
  /* text-decoration: none ; */
  /* font-size: 16px ; */
}

.card {
  background-color: var(--color-white);
  border: none ;
  padding: 20px;
  margin-bottom: 5px;
  box-shadow: none ;

}

.card.MAK-rubriques {
  position: sticky;
  top: 70px;
  z-index: 1000;
  max-width: 620px;
  width: 100%;
  margin-left: 20%;
  margin-right: auto;
  padding: 20px;
  background-color: var(--color-white);
  display: table;
  text-align: left;
  font-family: 'TabletGothicNarrow', sans-serif ;
}

.rubrics h3 {
  margin-bottom: 15px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #4B484D;
  letter-spacing: 1px;
  background-color: transparent;
  border: none;
  border-top: 5px solid var(--color-dark-blue);
  border-bottom: 3px solid var(--color-dark-blue);
 
}

.MAK-AZ-List {
  padding: 10px 0;
  border: none ;
  font-family: 'TabletGothicNarrow', sans-serif ;
}

.document-container {
  display: none;
  border: none;
  background: none;
  margin-left: 1.5rem;
  font-family: 'TabletGothicNarrow', sans-serif ;
}

.MAK-crosshead_substances {
  font-size: 18px;
  font-weight: 300;
  color: #4b4b4d;
  border: none;
  background: none;
  cursor: pointer;
  /* padding: 4px 0; */
  display: flex;
  align-items: center;
  font-family: 'TabletGothicNarrow', sans-serif ;
  font-style: normal !important;
}

.MAK-crosshead_substances:hover {
  color: var(--color-dark-blue);
}

.articletitle,
.article_detail_rubric,
.substance-link a {
  font-size: 16px;
  color: #4B484D;
}

.articletitle {
  /* font-style: italic; */
  /* font-weight: normal !important; */
  font-family: 'TabletGothicNarrow', sans-serif ;
  color: '#4b4b4d' !important;

  word-wrap: 'break-word'!important;
  display: '-webkit-box' !important;
  -webkit-box-orient: 'vertical' !important;
  line-clamp: 3 !important;
  -webkit-line-clamp: 3 !important;
  overflow: 'hidden' !important;
  text-overflow: 'ellipsis' !important;
}

.article_detail_rubric {
  font-style: normal;
  font-family: 'TabletGothicNarrow', sans-serif ;
}

.article_detail_DOI {
  font-style: normal;
  font-weight: 400;
  color: rgb(75, 75, 77);
  font-size: 14px;
  line-height: 1em;
  text-align: bottom;
  margin-right: 10px;
  word-wrap: 'break-word';
  font-family: 'TabletGothicNarrow', sans-serif ;
}

.article_detail_date {
  font-family: 'TabletGothicNarrow', sans-serif ;
  font-style: normal;
  font-weight: 400;
  color: rgb(75, 75, 77);
  font-size: 14px;
  line-height: 1em;
  text-align: bottom;  
  margin-bottom: 10px;
}

.substance-link a {
  text-decoration: underline;
  color: var(--color-dark-blue);
}

.middle-heading {
  text-align: left;
  margin-bottom: 5px;
  padding: 10px 0;
  font-size: 16px;
  color: #4B484D;
  letter-spacing: 1px;
  background-color: transparent;
  border: none;
  border-top: 5px solid var(--color-dark-blue);
  border-bottom: 3px solid var(--color-dark-blue);
}

#facetsContainer label {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s;
  font-size: 14px;
  font-family: 'TabletGothicNarrow', sans-serif ;
}

/* #facetsContainer label{
   text-align: center;
    margin: 2px 2px; 
    cursor: text;
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    padding: 4px 8px;
    border-radius: 25px;
    color: #111111ff;
    background-color: #99bfd9;
    box-shadow: rgba(129, 129, 129, 0.4) 1px 2px 2px;
    transition: 0.1s;
    font-family: 'TabletGothicNarrow', sans-serif ;
    font-weight: 300 !important;
} */

#facetsContainer label.selected {
  background-color: var(--color-light-gray) ;
  color: var(--color-dark-blue) ;
  font-weight: bold;
  border-left: 3px solid var(--color-dark-blue);
  box-shadow: 0 0 3px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 6px 0px 7px 10px;
}


/* #facetsContainer label.selected {
  border: 1px solid #99bfd9;
  background-color: #99bfd9;
  color: #111;
  border-left: 6px solid var(--color-dark-blue);
  border-radius: 25px;
} */

.group-heading {
  margin: 10px 5px;
  margin-left: 15px;
  padding: 6px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #4B484D;
  border-bottom: 2px solid var(--color-dark-blue);
}

#middleColumn {
  /* position: sticky;
  top: 70px; */
  z-index: 1000;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  margin-bottom: 20px;
}

.hidden-checkbox {
  display: none ;
}

.search {
  display: none;
}
.hidden {
  display: none !important;
}
/* Anwenden der Basis-Schriftgröße */
body {
  font-size: var(--base-font-size);
}

.substance-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.substance-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.substance-header:hover {
    background-color: #f0f0f0;
}

.substance-name {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.substance-details {
    padding: 20px;
    display: none;
    border-top: 1px solid #e0e0e0;
}

.panel-body {
  display: none;
  /* border: 1px solid #e0e0e0; */
  word-wrap: 'break-word'!important;
  padding: 10px !important;
}

.panel-default {
      border-color: none;
}

.button-container {
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  justify-content: flex-start; 
}

.MAK-buttonlist_empty {
  border-style: dotted;
}

.panel-heading-cust {
  position: relative; display: flex; align-items: center; 
  font-size: 18px !important; 
  font-weight: 300; 
  color: rgb(75, 75, 77); 
  font-family: "TabletGothicNarrow, sans-serif"; 
  /* background-color: rgb(246, 246, 246);  */
  border-radius: 4px !important; 
  padding: 10px; 
  margin: 10px 1px; 
  z-index: 2;
  word-wrap: 'break-word'!important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  cursor: pointer;
  border-top: 2px ridge #f6f6f6;
  
}

.panel-title {
  font-size: 18px !important; 
  font-weight: 300; 
  color: rgb(75, 75, 77); 
  font-family: "TabletGothicNarrow, sans-serif"; 
  display: '-webkit-box' !important;
  -webkit-box-orient: vertical !important;
  line-clamp: 2 !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-wrap: break-word; white-space: normal; overflow: auto;
  color: #375b9a !important;
  letter-spacing: normal;

}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: none !important;
    border-radius: 4px;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.05);
    word-wrap: 'break-word'!important;
}

.card-body {
    padding: 10px;
    font-family: "TabletGothicNarrow, sans-serif"; 
}


.custom-card-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 5px 15px;
    /* margin: 2px; */
    max-width: 100vw;
    font-size: 16px;
    font-weight: 300; 
    color: rgb(75, 75, 77); 
    font-family: "TabletGothicNarrow, sans-serif"; 
}

.custom-card-header-title {
    color: #375b9a;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 0px;
    font-family: "TabletGothicNarrow, sans-serif"; 
}

.custom-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-family: "TabletGothicNarrow, sans-serif"; 
}

.custom-list-item:last-child {
    border-bottom: none;
}

.custom-list-item-title {
    /* color: #333; */
    font-weight: 500;
}

.custom-list-item-article {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
    font-size: 16px;
    /* border-bottom: 1px solid #f0f0f0; */
    font-family: "TabletGothicNarrow, sans-serif"; 
    flex-direction: column;
}

.custom-list-item-count {
    /* color: #f8f9fa; */
    font-weight: normal;
}