    /* 
	Theme Name:  TC Schwalbe
	Description: WordPress-Theme für TC SChwalbe
	Version:     1.0
	Author: 	 Andrea Eisgruber auf Basis des Minimal Themes
	Author Uri: 	 https://cabe-webdesign.de	
*/
    
:root {
    --primary-color: rgb(24, 61, 123);
    --button-bg-color: rgb(246, 142, 86);
    --button-bg-color-hover: rgb(242, 108, 79);
    --button-color: rgb(255, 255, 255);
    --secondary-color: rgb(245, 239, 239);
    --background-color: rgb(255, 255, 255);
    --secondary-text-color: rgb(24, 61, 123);
    --homepage-padding-top: 6em;
    --header-font-family:'Helvetica Neue', Helvetica, sans-serif;
    --bs-body-font-family: 'Helvetica', sans-serif;

}

.navbar {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><rect x='0' y='15' width='36' height='5' rx='2' ry='2' fill='rgb(24 61 123)' transform='rotate(45, 18, 18)' /><rect x='0' y='15' width='36' height='5' rx='2' ry='2' fill='rgb(24 61 123)' transform='rotate(-45, 18, 18)'/></svg>");
    --bs-navbar-toggler-collapsed-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2824, 61, 123, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-navbar-toggler-border-color: rgb(30, 158, 209);
    --bs-navbar-toggler-focus-width: 0rem;
}

.btn {
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--button-bg-color-hover);
    --bs-btn-bg: var(--button-bg-color);
    --bs-btn-hover-color: var(--button-color);
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    border-radius: 0;
    padding: 0.25em 0.5em;
    font-size: 1em;
}

.dropdown-menu {
    --bs-dropdown-bg: var(--primary-color);
    --bs-dropdown-link-active-bg: inherit;
    --bs-dropdown-color: inherit;
    --bs-dropdown-link-color: inherit;
    --bs-dropdown-link-hover-color: inherit;
    --bs-dropdown-link-hover-bg: inherit;
    --bs-dropdown-link-active-color: inherit;
    border: none;
    border-radius: 0;
}

/* .dropdown-menu[data-bs-popper] {
    left: auto;
    right: 0;
    margin-top: 0;
    text-align: right;
}

.dropdown .nav-link {
    text-align: right;
}

.nav-link.dropdown-toggle.show {
    background-color: inherit;
} 

.nav-link:focus,
.nav-link:hover {
    color: inherit;
} */

html,
body {
    font-size: 16px;
    line-height: 1.4;
}
main {
    /* background:linear-gradient(#f5efef, #ffffff); */
    border-top: solid #999999 1px;
    display: flex;
}
main.setBack{
    position: relative;
    z-index: -1;
}
header {
    background-color: var(--background-color);
    transition: background-color 500ms ease-in;
    border-bottom: solid 1px var(--primary-color);
}
.home header {
    background-color: transparent;
    border-bottom: none;
}
.home header.withBackground {
    background-color: var(--background-color);
}
#headerContent {
    /*height: var(--homepage-padding-top);*/
    padding-top: 1em;
    padding-bottom: 0.5em;
}

#headerContent .custom-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 4rem;
}
.titleText {
    font-size: 0.6em;
}
#hero-section {
    /*height: 40rem;*/
    padding: 0;
    background-image: url("https://tc-schwalbe.de/wp-content/uploads/2025/04/Tennispark-Ottobrunn-title.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    
}
.newsText {
    width: 60%;
    font-size: 1rem;
    padding-right: calc(var(--bs-gutter-x));
    padding-left: calc(var(--bs-gutter-x));
    background-image:url("images/svg/trapez.svg");
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 352/480;
    overflow: hidden;
}
.newsList {
    width:95%;
}
.row {
    width: 100%;
}
#sidebar-custom {
    font-size: 1.2rem;
}

aside li{
    margin-bottom: 1rem;
}
.hero-image img {
    height: 100%;
}
h1,
.h1,
h2,
.h2, h3,.h3,h4,.h4 {
    font-weight: 300;
    line-height: 1.4;
}
h1, .h1 {
    font-family:var(--header-font-family);
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}
h2, .h2 {
    font-size: 1.2rem;
}
h2.text, .h2.text{
    font-size: 1rem;
}
h3, .h3, h4, .h4 {
    font-size: 1em;
    font-weight: bold;
}

