/**
Theme Name: Astra Child Theme - TMRA
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-theme-tmra
Template: astra
*/


/* === TMRA EVENTS STYLING (FINAL) === */

/* 🔶 BREAKS (Yellow) - List View */
.ecs-event.breaks_ecs_category h4.entry-title a {
  background-color: #d8992e !important;
  color: white !important;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
}

/* 🔷 HOLIDAYS OBSERVED (Blue) - List View */
.ecs-event.holidays-observed_ecs_category h4.entry-title a {
  background-color: #164e66 !important;
  color: white !important;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
}

/* 🟢 SCHOOL ACADEMIC DATES (Sage) - List View */
.ecs-event.school-academic-dates_ecs_category h4.entry-title a {
  background-color: #6d7c61 !important;
  color: white !important;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
}

/* 🧱 Title styling (for other categories) */
.ecs-event h4.entry-title a {
  background-color: transparent;
  color: #111 !important;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  display: inline-block;
  margin-bottom: 6px;
}

/* 🔻 Divider line below each event */
.ecs-event {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

/* 📅 Date styling with P2 font */
.tribe-event-date-start,
.tribe-event-date-end {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7em;
  letter-spacing: 1.2px;
  color: #444;
  display: inline-block;
}

/* === FULL ROW BACKGROUND BY CATEGORY (List View) === */
.ecs-event.breaks_ecs_category {
  background-color: rgba(216, 153, 46, 0.1);
}

.ecs-event.holidays-observed_ecs_category {
  background-color: rgba(22, 78, 102, 0.1);
}

.ecs-event.school-academic-dates_ecs_category {
  background-color: rgba(109, 124, 97, 0.1);
}

.ecs-event.breaks_ecs_category,
.ecs-event.holidays-observed_ecs_category,
.ecs-event.school-academic-dates_ecs_category {
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.calendar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* ✅ FIND EVENTS Button */
.calendar-container .tribe-events-c-search__button {
  background-color: #6D7C60 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
}

/* Optional: Add hover effect */
.calendar-container .tribe-events-c-search__button:hover {
  background-color: #5a6a4f !important;
}

/* ✅ SUBSCRIBE TO CALENDAR Button */
.calendar-container .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
  background-color: #6D7C60 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
}

/* Optional hover for subscribe */
.calendar-container .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: #5a6a4f !important;
}
.calendar-container .tribe-events-calendar-month__day-date {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.2;
  color: #111 !important;
}

/* Fix oversized X button in Elementor popups */
.dialog-close-button {
  font-size: 24px !important; /* Adjust to desired size */
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
}