/* White background for Awana Registration page only */
body.page-id-653,
body.page-id-653 .site,
body.page-id-653 .site-content,
body.page-id-653 .content-bg,
body.page-id-653 .entry-content {
    background-color: #ffffff !important;

}.header-button-wrap a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.65),
        transparent
    );
    transform: skewX(-20deg);
    animation: awanaShine 3s ease-in-out infinite;
}

@keyframes awanaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255,0,0,0);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 0 20px 5px rgba(255,0,0,0.5);
    }
}

@keyframes awanaShine {
    0% {
        left: -100%;
    }

    35% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}.awana-mobile-button {
    animation: awanaMobilePulse 1.8s ease-in-out infinite;
    position: relative;
}

@keyframes awanaMobilePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 6px rgba(255, 0, 0, 0.6);
    }
}.tribe-events-widget-events-list__header-title {
    font-family: inherit;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #123B78 !important;
}/* =========================================================
   UPCOMING EVENTS CARD
   First Baptist Church
   ========================================================= */

/* ---------- CARD ---------- */

.tribe-events-widget-events-list {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 28px 28px 24px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10) !important;
}


/* ---------- CARD TITLE ---------- */

.tribe-events-widget-events-list__header {
    margin: 0 0 28px !important;
    padding: 0 !important;
}

.tribe-events-widget-events-list__header-title {
    margin: 0 !important;
    padding: 0 !important;

    font-family: inherit !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    color: #123B78 !important;
}


/* ---------- EVENT LIST ---------- */

.tribe-events-widget-events-list__events {
    margin: 0 !important;
    padding: 0 !important;
}


/* ---------- INDIVIDUAL EVENT ---------- */

.tribe-events-widget-events-list__event-row {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;

    margin: 0 0 24px !important;
    padding: 0 !important;

    border: none !important;
}


/* =========================================================
   DATE BOX
   ========================================================= */

.tribe-events-widget-events-list__event-date-tag {
    flex: 0 0 76px !important;

    width: 76px !important;
    min-width: 76px !important;
    height: 76px !important;

    margin: 0 18px 0 0 !important;
    padding: 0 !important;

    border-radius: 8px !important;

    /* Default blue.
       Category colors can override this when supplied
       by The Events Calendar. */
    background: #155DB5 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
}


/* =========================================================
   DATE BOX INNER ELEMENT
   This is the important part for centering AUG / 20.
   ========================================================= */

.tribe-events-widget-events-list__event-date-tag-datetime {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}


/* ---------- MONTH ---------- */

.tribe-events-widget-events-list__event-date-tag-month {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;

    text-transform: uppercase !important;
}


/* ---------- DAY ---------- */

.tribe-events-widget-events-list__event-date-tag-daynum {
    display: block !important;

    width: 100% !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    text-align: center !important;

    color: #ffffff !important;

    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}


/* ---------- EXTRA CENTERING FALLBACK ---------- */

/* Covers the actual time/date element regardless of
   whether TEC renders it as a time element. */

.tribe-events-widget-events-list__event-date-tag time {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}


/* =========================================================
   EVENT INFORMATION
   ========================================================= */

