/**
Theme Name: Anythink Astra Child Theme
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: anythink-astra-child-theme
Template: astra
*/

@import url('https://fonts.googleapis.com/css2?family=Gantari:wght@400;700&display=swap');

#customEvents {
  font-family: 'Gantari', sans-serif;
}
#customEvents .wrapper {
  width: 100%;
  padding: 19px;
  /* if restricted width is desired:  max-width: 1400px;*/
  margin: auto;
}
#customEvents p {
  margin: 0;
  font-size: 0.875em;
}
#customEvents #events {
  margin-top: 1em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}
@media only screen and (min-width: 1190px) {
  #customEvents #events {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card link wrapper */
#customEvents .event-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
#customEvents .event-link:hover .event {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#customEvents .event {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 0 0 0 45px;
}
#customEvents .thumbnail {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-right: 1em;
  flex-shrink: 0;
  border-radius: 0 0 0 45px;
}
#customEvents .event-info {
  flex: 1;
  align-self: center;
  padding: .5em .5em .5em 0;
}
#customEvents .event-title {
  font-size: 1.5em;
  margin-bottom: .2em;
  font-weight: bold;
  line-height: 1.2em;
}
#customEvents .event-date,
#customEvents .event-location {
  display: inline;
}
#customEvents .location {
  display: inline;
}
#customEvents .event-description {
  margin-top: .5em;
}
#customEvents .error {
  color: red;
}

/* Center the Load More button */
#customEvents .communico-load-more-button, 
button.facetwp-load-more {
  display: block;
  margin: 20px auto;
  min-width: 200px; /* Keep button width consistent */
  border-radius: 12px;
  padding: 1rem;
}

/* Spinner for the Load More button */
#customEvents .communico-load-more-button .loader, 
.facetwp-loading .spinner,
.load-more-spinner {
  border: 4px solid #f0f0f0; /* Light grey */
  border-top: 4px solid var( --e-global-color-astglobalcolor0 );
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite; /* Faster spin */
  display: none; 
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Spinner for the Search results - Loading  */
.facetwp-loading {
    margin: 20px 0;
}

.facetwp-loading .spinner,
.load-more-spinner {
    width: 30px;
    height: 30px;
    display: block;
}

/*new style to make the cards*/

#customEvents #events{ 
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1em;
  align-items: stretch;   
}

#customEvents .event {
  flex-direction: column;
  flex: 1;  
}
#customEvents .event-link {
  display: flex;             
  flex-direction: column;   
  height: 100%;              
}

#customEvents .thumbnail {
  width: 100%;
  aspect-ratio: 2 / 1;   
  height: auto;         
  margin: 0 0 1em 0;      
  border-radius: 0 0 45px 0px;
}

#customEvents .event-info {
  padding: 1em 1em 2em 1em;      
}

@media only screen and (max-width: 1200px) {
  #customEvents #events{ 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  @media only screen and (max-width: 768px) {
    #customEvents #events{ 
      display: grid;
      grid-template-columns: repeat(1, 1fr);
    }
  }
}


/* Header - Search form */

.e-search-input-wrapper {
  height: 64px;
}

.elementor-widget-search .e-search-form {
  display: flex;
  align-items: center;
}

.elementor-widget-search .anythink-search-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  height: 100%;
}

.elementor-widget-search .anythink-search-wrapper #search_type {
  width: 150px;
  padding: 13px 30px 13px 13px; /* Increased right padding for arrow */
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 100%;
  border-radius: 12px 0px 0px 12px;
  background-color: #f8f8f8;
  appearance: none; /* Hide default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 30px;
}

.elementor-widget-search .anythink-search-wrapper .e-search-input {
  flex-grow: 1;
  height: 100%;
}

.elementor-15732 .elementor-element.elementor-element-9e8d09f .e-search-input {
  border-radius: 0;
}


/* Search Results */


.search-results.ast-page-builder-template .site-content > .ast-container {
    max-width: 1200px;
}


.search-results .post-content span.post-meta-type-category {
  color: #9c9c9c;
}

.search-results .wp-caption-text {
  text-align: left;
}

.elementor-15732 .elementor-element.elementor-element-9a390c0.e-con {
    --flex-grow: 0 !important;
}

.search-meta-wrapper {
  margin-top: 0.5rem;
}



/* Search filters sidebar */
.search-results .search-results-container {
  display: flex;
}

.search-results .search-filters-sidebar {
  width: 20%;
  padding-right: 1rem;
  flex-shrink: 0;
}

.search-results .search-results-content {
  flex-grow: 1;
}


.search-filters-sidebar h4 {
  margin-bottom: 0.5rem;
  /* margin-top: 1.5rem; */
}

.search-filters-sidebar .filter-group {
  margin-bottom: 1rem;
}

.search-filters-sidebar label {
  font-size: 100%;
}

/* FacetWP Pager Styling */
.pager-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 3rem; 
}

/* Search Results Summary Styling */
.search-results-summary {
  text-align: right;
  padding-bottom: 1rem; /* Add some space below the summary */
  white-space: nowrap;
}

.facetwp-counts {
  display: inline;
}

/* Hide breadcrumbs on search page */
body.search .ast-breadcrumbs-wrapper {
    display: none;
}

/* Add top margin when no search term is provided */
.search-results-container.no-search-term {
    margin-top: 3rem; /* Adjust as needed */
}

/* Hide facet counts */
.facetwp-counter {
    display: none;
}

/* No search results */
.facetwp-no-results-container {
    text-align: center;
    font-size: 1.5rem;
}


.search-no-results .search-filters-sidebar {
  display: none;
}

.search-no-results .search-results-summary,
.search-no-results .facetwp-loading,
.search-no-results .facetwp-facet-load_more {
  display: none !important;
}

/*Carousel hover effects*/

.elementor-widget-loop-carousel .swiper-wrapper .swiper-slide a.e-con:hover {
    box-shadow: 0px 2px 25px 0px rgba(0, 0, 0, 0.2);
}
.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev svg:hover,
.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-next svg:hover,
.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev svg:active,
.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-next svg:active{
	fill:#000;
}
.elementor-pagination {
    margin-top: 2em;
}
.ast-container{
	max-width:100%;
}
.ast-container #primary,     
.ast-plain-container.ast-no-sidebar #primary{
	margin:0;
}
/*button hovers*/
.elementor-button:hover{
	background: #F9A350 !important;
	color: #000 !important;
}
/*contact form*/
.elementor-element-2497553d .elementor-button:hover{
	background: #2a6ebb !important;
	color: #fff !important;
}
/*blog pages*/
.ast-related-post-featured-section .post-thumb img{
	height:300px;
	width:80%;
	object-fit:cover;
	border-radius: 0 45px 45px 45px;
}
.ast-related-post-content .entry-meta{
	display:none;
}
@media only screen and (max-width: 1200px) {
	.post{
		padding: 0 10px !important;
	}
}
.elementor-swiper-button-next,.elementor-swiper-button-prev{background-color:#fff;
padding:5px;
border-radius:50%;
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}
.event-info {
  position: relative;
}

/* Position the canceled label to overlap the events image */
.event-canceled.label {
  position: absolute;
  top: -30px;
  left: 16px;
  display: inline-block;
  background-color: #b30838;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  margin: 0;
}
#mega-menu-item-text-24{
	margin-top:1em;
}

