﻿

.beField:has(h1:only-child) h1,
.beField:has(h2:only-child) h2,
.beField:has(h3:only-child) h3,
.beField:has(h4:only-child) h4,
.beField:has(h5:only-child) h5,
.beField:has(h6:only-child) h6 {
    margin-bottom: initial;
}

.beField:has(h2:only-child) h2 {
    margin: 8px 0 20px 0;
}


.beItem[data-itemname="Card"] .beItemContent {
    height: 100%;
}

.beItem[data-itemname="Card"] .beFieldDataTypecKEditorText {
    padding: 20px 20px 45px 20px;
}



.beItem[data-itemname="Card"] .beItemContent a.beItemCardContentLink {
    display: inline-block;
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    border-top: 1px solid #fff;
    padding: 4px 0 0 0;
    text-transform: uppercase;
}

.beItem[data-itemname="Card"] .beItemContent a.beItemCardContentLink:hover {
    text-decoration: none;
}


@media screen and (max-width: 580px) {
    .beItem[data-itemname="Card"] .beFieldDataTypecKEditorText {
        padding: 15px 15px 45px 15px;
    }

}

/* KaestchenBlau*/

.KaestchenBlau .beItem[data-itemname="Card"] {
    box-shadow: none;
    background-color: #0069B4;
    color: #fff;
}

.KaestchenBlau .beItem[data-itemname="Card"].hasOverlayLink:hover {
    background-color: #7EA7D3;
}

.KaestchenBlau .beItemContent h1,
.KaestchenBlau .beItemContent h2,
.KaestchenBlau .beItemContent h3,
.KaestchenBlau .beItemContent h4,
.KaestchenBlau .beItemContent h5,
.KaestchenBlau .beItemContent h6,
.KaestchenBlau .beItemContent a[href^="tel:"] {
    color: #fff;
}

.KaestchenBlau .beItemContent a,
.KaestchenBlau .beItemContent a:visited {
    color: #fff;
}

/* KaestchenTextHover */

.KaestchenTextHover .beItem[data-itemname="Card"] .beFieldDataTypecKEditorText {
    font-size: 17px;
}

.KaestchenTextHover .beItem[data-itemname="Card"] .beFieldDataTypecKEditorText h1,
.KaestchenTextHover .beItem[data-itemname="Card"] .beFieldDataTypecKEditorText h2 {
    font-size: 23px;
}


.KaestchenTextHover .beItem[data-itemname="Card"] .beFieldDataTypeimageWithControls img {
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 1;
}

.KaestchenTextHover .beItem[data-itemname="Card"]:hover .beFieldDataTypeimageWithControls img {
    opacity: 0.2;
}

.KaestchenTextHover .beItem[data-itemname="Card"] .beFieldDataTypecKEditorText {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.KaestchenTextHover .beItem[data-itemname="Card"]:hover .beFieldDataTypecKEditorText {
    opacity: 1;
}


@media screen and (max-width: 767.9px) {

    .KaestchenTextHover .beItem[data-itemname="Card"] .beFieldDataTypecKEditorText {
        position: relative;
        opacity: 1;
    }

}