/* Theme Name: Egovt Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of egovt
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: egovt
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  egovt-child
*/

/* Calendar Colors */
:root {
  --evt-city-council:   #f6c93b; /* Yellow */
  --evt-finance:        #1f8b4c; /* Green */
  --evt-library:        #d55023; /* Orange */
  --evt-planning:       #1f5f9b; /* Blue */
  --evt-closure:        #7d3e96; /* Purple */
  --evt-special:        #990000; /* Red */
  --evt-today: 			#9B9C9D; /* Grey */
}






/* Home Page Quick Link Buttons */ 
.custom-icon-button {
  border-radius: 50px; 
  background: #012c4f;
  color: white;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
  margin: auto;
  font-family: roboto;
  box-shadow: 0px 1px 1px 1px black;	
}

.custom-icon-button:hover {
  background: #800000 !important;
}

.custom-icon-button i {
  font-size: 48px;
  margin-bottom: 8px;
  display: block;
}

.btn-text {	
  font-size: 25px;
}

#quick-link{
	border-radius:50%;
	padding: 25px;
}

#quick-link:hover{
	color: white;
	background-image: #800000 !important;
}


/* Header Fixed Position */
.elementor-3720{
	position: sticky;
	top: 0px;
	z-index: 5;
}

.layout_1c{
	z-index: 3;
}

.elementor-element-9dc571d{
	z-index: 3;
}

.wrap_site,
.layout_1c{
	width: 100%;
}

/* Search and Events Results Page Styling from default theme style */
h2 a.post-title{
	color: #012c4f !important;
}

h2 a.post-title:hover{
	color: #800000 !important;
}

/*.btn-readmore{
	background-color: #800000!important;
	border-radius: 5px;
	box-shadow: 0px 1px 2px black;
}

.btn-readmore:hover{
	background-color: #012c4f !important;
	border-radius: 5px;
	box-shadow: 0px 1px 2px black;
}
*/
.page-title{
	color: #012c4f !important;
	font-size: 36px;
}

div.post-excerpt{
	color: #343a40!important;
}

.second-font{
	background-color: white !important;
}
.comment{
	display: none;
}


/* Table remove edit text */
ntb_edit_table_class_7724 __mPS2id{
	display: none; 
}


/* Search bar in Header responsive */ 
input{
	width:86%;
}

input.search-submit{
	width:30%;
}

input.search-field{
	width:82%;
}


/* Search & Events pages more styling */ 
.evgovt-content,
.odd,
.eve{
	border-radius: 5px;
	box-shadow: 0px 1px 3px  black;
}

.readmore{
	border-radius: 5px;
	
}


/* List bulletpoint */
li{
	color: black;
}

