{######## HAPILY EVENT AGENDA ADDITIONAL CSS ##########}
.eh__agenda {
  width: 80%;
  /*margin: 0 auto;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;*/
}
.eh__agenda-header {
  text-align: left;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 7%;
  color: #ffffff;
}
.eh__event {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #defc90;
}
.eh__event .eh__description {
  font-size: 14px;
  margin: 10px 0;
  color: #ffffff;
}
.eh__location > span {
  display: inline-flex;
  align-items: center;
}
.eh__location svg {
 width: 1.5vh;
 padding-right: 4px;
}
.eh__event .eh__speakers {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.eh__event .eh__speakers img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  margin-right: -15px;
}
.eh__event .eh__speakers span {
  font-weight: bold;
}
.eh__speaker_container_image {
  margin-right: 4%;
}

@media (max-width: 800px) {
  .eh__agenda {
    border-radius: 8px;
    margin: 0px auto 0;
    padding: 0px;
    width: 90%;
  }
  .eh__speaker_container_image {
    margin-right: 10%;
  }
  .eh__location svg {
    padding-right: 4px;
    width: 2.5vh;
  }
}


{######## HAPILY EVENT LISTING ADDITIONAL CSS ##########}
.orca-event-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orca-custom-events-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Two columns */
  gap: 20px;
  padding: 0;
  margin: 0;
  justify-content: center;
  width: 100%; /* Ensures full width of container */
}

.orca-event-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.orca-event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.orca-event-content {
  padding: 20px;
  flex-grow: 1;
}

.orca-event-info {
  text-align: left;
  margin-bottom: 20px;
}

.orca-event-info h2 {
  margin: 0 0 10px 0;

}

.orca-event-info p {
  margin: 5px 0;
  color: #555;
}

.orca-register-button, .orca-registration-closed {
  display: block;
  text-align: center;

  color: white;
  text-decoration: none;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
button.clear-button,
.orca-register-button{
  padding: 15px;
}

.orca-register-button {
  background-color: #ED7F35;
}

.orca-register-button:hover {
  background-color: #e67e00;
  transform: scale(1.05);
}

.orca-registration-closed {
  background-color: #f2545b;
}

@media (max-width: 1200px) {
  .orca-custom-events-list {
    grid-template-columns: repeat(2, 1fr); /* Double column on smaller screens */
  }
}

@media (max-width: 870px) {
  .orca-custom-events-list {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
}


/* Dropdown Container */
.orca-event-dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

/* Dropdown Button */
.orca-event-dropdown-btn {
  /*background-color: #007bff;
  color: white;*/
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Dropdown Content (Initially Hidden) */
.orca-event-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 4px;
  z-index: 1;
  width: 200px;
}

/* Show dropdown on hover or click */
.orca-event-dropdown:hover .orca-event-dropdown-content,
.orca-event-dropdown-content.show {
  display: block;
}

/* Checkboxes within dropdown */
.orca-event-dropdown-content label {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}

/* Checkbox styling */
.orca-event-dropdown-content input[type="checkbox"] {
  margin-right: 10px;
}

/* Apply scroll if there are too many checkboxes */
.orca-event-dropdown-content {
  max-height: 200px;
  overflow-y: auto;
}

.orca-event-card a {
  text-align: center;
}

/* Filters */
.select-filter__text {
  width: 30%!important;
  height: 30px;
}

.listing-filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 2% 0%;
  align-items: center;
  flex-wrap:wrap;
  gap:20px;
  row-gap:12px;
}

.listing-filter-select__2, .listing-filter-select__1 {
  width: 30%;
}




/* Custom Dropdown Styles */
.custom-multiselect-wrapper {
  position: relative;
  min-width:300px;
}

.custom-multiselect-header {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-multiselect-header:after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  transition: transform 0.3s ease;
}

.custom-multiselect-wrapper.open .custom-multiselect-header:after {
  transform: rotate(180deg);
}

.custom-multiselect-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.custom-multiselect-wrapper.open .custom-multiselect-dropdown {
  display: block;
}

.custom-multiselect-option {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.custom-multiselect-option:hover {
  background-color: #f5f5f5;
}

.custom-multiselect-option.selected {
  background-color: #f0f0f0;
}

.custom-multiselect-option input[type="checkbox"] {
  margin-right: 10px;
  display:none;
}

.selected-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.selected-option-tag {
  background-color: #e9ecef;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}

.selected-option-tag .remove {
  margin-left: 5px;
  cursor: pointer;
  font-size: 12px;
  color: #666;
}

.placeholder {
  color: #666;
}

button{
 user-select:none; 
}


/* css for tables within rich text */
.table-container {
  width: 100%; /* Ensure the container takes full width */
  overflow-x: scroll; /* Enable horizontal scrolling when needed */
  /* Or use overflow-x: scroll; which will always show the scrollbar */
}

.table-container table {
  min-width: 600px; /* or more depending on content */
  display: block;
}


@media (max-width: 600px) {
  .table-container {
    width: 100% !important; /* Ensure the container takes full width */
    overflow-x: scroll; /* Enable horizontal scrolling */
  }
  .table-container th, .table-container td {
    min-width: 200px; /* Ensure columns have a minimum width for readability */
  }
  .row {
    display: block;
  }
}