/*
Theme Name: Hohnstorfer Geschichten
Description: Theme for Hohnstorfer Geschichten by Tabulor
Version: 1.8.24
Author: Tabulor
Author URI: https://tabulor.de/
Template: enfold
*/

@import "fonts.css";

/* ===== Normalize ================================================================================ */
/* Remove blue active box when tapping on mobile */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

/* ===== Grid + Layout ================================================================================ */
@media only screen and (max-width: 767.98px) {
  .responsive #top #wrap_all .container {
    width: 92%;
    max-width: 92%;
  }
}
footer#socket .container {
  max-width: 100%;
}
/* ----- Extra style for centered columns with flex machine ----- */
#top .centered-columns .entry-content-wrapper,
#top .centered-columns .entry-content-wrapper .flex_column_table {
  display: flex;
  justify-content: center;
}

/* ===== Typography ================================================================================ */
body {
  font-family: 'Lato',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing: auto;
}
h1, h2, h3, h4, h5, p, .entry-content {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  -webkit-hyphenate-limit-before: 4; /* For Safari */
  -webkit-hyphenate-limit-after: 5; /* For Safari */
  -ms-hyphenate-limit-chars: 10 4 5;
  hyphenate-limit-chars: 10 4 5;
}

h1, h2, h3, h4, h5, h6 {
  text-align: left;
  letter-spacing: -0.025em;
  text-transform: none;
}
h1 {
  font-size: 2.4em;
  line-height: 1.1em;
}
@media only screen and (min-width: 768px) {
  h1 {
    font-size: 2.6em;
  }
}
@media only screen and (min-width: 990px) {
  h1 {
    font-size: 2.8em;
  }
}
h2 {
  font-size: 1.8em;
  line-height: 1.1em;
}
@media only screen and (min-width: 768px) {
  h2 {
    font-size: 2.0em;
  }
}
@media only screen and (min-width: 990px) {
  h2 {
    font-size: 2.2em;
  }
}
h3 {
  font-size: 1.0em;
  line-height: 1.1em;
}
@media only screen and (min-width: 768px) {
  h3 {
    font-size: 1.1em;
  }
}
@media only screen and (min-width: 990px) {
  h3 {
    font-size: 1.2em;
  }
}
.entry-content p, main p, .avia_textblock p {
  font-family: 'Gelasio',Georgia,Times,'Times New Roman',serif;
  margin: 1.6em 0;
}
.entry-content ol, main ol, .entry-content ul, main ul {
  font-family: 'Gelasio',Georgia,Times,'Times New Roman',serif;
  margin: 1.6em 0;
}
.entry-content ol li, main ol li {
  margin-left: 1.8em;
}
#top p a, #top pre a {
  text-decoration: underline;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
figcaption {
  padding: 4px;
  margin-top: 8px;
  font-size: 0.9em;
  line-height: 1.3em;
  color: #4b4b47;
  text-align: left;
}
.wp-block-image > a, .wp-block-image > figure > a {
  overflow: clip !important;
}
.main_color strong {
  color: var(--enfold-main-color-color);
}
pre {
  display: inline-block;
  width: auto;
  border-radius: 3px;
  font-size: 0.75em;
  line-height: 1.4em;
  margin: 30px 0;
  padding: 0.9em 1.2em 1em 1.2em;
  background: var(--enfold-alternate-color-bg);
}
.main-color pre {
  border-color: var(--enfold-alternate-color-border);
}
pre:first-child {
  margin-top: 0;
}
p sup {
  line-height: 1em;
  color: inherit;
}
p sup::before {
  content: "[";
}
p sup::after {
  content: "]";
}
#top p sup a {
  text-decoration: none;
}

/* ===== Basics ================================================================================ */
body figure {
  margin: 1.6em 0;
}
a .image-overlay {
  display: none !important;
  opacity: 0 !important;
}
#top hr.wp-block-separator {
  border-top: 1px solid var(--enfold-alternate-color-meta);
  width: 60%;
  margin: 2.4em auto;
}
.entry-content-wrapper a:hover .aligncenter, body .aligncenter {
  margin: 1.6em 0;
  padding: 0;
}
.wp-block-image.aligncenter {
  margin-right: auto;
  margin-left: auto;
}
.avia-buttonrow-wrap, .avia-button-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 0;
}
@media only screen and (min-width: 768px) {
  .avia-buttonrow-left, .avia-button-left {
    justify-content: flex-start;
  }
}
/* ----- Scroll Top Link ----- */
#scroll-top-link {
  display: none;
}
#scroll-top-link {
  border-radius: 5px;
  width: 54px;
  bottom: 120px;
}
#scroll-top-link:hover {
  color: 1px solid var(--enfold-socket-color-color);
  border: 1px solid var(--enfold-socket-color-color);
}
#scroll-top-link.avia-svg-icon:hover svg:first-child {
  stroke: var(--enfold-socket-color-color);
  fill: var(--enfold-socket-color-color);
}
#scroll-top-link.avia-svg-icon svg:first-child {
  height: 28px;
  margin-top: 10px;
}