.tribe-events-widget-events-list__event-wrapper {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ---------- EVENT TITLE ---------- */

.tribe-events-widget-events-list__event-title {
    margin: 0 0 5px !important;
    padding: 0 !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.tribe-events-widget-events-list__event-title a {
    color: #111111 !important;

    text-decoration: none !important;
}


/* ---------- DATE / TIME ---------- */

.tribe-events-widget-events-list__event-datetime {
    margin: 0 !important;
    padding: 0 !important;

    color: #555F70 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}


/* =========================================================
   EVENT SPACING
   ========================================================= */

.tribe-events-widget-events-list__event-row:last-child {
    margin-bottom: 8px !important;
}


/* =========================================================
   VIEW CALENDAR BUTTON
   ========================================================= */

.tribe-events-widget-events-list__view-more {
    display: block !important;

    width: 100% !important;

    margin: 14px 0 0 !important;
    padding: 11px 15px !important;

    box-sizing: border-box !important;

    border: 2px solid #155DB5 !important;
    border-radius: 6px !important;

    background: #ffffff !important;

    color: #155DB5 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    text-transform: uppercase !important;

    text-decoration: none !important;

    transition: all 0.2s ease !important;
}


/* ---------- BUTTON HOVER ---------- */

.tribe-events-widget-events-list__view-more:hover {
    background: #155DB5 !important;
    color: #ffffff !important;
}


/* =========================================================
   REMOVE UNNECESSARY BORDERS
   ========================================================= */

.tribe-events-widget-events-list__event-row,
.tribe-events-widget-events-list__event-details,
.tribe-events-widget-events-list__event-wrapper {
    border: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .tribe-events-widget-events-list {
        padding: 24px 20px 20px !important;
    }

    .tribe-events-widget-events-list__header-title {
        font-size: 24px !important;
    }

    .tribe-events-widget-events-list__event-date-tag {
        flex: 0 0 68px !important;

        width: 68px !important;
        min-width: 68px !important;
        height: 68px !important;

        margin-right: 14px !important;
    }

    .tribe-events-widget-events-list__event-date-tag-month {
        font-size: 12px !important;
    }

    .tribe-events-widget-events-list__event-date-tag-daynum {
        font-size: 25px !important;
    }

    .tribe-events-widget-events-list__event-title {
        font-size: 16px !important;
    }

    .tribe-events-widget-events-list__event-datetime {
        font-size: 13px !important;
    }
}/* =========================================================
   CALENDAR PROFESSIONAL STYLING
   ========================================================= */

/* Main calendar container */
.tribe-events-view {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Calendar background */
.tribe-events-calendar-month {
    background: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}


/* =========================================================
   CALENDAR HEADER
   ========================================================= */

.tribe-events-c-top-bar {
    padding: 8px 14px 18px !important;
}

/* Month / Year */
.tribe-events-c-top-bar__datepicker-button {
    font-size: 27px !important;
    font-weight: 600 !important;
    color: #123B78 !important;
}


/* Previous / Next buttons */
.tribe-events-c-top-bar__nav-link {
    width: 40px !important;
    height: 40px !important;

    border-radius: 50% !important;

    transition: all 0.2s ease !important;
}

.tribe-events-c-top-bar__nav-link:hover {
    background: #eef4ff !important;
}


/* =========================================================
   THIS MONTH BUTTON
   ========================================================= */

.tribe-events-c-top-bar__today-button {
    border: 1px solid #d5dce8 !important;
    border-radius: 6px !important;

    background: #ffffff !important;

    color: #155DB5 !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    padding: 9px 15px !important;

    transition: all 0.2s ease !important;
}

.tribe-events-c-top-bar__today-button:hover {
    background: #155DB5 !important;
    border-color: #155DB5 !important;
    color: #ffffff !important;
}


/* =========================================================
   DAYS OF WEEK
   ========================================================= */

.tribe-events-calendar-month__header-column {
    background: #f7f9fc !important;

    border-bottom: 1px solid #e3e8ef !important;
}

.tribe-events-calendar-month__header-column-title {
    color: #123B78 !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    letter-spacing: 0.5px !important;
}


/* =========================================================
   CALENDAR GRID
   ========================================================= */

.tribe-events-calendar-month__day {
    background: #ffffff !important;

    border-color: #e7ebf1 !important;

    transition: background 0.2s ease !important;
}


/* Subtle hover effect */
.tribe-events-calendar-month__day:hover {
    background: #f7faff !important;
}


/* =========================================================
   DATE NUMBERS
   ========================================================= */

.tribe-events-calendar-month__day-date {
    color: #4f5968 !important;

    font-size: 16px !important;
    font-weight: 600 !important;
}

.tribe-events-calendar-month__day--past
.tribe-events-calendar-month__day-date {
    color: #aeb5c0 !important;
}


/* Current day */
.tribe-events-calendar-month__day--today {
    background: #f5f8ff !important;
}

.tribe-events-calendar-month__day--today
.tribe-events-calendar-month__day-date {
    color: #155DB5 !important;
    font-weight: 800 !important;
}


/* =========================================================
   EVENT BLOCKS INSIDE CALENDAR
   ========================================================= */

.tribe-events-calendar-month__calendar-event {
    border-radius: 5px !important;

    margin: 3px 5px !important;

    overflow: hidden !important;
}


/* Event text */
.tribe-events-calendar-month__calendar-event-title {
    font-size: 12px !important;
    font-weight: 600 !important;
}


/* Event time */
.tribe-events-calendar-month__calendar-event-datetime {
    font-size: 11px !important;
}


/* =========================================================
   CALENDAR SHADOW
   ========================================================= */

.tribe-events-view {
    box-shadow: 0 8px 24px rgba(18, 59, 120, 0.08) !important;
}/* =========================================================
   MOBILE CALENDAR - PROFESSIONAL STYLING
   ========================================================= */

@media (max-width: 767px) {

    /* Calendar outer container */
    .tribe-events-view {
        border-radius: 12px !important;
        box-shadow: 0 6px 18px rgba(18, 59, 120, 0.08) !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }


    /* -------------------------
       Calendar top controls
       ------------------------- */

    .tribe-events-c-top-bar {
        padding: 12px 14px 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Month / Year */
    .tribe-events-c-top-bar__datepicker-button {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #123B78 !important;
    }


    /* Previous / next buttons */
    .tribe-events-c-top-bar__nav-link {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
    }

    .tribe-events-c-top-bar__nav-link:hover {
        background: #eef4ff !important;
    }


    /* -------------------------
       This Month button
       ------------------------- */

    .tribe-events-c-top-bar__today-button {
        padding: 7px 11px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }


    /* -------------------------
       Days of week
       ------------------------- */

    .tribe-events-calendar-month__header-column {
        background: #f7f9fc !important;
        border-bottom: 1px solid #e3e8ef !important;
    }

    .tribe-events-calendar-month__header-column-title {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #123B78 !important;
        letter-spacing: 0.3px !important;
    }


    /* -------------------------
       Calendar cells
       ------------------------- */

    .tribe-events-calendar-month__day {
        min-height: 75px !important;
        background: #ffffff !important;
        border-color: #e7ebf1 !important;
    }


    /* -------------------------
       Date numbers
       ------------------------- */

    .tribe-events-calendar-month__day-date {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #4f5968 !important;
        padding: 6px !important;
    }


    /* Current day */
    .tribe-events-calendar-month__day--today {
        background: #f4f8ff !important;
    }

    .tribe-events-calendar-month__day--today
    .tribe-events-calendar-month__day-date {
        color: #155DB5 !important;
        font-weight: 800 !important;
    }


    /* -------------------------
       Events inside calendar
       ------------------------- */

    .tribe-events-calendar-month__calendar-event {
        margin: 2px 3px !important;
        border-radius: 4px !important;
    }

    .tribe-events-calendar-month__calendar-event-title {
        font-size: 10px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }

    .tribe-events-calendar-month__calendar-event-datetime {
        font-size: 9px !important;
    }


    /* -------------------------
       Calendar background
       ------------------------- */

    .tribe-events-calendar-month {
        border-radius: 10px !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

}/* =========================================
   KADENCE TRANSPARENT HEADER
   ========================================= */

/* Make the entire header overlay the page */
#masthead {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
}

/* Remove background from Kadence header containers */
#masthead .site-header-wrap,
#masthead .site-header-row-container-inner,
#masthead .site-main-header-wrap,
#masthead .site-header-row {
    background: transparent !important;
    background-color: transparent !important;
}

/* Remove header shadow/border */
#masthead,
#masthead .site-header-wrap,
#masthead .site-header-row-container-inner {
    box-shadow: none !important;
    border: none !important;
}

/* Keep menu white */
#masthead .main-navigation a,
#masthead .header-menu-container a {
    color: #ffffff !important;
}

/* Menu hover */
#masthead .main-navigation a:hover,
#masthead .header-menu-container a:hover {
    color: #ffffff !important;
}

/* =========================================
   HERO
   ========================================= */

/* Pull the first content section to the
   very top of the page */
.home #primary {
    margin-top: 0 !important;
}

