/* Schriftarten */

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTC55F-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTS56F-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTC75F-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'PTSerif';
    src: url('../fonts/PTF55F-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'PTSerif';
    src: url('../fonts/PTF56F-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic
}

@font-face {
    font-family: 'PTSerif';
    src: url('../fonts/PTF75F-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'PTSerif';
    src: url('../fonts/PTF76F-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic
}
html {
    position: relative;
    font-size: 12pt
}

body {
    background-color: white;
    font-family: 'serif'
}


header {

    background-color: #30415D;
}

header img {
  max-height: 70px;
}

header .page-title-text {
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.5px;
}

header .page-title {
    background-color: #30415D;
    font-size: 2em;
    line-height: 2em;
    font-weight: bold;
    text-shadow: 0px 0px 10px black
}

header div.page-title.navbar-brand {
    color: white;
    overflow: hidden
}

header a,
header .nav-link {
  color: white !important;
}

header .nav-link.active {
  color: white !important;
}

header .nav-link:hover {
  color: #ddd !important;
}

/*

header div.page-title img.beta {
    position: absolute;
    top: 1px;
    left: -40px;
    z-index: 1
}

header div.page-title .container {
    position: relative;
    z-index: 2;

}



header div.page-title.navbar-brand span {
    color: white
}

header div.page-title.navbar-brand img.beta {
    position: relative;
    display: inline;
    vertical-align: top
}

*/

ul.square-list > div > div {
    background-color: white;
    padding: 7px 5px 7px 5px;
    margin-bottom: 5px;
    border: 4px solid rgb(205, 216, 230);
    border-radius: 0.5em;
}

ul.square-list > div > div:hover {
    border: 4px solid #5b82a3;
}

ul.square-list > div > div > li > a {
text-decoration: none;
}


footer {
    min-height: 20%;
    width: 100%;
    color: white;
    font-size: 9pt;
    font-family: 'sans';
    background: #4F4D49;
    padding-top: 20px;
    padding-bottom: 20px
}

footer h1,
footer h2,
footer h3 {
    color: white;
    font-weight: normal
}

footer h3 {
    font-size: 1.3em
}

footer a {
    color: white;
    text-decoration: underline
}

footer a:hover {
    color: white
}

footer ul a {
    text-decoration: none
}

footer ul a:hover {
    text-decoration: none
}

/* Navigationsleiste*/

nav {
    float: unset
}

nav a {
    float: inherit !important
}

nav#main-nav {
    font-family: 'sans';
    font-size: 12pt;
    float: unset;
    color: white;
    background-color: #30415D!important
}

nav#main-nav * {
    background-color: #30415D !important
}

nav#main-nav a {
    color: white;
    font-weight: bold;
    line-height: 5px;
    padding-top: .8em;
    padding-bottom: .8em
}

nav#main-nav li {
    border-right: 1px solid #30415D
}

nav#main-nav li:first-child {
    border-left: 1px solid #30415D
}

nav#main-nav .dropdown>ul>li>a {
    line-height: 1.6em
}
nav#main-nav .dropdown-menu {
    border:none!important
  }
  
nav#main-nav ul.dropdown-menu li ul li a {
    color:#1A202C;
    padding: 3px 10px 3px 30px;
    display: block;
    line-height: 1.5em
}

nav#main-nav ul.dropdown-menu li ul li a:hover {
    color:white;
    text-decoration:none
  }

nav#main-nav .icon-bar {
    background-color: white !important
}

nav#main-nav .current,
nav#main-nav li a:hover {
    background-color: #30415D !important
    color:white!important;
    border-radius:.25rem
}

nav ul.pagination li:first {
    display: none
}

nav ul.pagination a {
    float: left !important
}

nav ul.pagination .cursor-default {
    cursor: default !important
}

nav#view-nav li {
    background-color: #f3f3f3
    border-top:1px solid #E2E8F0;
    border-left:1px solid #E2E8F0;
    border-right:1px solid #E2E8F0;
    border-top-right-radius:.25rem;
    border-top-left-radius:.25rem
}

nav#view-nav li a {
    padding: 0 12px
}

nav#view-nav li a:hover {
    text-decoration: none
}

nav#view-nav li a.selected {
    color: black
}

nav#view-nav li.active {
    background-color: #d0d0d0
}

nav#view-nav li:hover {
    background-color: #d0d0d0
}

/* Hauptboxen */

a,
a:hover {
    color: #30415D;
    text-decoration: none;
}

div#content {
    min-height: 70%;
    background-color: #e1e7f1;
    font-family: "serif";
    font-size: 12pt
}

