/* Allgemeine Einstellungen */

:root {
    --body: #1d1d1b;
    --primary: #ae152c;
    --white: #fff;
    --black: #000;

}

/*================================================
    Allgemeines Layout
================================================*/

/* Grid Settings */

.bd_grid {
    display: grid;
    gap: 64px;
}

.bd_grid.smallgap {
    gap: 32px;
}

.bd_grid.vertical_align>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bd_grid img {
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 981px) {
    .bd_grid,
    .bd_grid.bd_row,
    #post_archive.bd_grid.col-6 {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 32px;
    }

    .bd_grid.smallgap,
    .tax-product-category .bd_grid {
        gap: 32px;
    }

    .bd_grid.big_gap {
        gap: 64px;
    }

    .bd_grid .bd_col-1,
    .col-1 {
        grid-column: span 1;
    }

    .bd_grid .bd_col-2,
    .col-2 {
        grid-column: span 2;
    }

    .bd_grid .bd_col-3,
    .col-3 {
        grid-column: span 3;
    }

    .bd_grid .bd_col-4,
    .col-4 {
        grid-column: span 4;
    }

    .bd_grid .bd_col-5,
    .col-5 {
        grid-column: span 5;
    }

    .bd_grid .bd_col-6,
    .col-6,
    #post_archive.bd_grid.col-6 article {
        grid-column: span 6;
    }

    .bd_grid .bd_col-7,
    .col-7 {
        grid-column: span 7;
    }

    .bd_grid .bd_col-8,
    .col-8 {
        grid-column: span 8;
    }

    .bd_grid .bd_col-9,
    .col-9 {
        grid-column: span 9;
    }

    .bd_grid .bd_col-10,
    .col-10 {
        grid-column: span 10;
    }

    .bd_grid .bd_col-11,
    .col-11 {
        grid-column: span 11;
    }

    .bd_grid .bd_col-12,
    .col-12 {
        grid-column: span 12;
    }

    .align-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    .align-left {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start
    }

    .align-right {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end
    }

    .align-space-evenly {
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly
    }

    .align-space-between {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .align-space-around {
        -ms-flex-pack: distribute;
        justify-content: space-around
    }

    .valign-stretch {
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch
    }

    .valign-top {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }

    .valign-center {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .valign-bottom {
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end
    }
}

/*================================================
    Contact Form 7, bd edit
================================================*/
form.wpcf7-form {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 32px;
    position: relative;
}

.wpcf7 label {
    margin-bottom: .4em;
    font-weight: 500;
}

.wpcf7 label,
.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
    width: 100%;
}

.wpcf7-form-control-wrap input[type=checkbox] {
    width: auto;
}

.bd_grid .wpcf7-list-item {
    display: block;
    margin: unset;
}

.wpcf7-form-control.wpcf7-checkbox span.wpcf7-list-item label,
.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
}

.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"],
.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"] {
    margin-right: 1em;
    margin-top: 0.4em;
}

.wpcf7-list-item-label {
    flex: 1;
}

.wpcf7 input.wpcf7-text,
.wpcf7 input.wpcf7-title,
.wpcf7 input[type=email],
.wpcf7 input[type=password],
.wpcf7 input[type=tel],
.wpcf7 input[type=text],
.wpcf7 input[type=date],
.wpcf7 input[type=number],
.wpcf7 select,
.wpcf7 textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: var(--primary_font);
}

.wpcf7 input.wpcf7-text:focus,
.wpcf7 input.wpcf7-title:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=password]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=date]:focus .wpcf7 input[type=number]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(0, 174, 69, .5);
}

.wpcf7 select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat;
    background-position: right 10px center;
    background-color: var(--white, #fff);
    background-size: 16px;
    padding-right: 30px;
    border: 1px solid solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    padding: 0.75rem;
    box-sizing: border-box;
}

.wpcf7 select::-ms-expand {
    display: none;
}

.wpcf7-submit {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    position: absolute;
    right: 0;
}

.wpcf7-submit:hover {
    filter: brightness(90%);
}

.wpcf7-list-item-label {
    font-size: 0.9rem;
    display: block;
    font-weight: normal;
}

.wpcf7-list-item-label a {
    text-decoration: underline;
}

