/* To remove white space on the right */
.row {
  margin-right: 0px;
}

p.caption {
  color: #777;
  margin-top: 10px;
}
p code {
  white-space: inherit;
}

pre { /* Code Chunks */
  font-size: 12px;
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}


/* colors */
:root {
  --dark-uni-color:#153268;
  --light-uni-color: #50a5d2;
  --better-uni-color: #b5bfd3;
  --uni-chamois-color:#f2f0e8;
  --uni-darkergray: #3b3b3a;
  --uni-darkgray: #575656;
  --uni-gray: #878786;
  --uni-lightgray: #d9dada;
  --uni-lightergray: #ececed;
}

 /* link row */
.linkcontainer{
  display: flex;
  justify-content: flex-end;
  border: none;
  font-size: 15px;
  margin-top: 2mm;
  margin-left: 0mm;
  margin-right: 5mm;
  margin-bottom: 0mm;
}

/* header */
.container {
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--uni-darkergray);
  display: flex;
  background-color: var(--dark-uni-color);
  width: 100% !important;   /* Make it full width */
  max-width: 100% !important;  /* Override Bootstrap’s max-width */
  margin-right: 0 !important;  /* Remove right margin */
  overflow: hidden;
  border-radius: 4px;
  text-align: right;
  background-image: url(www/siegel.svg); 
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 280px 280px;
}

.col-xl, .col-xl-auto, .col-xl-12, .col-xl-11, .col-xl-10, .col-xl-9, .col-xl-8, .col-xl-7, .col-xl-6, .col-xl-5, .col-xl-4, .col-xl-3, .col-xl-2, .col-xl-1, .col-lg, .col-lg-auto, .col-lg-12, .col-lg-11, .col-lg-10, .col-lg-9, .col-lg-8, .col-lg-7, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1, .col-md, .col-md-auto, .col-md-12, .col-md-11, .col-md-10, .col-md-9, .col-md-8, .col-md-7, .col-md-6, .col-md-5, .col-md-4, .col-md-3, .col-md-2, .col-md-1, .col-sm, .col-sm-auto, .col-sm-12, .col-sm-11, .col-sm-10, .col-sm-9, .col-sm-8, .col-sm-7, .col-sm-6, .col-sm-5, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1, .col, .col-auto, .col-12, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
  margin-top: -10px;
}

/* header text */
.item-1 {
  flex: 10;
  color: #ffffff;
  align-self: flex-end;
  padding-right: 20px;
  padding-bottom: 3px;
}

@media (max-width: 900px) {
  .container {
    display: block;
    text-align: center;
  }
  .container-fluid {
    padding-right: 0px
  }
  header .container .item-1 h3 {
    margin-top: 0;
    margin-left: 20px;
  }
  .linkcontainer {
    margin-bottom: 4mm;
    border-bottom: 1px solid grey;
    margin-left: 2mm;
    margin-right: 2mm;
    justify-content: center;
  }
  .justify-content-between {
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .section.level1 h1 {
    text-align: center;
    margin-top: 0rem;
  }
  .section.level1 h1 .anchor {
    margin-left: 0em;
  }
  .d-flex{
    display: block;
  }
}

header .container .item-1 h3 {
  font-family: sans-serif;
  font-size: 24px !important;
  font-weight: 400 !important;
}


/* footer */
.containerlow {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 15px 0;
  padding-top: 10px;
  padding-left: 1em !important;
  background-color: #878786;
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  /* position: relative; */
  margin-bottom: -100px;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.book {
  min-height: 100vh; /* Make sure the content takes up the full height of the viewport */
  display: flex;
  flex-direction: column;
}

.book-body {
  flex-grow: 1; /* This ensures the content area grows and pushes the footer down */
}

.custom-footer {
  background-color: #002147; /* Change this to your preferred color */
  color: white;
  padding: 10px;
  text-align: center;
  position: relative;
  width: 100%;
  bottom: 0;
}

.custom-footer p {
  margin: 0;
}

/* Link Buttons */
.btn {
    color: var(--dark-uni-color) !important;
    background-color: #ffffff;
    border: 2px solid  #ffffff;
    outline: none;
    border-radius: 5px;
    font-size: 15px;
    padding: 2px 5px;
    cursor: pointer;
}

.btn:active {
    border: 2px solid  #000000 !important;
    outline: none;
    box-shadow: none;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.blue-box {
  border: 3px solid var(--light-uni-color); /*var(--dark-uni-color);  #3399ff; */
  padding: 0.4em 0.8em 0.4em 0.8em;
  background-color: #e6f2ff;
  font-family: sans-serif;
  text-align: justify;
  line-height: 1.5;
  color: black;
  max-width: 650px;
  margin: 1em auto;
  display: block;
}

.blue-box p {
  margin: 0px;
}

.blue-box .mjx-chtml {
  margin-top: 3px;
  margin-bottom: 3px;
}

.grey-box {
  border: 3px solid #cccccc; /* Light grey border */
  padding: 0.4em 0.8em 0.4em 0.8em;
  background-color: #f2f2f2; /* Grey background */
  font-family: sans-serif;
  text-align: justify;
  line-height: 1.5;
  color: black;
  max-width: 650px;
  margin: 1em auto;
  display: block;
  overflow-wrap: break-word; /* Ensures content breaks into a new line */
  word-wrap: break-word;    /* For older browsers */
  overflow: auto;         /* Ensures no content spills out */
  white-space: normal; /* Allows the content to wrap */
}

.grey-box p {
  margin-bottom: 0px;
}

.grey-box .mjx-chtml {
  margin-top: 3px;
  margin-bottom: 3px;
}

.inline-figure {
  border: none !important;
}

.inline-figure img {
  display: block;
  max-width: 80%;
  margin: auto;
}

details {
  margin-bottom: 1.25em; /* Adjust the value to set the desired spacing */
}

iframe {
  display: block;
  border: none;
  transform: scale(1); 
  width: 90%;
  margin:-20px auto 0px auto;
}

.centered-table {
  font-size: 12px;
  width: 95%;
  margin: 10px auto;
  display: flex;
  justify-content: center;
}

.table td {
  vertical-align: middle;
}


