/**********************************************************************************
  * Custom styles - Begin
  **********************************************************************************/
#search_results ul.attribute-list {
  margin-bottom: 0px;
}

.teaser i {
  color: var(--bvrk-primary-blue);
}

/* metadata styles - Begin */
.metadata-part .meta-group {
  border-left: 1px solid #00000022;
}

.metadata-part .meta-group h5 {
  margin-left: .5em;
}

.metadata-part .meta-group li {
  margin-left: .5em;
}

@media (min-width: 768px) {
  .metadata-part .meta-group li {
    margin-left: 0;
  }
}

.metadata-part li {
 list-style: none;
 margin-bottom: .35em;
}

.metadata-part ul {
 padding: 0;
 margin: 0;
}

.description-part p {
  text-align:justify;
  hyphens:auto;
  hyphenate-limit-chars: auto 3 4;
  -ms-hyphenate-limit-charrs: auto 3 4;
  -webkit-hhhhyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 4;
}
/* metadata styles - End */

/* footer styles - Begin */
@media (max-width: 359px){
  footer .bottom_section h5 {
    font-size: 11px;
  }
}

footer .bottom_section h5 {
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
  letter-spacing: -0.28px;
}

footer .bottom_section li {
  list-style: none;
}

footer .bottom_section ul {
  padding: 0;
}

.footer-links a {
  margin: .15em 0;
}
/* footer styles - End */

.module-description p {
  margin-bottom: .5em;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
}

.module-description p a {
  color: var(--bvrk-primary-blue-access);
}

#fieldsAdvanced.collapsing, #fieldsSimple.collapsing {
  transition: none;
}

.search_item {
  --search-item-card-border: 24px;
}

.search_item .img-container {
  height: 100%;
  text-align: center;
  background: var(--bvrk-basic-white);
  border-radius: 0 0 8px 8px;
  padding: var(--search-item-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search_item.fulltext .img-container {
  border-radius: 0;
}

@media (min-width: 768px) {
  .search_item .img-container {
    border-radius: 0 8px 8px 0;
  }
  .search_item.fulltext .img-container {
    border-radius: 0 8px 0 0;
  }
}

.page-maps #search_results .search_item .card,
.page-people #search_results .search_item .card,
.page-search #search_results .search_item .card {
  padding: 0;
}

.page-maps #search_results .search_item .card .card-body,
.page-people #search_results .search_item .card .card-body,
.page-search #search_results .search_item .card .card-body {
  padding: var(--search-item-card-border);
}

.fulltext-container {
  margin-top: 0;
}

.fulltext-container p{
  padding: 0 var(--search-item-card-border);
}

.fulltext-container hr {
  margin: 0 0 32px 0;
}

.fulltext-highlight-container {
  padding-right: var(--search-item-card-border);
}

.fulltext-collapse {
  padding: 1rem var(--search-item-card-border) var(--search-item-card-border);
}

.fulltext-collapse a[aria-expanded=true] .bi-chevron-down::before {
  transform: rotate(-180deg);
  transition: transform 0.2s ease-in-out;
}

.fulltext-collapse a[aria-expanded=false] .bi-chevron-down::before {
  transition: transform 0.2s ease-in-out;
}

#zoom-viewer {
  background-color: var(--bvrk-basic-ghost-blue);
}

#viewer-toolbar {
  padding: 5px;
  min-height: 40px;
  background-color: var(--bvrk-basic-dark);
  min-height: 40px;
}

#viewer-lowerbar {
  background-color: var(--bvrk-basic-dark);
  color: white;
  min-height: 40px;
}

#viewer-lowerbar .institution-name {
  padding: 15px 24px;
  font-size: 18px;
  line-height: 22px
}

#inner-toolbar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  width: 100%;
}

#controlBar {
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

#lvgLink {
  width: auto;
  padding: 0 8px;
  gap: 0 6px;
  cursor: pointer;
}

.subtoolbar {
  display: inline-block !important;
}

.ctrlBtn {
  background-color: var(--bvrk-basic-ghost-blue);
  color: var(--bvrk-basic-dark);
  text-decoration: none;
  line-height: 1;
  height: 30px;
  padding: 5px;
  border-radius: 5px;
  width: 35px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border: none;
}

.ctrlBtn:hover,
.ctrlBtn:focus,
.ctrlBtn:active {
  background-color: var(--bvrk-basic-white);
  color: var(--bvrk-primary-blue);
}

