/* .... LAZY BLOCKS.... */


/* .... FULLWIDTH SECTION .... */
.wp-block-lazyblock-fullwidth-section,
main .entry-content > .wp-block-lazyblock-fullwidth-section:not(:last-child) {
    margin-bottom: 0;
}
.fullwidth {
    background-color: #f3f3f3;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.fullwidth.fullwidth-margin {
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.fullwidth.fullwidth-top-margin {
    margin-top: 5rem;
}
.fullwidth.fullwidth-bottom-margin {
    margin-bottom: 5rem;
}
.fullwidth.fullwidth-dark {
    background-color: var(--primary-clr);
    color: #fff;
}
.fullwidth.fullwidth-light {
    background-color: #f3f3f3;
}
.fullwidth.fullwidth-cta {
    background-color: var(--cta-clr);
    color: #fff;
}

.fullwidth .fullwidth-content {
    max-width: 1400px;
    padding: 0px 40px;
    margin: 0 auto;
}
.fullwidth.fullwidth-padding .fullwidth-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.entry-content > .wp-block-lazyblock-fullwidth-section:last-child {
    margin-bottom: -8em;
}
.fullwidth .fullwidth-content > h2:first-child {
    margin-top: 0;
}
/* dark */
.fullwidth.fullwidth-dark h2,
.fullwidth.fullwidth-dark h3 {
    color: #fff;
}

/*
* dürfte nicht mehr nötig sein wenn Abstände über Optionen gesetzt werden
*
.wp-block-lazyblock-fullwidth-section + .wp-block-lazyblock-fullwidth-section {
    margin-top: -6rem;
}
*/


/* .... ACCORDION .... */
.wp-block-lazyblock-accordion {
    margin-top: 2em;
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.accordion-container,
.accordion-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.wp-block-lazyblock-accordion .grid-container {
    padding-left: 0;
}
button.accordion,
h3.accordion {
    position: relative;
    background-color: var(--primary-clr);
    color: #fff;
    cursor: pointer;
    margin: 0;
    padding: 10px 20px 8px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 1.2rem;
    font-family: var(--font-body);
}
button.accordion:hover,
button.accordion:focus,
h3.accordion:hover,
h3.accordion:focus {
    background-color: var(--darker-primary-clr);
}
.wp-block-lazyblock-accordion button.accordion.active {
    background-color: var(--darker-primary-clr);
}
button.accordion:after,
h3.accordion:after {
    content: '\002B';
    color: #fff;
    font-weight: normal;
    float: right;
    margin-left: 5px;
    font-size: 1.4em;
    margin-top: 0;
    line-height: .7em;
}
button.accordion.active:after,
h3.accordion.active:after {
    content: "\2212";
}
button.accordion + .panel,
h3.accordion + .panel {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 15px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.accordion + .panel .panel-content {
    position: relative;
    padding: 20px 20px 20px;
    background: #f3f3f3;
}
.accordion + .panel p {
    margin: 0 0 20px;
    max-width: 100% !important;
}

.accordion-wrap span.colorcode {
    display: block;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    width: 30px;
}
.specialcolor h3.accordion,
.specialcolor .accordion + .panel .panel-content {
    padding-left: 45px;
}


/* .... TEAM .... */

/* bild rechts */
.team-img-right {
    display: grid;
    grid-template-columns: 66.66666% 33.33333%;    
}
.team-img-right .image {
    order: 2; 
}
.team-img-right .text {
    order: 1; 
}
/* bild links */
.team-img-left {
    display: flex;
}
/* bild rechts */
.team-img-left {
    display: flex;
}
.team-img-right img {
    float: right;
}
/* kachel */
.team-tile {
    display: flex;
    flex-direction: column; 
}
/* bild und text */
.team img {
    display: block;
}
.team .text {
    padding: 15px 0;
}
.has-background .team .text {
    padding: 15px 0 0;
}
.team .text p.name {
    margin-bottom: 0;
    font-weight: bold;
}
.team .text .title {
    margin-bottom: 10px;
}
.team .text a.tel:before {
    display: none;
}
.team .text a.tel,
.team .text a.mail {
    font-size: 0.9em;
}


/* MULTIPLE */
.team-tilesgrid-2 {
    grid-template-columns: 1fr 1fr;
}
.team-tilesgrid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.team-tilesgrid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}


/* .... KONTAKT .... */
.entry-content .contact {
    margin-bottom: 2em;
}
.contact .title {
    font-weight: 500;
    margin-bottom: 5px;
}
.contact i {
    width: 25px;
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary-clr);
    font-size: 20px;
    text-align: center;
}
.contact div.address,
.contact div.phone,
.contact div.email {
    display: flex;
    margin-top: 10px;
}




/* .... TEASER .... */
p + .wp-block-lazyblock-teaser {
    margin-top: 40px;
}
.teaser {
    position: relative;
}
.teaser.teaser-more {
    padding-top: 1rem;
}
.teaser a.button-more {
    position: absolute;
    top: -4rem;
    right: 0;
}


/* .... TEASERBOX .... */
.teaserbox {
    margin-bottom: 2rem;
    padding: 0;
    color: #555;
}
.fullwidth .teaserbox {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border: none;
}
.teaserbox h3 {
    margin-top: 15px;
    margin-bottom: 0.7rem;
    color: var(--primary-clr) !important;
    font-size: 1.2rem;
    line-height: 1.2em;
}
.teaserbox .datetime,
.teaserbox .location {
    display: grid;
    grid-template-columns: 55px 1fr;
}
.teaserbox .datetime {
    font-weight: bold;
}
.teaserbox .label {
    font-weight: normal !important;
}
.teaserbox .text {
    margin-bottom: 15px;
}
.teaserbox .text p {
    margin-bottom: 0;
}
.teaserbox a.button {
    display: inline-block;
    text-align: center;
    color: #fff;
}
.teaserbox img {
    width: 100%;
}

/* Logo Teaser */
.logo-tiles .teaserbox .inner {
    display: grid;
    grid-template-rows: 1fr 1fr;
    height: 100%;
}
.logo-tiles .teaserbox .image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-tiles .teaserbox h3 {
    font-size: 1rem;
    text-align: center;
}

/* .... TERMINE .... */
.termine .teaserbox a.button {
    margin-top: 20px;
    padding: 5px 15px;
    font-size: 0.95em;
}
.fullwidth-dark .termine {
    margin-top: 3rem;
}
.fullwidth-dark .termine a.button-more {
    top: -6rem;
    background: none;
    color: var(--cta-clr) !important;
    text-transform: uppercase;
}
.fullwidth-dark .termine a.button-more:hover,
.fullwidth-dark .termine a.button-more:focus {
    text-decoration: underline;
}
.fullwidth-dark .termine a.button-more:before {
    content: "\f073";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    display: inline-block;
    font-weight: 900;
    font-size: 1.5em;
    margin-right: 10px;
}
.fullwidth-dark .termine .teaserbox {
    border-left: 2px solid rgba(255,255,255,0.8);
    padding: 10px 0 10px 15px;
    background: none;
    color: #fff;
}
.fullwidth-dark .termine .teaserbox h3 {
    margin-top: 0;
    margin-bottom: 6px;
    text-align: left;
    color: #fff !important;
    font-size: 1.1rem;
}
.fullwidth-dark .termine .teaserbox h3:after {
    display: none;
}
.fullwidth-dark .termine .datetime {
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}
.fullwidth-dark .termine .teaserbox .text {
    margin-bottom: 0;
    text-align: left;
}


/* .... DOWNLOAD .... */
div + .wp-block-lazyblock-download:first-of-type,
figure + .wp-block-lazyblock-download {
    margin-top: 2rem;
}
.download {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.download .fas {
    font-size: 2rem;
    color: var(--primary-clr);
    margin-right: 15px;
    margin-top: 2px;
}
.download a {
    line-height: 1.2em;
}
.download p {
    width: 100%;
    margin-top: 10px;
    line-height: 1.2em;
    font-size: 15px;
}