/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Template: oceanwp
Author: OceanWP
Author URI: https://oceanwp.org/about-oceanwp/
Description: OceanWP is the perfect theme for your project. Lightweight and highly extendable, it will enable you to create almost any type of website such a blog, portfolio, business website and WooCommerce storefront with a beautiful &amp; professional design. Very fast, responsive, RTL &amp; translation ready, best SEO practices, unique WooCommerce features to increase conversion and much more. You can even edit the settings on tablet &amp; mobile so your site looks good on every device. Work with the most popular page builders as Elementor, Beaver Builder, Brizy, Visual Composer, Divi, SiteOrigin, etc... Developers will love his extensible codebase making it a joy to customize and extend. Best friend of Elementor &amp; WooCommerce. Looking for a Multi-Purpose theme? Look no further! Check the demos to realize that it's the only theme you will ever need: https://oceanwp.org/demos/
Tags: two-columns,right-sidebar,footer-widgets,blog,news,custom-background,custom-menu,post-formats,rtl-language-support,sticky-post,editor-style,threaded-comments,translation-ready,buddypress,custom-colors,featured-images,full-width-template,theme-options,e-commerce,block-styles,wide-blocks,accessibility-ready
Version: 3.5.0.1694064227
Updated: 2023-09-07 07:23:47

*/


/* ==========================================================================
   piestingtal.at, Layout ohne Elementor (Werte aus dem bisherigen Design)
   Farben: Primär #7F8D26, Titel #7D8A53, Menü #C69B00, Menü aktiv #297022,
   Dropdown #C7CB5E, Footer-Streifen #889414. Container 1140 px.
   ========================================================================== */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/OpenSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/OpenSans-Italic.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/OpenSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/OpenSans-Bold.ttf") format("truetype"); }

:root {
    --pt-primary: #7f8d26;
    --pt-title: #7d8a53;
    --pt-text: #7a7a7a;
    --pt-menu: #c69b00;
    --pt-menu-active: #297022;
    --pt-dropdown: #c7cb5e;
    --pt-bar: #889414;
    --pt-container: 1140px;
}