.ctrlBtn span {
  font-size: 20px;
  display: inline-block;
}

.ctrlBtn.inactive {
  opacity: 0.2;
}

.hideToc {
  display:none !important;
}

.textBtn {
  width: auto;
  padding-left: 10px;
  padding-right: 10px;
}

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

.imageSimilarityLink {
  width: auto;
  padding: 0 8px;
}

.dropdown-menu.sub-dropdown {
  overscroll-behavior: contain;
}

.tooltip {
  z-index: 10100;
}

.hero-subtitle {
  padding-top: 19px;
  display: block;
  font-size: 75%;
  line-height: 100%;
}

.page-partners #sort-min + .row {
    margin-top: 40px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  .hidden-md {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .hero-subtitle {
    padding-top: 28px;
  }
}

#viewer3d {
  position: relative;
}

#viewer3d #metaData {
  top: 0;
}

#viewer3d #liPoi {
  display: none;
}

#viewer3d a#LowInst {
  /* color: white !important; */
  cursor: default;
  text-decoration: none;

  /*
  &:hover,
  &:active,
  &:focus {
    color: white !important;
  }
  */
}

#viewer3d #canvasContainer {
  text-align: center;
  background-color: var(--bvrk-basic-ghost-blue);
}

#viewer3d #canvasContainer #FallbackImg {
  width: initial !important;
  max-width: 100%;
  max-height: 700px;
}

.form-control.border-0.input-text.no-filter {
  padding-left: 25px;
}

#searchFunc {
  display: flex;
  font-size: 14px;
  line-height: 1;
  gap: 0 1px;
}

#searchFunc input {
  padding: 5px;
  height: 30px;
  border: none;
  background: var(--bvrk-basic-white) !important;
  width: 100%;
}

#searchFunc input:focus {
  border-radius: 0;
}

#searchFunc input:-webkit-autofill,
#searchFunc input:-webkit-autofill:hover,
#searchFunc input:-webkit-autofill:focus,
#searchFunc input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

#searchFunc > .ctrlBtn {
  width: 25px;
}

#searchFunc > #prevSnip {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#searchFunc > #nextSnip {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#search-func-group {
  display: flex;
  align-content: center;
}

#search-func-group .input-group-addon {
  display: flex;
  align-items: center;
  margin-left: 1px;
  padding: 5px 10px;
  height: 30px;
  background-color: var(--bvrk-basic-ghost-blue);
  line-height: 1;
}

#pageflip-slider {
  width: calc(100% - 250px);
  margin: -100px 160px 0 160px;
  bottom: 40px;
}

#pageflip-slider:hover {
  display: inline-block;
}

#book-viewer {
  position: relative;
  background-color: var(--bvrk-basic-ghost-blue);
}

#book-viewer.fullpage #pageflip-slider {
  margin: -200px 160px 30px 160px;
}

/* hide pageflip-slider on small devices */
@media(max-width: 767px){
  #book-viewer #pageflip-slider {
    display: none !important;
  }
}

.slider.slider-horizontal {
  background-color: rgba(var(--bvrk-basic-black-rgb), 0.5);
}

.slider.slider-horizontal .slider-handle {
  color: var(--bvrk-primary-blue);
  margin-top: 0;
. transition-duration(0.25 s);
}

.slider.slider-horizontal .slider-handle:hover {
  cursor: pointer;
}

.slider.slider-horizontal .slider-track {
  border-radius: 0;
}

.slider.slider-horizontal .match-tick {
  cursor: default;
  top: -10px;
  background-color: yellow;
  width: 3px;
  margin-left: -1.5px;
  height: 10px;
  position: absolute;
  border: 1px solid var(--bvrk-basic-black);
  border-bottom: none;
. transition-duration(0.25 s);
}

@media (max-width: 1200px) and (min-width: 768px) {
  #homeCarousel .carousel-inner {
    height: 780px;
  }
}
@media (max-width: 768px) {
  #homeCarousel .carousel-inner {
    height: 650px;
  }
}

@media (max-width: 359px) {
  #homeCarousel .carousel-inner {
    height: 570px;
  }
}

@media (min-width: 1200px) {
  #homeCarousel .carousel-inner{
    height: 450px;
  }
}

.slider.slider-horizontal .match-tick:hover {
}

