/* New css code */
.main-container {
  width: 100% !important;
}
.main-section {
  width: 100%;
  justify-content: center;
  display: flex;
}
.heading-title {
  color: #52162e;
  font-weight: 400;
  font-size: 40px;
  padding: 0px;
  margin: 0px;
  font-family: "SPOT", sans-serif;
}
.calendar-container {
  margin-top: 100px;
  width: 800px;
  border-radius: 10px;
  justify-content: center;
}
.calendar-container header {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.calendar-year {
  display: flex;
  justify-content: end !important;
  align-items: center;
  font-family: "SPOT", sans-serif;
  font-weight: 400;
  font-size: 40px;
}
.calendar-year img {
  height: 40px;
  width: auto;
}
.calendar-current-month {
  margin: 0px;
  font-size: 40px;
  color: #af8c65;
  font-weight: 400;
  font-family: "SPOT", sans-serif;
}
header .calendar-navigation img {
  margin: 5px;
  cursor: pointer;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
  user-select: none;
  color: #aeabab;
  font-size: 1.9rem;
}
.calendar-navigation span:last-child {
  margin-right: -10px;
}
.calendar-navigation {
  text-align: end;
}
header .calendar-navigation span:hover {
  background: #f2f2f2;
}
header .calendar-current-date {
  font-weight: 400;
  font-size: 30px;
  font-weight: bold;
  color: #af8c65;
  margin: 0px;
  /*     margin-left: 8px; */
}
.calendar-body ul {
  list-style: none;
  flex-wrap: wrap;
  display: flex;
  text-align: center;
}
.calendar-body .calendar-dates {
  margin-bottom: 20px;
  margin: 0px;
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(7, 1fr); /* Changed to 7 columns */
}
.calendar-body {
  height: 470px;
}
.calendar-body li {
  width: calc(100% / 7);
  font-size: 1.07rem;
  color: #414141;
}
.calendar-body .calendar-weekdays li {
  cursor: default;
  font-weight: 800;
  color: #ffffff;
  font-size: 15px;
}
.calendar-body .calendar-weekdays {
  background-color: #52162e;
  padding: 10px;
  border-radius: 20px;
  margin: 0px;
  margin-bottom: 5px;
}
.calendar-body .calendar-dates li {
  position: relative;
  z-index: 1;
  cursor: pointer;
  width: 100px;
  height: 70px;
  border-radius: 20px;
  background-color: #eeeeee;
}
.calendar-dates li.inactive {
  color: #ffffff;
  background-color: #ffffff;
}
.calendar-dates li.active {
  color: #fff;
}
.calendar-dates li {
  position: absolute;
  content: "";
  z-index: -1;
  text-align: start;
  padding-left: 17px;
  color: #52162e;
  font-weight: bold;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.all-month-event {
  font-size: 40px;
  font-weight: 400;
  color: #52162e;
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
  font-family: "SPOT", sans-serif;
}
.material-symbols-rounded {
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.material-symbols-rounded:hover {
  transform: scale(1.1);
  opacity: 0.8;
  cursor: pointer;
}
.calendar-current-date {
  align-items: center;
  font-family: "SPOT", sans-serif;
  font-weight: 400;
  font-size: 50px;
}
@media (max-width: 1024px) {
  .calendar-container {
    width: 95%; /* Adjusted width for smaller screens */
  }
}
.mobile-text-center {
  text-align: center !important;
}
.mobile-only {
  justify-content: center !important;
  display: flex !important;
}
.mobile-only {
  display: none !important;
}
@media screen and (max-width: 600px) {
  .mobile-only {
    display: block !important;
  }
}
.mobile_calendar_year {
  display: flex;
  justify-content: space-around !important;
}
.calendar-dates li.active {
  position: relative;
}
.calendar-dates li.active::before {
  content: "";
  position: absolute;
  background: #52162e;
  top: 2%;
  left: 12%;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  z-index: -1;
}
.calendar-dates li.active.double-digit::before {
  left: 12%; 
}
.calendar-dates li.active.single-digit::before {
  left: 6.5%; 
}

/* All Events Cards CSS */

#events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  justify-content: center;
  align-items:stretch;
  gap: 30px;
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto;
  margin-bottom: 50px;
  overflow: hidden;
}
.event-card {
  background-color: #52162e;
  border-radius: 10px;
   justify-self: stretch;
  overflow-wrap: break-word;
/*   width: 550px; */
/*    align-items: stretch; */
  color: white !important;
/*   justify-self: center; */
}
.event-body {
  padding: 10px 20px;
}
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px 20px;
  background-color: #6b4353;
}
.event-date {
  font-size: 35px;
  font-weight: 400;
  font-family: "SPOT";
}
.event-label {
  line-height: 1em;
  text-align: center;
  font-family: "SPOT";
  font-weight: 400;
}
.event-label span:nth-child(1) {
  font-size: 25px;
  font-weight: 400;
}
.event-label span:nth-child(3) {
  font-size: 13px;
  font-weight: 400;
}
.event-title {
  font-weight: 800;
  color: #ffffff;
  line-height: 1em;
  font-size: 22px;
  margin-top: 0px;
  margin-bottom: 8px;
  font-family: "inter";
}
.event-time {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 800;
  color: #ada8a8;
  font-size: 15px;
}
.icon {
  margin-right: 5px;
}
.event-description {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
/*   width: 100%; */
  margin-top: -5px;
  margin-bottom: 0px;
  align-items: center;
}
/* .description {
  width: 60%;
} */
.learn {
  margin-bottom: 0px;
  margin-top: 0px;
}
.add_to_calendar {
  background-color: #af8c65;
  margin-left: 10px;
  font-weight: 700;
  align-items: center;
  border: none;
  font-size: 17;
  color: white;
  padding: 15px 20px;
  border-radius: 30px;
  cursor: pointer;
  min-width: 220px;
  height: fit-content;
}
.add_to_calendar:hover {
  background-color: #af8c65;
  color: white;
  box-shadow: 0px 4px 15px rgba(240, 178, 7, 0.623); /* Darker shadow on hover */
}
#message {
  justify-content: center;
  display: flex;
  /*     padding: 100px; */
}
.loading {
  color: #52162e;
  font-size: 20px;
}
.no-records {
  font-size: 20px;
  font-family: "SPOT";
  font-weight: 400;
  color: #52162e;
  padding: 100px 200px;
  box-shadow: 0px 4px 10px rgba(82, 22, 46, 0.5); /* Adjust the values as needed */
  border-radius: 15px;
}
/* responsive */
@media (max-width: 768px) {
  #events-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    min-width: auto; 
    width: 70%;
    justify-self: center; 
  }
}
@media (max-width: 600px) {
  #events-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    min-width: auto; 
    width: 90%;
    justify-self: center; 
  }
  .event-header,
  .event-body {
    padding: 10px; 
  }
  .event-date {
    font-size: 20px; 
  }
  .event-label span:nth-child(1) {
    font-size: 18px;
  }
  .event-label span:nth-child(3) {
    font-size: 10px;
  }
  .event-title {
    font-size: 15px;
  }
  .event-time {
    font-size: 12px;
  }
  .add_to_calendar {
    font-size: 10px;
    padding: 8px 5px;
    height: fit-content;
    min-width: 35%; 
  }
  .description {
    font-size: 11px;
  }
  #message {
    padding: 30px;
  }
  .no-records {
    font-size: 12px;
    font-family: "SPOT";
    font-weight: 400;
    color: #52162e;
    padding: 60px 20px;
    margin: 10px;
    box-shadow: 0px 4px 10px rgba(82, 22, 46, 0.5); 
    border-radius: 15px;
  }
}
/*Calendar Mobile Responsive */