a {
    color: inherit;
}
a:hover {
    color: var(--primary-color);
}
a.custom-logo-link {
    width: 30%;
}
ul {
    list-style-type: none;
}
ul.schwalbe {
    list-style-image: url("images/icons/schwalbe-bullet.png");
    margin-top: 1rem;
}
ul.schwalbe li{
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}
textarea {
    height: 10rem;
}
span.wpcf7-list-item {
    display: block;
}
input.wpcf7-submit {
    color: #ffffff;
    border-color: var(--button-bg-color);
    background-color:var(--button-bg-color);
}
input, textarea {
    border-style: solid;
    border-color: var(--secondary-color);
}
input.small {
    width: 5rem;
}

.navbar{
    padding: 0;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-collapsed-icon-bg);
}
.navbar-nav {
    align-items: end;
}

/* .navbar-nav li.page_item,
.navbar-nav li.menu-item {
    padding-right: 0.5em;
}

.navbar-nav a,
p.btn>a{
    text-decoration: none;
}

p.btn>a:hover
 {
    color: inherit;
} */
.with-pt-std {
    padding-top: 1.5em;
}
.with-pb-std {
    padding-bottom: 0em;
}
.sidebar-padding-std{
    padding: 3em 1em;
}
.content-padding-std{
    padding-top: 2em;
}
.with-sidebar-background {
    background: #f1eaea;
}
.rounded img {
    width: 50%;
    border-radius: 50%;
}
.textPrimary {
    color: var(--primary-color);
}
.pushOverTop {
    position: relative;
    margin-top: -2em;
    z-index: 2000;
}
hr {
    border-top: solid 1px;
    color: #999999;
    opacity: 1;
    width: 50%;
    margin: auto;
}
.column h2.title {
    color: var(--primary-color);
    font-weight: bold;
}
.column{
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
}
.team .wp-block-columns {
    margin-bottom: 0.5rem;
}
/* .column.vorstand {
    background-image: url("images/icons/schwalbe.png");
}
.column.mannschaften {
    background-image: url("images/icons/gruppen-icon.png");
}
.column.tennisanlage {
    background-image: url("images/icons/tennispark-icon.png");
    background-position: top center;
} */
.columnTitle {
    height: 10em;
    margin-top: -3em;
    display: flex;
    justify-content: center;
}
.columnTitle img{
    height: 100%;
}
.columnInfo {
    padding-top: 1.5em;
}
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1em 1em 0.5em 1em;
}
footer a {
    text-decoration: none;
}
footer .footerInfo {
    display: flex;
    flex-direction: column;
    width: 50%;
}
footer p{
    margin-bottom: 0.75em;
    font-size: 0.8em;
}
footer .title {
    border-bottom: solid 1px #fff;
    margin-bottom: 0.75em;
}
footer a:hover {
    color: inherit;
}


a.custom-logo-link {
    /* Breite explizit zuweisen, da sonst in Safari eine falsche Darstellung */
} 

.wpcf7-form-control {
    width: 90%;
}
span.wpcf7-list-item {
    margin-bottom: 1rem;
}
@media screen and (min-width: 374px) {
}
@media screen and (min-width: 768px) {
   .newsText {
        width: 40%;
        font-size: 1.2rem;
        padding-top: 5rem;
        padding-bottom: 2em;
    }
    h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .frontpageInfo {
        width: 90%;
    }
    .rounded img {
        width: 100%;
    }
    .with-pb-std {
        padding-bottom: 3em;
    }
    footer {
        padding-top: 2em;
    }
    footer .footerInfo {
        flex-direction: row;
        width: 100%;
    }
}

@media screen and (min-width: 992px) {
    .columnTitle {
        height: 12em;
        margin-top: -3em;
        display: flex;
    }

    .frontpageInfo {
        width: 80%;
    }
}

@media screen and (min-width: 1200px) {
    h1, .h1 {
        font-size: 2rem;
    }
    .frontpageInfo {
        width: 70%;
    }
}