h1, h2, h3, h4, h5, h6 {
  text-transform: none;
}

.wp-block-template-part {
  margin-block-start: 0;
}

.wp-site-blocks {
  padding-top: 0;
}

.has-global-padding {
  padding-top: 15px;
  margin-top: 0px;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

/* regarding header-info */
/*
.headersticky {
  top: 90px;
  right: 30px;
  font-size: 15px;
  position: absolute;
  z-index: 50;
  background-color: rgba(255,255,255,0.0);
  color: #152654;
}

.headersticky > .infoheader {
  font-size: 1em;
  background-color: rgba(255,255,255,0.0) !important;
  color: #152654!important;
}
*/

/* .infoheadercompact */
.infoheadercompact {
  top: 0px;
  right: 30px;
  position: fixed;
  z-index: 50;
  font-size: 1.5em;
  background-color: #f7f5f34d;
}

header.wp-block-template-part {
  margin-block-start: 0;
}

.wp-block-heading {
  text-transform: none;
}

div.infoheader {
  row-gap: 0;
}


/* further styles */
/*
figure.wp-block-post-featured-image > .alignright {
  float: right !important;
}
*/

/* div.wp-block-column  */

.archive figure.wp-block-post-featured-image {
  float: right !important;
  display: inline;
}

/*
.single figure.wp-block-post-featured-image,
.page figure.wp-block-post-featured-image {
  float: right !important;
  width: 40%;
  display: inline;
  margin-top: 0px;
  margin-left: 10px;
}
*/


.wp-block-post-content {
  display: inline;
}
/*
.wp-block-post-featured-image:where(.alignleft,.alignright) {
  width: auto !important;
}
*/

nav {
  margin-block-start: 0.5rem;
  width: auto;
}

.boxzilla-center {
  border-radius: 10px;
}


main, .home > div.wp-site-blocks > div.wp-block-group {
  background-color: #e2dcd6;      
}

.avbox {
  height: 300px;
}

img {
  border: 0px solid transparent;
}

.wp-block-post-title, h1, .wp-block-heading {
  color: #85754e;
  font-family: Merienda;
  font-size: 2.3em !important;
}

/* Overview Aktuelles */
h2.wp-block-post-title {
  font-size: 2em !important;
}

.tnp-subscription .tnp-field-button input.tnp-submit {
  border-radius: 10px;
  background-color: #152654;
  text: #e7e1da;
}

h1 {
  margin-bottom: 0;
}

.invisible {
  display: none;
  visibility: hidden;
}

/* Zitat */
blockquote.zitat:before {
  position: absolute;
  content: open-quote;
  font-size: 4em;
  margin-top: -1em;
}

/* contact form 7 
.wpcf7 {}
.wpcf7-form {}
.wpcf7-textarea {}
.wpcf7 input {}
*/
.wpcf7 {
  width: 100%;
}

.wpcf7 textarea, .wpcf7 input {
  background: #f7f7f7;
  border: 1px solid #c4c4c4;
  border-radius: 0;
  box-shadow: none;
  color: #787878;
  transition: all .5s;
  font-size: 16px;
  margin: 4px;
  width: 100%;
}

.wpcf7 input::placeholder, .wpcf7 textarea::placeholder {
    padding: 6px;
}

.wpcf7 input {
    height: 2em; /* 24px; */
}

.wpcf7 .wpcf7-select {
    height: 2em;
}

.wpcf7 .wpcf7-submit {
    height: 3em;
    font-weight: bold;
}

/* active navigation */
.current-menu-item {
    font-style: italic;
}

/* das submenu popup ist nicht erreichbar durch einen zu grossen gap */
.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    top: 90% !important;
}

.wp-block-navigation .has-child .wp-block-navigation-submenu_toggle[aria-expanded=true]~. wp-block-navigation_submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation_submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation_submenu-container {
    min-width: 300px !important:
}


/* Copy-Functionality */
.copy-data {
    position: relative;
}
.copy-message {
	top: 0px;
	left: 100%;
	margin-bottom: 0px;
	transform: translate(0%, 0%);
	position: absolute;
	display: none;
	width: auto;
	white-space: nowrap;
	font-size: 12px;
	background-color: black;
	color: white;
	padding: 2px 6px;
	border-radius: 2px;
	z-index: 100;
        cursor: pointer;
	&:after,
	&:before {
		content: '';
	}
}
.copy-data:hover .copy-message,
.copy-data:focus .copy-message,
.copy-data:focus-within .copy-message {
    display: block;
}

