/**
 * Theme Name: 3seenbahn
 * Theme URI: https://www.devonwheels.net/themes/3seenbahn
 * Description: Custom theme for the 3Seenbahn club
 * Version: 1.0
 * Author: Dev On Wheels
 * Author URI: https://www.devonwheels.net/
 * Tags: block-patterns, full-site-editing
 * Text Domain: 3seenbahn
 * Domain Path: /assets/lang
 * Tested up to: 6.4
 * Requires at least: 6.2
 * Requires PHP: 7.4
 * License: GNU General Public License v2.0 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 */

@font-face {
    font-family: "Syntax";
    src: url("assets/fonts/syntax/syntax_regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

*, *::before, *::after {
    box-sizing: inherit; }

html {
    scroll-behavior: smooth; }

body {
    background-color: #f4f4f4;
    color: #212121;
    display: flex;
    flex-direction: column;
    font-family: "Syntax", Arial, Verdana, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    hyphens: auto;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0;
    position: relative;
    width: 100vw; }

h1 {
    font-family: "Syntax", Arial, Verdana, sans-serif;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
}

p {
    margin: 1.5rem 0; }

ul {
    padding: 0 0 0 1rem; }

img {
    height: 100%;
    max-width: 100%;
    overflow: hidden; }
img.align-left {
    margin-bottom: 1.5rem; }
@media screen and (min-width: 768px) {
    img.align-left {
        float: left;
        margin: 0 1.5rem 0.5rem 0; } }

.container {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 1.5rem;
    position: relative;
    width: calc(100% - 3rem); }
.container::before, .container::after {
    clear: both;
    content: "";
    display: table; }

.clearfix::before, .clearfix::after {
    clear: both;
    content: "";
    display: table; }

.logo {
    display: block; }

.btn, .wp-element-button {
    /*background-color: #4d81b1;
    border: 1px solid transparent;*/
    border-radius: 8px;
    color: #f4f4f4;
    cursor: pointer;
    padding: 0.75rem;
    text-decoration: none; }

.menu {
    list-style: none;
    margin: 0;
    padding: 0; }
.menu li {
    display: block;
    margin: 0 0 1.5rem 0; }
@media screen and (min-width: 768px) {
    .menu li {
        display: inline-block;
        margin: 0 1.5rem 0 0; } }
.menu li:last-child {
    margin: 0; }

.box {
    display: block; }
.box--bordered {
    border: 8px solid #e3e2e2; }

.clubname {
    text-wrap: nowrap; }

body .strecke__grid {
    grid-template-columns: 1fr;
}

body .strecke__grid > * {
    grid-column: span 1;
}

body .strecke__image {
    margin: 1.5rem 0;
}

@media screen and (min-width: 768px) {
    body .strecke__title {
        grid-column: 1 / span 4;
        grid-row: 1 / span 1;
    }

    body .strecke__image {
        grid-column: 5 / span 9;
        grid-row: 1 / span 4;
        margin: 0;
        z-index: 1;
    }

    body .strecke__p1 {
        grid-column: 1 / span 3;
        grid-row: 2 / span 1;
    }

    body .strecke__p2 {
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
    }

    body .strecke__p3 {
        grid-column: 1 / span 6;
        grid-row: 4 / span 1;
    }
}

.cta--anfahrt {
    margin: 1.5rem 0;
}

.centered-box-with-padding {
    padding: 1.5rem;
    margin: auto -1.5rem !important;
    max-width: calc(var(--wp--style--global--content-size) + 3rem);
}

.timetable {
    border-collapse: collapse;
    font-size: 1rem;
    margin: 0 auto;
    width: 100%; }
@media screen and (min-width: 768px) {
    .timetable {
        font-size: inherit; } }
.timetable thead {
    border: 0;
}
.timetable tr {
    background-color: #f4f4f4; }
.timetable > :where(tbody.row-striping) > :nth-child(2n of :where(:not(.child, .dtrg-group))) > * {
    background-color: #deddde; }
.timetable th {
    background-color: #13507a;
    border: 0;
    border-right: 2px dashed #f4f4f4;
    color: #f4f4f4;
    font-weight: normal;
    padding: 0.5rem;
    text-align: left; }
@media screen and (min-width: 768px) {
    .timetable th {
        text-wrap: nowrap; } }
.timetable th:last-child {
    border-right: 0; }
.timetable td {
    border: 0;
    border-right: 2px dashed #939192;
    padding: 0.5rem; }
.timetable td:last-child {
    border-right: 0; }

.pricetable {
    border: 0;
    border-collapse: collapse;
    font-size: 1rem;
    width: 100%; }
@media screen and (min-width: 768px) {
    .pricetable {
        font-size: inherit; } }
.pricetable thead {
    border: 0;
}
.pricetable tr {
    background-color: #f4f4f4; }
.pricetable > :where(tbody.row-striping) > :nth-child(2n of :where(:not(.child, .dtrg-group))) > * {
    background-color: #deddde; }
.pricetable th, .pricetable thead td {
    background-color: #13507a;
    color: #f4f4f4;
    font-weight: normal;
    padding: 0.5rem;
    text-align: center; }
.pricetable tbody td {
    border: 0;
    border-right: 2px dashed #939192;
    padding: 0.5rem; }
.pricetable td:last-child {
    border-right: 0;
    text-align: center;
    vertical-align: middle; }
.pricetable td:nth-child(2), .pricetable td:nth-child(3) {
    text-align: center; }

.tablecaption {
    font-style: italic;
    text-align: center; }

.columns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0; }
@media screen and (min-width: 768px) {
    .columns {
        flex-direction: row; } }

.column {
    flex: 1 0 0; }
@media screen and (min-width: 768px) {
    .column--5of12 {
        flex: 41.67%; }
    .column--7of12 {
        flex: 58.33%; }
    .column--1of3 {
        flex: 33%; }
    .column--2of3 {
        flex: 66%; }
    .column--1of2 {
        flex: 50%; } }

.wp-block-navigation__responsive-close {
    padding: var(--wp--preset--spacing--50) 0;
    margin: 0 auto;
    width: var(--wp--style--global--content-size);
}

.navigation_container {
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.hero {
    background-image: linear-gradient(rgba(68, 68, 68, 0.5), rgba(68, 68, 68, 0.5)), url("../images/e41_schluchsee.jpg");
    background-position: 42% 94%;
    background-repeat: no-repeat;
    background-size: cover;
    color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 6rem);
    overflow: hidden;
    padding: 3rem 0; }

.section {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 6rem);
    overflow: hidden;
    padding: 3rem 0; }
.section--bg-alt {
    background-color: #e2e2e2; }

.contentinfo {
    background-color: #4d81b1;
    color: #f4f4f4; }

/* TEST: custom height for header on "helfen sie uns" */
@media screen and (min-width: 768px) {
    .page-id-304 .wp-block-cover:first-child {
        margin-top: 7.5rem;
        min-height: calc(100vh - 7.5rem) !important;
    }

    .page-id-304 .wp-block-cover .header__inner {
        margin-left: -2rem !important;
        min-width: calc(var(--wp--style--global--content-size) + 4rem);
        padding: 2rem;
    }
}

.wp-element-caption {
    font-size: 1rem;
    font-style: italic;
    margin-top: 0.5rem; }

/* Additional styles for Contact Form 7 */
.wpcf7-form {
    margin: 0;
}

.wpcf7-form__row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpcf7-form__column {
    flex: 1;
}

.wpcf7-list-item {
    display: block;
    margin-left: 0;
}

.wpcf7-submit {
    background-color: #4d81b1;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #f4f4f4;
    cursor: pointer;
    padding: 0.75rem;
    text-decoration: none;
}

.wpcf7-form label {
    display: flex;
    flex-direction: column;
}

.wpcf7-form input:not([type=checkbox]):not([type=radio]),
.wpcf7-form select, .wpcf7-form textarea {
    border: 1px solid #939192;
    border-radius: 4px;
    margin-right: 1.5rem;
    min-width: 20rem;
    padding: 0.5rem;
}



@media screen and (min-width: 768px) {
    .wpcf7-form__row {
        flex-direction: row;
    }

    .wpcf7-form__column-half {
        flex: 50%;
    }
    .wpcf7-form__column-full {
        flex: 100%;
    }

    .wpcf7-form label {
        flex-direction: row;
    }
}

/* TEMPORARY FIX: hide event details on event page */
.single-sc_event .sc_event_details {
    display: none;
}

/* TEST: CSS for Fahrkartendrucker */
form#order-form {
    margin: 0 auto;
    max-width: var(--wp--style--global--content-size);
}
form#order-form .train {
    border: none;
}
form#order-form .train button {
    background-color: #4d81b1;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__label {
	hyphens: none;
	white-space: nowrap;
}