table,
.module_artikel_neu,
#Mod93 {
  border-spacing: 0px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
}

.module-ct {
  padding: 5px;
}

/*Aufzählungszeichen Latest News*/

.latestnews li a::before {
  content: "\27A4";
  display: inline-block;
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  position: absolute;
  left: 0;
}
.module-ct li a {
  padding: 0 0 0 20px;
}

.module_artikel_neu {
  margin-left: 5px;
  width: 97% !important;
}

#Mod93 {
  margin-left: 5px;
}

.sidebar-r table,
.module_artikel_neu,
#Mod93 {
  width: 100%;
  max-width: 300px;
  min-width: 260px;
}

.module_artikel_neu .module-title span {
  padding: 0;
  border: none;
}

tr:nth-child(2n + 1) {
  background-color: #eaeaea;
}

th,
.module_artikel_neu .module-title {
  background-color: #35384d;
  color: white;
  padding: 5px 5px 5px 5px;

  padding: 5px 5px 5px 15px;
  font-size: 16px !important;
  font-weight: normal;
  margin: 0;
  text-transform: none;
}

td,
tr td {
  border-bottom: 1px solid #dddddd;
  padding: 5px 5px 5px 5px;
}

td {
  vertical-align: middle;
}

.t4-section inner-container {
  max-width: 2000px;
}

.icdnator input {
  width: 100%;
  max-width: none;
}

@media only screen and (min-width: 1320px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container,
  .t4-masthead .t4-masthead-detail {
    max-width: 2500px !important;
  }

  .t4-main-body {
    padding-top: 1rem;
    padding-left: 2rem;
  }

  .header-bottom,
  .header-top {
    padding-left: 2rem;
  }

  .verzeichnis_container {
    max-width: 255px;
  }
}

@media only screen and (max-width: 767px) {
  .sidebar-r table,
  .module_artikel_neu,
  #Mod93 {
    max-width: none;
  }

  .t4-tnm_bar {
    margin-top: 3rem;
  }
}

/* Accordion */

.accordion {
  padding: 0;
}

.accordion-header,
.accordion-button,
.accordion-button:focus,
.accordion-button:active,
.accordion-button:not(.collapsed) {
  background-color: #35384d;
  color: white;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-header a {
  color: white;
}

.accordion-header a:hover {
  color: #c8c8c8;
}

/* Höhe NavBar */
.header-bottom {
  height: 60px;
  min-height: 60px;
}

/* Nav-Item Höhe */
.nav-item {
  height: 60px;
  max-height: 60px;
}

.nav-item a {
  padding-top: 10px !important;
  height: 60px !important;
}

/* Nav-Item Hover-Effekt */
.nav-item a:hover {
  background-color: lightgrey;
}

/* Navigation left Header*/

.navverz {
  background-color: #35384d !important;
  color: white;
}

.navverz:hover {
  background-color: #35384d !important;
  color: white;
}

/*NavBar links*/
.verzeichnis {
  position: sticky;
  top: 0px;
  margin-bottom: 1rem;
}

.verzeichnis .list-group-item:hover {
  background-color: #35384d !important;
  color: white;
}

.t4-section-inner .container {
  margin-left: 2rem;
  padding-left: 1rem;
}

/*Alt Preload /*

.prev,
.nex {
  cursor: pointer;
  position: absolute;
  top: -40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;

  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(109, 109, 110, 0.2);
}

.nex {
  right: 10%;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 10%;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.nex:hover {
  background-color: rgba(109, 109, 110, 0.8);
}

.img-magnifier-container {
  position: relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 25%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 150px;
  height: 150px;
}

#Überschrift,
#topheader {
  color: white;
}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  max-height: 200px;
}

.myImg {
  width: 100%;
  max-width: 300px;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 0px; /* Location of the box */

  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  height: auto;
  border-radius: 7px;
  max-width: 1200px;
}

#svgcontainer {
  max-height: 70vh;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  overflow: auto;
}

/* Add Animation */
.modal-content,
#caption,
#menu {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
#closex {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #4a4668;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#closex:hover,
#closex:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }

  #menu {
    display: none;
  }

  .buttsover {
    position: absolute;
    top: 50px;
    right: 15%;
    display: none;
  }
}

#svgbox rect,
#svgbox ellipse,
#svgbox polygon,
#svgbox path {
  fill: blue;
  opacity: 0.18;
  stroke-width: 2px;
  stroke: rgb(255, 255, 255);
}

#svgbox rect:hover,
#svgbox ellipse:hover,
#svgbox polygon:hover,
#svgbox path:hover {
  fill: white;
  opacity: 0.4;
  stroke-width: 2px;
  stroke: black;
}