.slider.slider-horizontal .tooltip.top {
  margin-top: -40px;
  padding: 5px 0;
  --bs-tooltip-padding-x: 0.4rem;
  margin-left: -10px;
}

.tooltip.tooltip-main {
  position: absolute;
}

.tooltip.tooltip-inner {
  margin-top: -10px;
}

.tooltip.top .tooltip-arrow {
  position: absolute;
  margin-left: 1px;
}

.tooltip.in {
  opacity: 0.9;
}

.directionButton {
  position: absolute;
  font-size: 20px;
  background-color: var(--bvrk-basic-ghost-blue);
  width: 40px;
  height: 100%;
  cursor: pointer;
  border: 0;
  top: 0;
  padding: 0;
}

.directionButton span {
  position: absolute;
  top: calc(50% - 10px);
  color: var(--bvrk-basic-dark);
  padding: 5px;
}

.directionButton.nextImage {
  right: 0;
}

.directionButton.nextImage span {
  right: 5px;
}

.directionButton.previousImage {
  left: 0;
}

.directionButton.previousImage span {
  left: 5px;
}

.directionButton:hover,
.directionButton:active,
.directionButton:focus,
.directionButton:visited {
  outline: 0;
  outline-style: none;
  outline-width: 0;
}

.directionButton:hover > span,
.directionButton:active > span,
.directionButton:focus > span,
.directionButton:visited > span {
  color: var(--bvrk-primary-blue);
}

.snipplet-highlight {
  position: absolute;
  background-color: yellow;
  opacity: 0.4;
}

.snipplet-container.snipplet-highlight {
  position: absolute;
  background-color: yellow;
  opacity: 0.4;
}

#language-switcher {
  cursor: pointer;
}

#language-switcher-mobile {
  cursor: pointer;
  margin-top: 48px;
}

.teaser {
  clear: both;
  padding: 20px;
  background-color: margin-bottom: 5px;
}

.teaser .sideImg {
  text-align: center;
}

.teaser .sideImg .imgLink .playIcon {
  position: absolute;
  width: 50px;
  height: 50px;
  font-size: 53px;
  text-align: center;
  left: calc(50% - 25px);
  top: calc(50% - 25px);
}

.teaser .sideImg:hover {
  color: @otherPossibleSearchHover;
}

.teaser img {
  max-height: 250px;
  max-width: 80%;
}

.teaser .info ul {
  list-style: none !important;
  display: inline-grid;
  padding-left: 0 !important;
  margin-bottom: 0;
}

.teaser span.fa {
  vertical-align: top;
  margin-top: 2px;
}

.teaser .objLink {
  margin-top: 20px;
}

.teaser-info-item {
  margin-top: 20px;
}

.teaser-info-item i {
  padding-right: 10px;
}

#audio-viewer,
#video-viewer {
  position: relative;
  width: 100%;
  min-height: 100px;
  background-color: var(--bvrk-basic-ghost-blue);
  text-align: center;
}

#book-viewer + #viewer-lowerbar,
#zoom-viewer + #viewer-lowerbar,
#audio-viewer + #viewer-lowerbar,
#video-viewer + #viewer-lowerbar {
  margin-bottom: 25px;
}

#video-viewer video {
  width: 100%;
  z-index: 10;
  display: block;
}

#audio-viewer {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,d6d6d6+50,000000+100&0.5+0,0+50,0.5+100
  background: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(214, 214, 214, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%);  FF3.6-15
  background: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(214, 214, 214, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%
  ); Chrome10-25,Safari5.1-6
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(214, 214, 214, 0) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );  W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#80000000',GradientType=1 ); IE6-9
  */
  background-color: var(--bvrk-basic-ghost-blue);
}

#audio-viewer .previewImage {
  max-width: 350px;
  max-height: 350px;
  margin: 20px 0 50px 0;
  -webkit-box-shadow: 0px 10px 16px 2px rgba(var(--bvrk-basic-black-rgb), 0.45);
  -moz-box-shadow: 0px 10px 16px 2px rgba(var(--bvrk-basic-black-rgb), 0.45);
  box-shadow: 0px 10px 16px 2px rgba(var(--bvrk-basic-black-rgb), 0.45);
}

#audio-viewer audio {
  width: 100%;
  z-index: 10;
  display: block;
  padding: 20px 5px;
  color: white;
}