@media (max-width: 767px) {
  .calendar-container {
    width: 90%; 
  }
.calendar-dates li.active::before {
    content: "";
    position: absolute;
    background: #52162e;
    top: 2%;
    left: 5%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: -1;
}
	.calendar-dates li.active.double-digit::before {
  left: 2%; 
}
.calendar-dates li.active.single-digit::before {
        left: 0px;
        width: 20px;
        height: 20px;
}
	
  .calendar-body {
    height: 295px;
  }
  .calendar-year {
    font-size: 30px; 
  }
  .calendar-current-month {
    font-size: 25px; 
  }
  .calendar-body .calendar-weekdays li {
    font-size: 10px; 
    border-radius: 8px !important;
  }
  .calendar-body .calendar-dates {
    gap: 4px;
  }
  .calendar-body .calendar-dates li {
    font-family: "Spot", sans-serif;
    font-weight: 400;
    width: 40px;
    height: 40px;
    font-size: 15px;
    align-items: center;
    padding: 0px 0px 0px 5px;
    border-radius: 8px; 
  }
  .calendar-body .calendar-weekdays {
    background-color: #52162e;
    padding: 8px 0px 8px 0px;
    border-radius: 15px;
    margin: 0px;
    margin-bottom: 5px;
  }
  .calendar-header {
    display: none !important;
  }
  .all-month-event {
    font-size: 25px; 
  }
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #52162a;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
}

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.page-id-83 #footer-carousel{
    display: none;
}