/* Instagram Logo Style  */ 
.e-fab-instagram{
	background: radial-gradient(circle at 30% 110%,
            #ffdb8b 0%,
            #ee653d 25%,
            #d42e81 50%,
            #a237b6 75%,
            #3e57bc 100%);
	border-radius: 18px;
	
}

.ova-framework-social-icon-instagram{
	background: radial-gradient(circle at 30% 110%,
            #ffdb8b 0%,
            #ee653d 25%,
            #d42e81 50%,
            #a237b6 75%,
            #3e57bc 100%) !important;
}

/* Images slider for Library about us */
.swiper-slide-image{
	box-shadow: 0px 1px 2px black !important;
}

.widget-image-caption,
.wp-caption-text{
	color: black;
}

/* Library Collections discriptions */
.widget-image-caption,
.wp-caption-text{
	color: black;
}

.second_font{
	border-radius: 5px !important;
}

/* Document Library Plugin additions */
.col-image{
	text-align: center !important;
}

span.col-doc_categories{
	color: black !important;
}

.dlp-table-document-link-wrap{
	justify-content: center !important;
}

.dataTables_wrapper .dataTables_filter input[type="search"]
{
  border: 1px solid #ccc !important; /* light grey border */
  background-color: #d8d8d8 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.30) !important; /* inset look */
  border: 2px black !important;
}

/* ===== Meeting Page ===== */
.meetings-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Meeting Card */
.meeting-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr 350px;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow .25s ease, transform .25s ease;
}
.meeting-card:nth-child(even){background:#fafafa}
.meeting-card:hover{box-shadow:0 4px 12px rgba(0,0,0,0.2);transform:translateY(-2px)}

/* Left Column */
.meeting-info {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  width:100%;text-align:left;position:relative;top:-.5rem;
}
.meeting-date {
  font-weight:700;color:#2c3e50;font-size:1.05rem;margin-bottom:.4rem;letter-spacing:.2px;
}
.meeting-info h3 {
  margin:0 0 .25rem 0;font-size:1.65rem;font-weight:700;color:#1a1a1a;line-height:1.3;
}

/* Middle Column (Documents) */
.meeting-docs {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  width:100%;text-align:left;
}
.meeting-docs .doc-header {
  margin:1rem 0 .2rem;font-weight:700;font-size:.95rem;color:#111;text-transform:uppercase;
  letter-spacing:.3px;border-bottom:2px solid #e2e2e2;padding-bottom:.2rem;width:100%;
}
.meeting-docs .file-link {
  width:100%;padding:.3rem 0;margin:0;border-bottom:1px solid #ddd;
  display:flex;align-items:center;line-height:1.35;
}
.meeting-docs .file-link:last-of-type{border-bottom:none}
.meeting-docs .file-link a {
  color:#000;font-size:.87rem;font-weight:500;text-decoration:none;transition:color .2s ease;
}
.meeting-docs .file-link a:hover{color:#444;text-decoration:underline}
.meeting-docs.empty-docs{min-height:80px}

/* Video Column */
.meeting-video{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}
.meeting-video iframe{width:100%;height:220px;border-radius:8px;box-shadow:0 1px 5px rgba(0,0,0,.3)}

/* File Icons */
.file-icon{margin-right:6px;font-size:1.1rem;vertical-align:middle}
.file-icon.pdf{color:#d32f2f}.file-icon.word{color:#1976d2}.file-icon.excel{color:#2e7d32}
.file-icon.audio{color:#8e24aa}.file-icon.video{color:#ef6c00}.file-icon.link{color:#555}
.meeting-docs strong i{color:#777;margin-right:4px}

/* ===== Meeting Status Labels ===== */
.meeting-status {
  display:inline-block;margin-top:.4rem;font-size:.9rem;font-weight:600;
  letter-spacing:.4px;text-transform:uppercase;padding-left:.5rem;
  border-left:3px solid transparent;
}
.meeting-status.upcoming{color:#1b6e29;border-color:#a6d8b1}
.meeting-status.current{color:#145da0;border-color:#9fc3e6}
.meeting-status.current:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:2px;cursor:pointer}
.meeting-status.past{color:#7b1e2b;border-color:#e3b2b6}

/* Pagination */
.pagination{text-align:center;margin-top:2rem}

/* ===== Responsive ===== */
@media(max-width:1024px){
  .meeting-card{grid-template-columns:1fr 1fr}
  .meeting-docs,.meeting-video{text-align:center;align-items:center}
  .meeting-video iframe{height:200px}
}
@media(max-width:768px){
  .meeting-card{grid-template-columns:1fr;text-align:center;padding:1.5rem}
  .meeting-info,.meeting-docs,.meeting-video{align-items:center;text-align:center}
  .meeting-docs .doc-header{margin-top:.75rem}
  .meeting-video iframe{height:200px;max-width:100%}
}

/* ===== Single Event: Docs + Video ===== */
.single-meeting-docs {
  margin-top:2rem;padding:2rem;background:#fff;border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);border:1px solid #ddd;
  display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:flex-start;
}
.single-meeting-docs .docs-title {
  font-size:1.4rem;font-weight:700;margin-bottom:1rem;border-bottom:2px solid #e5e5e5;
  padding-bottom:.4rem;color:#222;
}
.single-meeting-docs .single-doc-section{margin-bottom:1.8rem}
.single-meeting-docs h4 {
  font-size:1rem;font-weight:700;text-transform:uppercase;border-bottom:2px solid #e2e2e2;
  padding-bottom:.25rem;margin-bottom:.4rem;color:#111;letter-spacing:.3px;
}
.single-meeting-docs .file-item {
  margin:.2rem 0;padding:.3rem 0;border-bottom:1px solid #ddd;
  display:flex;align-items:center;line-height:1.4;
}
.single-meeting-docs .file-item:last-child{border-bottom:none}
.single-meeting-docs a {
  color:#000;font-size:.9rem;font-weight:500;text-decoration:none;
}
.single-meeting-docs a:hover{text-decoration:underline}
.single-meeting-docs .empty-docs {
  border:2px dashed #ccc;border-radius:8px;padding:1.5rem;background:#fafafa;
  text-align:center;color:#777;font-style:italic;min-height:100px;
}

/* Video column */
.single-meeting-docs .meeting-video {
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
}
.single-meeting-docs .meeting-video h3 {
  font-size:1.3rem;font-weight:700;color:#222;margin-bottom:1rem;
  border-bottom:2px solid #e5e5e5;padding-bottom:.4rem;width:100%;text-align:left;
}
.single-meeting-docs iframe {
  width:100%;height:250px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.3);
}
.single-meeting-docs .empty-video {
  height:250px;display:flex;align-items:center;justify-content:center;
  border:2px dashed #ccc;border-radius:8px;background:#fafafa;color:#777;font-style:italic;
}

/* Responsive */
@media(max-width:992px){
  .single-meeting-docs{grid-template-columns:1fr}
  .single-meeting-docs .meeting-video,.single-meeting-docs .single-doc-section{
    text-align:center;align-items:center
  }
  .single-meeting-docs iframe{height:220px}
}

/* 🎧 Podbean iframe fix – removes bottom white gap and stays responsive */
.meeting-video.podbean-audio iframe {
  width: 100%;
  height: 140px !important; /* snug fit on desktop */
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #fff; /* blends with card background */
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

/* 🖐 Slightly taller on mobile/tablet for easier control access */
@media (max-width: 768px) {
  .meeting-video.podbean-audio iframe {
    height: 165px !important; /* gives more tap room */
  }
}

/* Blog Post Slider Styling */ 
.post-media a {
  border-radius: 5px 5px 0px 0px;
  overflow: hidden;
  display: inline-block;
}

/* Submit Button for Front page */
.ova_mcwp_submit input.second_font[type="submit"]{
	box-shadow: 0 2px 5px black;
	border-color: #800000 !important;
}

.ova_mcwp_submit input.second_font[type="submit"]:hover {
  	background-color: #800000 !important; /* maroon hover */
	border-color: #800000 !important;
	box-shadow: 0 4px 10px black;
}

.podbean-audio iframe { display: block; margin-bottom: 0; }

.single-meeting-docs {
  margin-top: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 1px solid #ddd;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.download-all-btn {
  display: inline-block;
  margin-top: 0.6rem;
  color: #145da0;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  transition: color 0.2s, text-decoration 0.2s;
}

.download-all-btn:hover {
  color: #0d4b84;
  text-decoration: underline;
  cursor: pointer;
}


/* Embedded video/audio tweaks */
.meeting-video iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: block;
}

/* Trim bottom gap on podbean */
.podbean-audio iframe {
  height: 160px !important;
  overflow: hidden;
  margin-bottom: -5px; /* removes white space at bottom */
}

/* ===========================
   Meeting Media & Documents – Final Styles
   =========================== */
.meeting-video iframe,
.meeting-video audio {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.meeting-video iframe {
  height: 250px;
}

.podbean-audio iframe {
  height: 160px !important;
  overflow: hidden;
  margin-bottom: -5px; /* trims the Podbean bottom gap */
  box-shadow: 0 1px 5px rgba(0,0,0,0.25);
}

.download-all {
  margin-top: 0.5rem;
}

.download-all-btn {
  color: #145da0;
  font-weight: 600;
  text-decoration: none;
}

.download-all-btn:hover {
  text-decoration: underline;
}

/* Make the meeting layout responsive */
@media (max-width: 768px) {
  .single-meeting-docs,
  .meeting-card {
    display: block;
  }

  .meeting-video iframe {
    height: 200px;
  }

  .podbean-audio iframe {
    height: 140px !important;
  }
}

/* ===========================
   Tighter Document Spacing – Single Event
   =========================== */
.single-meeting-docs .single-doc-section {
  margin-bottom: 0.75rem; /* smaller section gap */
}

.single-meeting-docs .single-doc-section h4 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding-bottom: 0.2rem;
}

.single-meeting-docs .file-item {
  padding: 0.2rem 0;
  margin: 0;
  line-height: 1.3;
}

.single-meeting-docs .file-item a {
  font-size: 0.85rem;
  color: #222;
  font-weight: 500;
}

.single-meeting-docs .file-item a:hover {
  color: #145da0;
  text-decoration: underline;
}

/* Add light divider between groups for clarity */
.single-meeting-docs .single-doc-section:not(:last-child) {
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 0.5rem;
}

/* Slightly tighten top and bottom around “Meeting Documents” title */
.single-meeting-docs .docs-title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.3rem;
}

.single-meeting-docs {
  align-items: start;
}
.single-meeting-docs .meeting-video {
  margin-top: 0.25rem;
}

add_action('admin_enqueue_scripts', function() {
  wp_enqueue_script('datepicker-guard', get_stylesheet_directory_uri() . '/js/datepicker-guard.js', ['jquery-ui-datepicker'], null, true);
});

add_action('wp_enqueue_scripts', function() {
  wp_enqueue_script('datepicker-guard', get_stylesheet_directory_uri() . '/js/datepicker-guard.js', ['jquery-ui-datepicker'], null, true);
});

/* Fallback using filter (keeps other two unaffected) */
html body .ova_feature2 .box .content_1 h3.title > a.second_font[href*="willows-history"] {
  filter: drop-shadow(2px 2px 2px #000) !important;
}

/* ====== ECONOMIC DEVELOPMENT ====== */
.ova_feature2 .content_1 .title > a.second_font[href*="/economic-development/"] {
  text-shadow: 2px 2px 4px black !important;
}

/* ====== FIND YOUR REFUGE ====== */
.ova_feature2 .content_1 .title > a.second_font[href*="/find-your-refuge/"] {
  text-shadow: 2px 2px 4px black !important;
}

/* Force shadow specifically for Our History */
a.second_font[href*="willows-history"] {
  position: relative !important;
  z-index: 5 !important;
  text-shadow: 2px 2px 4px black !important;

}

.evgovt-content p {
  color: black !important;
}

/* === Meetings pagination === */
.meetings-wrapper .pagination {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.meetings-wrapper .pagination ul.page-numbers {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.meetings-wrapper .pagination .page-numbers li { list-style: none; }

/* base pill */
.meetings-wrapper .pagination a.page-numbers,
.meetings-wrapper .pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 .6rem;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #cfd6df;
  background: #ffffff;
  color: #0d3559; /* deep blue text for inactive links */
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
}

/* current page = dark blue pill with white text */
.meetings-wrapper .pagination span.page-numbers.current {
  background: #0d3559;
  border-color: #0d3559;
  color: #ffffff;
}

/* hover/focus = maroon pill (#800000) with white text */
.meetings-wrapper .pagination a.page-numbers:hover,
.meetings-wrapper .pagination a.page-numbers:focus {
  background: #800000;
  border-color: #800000;
  color: #ffffff;
  outline: none;
}

/* prev/next look like pills too but a bit wider */
.meetings-wrapper .pagination a.prev,
.meetings-wrapper .pagination a.next {
  min-width: auto;
  padding: 0 .75rem;
}

/* dots/ellipses */
.meetings-wrapper .pagination .page-numbers.dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #666;
}

/* Meeting list spacing */
.meeting-card{
	margin-top: 10px;
}

/* === Equal Sized Buttons with Breathing Room === */
#btn-city,
#btn-finance,
#btn-library,
#btn-planning {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 90% !important;              /* reduced from 100% — gives breathing room */
  height: 60px !important;
  margin: 0 auto !important;          /* centers each button in its column */
  padding: 0 1.4rem !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;

  background: #0d3559 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  text-align: center !important;
  transition: transform .2s ease, background .2s ease !important;
}

/* === Hover: Maroon color === */
#btn-city:hover,
#btn-finance:hover,
#btn-library:hover,
#btn-planning:hover {
  background: #800000 !important;   /* Maroon hover */
  color: #fff !important;           /* Keep text white for contrast */
  transform: translateY(-2px);      /* Subtle lift */
}

/* Optional: Slightly smaller on phones for better proportion */
@media (max-width: 768px) {
  #btn-city,
  #btn-finance,
  #btn-library,
  #btn-planning {
    width: 95% !important;           /* fill a bit more on smaller screens */
    height: 56px !important;
	}
}
  
/* 💣 Remove Constant Contact legal text/footer completely */
#cc-subscribe-bar small,
#cc-subscribe-bar .ctct-disclaimer,
#cc-subscribe-bar .ctct-form-wrapper small,
#cc-subscribe-bar form.ctct-form small,
.elementor-element-1e03343 small,
.elementor-element-1e03343 .ctct-disclaimer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}
	  
.ctct-label-top{
	display: none;
}
	  

/* === Meetings LIST page responsive fixes (with centered docs) === */

/* 1) At 1024px and down: stack card vertically, center docs & video */
@media (max-width: 1024px) {
  .meetings-wrapper .meeting-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .meetings-wrapper .meeting-card .meeting-info {
    align-items: center !important;
    text-align: center !important;
  }

  .meetings-wrapper .meeting-card .meeting-docs {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .meetings-wrapper .meeting-card .meeting-docs .doc-header {
    text-align: center !important;
    width: 100%;
  }

  .meetings-wrapper .meeting-card .meeting-docs .file-link {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
  }

  .meetings-wrapper .meeting-card .meeting-video {
    width: 100% !important;
    max-width: 600px;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 2) At 768px and down: tighter centering and stacking */
@media (max-width: 768px) {
  .meetings-wrapper .meeting-card .meeting-docs,
  .meetings-wrapper .meeting-card .meeting-docs .single-doc-section,
  .meetings-wrapper .meeting-card .meeting-docs .file-link {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .meetings-wrapper .meeting-card .meeting-docs .file-link a {
    text-align: center !important;
  }
}

.post-media{
	border-radius: 5px;
}


.willows-single-datetime {
  margin: 0.75rem 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0d3559; /* same dark blue you use elsewhere */
}

/* ============================
   Clean, Even, Responsive Legend
   ============================ */

.calendar-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 clean equal-width columns */
  gap: 14px 24px;
  max-width: 720px;
  margin: 1.25rem auto;
  padding: 0 10px;
  font-size: 0.95rem;
}

.calendar-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  justify-content: flex-start; /* makes alignment consistent */
}

.calendar-legend .legend-item span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
}

/* Color squares */
.legend-item.city-council span { background: var(--evt-city-council); }
.legend-item.finance span      { background: var(--evt-finance); }
.legend-item.library span      { background: var(--evt-library); }
.legend-item.planning span     { background: var(--evt-planning); }
.legend-item.closure span      { background: var(--evt-closure); }
.legend-item.special span      { background: var(--evt-special); }

/* Tablet: 2 columns */
@media (max-width: 780px) {
  .calendar-legend {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone: 1 column */
@media (max-width: 480px) {
  .calendar-legend {
    grid-template-columns: 1fr;
    text-align: left;
  }
}


/* ==========================================
   FullCalendar – color events by meeting TYPE
   ========================================== */

/* City Council (slug: city-council-meetings) */
.ovaev_full_calendar .fc-event.event_type-city-council-meetings,
.ovaev_full_calendar .fc-daygrid-event.event_type-city-council-meetings,
.ovaev_full_calendar .fc-list-event.event_type-city-council-meetings {
  background-color: var(--evt-city-council) !important;
  border-color: var(--evt-city-council) !important;
  color: #ffffff !important;
}

/* City Hall Closed / Holiday (slug: city-hall-closed-holiday) */
.ovaev_full_calendar .fc-event.event_type-city-hall-closed-holiday,
.ovaev_full_calendar .fc-daygrid-event.event_type-city-hall-closed-holiday,
.ovaev_full_calendar .fc-list-event.event_type-city-hall-closed-holiday {
  background-color: var(--evt-closure) !important;
  border-color: var(--evt-closure) !important;
  color: #ffffff !important;
}

/* Finance & Measure I Committee (slug: finance-measure-i-committee-meetings) */
.ovaev_full_calendar .fc-event.event_type-finance-measure-i-committee-meetings,
.ovaev_full_calendar .fc-daygrid-event.event_type-finance-measure-i-committee-meetings,
.ovaev_full_calendar .fc-list-event.event_type-finance-measure-i-committee-meetings {
  background-color: var(--evt-finance) !important;
  border-color: var(--evt-finance) !important;
  color: #ffffff !important;
}

/* Library Board of Trustees (slug: library-board-of-trustees-meetings) */
.ovaev_full_calendar .fc-event.event_type-library-board-of-trustees-meetings,
.ovaev_full_calendar .fc-daygrid-event.event_type-library-board-of-trustees-meetings,
.ovaev_full_calendar .fc-list-event.event_type-library-board-of-trustees-meetings {
  background-color: var(--evt-library) !important;
  border-color: var(--evt-library) !important;
  color: #ffffff !important;
}

/* Planning Commission (slug: planning-commission-meetings) */
.ovaev_full_calendar .fc-event.event_type-planning-commission-meetings,
.ovaev_full_calendar .fc-daygrid-event.event_type-planning-commission-meetings,
.ovaev_full_calendar .fc-list-event.event_type-planning-commission-meetings {
  background-color: var(--evt-planning) !important;
  border-color: var(--evt-planning) !important;
  color: #ffffff !important;
}

/* Special Events (slug: special-events) */
.ovaev_full_calendar .fc-event.event_type-special-events,
.ovaev_full_calendar .fc-daygrid-event.event_type-special-events,
.ovaev_full_calendar .fc-list-event.event_type-special-events {
  background-color: var(--evt-special) !important;
  border-color: var(--evt-special) !important;
  color: #ffffff !important;
}

/* Generic reusable style */
.ovaev_full_calendar .fc-daygrid-day-number {
  border-radius: 4px;
  padding: 2px 4px;
}

/* City Council day tint */
.ovaev_full_calendar .fc-daygrid-day:has(.event_type-city-council-meetings)
  .fc-daygrid-day-number {
  background-color: color-mix(in srgb, var(--evt-city-council) 18%, transparent);
}

/* City Hall Closed / Holiday */
.ovaev_full_calendar .fc-daygrid-day:has(.event_type-city-hall-closed-holiday)
  .fc-daygrid-day-number {
  background-color: color-mix(in srgb, var(--evt-closure) 20%, transparent);
}

/* Finance & Measure I */
.ovaev_full_calendar .fc-daygrid-day:has(.event_type-finance-measure-i-committee-meetings)
  .fc-daygrid-day-number {
  background-color: color-mix(in srgb, var(--evt-finance) 20%, transparent);
}

/* Library */
.ovaev_full_calendar .fc-daygrid-day:has(.event_type-library-board-of-trustees-meetings)
  .fc-daygrid-day-number {
  background-color: color-mix(in srgb, var(--evt-library) 20%, transparent);
}

/* Planning Commission */
.ovaev_full_calendar .fc-daygrid-day:has(.event_type-planning-commission-meetings)
  .fc-daygrid-day-number {
  background-color: color-mix(in srgb, var(--evt-planning) 20%, transparent);
}

/* Day tint for Special Events */
.ovaev_full_calendar .fc-daygrid-day:has(.event_type-special-events)
  .fc-daygrid-day-number {
  background-color: color-mix(in srgb, var(--evt-special) 20%, transparent);
}

/* ============================
   CLNDR MINI CALENDAR STYLING
   ============================ */

/* Day cell */
.cal1 .clndr .clndr-table td.day {
  text-align: center;
  vertical-align: middle;
  padding: 2px !important;           /* small breathing room */
  height: 42px;                      /* mini calendar height */
  border: 1px solid #e2e2e2;         /* grid lines */
  box-sizing: border-box;
}

/* Inner contents should fill the whole cell */
.cal1 .clndr .clndr-table td.day .day-contents {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  font-weight: 600;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Remove the generic "event day" background on the <td> */
.cal1 .clndr .clndr-table td.day.event,
.cal1 .clndr .clndr-table td.day.my-event {
  background-color: transparent !important;
}

/* ================
   TYPE-BASED COLORS
   (1 meeting on a day)
   ================ */

/* City Council */
.cal1 .clndr .clndr-table td.day.event_type-city-council-meetings .day-contents {
  background-color: var(--evt-city-council) !important;
  color: #fff !important;
}

/* Finance & Measure I */
.cal1 .clndr .clndr-table td.day.event_type-finance-measure-i-committee-meetings .day-contents {
  background-color: var(--evt-finance) !important;
  color: #fff !important;
}

/* Library Board of Trustees */
.cal1 .clndr .clndr-table td.day.event_type-library-board-of-trustees-meetings .day-contents {
  background-color: var(--evt-library) !important;
  color: #fff !important;
}

/* Planning Commission */
.cal1 .clndr .clndr-table td.day.event_type-planning-commission-meetings .day-contents {
  background-color: var(--evt-planning) !important;
  color: #fff !important;
}

/* City Hall Closed / Holiday */
.cal1 .clndr .clndr-table td.day.event_type-city-hall-closed-holiday .day-contents {
  background-color: var(--evt-closure) !important;
  color: #fff !important;
}

/* Special Events */
.cal1 .clndr .clndr-table td.day.event_type-special-events .day-contents {
  background-color: var(--evt-special) !important;
  color: #fff !important;
}

/* =====================================
   Two-meeting days – diagonal stripes
   (always 2 different meeting types)
   ===================================== */

/* City Council + Finance */
.cal1 .clndr .clndr-table td.day.event_type-city-council-meetings.event_type-finance-measure-i-committee-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-city-council) 0,
    var(--evt-city-council) 6px,
    var(--evt-finance) 6px,
    var(--evt-finance) 12px
  );
}

/* City Council + Library */
.cal1 .clndr .clndr-table td.day.event_type-city-council-meetings.event_type-library-board-of-trustees-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-city-council) 0,
    var(--evt-city-council) 6px,
    var(--evt-library) 6px,
    var(--evt-library) 12px
  );
}