section#text {
  padding-top: 20px;
}

.error-msg {
  color: red;
}

.home-slider-text {
  overflow: hidden;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .home-slider-text {
    -webkit-line-clamp: 5;
  }
}


.home-slider-text a {
  color: var(--bvrk-primary-blue-access);
}

.home-slider-text a:hover,
.home-slider-text a:focus,
.home-slider-text a:active {
  color: var(--bvrk-primary-medium-blue);
}

.home-slider-readmore {
  display: inline-block;
  text-align: right;
  float: right;
  margin-bottom: 16px;
  color: var(--bvrk-primary-blue-access);
}

.home-slider-readmore:hover,
.home-slider-readmore:focus,
.home-slider-readmore:active {
  color: var(--bvrk-primary-medium-blue);
}

.home-slider-readmore-link {
  text-align: right;
  /* margin-right: -.5rem; */
}

.js-link {
  text-decoration: none;
  color: var(--bvrk-primary-blue-access) !important;
}

@media (max-width: 1199px) {
    header .navbar .navbar-collapse {
        margin-right: 0 !important;
    }
}

@media (min-width: 1200px) {
    header .navbar .share-links.navbar-nav.menu-item .nav-item .dropdown-menu {
    	width: 100%;
    }
    header .navbar .share-links.menu-item .nav-item .nav-link img {
    	width: 24px;
    	height: 24px;
    }
    header .navbar .share-links.menu-item .nav-item .nav-link img + span {
        padding-top: 4px;
    }
    header .navbar .share-links.navbar-nav.menu-item {
    	margin-left: 15px;
    }
}

/* Fix for language switcher */
header .navbar .social-item .nav-item .nav-link:focus-visible {
	border: 1px solid transparent;
}

/* Set fix viewer height */
@media (max-width: 575px) {
    #book-viewer,
    #zoom-viewer,
    #video-viewer > video {
        height: auto !important;
        aspect-ratio: auto 16 / 9 !important;
    }
    #audio-viewer .previewImage {
        max-width: 50%;
        max-height: 50%;
    }
}

@media (min-width: 576px) {
    #book-viewer,
    #zoom-viewer,
    #video-viewer > video {
        width: 100%;
        height: 285.75px !important;
    }
    #audio-viewer .previewImage {
        max-width: 162px;
        max-height: 162px;
    }
}

@media (min-width: 768px) {
    #book-viewer,
    #zoom-viewer,
    #video-viewer > video {
        width: 100%;
        height: 387px !important;
    }
    #audio-viewer .previewImage {
        max-width: 263px;
        max-height: 263px;
    }
}

@media (min-width: 992px) {
    #book-viewer,
    #zoom-viewer,
    #video-viewer > video {
        width: 100%;
        height: 522px !important;
    }
    #audio-viewer .previewImage {
        max-width: 398px;
        max-height: 398px;
    }
}

@media (min-width: 1200px) {
    #book-viewer,
    #zoom-viewer,
    #video-viewer > video {
        width: 100%;
        height: 623.25px !important;
    }
    #audio-viewer .previewImage {
        max-width: 499px;
        max-height: 499px;
    }
}

@media (min-width: 1400px) {
    #book-viewer,
    #zoom-viewer,
    #video-viewer > video {
        width: 100%;
        height: 747px !important;
    }
    #audio-viewer .previewImage {
        max-width: 623px;
        max-height: 623px;
    }
}

/* lvg cookie styles - Begin */
#bayernAtlasCookieCheckbox {
  transform: scale(1.5);
}

label.bayernAtlasCookieCheckbox {
  font-weight: bold;
}

#allowBayernAtlas {
  color: var(--bs-white);
}

#lvgLink button {
  width: auto;
}

#lvgLink:hover button {
  background-color: var(--bvrk-basic-white);
}

.popover-padding-bs-container {
  /* 2. Wert = 100vw - var(--bs-gutter-x) + 2px */
  max-width: min( var(--bs-popover-max-width), calc(100vw - 30px));
}
/* lvg cookie styles - End */

/* Set prev and next buttons for viewer */
#book-viewer > .openseadragon-container {
  width: calc(100% - 80px) !important;
  margin: 0 auto !important;
}

/* Hide tooltips when the reference is hidden */
.tooltip[data-popper-reference-hidden] {
  visibility: hidden;
  pointer-events: none;
}

