/*               Design für KlosterBuch               */
/*                    Typ-Selektoren                  */
body  {
  display: flex;
  flex-direction: column;
  background-image: url(../images/Hintergrund1.jpg);
  background-attachment: fixed; /*Hintergrund bleibt fest*/
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  margin-left: 1em;
  margin-right: 1em;
  overflow-y: scroll;
}

footer {
  position: fixed;
  text-align: right;
  bottom: 1em;
  right: 1em;
}

nav {
  font-size:large;
}

summary:hover {
  /*für nav-Elemente*/
  background-color: beige;
}

h2 {
  font-size: 1.3em;
  font-style:oblique;
  margin-left: 1.1em;
  color: rgb(54, 55, 56);
  padding-top: 0.1em;
  padding-bottom: 0em;
  margin-bottom: 0em;
}

p {
  font-size: 1.1em;
  text-align: left;
  margin-left: 1.2em;
}

img {
  border: 1px solid;
}

li {
  list-style-type: none;
  font-size: 1em;
}

table {
  margin-left: 1em;
}

thead {
  position: sticky;
  top: 0;
  color: black;
  background-color: beige;
}

th {
  text-align: center;
}

td {
  font-size: 1em;
  vertical-align: top;
}

.logo {
  width: 30px;
  vertical-align: bottom;
  margin-right: 0.5em;
}

/* class für Container nur in index.htm*/
.container {
  display: flex;
  flex-direction: row;
}

/* Layout für schmale Bildschirme */
@media (max-width: 900px) {
  .container {
    flex-direction: column;  
  }

  .Listensteuerung {
    margin-left: 0em;
    width: 618px;
  }
}

/* class für buttons in /ordenmon und /orte */
.button-container {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 1000;
  display: flex;
  gap: 10px; /* optionaler Abstand zwischen den Buttons */
}

/*--  1054*  Klasse .kopf ohne Urkunden    --*/
.kopf {
  position: sticky;
  top: 0;
  background-image: url(../images/Hintergrund2.jpg);
  height: fit-content;
}

.kopf h1 {
  font-size: 1.4em;
  font-style: italic;
  font-variant: normal;
  background-image: url(../images/Hintergrund2.jpg);
  border-style: inset;
  padding: 0.1em;
}

.kopf p {
  font-size: 1em;
  font-style: normal;
  font-variant: normal;
  background-image: url(../images/Hintergrund2.jpg);
  color: black;
  padding: 0.2em;
  margin-bottom: 0.1em;
}

/* aus allen Köpfen sollte das <p> verschwinden*/
/*             class für Listen          */

.liste li {             /*  36* verwendet     */
  margin-top: 0.5em;
  margin-left: 0em;
  font-size: 1.1em;
}

.liste0 li {            /*  367* verwendet */
  margin-left: 0em;
  padding-top: 0.2em;
}

.liste1 li {            /*  356* verwendet */
  margin-top: 0em;
  margin-left: 0em;
  padding-right: 1em;
  font-size: 1em;
}

.liste2 {               /* 29* verwendet */
  margin-top: 0em;
  margin-left: 0em;
  padding: 1em;
  font-size: 1em;
}

.liste3 {               /* 29* verwendet */
  padding-left: 1.5em;
  margin-left: 1.5em;
}
.liste3 li {
  font-size: 1.1em;
}
.liste3 li::marker {
  content: "(" counter(list-item) ")   ";
  margin-left: 1em;
}

.liste4 li {            /* 6* forschung, kamprad */
  list-style-type: decimal;
  font-size: 0.9em;
}

.liste5 {               /* 5*  amt, regula  */
  padding-left: 1em;
  font-size: 1.1em;
}

/*             class für Tabellen          */
.tab0 {                 /* 43* verwendet: anfang, erwerb, bau-1 bis -6, äbte  */
  padding-top: 1em;
}
.tab0 td {
  font-size: 1.1em;
  padding-left: 1em;
  text-align: left;
}
.tab1 td {              /* 4* verwendet */
  font-size: 0.9em;
}
.tab1 th {
  font-size: 0.9em;
  background-color: #e4e0d7;
}
.tab1 tbody tr:hover,
tfoot tr:hover {
  background-color: #fffbf0;
}
.tab2 td {              /* 2* in Urkunden Zuweisungen Cellerar/Pitantiar   */
  font-size: 1em;
  table-layout: fixed;
  position: relative;
}