div#page-header {
    background-color: white;
    min-height: 150px;
    padding-top: 10px;
    padding-bottom: 1rem
}

div#page-header>div:first-of-type.container {
    padding-top: 5px
}

div#page-header h1 {
    font-size: 1.5em;
    margin: 0 0 .5em 0
}

div#page-header li {
    float: none !important
}

div#page-views {
    background-color: white
}

div#page-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem
}

@media screen and (max-width:768px) {
    div#page-content {
        padding-top: 0px;
        padding-bottom: 0px
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1550px;
    }
}

/* Abstand zwischen den Badges */
div#badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em; /* Automatischer Abstand zwischen Kindern */
}

div#object-content {
    padding-top: 1rem;
    padding-bottom: .01rem;
 /*   font-size: 1.05em; */
 /*   line-height: 1.6; */
    background-color: white
}

div#object-content h3 {
    margin-bottom: 1rem;
    margin-top: 2rem
}

div#object-content h4 {
    margin-bottom: 1rem;
    margin-top: 2rem
}

div.filter ul li:hover {
    border-radius: 3px;
    color: white
}

div.filter {
    font-family: 'sans';
    font-size: .8em
}

div.filter ul li a {
    border-radius: 3px;
    display: block;
    padding: .3em
}

div.filter ul li a.current,
div.filter ul li a:hover {
    background-color: #30415D;
    color: white;
    text-decoration: none
}

div.filter ul li .count:before {
    content: " ("
}

div.filter ul li .count:after {
    content: ")"
}

div.filter ul li .close,
div.filter ul li .close:hover {
    color: white;
    opacity: 1;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-shadow: none
}



div.filter ul.grid li {
    display: inline
}

div.filter ul.grid li a {
    display: inline-block
}

div.filter ul.combobox:hover li a {
    position: static;
    visibility: visible
}

div.filter ul.combobox li {
    background-color: white
}

div.filter ul.combobox li a {
    border-radius: 3px;
    position: absolute;
    opacity: 1 !important;
    visibility: hidden
}

div.filter ul.combobox li a.current,
div.filter ul.combobox li a.visible {
    position: static;
    width: auto !important;
    visibility: visible
}

div.filter ul.combobox li a:hover {
    color: white;
    text-decoration: none;
    background-color: #30415D
}

div.filter ul.combobox li .close {
    display: none
}

div.filter ul li a.disabled {
    color: gray;
    pointer-events: none;
    cursor: default
}

div.filter ul li a.disabled:hover {
    color: gray;
    pointer-events: none;
    cursor: default;
    background-color: white
}

div.filter ul.hide-disabled li a.disabled {
    border: 2px solid green;
    display: none
}

div.filter ul.hide-disabled li a.current {
    display: block
}

div.box {
    position: relative;
    margin-bottom: 1rem
}

div.box div.boxInner {
    position: relative;
}

div.box h3 {
    padding: .3rem .8rem .3rem .8rem;
    color: #30415D;
    width: 100%;
    font-size: 1.2em;
    margin: 0 0 0 0;
    border-bottom: 5px solid #ddd
}

div.right-nav {
    font-family: 'sans';
    font-size: .8em;
    line-height: 2em
}

div.right-nav h3 {
    font-size: 1.2em
}

div.right-nav a {
    color: black
}

div.right-nav li:hover a {
    color: white;
    text-decoration: none;
    background-color: #30415D;
    padding: 0px 5px;
    margin: 0 -5px;
    display: block
}

div.whitebox {
    background-color: white;
    border-radius: .25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)
}

div.graybox, li.graybox {
    background-color: #f3f3f3;
    border-radius: .25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)
}

div.explicit {
    color: #4F4D49;
    padding-bottom: 1em
}

div.grid {
    display: grid;
    grid-template-columns: 2fr 6fr;
    grid-gap: 10px;
    align-items: start
}

div.bearbeitungsdaten {
    background-color: #f3f3f3;
    color: #30415D;
    padding: 1rem;
    display: grid;
    grid-template-columns: 3fr 5fr;
    grid-gap: 10px;
    align-items: start
}

div.bearbeitungsdaten>div:nth-child(even) {
    align-self: end
}

div.bearbeitungsdaten #bearbeiter {
    margin-right: 1rem
}

div.boxInner ul div div:hover {
    background-color: #EDF2F7;
}

h1 {
    color: #30415D;
    font-weight: bold
}

h1 a:hover {
    text-decoration: none
}

h2 {
    font-size: 1.6em
}

h3 {
    font-weight: bold;
    font-size: 1.3em
}

h4 {
    font-weight: bold !important;
    font-size: 1em
}