/**********************************************************************************
  * Custom styles - End
  **********************************************************************************/

/**********************************************************************************
  * CMS styles - Start
  **********************************************************************************/
.visualNav {
  width: 75%;
  margin: 20px auto 50px;
}

.visualNav li {
  position: relative;
  list-style: none;
  width: 100%;
  height: 250px;
  float: left;
  margin: 10px 1.5%;
  background-size: cover;
  overflow-y: hidden;
}

.visualNav li a.mainLink div.spacer {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.visualNav li a.mainLink span {
  z-index: 110;
  bottom: 0;
  text-align: center;
  left: 0;
  width: 100%;
}

.visualNav li a.mainLink span p {
  color: white !important;
}

.visualNav li a.secondaryLink {
  background-color: rgba(var(--bvrk-primary-blue-rgb), 0.7);
  padding: 5px;
  color: white;
  top: 7px;
  display: block;
  text-align: center;
  z-index: 120;
  position: absolute;
  left: 0;
  right: 0;
}

.visualNav li a.secondaryLink:hover {
   background-color: rgba(var(--bvrk-primary-blue-rgb), 0.9);
 }

.page-exhibition-detail .float-right {
  float: right;
  margin: 0 0 24px 24px;
}

.page-collection-detail .float-right {
  float: right;
  margin: 0 0 24px 24px;
}

.page-collection-detail .float-left {
  float: left;
  margin: 0 24px 24px 0;
}

.page-exhibition-detail .float-left {
  float: left;
  margin: 0 24px 24px 0;
}

.page-exhibition-detail .partner-featured-item {
  max-width: 250px;
}

@media (max-width: 575px) {
  .page-exhibition-detail .partner-featured-item {
    max-width: 100%;
  }
}

.page-exhibition-detail .masonryGrid{
    width: 100%;
    margin: auto;
}

.page-exhibition-detail .teaser .info h4{
 margin-top: 10px;
}

.articleSubSections {
  padding-left: 0px;
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  list-style: disc;
}
@media (min-width: 768px) {
  .articleSubSections {
    column-count: 2;
  }
}
@media (min-width: 1200px) {
  .articleSubSections {
    column-count: 3;
  }
}

.articleSubSections li {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  margin: 0 0 0 40px;
}

b,
strong {
  font-weight:bold;
}

.toDigital{
  float: right;
  font-size: 14px;
}

@media (max-width: 359px) {
  .toDigital{
    font-size: 9px;
  }
}
a.secondaryLink{
  width:100%;
  display: inline-block;
}

@media (max-width: 768px) {
  .flex-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .flex-div .float-right{
    margin: 0 24px 24px 24px;
    height: auto;
  }
}

.page-places .search-buttons-places-landingpage{
  margin-bottom: 88px !important;
}

@media (max-width: 767px) {
  .page-places .search-buttons-places-landingpage{
    margin-bottom: 80px !important;
  }
}

.visibility-hidden {
  visibility: hidden;
}

.page-collection-detail ul,
.page-partner-details ul {
  padding-left: 1rem;
  list-style-position: inside;
}

.page-partner-details h2 {
  font-size: 21px;
}

@media (min-width: 768px) {
  .page-partner-details h2 {
    font-size: 24px;
  }
}

@media (min-width: 1200px) {
  .page-partner-details h2 {
    font-size: 27px;
  }
}

/**********************************************************************************
  * CMS styles - End
  **********************************************************************************/


#thumbnailModal .nav-pills li a {
  padding:5px 10px
}