/* City Council + Planning */
.cal1 .clndr .clndr-table td.day.event_type-city-council-meetings.event_type-planning-commission-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-city-council) 0,
    var(--evt-city-council) 6px,
    var(--evt-planning) 6px,
    var(--evt-planning) 12px
  );
}

/* City Council + City Hall Closed */
.cal1 .clndr .clndr-table td.day.event_type-city-council-meetings.event_type-city-hall-closed-holiday .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-city-council) 0,
    var(--evt-city-council) 6px,
    var(--evt-closure) 6px,
    var(--evt-closure) 12px
  );
}

/* Finance + Library */
.cal1 .clndr .clndr-table td.day.event_type-finance-measure-i-committee-meetings.event_type-library-board-of-trustees-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-finance) 0,
    var(--evt-finance) 6px,
    var(--evt-library) 6px,
    var(--evt-library) 12px
  );
}

/* Finance + Planning */
.cal1 .clndr .clndr-table td.day.event_type-finance-measure-i-committee-meetings.event_type-planning-commission-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-finance) 0,
    var(--evt-finance) 6px,
    var(--evt-planning) 6px,
    var(--evt-planning) 12px
  );
}

/* Finance + City Hall Closed */
.cal1 .clndr .clndr-table td.day.event_type-finance-measure-i-committee-meetings.event_type-city-hall-closed-holiday .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-finance) 0,
    var(--evt-finance) 6px,
    var(--evt-closure) 6px,
    var(--evt-closure) 12px
  );
}

