/*
 Theme Name:   Clarity
 Theme URI:
 Description:  Clarity Theme
 Author:       Mathias Bader
 Author URI:
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  clarity
*/
body {
    background-color: #f8f8f8;
    font-family: "Roboto Condensed", Arial, Tahoma, sans-serif;
    margin: 0; }
a {
    text-decoration: none;
    color: #e47557; }
.clearfix { clear: both; }

#wrapper {
    margin: 0 auto;
    max-width: 1200px;
    background-color: #fff;
    box-shadow: 4px 4px 16px 4px #ccc;
    line-height: 140%; }
main {
    padding-bottom: 42px;
    padding-top: 22px;
    min-height: 400px; }
main,
footer,
#subFooter {
    padding-left: 42px !important;
    padding-right: 42px !important; }
header { border-bottom: 1px solid #eee; }
header img {
    height: 120px;
    margin: 10px 0 12px 24px; }
header #title,
header nav {
    text-align: center;
    padding-left: 30px; }
header #title {
    padding: 42px 12px 12px 60px;
    font-size: 1.7em; }
header nav ul {
    margin: 0;
    padding: 0; }
header nav ul li { display: inline-block; }
header nav a {
    display: inline-block;
    padding: 14px 6px;
    font-size: 18px;
    text-decoration: none;
    color: #888f;
    font-family: Lovelo, sans-serif; }
