/*
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
*/
:root {
    --white: #FFF;
    --gray: #F4F4F4;
    --blue-light: #EBF6FC;
    --blue: #007BC4;
    --brown: #C85D15;
}

/*Plugins*/

/*EVENTS CALENDAR*/
.tribe-events-header__events-bar.tribe-events-c-events-bar {
    display: none !important;
}

.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
    border-color: var(--blue) !important;
    color: var(--blue) !important;
}

.tribe-common .tribe-common-c-btn-border:focus,
.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common a.tribe-common-c-btn-border:focus,
.tribe-common a.tribe-common-c-btn-border:hover {
    background-color: var(--blue) !important;
    color: var(--white) !important;
}

.tribe-common-l-container.tribe-events-l-container {
    padding: 20px 0px !important;
    margin: 0px !important;
    min-height: unset !important;
}

/*single event*/
#tribe-events .fusion-sharing-box {
    margin: 0px !important;
    padding: 0px !important;
}

#tribe-events-footer {
    margin: 20px 0px 0px 0px !important;
}

#sidebar {
    padding: 20px !important;
}

.fusion-footer .fusion-footer-widget-area {
    display: none !important;
}

/*this week*/
#thisWeekEvents .tribe-events-c-top-bar__today-button,
#thisWeekEvents .tribe-events-c-top-bar__datepicker,
#thisWeekEvents .tribe-events-widget-events-week__view-more,
#thisWeekEvents .tribe-events-calendar-day-nav.tribe-events-c-nav,
#thisWeekEvents .tribe-events-calendar-day__type-separator,
#thisWeekEvents .tribe-events-pro-week-mobile-events__event-type-separator,
#thisWeekEvents .tribe-events-c-top-bar.tribe-events-widget-header__top-bar,
#thisWeekEvents .tribe-events-c-subscribe-dropdown__container,
#thisWeekEvents .tribe-events-pro-week-day-selector__nav-list-item--prev,
#thisWeekEvents .tribe-events-pro-week-day-selector__nav-list-item--next,
#thisWeekEvents .tribe-events-pro-week-mobile-events__event-time-separator {
    display: none !important;
}

#thisWeekEvents .tribe-events-view--week {
    padding-top: 0px;
    padding-bottom: 0px;
}

#thisWeekEvents .tribe-events-pro-week-day-selector__days-list {
    margin: 0px !important;
    padding: 0px !important;
}

#thisWeekEvents .tribe-events-pro-week-day-selector__day-weekday {
    padding: 10px 0;
}

#thisWeekEvents .tribe-events-pro-week-day-selector__day.tribe-events-pro-week-day-selector__day--active,
#thisWeekEvents .tribe-daystrip__day--current {
    border-radius: unset;
    border: 1px solid var(--blue);
    background-color: white;
}

#thisWeekEvents .tribe-daystrip__day a,
#thisWeekEvents .tribe-events-pro-week-day-selector__day-weekday,
#thisWeekEvents .tribe-events-pro-week-day-selector__day-daynum {
    color: var(--brown) !important;
}

#thisWeekEvents .tribe-events-calendar-day__event-datetime {
    color: var(--brown) !important;
    font-weight: bold;
}

#thisWeekEvents .tribe-common-g-row {
    display: flex !important;
    flex-direction: row !important;
    background-color: white;
    padding: 20px 0 !important;
    border: 1px solid var(--blue) !important;
}

#thisWeekEvents .tribe-events-widget-events-list__events .event-image,
#thisWeekEvents .tribe-events-pro-week-mobile-events__event-featured-image-wrapper {
    margin: 0 1rem;
    width: 20%;
    max-height: 200px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

#thisWeekEvents .tribe-events-pro-week-mobile-events__event-details {
    width: 70% !important;
}

/*next events*/
#nextEvents .tribe-common-g-row.tribe-events-calendar-list__event-row {
    margin: 20px 0px !important;
}


#nextEvents .tribe-events-calendar-list__event-datetime-wrapper,
#nextEvents .tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

#nextEvents .tribe-events-calendar-list__event-row {
    background-color: white;
    padding: 20px 0 !important;
    border: 1px solid var(--blue) !important;
}

#nextEvents .tribe-events-calendar-list__event-date-tag-month,
#nextEvents .tribe-events-calendar-list__event-date-tag-daynum {
    color: var(--brown) !important;
}

#nextEvents .tribe-events-calendar-list__event {
    flex-direction: row !important;
}

#nextEvents .tribe-events-calendar-list__event-featured-image-wrapper {
    padding: 0px;
}

#nextEvents .tribe-events-calendar-list__event-featured-image-wrapper a {
    max-height: 200px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

#nextEvents .tribe-events .prev .tribe-common-c-svgicon,
#nextEvents .tribe-events .next .tribe-common-c-svgicon {
    display: block !important;
}

#nextEvents .tribe-events-header {
    display: none;
}

#nextEvents .tribe-events-calendar-list__event-title {
    margin-bottom: 0px !important;
}

/*full calendar*/
#fullCalendar .tribe-events-calendar-month__day {
    background-color: var(--white);
}

#fullCalendar .tribe-events-calendar-month__multiday-event-bar {
    background-color: var(--blue) !important;
}

#fullCalendar .tribe-events-calendar-month__day--past .tribe_events_cat-evento {
    background-color: var(--blue) !important;
    border-radius: 9.5px;
    padding-bottom: 0px;
}