/* Library + Planning */
.cal1 .clndr .clndr-table td.day.event_type-library-board-of-trustees-meetings.event_type-planning-commission-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-library) 0,
    var(--evt-library) 6px,
    var(--evt-planning) 6px,
    var(--evt-planning) 12px
  );
}

/* Library + City Hall Closed */
.cal1 .clndr .clndr-table td.day.event_type-library-board-of-trustees-meetings.event_type-city-hall-closed-holiday .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-library) 0,
    var(--evt-library) 6px,
    var(--evt-closure) 6px,
    var(--evt-closure) 12px
  );
}

/* Planning + City Hall Closed */
.cal1 .clndr .clndr-table td.day.event_type-planning-commission-meetings.event_type-city-hall-closed-holiday .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-planning) 0,
    var(--evt-planning) 6px,
    var(--evt-closure) 6px,
    var(--evt-closure) 12px
  );
}

/* Special Events + City Council */
.cal1 .clndr .clndr-table td.day.event_type-special-events.event_type-city-council-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-special) 0,
    var(--evt-special) 6px,
    var(--evt-city-council) 6px,
    var(--evt-city-council) 12px
  );
}

/* Special Events + Finance & Measure I */
.cal1 .clndr .clndr-table td.day.event_type-special-events.event_type-finance-measure-i-committee-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-special) 0,
    var(--evt-special) 6px,
    var(--evt-finance) 6px,
    var(--evt-finance) 12px
  );
}