header nav a:hover { background-color: #fcefec; }
header nav a:hover,
header nav li.current-menu-item a {
    color: #da694c; }
.less-margin-top { margin-top: -42px; }
h1, h2, h3 {
    margin-top: 0;
    font-weight: normal;
    line-height: 1.4; }
h2 {
    margin-top: 32px;
    margin-bottom: 0; }
h2.blog-post-title { margin-top: 0; }
h1.top-margin,
h2.top-margin,
h3.top-margin { margin-top: 52px; }
h1,
h2.blog-post-title { font-size: 2.4em; }
h3 { margin-bottom: 0; }
h2.has-medium-font-size {
    font-size: 1.4em;
    margin-top: 12px;
    margin-bottom: 12px; }
.image-and-text {
    display: flex;
    align-items: flex-start; }
.image-and-text img {
    width: 280px;
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 24px; }
.image-and-text div {
    padding: 12px 0 0 32px;
    display: inline-block;
    line-height: 140%; }

footer {
    display: flex !important;
    flex-wrap: wrap;
    background-color: #da6a4d; }
footer>nav,
footer>div {
    box-sizing: border-box;
    flex-grow: 1;
    flex-basis: 25%; }
footer,
footer a { color: white; }
footer>nav { line-break: anywhere; }
footer nav a {
    display: inline-block;
    text-decoration: none;
    padding: 0 8px 8px 0; }
footer ul,
footer>div {
    margin: 0;
    padding: 18px;
    padding-left: 0; }
footer>div:nth-child(2) img {
    background-color: rgba(255, 255, 255, .3);
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 6px;
    box-sizing: border-box;
    width: 100%; }
footer>div:nth-child(3) img { width: 100%; }
footer>div:nth-child(4) { font-size: 0.85rem; }
footer>div:nth-child(4) table tr td { vertical-align: top; }
footer ul li { display: block; }
footer nav ul li.current-menu-item a { font-weight: bold; }
#subFooter {
    padding: 12px;
    font-size: 0.75rem;
    background-color: #000;
    color: #777; }

.citation {
    border: 3px solid #e2725a;
    border-radius: 18px;
    padding: 12px !important;
    box-shadow: 6px 6px 12px #aaa;
    margin: 12px;
    background-color: #fff;
}
.img-container {
    position: relative;
    text-align: center;
    color: white;
    margin-top: 12px;
}
.img-container .bottom-right {
    position: absolute;
    bottom: 6px;
    right: 0;
    background-color: #000;
    opacity: 0.8;
    padding: 8px;
}

#teamhub-events>div>div {
    padding: 12px !important;
}
#teamhub-events div p {
    padding: 0 !important;
    margin: 8px 0 !important;
}


form label { color: #888; }
form input[type=text],
form input[type=email],
form textarea {
    width: 90%;
    max-width: 600px;
    padding: 8px;
    font-size: 1.2em;
    margin-bottom: 12px;
    font-family: Arial, Helvetica, sans-serif
}
form input[type=submit] { font-size: 1.2em; }
.it { display: flex; margin-bottom: 24px; }
.it .it-img { min-width: 220px; max-width: 300px; margin-right: 12px; }
.it .it-text { width: 70%; }
.mobile-only { display: none; }

.flex-boxes { display: flex; }
.flex-boxes>div {
    max-width: 50%;
    padding: 16px;
    box-shadow: 5px 5px 5px #eee;
    border-radius: 12px;
    margin: 18px;
    border: 1px solid #aaa; }
.img-float-left { float: left; margin: 0 12px 12px 0; }
a.linkBlack,
.linkBlack a {
    color: #000;
    border-bottom: 1px dashed #bbb;
    text-decoration: none; }
a.linkBlack:hover,
.linkBlack a:hover { border-bottom: 1px dashed #000 }
.news-date {
    color: #888;
    font-size: 14px;
    display: inline-block;
    margin-left: 12px;
    font-weight: normal;
    font-style: italic; }

/* Tablet */
@media only screen and (max-width: 1010px) {
    header nav a { padding-left: 8px; padding-right: 8px; font-size: 22px; display: inline-block; }
    footer>nav,
    footer>div {
        flex-basis: 50%;
    }
}
.rounded img { border-radius: 10px; }
.weinHintergrund {
    color: white;
    background-color: #a2405c; }
.wp-block-columns.weinHintergrund {
    margin-bottom: 0;
    gap: 0; }
.weinHintergrund .wp-block-column .wp-block-group {
    padding: 0 32px; }
.bgKoffer {
    margin-top: 0;
    padding: 42px 16px 32px;
    background: linear-gradient(
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)
    ), url('img/koffer.webp');
    background-size: cover;
    text-align: center; }
.bgKoffer p {
    display: table;
    margin: 18px auto;
    color: white;
    border-radius: 6px;
    padding: 1px 6px; }
.starGroup {
    margin-top: 42px;
    margin-bottom: 42px;
    padding-left: 62px; }
.starGroup:before {
    content: url('img/icons/star.svg');
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    margin-left: -54px; }
.starGroup h3 { color: #a2405c; }
.btn a {
    color: white !important;
    background-color: #a2405c !important;
    padding: 12px 24px;
    display: inline-block; }

.iconFacebook:before {
    content: url('img/icons/facebook.svg');
    margin-left: -21px; }
.iconInstagram:before {
    content: url('img/icons/instagram.svg');
    margin-left: -22px; }
.iconLinkedIn:before {
    content: url('img/icons/linkedIn.svg');
    margin-left: -22px; }
.iconFacebook:before,
.iconInstagram:before,
.iconLinkedIn:before {
    width: 18px;
    height: 18px;
    display: inline-block;
    position: absolute; }
#kids .linkPurple a,
#kids .iconFacebook a,
#kids .iconInstagram a { color: #a2405c; }
#kids .iconFacebook:before  { content: url('img/icons/facebookPurple.svg'); }
#kids .iconInstagram:before { content: url('img/icons/instagramPurple.svg'); }
#kids .iconLinkedIn:before  { content: url('img/icons/linkedInPurple.svg'); }

.wp-block-image { margin: 0; }
.wp-block { box-sizing: border-box; }
.blog-post { overflow: auto; }
.borderAndShadow img {
    margin-bottom: 32px;
    border: 1px solid #ccc;
    box-shadow: 4px 4px 12px #eee;
    border-radius: 4px !important; }
.paddingLeftRight { padding: 0 18px; }
.noGap { gap: 0; }
img.imgRound,
.imgRound img { border-radius: 100%; }
.noTopMargin { margin-top: 0; }
.noBottomMargin { margin-bottom: 0; }
.noBottomPadding { padding-bottom: 0 !important; }
.paddingTop { padding-top: 38px; }
.paddingBottom { padding-bottom: 42px; }
.bgClouds {
    background: url('img/clouds.jpg');
    background-size: cover;
}
ul.stars li {
    list-style: none;
    line-height: 2.6em;
    margin-left: 20px; }
ul.stars li:before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    margin-left: -30px;
    margin-top: 10px;
    background-image: url('img/icons/star.svg');
    background-repeat: no-repeat; }


/* Kids & Teens + Diversität */
#diversitaet,
#kids { padding: 0 !important; }
#diversitaet .extraPadding,
#kids .extraPadding { padding: 32px; }
#diversitaet .wp-block-columns .wp-block-column:first-child figure,
#diversitaet .wp-block-columns .wp-block-column:nth-child(2) p,
#kids .wp-block-columns .wp-block-column:first-child figure,
#kids .wp-block-columns .wp-block-column:nth-child(2) p {
    padding-left: 18px;
    padding-right: 18px; }
/* /Kids & Teens + Diversität */

/* Professionell */
#professionell { padding: 0 !important; }
#professionell .extraPadding {
    padding-left: 54px;
    padding-right: 54px; }
#professionell .listPadding { padding-left: 94px; }
#professionell .marginBottom { margin-bottom: 23px; }
#professionell .wp-block-columns .wp-block-column:first-child figure,
#professionell .wp-block-columns .wp-block-column:nth-child(2) p {
    padding-left: 18px;
    padding-right: 18px; }
#professionell ul.modules { padding-left: 0; }
#professionell ul.modules li {
    display: block;
    max-width: 350px;
    margin: 0 auto 8px auto;
    background-color: #eee;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 12px 8px;
    text-align: center; }