.marke {
  fill: white;
  opacity: 0.4;
  stroke-width: 2px;
  stroke: black;
}

#svgbox path:hover {
  stroke-width: 8px;
}

#myimage:hover {
  opacity: 0.7;
}

#tooltip {
  background: rgb(255, 255, 255);
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
}

#Histolocation div {
  font-size: 20px;
  color: #686b9c;
}

#Histolocation div:hover {
  color: #ffffff;
}

.text {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.subtext {
  font-size: smaller;
  font-weight: normal;
}

.container2:hover .overlay {
  height: 40%;
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
}

.overlay a,
.overlay a:visited {
  color: white;
}

.overlay a:focus,
.overlay a:link {
  color: gray;
}

.container2 {
  position: relative;
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  margin-right: 5px;
  overflow: hidden;
}

.men:hover {
  color: red;
}

#figcap a {
  color: #686b9c;
}

.buts {
  background-color: darkslateblue;
  padding: 4px 5px 4px 5px;
  margin: 1px 3px 1px 3px;
  border-radius: 5px;
  float: right;
}

.buttsover {
  position: absolute;
  top: 50px;
  right: 10%;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #35384d;
  opacity: 0.999;
  min-width: 80px;
  box-shadow: 0px 8px 16px 0px rgba(109, 109, 110, 0.2);
  z-index: 1;
  border-radius: 7px;
}

.dropdown-content a {
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  color: rgb(145, 117, 223);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.annots_del {
  display: none;
}

.headerlink a {
  color: rgb(144, 145, 198);
  text-decoration: none;
}

.Histo {
  color: #686b9c;
  font-size: 18px;
  font-weight: bold;
}

.Histo:hover {
  color: #ffffff;
}

#HistoErklärung {
  font-size: 16px;
}
#tags .label-info {
  background-color: #35384d;
  font-size: 14px;
  margin-right: 3px 3px 3px 3px;
  padding: 6px 6px 6px 6px;
}
.logo-img {
  width: 100%;
}

/* Polaroid Images*/
div.polaroid {
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
  position: relative;
  width: 300px;
  z-index: 100;
}

div.polaroid:hover {
  transform: scale(1.2);
  transition: 0.2s all ease;
  z-index: 1000;
}

/*Image Box*/

div.containment {
  padding: 10px 20px;
  text-align: center;
}

/*Table Info Box = BlueTable & ImmunoCompareTable = bt2*/

table.bt2 {
  background-color: #fff;
  border: 1px solid #1c6ea4;
  margin: 0 auto auto;
  max-width: 80%;
  text-align: center;
  width: auto;
}

table.bt2 tbody td {
  color: #4d311a;
  font-size: 15px;
  font-weight: 700;
}

table.bt2 td,
table.blueTable th {
  border: 1px solid #aaa;
  padding: 8px;
}