/* Special Events + Library Board */
.cal1 .clndr .clndr-table td.day.event_type-special-events.event_type-library-board-of-trustees-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-special) 0,
    var(--evt-special) 6px,
    var(--evt-library) 6px,
    var(--evt-library) 12px
  );
}

/* Special Events + Planning Commission */
.cal1 .clndr .clndr-table td.day.event_type-special-events.event_type-planning-commission-meetings .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-special) 0,
    var(--evt-special) 6px,
    var(--evt-planning) 6px,
    var(--evt-planning) 12px
  );
}

/* Special Events + City Hall Closed / Holiday */
.cal1 .clndr .clndr-table td.day.event_type-special-events.event_type-city-hall-closed-holiday .day-contents {
  background-image: repeating-linear-gradient(
    45deg,
    var(--evt-special) 0,
    var(--evt-special) 6px,
    var(--evt-closure) 6px,
    var(--evt-closure) 12px
  );
}

/* ==========================================
   TODAY RING – no events vs 1–2 events
   ========================================== */

/* Today with NO meetings — no ring (plugin's own today background) */
.cal1 .clndr .clndr-table td.day.today:not(.event) .day-contents,
.cal1 .clndr .clndr-table td.day.my-today:not(.event) .day-contents {
  outline: none !important;
}

