/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

a {
    color: #1122CC;
}

a:hover {
    color: #1122CC;
    text-decoration: underline;
}

h3 {
    font-family: "PT Sans" !important;
    line-height: 1.2 !important;
    font-size: 14pt !important;
    margin: 0;
    padding: 0 0 10px 0 !important;
    font-weight: bold !important;
}

.veranstaltungen-table th,
.veranstaltungen-table td {
    text-align: center;
    padding: 0 0 !important;
    line-height: 1.2;
}

.veranstaltungen-table td span {
    display: block;
    color: white;
    font-size: 9px;
    font-weight: bold;
    background: #cc071e;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    line-height: 15px;
    margin: 0 auto;
}

.veranstaltungen-table th {
    padding: 6px 0 !important;
}

.veranstaltungen-table td span.total0 {
    background: #bbb;
    margin: 0 auto;
}

.veranstaltungen-table td.day.activeday {
    background: #cc071e;
    color: white !important;
    text-align: center !important;
}

.veranstaltungen-table td a,
.veranstaltungen-table td a:hover {
    text-decoration: none;
    display: block;
    padding: 6px 0;
}

.veranstaltungen-table td.day.activeday a {
    color: white !important;
}

.veranstaltungen-table td.day.activeday span {
    color: grey;
    background: white;
}

.top_buttons {

    width: 100%;
    padding: 0 0 20px 0;
    text-align: center;
}

.top_buttons .btn {
    margin-right: 2rem !important;
    background: #cc071e;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 12rem;
}

.toggle-calendar {

}

a.readon {

}

a.expand {
    border: 1px solid #cc071e;
    color: #cc071e;
    background: white;
    border-radius: 50px;
    padding: 5px 20px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    text-decoration: none !important;
}

#main {
    background: #f5f5f5;
    padding-left: 5px;
    padding-right: 5px;
}

#main h2 {
    line-height: 1.3;
    font-size: 13pt;
    margin-bottom: 0;
}

.slick-slider {
    display: table !important;
    table-layout: fixed;
    width: 100%;
}

.event-teaser {
    background-color: #fff;
    margin: 1rem 0;
}

.img-responsive {
    width: 100%;
    max-width: 100%;
}

.teaser-content {
    position: relative;
    color: #000;
    margin-bottom: 0.5em;
}

.teaser-content .date-time {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    font-size: 12pt;
    display: none;
}

.teaser-content h3 {
    font-size: 18pt !important;
    margin-bottom: 0.5em;
}

.teaser-content h4 {
    font-size: 12pt !important;
    font-weight: bold;
    margin: 0 0 0.5em 0 !important;
}

.teaser-text-content {
    font-size: 10pt;
    color: #333;
    padding: 0.8rem;
}

.zeit-und-ort {
    line-height: 1.3;
    font-size: 9pt;
    font-weight: normal;
    padding-top: 10px;
}

.headline {
    padding: 0.8rem;
    font-size: 14pt;
    line-height: 1.4;
}

.fontawesome-icon, .fontawesome-icon.circle-yes {
    color: #ffffff;
    background: #cc071e;
    border: none;
    float: none;
    margin: 0;
    margin-bottom: 0px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0;
    font-size: 12px;

}

.btn {
    margin-right: 15px !important;
    background: #555;
    color: white !important;
    outline: none !important;
    box-shadow: none;
}

.btn:active, .btn:focus, .btn:hover {
    outline: none !important;
    box-shadow: none;
}

.btn.active {
    background: #cc071e;
    color: white;
}

#toTop {
    background-color: #cc071e;
    right: 30px;
    opacity: 1;
}

.slick-initialized .slick-slide {
    display: block;
    overflow: hidden;
}

.the-slick .col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: black;
}

.the-slick .col .content {
}

.slick-prev:before, .slick-next:before {
    font-family: 'slick';
    font-size: 40px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    color: #fff !important;
}

.slick-track {
    background: #eee;
}

.slick-prev, .slick-next {
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
    width: 50px !important;
    height: 80px !important;
    background: transparent !important;
}

.slick-prev {
    left: 0px !important;
    z-index: 25 !important;
}

.slick-next {
    right: 0px !important;
    z-index: 25 !important;
}

