{#
  This file is auto-generated and can be overwritten at any time.
  Do not edit directly. To make changes, copy the file into a child theme.
#}

.hp-session-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-session-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 */
}

.hp-session-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;
  width: -webkit-fill-available;
}


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

.hp-session-content {
  padding: 20px;
  flex-grow: 1;
}

.hp-session-info {
  text-align: left;
  margin-bottom: 20px;
}

.hp-session-info h2 {
  margin: 0 0 10px 0;

}

.hp-session-info p {
  margin: 5px 0;
  color: #555;
}

.hp-session-register-button, .hp-session-registration-closed {
  display: block;
  text-align: center;
  padding: 15px;
  color: white;
  text-decoration: none;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hp-session-register-button__disabled {
  display: block;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  border: none;
  font-weight: bold;
}

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

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

.hp-session-register-buttons-- {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.hp-session-register-buttons-- button {
  width: 50%!important;
  border-radius: 0px!important; /* Overwrite existing radious as button looks odd */
}

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

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

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


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

/* Dropdown Button */
.hp-session-dropdown-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Dropdown Content (Initially Hidden) */
.hp-session-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 */
.hp-session-dropdown:hover .hp-session-dropdown-content,
.hp-session-dropdown-content.show {
  display: block;
}

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

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

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

/* Success pop up */
.hp-session-selection-success-message { 
  border: 2px solid #9ee6dd; 
  background: #e5f8f6; 
  padding: 19px 20px; 
  text-align: center; 
  font-weight: 500;
  margin: 0 0 40px;
  position: fixed;
  top: 10%; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 74%; 
  display: none;
}

.hp-session-selection-success-message span { 
  font-weight: 700; 
  display: inline-block;
  margin-right: 15px; 
}

/***
* Popup styles
* ***/
.loader {
  margin: auto;
  border: 10px solid #EAF0F6;
  border-radius: 50%;
  border-top: 10px solid var(--primary);
  width: 60px;
  height: 60px;
  animation: spinner 1s linear infinite;
}
@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hp-session-register-buttons-- button:hover {
  z-index: 99;
}




/* 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;
}
.listing-filter {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 2% 0;
  row-gap: 12px;
}

.hp-session-register-button,
button.clear-button {
  padding: 15px;
}