body.site {
	border-top: 3px solid #0077b3;
	background-color: #f4f6f7;
}
a {
	color: #0077b3;
}
.nav-list > .active > a,
.nav-list > .active > a:hover,
.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover,
.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.btn-primary {
	background: #0077b3;
}

.brand img {
  max-height: 130px;
  max-width: 100%;
  width: auto;
  height: 130px;
  display: block;
}
.brand img:not([width]) {
  aspect-ratio: 2;
  display: block;
}

/* Styles for main content width on large screens*/
body div.container {
	max-width: 1200px;
}

@media (min-width: 1300px) {
	body div.container,
	body .navbar-static-top .container,
	body .navbar-fixed-top .container,
	body .navbar-fixed-bottom .container {
		width: 1200px;
	}
}

figure.error-image {
  max-width: 300px;
  margin: 0;
}
figure.error-image > figcaption {
  max-width: 250px;
  font-style: italic;
  text-align: center;
  margin: 0 auto;
  font-size: 0.9em;
}

.item-page > .icons a > div , .item-content > .icons a > div, td.list-edit a > div {
  display: none;
}
.icon-angle-double-left::before {
    content: "\7d";
}
.icon-angle-left::before {
    content: "\7c";
}
.icon-angle-right::before {
    content: "\7b";
}
.icon-angle-double-right::before {
    content: "\e000";
}

.icon-check::before {
    content: "\47";
}
.icon-times::before {
    content: "\4a";
}
.icon-user-edit::before {
    content: "\2b";
}

form.mod-login {
  margin: 0;
}
.mod-login__userdata .input-password-toggle {
  display: none;
}
ul.mod-login__options {
  margin: 1em 0 0 2em;
}
.form-check {
  margin-bottom: 9px;
}
.form-check > label.form-check-label {
  display: inline;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* from cassiopeia */
.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group > .form-control,
.input-group > .form-select,
.input-group > .custom-select {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.input-group > .form-control:focus,
.input-group > .form-select:focus,
.input-group > .custom-select:focus {
  z-index: 3;
}
.input-group .btn {
  position: relative;
  z-index: 2;
}
.input-group .btn:focus {
  z-index: 3;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0rem 1rem;
  max-height: 2rem;
  color: #22262a;
  text-align: center;
  white-space: nowrap;
  background-color: #eaedf0;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* modal */
.modal .btn {
  margin-right: 0.5rem;
}
.modal .btn-primary:not([href]),
.modal .btn-success:not([href]) {
  color: white;
}
.modal .btn-primary:not([href]):hover,
.modal .btn-success:not([href]):hover {
  color: white;
}

.modal-header {
  padding: 0 1.15em;
}

.modal-title {
  font-weight: var(--cassiopeia-font-weight-normal, 400);
  line-height: 3rem;
}


.jviewport-height10 {
  height: 10vh;
}
.jviewport-height20 {
  height: 20vh;
}
.jviewport-height30 {
  height: 30vh;
}
.jviewport-height40 {
  height: 40vh;
}
.jviewport-height50 {
  height: 50vh;
}
.jviewport-height60 {
  height: 60vh;
}
.jviewport-height70 {
  height: 70vh;
}
.jviewport-height80 {
  height: 80vh;
}
.jviewport-height90 {
  height: 90vh;
}
.jviewport-height100 {
  height: 100vh;
}

[class*=jviewport-height] iframe {
  height: 100%;
}

.modal-dialog.jviewport-width10 {
  width: 10vw;
  max-width: none;
}
.modal-dialog.jviewport-width20 {
  width: 20vw;
  max-width: none;
}
.modal-dialog.jviewport-width30 {
  width: 30vw;
  max-width: none;
}
.modal-dialog.jviewport-width40 {
  width: 40vw;
  max-width: none;
}
.modal-dialog.jviewport-width50 {
  width: 50vw;
  max-width: none;
}
.modal-dialog.jviewport-width60 {
  width: 60vw;
  max-width: none;
}
.modal-dialog.jviewport-width70 {
  width: 70vw;
  max-width: none;
}
.modal-dialog.jviewport-width80 {
  width: 80vw;
  max-width: none;
}
.modal-dialog.jviewport-width90 {
  width: 90vw;
  max-width: none;
}
.modal-dialog.jviewport-width100 {
  width: 100vw;
  max-width: none;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  transform: none;
}
.modal.modal-static .modal-dialog {
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: white;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: black;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dfe3e7;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .btn-close {
  padding: 0.5rem 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dfe3e7;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
  margin: 0.25rem;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }

  .modal-dialog-scrollable {
    height: calc(100% - 3.5rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }

  .modal-sm {
    max-width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg,
.modal-xl {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}
.modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}
.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.modal-fullscreen .modal-header {
  border-radius: 0;
}
.modal-fullscreen .modal-body {
  overflow-y: auto;
}
.modal-fullscreen .modal-footer {
  border-radius: 0;
}

@media (max-width: 575.98px) {
  .modal-fullscreen-sm-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-sm-down .modal-header {
    border-radius: 0;
  }
  .modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
  }
  .modal-fullscreen-sm-down .modal-footer {
    border-radius: 0;
  }
}
@media (max-width: 767.98px) {
  .modal-fullscreen-md-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-md-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-md-down .modal-header {
    border-radius: 0;
  }
  .modal-fullscreen-md-down .modal-body {
    overflow-y: auto;
  }
  .modal-fullscreen-md-down .modal-footer {
    border-radius: 0;
  }
}
@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-lg-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-lg-down .modal-header {
    border-radius: 0;
  }
  .modal-fullscreen-lg-down .modal-body {
    overflow-y: auto;
  }
  .modal-fullscreen-lg-down .modal-footer {
    border-radius: 0;
  }
}
@media (max-width: 1199.98px) {
  .modal-fullscreen-xl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-xl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-xl-down .modal-header {
    border-radius: 0;
  }
  .modal-fullscreen-xl-down .modal-body {
    overflow-y: auto;
  }
  .modal-fullscreen-xl-down .modal-footer {
    border-radius: 0;
  }
}
@media (max-width: 1399.98px) {
  .modal-fullscreen-xxl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
  .modal-fullscreen-xxl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .modal-fullscreen-xxl-down .modal-header {
    border-radius: 0;
  }
  .modal-fullscreen-xxl-down .modal-body {
    overflow-y: auto;
  }
  .modal-fullscreen-xxl-down .modal-footer {
    border-radius: 0;
  }
}
a[data-bs-target="#consentModal"] {
  pointer-events: none;
  color: #000 !important;
}

.nav-pills > li > a.with-icon {
  padding-top: 2px;
  padding-bottom: 2px;
}
.nav-pills > li > a.with-icon > img {
  height: calc(1em + 12px);
}

h1 {
  font-size: 1.5rem;
  line-height: 1.7rem;
}

@media print {
  .header-search > ul:nth-child(1) {
    display: none;
  }
  .navigation {
    display: none;
  }
  #back-top {
    display: none;
  }
  a[href].brand::after {
      content: none;
  }
  #top > div.container {
    border: none;
  }
  body.site {
    padding: 0;
    border-top: none;
  }
  @page {
    margin: 12mm;
  }
}

/** Startseite */
@media (min-width: 1200px) {
  body.itemid-101 .row-fluid .span3 {
    width: 20%;
  }
  body.itemid-101 .row-fluid .span9 {
    width: 77.9%;
  }
  body.itemid-101 .row-fluid [class*="span"] {
    margin-left: 2.1%;
  }
  body.itemid-101 .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
}

body.itemid-101 .well {
  padding: 15px;
}

body.itemid-101 .moduletable.well > h3:first-child {
  margin-top: 0;
}

.links-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: 0;
  border: 3px solid #ccc;
}
.links-container > * {
  min-width: calc(33% - 20px);
  list-style-type: none;
  line-height: 2.45em;
  vertical-align: middle;
  font-size: 1.15em;
  display: inline-block;
  margin: 4px;
}
.links-container img {
  max-width: 2.75em;
  max-height: 2.75em;
}
.links-container a {
  text-decoration: none;
}
.links-container a:hover {
  text-decoration: underline wavy;
}