/* Today WITH at least one event (1 or 2 meetings): show ring in today color */
.cal1 .clndr .clndr-table td.day.today.event .day-contents,
.cal1 .clndr .clndr-table td.day.my-today.event .day-contents {
  outline: 3px solid var(--evt-today) !important;
  outline-offset: 1px;
  border-radius: 6px;
}




/* Kill any extra date/time meta blocks on single event pages */
.single-event .wrap-date-time-loc,
.single-event .time-event,
.single-event .event_intro .date,
.single-event .event_intro .time {
  display: none !important;
}

/* =========================================
   PDF Poster Buttons – Make Both Match EXACTLY
   ========================================= */

/* Target BOTH buttons via shared .button class */
.pdfp_download_btn.button,
a.button.__mPS2id {
  font-family: inherit !important;
  background: #0d3559 !important;          /* navy */
  color: #ffffff !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;           /* match the nicer rounding on button 2 */
  border: none !important;
  display: inline-flex !important;         /* ensures identical alignment */
  align-items: center !important;
  justify-content: center !important;
  min-width: 170px !important;             /* makes width consistent */
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  margin-right: 12px !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.20) !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

/* Hover → maroon */
.pdfp_download_btn.button:hover,
a.button.__mPS2id:hover {
  background: #800000 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Pressed */
.pdfp_download_btn.button:active,
a.button.__mPS2id:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18) !important;
}