.tab3 {                 /* 152* verwendet in orte/  */
  margin-left: 0em;
  margin-bottom: 1em;
}
.tab3 td {
  font-size: 1.1em;
  padding-top: 0;
  padding-left: 1em;
}

.tab5 {                 /* 2* verwendet in kalender-1,-2      */
  margin-left: 0;
  table-layout: fixed;
  width: 100%;
}
.tab5 td {
  text-align: center;
  border-width: 1pt;
  border-style: solid;
  border-color: black;
  padding-left: 0;
  margin-left: 0;
  font-size: 16px;
  font-style: italic;
}

.tab8 table {           /*  24* verwendet in usus */
  width: 100%;
  border-collapse: collapse; 
}
.tab8 td {
  width: 50%;
  font-size: 1.1em;
  padding: 0.5em; 
}

.tab9 {                 /* 8* verwendet in mortuarium  */
  table-layout: fixed;
  padding-left: 0;
}
.tab9 td {
  border-bottom: 1px solid black;
  padding: 8px;
  text-align: left;
}
.tab9 tbody tr:hover, tfoot tr:hover {
  background-color: #c5b999;
}

.tab10 {                /* 1450* verwendet in ordenmon  */
  text-align: left;
  font-size: 15px;
  padding: 0px;
  border: none;
}
.tab10 td {
  width: 120px;  
}
.tab10 td+td {
  width:auto
}

/*             class für button          */

