/*
 Theme Name:     Divi Child
 Theme URI:      https://viergrad.digital
 Description:    Divi Child Theme
 Author:         viergrad
 Author URI:     https://viergrad.digital
 Template:       Divi
 Version:        1.0.0
*/



.mbr-event-green-focus-box h3 {
    font-size: 18px !important;
}

.bfa-contact-flyout__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999998;
    min-width: 132px;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border: 1px solid #1975BA;
    border-radius: 12px;
    background: #1975BA;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    cursor: pointer;
}

.bfa-contact-flyout__trigger:hover,
.bfa-contact-flyout__trigger:focus {
    border-color: #145f97;
    background: #145f97;
}

.bfa-contact-flyout__trigger-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.bfa-contact-flyout__backdrop[hidden],
.bfa-contact-flyout__panel[hidden] {
    display: none !important;
}

.bfa-contact-flyout__backdrop {
    position: fixed;
    inset: 0;
    z-index: 999997;
    background: rgba(0, 0, 0, 0.36);
}

.bfa-contact-flyout__panel {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 999999;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 32px 26px 26px;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.bfa-contact-flyout__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f3f3;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.bfa-contact-flyout__close:hover,
.bfa-contact-flyout__close:focus {
    background: #e4e4e4;
}

.bfa-contact-flyout__header {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
    margin: 0 0 18px;
}

.bfa-contact-flyout__title {
    margin: 0 36px 10px 0;
    padding: 0;
    color: #1f1f1f;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.bfa-contact-flyout__content {
    font-size: 15px;
    line-height: 1.55;
}

.bfa-contact-flyout__intro p {
    padding-bottom: 12px;
}

.bfa-contact-flyout__intro p:last-child {
    padding-bottom: 0;
}

.bfa-contact-flyout__profile-image {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0;
    border-radius: 12px;
    object-fit: cover;
    object-position: top;
}

.bfa-contact-flyout__contact-list {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
}

.bfa-contact-flyout__contact-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #1f1f1f;
    text-decoration: none;
}

.bfa-contact-flyout__contact-link:hover,
.bfa-contact-flyout__contact-link:focus {
    color: #1975BA;
}

.bfa-contact-flyout__contact-label {
    color: #767676;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.bfa-contact-flyout__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px !important;
    border: 1px solid #1975BA;
    border-radius: 12px;
    background: #1975BA;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase !important;
}

.bfa-contact-flyout__cta:hover,
.bfa-contact-flyout__cta:focus {
    border-color: #145f97;
    background: #145f97;
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .bfa-contact-flyout__trigger {
        right: 16px;
        bottom: 16px;
    }

    .bfa-contact-flyout__panel {
        right: 16px;
        bottom: 78px;
        max-height: calc(100vh - 100px);
    }

    .bfa-contact-flyout__header {
        grid-template-columns: 72px 1fr;
        gap: 14px;
    }

    .bfa-contact-flyout__profile-image {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 767px) {
    .animated,
    .et_animated,
    .et-waypoint:not(.et_pb_counters),
    [class*="et_pb_animation_"] {
        animation: none !important;
        transition-duration: 0s !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
