/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Stack date + time for Elementor TEC Date/Time widget */
.tec-events-elementor-event-widget__datetime {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

/* Start date on its own line */
.tec-events-elementor-event-widget__datetime-date--start {
  flex: 0 0 100%;
  font-weight: 600 !important;
  text-transform: uppercase;
}

/* Hide end date (December 21) */
.tec-events-elementor-event-widget__datetime-date--end {
  display: none;
}

/* Hide the "@" separators */
.tec-events-elementor-event-widget__datetime-separator {
  display: none;
}

.tec-events-elementor-event-widget__datetime-time--end {
  margin-left: 3px !important;
}

/* Add dash between times */
.tec-events-elementor-event-widget__datetime-time--start::after {
  content: " – ";
}

#tribe-events-pg-template {
  max-width: unset;
  padding: 0;
}

.tribe_event_series-template-default .hide-on-series {
  display: none;
}

.tribe_event_series-template-default .full-width-series {
  flex: 0 0 100%;
}
.tribe_event_series-template-default
  .full-width-series
  .elementor-widget-theme-post-content {
  width: 100%;
}

.tribe-events .tribe-events-l-container {
  min-height: auto;
  padding: 0;
}

/* Hide events section on homepage if no events */
body.no-upcoming-events .homepage-upcoming-events,
body .show-on-no-events {
  display: none;
}

body.no-upcoming-events .show-on-no-events {
  display: block !important;
}

@media screen and (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

/* Mobile menu */
.elementor-location-header .elementor-nav-menu--main .hide-on-desktop {
  display: none;
}

/* prevent website from scrolling when mobile menu open */
html.menu-open,
body.menu-open {
  overflow: hidden;
  height: 100vh;
}

html.menu-open .elementor-location-header > .e-con {
  background-color: #2d1f11de !important;
}