body.pt-site {
    margin: 0;
    background: #fff;
    color: var(--pt-text);
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.pt-container {
    width: 100%;
    max-width: var(--pt-container);
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.pt-site img { max-width: 100%; height: auto; }
.pt-site a { color: var(--pt-primary); }

.pt-divider {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #000;
    height: 0;
}

/* Header ------------------------------------------------------------------ */
.pt-header__top {
    display: grid;
    grid-template-columns: 62% 38%;
    align-items: start;
    min-height: 154px;
    padding: 10px 0 0;
}
.pt-header__title { padding: 46px 10px 0; max-width: 100%; }
.pt-header__title .seitenkopf { max-width: 573px; }
.pt-header__logo { padding: 0 10px; }
.pt-header__divider { padding-top: 10px; padding-bottom: 10px; }
.pt-header__title .seitenkopf,
.pt-header__title h1 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    line-height: 39px;
    font-weight: 400;
    color: var(--pt-title);
}
.pt-header__logo a { display: inline-block; line-height: 0; }
.pt-header__logo { line-height: 0; }
.pt-header__logo img { display: block; width: auto; max-width: 100%; height: auto; }

/* Hauptmenü --------------------------------------------------------------- */
.pt-nav { position: relative; margin: 10px 0 22px; }
.pt-nav__toggle { display: none; }
.pt-menu,
.pt-menu ul { list-style: none; margin: 0; padding: 0; }
.pt-menu { display: flex; flex-wrap: wrap; }
.pt-menu > li { position: relative; margin: 0 4px; }
.pt-menu a {
    display: block;
    padding: 6px 8px;
    color: var(--pt-menu);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 20px;
    text-decoration: none;
}
.pt-menu a:hover,
.pt-menu a:focus,
.pt-menu .current-menu-item > a,
.pt-menu .current-menu-ancestor > a { color: var(--pt-menu-active); }

.pt-menu .sub-menu {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin-top: 4px;
    background: var(--pt-dropdown);
}
.pt-menu li:hover > .sub-menu,
.pt-menu li:focus-within > .sub-menu { display: block; }
.pt-menu .sub-menu a {
    padding: 10px 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
}
.pt-menu .sub-menu a:hover,
.pt-menu .sub-menu a:focus,
.pt-menu .sub-menu .current-menu-item > a { color: #485459; background: var(--pt-dropdown); }

/* Inhalt ------------------------------------------------------------------ */
.pt-content { max-width: var(--pt-container); padding: 0; }
.pt-content .wp-block-image.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.pt-content .alignfull img { width: 100%; }
.pt-content .wp-block-image { margin: 0 0 20px; }
.pt-content .wp-block-image + * { margin-top: 36px; }
.pt-content p + .wp-block-heading:not(.pt-th) { padding-top: 20px; }
.pt-content .wp-block-spacer { margin: 0 0 20px; }
.pt-content .wp-block-embed { margin: 0 0 20px; }
.pt-content .wp-block-image figcaption { line-height: 36px; margin: 0; }
.pt-content .pt-gap { padding-left: 10px; padding-right: 10px; }
.pt-content p { line-height: 1.8; }
@media (max-width: 1160px) { .pt-content { padding: 0 18px; } }
@media (max-width: 1024px) { .pt-content .pt-gap { padding-left: 0; padding-right: 0; } }
.pt-content .wp-block-heading { font-family: "Open Sans", sans-serif; font-weight: 600; color: var(--pt-primary); }
.pt-content .wp-block-heading { font-size: 20px; line-height: 1.3; margin: 0 0 20px; }
.pt-content p { font-size: 20px; line-height: 1.8; margin: 0 0 20px; }
.pt-content .wp-block-image figcaption { font-size: 20px; color: var(--pt-text); text-align: center; font-style: italic; }
.pt-content .wp-block-image img { height: auto; }
.pt-content .wp-block-separator { border: 0; border-top: 1px solid #000; opacity: 1; }
.pt-content .wp-block-image.aligncenter { text-align: center; }

/* Footer ------------------------------------------------------------------
   Maße wie bisher: 10 px Abschnittsabstand, 50 px Abstand + Trennlinie,
   zwei Menüs, 78 px Abstand, Logoleiste 64 %/36 %, grüner Streifen 98 px. */
.pt-footer { margin-top: 0; padding: 20px 0 10px; }
.pt-footer__links { padding-top: 70px; padding-bottom: 108px; }
.pt-footer__links > .pt-divider { margin: 15px 0; }
.pt-footer__links .pt-divider { margin: 15px 0; }
.pt-footer__menu { margin: 0; padding-top: 20px; }
.pt-footer-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.pt-footer-menu a { display: block; padding: 14px 20px 14px 0; font-size: 18px; line-height: 18px; color: var(--pt-text); text-decoration: none; }
.pt-footer-menu a:hover,
.pt-footer-menu a:focus { color: var(--pt-primary); }
.pt-footer__logos {
    display: grid;
    grid-template-columns: 64% 36%;
    align-items: end;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
}
.pt-footer__logos > div { padding: 10px; }
.pt-footer__logos img { display: block; }
.pt-footer__bar { height: 98px; background: var(--pt-bar); }

/* Tablet und Mobil: Menü als Aufklapp-Liste --------------------------------- */
@media (max-width: 1024px) {
    .pt-header__top { min-height: 115px; }
    .pt-header__title .seitenkopf, .pt-header__title h1 { font-size: 28px; }
    .pt-header__logo { text-align: right; }
    .pt-header__logo img { max-width: 300px; }
    .pt-nav__toggle {
        display: block;
        width: 33px;
        height: 33px;
        margin: 0 auto;
        padding: 0;
        border: 1px solid var(--pt-dropdown);
        border-radius: 3px;
        background: transparent;
        cursor: pointer;
    }
    .pt-nav__bars,
    .pt-nav__bars::before,
    .pt-nav__bars::after {
        display: block;
        width: 22px;
        height: 3px;
        background: var(--pt-menu);
        content: "";
    }
    .pt-nav__bars { position: relative; }
    .pt-nav__bars::before { position: absolute; top: -7px; }
    .pt-nav__bars::after { position: absolute; top: 7px; }
    .pt-menu { display: none; flex-direction: column; margin-top: 4px; background: var(--pt-dropdown); }
    .pt-nav.is-open .pt-menu { display: flex; }
    .pt-menu > li { margin: 0; }
    .pt-menu a, .pt-menu .sub-menu a { padding: 10px 24px; color: #fff; font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.4; }
    .pt-menu a:hover, .pt-menu a:focus, .pt-menu .current-menu-item > a { color: #485459; }
    .pt-menu .sub-menu { display: block; position: static; margin: 0; min-width: 0; background: transparent; }
    .pt-menu .sub-menu a { padding-left: 44px; }
}
@media (max-width: 767px) {
    .pt-header__top { grid-template-columns: 1fr; min-height: 0; }
    .pt-header__title { padding-bottom: 30px; }
    .pt-header__title .seitenkopf, .pt-header__title h1 { font-size: 32px; }
    body.page-id-8 .pt-header__title .seitenkopf { font-size: 26px; }
    .pt-header__logo { margin-top: 0; text-align: left; padding-bottom: 20px; }
    .pt-header__logo img { width: 100%; max-width: 100%; }
    .pt-header__divider { padding-top: 0; }
    .pt-footer__logos { grid-template-columns: 1fr; }
}

/* Listen: News (Bild links) und Projektnews (Karten) ------------------------ */
.pt-news-list .wp-block-post-template,
.pt-cards-list .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.pt-news-item { margin: 0 0 21px; gap: 20px; align-items: flex-start; }
.pt-news-item .wp-block-post-featured-image { margin: 0; }
.pt-news-item .wp-block-post-featured-image img { width: 100%; height: 300px; object-fit: cover; }
.pt-news-title { margin: 0 0 12px; font-size: 20px; font-weight: 500; line-height: 1.4; }
.pt-news-title a { color: #4a4a4a; text-decoration: none; }
.pt-news-excerpt { margin: 0 0 12px; }
.pt-news-excerpt p { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: #4a4a4a; }
.pt-news-excerpt .wp-block-post-excerpt__more-link,
.pt-card__excerpt .wp-block-post-excerpt__more-link { display: inline-block; text-decoration: none; }
.pt-news-excerpt .wp-block-post-excerpt__more-link { padding: 8px 16px; border-radius: 3px; background: var(--pt-primary); color: #fff; font-size: 14px; }
.pt-news-date { margin: 0; font-size: 13px; color: #4a4a4a; }
.pt-cards-list .wp-block-post-template > li { margin: 0 0 36px; }
.pt-card { background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.pt-card .wp-block-post-featured-image { margin: 0; }
.pt-card .wp-block-post-featured-image img { width: 100%; display: block; }
.pt-card__body { padding: 40px 30px 30px; }
.pt-card__title { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 28px; }
.pt-card__title a { color: #54595f; text-decoration: none; }
.pt-card__excerpt p { margin: 0 0 10px; font-size: 20px; line-height: 30px; color: #777; }
.pt-card__excerpt .wp-block-post-excerpt__more-link { font-size: 16px; font-weight: 700; color: var(--pt-primary); }
.pt-card__date { margin: 20px 0 0; padding-bottom: 31px; font-size: 20px; font-weight: 500; line-height: 26px; color: #adadad; }
.pt-news-list .wp-block-query-pagination,
.pt-cards-list .wp-block-query-pagination { margin-top: 20px; gap: 10px; }
.pt-news-list .wp-block-query-pagination a,
.pt-news-list .wp-block-query-pagination .page-numbers { padding: 5px 10px; border-radius: 10px; background: var(--pt-primary); color: #fff; text-decoration: none; box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); }
.pt-news-list .wp-block-query-pagination .page-numbers.current { background: #54595f; }
.pt-cards-list .wp-block-query-pagination a { color: var(--pt-primary); text-decoration: none; }
@media (max-width: 767px) {
    .pt-news-item { flex-direction: column; }
    .pt-news-item .wp-block-column { flex-basis: 100% !important; width: 100%; }
    .pt-card__body { padding: 20px; }
}

/* Ocean Extra hängt ein Such-Symbol an das Hauptmenü; im bisherigen Seiten-Design gibt es das nicht. */
.pt-menu .search-toggle-li,
.pt-menu .search-toggle-li a { display: none; }

/* Überschriften und Listen aus Fließtext (Elementor-Kit: H2 24, H3 22, H4 20, H5 18, H6 16 px) */
.pt-content h2.pt-th { font-size: 24px; line-height: 1.4; }
.pt-content h3.pt-th { font-size: 22px; line-height: 1.4; }
.pt-content h4.pt-th { font-size: 20px; line-height: 1.4; }
.pt-content h5.pt-th { font-size: 18px; line-height: 1.4; }
.pt-content h6.pt-th { font-size: 16px; line-height: 1.4; }
.pt-content ul, .pt-content ol { margin: 0 0 20px; padding-left: 1.5em; }
.pt-content li { font-size: 20px; line-height: 1.8; }

.pt-content .pt-justify { text-align: justify; }

/* Spalten wie in Elementor: 20 px Abstand nebeneinander, untereinander kein zusätzlicher Abstand */
.pt-content .wp-block-columns { margin: 0; gap: 20px; }
@media (max-width: 781px) { .pt-content .wp-block-columns { gap: 0; } }
.pt-content .wp-block-column > :last-child { margin-bottom: 20px; }

.pt-footer__toggle { display: none; }
@media (max-width: 1024px) {
    .pt-footer__menu { padding-top: 20px; }
    .pt-footer__toggle { display: block; box-sizing: border-box; width: 33px; height: 33px; margin: 5px auto; padding: 0; border: 1px solid var(--pt-dropdown); border-radius: 3px; background: transparent; cursor: pointer; }
    .pt-footer__toggle .pt-nav__bars { margin: 0 auto; }
    .pt-footer__menu .pt-footer-menu { display: none; flex-direction: column; }
    .pt-footer__menu.is-open .pt-footer-menu { display: flex; }
}

/* Wie Elementor: letztes Bild einer Seite ohne Abstand nach unten */
.pt-content > .wp-block-image:last-child,
.pt-content > .pt-gap:last-child > .wp-block-image:last-child { margin-bottom: 0; }

/* News: Bild und Text bleiben bis 768 px nebeneinander (wie live) */
@media (min-width: 768px) and (max-width: 781px) {
    .pt-news-item.wp-block-columns { flex-wrap: nowrap !important; }
    .pt-news-item.wp-block-columns > .wp-block-column { flex-grow: 0; }
}
@media (min-width: 768px) and (max-width: 781px) {
    .pt-content .pt-news-item.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:first-child { flex-basis: 40% !important; }
    .pt-content .pt-news-item.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:last-child { flex-basis: 60% !important; }
}

/* Hauptmenü wie live: Normalschrift, Pfeil bei Untermenüs, zentriert */
@media (min-width: 1025px) {
    .pt-menu { justify-content: center; }
    .pt-menu > li > a { font-weight: 400; }
    .pt-menu > li.menu-item-has-children > a::after {
        content: ""; display: inline-block; width: 0; height: 0; margin: 0 3px 3px 12px;
        border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
    }
}

/* Verwandte Beiträge (Einzelbeitrag) */
.pt-related .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.pt-related .wp-block-post-template > li { margin: 0 0 25px; }
.pt-rel-title { margin: 0; font-size: 20px; font-weight: 600; line-height: 28px; }
.pt-rel-title a { color: #54595f; text-decoration: none; }
.pt-rel-date { margin: 0 0 13px; font-size: 20px; font-weight: 500; line-height: 26px; color: #adadad; }
.pt-rel-excerpt { margin: 0; }
.pt-rel-excerpt p { margin: 0 0 10px; font-size: 20px; line-height: 30px; color: #777; }
.pt-rel-excerpt .wp-block-post-excerpt__more-link { font-size: 14px; font-weight: 500; line-height: 25px; color: var(--pt-primary); text-decoration: none; }
.pt-related .wp-block-query-pagination { margin-top: 20px; gap: 8px; font-size: 20px; }
.pt-related .wp-block-query-pagination a, .pt-related .wp-block-query-pagination .page-numbers { color: var(--pt-primary); text-decoration: none; }
.pt-related .wp-block-query-pagination .page-numbers.current { color: #54595f; }