/* Pflichtfelder */
.wpcf7-form-control.wpcf7-validates-as-required+label::after {
    content: ' *';
    color: red;
    font-weight: bold;
    margin-left: 5px;
}

.wpcf7-spinner {
    margin-left: 10px;
}

.has-spinner[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.has-spinner[disabled] .wpcf7-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--white, #fff);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wpcf7-not-valid-tip {
    margin-top: .4em;
}

/* Multistep */

.cf7-progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: var(--border-radius);
    margin-bottom: 2em;
    height: 10px;
}

.cf7-progress-bar-inner {
    height: 100%;
    width: 0;
    background-color: var(--primary);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.cf7-step {
    display: none;
}

.cf7-step.active {
    display: block;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
}

.wpcf7-form button {
    cursor: pointer;
    color: var(--body);
}

button.prev-button {
    margin-right: auto;
    /* Links ausrichten */
}

button.next-button {
    margin-left: auto;
    /* Rechts ausrichten */
}

.wpcf7-form h3 {
    margin-top: 0;
}

.cf7-card {
    position: relative;
    padding: 2em;
    background-color: var(--primary);
    border-radius: var(--border-radius);
}



/*================================================
    Google Reviews
================================================*/

.block_google-reviews {
    max-width: var(--default_width);
    width: 80%;
    margin: 0 auto;
}

.wp-gr .grw-header-inner {
    padding: 0 !important;
    margin-left: 0 !important;
}

.wp-gr .grw-dot {
    background: var(--lightgrey, #ccc) !important;
}

.wp-gr .grw-dot.active {
    background-color: var(--primary) !important;
}

.wp-gr .wp-google-text {
    border: 1px solid var(--lightgrey, #ccc);
}

.wp-gr .wp-google-text,
.wp-gr.wpac a.wp-google-name {
    color: var(--body) !important;
}

.wp-gr:not(.wp-dark) .grw-review-inner.grw-backgnd {
    background: unset !important;
}

.wp-star path {
    fill: var(--primary);
}

.wp-gr .wp-google-rating {
    color: var(--primary) !important;
}

body {
    margin: 0 auto;
    max-width: 1920px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media screen and (min-width: 1921px) {
    body {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
}

body {
    font-family: 'Exo';
    font-style: normal;
    font-size: 16px;
    color: #1d1d1b;
    letter-spacing: 0.02em;
}

body, #page-container {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Amethysta';
    font-style: normal;
    color: #ae152c;
}

@media only screen and ( max-width: 980px ) {
    h1, h2, h3, h4, h5, h6 {
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

h1, div.et_pb_text_inner h1, #shopkat_title > div > h1 {
    font-size: 36px;
    color: #ae152c;
    text-transform: uppercase;
    margin: 35px 0 25px 0;
    line-height: 1.2em;
}

h1 span, div.et_pb_text_inner h1 span {
    text-transform: none;
    font-size: 60px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: inline-block;
}

h2, div.et_pb_text_inner h2 {
    font-size: 33px;
    letter-spacing: 0.05em;
    line-height: 1.2em;
    margin: 35px 0 15px 0;
}

h3, div.et_pb_text_inner h3 {
    font-size: 28px;
    letter-spacing: 0.05em;
    margin-top: 20px;
    line-height: 1.2em;
    margin-bottom: 10px;
}

@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
    h1, h2, h3, h4, h5, h6 {
        -moz-hyphens: auto;
        hyphens: auto;
    }

    h1, div.et_pb_text_inner h1, #shopkat_title > div > h1 {
        font-size: 30px;
        line-height: 1.2em;
    }

    h1 span, div.et_pb_text_inner h1 span {
        font-size: 36px;
    }

    h2, div.et_pb_text_inner h2 {
        font-size: 24px;
        margin-top: 20px;
        letter-spacing: 0;
    }

    h3, div.et_pb_text_inner h3 {
        font-size: 20px;
        margin-top: 12px;
        letter-spacing: 0;
    }
}

@media only screen and ( max-width: 479px ) {
    h1, h2, h3, h4, h5, h6 {
        -moz-hyphens: auto;
        hyphens: auto;
    }

    h1, div.et_pb_text_inner h1 {
        font-size: 24px;
    }

    h1 span, div.et_pb_text_inner h1 span {
        text-transform: none;
        font-size: 24px;
    }

    h2, div.et_pb_text_inner h2 {
        font-size: 20px;
        margin-top: 18px;
        letter-spacing: 0;
    }

    h3, div.et_pb_text_inner h3 {
        font-size: 18px;
        margin-top: 10px;
        letter-spacing: 0;
    }
}

a {
    color: #ae152c;
    text-decoration: none;
}

.et_pb_text_inner p {
    text-align: justify;
}

.rund > span > img {
    border-radius: 50%;
}

.vollbreit {
    max-width: unset;
    width: 100%;
}

.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

small {
    font-size: 80%;
    font-style: italic;
}

.narrow {
    max-width: 760px;
    margin: 0 auto;
}

.keinabstand_oben {
    margin-top: 0;
}

.keinabstand_unten {
    padding-bottom: 0 !important;
}

#et_search_icon:hover, #top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, .bottom-nav li.current-menu-item > a, .comment-reply-link, .entry-summary p.price ins, .et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, .form-submit .et_pb_button, .mobile_menu_bar:after, .mobile_menu_bar:before, .nav-single a, .posted_in a, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce .star-rating span:before, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt:hover, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page .star-rating span:before, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: #ae152c;
}

.et_pb_sum, .et_pb_pricing li a, .et_pb_pricing_table_button, .et_overlay:before, .et_pb_member_social_links a:hover, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light.et_pb_module.et_pb_button, .et_pb_bg_layout_light .et_pb_more_button, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .et_pb_contact_submit, .et_pb_bg_layout_light .et_pb_newsletter_button {
    color: #ae152c;
}

.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li:before, blockquote {
    border-color: #ae152c;
}

/* Allgemeines Layouts */

button.button, .woocommerce button.button {
    font-size: 14px;
    font-weight: bold;
}

.et_pb_button {
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 2px;
    font-size: 14px;
    font-weight: bold;
    line-height: 33px;
    padding: 14px 20px;
}

.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    padding: 14px 20px;
}

.et_pb_button:hover {
    color: var(--primary) !important;
    background: var(--white) !important;
    border: 2px solid var(--white);
}

.et_pb_button:after, .et_pb_button:before, .woocommerce button.button:after {
    display: none !important;
}

.woocommerce button.button:hover {
    padding: .3em 1em;
}

.woocommerce #content input.button.alt:after, .woocommerce #content input.button:after, .woocommerce #content input.button:before, .woocommerce #respond input#submit.alt:after, .woocommerce #respond input#submit:after, .woocommerce #respond input#submit:before, .woocommerce-page #content input.button.alt:after, .woocommerce-page #content input.button:after, .woocommerce-page #content input.button:before, .woocommerce-page #respond input#submit.alt:after, .woocommerce-page #respond input#submit:after, .woocommerce-page #respond input#submit:before, .woocommerce-page a.button.alt:after, .woocommerce-page a.button:after, .woocommerce-page a.button:before, .woocommerce-page button.button.alt:after, .woocommerce-page button.button:after, .woocommerce-page button.button:before, .woocommerce-page input.button.alt:after, .woocommerce-page input.button:after, .woocommerce-page input.button:before, .woocommerce a.button.alt:after, .woocommerce a.button:after, .woocommerce a.button:before, .woocommerce button.button.alt:after, .woocommerce button.button:after, .woocommerce button.button:before, .woocommerce input.button.alt:after, .woocommerce input.button:after, .woocommerce input.button:before {
    content: none;
}

.woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #content input.button:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button.alt.disabled:hover, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:hover, .woocommerce button.button:hover, .woocommerce input.button.alt:hover, .woocommerce input.button:hover {
    padding: .3em 1em;
}

/* Ende Allgemeines Layout */

/* Layout */

@media only screen and ( min-width: 981px ) {
    .et_pb_section:first-of-type {
        margin-top: 85px;
    }

    .et_pb_section:lsat-of-type {
        margin-bottom: 85px;
    }
}

/* Ende Layout */


/* Startseite */

#infoleiste {
    background: transparent;
    padding-bottom: 0;
    z-index: 99;
}

@media only screen and ( min-width: 981px ) {
    #infoleiste {
        transform: translateY(-15vh);
        margin-bottom: -15vh;
    }
}

@media only screen and ( max-width: 767px ) {
    #infoleiste {
        margin-top: 50px;
    }
}

#infoleiste > div {
    display: block;
    margin: 0 auto;
    padding: 0;
}

#infoleiste div.et_pb_column {
    border-radius: 5px 5px 30px 5px;
    border: 2px solid #ae152c;
    padding: 25px 10px 10px 10px;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1)
}

#infoleiste div.et_pb_text_inner h2 {
    color: #ae152c;
    font-size: 33px;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
}

@media only screen and ( min-width: 981px ) and ( max-width: 1220px ) {
    #infoleiste div.et_pb_text_inner h2 {
        font-size: 25px;
    }
}