/* /Professionell */


#donate .wp-block-image {
    margin-top: 18px;
    margin-bottom: 12px; }
#donate table {
    margin-top: 12px;
    font-size: 0.85rem; }
.darker {
    background-color: #eee;
    padding: 12px 0;
    gap: 1em !important;
}

/* Smartphone */
@media only screen and (max-width: 640px) {
    header { display: block; }
    header a { display: block; text-align: center; }
    header a img {
        max-width: 100%;
        height: auto;
        margin: 8px auto 0; }
    header div#title { padding: 4px; line-height: 1.2; text-align: center; }
    header nav a { padding: 4px 8px; font-size: 12px; display: inline-block; }
    main,
    footer,
    #subFooter { padding: 12px; }
    .mobile-only { display: block; }
    .less-margin-top { margin-top: 0; }
    .img-container .bottom-right { font-size: 0.8em; padding: 2px 4px; }
    .it { display: block; margin-bottom: 24px; }
    .it .it-img { display: none; }
    .it .it-text img.mobile-only { width: 100%; margin-bottom: 8px; }
    .it .it-text { width: 100%; }
    .flex-boxes { display: block; }
    .flex-boxes>div { max-width: 100%; padding: 6px; border-radius: 6px; margin: 8px; }
    .img-float-left { float: none; display: block; margin: 12px auto; }
    .image-and-text { display: block; }
    .image-and-text img { margin: 0 12px;    }
    .image-and-text div { margin: 12px; padding: 0; }
    h1 { font-size: 2em; }

    footer { display: block !important; }
    footer>nav,
    footer>div { width: 100% !important; }
}

/* Wundercoach */
#wundercoach_wrapper .btn.event_btn_signup {
    color: #fff;
    background-color: #a2405c !important; }
#wundercoach_wrapper .btn.btn-warning.event_btn_latest_signup_date_exceeded,
#wundercoach_wrapper .btn.event_btn_fully_booked {
    color: #000;
    background-color: #eee !important; }
#wundercoach_wrapper .btn.event_btn_signup,
#wundercoach_wrapper .btn.btn-warning.event_btn_latest_signup_date_exceeded,
#wundercoach_wrapper .btn.event_btn_fully_booked {
    border: none;
    border-radius: 0;
    padding: 12px 24px;
    font-size: 15px;
}

#wc_filter_form button {
    padding: 4px !important;
    border-radius: 4px !important;
    border-color: #e47557!important;
    background-color: #e47557!important;
    color: white !important; }
.container-wrap .form-group input[type="text"], select {
    padding: 4px !important;
    border-radius: 4px;
    border: 1px solid #d2cfcf !important;
    background-color: #f8f8f8 !important;
    color: #888;
    margin-bottom: 6px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important; }
#wc_pagination { text-align: center; }
#wc_pagination .pagination { margin: 0; }
#wundercoach_embedded { min-height: 300px; }
#spinner { margin-top: -200px; }
/* /Wundercoach */

.roterHalbrahmen figure,
figure.roterHalbrahmen {
    margin-left: 12px !important;
    margin-bottom: 36px !important;
    position: relative;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
figure.roterHalbrahmen:before,
.roterHalbrahmen figure:before {
    display: block;
    content: "";
    position: absolute;
    bottom: -12px;
    left: -12px;
    border-bottom: 12px solid #dd7156;
    border-left: 12px solid #dd7156; }
figure.roterHalbrahmen:before {
    width: 100%;
    height: 100%; }
.roterHalbrahmen figure:before,
figure.wp-block-image.roterHalbrahmen:before {
    width: calc(100% - 12px);
    height: calc(100% - 12px); }