.home .content-area {
    margin-top: 0 !important;
}

/* =========================================
   REMOVE ANY HEADER SPACING
   ========================================= */

.home #masthead + * {
    margin-top: 0 !important;
}/* ==========================================
   TRANSPARENT HEADER OVER HERO
   ========================================== */

/* Put the Kadence header over the hero */
#masthead {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove backgrounds from Kadence header rows */
#masthead .site-header-wrap,
#masthead .site-header-row-container-inner,
#masthead .site-main-header-wrap,
#masthead .site-header-row {
    background: transparent !important;
    box-shadow: none !important;
}


/* ==========================================
   HERO CONTENT
   ========================================== */

/* Push the hero CONTENT down,
   while keeping the image at the top */
.home .entry-content > .kb-row-layout-wrap:first-child {
    padding-top: 120px !important;
}


/* ==========================================
   MENU
   ========================================== */

/* ONLY the navigation links get white text */
#masthead .main-navigation > ul > li > a {
    color: #ffffff !important;
}

/* Menu hover */
#masthead .main-navigation > ul > li > a:hover {
    color: #ffffff !important;
}


/* ==========================================
   AWANA BUTTON
   ========================================== */

/* Leave the AWANA button's own styling alone */
#masthead .header-button-wrap,
#masthead .header-button {
    position: relative;
    z-index: 10000;
}/* ==========================================
   CONTAIN AWANA BUTTON SHINE EFFECT
   ========================================== */

/* Keep the AWANA button wrapper only as wide
   as the button itself */
#masthead .header-button-wrap {
    display: inline-block !important;
    width: fit-content !important;
    max-width: fit-content !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

/* Clip the shine to the actual button */
#masthead .header-button {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

/* Prevent the shine from escaping the button */
#masthead .header-button::before,
#masthead .header-button::after,
#masthead .header-button-wrap::before,
#masthead .header-button-wrap::after {
    max-width: 100% !important;
}@media only screen and (max-width: 767px) {
    body.single-tribe_events #tribe-events-pg-template {
        padding-top: 60px !important;
        margin-top: 0 !important;
    }
}