/* .tribe-events-list-container p,
.tribe-events-list-container h2,
.tribe-events-list-container h3,
.tribe-events-list-container h4,
.tribe-events-list-container h5,
.tribe-events-list-container h6 {
   margin: 0;
   padding: 0;
} */

/* preloader styles overwrite */
#tribe-events-list-container .tab-content-preloader {
   max-height: auto !important;
   min-height: auto !important;
}

.tribe-events-list-container .tribe-events-list {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   margin: 32px 0;
   column-gap: 24px;
}

.tribe-events-list-container .ln-event-item {
   padding: 24px;
   border-radius: 20px;
   border: 1px solid #e5e5e5;
	margin-bottom: 24px;
}

.tribe-events-list-container .ln-event-inner {
   display: flex;
   column-gap: 29px;
}

.tribe-events-list-container .ln-event-item-img {
/*    border-radius: 13.228px;
   width: 260px;
   height: 210px;
   object-fit: cover; */

  border-radius: 13.228px;
    width: 260px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.tribe-events-list-container .ln-event-item-content {
   margin-top: 32px;
   font-family: 'Avenir Roman', Helvetica, Arial, Lucida, sans-serif;
   font-size: 18px;
   font-style: normal;
   font-weight: 400;
   line-height: 26px;
   color: #015675;
}

.tribe-events-list-container .ln-event-content h3 {
   font-family: 'Avenir Roman', Helvetica, Arial, Lucida, sans-serif;
   color: #015675;
   max-width: 275px;
   font-size: 30px;
   font-style: normal;
   font-weight: 400;
   line-height: 150%;
}

.tribe-events-list-container .ln-date-time-flex {
   display: flex;
   gap: 12px;
   align-items: center;
   margin-top: 16px;
}

.ln-date-time-flex p {
   padding: 0;
   color: #919eab;
   font-family: Avenir800;
   font-size: 14px;
   font-style: normal;
   font-weight: 800;
   line-height: 24px; /* 171.429% */
   letter-spacing: 1.12px;
   text-transform: uppercase;
}

.tribe-events-list-container .tribe-events-list .ln-event-item:first-of-type .ln-event-pin {
   background-color: #e2523b !important;
}

.tribe-events-list-container .tribe-events-list .ln-event-item:first-of-type .ln-event-pin path {
   fill: #f6f4e9 !important;
}

.tribe-events-list-container .ln-event-pin {
   background: #f6f4e9;
   display: flex;
   width: 32px;
   height: 32px;
   padding: 6.458px 7.458px 7.458px 6.458px;
   justify-content: center;
   align-items: center;
   border-radius: 25.833px;
   order: 4;
   display: flex;
   justify-content: flex-end;
   margin-left: auto;
}

.tribe-events-list-container .ln-event-pin path {
   width: 18.083px;
   height: 18.083px;
   fill: #919eab;
}

.ln-events-view-more-wrapper {
   display: flex;
   justify-content: center;
}

.ln-events-view-more-wrapper {
   display: none;
}
span.tribe-events-calendar-series-archive__container {
    display: none;
}

.ln-events-view-more {
   display: inline-flex;
   padding: 16px 26px;
   justify-content: center;
   align-items: center;
   /* gap: 16px; */
   border-radius: 100px;
   border: 2px solid #e2523b;
   text-align: right;
   font-family: Avenir800;
   font-size: 14px;
   font-style: normal;
   font-weight: 800;
   line-height: 24px;
   letter-spacing: 2.24px;
   text-transform: uppercase;
   color: #e2523b;
   margin: auto;
}

.tribe-events-list-container .ln-no-events-text {
   font-family: 'Avenir Roman', Helvetica, Arial, Lucida, sans-serif;
   text-align: center;
   margin: 32px 0;
   color: #e2523b;
   font-size: 32px;
}

/* No events error message */
.ln-no-events-error {
   text-align: center;
   margin: 48px 0px 0px 0px;
   color: #e2523b;
   font-family: 'Sentinel-BookItalic';
   font-weight: 500;
   font-size: 32px;
   line-height: 34px;
/*    background-image: url(/wp-content/uploads/2024/07/Logo-white.png) !important; */
   height: 300px;
   background: #508aa008;
   background-size: contain;
   background-repeat: no-repeat;
   display: flex;
   align-items: center;
   justify-content: center;
   background-position: center;
}

/* ************************ */
/* datepicker stylings */
/* ************************ */

#tribe-events-form-container #tribe-events-filter-form {
   display: flex;
   align-items: flex-end;
   gap: 24px;
}