@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
    #infoleiste div.et_pb_text_inner h2 {
        font-size: 28px;
    }
}

#infoleiste div.et_pb_column div.et_pb_image span img {
    width: 85px;
    height: auto;
}

@media only screen and ( max-width: 479px ) {
    #infoleiste div.et_pb_column {
        width: 45% !important;
    }

    #infoleiste div.et_pb_column:nth-child(odd) {
        margin-right: 10%;
    }

    #infoleiste div.et_pb_text_inner h2 {
        font-size: 18px;
    }

    #infoleiste div.et_pb_column div.et_pb_image span img {
        width: 50px;
    }
}

@media only screen and ( min-width: 981px ) {
    .page-id-11 div.et_pb_section.et_pb_section_1 {
        top: -60px;
        margin-top: 60px;
    }
}

@media not all and (min-resolution: .001dpcm) {
    @supports (-webkit-appearance:none) and (display:flow-root) {
        .saf13_nIOSup {
            padding-top: 60px;
        }
    }
}

#unterschrift > span > img {
    width: 250px;
}

.start_logo img {
    max-width: 150px;
}

/* Ende Startseite */

/* Weingut */

.page-id-90 div.et_pb_column_1_4 > div > span > img {
    max-height: 130px;
    width: auto;
}

@media only screen and ( max-width: 980px ) {
    .page-id-90 div.et_pb_column_1_4 {
        display: none;
    }

    .page-id-90 .et_pb_section, .page-id-90 .et_pb_row {
        padding: 0;
    }

    .page-id-90 .et_pb_section:first-of-type {
        padding: 50px 0;
    }

    .page-id-90 .et_pb_section:last-of-type {
        padding: 0 0 50px 0;
    }
}

/* Aktuelles */

.et_pb_blog_grid h2 {
    font-size: 22px;
}

/* Ende Aktuelles */

#weinbergsrundfahrt h2 {
    font-size: 26px;
    letter-spacing: 0.05em;
    line-height: 1.2em;
    margin-bottom: 10px;
}

#weinbergsrundfahrt h2:not(:first-of-type) {
    margin-top: 40px;
}

/* Weinerlebnis */

.icon_teaser div.et_pb_column {
    border: 3px solid #ae152c;
    border-radius: 5px;
    padding: 2em;
}

.icon_teaser img {
    height: 150px;
    max-width: 175px;
}

.icon_teaser div.et_pb_text_inner {
    text-align: center;
}

.icon_teaser div.et_pb_text_inner h2 {
    font-size: 26px;
    letter-spacing: 0;
}

@media only screen and ( max-width: 479px ) {
    .icon_teaser div.et_pb_text_inner h2 {
        font-size: 22px;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

/* Ende Weinerlebnis */

/* Kalender */

#events_teaser .ecs-event-list {
    list-style: none;
    padding: 0;
}

#events_teaser .ecs-event {
    padding: 15px;
    border-radius: 5px 5px 30px 5px;
    border: 2px solid #ae152c;
    margin: 20px 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media only screen and ( min-width: 768px ) {
    #events_teaser .ecs-event-list {
        display: table;
        border-collapse: separate;
        border-spacing: 15px;
    }

    #events_teaser .ecs-event {
        display: table-cell;
        width: 33.33%;
    }
}

#events_teaser .ecs-event:first-of-type {
    margin-top: 0;
}

#events_teaser h3 {
    font-size: 20px;
    margin-top: 12px;
    letter-spacing: 0;
    line-height: 1em;
}

#events_teaser p {
    text-align: center;
}