.neuvorverkaufchip {
    display: inline-block;
    background: #cc071e;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 9pt;
    line-height: 1;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.calendar_image_wrapper,  .slider_image_wrapper{
    aspect-ratio: 16/9;
    height: auto;
    overflow: hidden;
    background: #eee;;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: initial;
    position: relative;
}

.calendar_image_wrapper .inner, .slider_image_wrapper .inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    background: #cc071e;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.image_wrapper {
    height: 0;
	padding-top: 56.25%;
    overflow: hidden;
    background: black;;
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    position: relative;
}

.the-slick .col .beschreibung {
    padding: 20px 50px 0 0;
    font-size: 12pt;
    color: white;
    line-height: 1.4;
}

@media (max-width: 1024px) {

    #main {
        padding-top: 30px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .btn {
        font-size: 14px !important;
        margin-right: 5px !important;
    }


    #sliders-container {
        display: none;
    }

    .page-id-95 .fusion-text iframe {
        max-width: 100% !important;
        max-height: 450px !important;
    }

    .table > tbody > tr > td, .table > tfoot > tr > td, .table > thead > tr > td {
        padding: 0 !important;
        text-align: center;
    }

    .table > tbody > tr > th, .table > thead > tr > th {
        padding: 3px !important;
    }


    .the-slick .col .beschreibung {

        padding: 20px;
        font-size: 12pt;
        color: #333;
        line-height: 1.4;
    }

    h1 {
      margin-top: 0.4em !important;
    }

    .event-teaser {
        margin: 0 !important;
        padding: 1.5rem 0 1rem 0 !important;
        border-bottom: 2px solid #e5e5e5;

    }

    .teaser-content h3 {
        font-size: 15pt !important;
        margin-bottom: 0.2em !important;
        margin-top: 0.5em;
    }


    .image_wrapper {
        height: 0;
		padding-top: 56.25%;
        overflow: hidden;
        background: #eee;;
        background-position: 50%;
        background-size: contain;
        background-repeat: no-repeat;
        aspect-ratio: 16/9;
    }

    .slick-content {
        position: absolute;
        inset: 0;
        top: auto;
        z-index: 10;
        color: #fff;
        padding: 20px;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    }

    .inner {
        position: relative;
        background-color: black;
        color: white;
    }


    .slider_image_wrapper, .calendar_image_wrapper {
        height: auto;
        aspect-ratio: 16/9;
        overflow: hidden;
        background: #eee;;
        background-position: 50%;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .slick-prev, .slick-next {
        top: 105px !important;
    }

    .event-data {
        min-width: 80vw !important;
        max-width: 100% !important;
    }

    .detail-section h1 {
        font-weight: bold;
        margin: 0 0 20px 0;
        color: #000;
        text-align: center;
        max-width: 100% !important;
        font-size: 1.7rem !important;
    }

    .slick-content h2 {
        font-size: 1.2em !important;
        margin-bottom: 1vw !important;
    }

    .slick-content h3 {
        margin: 0 !important;
        font-size: 1em !important;
        padding-bottom: 0 !important;
    }

    .top_buttons .btn {
        margin: 1rem !important;
    }

}

.slick-content {
    position: absolute;
    inset: 0;
    top: auto;
    z-index: 10;
    color: #fff;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.calendar_image_wrapper h3, .slider_image_wrapper h3 {
    color: #fff;
    bottom: 0;
    margin-bottom: 0;
    padding: 0.5rem !important;
}

#main .slick-content h2 {
    color: #fff;
    font-weight: bold !important;
    font-size: 26px;
    margin-bottom: 1vw !important;
}

.slick-content h3 {
    margin: 0 !important;
}

.slick-content:hover {
    color: #fff;
}

.inner {
    position: relative;
    background-color: black;
    color: white;
}

.advert-teaser {
    background: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.advert-teaser img {
    object-fit: contain;
    height: 100%;
    width: auto;
}

.calendar-location {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    z-index: 2;
}

.calendar-location span {
    background-color: #fff;
    color: #000;
    text-transform: uppercase;
    padding: 0.5rem;
}

.calendar-row {
    max-width: 80vw;
    margin: auto;
}
.category-row {
    margin-top: 5vw;
    margin-bottom: 2vw;
    width: calc(1100px + 20vw);
}
@media screen and (min-width: 1400px) {
    .category-row {
        margin-left: -10vw !important;
        margin-right: -10vw !important;

    }

    .event-data {
        min-width: 35vw !important;
        max-width: 50vw !important;
    }

    .detail-section h1 {
        max-width: 55vw !important;
        font-size: 2.2rem !important;
    }
}

.fusion-header-wrapper .fusion-row{
    max-width: 80vw !important;
}

.event-data ul li h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0.8em 0;
}

