/*
 Theme Name:   Foodie Child Theme
 Theme URI:    https://foodie.themerex.net/
 Description:  Foodie Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     foodie
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  foodie
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

body.sidebar_hide .alignwide, body.sidebar_hide.expand_content .alignwide, .sidebar_hide.expand_content .post_info_vertical_present .alignwide {
    left: 0;
    width: 100%;
}

section.menu-row,
section.padded-row {
    padding: 50px 0 !important;
}

@media (min-width: 768px) and (max-width: 999px) {
    .custom_burger_not_tablet {
        display: none !important;
    }
    .custom_burger_tablet {
        display: block !important;
    }
}

@media (min-width: 1000px) and (max-width: 1279px) {
    .custom_burger_not_tablet {
         display: block !important;
    }
    .custom_burger_tablet {
        display: none !important;
    }
}

@media (max-width: 1279px) {
    .elementor-4004 .elementor-element.elementor-element-3b9063c > .elementor-widget-container {
        margin: -10px 0 0px 0px;
    }
}

.sc_services_price .sc_services_item_price,
.sc_services_price .sc_services_item_price_dots {
    display: none;
}

.menu_hover_zoom_line .sc_layouts_menu_nav li li:not(.menu-collapse).current-menu-item > a > span {
    padding-left: 0;
}

.menu_hover_zoom_line .sc_layouts_menu_nav li li:not(.menu-collapse) > a > span:after {
    bottom: 0;
}

@media screen and (max-width: 560px) {
    .sc_item_button.sc_button_wrap,
    .sc_item_button.sc_button_wrap a,
    .sc_item_button.sc_button_wrap a .sc_button_text,
    .sc_item_button.sc_button_wrap a .sc_button_title {
        width: 100%;
        text-align: center;
    }
}

.button-full .sc_item_button.sc_button_wrap,
.button-full .sc_item_button.sc_button_wrap a,
.button-full .sc_item_button.sc_button_wrap a .sc_button_text,
.button-full .sc_item_button.sc_button_wrap a .sc_button_title {
    width: 100%;
    text-align: center;
}

.sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs) {
    background-color: #000;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav, .sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs) {
    padding: 0.875em 0 1em;
}

.top_panel, [class*="scheme_"].top_panel, [class*="scheme_"].footer_wrap {
    color: #000;
    background-color: #F6F3EF;
}

.top_panel, [class*="scheme_"].top_panel h1 {
    color: #000;
}

.menu_mobile_header_wrap .sc_layouts_logo img {
    max-height: 9em;
}

.page_content_wrap {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.sc_layouts_menu_nav > li li > a {
    color: #fff !important;
}

.tribe-events .tribe-events-calendar-series-archive__container {
    display: none;
}

.tribe-events-widget-events-list .tribe-events-widget-events-list__view-more {
    display: none;
}

.tribe-events-widget-events-list__events {
    display: flex;
    flex-direction: row;
}

h3.tribe-events-widget-events-list__event-title.tribe-common-h7 a {
    line-height: 24px;
    font-size: 21px;
    letter-spacing: -0.0175em;
    font-weight: 700;
}

.elementor-text-editor strong {
    color: #A31F1F;
}

footer .elementor-text-editor strong {
    color: #fff;
}

.footer_wrap .sc_layouts_row_type_compact .sc_socials.sc_socials_default .socials_wrap .social_item .social_icon {
    border: 0;
}

@media screen and (max-width: 480px) {
    .elementor-element-ba9926e h5 span {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .footer_wrap .elementor-column:not(:first-child) {
        margin-top: 32px;
    }

    .footer_wrap .elementor-column:last-child .elementor-image,
    .footer_wrap .socials_wrap {
        text-align: left;
    }
}


.widget_custom_links ul>li.custom_links_list_item:hover .custom_links_list_item_link {
    margin-left: 0;
}


.widget_custom_links ul>li.custom_links_list_item .custom_links_list_item_title:after {
    width: 100%;
}

.widget_custom_links ul>li.custom_links_list_item:hover .custom_links_list_item_title:after {
    width: 0%;
}

.widget_custom_links ul>li.custom_links_list_item .custom_links_list_item_title {
    line-height: 0.9em;
}

.sc_layouts_row_type_compact .sc_layouts_item, [class*="scheme_"].sc_layouts_row_type_compact .sc_layouts_item {
    color: #D7D1CA;
}


.elementor-element-76da03d .elementor-container>.elementor-row>.elementor-column>.elementor-element-populated {
    padding: 0 !important;
}


@media screen and (max-width: 900px) {
    .elementor-5002 .elementor-element.elementor-element-5d86f48 .elementor-button {
        display: none;
    }

    .tribe-events-widget-events-list__events {
        flex-direction: column;
    }

    .tribe-events-widget-events-list .tribe-events-widget-events-list__view-more {
        display: block;
    }

    .tribe-events-widget .elementor-button.elementor-button-link.elementor-size-sm {
        background: var(--e-global-color-primary )!important;;
        color: white;
        display: block;
        padding: 12px 24px;
    }

    .tribe-common-g-row.tribe-events-widget-events-list__event-row {
        margin-left: -20px;
    }
}

.tribe-common-g-row.tribe-events-widget-events-list__event-row {
    width: 100%;
}

.tribe-events-widget .tribe-events-widget-events-list__event-date-tag * {
    color: var(--e-global-color-primary ) !important;
}

@media screen and (min-width: 784px) {
    .elementor-element-3b86507 {
        padding-bottom: 50px;
        background: black !important;
    }
}

@media screen and (min-width: 901px) {
    .elementor-element-ba9926e h5 span {
        display: block;
    }

    .elementor-element-52afc61 {
        padding-right: 4px;
    }
}

@media screen and (min-width: 1440px) {
    .elementor-element-52afc61 {
        padding-right: 24px;
    }
}

.elementor-element-ba9926e .elementor-column-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.elementor-element-ba9926e {
    box-shadow: 0px -12px 4px 5px rgba(0,0,0,.17);
}

.elementor-element-ba9926e h5 {
    font-size: 1.3em;
}

.elementor-element-ba9926e:before {
    content: '';
    display: block;
    background: linear-gradient(rgba(246, 243, 239,0) 0%, rgba(246, 243, 239,1) 80%, rgba(246, 243, 239,1) 100%);
    width: 10px;
    height: 75px;
    position: absolute;
    bottom: 0;
    left: -10px;
}

.elementor-element-ba9926e:after {
    content: '';
    display: block;
    background: linear-gradient(rgba(246, 243, 239,0) 0%, rgba(246, 243, 239,1) 80%, rgba(246, 243, 239,1) 100%);
    width: 10px;
    height: 75px;
    position: absolute;
    bottom: 0;
    right: -10px;
}

@media screen and (max-width: 900px) {
    .elementor-element-ba9926e:before,
    .elementor-element-ba9926e:after {
        height: 175px;
        background: linear-gradient(rgba(246, 243, 239,0) 0%, rgba(246, 243, 239,1) 50%, rgba(246, 243, 239,1) 100%);
    }
}

.elementor-col-33 .sc_layouts_hide_on_mobile {
    display: block !important;
}

.sc_services_price .sc_services_item_price {
    color: #db0032;
}

.sc_item_subtitle.sc_item_title_style_icon.sc_item_subtitle_below:before {
    content: '';
}


.short-list .sc_item_subtitle + .sc_item_descr {
    margin-top: .5em;
}

.short-list h3.sc_item_title_tag + .sc_item_descr {
    margin-top: .25em;
}

.short-list h5 {
    margin-top: .5em;
    margin-bottom: 0;
}

.short-list .sc_item_subtitle_below {
    margin-top: -16px !important;
}



body.home.sidebar_hide .alignwide.tribe-events-view--shortcode-6ca45e20 {
    position: relative;
    z-index: 1;
    left: auto;
    width: auto;
    max-width: none;
}

body.home .tribe-common--breakpoint-xsmall.tribe-events-pro .tribe-events-pro-photo__event {
    width: auto;
}

body.home .tribe-events-calendar-day-nav.tribe-events-c-nav,
body.home .tribe-events-pro-photo-nav.tribe-events-c-nav,
body.home .tribe-events-c-subscribe-dropdown__container,
body.home .tribe-events-header,
body.home .tribe-events-calendar-day__time-separator,
body.home .tribe-events-calendar-day__event-venue {
    display: none;
}

body.home .tribe-events .tribe-events-calendar-day__event {
    padding-left: 0;
}

body.home .tribe-events .tribe-events-calendar-day__time-separator+.tribe-events-calendar-day__event {
    margin-top: 0;
}

body.home .tribe-events .tribe-events-calendar-day__event:last-child {
    margin-bottom: 0;
}

body.home header.tribe-events-calendar-day__event-header,
body.home .tribe-events-pro-photo__event-details,
body.home .tribe-events-pro-photo__event {
    display: flex;
    flex-direction: column;
}

body.home header.tribe-events-calendar-day__event-header .tribe-events-calendar-day__event-datetime-wrapper,
body.home .tribe-events-pro-photo__event-details .tribe-events-pro-photo__event-datetime {
    order: 2;
    font-size: 1rem;
}

body.home header.tribe-events-calendar-day__event-header h3,
body.home .tribe-events-pro-photo__event-details h3 {
    order: 1;
    font-size: 1.5em;
    line-height: 0.75;
}

body.home .tribe-events .tribe-events-calendar-day__event-details,
body.home .tribe-events .tribe-events-pro-photo__event-details-wrapper {
    margin-top: -80px;
    padding: 24px 24px 16px;
    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,1) 80%, rgba(0,0,0,1) 100%);

}

body.home .tribe-events .tribe-events-calendar-day__event-details *,
body.home .tribe-events .tribe-events-pro-photo__event-details-wrapper * {
    color: white;
}


body.home .tribe-events-calendar-day__event-datetime-wrapper .tribe-events-calendar-day__event-datetime:before,
body.home .tribe-events-pro-photo__event-cost {
    display: none;
}


body.home .tribe-events-pro .tribe-events-pro-photo__event-featured-image-link:hover {
    opacity: 1;
}

body.home .tribe-events .tribe-events-pro-photo:hover .tribe-events-pro-photo__event-details-wrapper {
    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 10%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 100%);
}

body.home .tribe-events-pro .tribe-events-pro-photo__event-date-tag-datetime {
    margin-top: -5px;
}

body.home .tribe-events-pro .tribe-events-pro-photo__event-date-tag .tribe-events-pro-photo__event-date-tag-month {
    font-size: 15px;
}


body.home .tribe-events-pro .tribe-events-pro-photo__event-date-tag-daynum {
    font-size: 22px;
}

body:not(.post-type-archive-tribe_events) .tribe-events-before-html,
body:not(.post-type-archive-tribe_events) .tribe-events-after-html {
    display: none;
}

body.post-type-archive-tribe_events .tribe-events-before-html,
body.post-type-archive-tribe_events .tribe-events-after-html {
    padding: 24px;
    margin-bottom: 40px;
    background-color: #ECE8E1;
    font-size: .75rem;
}

body.post-type-archive-tribe_events .tribe-events-after-html {
    margin-top: 40px;
    margin-bottom: 0;
}

body.post-type-archive-tribe_events .tribe-events-before-html span,
body.post-type-archive-tribe_events .tribe-events-after-html span {
    color: #2F1D14; 
}

body.post-type-archive-tribe_events .tribe-events-before-html a,
body.post-type-archive-tribe_events .tribe-events-after-html a {
    text-decoration: underline;
}

@media (min-width: 768px) {
    body.post-type-archive-tribe_events .tribe-events-before-html {
        margin-top: -40px;
    }
}

body.post-type-archive-tribe_events .tribe-events-pro-photo__event-details-wrapper {
    margin-top: 16px;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-common-b3 {
    display: none;
}

body.post-type-archive-tribe_events .tribe-events-pro .tribe-events-pro-photo__event-date-tag-month,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
    color: var(--e-global-color-primary ) !important;
}

.tribe-events-c-subscribe-dropdown {
    position: relative;
}

.tribe-events-c-subscribe-dropdown__content {
    position: absolute;
    width: 100%;
}

.tribe-events .tribe-events-c-view-selector__button {
    display: none;
} 

@media (max-width: 479px) {
    .single-tribe_events .tribe-events-meta-group .tribe-events-single-section-title {
        font-size: 1.5em !important;
    }
}

.single-tribe_events .tribe-events.tribe-common {
    display: none;
}

@media (max-width: 1679px) {
    .single-tribe_events .tribe-events-single-section {
        padding-top: 1.5em !important;
    }
}

.tribe-events-single-section.tribe-events-event-meta.primary.tribe-clearfix {
    width: 100%;
}

.tribe-events-meta-group {
    flex: auto;
    margin-right: auto;
    order: auto;
    margin-bottom: 32px;
}

.tribe-events-meta-group {
    display: inline-block;
    width: 50%;
}

.tribe-events-meta-group.tribe-events-meta-group-details h2 {
    margin-bottom: 0 !important;
}

.tribe-events-meta-group.tribe-events-meta-group-other h2.tribe-events-single-section-title {
    margin-bottom: -20px;
}

.tribe-events-meta-group.tribe-events-meta-group-other {
    order: 2;
}

.tribe-events-meta-group.tribe-events-meta-group-other dt {
    display: none;
}

.tribe-events-meta-group.tribe-events-meta-group-other .tribe-meta-value {
    white-space: pre-line;
}

.tribe-events-meta-group.tribe-events-meta-group-venue {
    order: 3;
}

.tribe-events-meta-group.tribe-events-meta-group-venue h2.tribe-events-single-section-title  {
    margin-bottom: 0;
}

.tribe-events-meta-group.tribe-events-meta-group-organizer {
    order: 4;
    display: none;
}

span.tribe-country-name {
    display: none;
}

.sc_button:not(.sc_button_simple),
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
    background-color: #a31f1f !important;
}

.sc_button_default:hover, .sc_button_default:focus, .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #bc3030 !important;
}



iframe.foodie_resize.trx_addons_resize {
    margin: 0 auto;
    
}

.res-wide iframe.foodie_resize.trx_addons_resize {
    width: 830px !important;
    height: 220px !important;
    display: none;
}

.res-mini iframe.foodie_resize.trx_addons_resize,
footer iframe.foodie_resize.trx_addons_resize {
    width: 230px !important;
    height: 315px !important;
    display: none;
}

footer iframe.foodie_resize.trx_addons_resize {
    display: block;
}

@media (max-width: 880px) {
    .res-mini iframe.foodie_resize.trx_addons_resize {
        display: block;
    }
}

@media (min-width: 881px) {
    .res-wide iframe.foodie_resize.trx_addons_resize {
        display: block;
    }
}


@media (max-width: 767px) {
    footer .elementor-widget-wrap {
        width: 50%;
        min-width: 230px;
        margin: 0 auto;
    }

    footer .elementor-widget-wrap * {
        text-align: center;
    }

    footer li.custom_links_list_item {
        text-align: center;
        width: 100%;
    }

    footer li.custom_links_list_item * {
        text-align: center;
        width: 100%;
    }

    .widget_custom_links ul>li.custom_links_list_item .custom_links_list_item_title {
        text-decoration: underline;
    }

    .widget_custom_links ul>li.custom_links_list_item .custom_links_list_item_title:after {
        display: none;
    }
}

dt.tec-events-pro-series-meta-detail--label,
dd.tec-events-pro-series-meta-detail--link {
    display: none;
}

.tribe-events-event-meta address.tribe-events-address .tribe-events-gmap {
    border-bottom: none;
    display:block;
    width: auto;
    max-width: 120px;
}

.tribe-events-content a {
    border-bottom: 1px solid var(--theme-color-text_link);
}

body.home .tribe-events-calendar-latest-past .tribe-events-calendar-latest-past__event-row,
body.home .tribe-events-calendar-latest-past .tribe-events-calendar-latest-past__event-date-tag,
body.home .tribe-events-calendar-latest-past address {
    display: none;
}

body.home .tribe-events-calendar-latest-past h2 + .tribe-events-calendar-latest-past__event-row:not(:first-child) {
    display: flex;
}


body.home .tribe-events .tribe-events-calendar-latest-past__event-row {
	margin-top: 0;
}

.adp-popup-outer {
  --theme-color-text_link: #a31f1f;
}

.adp-popup-outer {
    max-height: 510px;
}

.adp-popup-outer .sc_button_wrap .sc_button {
    margin-bottom: 0;
}


@media screen and (max-width: 481px) {
    .adp-popup-outer .elementor-element {
        background: #fff;
        background-image: none !important;
    }

    .adp-popup-outer .sc_button_wrap .sc_button {
        margin-bottom: 10px;
    }

    .adp-popup-outer .elementor-column {
        padding: 20px;
    }

    .adp-popup-outer .elementor-spacer-inner:last-child {
        height: 20px !important;
    }
}

section.comments_wrap.opened {
    display: none !important;
}