/* ===== Header ================================================================================ */
.logo img, .logo svg {
  max-width: 90%;
}

/* ----- Main Navigation ----- */
.av-main-nav > li > a {
  font-size: 20px;
}
@media only screen and (max-width: 989.98px) {
  .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a,
  .responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
    padding: 0 8px 0 8px;
  }
}
@media only screen and (max-width: 989.98px) {
  .html_mobile_menu_tablet .header_color div .av-hamburger-inner, .html_mobile_menu_tablet .header_color div .av-hamburger-inner::before, .html_mobile_menu_tablet .header_color div .av-hamburger-inner::after {
    background-color: var(--enfold-header_burger_color);
  }
}
.av-hamburger-inner {
  margin-top: -5px;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
  font-size: 1.2em;
}

/* ===== Footer ================================================================================ */
#socket {
  font-size: 0.8em;
  padding-bottom: 20px;
  border-color: transparent;
}
@media only screen and (min-width: 768px) {
  #socket {
    padding-bottom: 40px;
  }
}
#socket .container {
  border-top: 1px solid var(--enfold-socket-color-border);
}
#socket .sub_menu_socket li a {
  line-height: 1.5em;
}
#socket .sub_menu_socket li {
  padding: 0 12px;
}
#socket .sub_menu_socket li:first-child {
  padding-left: 10px;
}

/* ===== Content ================================================================================ */

.wp-block-image img {
  border-radius: 3px;
}
/* ----- Footnotes ----- */
ol.wp-block-footnotes {
  margin-top: 3em;
  border-top: 1px solid var(--enfold-main-color-border);
  padding: 1.2em 0;
  font-size: 0.9em;
  line-height: 1.6em;
}
@media only screen and (max-width: 767.98px) {
  .wp-block-footnotes li a {
    font-weight: 600;
  }
}
/* ----- Sources, Quellen ----- */
pre {
  color: #25507a;
  font-size: 0.8em;
}
pre.wp-block-preformatted:last-child {
  margin-top: 3em;
}

/* ----- Grid Contents -------------------------------------------------- */
.av_one_third h3 {
  font-size: 1em;
}
.avia-image-container.avia-align-center {
  margin-bottom: 16px;
}

/* ----- Tables -------------------------------------------------- */
.main_color table {
  background: var(--enfold-main-color-bg);
}
.main_color tr:nth-child(2n+1) {
  background: var(--enfold-main-color-bg);
}
.main_color tr:nth-child(2n) {
  background: var(--enfold-main-color-bg);
}
.wp-block-table table td, .wp-block-table table th {
  padding: 0.8em 0.5em;
  font-size: 1.4em;
  line-height: 1.5em;
  border-color: var(--enfold-main-color-border);
  border-top-color: var(--enfold-main-color-color);
  border-bottom-color: var(--enfold-main-color-color);
}
.main_color table caption, .main_color tr:nth-child(2n) {
  color: var(--enfold-main-color-color);
}

/* ----- Buttons -------------------------------------------------- */
.avia-button.avia-size-large {
  padding: 16px 48px;
}
#top .avia-button .avia_iconbox_title {
  vertical-align: baseline;
}
#top .avia-button .avia_button_icon {
  vertical-align: text-bottom;
}
#top .avia-button.avia-color-theme-color {
  border: 2px solid #444 !important;
  border-radius: 10em;
  background-color: transparent;
  color: var(--enfold-main-color-color);
  transition: all 0.4s ease-in-out !important;
}
#top .avia-button.avia-color-theme-color:hover, #top .avia-button.avia-color-theme-color:active {
  border-color: #000 !important;
  background-color: rgba(255, 255, 255, 0.6);
}

/* ----- Theme Lightbox -------------------------------------------------- */
img.mfp-img {
  object-fit: contain;
}
figure.wp-lightbox-container button:focus {
  outline: 0 none;
}
.mfp-content figcaption {
  padding: 0;
  margin-top: 0;
}