.siehe {                /* 978* */
  font-size: medium; 
  padding: 0;
  margin: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.verweis {
  background-color: rgb(165, 139, 86);
  font-size: medium; 
  border: solid;
  border-width: thin;
  border-style: ridge;
  border-radius: 5px;
  color: rgb(253, 250, 250);
  padding: 0;
  margin: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.navbutton {            /* 2403*  Äbte, Orte, Urkunden*/
  background-color: rgb(165, 139, 86);
  border: solid;
  border-width:medium;
  border-style: ridge;
  border-radius: 5px;
  width: 1em;
  color: rgb(253, 250, 250);
  padding: 4px 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  margin-top: 0em;
  cursor: pointer;
}

.button {               /* 980*  index, bauten, glossar, html, konvent, mortuarium, orden, orte, personen, urkunden, zister */
  background-color: rgb(165, 139, 86);
  border: solid;
  border-width:thin;
  border-style: ridge;
  border-radius: 3px;
  color: rgb(253, 250, 250);
  padding: 0.2em 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9em;
  margin-top: 0em;
  cursor: pointer;
}

.button-1 {             /* 75* aktiviert --*/
  background-color: rgb(189, 171, 135);
  border: solid;
  border-width: thin;
  border-style: groove;
  border-radius: 5px;
  color:black;
  padding: 4px 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 0pt;
  cursor: pointer;
}

.button1 {              /* 160* für Register */
  background-color: rgb(124, 126, 29);
  border: solid;
  border-width: 2pt;
  border-style: inset;
  border-radius: 5px;
  color: rgb(253, 250, 250);
  padding: 4px 4px;
  text-align: center;
  text-decoration: none;
  font-size: small;
}

.button2 {              /* 227 für departement  */
  background-color: transparent;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: medium;
  border: none;
  padding: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button3 {              /* 281* für popovertarget */
  border: none;
  background-image: none;
  color:gray;
  text-decoration: none;
  font-size: medium;
  font-weight: bold;
  width: 0;
  margin: 0;
  padding: 0;
}

.button4 {              /* 698* für onclick */
  background-color: transparent;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: medium;
  font-style: italic;
  font-weight: bold;
  border: none;
  padding: 0;
  text-align: center;
  text-decoration-line: underline;
}

.button5 {              /* 2228* für ordenmon */
  background-color: rgb(165, 139, 86);
  border: solid;
  border-width:thin;
  border-style: ridge;
  border-radius: 3px;
  color: rgb(253, 250, 250);
  padding: 0.2em 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9em;
  margin-top: 0em;
  cursor: pointer;
  width: 32px;
}


.Listensteuerung {      /* Listensteuerung in index.htm */
  margin-left: 0.5em;
  list-style-type: none;
  font-size: 1.15em;
}
.Listensteuerung ul {
  list-style-type: none;
  margin-left: 1em;
  padding-left: 0;
}
.Listensteuerung ul ul {
  margin-left: 1em;
  padding-left: 1em;
}
.Listensteuerungs ul li {
  list-style-type: none;
  margin-left: 2em;
  padding-left: 0;
}
.Listensteuerung details details {
  background-color: #eee;
  margin-left: 1em;
}


/*----     46* in bilder     ----*/
figure {
  display: inline-block;
  margin: 10px;
}

figcaption {
  font-size: 14px;
  color: #333;
}

[popover] {
  padding: 0.2rem;
  overflow: unset;
}

/*---  Bildwechsler in index  ---*/
.mySlides {
  display: none
}
/* Slideshow container */
.slideshow-container {
  max-width: 627px;
}
/* Next & previous buttons */
.prev {
  cursor: pointer;
  position: absolute;
  top: 260px;
  left: 10px;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  cursor: pointer;
  position: absolute;
  top: 260px;
  left: 600px;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  top: 465px;
  width:fit-content;
  background-color: black;
}

/*---          für Urkunden-Seiten           ---*/
.uk-kopf {
  position: sticky;
  top: 0;
  background-image: url(../images/Hintergrund2.jpg);
  margin-top: 0em;
  padding: 0.5em 0em 0em 0em;
  border-style: inset;
}

.uk-header {
  display: flex;
  align-items: center;      /* vertikale Zentrierung */
  gap: 1rem;                /* Abstand zwischen Bild und Text */
  flex-wrap: nowrap;        /* erlaubt Umbruch bei kleinen Fenstern */
  overflow:hidden;
}

.uk-logo {
  flex: 0 0 auto;
  max-width: 30px;          /* Begrenzung, falls zu groß */
}

.uk-headline {
  flex: 1 1 0;           /* erlaubt flexibles Wachstum */
  word-break: break-word;     /* bricht lange Worte */
  min-width: 0;             /* verhindert Überlauf */
}

.uk-kopf h1 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.3em;
  font-style: italic;
  color: black;
  margin: 0em 0em 0em 0.4em; 
  padding-bottom: 0.2em;
}

.uk-datum {
  background-color: lightgrey;
  border-style: groove;
}

.uk-datum p {
  margin: 0.4em 0em 0.4em 1em;
  font-size: 1.1em;
  background-color: lightgrey;
}

.uk-nachweis p {
  font-size: 1.1em;
}

.uk-regest p {
  text-align: left;
  font-size: 1.1em;
  margin: 0.3em 0.5em;
  padding: 0em 0.5em;
}

.uk-bemerkung p {
  font-size: 1.1em;
  text-align: left;
  margin-left: 1.2em;
  margin-right: 1em;
  padding: 0em 0em 0em 0em;
}

.uk-latein {
  font-family: 'EB Garamond';
  font-style: italic;
  text-align: justify;
}
.uk-deutsch {
  font-family: 'Libre Baskerville';
  text-align: justify;
  font-size: 1em;
}

.uk-text p {          /*-- 3* --*/
  text-align: left;
  font-size: 1.1em;
  font-style: italic;
}

/*--  ID Selektoren id=""  --*/
#kloster-bookmark {
  position: fixed;
  top: 0.5em;
  right: 1em;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #888;
  padding: 0.4em 0.8em;
  font-size: 0.9em;
  font-style: italic;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  z-index: 999;
}

#fixiertesDiv {     /* Fixiertes Div, über dem Header sichtbar*/
  position: fixed;  
  top: 144px;
  left: 16px;
  width: 600px;
  height: 40px;
  background-color: transparent;
  z-index: 1000;
}

.oben {                /* 163* statuta */
  margin-left: 0em;
}
.oben td {
  font-size: 1.05em;
  font-weight: bold;
  padding-top: 0;
  padding-left: 0.5em;
}
.oben td+td {
  font-weight: normal;
  font-style: italic;
  padding-left: 0.5em;
  background-color: antiquewhite;
}
.oben td+td+td {
  font-style: normal;
}

.angesehen {
    background-color: #d0e6ff;
    border: 1px solid #339;
    color: #000;
}