/* DSGVOGOOGLEMAP */
.dsgvogooglemap-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
}
.dsgvogooglemap-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.dsgvogooglemap-mask {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #152654;
    color: white;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.dsgvogooglemap-text {
    padding-top: 10px;
    font-size: 200%;
}
#dsgvogooglemap-btn {
    margin-top: 20px;
    font-size: 150%;
    background-color: #e2dcd6;
    color: #152654;
    cursor: pointer;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}
.dsgvogooglemap-google {
    margin-top: 2em;
    text-align: center;
}
.wp-block-post-content div.dsgvogooglemap-google a {
    color: white;
}

/* opening hours */
table.opho {
  border-collapse: collapse; 
}
table.opho td, table.opho th {
  padding: 0px 20px 0px 0px;
  text-align: left;
}
table.opho tbody, table.opho thead {
  border-bottom: 1px #152654 solid;
}

.lightweight-accordion .lightweight-accordion-title {
  border-radius: 8px;
  background-color: #85754e;
  color: #152654;
  
}
.lightweight-accordion .lightweight-accordion-title span {
  font-weight: bold;
}

/* Gallery */
.wp-block-b-blocks-image-gallery .imgGalleryWrapper a.imgGalleryImgLink .imgGalleryImgCaption .imgGalleryPreviewBtn {
  background-color: #152654;
}

.wp-block-b-blocks-image-gallery .imgGalleryWrapper a.imgGalleryImgLink .imgGalleryImgCaption .imgGalleryPreviewBtn:hover {
  background-color: #85754e;
}

/* fixes to twentytwentythree */

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
  height: 32px;
  width: 32px;
}
.wp-block-navigation__responsive-container.is-menu-open {
  padding: 6px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: calc(2rem + 10px);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  padding-top: 4px;
}

/*
.wp-block-navigation__responsive-container-content {
  top: 5em;
}
*/

.wp-block-site-logo {
  display: inline-block;
  max-width: 214px;
  max-height: 66px;
}
.wp-block-site-logo custom-logo {
  max-width: 100%;
  height: auto;
}


/* menue kicks in at < 600px */
@media screen and ( max-width: 600px ) {
  .headright {
    font-size: 2.8vw;
  }
  .avetal {
    font-size: 2.8vw;
  }
  .infoheadercompact {
    top: 0px;
    right: 0px;
    position: fixed;
    z-index: 50;
    font-size: 1.2em;
    background-color: #f7f5f34d;
  }

}


/* footer adjustments */
main, div.wp-site-blocks > div.wp-block-group-is-layout-constrained {
  padding-bottom: 2em;
}
footer {
  margin-top: 0px;
}

footer div.wp-block-group {
  padding-bottom: 0px;
}
footer div.has-global-padding {
  padding-top: 0px;
}

/* div.wp-site-blocks .wp-block-group-is-layout-constrained {
  padding-bottom: 2rem;
} */


.grecaptcha-badge { visibility: hidden; }

/* aktuelles widget on home */
.wp-block-latest-posts.wp-block-latest-posts__list {
  list-style: disc;
  margin-left: 1em;
}


/* checks instead of bullets on li-check */
.li-check {
    list-style: none;
    padding-left: 1.5em;}
.li-check li {
    position: relative;
    margin-bottom: 0.5em;
}
.li-check li::before {
    content: "✔";
    position: absolute;
    left: -1.2em;
    color: green;
    font-weight: bold;
}

/* searchbar crazyiness */
.wp-block-search__inside-wrapper .wp-block-search__button.has-medium-font-size {
  padding: 0;
  font-size: var(--wp--preset--font-size--small) !important;}

.wp-block-search__inside-wrapper {
  height: 1.8em;
}

.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  border: 1px solid var(--wp--preset--color--secondary) !important;
  border-radius: 10px;
}

div.wp-block-template-part .wp-block-columns.is-layout-flex {
  gap: 0rem;
}

/* Gallery */

.foogallery .fg-caption-title {
  height: auto !important;
  text-wrap: auto;
}

.foogallery.fg-border-thin .fg-item-inner {
  border-width: 0px !important;
  filter: drop-shadow(2px 2px 2px #85754e);
}

.foogallery.fg-light.fg-shadow-outline .fg-item-inner {
  box-shadow: 0 0 0 0 !important;
}

/* Figurkompass */

.input-email, .input-text, .button {
  height: 2em;
}