/* ----- Tooltip Images -------------------------------------------------- */
.avia-tooltip {
  width: auto;
  max-width: 400px;
  background-color: #fff;
  text-align: left;
}
.avia-tooltip .inner_tooltip {
  padding: 0 6px 4px 4px;
}
.avia-tooltip h3, .av-hotspot-fallback-tooltip h3 {
  font-size: 0.8em;
}
.avia-tooltip h3:only-child, .av-hotspot-fallback-tooltip h3:only-child {
  margin-bottom: 0;
}
.avia-tooltip p, .av-hotspot-fallback-tooltip p {
  font-size: 0.8em;
}
.avia-tooltip .avia-arrow {
  background-color: #fff;
}
.av-tt-pos-above.av-tt-align-left .avia-arrow-wrap, .av-tt-pos-below.av-tt-align-left .avia-arrow-wrap {
  margin-left: 14px;
}
.av-tt-pos-above.av-tt-align-right .avia-arrow-wrap, .av-tt-pos-below.av-tt-align-right .avia-arrow-wrap {
  margin-right: 15px;
}
.av-hotspot-container .av-image-hotspot {
  height: 20px;
  width: 20px;
  margin: -10px 0 0 -10px;
}
.av-hotspot-container .av-image-hotspot-pulse {
  top: -10px;
  left: -10px;
}
@media only screen and (min-width: 990px) {
  .responsive .av-image-hotspot {
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 18px;
    font-weight: 800;
  }
  .responsive .av-image-hotspot-pulse {
    height: 60px;
    width: 60px;
  }
}
.av-hotspot-fallback-tooltip div.avia-arrow, .main_color .av-hotspot-fallback-tooltip-count, .main_color .av-hotspot-fallback-tooltip-inner {
  background-color: #fff;
}
.av-hotspot-fallback-tooltip-count {
  font-size: 0.8em;
  line-height: 38px;
}

/* ----- Pages List -------------------------------------------------- */
#top .page-list .avia-link-column {
  padding: 18px 20px;
  background-color: var(--enfold-alternate-color-bg);
  border-radius: 5px;
}

/* ----- Topics List -------------------------------------------------- */
#top .topic-list .avia-link-column p {
  margin-top: 0.5em;
}

/* ----- Gallerys -------------------------------------------------- */
#top .av-large-gap.av-flex-size .av-masonry-entry .av-inner-masonry {
  margin-right: 20px;
  margin-bottom: 20px;
}
#top #wrap_all .avia-gallery .avia-gallery-thumb a {
  padding: 8px;
}
#top div .avia-gallery img {
  padding: 0;
}

/* ----- Masonry Gallerys -------------------------------------------------- */
.avia_desktop .av-hover-overlay-active .av-masonry-image-container {
  opacity: 1;
}
.main_color .container .av-inner-masonry-content, #top .main_color .container .av-masonry-load-more, #top .main_color .container .av-masonry-sort, .main_color .container .av-masonry-entry .avia-arrow {
  background-color: transparent;
}
.av-masonry-entry .av-inner-masonry-content {
  padding: 0;
}

/* ----- Image in Text Block with Caption -------------------------------------------------- */
div .wp-caption {
  border: 0 none;
  font-size: 1em;
  font-style: normal;
  margin: 3em 0 3.5em 0;
}
#top .wp-caption.aligncenter {
  margin: 3em auto 3.5em auto;
}
#top .wp-caption .wp-caption-dd, .wp-caption-text, p.wp-caption-text {
  display: block;
  padding: 4px;
  margin-top: 8px;
  font-family: 'Lato',Helvetica,Arial,sans-serif;
  font-size: 0.9em;
  font-style: normal;
  line-height: 1.3em;
  color: #4b4b47;
  text-align: left;
}

/* ===== Blog ================================================================================ */