img.full-img {
    max-width: 100%
}

/* Klassen */

.align-right {
    text-align: right
}

.theme-color {
    color: #30415D !important
}

.bold {
    font-weight: bold
}

.sup {
    vertical-align: super;
    font-size: smaller
}

ul.main-list > div > div {
    background-color: white;
    padding: 7px 5px 7px 5px;
    margin-bottom: 2px;
    border: 2px solid rgb(205, 216, 230);
    border-radius: 0.5em;
}

div.double {
    height: 3em;
}

div.colTrans {
    font-size: 1.3em;
}

ul.main-list > div > div:hover {
    border: 2px solid #5b82a3;
}

.square-list {
    list-style: square;
    list-style-position:outside;
    text-indent: -1em;
    padding-left: 1em
}

.square-list * * {
    text-indent: 0em;
    padding-left: 0em
}

.disc-list {
    list-style: disc;
    margin-bottom:2px;
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em
}

.disc-list * * {
    text-indent: 0em;
    padding-left: 0em
}

.circle-list {
    list-style: circle;
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em
}

.circle-list * * {
    text-indent: 0em;
    padding-left: 0em
}

.hyphenation {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto
}

.justify {
    text-align: justify
}

.center {
    text-align: center
}

.book-like {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-align: justify
}

.btn-default {
    background-color: #30415D;
    color: white
}

.btn-default:hover {
    background-color: #772525;
    color: white
}

.intern {
    box-shadow: 0 0 2px #30415D;
    padding: 2px;
    border: 1px dashed #30415D
}

.button:hover,
.button:focus {
    text-decoration: none !important
}

[aria-expanded="false"] .collapse-icon-close {
    display: inline-block
}

[aria-expanded="true"] .collapse-icon-close {
    display: none
}

[aria-expanded="false"] .collapse-icon-open {
    display: none
}

[aria-expanded="true"] .collapse-icon-open {
    display: inline-block
}

.page-link {
    color: #30415D
    
}
.font-medium {
    font-weight:500
  }
  .text-sm {
    font-size:14px
  }
.dropdown-hover:hover .dropdown-menu {
    display:block;
    margin-top:0
  }
  div.filter ul.grid li a {
    width:4.29em
  }
  div.filter ul.grid li a .close {
    display:none
  }
  div.filter ul.combobox.filter-new:hover li a {
    position:absolute;
    visibility:hidden
  }
  div.filter ul.combobox.filter-new:hover li a.current {
    position:static;
    visibility:visible
  }
  div.filter ul.combobox.filter-new li:first-child a:after {
    display:none
  }
  div.dropdown-menu ul li a.disabled {
    display:none
  }
  div.dropdown-menu ul li a.current {
    display:none
  }
  #beacon h3 {
    color: #4F4D49;
    font-size: smaller;
    border-bottom: none
}

#beacon p {
    padding: 0 1rem;
    font-size: smaller;
    display: none
}

#beacon p.more {
    color: #30415D;
    display: block
}

#beacon:hover p {
    display: block
}

#beacon:hover p.more {
    display: none
}


.breadcrumb {
    border-bottom: 1px solid black;
    background-color: white;
    border-radius: 0
}

.breadcrumb ol.breadcrumb {
    border: 0
}

.tooltip-inner {
    max-width: 450px;
    width: 150px
}

#mirador1 {
    min-height: 90vh;
    height: 600px;
    position: sticky;
    top: 2rem;
    overflow: hidden
}

.keyword-hi {
    background: yellow;
}

.search-info {
    position: relative;
    font-size: 0.8rem; /* kleinere Schrift */
    color: #333;
}