#thumbnailModal .nav-pills li a[href='#modalToc'] {
  display:none
}
#thumbnailModal #modalSearchForm input,
#thumbnailModal #modalSearchForm .input-group-text {
  border-color: var(--bvrk-basic-gray);
}
#thumbnailModal .modal-body {
  height:800px;
  overflow-y:scroll
}
#thumbnailModal .modal-footer {
  margin-top:0;
  padding:0 0 10px
}
#thumbnailModal #modalSnipplets h5 {
  font-weight:bold
}
#thumbnailModal #modalSnipplets img-thumbnail {
  margin-bottom:0
}
#thumbnailModal #modalSnipplets em {
  background-color: #fff500;
}
#thumbnailModal .snippletText p {
  font-size:12px;
  padding:5px 0;
  cursor:pointer;
  -webkit-border-top-right-radius:4px;
  -webkit-border-bottom-right-radius:4px;
  -webkit-border-bottom-left-radius:4px;
  -webkit-border-top-left-radius:4px;
  -moz-border-radius-topright:4px;
  -moz-border-radius-bottomright:4px;
  -moz-border-radius-bottomleft:4px;
  -moz-border-radius-topleft:4px;
  border-top-right-radius:4px;
  border-bottom-right-radius:4px;
  border-bottom-left-radius:4px;
  border-top-left-radius:4px;
  -moz-background-clip:padding-box;
  -webkit-background-clip:padding-box;
  background-clip:padding-box
}
#thumbnailModal .snippletText p:hover {
  background:rgba(var(--bvrk-basic-black-rgb),0.1)
}
#thumbnailModal #modalToc img-thumbnail {
  max-width:100%
}
#thumbnailModal #modalToc > div:last-child,
#thumbnailModal #modalSnipplets > div:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
#thumbnailModal #modalToc > div > div:first-child {
    max-width: 125px;
}
#thumbnailModal .preloadImage {
  display:block;
  position:relative;
  top:50%;
  margin-top:-23px;
  left:50%;
  margin-left:-17px;
  font-size:30px;
  color:rgba(var(--bvrk-basic-black-rgb),0.3)
}
.page-preview {
  width: auto;
  max-height: 160px;
  display: inline-block;
}

.page-preview img {
  /*opacity: 0;*/
  transition: opacity .3s ease-in;
  margin: auto;
  width: 100%;
}

#modalThumbnails.active, #modalSnipplets.active, #modalToc.active{
  display:flex;
}
a.img-thumbnail:hover,a.img-thumbnail:focus,a.img-thumbnail.active {
  border-color: var(--bvrk-primary-blue);
}
a.img-thumbnail{
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
/* Famous bavarians card animation */
.card-container {
  position: relative;
  height: 100%;
  width: 100%;
}
.card-item {
  width: 100%;
  height: 100%;
}
.card-item > div {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bvrk-basic-white);
  transition: all 0.7s ease-in-out;
}

.cursor-pointer {
  cursor: pointer;
}

.leaflet-attribution-link {
    font-size: 0.75rem !important;
    font-weight: normal !important;
}

.leaflet-attribution-link i {
  font-size: 0.75rem !important;
}

/* Simple search input */
#searchFormHero .simple-search-form label {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  padding-left: 25px;
  color: rgba(var(--bvrk-basic-dark-rgb),.7);
}

#searchFormHero .simple-search-form input {
  padding-left: 24px;
  padding-right: 60px;
  border-color: var(--bvrk-basic-dark) !important;
  height: 60px;
}

#searchFormHero .simple-search-form .search-button {
  position: absolute;
  right: 0;
  z-index: 6;
  height: 60px;
}

#search_form .simple-search-form label {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  padding-left: 55px;
  color: rgba(var(--bvrk-basic-dark-rgb),.7);
}

@media (min-width: 360px) {
  #searchFormHero .simple-search-form label,
  #search_form .simple-search-form label {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }
}

@media (min-width: 768px) {
  #searchFormHero .simple-search-form label,
  #search_form .simple-search-form label {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }
}

@media (min-width: 992px) {
  #searchFormHero .simple-search-form label,
  #search_form .simple-search-form label {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

#search_form .simple-search-form .bi-search::before {
  margin-top: -3px;
}

#search_form .simple-search-form .input-group-text {
  padding: 0;
  position: absolute;
  left: 35px;
  z-index: 6;
  height: 60px;
  background-color: transparent;
  border: none;
}

#search_form .simple-search-form .form-floating > .form-control {
  padding-left: 55px;
}

#search_form .simple-search-form .form-floating > .form-control:focus~label,
#search_form .simple-search-form .form-floating > .form-control:not(:placeholder-shown)~label {
  opacity: .65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.55rem);
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal {  display: none; width : 0; height: 0; }

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
/* Simple search input - End */

/* bavarikon4u icon */
.icon-bav4u {
  width: 24px;
  height: 24px;
}

.icon-bav4u-offcanvas {
  width: 28px;
  height: 28px;
}

.link-bav4u-offcanvas {
  /* margin-bottom: 30px; */
}

@media(max-width: 991px) {
  .link-bav4u {
    margin-top: -4px;
  }
}