/* ----- Blog Grid -------------------------------------------------- */
#top a.more-link {
  text-decoration: underline;
  text-transform: lowercase;
}
div .av_one_third {
  margin-left: 2%;
  width: 32%;
}
.avia-content-slider article {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background-color: var(--enfold-alternate-color-bg);
  border-radius: 5px;
}
.avia-content-slider .slide-entry-wrap {
  margin-bottom: 0;
}
@media only screen and (max-width: 767.98px) {
  .responsive #top #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
  }
  .responsive #top #wrap_all .avia-content-slider .flex_column {
    margin: 20px 0;
  }
  .responsive #top #wrap_all .avia-content-slider.avia-content-slider-even .slide-entry.slide-parity-odd, .responsive #top #wrap_all .avia-content-slider.avia-content-slider-odd .slide-entry.slide-parity-even {
    margin: 20px 0;
  }
}
/* ----- Blog Page Overview -------------------------------------------------- */
.avia-content-slider .slide-image {
  margin-bottom: 12px;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
  font-size: 1.10em;
  line-height: 1.6em;
}
#top .fullsize .template-blog .post-title {
  max-width: 100%;
  margin: 0;
  font-size: 1.6em;
  text-align: left;
  letter-spacing: -0.025em;
  text-transform: none;
  line-height: 1.1em;
}
@media only screen and (min-width: 768px) {
  #top .fullsize .template-blog .post-title {
    font-size: 2.0em;
  }
}
@media only screen and (min-width: 990px) {
  #top .fullsize .template-blog .post-title {
    font-size: 2.5em;
  }
}
#top .fullsize .template-blog .post-meta-infos {
  text-align: left;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
  text-align: left;
  max-width: 100%;
}

/* ----- Blog Single Post -------------------------------------------------- */
.single-post main.content {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media only screen and (max-width: 767.98px) {
  .single-post main.content {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
#top.single-post .fullsize .template-blog .post_delimiter:empty {
  display: none;
}
.single-post .entry-content-header {
  margin-bottom: 3em;
}
.single-post h2 {
  font-size: 1.25em;
}
@media only screen and (min-width: 768px) {
  .single-post h2 {
    font-size: 1.6em;
  }
}
@media only screen and (min-width: 990px) {
  .single-post h2 {
    font-size: 1.8em;
  }
}
.entry-content .alignwide {
  transition: margin 0.4s ease-in-out;
}
@media only screen and (min-width: 1200px) {
  .entry-content .alignwide {
    margin-left: -100px;
    margin-right: -100px;
  }
}
.entry-content .alignfull {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  width: 100vw;
}
figure.wp-block-image, figure.wp-block-gallery {
  margin: 3em 0 3.5em 0;
}

/* ----- Media and Text ----- */
@media only screen and (max-width: 599.98px) {
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 0;
  }
}

/* ----- Related Posts ----- */
.related_posts {
}
.related_posts .related_entries_container {
  display: flex;
  flex-flow: row wrap;
}
#top .av-related-style-full .related_column {
  width: 33.3333332%;
}
#top .av-related-style-full .related_image_wrap, #top .av-related-style-full .related_image_wrap .related_posts_default_image, #top .av-related-style-full .related_image_wrap img {
  width: 180px;
  height: 180px;
  border-radius: 3px;
}
#top .av-related-style-full .related_image_wrap {
  display: block;
}
#top .av-related-style-full .related-format-icon {
  display: none;
}
#top .av-related-style-full .av-related-title {
  display: block;
  padding: 5px 0;
}

/* ----- Entry Footer ----- */
.av-social-sharing-box {
  margin: 0;
}

/* ===== Pages ================================================================================ */
.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
  text-transform: none;
  letter-spacing: -0.025em;
  line-height: 1.1em;
}
.modern-quote .av-special-heading-tag {
  font-weight: 700;
}
@media only screen and (min-width: 768px) {
  #top #main #av_section_1 .template-page {
    margin-top: 40px;
  }
}