#tribe-events-form-container #selected_date {
   display: flex;
   width: 250px;
   height: 56px;
   padding: 0 16px;
   justify-content: space-between;
   align-items: center;
   border-radius: 20px;
   border: 1px solid #e5e5e5;
   font-family: Avenir800;
   font-size: 14px;
   line-height: 24px; /* 171.429% */
   letter-spacing: 1.12px;
   text-transform: uppercase;
   color: #919eab;
   background: url(/wp-content/uploads/2024/04/ln-calendar.svg) no-repeat calc(100% - 10px) !important;
   cursor: pointer;
   background-color: #fff !important;
}

/* .events-wrapper-main {
   margin: 24px 0 0 0;
} */

#tribe-events-form-container #selected_date::placeholder {
   color: #919eab;
}

.ln-filter-btn {
   display: flex;
   width: max-content;
   height: 56px;
   padding: 0 26px;
   justify-content: center;
   align-items: center;
   gap: 16px;
   border-radius: 100px;
   border: 2px solid #e2523b;
   color: #e2523b;
   text-align: right;
   font-family: Avenir800;
   font-size: 14px;
   font-style: normal;
   font-weight: 800;
   line-height: 24px; /* 171.429% */
   letter-spacing: 2.24px;
   text-transform: uppercase;
   background-color: #fff;
   cursor: pointer;
}

#tribe-events-filter-form .select2-container {
   min-width: 270px;
	width: max-content !important;
}

.tribe-events-list-container input[type='date']::-webkit-inner-spin-button,
.tribe-events-list-container input[type='date']::-webkit-calendar-picker-indicator {
   display: none;
   -webkit-appearance: none;
}

.tribe-events-list-container input:focus {
   outline: none;
}

#ui-datepicker-div {
   display: none;
   background-color: #fff;
   box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
   margin-top: 0.25rem;
   border-radius: 0.5rem;
   padding: 0.5rem;
}

.tribe-events-list-container table {
   border-collapse: collapse;
   border-spacing: 0;
}

.ui-datepicker-calendar thead th {
   padding: 0.25rem 0;
   text-align: center;
   font-size: 0.75rem;
   font-weight: 400;
   color: #78909c;
}

.ui-datepicker-calendar tbody td {
   width: 2.5rem;
   text-align: center;
   padding: 0;
}

.ui-datepicker-calendar tbody td a {
   display: block;
   border-radius: 0.25rem;
   line-height: 2rem;
   transition: 0.3s all;
   color: #546e7a;
   font-size: 0.875rem;
   text-decoration: none;
}

.ui-datepicker-calendar tbody td a:hover {
   background-color: #e0f2f1;
}

.ui-datepicker-calendar tbody td a.ui-state-active {
   background-color: #009688;
   color: white;
}

.ui-datepicker-header a.ui-corner-all {
   cursor: pointer;
   position: absolute;
   top: 0;
   width: 2rem;
   height: 2rem;
   margin: 0.5rem;
   border-radius: 0.25rem;
   transition: 0.3s all;
}
.ui-datepicker-header a.ui-corner-all:hover {
   background-color: #eceff1;
}

.ui-datepicker-header a.ui-datepicker-prev {
   left: 0;
   background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDEzIDEzIj48cGF0aCBmaWxsPSIjNDI0NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjI4OCA2LjI5NkwzLjIwMiAyLjIxYS43MS43MSAwIDAgMSAuMDA3LS45OTljLjI4LS4yOC43MjUtLjI4Ljk5OS0uMDA3TDguODAzIDUuOGEuNjk1LjY5NSAwIDAgMSAuMjAyLjQ5Ni42OTUuNjk1IDAgMCAxLS4yMDIuNDk3bC00LjU5NSA0LjU5NWEuNzA0LjcwNCAwIDAgMS0xLS4wMDcuNzEuNzEgMCAwIDEtLjAwNi0uOTk5bDQuMDg2LTQuMDg2eiIvPjwvc3ZnPg==');
   background-repeat: no-repeat;
   background-size: 0.5rem;
   background-position: 50%;
   transform: rotate(180deg);
}
.ui-datepicker-header a.ui-datepicker-next {
   right: 0;
   background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDEzIDEzIj48cGF0aCBmaWxsPSIjNDI0NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjI4OCA2LjI5NkwzLjIwMiAyLjIxYS43MS43MSAwIDAgMSAuMDA3LS45OTljLjI4LS4yOC43MjUtLjI4Ljk5OS0uMDA3TDguODAzIDUuOGEuNjk1LjY5NSAwIDAgMSAuMjAyLjQ5Ni42OTUuNjk1IDAgMCAxLS4yMDIuNDk3bC00LjU5NSA0LjU5NWEuNzA0LjcwNCAwIDAgMS0xLS4wMDcuNzEuNzEgMCAwIDEtLjAwNi0uOTk5bDQuMDg2LTQuMDg2eiIvPjwvc3ZnPg==');
   background-repeat: no-repeat;
   background-size: 10px;
   background-position: 50%;
}
.ui-datepicker-header a > span {
   display: none;
}
.ui-datepicker-title {
   text-align: center;
   line-height: 2rem;
   margin-bottom: 0.25rem;
   font-size: 0.875rem;
   font-weight: 500;
   padding-bottom: 0.25rem;
}
.ui-datepicker-week-col {
   color: #78909c;
   font-weight: 400;
   font-size: 0.75rem;
}