table.bt2 tfoot {
  background: #c3cbe3;
  background: -moz-linear-gradient(top, #d2d8ea 0%, #c9d0e5 66%, #c3cbe3 100%);
  background: -webkit-linear-gradient(
    top,
    #d2d8ea 0%,
    #c9d0e5 66%,
    #c3cbe3 100%
  );
  background: linear-gradient(to bottom, #d2d8ea 0%, #c9d0e5 66%, #c3cbe3 100%);
  border-top: 2px solid #444;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

table.bt2 tfoot .links {
  text-align: right;
}

table.bt2 tfoot .links a,
table.blueTable tfoot .links span {
  background: #35384d;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  padding: 2px 8px;
}

table.bt2 tfoot td {
  font-size: 15px;
}

table.bt2 thead {
  background: #35384d;
  border-bottom: 2px solid #444;
}

table.bt2 thead th {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

table.bt2 tr:nth-child(even) {
  background: #c3cbe3;
}

table.blueTable {
  border: 1px solid #144e75;
  background-color: #eeeeee;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
table.blueTable td,
table.blueTable th {
  /* border: 0px solid #AAAAAA; */
  padding: 5px 4px;
}

table.blueTable tr:nth-child(even) {
  background-color: rgb(255, 255, 255);
}

table.blueTable tr:nth-child(odd) {
  background-color: #eaeaea;
}

table.blueTable tbody td {
  font-size: 13px;
  font-weight: bold;
  padding: 5px 4px;
}
/* table.blueTable thead, table.blueTable th {
  background: #144E75;
  background: -moz-linear-gradient(top, #4f7a97 0%, #2b5f82 66%, #144E75 100%);
  background: -webkit-linear-gradient(top, #4f7a97 0%, #2b5f82 66%, #144E75 100%);
  background: linear-gradient(to bottom, #4f7a97 0%, #2b5f82 66%, #144E75 100%);
} */
table.blueTable thead th {
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  border-left: 2px solid #d0e4f5;
  background-color: #35384d;
}
table.blueTable thead th:first-child {
  border-left: none;
}

table.blueTable tfoot {
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  background: #144e75;
  background: -moz-linear-gradient(top, #4f7a97 0%, #2b5f82 66%, #144e75 100%);
  background: -webkit-linear-gradient(
    top,
    #4f7a97 0%,
    #2b5f82 66%,
    #144e75 100%
  );
  background: linear-gradient(to bottom, #4f7a97 0%, #2b5f82 66%, #144e75 100%);
  border-top: 0px solid #444444;
}
table.blueTable tfoot td {
  font-size: 17px;
}
table.blueTable tfoot .links {
  text-align: right;
}
table.blueTable tfoot .links a {
  display: inline-block;
  background: #1c6ea4;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 5px;
}

.side_box_td {
  background-color: #35384d;
}

.container2:hover .overlay {
  bottom: 0px;
  height: 80px;
}

.container2 .overlay {
  bottom: -43px;
  height: 80px;
}

.badge {
  background-color: #35384d;
}


/* ===== Scope nur auf com_search Ergebnisseite ===== */
body.com_search.view-search #searchForm {
  --brand: #384074;               /* deine Akzentfarbe */
  --bd: #e6e6e6;
  --bg: #ffffff;
  --muted: #6c757d;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Kopfzeile: Input + Button als große Suchzeile */
body.com_search.view-search #searchForm .btn-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  align-items: stretch;
  margin-bottom: .25rem;
}

body.com_search.view-search #searchForm #search-searchword {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 2.5rem;
  border: 1px solid var(--bd);
  border-radius: 999px;
  outline: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E")
      no-repeat 12px center / 18px 18px;
}

body.com_search.view-search #searchForm .btn.hasTooltip {
  height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
body.com_search.view-search #searchForm .btn.hasTooltip:hover {
  filter: brightness(1.07);
}

/* Feldgruppen (Phrasen/Ordering, Nur suchen, Anzeige #) als Cards */
body.com_search.view-search #searchForm fieldset.phrases,
body.com_search.view-search #searchForm fieldset.only,
body.com_search.view-search #searchForm .form-limit {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: .75rem;
  padding: .75rem 1rem;
  margin-top: .75rem;
}
body.com_search.view-search #searchForm fieldset.phrases legend,
body.com_search.view-search #searchForm fieldset.only legend,
body.com_search.view-search #searchForm label.ordering {
  font-weight: 600;
  margin-bottom: .35rem;
}

/* Radios "Suche nach" als Pills (dank input + label Nachbarschaft) */
body.com_search.view-search #searchForm .phrases .form-check-inline {
  margin-right: .4rem;
}
body.com_search.view-search #searchForm .phrases .form-check-input {
  position: absolute; left: -9999px; /* visuell versteckt, per Label bedienbar */
}
body.com_search.view-search #searchForm .phrases .form-check-label {
  display: inline-block;
  padding: .35rem .9rem;
  border: 1px solid var(--bd);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}
body.com_search.view-search #searchForm .phrases .form-check-input:checked + .form-check-label {
  background: rgba(56,64,116,.08);
  border-color: var(--brand);
  color: var(--brand);
}

/* Ordering-Dropdown rund machen */
body.com_search.view-search #searchForm #ordering,
body.com_search.view-search #searchForm #limit {
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: .35rem .9rem;
}

/* "Nur suchen" Checkboxes als kompakte Badges */
body.com_search.view-search #searchForm fieldset.only label.checkbox {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .7rem;
  margin: .2rem .3rem .2rem 0;
  border: 1px solid var(--bd);
  border-radius: 999px;
  background: #fff;
  font-size: .95rem;
}
body.com_search.view-search #searchForm fieldset.only label.checkbox input[type="checkbox"] {
  accent-color: var(--brand);
  width: 1rem; height: 1rem;
}

/* Anzeige # rechts ausrichten */
body.com_search.view-search #searchForm .form-limit {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: flex-end;
}

/* Kleinkram */
body.com_search.view-search #searchForm .searchintro { margin: .25rem 0 0; }
body.com_search.view-search #searchForm .counter { margin: 0; color: var(--muted); }

/* Responsive Feinschliff */
@media (max-width: 576px) {
  body.com_search.view-search #searchForm .btn-toolbar {
    grid-template-columns: 1fr;   /* Button unter das Input auf Phones */
  }
  body.com_search.view-search #searchForm .form-limit {
    justify-content: stretch;
  }
}