/* ----- Blog Overview Content Slider -------------------------------------------------- */
.avia-content-slider .slide-image img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
}
.avia-content-slider .slide-meta {
  font-size: 0.8em;
  line-height: 1.2em;
}
.avia-content-slider .slide-entry-excerpt {
  font-family: 'Gelasio',Georgia,Times,'Times New Roman',serif;
  font-size: 0.9em;
  line-height: 1.6em;
}
.more-link {
  font-family: 'Lato',Helvetica,Arial,sans-serif;
  margin-top: 0.8em;
}
.more-link-arrow.avia-svg-icon {
  font-size: 0.6em;
}
.avia-content-slider .fake-thumbnail .slide-image {
  display: none;
}
/* ----- Blog Overview Content Slider with Next/Previous Buttons -------------------------------------------------- */
.avia-content-slider, .avia-content-slider-inner {
  overflow: visible;
}
@media only screen and (max-width: 767.98px) {
  .avia-content-slider {
    margin-left: -4%;
    margin-right: -4%;
  }
  .responsive #top .av-phone-track .avia-content-slider-inner {
    padding-left: 4%;
    padding-right: 4%;
    scroll-padding-left: 4%;
    scroll-padding-right: 4%;
  }
}
#top .avia-slideshow-arrows a {
  color: #000;
}
#top .avia-slideshow-arrows a.avia-svg-icon {
  border: 2px solid #444 !important;
  border-radius: 10em;
  background-color: #fff;
  color: var(--enfold-main-color-color);
}
#top .avia-content-slider .avia-slideshow-arrows a {
  top: 40%;
}
#top .av-slideshow-ui .avia-slideshow-arrows.av-visible-next > a.next-slide, #top .av-slideshow-ui .avia-slideshow-arrows.av-visible-prev > a.prev-slide {
  display: block;
}
#top .av-slideshow-ui .avia-slideshow-arrows a {
  width: 60px;
  display: none;
}
.avia_desktop .av-slideshow-ui.av-nav-arrows-visible .avia-slideshow-arrows a {
  opacity: 0.6;
}
.avia_desktop .av-slideshow-ui.av-nav-arrows-visible .avia-slideshow-arrows a:hover {
  opacity: 1;
  border-color: #000;
}
#top .avia-slideshow-arrows a.avia-svg-icon svg:first-child {
  stroke: var(--enfold-main-color-color);
  fill: var(--enfold-main-color-color);
}
#top .avia-slideshow-arrows a.prev-slide {
  left: -10px;
  text-indent: -4px;
}
#top .avia-slideshow-arrows a.next-slide {
  right: -10px;
  text-indent: 4px;
}
@media only screen and (min-width: 768px) {
  #top .avia-slideshow-arrows a.prev-slide {
    left: -30px;
  }
  #top .avia-slideshow-arrows a.next-slide {
    right: -30px;
  }
}
@media only screen and (min-width: 1740px) {
  #top .avia-slideshow-arrows a.prev-slide {
    left: -80px;
  }
  #top .avia-slideshow-arrows a.next-slide {
    right: -80px;
  }
}
.responsive #top #wrap_all .av-phone-track .slide-entry {
  --av-track-item: calc( ( 80% - ( var( --av-track-cols ) - 1 ) * var( --av-track-gap ) ) / var( --av-track-cols ) );
}
.responsive #top #wrap_all .av-phone-track .avia-slideshow-arrows {
  display: none;
}
@media only screen and (max-width: 767.98px) {
  .responsive #top .av-phone-track .avia-content-slider-inner {
    --av-track-cols: 2;
  }
}
@media only screen and (max-width: 639.98px) {
  .responsive #top .av-phone-track .avia-content-slider-inner {
    --av-track-cols: 1;
  }
}
/* ----- Image Slider with Next/Previous Buttons ----- */
.avia-slideshow {
  overflow: visible;
}
#top .avia-slideshow .avia-slideshow-arrows a.prev-slide {
  left: -10px;
}
#top .avia-slideshow .avia-slideshow-arrows a.next-slide {
  right: -10px;
}
@media only screen and (min-width: 768px) {
  #top .avia-slideshow .avia-slideshow-arrows a.prev-slide {
    left: -30px;
  }
  #top .avia-slideshow .avia-slideshow-arrows a.next-slide {
    right: -30px;
  }
}
@media only screen and (min-width: 1740px) {
  #top .avia-slideshow .avia-slideshow-arrows a.prev-slide {
    left: -95px;
  }
  #top .avia-slideshow .avia-slideshow-arrows a.next-slide {
    right: -95px;
  }
}
.avia-slideshow-dots a {
  border: 2px solid #444;
  border-radius: 14px;
  background: transparent;
  opacity: 1;
  bottom: 40px;
}
.avia-slideshow-dots a.active, .avia-slideshow-dots a:hover {
  opacity: 1;
}
.avia_desktop .av-slideshow-ui:hover .avia-slideshow-controls a,
.avia_desktop .av_slideshow.avia-slideshow:hover .avia-slideshow-controls a {
  opacity: 1;
}
@media only screen and (max-width: 767.98px) {
  .flex_column .avia-slideshow, .flex_column .avia-slideshow.avia-builder-el-no-sibling {
    margin-bottom: 80px;
  }
  #top .avia-slideshow-arrows a {
    top: initial;
    bottom: -70px;
  }
  .avia-slideshow-dots a {
    bottom: -30px;
  }
  .avia-slideshow-dots a.active, .avia-slideshow-dots a:hover {
    background-color: rgba(0,0,0,0.6);
  }
}