/* select2 dropdown */
#tribe-events-form-container #tribe-events-filter-form .select2-selection {
   padding: 16px;
   width: 270px;
   height: 56px;
   border: 1px solid #e5e5e5;
   border-radius: 20px;
   display: flex;
   align-items: center;
}

#tribe-events-form-container #tribe-events-filter-form .select2-selection span.select2-selection__rendered {
   font-family: Avenir800;
   font-size: 14px;
   line-height: 24px;
   letter-spacing: 1.12px;
   text-transform: uppercase;
   color: #919eab;
}

#tribe-events-form-container #tribe-events-filter-form .select2-selection__arrow {
   display: none;
}

/* Add your custom arrow icon */
#tribe-events-form-container #tribe-events-filter-form .select2-selection__rendered::after {
   content: url('/wp-content/uploads/2024/04/ln-chevron-right.svg');
   position: absolute;
   right: 16px;
   top: 15px;
}

/* #tribe-events-filter-form .select2-container.select2-container--open {
   top: 204px !important;
} */

.select2-container--open .select2-dropdown {
   margin-top: 16px !important;
   border: 1px solid #e5e5e5 !important;
   border-radius: 0px 0px 20px 20px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
   border-radius: 12px;
   border-color: #e5e5e5;
}

.select2-results__option--selectable {
   font-family: 'Avenir Roman', Helvetica, Arial, Lucida, sans-serif !important;
   font-size: 16px;
}

/* hiding the dropdown
#selected_category,
.select2.select2-container {
   display: none !important;
} */

/* ********************* */
.ln-event-label-flex {
	width: max-content;
}

.ln-event-label-flex label {
	font-family: var(--ln-events-font) !important;
    color: #4399B5 !important;
    margin-bottom: 8px !important;
    font-size: 15px;
    display: block;
}

.ln-event-label-flex.ln-category-event-selector {
	display: flex;
	flex-direction: column;
}

@media screen and (max-width: 1470px) {
   .tribe-events-list-container .ln-date-time-flex {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
   }

   .tribe-events-list-container .ln-event-content h3 {
      font-size: 22px;
   }
}

@media screen and (max-width: 1200px) {
   .tribe-events-list-container .tribe-events-list {
      grid-template-columns: 1fr;
   }

   .ln-events-view-more-wrapper {
      justify-content: flex-end;
   }

   .ln-events-view-more {
      margin: initial;
   }
}

@media screen and (max-width: 930px) {
   #tribe-events-filter-form {
      flex-direction: column;
      align-items: flex-start !important;
      justify-content: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
   }

   #tribe-events-filter-form input,
   #tribe-events-filter-form select,
   #tribe-events-filter-form .ln-filter-btn,
   #tribe-events-filter-form .select2-selection {
      width: 100% !important;
   }

   #tribe-events-filter-form .select2-container {
      min-width: auto !important;
      width: 100% !important;
   }
	
	.ln-event-label-flex {
		width: 100% !important;
	}
}

@media screen and (max-width: 780px) {
   .tribe-events-list-container .ln-event-inner {
      display: flex;
      flex-direction: column;
      gap: 0;
   }

   .tribe-events-list-container .ln-event-pin {
      order: 1;
      margin-bottom: 16px;
   }

   .tribe-events-list-container .ln-event-item-img {
      width: 100%;
      max-height: 350px;
      order: 2;
   }

   .tribe-events-list-container .ln-event-content {
      order: 3;
   }

   /* .tribe-events-list-container .ln-event-pin {
      margin-right: auto;
      margin-left: initial;
      justify-content: flex-start;
   } */

   .select2-container--open .select2-dropdown {
      margin-top: 44px !important;
      border-radius: 20px !important;
   }
}