#fullCalendar .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-title {
    font-family: inherit;
}

#fullCalendar .tribe-events-calendar-month__day--past .tribe-events-calendar-month__multiday-event-bar-title,
#fullCalendar .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-title-link {
    color: white !important;
}

#fullCalendar .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime {
    display: none;
}

/*festives*/

#fullCalendar .tribe_events_cat-festivo div.tribe-events-calendar-month__multiday-event-bar {
    background-color: transparent !important;
}

#fullCalendar .tribe_events_cat-festivo .tribe-events-calendar-month__multiday-event-bar-inner {
    background-color: #ffebea !important;
    color: #c0392b !important;
    text-transform: uppercase !important;
}

#fullCalendar .tribe-events-calendar-month__day:has(.tribe_events_cat-festivo) {
    background-color: #ffebea !important;
}

#fullCalendar .tribe-events-calendar-month__day:has(.tribe_events_cat-festivo) .tribe-events-calendar-month__day-date-link,
#fullCalendar .tribe_events_cat-festivo.tribe-events-calendar-month__multiday-event--past .tribe-events-calendar-month__multiday-event-bar-title {
    color: #c0392b !important;
}

.tooltipster-base h3 {
    font-size: 18px !important;
}

.tooltipster-base p {
    font-size: 14px !important;
    line-height: 16px !important;
}

/*weekends full calendar*/
#fullCalendar .tribe-events-calendar-month__day:nth-child(6),
#fullCalendar .tribe-events-calendar-month__day:nth-child(7) {
    background-color: var(--blue-light);
}

/*datepicker*/
.datepicker.dropdown-menu table tr td span.month,
.datepicker.dropdown-menu table tr td {
    background-color: var(--blue-light) !important;
}

.datepicker .day:not(.old),
.datepicker .day.active,
.datepicker .day.active.current:hover {
    color: white !important;
}

.fusion-body:not(.has-sidebar) .alignwide {
    left: 0 !important;
    transform: none !important;
}

/*RESPONSIVE*/
@media only screen and (max-width: 800px) {
    #main>.fusion-row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    #main {
        padding: 50px 30px !important;
    }

    #sidebar {
        margin-bottom: 20px !important;
    }
}

@media only screen and (max-width: 827px) {

    #thisWeekEvents .tribe-events-pro-week-mobile-events__event-featured-image-wrapper {
        width: 40% !important;
    }

    #thisWeekEvents .tribe-events-pro-week-mobile-events__event-details {
        width: 50% !important;
        padding-left: 0px !important;
    }

    #nextEvents .tribe-events-calendar-list__event-row {
        padding: 20px !important;
        flex-wrap: wrap !important;
        flex-direction: column !important;
    }

    #nextEvents .tribe-events-calendar-list__event-details {
        text-align: center !important;
    }

    #nextEvents .tribe-events-calendar-list__event-date-tag {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    #nextEvents .tribe-events-calendar-list__event-wrapper {
        margin-left: 1px !important;
        width: 100% !important;
    }

    #nextEvents .tribe-events-calendar-list__event-description {
        display: block !important;
        visibility: visible !important;
    }

    #nextEvents .tribe-events-calendar-list__event-featured-image-wrapper {
        padding-left: var(--tec-grid-gutter-small-half);
        padding-right: var(--tec-grid-gutter-small-half);
    }

    #nextEvents .tribe-filter-bar {

        display: block !important;
        position: static !important;
        background-color: transparent !important;
        padding: 0px 0px 20px 0px !important;

    }

    #nextEvents .tribe-filter-bar-c-filter__toggle .tribe-common-c-svgicon {
        display: block !important;
    }

    #fullCalendar .tribe-events-calendar-month__day {

        border: 1px solid #e7e4e2 !important;
    }

    #fullCalendar .tribe-events-c-top-bar__datepicker-mobile {
        font-size: 1.2rem !important;
    }

    #fullCalendar .tribe-events-calendar-month__header-column-title-mobile,
    #fullCalendar .tribe-events-calendar-month__day-date-daynum {
        font-size: 1rem !important;
    }

    #fullCalendar .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
        color: white !important;
    }

    #tribe-events .tribe-events-event-image {
        max-height: 500px !important;
    }

    #tribe-events .fusion-events-single-title-content {
        position: static !important;
        text-align: center !important;
    }

    #tribe-events .tribe-events-schedule,
    #tribe-events .fusion-responsive-typography-calculated {
        width: 100% !important;
    }

    #tribe-events .tribe-events-single-event-title {
        margin-bottom: 10px !important;
    }

    #tribe-events .tribe-events-single-event-description {
        text-align: justify !important;
    }

    #sidebar .tribe-events-meta-group {
        margin-bottom: 0px !important;
    }

}

@media only screen and (max-width: 520px) {
    #thisWeekEvents .tribe-events-pro-week-mobile-events__event-featured-image-wrapper {
        width: 100% !important;
        margin: 0px 0px 10px 0px !important;
    }

    #thisWeekEvents .tribe-events-pro-week-mobile-events__event-details {
        width: 100% !important;
        padding-left: var(--tec-grid-gutter-small-half) !important;
        text-align: center !important;
    }

    #thisWeekEvents .tribe-events-pro-week-mobile-events__event-datetime {
        width: 100% !important;
    }

}