.stw-new-images ul, .stw-new-entries ul {
  list-style-type: none;
  margin: 0;
}
.stw-new-images ul > li:not(:last-of-type) {
  margin-bottom: 10px;
}
.stw-new-images ul > li {
  text-align: center;
}
.stw-new-images ul > li:last-of-type {
  font-weight: bold;
}
.stw-new-images .feed-item-description img {
  vertical-align: middle;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.newsticker ul > li {
  display: inline;
}

.newsticker ul {
  margin: 10px 0;
  text-align: center;
  background: #e2d9ec;
  padding: 5px;
}

.newsticker ul > li::before,
.newsticker ul > li:last-child::after {
  content: " +++  ";
  font-size: 0.8em;
  vertical-align: text-bottom;
  white-space: nowrap preserve;
}

div.newsticker a {
  color: #00628F;
}

/* Bild des Monats Archiv */
.bilder-des-monats .blog-item:nth-child(2n+1) {
  background-color: #f9f9f9;
}
.bilder-des-monats .blog-item:hover {
  background-color: #f5f5f5;
}
.bilder-des-monats .blog-item {
  border-bottom: 1px solid #ddd;
  padding: 0.62rem;
}
.bilder-des-monats {
  border-top: 1px solid #ddd;
  margin-bottom: 0.7rem;
}
.bilder-des-monats .blog-item .item-content {
  margin: 0;
}
.bilder-des-monats .blog-item .item-content .page-header {
  margin: 0;
  padding-bottom: 0;
  border: none;
  display: flex;
  align-items: center;
}
.bilder-des-monats .blog-item .item-content .page-header > h2 {
  font-size: 1.38rem;
  line-height: 1.54rem;
  margin-right: auto;
}
.bilder-des-monats .blog-item .item-content .page-header > .badge {
  height: 1.2em;
}

.state-flag {
  height: 1em;
  vertical-align: middle;
}

svg.state-flag {
  max-width: 1.6em;
}