.tribe-events, .tribe-common .tribe-common-h2, .tribe-common .tribe-common-h3, .tribe-common .tribe-common-h4, .tribe-common .tribe-common-h5, .tribe-common .tribe-common-h6, .tribe-common .tribe-common-h7, .tribe-common .tribe-common-h8, .tribe-common .tribe-common-b2, .tribe-common .tribe-common-b3, .tribe-common .tribe-common-b4, .tribe-common .tribe-common-b5, .tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn, .tribe-events .tribe-events-c-view-selector__list-item-text, .tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border, .tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
    font-family: 'Amethysta';
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a {
    background-color: var(--body);
}

.tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused, .tribe-events .datepicker .day.active:focus, .tribe-events .datepicker .day.active:hover, .tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused, .tribe-events .datepicker .month.active:focus, .tribe-events .datepicker .month.active:hover, .tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused, .tribe-events .datepicker .year.active:focus, .tribe-events .datepicker .year.active:hover {
    background: var(--primary);
}

.tribe-events-calendar thead th {
    background-color: var(--primary);
    border-left: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    color: #fff;
}

.tribe-events-notices {
    display: none;
}

.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn, .tribe-events .tribe-events-calendar-month__mobile-events-icon--event, .tribe-events .tribe-events-c-events-bar__search-button:before, .tribe-events .tribe-events-c-view-selector__button:before {
    background-color: var(--primary);
}

.tribe-common .tribe-common-c-btn:focus, .tribe-common .tribe-common-c-btn:hover, .tribe-common a.tribe-common-c-btn:focus, .tribe-common a.tribe-common-c-btn:hover, .tribe-events .tribe-events-c-ical__link:active, .tribe-events .tribe-events-c-ical__link:focus, .tribe-events .tribe-events-c-ical__link:hover {
    background-color: var(--primary);
    opacity: .8;
}

.tribe-events .tribe-events-c-view-selector__list-item-text, .tribe-common a, .tribe-common a:active, .tribe-common a:focus, .tribe-common a:hover, .tribe-common a:visited {
    color: var(--body);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after {
    background-color: var(--body);
}

.tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input, .tribe-events .tribe-events-c-search__input-control--keyword-focus .tribe-events-c-search__input, .tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input:focus {
    background-image: unset;
}

.tribe-events .tribe-events-c-messages__message--notice:before {
    display: none;
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
    color: var(--primary);
}

.tribe-events .tribe-events-calendar-month__day-cell--selected, .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
    background: var(--primary);
}

.tribe-events .tribe-events-calendar-month__day-cell--selected > h3, .tribe-events .tribe-events-calendar-month__day-cell--selected:focus > h3, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover > h3 {
    color: var(--white) !important;
}

.tribe-common .tribe-common-h4 {
    color: var(--body);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:hover:after {
    background-color: var(--body);
}

.tribe-events .tribe-events-c-ical__link {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.tribe-events .tribe-events-c-ical__link:before {
    display: none;
}

/* Ende Kalender */


/* Stack Order */
@media only screen and (max-width: 980px) {

    /*** wrap row in a flex box ***/
    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        /* Safari 6.1+ */
        flex-wrap: wrap;
    }

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-mobile img {
        margin-bottom: 30px;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
    }

    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

/* Stack Order Smartphone */
@media only screen and (max-width: 479px) {

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-smartphone {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-smartphone img {
        margin-bottom: 30px;
    }

    .second-on-smartphone {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-smartphone {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-smartphone {
        -webkit-order: 4;
        order: 4;
    }
}

.et_pb_scroll_top.et-pb-icon {
    color: #fff;
    background: #ae152c;
    border-style: solid;
    border-color: #fff;
    border-width: 1px 0 1px 1px;
}

/* Sidebar Removal */
#main-content .container:before {
    background: none;
}

@media (min-width: 981px) {
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

/* Notification */

#notification {
    z-index: 99;
    background-color: var(--primary);
    position: absolute;
    top: 136px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    margin-bottom: 136px;
}

@media only screen and ( max-width: 980px ) {
    #notification {
        top: 130px;
        margin-bottom: 130px;
    }
}

#notification .et_pb_text_inner {
    width: 80%;
    margin: 0 auto;
    padding: 23px 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 27px;
}

#notification .et_pb_text_inner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}