.search-info-icon {
    font-weight: bold;
    color: #0d6efd; /* Bootstrap primary */
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.search-info-content {
    display: none;
    position: relative;
    background-color: #f1f1f1;
    min-width: 17vw;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    padding: 0.75rem 1rem;
    font-size: 0.75rem; /* noch kleiner innerhalb */
    line-height: 1.4;
}

.search-info-content li {
    margin-left: 15px;
    margin-bottom: 0.5rem;
}

.search-info:hover .search-info-content {
    display: block;
    position: absolute;
}

/* Hervorhebung der <i>-Elemente */
.search-info-content i {
    font-style: normal;
    font-weight: 600;
    color: #0d6efd; /* Bootstrap blue */
    background-color: #e7f1ff; /* leichtes Hellblau */
    padding: 0 0.2rem;
    border-radius: 0.2rem;
    white-space: nowrap;
}

span.persName, .origPlace, .placeName, .origDate {
    font-variant: small-caps;

}

.origDate {
    color:indigo;
    position: relative;
    cursor: pointer;
}

.origPlace, .placeName, .origPlace a {
    color:#772525;
}

.persName, .persName a {
    color: #1C53AC;
}

.origDate:hover::after {
    content: attr(title);
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 5px;
    white-space: nowrap;
    z-index: 10;
    top: 100%; /* Direkt unter dem Text anzeigen */
    left: 0;
    color: black;
}

div.filter .dropdown-menu {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

div.obj-list {
    font-family: 'sans';
    font-size: .7em;
    line-height: 2em;
    color: grey
}

.search-info {
    font-size: 0.9rem; /* kleiner, aber lesbar */
    color: #333;
  }

  .search-info-icon {
    font-weight: bold;
    color: #0d6efd; /* Bootstrap primary blue */
    margin-right: 0.5rem;
  }

  .search-info-content {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
  }

  .search-info-content li {
    margin-bottom: 0.4rem;
  }

  .nav-item a[href="/exist/apps/workshop.web/obj-werke/index.html"] {
  display: none;
}

.description {
  list-style: none;          
  margin: 0;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.description li {
  margin-bottom: 1rem; 
  position: relative;    
  padding-left: 1.5rem;  
}

.description li::before {
  content: "•";          
  position: absolute;
  left: 0;
  top: 0;
  color: #0077cc;
  font-size: 1.2rem;
  line-height: 1rem;
}

/nav ul ul {
  z-index: 599;
  visibility: hidden; !important
  position: absolute;
  top: 100%;
  left: 0;
  width: 226px;
  background-color: white;
  color: #AC4D00;
  font-family: PTSans;
}


.main-drop {
  display: none;
  position: absolute;
  background-color: #30415D; 
  z-index: 1000;
}

.nav-item:hover > .main-drop {
  display: block;
}

.manual {
    text-align:justify;
}

/* Einrücken wurde erstmal zurückgenommen
.subpoint {
    margin-left: 60px;
}*/

section.manual h2 {
    margin-top: 70px;
    font-weight: bold;
    font-size: 16pt;
}

section.manual h3 {
    margin-top: 30px;
    font-weight: normal;
}


section.manual h4 {
    margin-top: 30px;
} 

.mirador-replacement {
    background-color: rgb(91, 130, 163);
    position: relative;
    display: inline-block;
}



.mirador-placeholder {
   position: absolute;
  left: 0;
  right: 0;           /* -> Banner geht von links bis rechts */
  top: 50%;           /* vertikal mittig */
  transform: translateY(-50%); /* exakte Zentrierung */

  padding: 16px;
  text-align: center;

  background-color: rgba(48, 65, 93, 0.8); 
  color: white;
  font-size: larger;

  box-sizing: border-box; 
}

.placeholder-image {
  display: block;            
  width: 100%;   
  padding: 6px 6px 6px 6px;
}

.manual-list li {
    margin-bottom: 10px;
}

.card-body img {
  max-width: 100%; /* Das Bild wird nie breiter als sein Elternelement (.card-body) */
  height: auto;    /* Behält das Seitenverhältnis bei, um Verzerrung zu verhindern */
}

.license {
    padding-bottom: 1em;
}









/* CSS für das Grid auf der Landing Page */

.grid2 {
    background-color: rgb(117, 144, 169);
    position: relative;   
    z-index: 1;           
    transition: z-index 0s;
    border-radius: 1rem;
}

.grid2:hover {
    z-index: 100; 
}

.grid2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, border 0.3s ease;
    box-sizing: border-box;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.grid2:hover img {
    transform: scale(1.3); 
    border: 2px solid black; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}



.grid-container {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(9, minmax(25px, auto));
    gap: 1em;
    flex: 1;
}





.item-1 {
    grid-column: 1 ;
    grid-row: 1 / span 5;

}

.item-2 {
    grid-column: 1;
    grid-row: 6 / span 3;
}

.item-3 {
    grid-column: 4 ;
    grid-row: 3 / span 4;

}

.item-4 {
    grid-column: 2 ;
    grid-row: 7 / span 2;

}

.item-5 {
    grid-column: 2 / span 3;
    grid-row: 1 / span 2;
}

.item-6 {
    grid-column: 5 ;
    grid-row: 4 / span 5;
}

.item-7 {
    grid-column: 2 / span 2 ;
    grid-row: 3 / span 4;
}

.item-8 {
    grid-column: 3 / 5 ;
    grid-row: 7 / span 2;
}

.item-9 {
    grid-column: 5 ;
    grid-row: 1 / span 3;
}

.index_image {
    border-radius: 1em;
}
/* Ende des CSS vom Grid */ 