/*
a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}
*/

:root {
    --misch--color-focus: #DEC8A0;
}
html {
    scroll-padding-top:40vh!important;
}
body {
    -webkit-font-smoothing: antialiased;
}

header, footer {
    box-shadow: 0 1.15px 3.4px -0.1px rgba(0,0,0, 0.01),
    0 2px 5.9px -0.1px rgba(0,0,0, 0.02),
    0 3px 9.1px -0.2px rgba(0,0,0, 0.025),
    0 4.5px 13.2px -0.2px rgba(0,0,0, 0.035),
    0 6.5px 19.6px -0.3px rgba(0,0,0, 0.04),
    0 10px 28.8px -0.4px rgba(0,0,0, 0.045);
    position:relative;
    z-index:100;
}

h1>span, h2>span, h3>span, h4>span {
    font-weight: normal;
    font-size:smaller;
}


@media (forced-colors: active), (prefers-contrast: more), (prefers-contrast: high), (prefers-reduced-motion: reduce) {
    /* Focus-Styles */
    :where(.wp-site-blocks *:focus) {
        outline-width: 2px;
        outline-style: solid;
        outline-color: var(--misch--color-focus);
    }
}
/* just not to forget */
.misch-focus, :focus-visible {
    outline: none;
}

:where(.wp-block-search .wp-block-search__input):focus-visible {
    outline: none;
    box-shadow:  0 0 4px 1px var(--misch--color-focus);
}


.otgs-development-site-front-end{display:none}


.hero-box-target a.misch-container-is-link {
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 11;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=);
}


/* Button Style-Varianten-Handling (solange noch nicht über JSON Styles regelbar) */
div.wp-block-button.is-style-secondary>a:hover,
div.wp-block-button.is-style-ghost>a:hover {
    background-color: color-mix(in srgb, currentColor 7%, transparent);
}
div.wp-block-button.is-style-secondary>a:active,
div.wp-block-button.is-style-ghost>a:active {
    background-color: color-mix(in srgb, currentColor 20%, transparent);
}
div.wp-block-button.is-style-ghost>a:hover,
div.wp-block-button.is-style-ghost>a:active {
    border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

div.wp-block-button>a>i, div.wp-block-button>a>svg {
    margin-right: 0.25em;
}
div.wp-block-button>a:has(> i), div.wp-block-button>a:has(> svg) {
    padding-left: 1.25em;
}




/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
    text-wrap: pretty;
}


/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
    display: block;
}



.hideme {
    display: none !important;
}

/* Hide on Mobile */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* Hide on Desktop */
@media (min-width: 769px) {
    .hide-on-desktop {
        display: none !important;
    }
}


.has-link-arrow::after {
    content: " \2192";
    display: inline-block;
    margin-left: 5px;
    font-size: 1em;
    color: var(--wp--preset--color--text-color);
}


/* labemi Add Ons */
.lbm_zoom {
  transition: transform ease-out .2s, box-shadow ease-out .2s;
  transform: perspective(1px) scale(0.95);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.lbm_zoom:hover {
    transform: perspective(1px) scale(1);
    /* box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2)!important; */
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
}

.lbm_grayscale > img {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(80%); /* Chrome 19+ & Safari 6+ */
  transition: filter ease-out .4s, -webkit-filter ease-out .4s;
}

.lbm_grayscale:hover > img {
  filter: none;
  -webkit-filter: grayscale(0%) !important;
}


.misch-block-calendar-icon {
    display: block;
    width: 50px;
    min-width: 50px;
    text-align: center;
    border-radius: 2px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: var(--wp--preset--color--base);
    padding: 0;
    line-height:1;
}

/* Month (Header) */
.calendar-header {
    background: var(--wp--preset--color--brand-red);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 0;
}

/* Day (Big Centered) */
.calendar-day {
    font-size: 1.4rem;
    font-weight: bold;
    padding: 3px 0 0 0;
    color: var(--wp--preset--color--contrast);
}

/* Year (Bottom) */
.calendar-year {
    font-size: 0.6rem;
    padding: 1px 0 4px 0;
    color: var(--wp--preset--color--text-color);
    text-transform: uppercase;
}

/* Ensure that Gutenberg does not override the styling */
.editor-styles-wrapper .misch-block-calendar-icon time {
    background: none !important;
}

/* Remove default styling */
.misch-block-calendar-icon time::before,
.misch-block-calendar-icon time::after {
    content: none !important;
}

ul.is-style-checkmark-list li::marker {
    color: var(--wp--preset--color--brand-green);
}

/* Adjust for Gutenberg editor */
.editor-styles-wrapper .misch-block-calendar-icon time {
    background: none !important;
}

/* H2 Underline */
main .misch-underline-header::after,
main h2:not(.no-underline)::after {
  content: "";
  display: block;
  width: 3em;
  padding-top: 5px;
  border-bottom: 0.1em solid var(--wp--preset--color--brand);
  margin-bottom: 0.5em;
}
main h2.has-text-align-center:not(.no-underline)::after {
  margin-left:auto;
  margin-right: auto;
}

footer .misch-underline-header::after,
footer h2:not(.no-underline)::after {
  content: "";
  display: block;
  width: 2.5em;
  padding-top: 5px;
  border-bottom: 0.2em solid var(--wp--preset--color--brand);
  margin-bottom: 0.5em;
}


/* Scroll top top */
.scroll-to-top {
    position: fixed;
    right: 0px;
    bottom: 20px;
    padding-top: 0.625em;
    padding-right: 1.55em;
    padding-bottom: 0.625em;
    padding-left: 1em;
    background: var(--wp--preset--color--brand);
    border: 1px solid var(--wp--preset--color--brand);
    border-right: none;
    color: var(--wp--preset--color--base);
    cursor: pointer;
    font-size: var(--wp--preset--font-size--small);
    transition: all 0.3s;
    box-shadow: var(--wp--preset--shadow--natural);
    text-transform: uppercase;
    z-index:247;

    opacity: 0;
    transform: translateY(20px);
}
.scroll-to-top:hover {
    background: var(--wp--preset--color--brand-lighter);
}

.scroll-to-top svg.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    vertical-align: -0.5em;
    padding-bottom: 0.1em;
    padding-right: 0.5em;
}

.scroll-to-top.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top.hide {
    opacity: 0;
    transform: translateY(20px);
}