.event-data h3 {
    font-weight: bold;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

.event-data {
    color: black;
    margin-top: 2vw;
    justify-self: center;
    min-width: 50vw;
    max-width: 60vw;
}

.event-data ul {
    list-style: none;
}

.event-data ul li {
    border-bottom: 1px solid #ccc;
    position: relative;
    padding: 1.5rem 1rem 0.5rem 1rem;
}

.event-icon {
    display: inline-block;
    position: absolute;
    top: 30%;
    right: 1rem;
}

.category-links {
    list-style: none;
}

.category-link::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath id='Polygon_1' data-name='Polygon 1' d='M4,0,8,8H0Z' transform='translate(8) rotate(90)' fill='%23CC071E'/%3E%3C/svg%3E");
    display: inline-block;
}

.detail-wrapper {
    padding-left: 10px;
    padding-right: 10px
}

.detail-wrapper button, .detail-wrapper .btn {
    margin-bottom: 4rem;
}

.detail-section {
    display: grid;
    text-align: justify;
}

.detail-section img {
    max-height: 30rem;
    justify-self: center;
}

.detail-section h1 {
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #000;
    text-align: center;
    max-width: 80vw;
    font-size: 2rem;
}

.detail-section p, .detail-section h3 {
    line-height: 1.5;
}

.bg-image {
    inset: 0;
    position: absolute;
    z-index: 0;
    width: 100%;
    min-height: 100%;
    filter: blur(1rem);
    aspect-ratio: 16/9;
    object-fit: cover;
}

.top-image {
    position: absolute;
    height: 100%;
    width: auto;
    z-index: 1;
    inset: 0;
    margin-right: auto;
    margin-left: auto;
}

.fusion-main-menu .sub-menu {
    position: fixed;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0 !important;
    margin: 0;
    list-style: none;
    height: 50px;
    background-color: #f3eaea !important;
    border-bottom: 3px solid #cc071e;
}

.fusion-main-menu .sub-menu li {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.fusion-main-menu .fusion-dropdown-menu .sub-menu li a, .fusion-main-menu .sub-menu li a {
    border-bottom: none !important;
    color: #000 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.fusion-is-sticky .fusion-main-menu > ul > li > a:hover, .fusion-is-sticky .fusion-main-menu > ul > li.current-menu-item > a,
.fusion-body .fusion-sticky-menu .current-menu-ancestor > a, .fusion-body .fusion-sticky-menu .current-menu-parent > a {
    color: #fff !important;
    border-color: #fff !important;
    text-decoration: none !important;
}

.fusion-is-sticky .fusion-main-menu > ul > li > a > .fusion-megamenu-icon, .fusion-is-sticky .fusion-main-menu > ul > li > a > .fusion-megamenu-icon:hover {
    color: #fff !important;
}

.blockquote {
    border-left: 4px solid #cc071e;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu, .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu {
    text-align: left !important;
}

.fusion-mobile-current-nav-item > a {
    color: #cc071e !important;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li {
    border-bottom: 2px solid #cc071e;
    padding: 1.5em 0 !important;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li:first-child {
    padding-top: 4rem !important;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li:last-child {
    border-bottom: none !important;
}

.fusion-mobile-menu .fusion-mobile-nav-item a {
    color: #000;
    text-transform: uppercase;
    font-weight: bold !important;
    font-size: 1.8em !important;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li .fusion-caret .fusion-dropdown-indicator:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    color: #000;
    font-size: 24px;
    margin-right: 0.5em;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li .fusion-caret .fusion-dropdown-close-indicator:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-up'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
    color: #000;
    font-size: 24px;
    margin-right: 0.5em;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li .fusion-caret .fusion-dropdown-close-indicator {
    display: none;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li .sub-menu {
    width: 100% !important;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li .sub-menu li {
    border-bottom: none !important;
    padding: 0.5em 0 !important;
}

.fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-mobile-menu li .sub-menu li a {
    font-size: 1.4em !important;
    color: #000;
    text-transform: none !important;
    font-weight: normal !important;
}


